Changeset 368 for branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO
- Timestamp:
- Jan 15, 2010, 8:21:06 AM (16 years ago)
- Location:
- branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO
- Files:
-
- 63 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/AccessControls.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 16. File, Directory, and Share Access Controls</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="rights.html" title="Chapter 15. User Rights and Privileges"><link rel="next" href="locking.html" title="Chapter 17. File and Record Locking"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 16. File, Directory, and Share Access Controls</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="rights.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="locking.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="AccessControls"></a>Chapter 16. File, Directory, and Share Access Controls</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2610573">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AccessControls.html#id2610760">File System Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2610774">MS Windows NTFS Comparison with UNIX File Systems</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2611116">Managing Directories</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2611240">File and Directory Access Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2611906">Share Definition Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2611939">User- and Group-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2612307">File and Directory Permissions-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2612644">Miscellaneous Controls</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2612982">Access Controls on Shares</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2613130">Share Permissions Management</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2613477">MS Windows Access Control Lists and UNIX Interoperability</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2613483">Managing UNIX Permissions Using NT Security Dialogs</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2613530">Viewing File Security on a Samba Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2613601">Viewing File Ownership</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2613745">Viewing File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2613960">Modifying File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2614117">Interaction with the Standard Samba create mask Parameters</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2614486">Interaction with the Standard Samba File Attribute Mapping</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2614559">Windows NT/200X ACLs and POSIX ACLs Limitations</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2614978">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2614990">Users Cannot Write to a Public Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2615312">File Operations Done as root with force user Set</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2615358">MS Word with Samba Changes Owner of File</a></span></dt></dl></dd></dl></div><p>2 <a class="indexterm" name="id261 0404"></a>3 <a class="indexterm" name="id261 0410"></a>4 <a class="indexterm" name="id261 0417"></a>5 <a class="indexterm" name="id261 0424"></a>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 16. File, Directory, and Share Access Controls</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="rights.html" title="Chapter 15. User Rights and Privileges"><link rel="next" href="locking.html" title="Chapter 17. File and Record Locking"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 16. File, Directory, and Share Access Controls</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="rights.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="locking.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 16. File, Directory, and Share Access Controls"><div class="titlepage"><div><div><h2 class="title"><a name="AccessControls"></a>Chapter 16. File, Directory, and Share Access Controls</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2616650">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AccessControls.html#id2616837">File System Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2616851">MS Windows NTFS Comparison with UNIX File Systems</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2617188">Managing Directories</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2617311">File and Directory Access Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2617982">Share Definition Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2618015">User- and Group-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2618383">File and Directory Permissions-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2618720">Miscellaneous Controls</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2619058">Access Controls on Shares</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2619206">Share Permissions Management</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2619552">MS Windows Access Control Lists and UNIX Interoperability</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2619559">Managing UNIX Permissions Using NT Security Dialogs</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2619606">Viewing File Security on a Samba Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2619677">Viewing File Ownership</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2619821">Viewing File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2620036">Modifying File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2620193">Interaction with the Standard Samba <span class="quote">“<span class="quote">create mask</span>”</span> Parameters</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2620562">Interaction with the Standard Samba File Attribute Mapping</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2620635">Windows NT/200X ACLs and POSIX ACLs Limitations</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2621054">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2621066">Users Cannot Write to a Public Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2621388">File Operations Done as <span class="emphasis"><em>root</em></span> with <span class="emphasis"><em>force user</em></span> Set</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2621434">MS Word with Samba Changes Owner of File</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2616481"></a> 3 <a class="indexterm" name="id2616487"></a> 4 <a class="indexterm" name="id2616494"></a> 5 <a class="indexterm" name="id2616501"></a> 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="id261 0441"></a>12 <a class="indexterm" name="id261 0448"></a>11 <a class="indexterm" name="id2616518"></a> 12 <a class="indexterm" name="id2616525"></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="id261 0462"></a>18 <a class="indexterm" name="id261 0469"></a>19 <a class="indexterm" name="id261 0476"></a>20 <a class="indexterm" name="id261 0483"></a>17 <a class="indexterm" name="id2616539"></a> 18 <a class="indexterm" name="id2616546"></a> 19 <a class="indexterm" name="id2616553"></a> 20 <a class="indexterm" name="id2616560"></a> 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="id261 0496"></a>26 <a class="indexterm" name="id261 0502"></a>27 <a class="indexterm" name="id261 0512"></a>28 <a class="indexterm" name="id261 0519"></a>25 <a class="indexterm" name="id2616573"></a> 26 <a class="indexterm" name="id2616580"></a> 27 <a class="indexterm" name="id2616589"></a> 28 <a class="indexterm" name="id2616596"></a> 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="id261 0536"></a>35 <a class="indexterm" name="id2616613"></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="id261 0550"></a>41 <a class="indexterm" name="id261 0557"></a>40 <a class="indexterm" name="id2616628"></a> 41 <a class="indexterm" name="id2616634"></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="id2610573"></a>Features and Benefits</h2></div></div></div><p>47 </p><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2616650"></a>Features and Benefits</h2></div></div></div><p> 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 </p><div class="itemizedlist" ><p class="title"><b>Samba Access Control Facilities</b></p><ul type="disc"><li><p>51 <a class="indexterm" name="id261 0594"></a>50 </p><div class="itemizedlist" title="Samba Access Control Facilities"><p class="title"><b>Samba Access Control Facilities</b></p><ul class="itemizedlist" type="disc"><li class="listitem"><p> 51 <a class="indexterm" name="id2616671"></a> 52 52 <span class="emphasis"><em>UNIX File and Directory Permissions</em></span> 53 53 </p><p> 54 <a class="indexterm" name="id261 0610"></a>55 <a class="indexterm" name="id261 0618"></a>56 <a class="indexterm" name="id261 0624"></a>54 <a class="indexterm" name="id2616687"></a> 55 <a class="indexterm" name="id2616695"></a> 56 <a class="indexterm" name="id2616702"></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. … … 62 62 (files and directories). This chapter provides an overview for those 63 63 to whom the UNIX permissions and controls are a little strange or unknown. 64 </p></li><li ><p>64 </p></li><li class="listitem"><p> 65 65 <span class="emphasis"><em>Samba Share Definitions</em></span> 66 66 </p><p> 67 <a class="indexterm" name="id261 0653"></a>67 <a class="indexterm" name="id2616730"></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 … … 72 72 but it is seldom the <span class="emphasis"><em>best</em></span> way to achieve this. 73 73 The basic options and techniques are described herein. 74 </p></li><li ><p>74 </p></li><li class="listitem"><p> 75 75 <span class="emphasis"><em>Samba Share ACLs</em></span> 76 <a class="indexterm" name="id261 0684"></a>77 </p><p> 78 <a class="indexterm" name="id261 0697"></a>76 <a class="indexterm" name="id2616761"></a> 77 </p><p> 78 <a class="indexterm" name="id2616774"></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. … … 82 82 easiest ways to affect access controls (restrictions) and can often 83 83 do so with minimum invasiveness compared with other methods. 84 </p></li><li ><p>85 <a class="indexterm" name="id261 0714"></a>86 <a class="indexterm" name="id261 0724"></a>84 </p></li><li class="listitem"><p> 85 <a class="indexterm" name="id2616792"></a> 86 <a class="indexterm" name="id2616801"></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="id261 0740"></a>89 <a class="indexterm" name="id2616817"></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="id2610760"></a>File System Access Controls</h2></div></div></div><p>97 </p></li></ul></div></div><div class="sect1" title="File System Access Controls"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2616837"></a>File System Access Controls</h2></div></div></div><p> 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="id2610774"></a>MS Windows NTFS Comparison with UNIX File Systems</h3></div></div></div><p>103 <a class="indexterm" name="id261 0783"></a>104 <a class="indexterm" name="id261 0790"></a>105 <a class="indexterm" name="id261 0796"></a>106 <a class="indexterm" name="id261 0806"></a>102 </p><div class="sect2" title="MS Windows NTFS Comparison with UNIX File Systems"><div class="titlepage"><div><div><h3 class="title"><a name="id2616851"></a>MS Windows NTFS Comparison with UNIX File Systems</h3></div></div></div><p> 103 <a class="indexterm" name="id2616860"></a> 104 <a class="indexterm" name="id2616867"></a> 105 <a class="indexterm" name="id2616873"></a> 106 <a class="indexterm" name="id2616883"></a> 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="id261 0846"></a>117 <a class="indexterm" name="id2616918"></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="id261 0891"></a>127 <a class="indexterm" name="id261 0898"></a>126 <a class="indexterm" name="id2616963"></a> 127 <a class="indexterm" name="id2616970"></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="id261 0962"></a>154 <a class="indexterm" name="id2617034"></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="id261 0990"></a>158 <a class="indexterm" name="id2617062"></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="id261 1027"></a>165 <a class="indexterm" name="id2617099"></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="id261 1058"></a>172 <a class="indexterm" name="id261 1067"></a>173 <a class="indexterm" name="id261 1076"></a>171 <a class="indexterm" name="id2617129"></a> 172 <a class="indexterm" name="id2617138"></a> 173 <a class="indexterm" name="id2617147"></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 … … 178 178 Symbolic links are files in UNIX that contain the actual location of the data (file or directory). An 179 179 operation (like read or write) will operate directly on the file referenced. Symbolic links are also 180 referred to as “<span class="quote">soft links.</span>”A hard link is something that MS Windows is not familiar with. It allows180 referred to as <span class="quote">“<span class="quote">soft links.</span>”</span> A hard link is something that MS Windows is not familiar with. It allows 181 181 one physical file to be known simultaneously by more than one file name. 182 182 </p></dd></dl></div><p> … … 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="id2611116"></a>Managing Directories</h3></div></div></div><p>187 <a class="indexterm" name="id261 1124"></a>188 <a class="indexterm" name="id261 1131"></a>189 <a class="indexterm" name="id261 1138"></a>186 </p></div><div class="sect2" title="Managing Directories"><div class="titlepage"><div><div><h3 class="title"><a name="id2617188"></a>Managing Directories</h3></div></div></div><p> 187 <a class="indexterm" name="id2617196"></a> 188 <a class="indexterm" name="id2617203"></a> 189 <a class="indexterm" name="id2617209"></a> 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="id2611240"></a>File and Directory Access Control</h3></div></div></div><p>194 <a class="indexterm" name="id261 1248"></a>195 <a class="indexterm" name="id261 1257"></a>196 <a class="indexterm" name="id261 1264"></a>193 </p><div class="table"><a name="TOSH-Accesstbl"></a><p class="title"><b>Table 16.1. Managing Directories with UNIX and Windows</b></p><div class="table-contents"><table summary="Managing Directories with UNIX and Windows" border="1"><colgroup><col><col><col></colgroup><thead><tr><th align="center">Action</th><th align="center">MS Windows Command</th><th align="center">UNIX Command</th></tr></thead><tbody><tr><td align="center">create</td><td align="center">md folder</td><td align="center">mkdir folder</td></tr><tr><td align="center">delete</td><td align="center">rd folder</td><td align="center">rmdir folder</td></tr><tr><td align="center">rename</td><td align="center">rename oldname newname</td><td align="center">mv oldname newname</td></tr></tbody></table></div></div><br class="table-break"></div><div class="sect2" title="File and Directory Access Control"><div class="titlepage"><div><div><h3 class="title"><a name="id2617311"></a>File and Directory Access Control</h3></div></div></div><p> 194 <a class="indexterm" name="id2617319"></a> 195 <a class="indexterm" name="id2617329"></a> 196 <a class="indexterm" name="id2617335"></a> 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 … … 226 226 </p><div class="figure"><a name="access1"></a><p class="title"><b>Figure 16.1. Overview of UNIX permissions field.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/access1.png" width="216" alt="Overview of UNIX permissions field."></div></div></div><br class="figure-break"><p> 227 227 Any bit flag may be unset. An unset bit flag is the equivalent of "cannot" and is represented 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="id261 1406"></a>230 <a class="indexterm" name="id261 1412"></a>231 <a class="indexterm" name="id261 1419"></a>232 <a class="indexterm" name="id261 1426"></a>233 <a class="indexterm" name="id261 1433"></a>234 <a class="indexterm" name="id261 1440"></a>228 as a <span class="quote">“<span class="quote">-</span>”</span> character (see <a class="link" href="AccessControls.html#access2" title="Example 16.1. Example File">“Example File”</a>) 229 <a class="indexterm" name="id2617477"></a> 230 <a class="indexterm" name="id2617484"></a> 231 <a class="indexterm" name="id2617491"></a> 232 <a class="indexterm" name="id2617497"></a> 233 <a class="indexterm" name="id2617504"></a> 234 <a class="indexterm" name="id2617511"></a> 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="id261 1469"></a>242 <a class="indexterm" name="id261 1476"></a>243 <a class="indexterm" name="id261 1483"></a>244 <a class="indexterm" name="id261 1490"></a>241 <a class="indexterm" name="id2617541"></a> 242 <a class="indexterm" name="id2617547"></a> 243 <a class="indexterm" name="id2617554"></a> 244 <a class="indexterm" name="id2617561"></a> 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="id261 1502"></a>249 <a class="indexterm" name="id261 1509"></a>250 <a class="indexterm" name="id261 1516"></a>251 <a class="indexterm" name="id261 1523"></a>252 <a class="indexterm" name="id261 1530"></a>248 <a class="indexterm" name="id2617574"></a> 249 <a class="indexterm" name="id2617580"></a> 250 <a class="indexterm" name="id2617587"></a> 251 <a class="indexterm" name="id2617594"></a> 252 <a class="indexterm" name="id2617601"></a> 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="id261 1548"></a>258 <a class="indexterm" name="id261 1555"></a>259 <a class="indexterm" name="id261 1562"></a>260 <a class="indexterm" name="id261 1569"></a>257 <a class="indexterm" name="id2617620"></a> 258 <a class="indexterm" name="id2617626"></a> 259 <a class="indexterm" name="id2617633"></a> 260 <a class="indexterm" name="id2617640"></a> 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="id261 1590"></a>266 <a class="indexterm" name="id261 1597"></a>267 <a class="indexterm" name="id261 1604"></a>268 <a class="indexterm" name="id261 1611"></a>269 <a class="indexterm" name="id261 1620"></a>265 <a class="indexterm" name="id2617666"></a> 266 <a class="indexterm" name="id2617673"></a> 267 <a class="indexterm" name="id2617680"></a> 268 <a class="indexterm" name="id2617687"></a> 269 <a class="indexterm" name="id2617696"></a> 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="id2611652"></a>Protecting Directories and Files from Deletion</h4></div></div></div><p>280 <a class="indexterm" name="id261 1660"></a>281 <a class="indexterm" name="id261 1667"></a>282 <a class="indexterm" name="id261 1674"></a>283 <a class="indexterm" name="id261 1681"></a>279 </p><div class="sect3" title="Protecting Directories and Files from Deletion"><div class="titlepage"><div><div><h4 class="title"><a name="id2617728"></a>Protecting Directories and Files from Deletion</h4></div></div></div><p> 280 <a class="indexterm" name="id2617736"></a> 281 <a class="indexterm" name="id2617743"></a> 282 <a class="indexterm" name="id2617750"></a> 283 <a class="indexterm" name="id2617757"></a> 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="id261 1703"></a>292 <a class="indexterm" name="id261 1710"></a>293 <a class="indexterm" name="id261 1717"></a>291 <a class="indexterm" name="id2617779"></a> 292 <a class="indexterm" name="id2617786"></a> 293 <a class="indexterm" name="id2617793"></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="id261 1732"></a>299 <a class="indexterm" name="id261 1739"></a>300 <a class="indexterm" name="id261 1745"></a>301 <a class="indexterm" name="id261 1752"></a>298 <a class="indexterm" name="id2617808"></a> 299 <a class="indexterm" name="id2617815"></a> 300 <a class="indexterm" name="id2617822"></a> 301 <a class="indexterm" name="id2617828"></a> 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="id261 1774"></a>309 <a class="indexterm" name="id261 1781"></a>310 <a class="indexterm" name="id261 1788"></a>311 <a class="indexterm" name="id261 1794"></a>308 <a class="indexterm" name="id2617850"></a> 309 <a class="indexterm" name="id2617857"></a> 310 <a class="indexterm" name="id2617864"></a> 311 <a class="indexterm" name="id2617871"></a> 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="id2611833"></a><p class="title"><b>Procedure 16.1. Test for File Immutibility Support</b></p><ol type="1"><li><p>325 </p><div class="procedure" title="Procedure 16.1. Test for File Immutibility Support"><a name="id2617909"></a><p class="title"><b>Procedure 16.1. Test for File Immutibility Support</b></p><ol class="procedure" type="1"><li class="step" title="Step 1"><p> 326 326 Create a file called <code class="filename">filename</code>. 327 </p></li><li ><p>327 </p></li><li class="step" title="Step 2"><p> 328 328 Login as the <code class="constant">root</code> user, then set the immutibile flag on a test file as follows: 329 329 </p><pre class="screen"> 330 330 <code class="prompt">root# </code> chattr +i `filename' 331 331 </pre><p> 332 </p></li><li ><p>332 </p></li><li class="step" title="Step 3"><p> 333 333 Login as the user who owns the file (not root) and attempt to remove the file as follows: 334 334 </p><pre class="screen"> … … 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="id2611906"></a>Share Definition Access Controls</h2></div></div></div><p>344 <a class="indexterm" name="id261 1914"></a>343 </p></div></div></div><div class="sect1" title="Share Definition Access Controls"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2617982"></a>Share Definition Access Controls</h2></div></div></div><p> 344 <a class="indexterm" name="id2617990"></a> 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="id2611939"></a>User- and Group-Based Controls</h3></div></div></div><p>347 </p><div class="sect2" title="User- and Group-Based Controls"><div class="titlepage"><div><div><h3 class="title"><a name="id2618015"></a>User- and Group-Based Controls</h3></div></div></div><p> 348 348 User- and group-based controls can prove quite useful. In some situations it is distinctly desirable to 349 349 force all file system operations as if a single user were doing so. The use of the … … 386 386 </p></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#WRITELIST" 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="id2612307"></a>File and Directory Permissions-Based Controls</h3></div></div></div><p>388 </p></td></tr></tbody></table></div></div><br class="table-break"></div><div class="sect2" title="File and Directory Permissions-Based Controls"><div class="titlepage"><div><div><h3 class="title"><a name="id2618383"></a>File and Directory Permissions-Based Controls</h3></div></div></div><p> 389 389 Directory permission-based controls, if misused, can result in considerable difficulty in diagnosing the causes of 390 390 misconfiguration. Use them sparingly and carefully. By gradually introducing each, one at a time, undesirable side … … 417 417 </p></td></tr><tr><td align="left"><a class="link" href="smb.conf.5.html#SECURITYMASK" 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="id2612644"></a>Miscellaneous Controls</h3></div></div></div><p>419 </p></td></tr></tbody></table></div></div><br class="table-break"></div><div class="sect2" title="Miscellaneous Controls"><div class="titlepage"><div><div><h3 class="title"><a name="id2618720"></a>Miscellaneous Controls</h3></div></div></div><p> 420 420 The parameters documented in <a class="link" href="AccessControls.html#mcoc" title="Table 16.4. Other Controls">Other Controls</a> are often used by administrators 421 421 in ways that create inadvertent barriers to file access. Such are the consequences of not understanding the … … 450 450 </p></td></tr><tr><td align="justify"><a class="link" href="smb.conf.5.html#VETOFILES" 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="id2612982"></a>Access Controls on Shares</h2></div></div></div><p>453 <a class="indexterm" name="id261 2990"></a>454 <a class="indexterm" name="id261 2997"></a>455 <a class="indexterm" name="id261 3004"></a>456 <a class="indexterm" name="id261 3011"></a>457 <a class="indexterm" name="id261 3018"></a>452 </p></td></tr></tbody></table></div></div><br class="table-break"></div></div><div class="sect1" title="Access Controls on Shares"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2619058"></a>Access Controls on Shares</h2></div></div></div><p> 453 <a class="indexterm" name="id2619066"></a> 454 <a class="indexterm" name="id2619073"></a> 455 <a class="indexterm" name="id2619080"></a> 456 <a class="indexterm" name="id2619087"></a> 457 <a class="indexterm" name="id2619094"></a> 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="id261 3041"></a>465 <a class="indexterm" name="id261 3048"></a>466 <a class="indexterm" name="id261 3054"></a>464 <a class="indexterm" name="id2619117"></a> 465 <a class="indexterm" name="id2619124"></a> 466 <a class="indexterm" name="id2619131"></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="id261 3071"></a>473 <a class="indexterm" name="id261 3078"></a>474 <a class="indexterm" name="id261 3085"></a>475 <a class="indexterm" name="id261 3092"></a>472 <a class="indexterm" name="id2619147"></a> 473 <a class="indexterm" name="id2619154"></a> 474 <a class="indexterm" name="id2619161"></a> 475 <a class="indexterm" name="id2619168"></a> 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="id2613130"></a>Share Permissions Management</h3></div></div></div><p>481 </p><div class="sect2" title="Share Permissions Management"><div class="titlepage"><div><div><h3 class="title"><a name="id2619206"></a>Share Permissions Management</h3></div></div></div><p> 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="id2613141"></a>Windows NT4 Workstation/Server</h4></div></div></div><p>484 <a class="indexterm" name="id261 3150"></a>485 <a class="indexterm" name="id261 3157"></a>486 <a class="indexterm" name="id261 3164"></a>487 <a class="indexterm" name="id261 3170"></a>483 </p><div class="sect3" title="Windows NT4 Workstation/Server"><div class="titlepage"><div><div><h4 class="title"><a name="id2619218"></a>Windows NT4 Workstation/Server</h4></div></div></div><p> 484 <a class="indexterm" name="id2619226"></a> 485 <a class="indexterm" name="id2619233"></a> 486 <a class="indexterm" name="id2619240"></a> 487 <a class="indexterm" name="id2619247"></a> 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="id2613191"></a><p class="title"><b>Procedure 16.2. Instructions</b></p><ol type="1"><li><p>492 </p><div class="procedure" title="Procedure 16.2. Instructions"><a name="id2619267"></a><p class="title"><b>Procedure 16.2. Instructions</b></p><ol class="procedure" type="1"><li class="step" title="Step 1"><p> 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 495 495 <span class="guimenuitem">Shared Directories</span>. 496 </p></li><li ><p>496 </p></li><li class="step" title="Step 2"><p> 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="id2613247"></a>Windows 200x/XP</h4></div></div></div><p>500 <a class="indexterm" name="id261 3254"></a>501 <a class="indexterm" name="id261 3261"></a>502 <a class="indexterm" name="id261 3268"></a>503 <a class="indexterm" name="id261 3275"></a>499 </p></li></ol></div></div><div class="sect3" title="Windows 200x/XP"><div class="titlepage"><div><div><h4 class="title"><a name="id2619323"></a>Windows 200x/XP</h4></div></div></div><p> 500 <a class="indexterm" name="id2619331"></a> 501 <a class="indexterm" name="id2619338"></a> 502 <a class="indexterm" name="id2619344"></a> 503 <a class="indexterm" name="id2619351"></a> 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="id261 3308"></a>510 <a class="indexterm" name="id261 3315"></a>511 <a class="indexterm" name="id261 3321"></a>509 <a class="indexterm" name="id2619384"></a> 510 <a class="indexterm" name="id2619391"></a> 511 <a class="indexterm" name="id2619398"></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="id2613345"></a><p class="title"><b>Procedure 16.3. Instructions</b></p><ol type="1"><li><p>515 </p><div class="procedure" title="Procedure 16.3. Instructions"><a name="id2619421"></a><p class="title"><b>Procedure 16.3. Instructions</b></p><ol class="procedure" type="1"><li class="step" title="Step 1"><p> 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 518 518 to enter a domain login user identifier and a password. This will authenticate you to the domain. 519 519 If you are already logged in with administrative privilege, this step is not offered. 520 </p></li><li ><p>520 </p></li><li class="step" title="Step 2"><p> 521 521 If the Samba server is not shown in the <span class="guilabel">Select Computer</span> box, type in the name of the target 522 522 Samba server in the field <span class="guilabel">Name:</span>. Now click the on <span class="guibutton">[+]</span> next to 523 523 <span class="guilabel">System Tools</span>, then on the <span class="guibutton">[+]</span> next to 524 524 <span class="guilabel">Shared Folders</span> in the left panel. 525 </p></li><li ><p>526 <a class="indexterm" name="id261 3427"></a>525 </p></li><li class="step" title="Step 3"><p> 526 <a class="indexterm" name="id2619503"></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 529 529 to the shared folder. Remember to set what type of access (full control, change, read) you 530 530 wish to assign for each entry. 531 </p></li></ol></div><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>531 </p></li></ol></div><div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p> 532 532 Be careful. If you take away all permissions from the <code class="constant">Everyone</code> user without removing 533 533 this user, effectively no user will be able to access the share. This is a result of what is known as … … 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="id2613477"></a>MS Windows Access Control Lists and UNIX Interoperability</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2613483"></a>Managing UNIX Permissions Using NT Security Dialogs</h3></div></div></div><p>538 <a class="indexterm" name="id261 3492"></a>537 </p></div></div></div></div><div class="sect1" title="MS Windows Access Control Lists and UNIX Interoperability"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2619552"></a>MS Windows Access Control Lists and UNIX Interoperability</h2></div></div></div><div class="sect2" title="Managing UNIX Permissions Using NT Security Dialogs"><div class="titlepage"><div><div><h3 class="title"><a name="id2619559"></a>Managing UNIX Permissions Using NT Security Dialogs</h3></div></div></div><p> 538 <a class="indexterm" name="id2619567"></a> 539 539 Windows NT clients can use their native security settings dialog box to view and modify the 540 540 underlying UNIX permissions. … … 545 545 Samba does not attempt to go beyond POSIX ACLs, so the various finer-grained access control 546 546 options provided in Windows are actually ignored. 547 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>547 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 548 548 All access to UNIX/Linux system files via Samba is controlled by the operating system file access controls. 549 549 When trying to figure out file access problems, it is vitally important to find the identity of the Windows 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="id2613530"></a>Viewing File Security on a Samba Share</h3></div></div></div><p>552 </p></div></div><div class="sect2" title="Viewing File Security on a Samba Share"><div class="titlepage"><div><div><h3 class="title"><a name="id2619606"></a>Viewing File Security on a Samba Share</h3></div></div></div><p> 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="id2613601"></a>Viewing File Ownership</h3></div></div></div><p>563 </p></div><div class="sect2" title="Viewing File Ownership"><div class="titlepage"><div><div><h3 class="title"><a name="id2619677"></a>Viewing File Ownership</h3></div></div></div><p> 564 564 Clicking on the <span class="guibutton">Ownership</span> button brings up a dialog box telling you who owns 565 565 the given file. The owner name will be displayed like this: … … 575 575 the file owner will be shown as the NT user <span class="emphasis"><em>Everyone</em></span>. 576 576 </p><p> 577 <a class="indexterm" name="id261 3675"></a>577 <a class="indexterm" name="id2619751"></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="id261 3704"></a>586 <a class="indexterm" name="id261 3710"></a>587 <a class="indexterm" name="id261 3717"></a>585 <a class="indexterm" name="id2619780"></a> 586 <a class="indexterm" name="id2619787"></a> 587 <a class="indexterm" name="id2619793"></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="id2613745"></a>Viewing File or Directory Permissions</h3></div></div></div><p>592 </p></div><div class="sect2" title="Viewing File or Directory Permissions"><div class="titlepage"><div><div><h3 class="title"><a name="id2619821"></a>Viewing File or Directory Permissions</h3></div></div></div><p> 593 593 The third button is the <span class="guibutton">Permissions</span> button. Clicking on it brings up a dialog box 594 594 that shows both the permissions and the UNIX owner of the file or directory. The owner is displayed like this: … … 604 604 </p><p> 605 605 The permissions field is displayed differently for files and directories. Both are discussed next. 606 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2613828"></a>File Permissions</h4></div></div></div><p>606 </p><div class="sect3" title="File Permissions"><div class="titlepage"><div><div><h4 class="title"><a name="id2619904"></a>File Permissions</h4></div></div></div><p> 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 609 “<span class="quote">r</span>”, “<span class="quote">w</span>”, and “<span class="quote">x</span>”bits mapped into the corresponding NT609 <span class="quote">“<span class="quote">r</span>”</span>, <span class="quote">“<span class="quote">w</span>”</span>, and <span class="quote">“<span class="quote">x</span>”</span> bits mapped into the corresponding NT 610 610 permissions. The UNIX world permissions are mapped into the global NT group <code class="constant">Everyone</code>, followed 611 611 by the list of permissions allowed for the UNIX world. The UNIX owner and group permissions are displayed as an NT … … 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="id2613922"></a>Directory Permissions</h4></div></div></div><p>624 </p></div><div class="sect3" title="Directory Permissions"><div class="titlepage"><div><div><h4 class="title"><a name="id2619998"></a>Directory Permissions</h4></div></div></div><p> 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="id2613960"></a>Modifying File or Directory Permissions</h3></div></div></div><p>635 </p></div></div><div class="sect2" title="Modifying File or Directory Permissions"><div class="titlepage"><div><div><h3 class="title"><a name="id2620036"></a>Modifying File or Directory Permissions</h3></div></div></div><p> 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, … … 654 654 you to add permissions back to a file or directory once you have removed them from a triplet component. 655 655 </p><p> 656 Because UNIX supports only the “<span class="quote">r</span>”, “<span class="quote">w</span>”, and “<span class="quote">x</span>”bits of an NT ACL, if656 Because UNIX supports only the <span class="quote">“<span class="quote">r</span>”</span>, <span class="quote">“<span class="quote">w</span>”</span>, and <span class="quote">“<span class="quote">x</span>”</span> bits of an NT ACL, if 657 657 other NT security attributes such as <code class="constant">Delete Access</code> are selected, they will be ignored 658 658 when applied on the Samba server. … … 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="id2614117"></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" title="Interaction with the Standard Samba “create mask” Parameters"><div class="titlepage"><div><div><h3 class="title"><a name="id2620193"></a>Interaction with the Standard Samba <span class="quote">“<span class="quote">create mask</span>”</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" target="_top">security mask</a></p></li><li><p><a class="link" href="smb.conf.5.html#FORCESECURITYMODE" target="_top">force security mode</a></p></li><li><p><a class="link" href="smb.conf.5.html#DIRECTORYSECURITYMASK" target="_top">directory security mask</a></p></li><li><p><a class="link" href="smb.conf.5.html#FORCEDIRECTORYSECURITYMODE" target="_top">force directory security mode</a></p></li></ul></div><p>671 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p><a class="link" href="smb.conf.5.html#SECURITYMASK" target="_top">security mask</a></p></li><li class="listitem"><p><a class="link" href="smb.conf.5.html#FORCESECURITYMODE" target="_top">force security mode</a></p></li><li class="listitem"><p><a class="link" href="smb.conf.5.html#DIRECTORYSECURITYMASK" target="_top">directory security mask</a></p></li><li class="listitem"><p><a class="link" href="smb.conf.5.html#FORCEDIRECTORYSECURITYMODE" target="_top">force directory security mode</a></p></li></ul></div><p> 672 672 673 673 </p><p> … … 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="id2614438"></a><em class="parameter"><code>security mask = 0777</code></em></td></tr><tr><td><a class="indexterm" name="id2614449"></a><em class="parameter"><code>force security mode = 0</code></em></td></tr><tr><td><a class="indexterm" name="id2614461"></a><em class="parameter"><code>directory security mask = 0777</code></em></td></tr><tr><td><a class="indexterm" name="id2614473"></a><em class="parameter"><code>force directory security mode = 0</code></em></td></tr></table></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2614486"></a>Interaction with the Standard Samba File Attribute Mapping</h3></div></div></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>723 Samba maps some of the DOS attribute bits (such as “<span class="quote">read-only</span>”)722 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2620514"></a><em class="parameter"><code>security mask = 0777</code></em></td></tr><tr><td><a class="indexterm" name="id2620525"></a><em class="parameter"><code>force security mode = 0</code></em></td></tr><tr><td><a class="indexterm" name="id2620537"></a><em class="parameter"><code>directory security mask = 0777</code></em></td></tr><tr><td><a class="indexterm" name="id2620549"></a><em class="parameter"><code>force directory security mode = 0</code></em></td></tr></table></div><div class="sect2" title="Interaction with the Standard Samba File Attribute Mapping"><div class="titlepage"><div><div><h3 class="title"><a name="id2620562"></a>Interaction with the Standard Samba File Attribute Mapping</h3></div></div></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 723 Samba maps some of the DOS attribute bits (such as <span class="quote">“<span class="quote">read-only</span>”</span>) 724 724 into the UNIX permissions of a file. This means there can 725 725 be a conflict between the permission bits set via the security … … 727 727 </p></div><p> 728 728 If a file has no UNIX read access for the owner, it will show up 729 as “<span class="quote">read-only</span>”in the standard file attributes tabbed dialog.729 as <span class="quote">“<span class="quote">read-only</span>”</span> in the standard file attributes tabbed dialog. 730 730 Unfortunately, this dialog is the same one that contains the security information 731 731 in another tab. … … 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="id2614559"></a>Windows NT/200X ACLs and POSIX ACLs Limitations</h3></div></div></div><p>743 </p></div><div class="sect2" title="Windows NT/200X ACLs and POSIX ACLs Limitations"><div class="titlepage"><div><div><h3 class="title"><a name="id2620635"></a>Windows NT/200X ACLs and POSIX ACLs Limitations</h3></div></div></div><p> 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="id2614623"></a>UNIX POSIX ACL Overview</h4></div></div></div><p>771 </p><div class="sect3" title="UNIX POSIX ACL Overview"><div class="titlepage"><div><div><h4 class="title"><a name="id2620699"></a>UNIX POSIX ACL Overview</h4></div></div></div><p> 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="id2614684"></a>Mapping of Windows File ACLs to UNIX POSIX ACLs</h4></div></div></div><p>800 </p></div><div class="sect3" title="Mapping of Windows File ACLs to UNIX POSIX ACLs"><div class="titlepage"><div><div><h4 class="title"><a name="id2620760"></a>Mapping of Windows File ACLs to UNIX POSIX ACLs</h4></div></div></div><p> 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="id2614954"></a>Mapping of Windows Directory ACLs to UNIX POSIX ACLs</h4></div></div></div><p>819 </p></div><div class="sect3" title="Mapping of Windows Directory ACLs to UNIX POSIX ACLs"><div class="titlepage"><div><div><h4 class="title"><a name="id2621030"></a>Mapping of Windows Directory ACLs to UNIX POSIX ACLs</h4></div></div></div><p> 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="id2614978"></a>Common Errors</h2></div></div></div><p>827 </p></div></div></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2621054"></a>Common Errors</h2></div></div></div><p> 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="id2614990"></a>Users Cannot Write to a Public Share</h3></div></div></div><p>830 </p><div class="sect2" title="Users Cannot Write to a Public Share"><div class="titlepage"><div><div><h3 class="title"><a name="id2621066"></a>Users Cannot Write to a Public Share</h3></div></div></div><p> 831 831 The following complaint has frequently been voiced on the Samba mailing list: 832 “<span class="quote">832 <span class="quote">“<span class="quote"> 833 833 We are facing some troubles with file/directory permissions. I can log on the domain as admin user (root), 834 834 and there's a public share on which everyone needs to have permission to create/modify files, but only … … 836 836 <strong class="userinput"><code>chgrp -R users *</code></strong> and <strong class="userinput"><code>chown -R nobody *</code></strong> to allow 837 837 other users to change the file. 838 </span>” 838 </span>”</span> 839 839 </p><p> 840 840 Here is one way the problem can be solved: 841 </p><div class="procedure"><ol type="1"><li><p>841 </p><div class="procedure"><ol class="procedure" type="1"><li class="step" title="Step 1"><p> 842 842 Go to the top of the directory that is shared. 843 </p></li><li ><p>843 </p></li><li class="step" title="Step 2"><p> 844 844 Set the ownership to whatever public user and group you want 845 845 </p><pre class="screen"> … … 849 849 <code class="prompt">$ </code>find `directory_name' -type f -exec chown user:group {}\; 850 850 </pre><p> 851 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>851 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 852 852 The above will set the <code class="constant">SGID bit</code> on all directories. Read your 853 853 UNIX/Linux man page on what that does. This ensures that all files and directories 854 854 that are created in the directory tree will be owned by the current user and will 855 855 be owned by the group that owns the directory in which it is created. 856 </p></div></li><li ><p>856 </p></div></li><li class="step" title="Step 3"><p> 857 857 Directory is <em class="replaceable"><code>/foodbar</code></em>: 858 858 </p><pre class="screen"> 859 859 <code class="prompt">$ </code><strong class="userinput"><code>chown jack:engr /foodbar</code></strong> 860 860 </pre><p> 861 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This is the same as doing:</p><pre class="screen">861 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This is the same as doing:</p><pre class="screen"> 862 862 <code class="prompt">$ </code><strong class="userinput"><code>chown jack /foodbar</code></strong> 863 863 <code class="prompt">$ </code><strong class="userinput"><code>chgrp engr /foodbar</code></strong> 864 </pre></div></li><li ><p>Now type:864 </pre></div></li><li class="step" title="Step 4"><p>Now type: 865 865 866 866 </p><pre class="screen"> … … 872 872 drwxrwsr-x 2 jack engr 48 2003-02-04 09:55 foodbar 873 873 </pre><p> 874 </p></li><li ><p>Now type:874 </p></li><li class="step" title="Step 5"><p>Now type: 875 875 </p><pre class="screen"> 876 876 <code class="prompt">$ </code><strong class="userinput"><code>su - jill</code></strong> … … 885 885 -rw-r--r-- 1 jill engr 0 2007-01-18 19:41 Afile 886 886 </pre><p> 887 </p></li><li ><p>887 </p></li><li class="step" title="Step 6"><p> 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="id2615296"></a><em class="parameter"><code>force group = engr</code></em></td></tr></table><p>891 </p></li></ol></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2615312"></a>File Operations Done as <span class="emphasis"><em>root</em></span> with <span class="emphasis"><em>force user</em></span> Set</h3></div></div></div><p>890 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2621373"></a><em class="parameter"><code>force group = engr</code></em></td></tr></table><p> 891 </p></li></ol></div></div><div class="sect2" title="File Operations Done as root with force user Set"><div class="titlepage"><div><div><h3 class="title"><a name="id2621388"></a>File Operations Done as <span class="emphasis"><em>root</em></span> with <span class="emphasis"><em>force user</em></span> Set</h3></div></div></div><p> 892 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 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="id2615358"></a>MS Word with Samba Changes Owner of File</h3></div></div></div><p>895 <span class="emphasis"><em>Question:</em></span> “<span class="quote">When user B saves a word document that is owned by user A,896 the updated file is now owned by user B. Why is Samba doing this? How do I fix this?</span>” 894 </p></div><div class="sect2" title="MS Word with Samba Changes Owner of File"><div class="titlepage"><div><div><h3 class="title"><a name="id2621434"></a>MS Word with Samba Changes Owner of File</h3></div></div></div><p> 895 <span class="emphasis"><em>Question:</em></span> <span class="quote">“<span class="quote">When user B saves a word document that is owned by user A, 896 the updated file is now owned by user B. Why is Samba doing this? How do I fix this?</span>”</span> 897 897 </p><p> 898 898 <span class="emphasis"><em>Answer:</em></span> Word does the following when you modify/change a Word document: MS Word creates a new document with … … 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="id2615427"></a><em class="parameter"><code>force create mode = 0660</code></em></td></tr><tr><td><a class="indexterm" name="id2615439"></a><em class="parameter"><code>force directory mode = 0770</code></em></td></tr></table><p>909 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2621513"></a><em class="parameter"><code>force create mode = 0660</code></em></td></tr><tr><td><a class="indexterm" name="id2621525"></a><em class="parameter"><code>force directory mode = 0770</code></em></td></tr></table><p> 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.3.x/docs/htmldocs/Samba3-HOWTO/AdvancedNetworkManagement.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 25. Advanced Network Management</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="winbind.html" title="Chapter 24. Winbind: Use of Domain Accounts"><link rel="next" href="PolicyMgmt.html" title="Chapter 26. System and Account Policies"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 25. Advanced Network Management</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="winbind.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="PolicyMgmt.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="AdvancedNetworkManagement"></a>Chapter 25. Advanced Network Management</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2657633">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2657660">Remote Server Administration</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2657803">Remote Desktop Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2658207">Remote Management with ThinLinc</a></span></dt></dl></dd><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2658393">Network Logon Script Magic</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2658618">Adding Printers without User Intervention</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2658661">Limiting Logon Connections</a></span></dt></dl></dd></dl></div><p>2 <a class="indexterm" name="id26 57621"></a>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 25. Advanced Network Management</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="winbind.html" title="Chapter 24. Winbind: Use of Domain Accounts"><link rel="next" href="PolicyMgmt.html" title="Chapter 26. System and Account Policies"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 25. Advanced Network Management</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="winbind.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="PolicyMgmt.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 25. Advanced Network Management"><div class="titlepage"><div><div><h2 class="title"><a name="AdvancedNetworkManagement"></a>Chapter 25. Advanced Network Management</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2663685">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2663712">Remote Server Administration</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2663855">Remote Desktop Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2664260">Remote Management with ThinLinc</a></span></dt></dl></dd><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2664445">Network Logon Script Magic</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2664670">Adding Printers without User Intervention</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2664713">Limiting Logon Connections</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2663673"></a> 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="id2657633"></a>Features and Benefits</h2></div></div></div><p>6 </p><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2663685"></a>Features and Benefits</h2></div></div></div><p> 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="id2657660"></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="id26 57673"></a>18 <a class="indexterm" name="id26 57680"></a>19 <a class="indexterm" name="id26 57687"></a>16 </p></div><div class="sect1" title="Remote Server Administration"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2663712"></a>Remote Server Administration</h2></div></div></div><p><span class="quote">“<span class="quote">How do I get User Manager and Server Manager?</span>”</span></p><p> 17 <a class="indexterm" name="id2663725"></a> 18 <a class="indexterm" name="id2663732"></a> 19 <a class="indexterm" name="id2663739"></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="id26 57705"></a>24 <a class="indexterm" name="id26 57712"></a>23 <a class="indexterm" name="id2663757"></a> 24 <a class="indexterm" name="id2663764"></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: 27 </p><div class="itemizedlist"><ul type="disc"><li><p>Server Manager</p></li><li><p>User Manager for Domains</p></li><li><p>Event Viewer</p></li></ul></div><p>27 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Server Manager</p></li><li class="listitem"><p>User Manager for Domains</p></li><li class="listitem"><p>Event Viewer</p></li></ul></div><p> 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="id26 57766"></a>31 <a class="indexterm" name="id26 57773"></a>32 <a class="indexterm" name="id26 57780"></a>30 <a class="indexterm" name="id2663818"></a> 31 <a class="indexterm" name="id2663825"></a> 32 <a class="indexterm" name="id2663832"></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="id2657803"></a>Remote Desktop Management</h2></div></div></div><p>37 <a class="indexterm" name="id26 57811"></a>38 <a class="indexterm" name="id26 57818"></a>36 </p></div><div class="sect1" title="Remote Desktop Management"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2663855"></a>Remote Desktop Management</h2></div></div></div><p> 37 <a class="indexterm" name="id2663863"></a> 38 <a class="indexterm" name="id2663870"></a> 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="id2657832"></a>Remote Management from NoMachine.Com</h3></div></div></div><p>44 <a class="indexterm" name="id26 57840"></a>43 </p><div class="sect2" title="Remote Management from NoMachine.Com"><div class="titlepage"><div><div><h3 class="title"><a name="id2663884"></a>Remote Management from NoMachine.Com</h3></div></div></div><p> 44 <a class="indexterm" name="id2663892"></a> 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 </p><p> “<span class="quote">49 <a class="indexterm" name="id26 57855"></a>48 </p><p><span class="quote">“<span class="quote"> 49 <a class="indexterm" name="id2663908"></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 </span>”</ p><p>“<span class="quote">54 <a class="indexterm" name="id26 57871"></a>55 <a class="indexterm" name="id26 57878"></a>56 <a class="indexterm" name="id26 57884"></a>57 <a class="indexterm" name="id26 57891"></a>53 </span>”</span></p><p><span class="quote">“<span class="quote"> 54 <a class="indexterm" name="id2663923"></a> 55 <a class="indexterm" name="id2663930"></a> 56 <a class="indexterm" name="id2663936"></a> 57 <a class="indexterm" name="id2663943"></a> 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 60 60 even if the computer is in a domain? 61 </span>”</ p><p>62 Answer provided: Check out the new offer of “<span class="quote">NX</span>”software from61 </span>”</span></p><p> 62 Answer provided: Check out the new offer of <span class="quote">“<span class="quote">NX</span>”</span> software from 63 63 <a class="ulink" href="http://www.nomachine.com/" target="_top">NoMachine</a>. 64 64 </p><p> 65 <a class="indexterm" name="id26 57922"></a>66 <a class="indexterm" name="id26 57929"></a>67 <a class="indexterm" name="id26 57935"></a>65 <a class="indexterm" name="id2663974"></a> 66 <a class="indexterm" name="id2663981"></a> 67 <a class="indexterm" name="id2663988"></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="id26 57949"></a>72 <a class="indexterm" name="id2664001"></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="id26 57963"></a>78 <a class="indexterm" name="id26 57970"></a>79 <a class="indexterm" name="id26 57976"></a>80 <a class="indexterm" name="id26 57983"></a>77 <a class="indexterm" name="id2664015"></a> 78 <a class="indexterm" name="id2664022"></a> 79 <a class="indexterm" name="id2664029"></a> 80 <a class="indexterm" name="id2664035"></a> 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, 83 which popped up immediately on “<span class="quote">mouse-over</span>”. From inside that (remote X)83 which popped up immediately on <span class="quote">“<span class="quote">mouse-over</span>”</span>. From inside that (remote X) 84 84 session I started a rdesktop session on another, a Windows XP machine. 85 85 To test the performance, I played Pinball. I am proud to announce 86 86 that my score was 631,750 points at first try. 87 87 </p><p> 88 <a class="indexterm" name="id26 58002"></a>89 <a class="indexterm" name="id26 58009"></a>90 <a class="indexterm" name="id26 58016"></a>91 <a class="indexterm" name="id26 58022"></a>92 NX performs better on my local LAN than any of the other “<span class="quote">pure</span>”88 <a class="indexterm" name="id2664054"></a> 89 <a class="indexterm" name="id2664061"></a> 90 <a class="indexterm" name="id2664068"></a> 91 <a class="indexterm" name="id2664074"></a> 92 NX performs better on my local LAN than any of the other <span class="quote">“<span class="quote">pure</span>”</span> 93 93 connection methods I use from time to time: TightVNC, rdesktop or 94 94 Remote X. It is even faster than a direct crosslink connection between 95 95 two nodes. 96 96 </p><p> 97 <a class="indexterm" name="id26 58040"></a>98 <a class="indexterm" name="id26 58046"></a>99 <a class="indexterm" name="id26 58053"></a>97 <a class="indexterm" name="id2664092"></a> 98 <a class="indexterm" name="id2664098"></a> 99 <a class="indexterm" name="id2664105"></a> 100 100 I even got sound playing from the Remote X app to my local boxes, and 101 had a working “<span class="quote">copy'n'paste</span>”from an NX window (running a KDE session101 had a working <span class="quote">“<span class="quote">copy'n'paste</span>”</span> from an NX window (running a KDE session 102 102 in Italy) to my Mozilla mailing agent. These guys are certainly doing 103 103 something right! … … 119 119 at all). 120 120 </p><p> 121 <a class="indexterm" name="id26 58103"></a>121 <a class="indexterm" name="id2664155"></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 … … 127 127 </p><p> 128 128 To answer your questions: 129 </p><div class="itemizedlist"><ul type="disc"><li><p>129 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 130 130 You do not need to install a terminal server; XP has RDP support built in. 131 </p></li><li ><p>131 </p></li><li class="listitem"><p> 132 132 NX is much cheaper than Citrix and comparable in performance, probably faster. 133 </p></li><li ><p>133 </p></li><li class="listitem"><p> 134 134 You do not need to hack XP it just works. 135 </p></li><li ><p>135 </p></li><li class="listitem"><p> 136 136 You log into the XP box from remote transparently (and I think there is no 137 137 need to change anything to get a connection, even if authentication is against a domain). 138 </p></li><li ><p>138 </p></li><li class="listitem"><p> 139 139 The NX core technologies are all Open Source and released under the GPL 140 140 you can now use a (very inconvenient) command line at no cost, 141 141 but you can buy a comfortable (proprietary) NX GUI front end for money. 142 </p></li><li ><p>143 <a class="indexterm" name="id26 58166"></a>144 <a class="indexterm" name="id26 58173"></a>145 <a class="indexterm" name="id26 58179"></a>146 <a class="indexterm" name="id26 58186"></a>147 <a class="indexterm" name="id26 58193"></a>142 </p></li><li class="listitem"><p> 143 <a class="indexterm" name="id2664218"></a> 144 <a class="indexterm" name="id2664225"></a> 145 <a class="indexterm" name="id2664232"></a> 146 <a class="indexterm" name="id2664238"></a> 147 <a class="indexterm" name="id2664245"></a> 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="id2658207"></a>Remote Management with ThinLinc</h3></div></div></div><p>151 </p></li></ul></div></div><div class="sect2" title="Remote Management with ThinLinc"><div class="titlepage"><div><div><h3 class="title"><a name="id2664260"></a>Remote Management with ThinLinc</h3></div></div></div><p> 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="id26 58223"></a>155 <a class="indexterm" name="id26 58230"></a>156 <a class="indexterm" name="id26 58237"></a>157 <a class="indexterm" name="id26 58244"></a>158 <a class="indexterm" name="id26 58251"></a>159 <a class="indexterm" name="id26 58258"></a>160 <a class="indexterm" name="id26 58264"></a>161 <a class="indexterm" name="id26 58271"></a>154 <a class="indexterm" name="id2664276"></a> 155 <a class="indexterm" name="id2664282"></a> 156 <a class="indexterm" name="id2664289"></a> 157 <a class="indexterm" name="id2664296"></a> 158 <a class="indexterm" name="id2664303"></a> 159 <a class="indexterm" name="id2664310"></a> 160 <a class="indexterm" name="id2664316"></a> 161 <a class="indexterm" name="id2664323"></a> 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="id26 58283"></a>166 <a class="indexterm" name="id26 58290"></a>165 <a class="indexterm" name="id2664335"></a> 166 <a class="indexterm" name="id2664342"></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="id26 58305"></a>172 <a class="indexterm" name="id26 58311"></a>173 <a class="indexterm" name="id26 58318"></a>171 <a class="indexterm" name="id2664357"></a> 172 <a class="indexterm" name="id2664364"></a> 173 <a class="indexterm" name="id2664371"></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="id2658393"></a>Network Logon Script Magic</h2></div></div></div><p>188 </p></div></div><div class="sect1" title="Network Logon Script Magic"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2664445"></a>Network Logon Script Magic</h2></div></div></div><p> 189 189 There are several opportunities for creating a custom network startup configuration environment. 190 </p><div class="itemizedlist"><ul type="disc"><li><p>No Logon Script.</p></li><li><p>Simple universal Logon Script that applies to all users.</p></li><li><p>Use of a conditional Logon Script that applies per-user or per-group attributes.</p></li><li><p>Use of Samba's preexec and postexec functions on access to the NETLOGON share to create191 a custom logon script and then execute it.</p></li><li ><p>User of a tool such as KixStart.</p></li></ul></div><p>190 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>No Logon Script.</p></li><li class="listitem"><p>Simple universal Logon Script that applies to all users.</p></li><li class="listitem"><p>Use of a conditional Logon Script that applies per-user or per-group attributes.</p></li><li class="listitem"><p>Use of Samba's preexec and postexec functions on access to the NETLOGON share to create 191 a custom logon script and then execute it.</p></li><li class="listitem"><p>User of a tool such as KixStart.</p></li></ul></div><p> 192 192 The Samba source code tree includes two logon script generation/execution tools. 193 193 See <code class="filename">examples</code> directory <code class="filename">genlogon</code> and … … 196 196 The following listings are from the genlogon directory. 197 197 </p><p> 198 <a class="indexterm" name="id26 58463"></a>198 <a class="indexterm" name="id2664515"></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="id2658618"></a>Adding Printers without User Intervention</h3></div></div></div><p>278 <a class="indexterm" name="id26 58626"></a>277 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p><a class="ulink" href="http://www.craigelachie.org/rhacer/ntlogon" target="_top">http://www.craigelachie.org/rhacer/ntlogon</a></p></li><li class="listitem"><p><a class="ulink" href="http://www.kixtart.org" target="_top">http://www.kixtart.org</a></p></li></ul></div><div class="sect2" title="Adding Printers without User Intervention"><div class="titlepage"><div><div><h3 class="title"><a name="id2664670"></a>Adding Printers without User Intervention</h3></div></div></div><p> 278 <a class="indexterm" name="id2664678"></a> 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="id2658661"></a>Limiting Logon Connections</h3></div></div></div><p>285 </p></div><div class="sect2" title="Limiting Logon Connections"><div class="titlepage"><div><div><h3 class="title"><a name="id2664713"></a>Limiting Logon Connections</h3></div></div></div><p> 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.3.x/docs/htmldocs/Samba3-HOWTO/Appendix.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Part VI. Reference Section</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="tdb.html" title="Chapter 41. Managing TDB Files"><link rel="next" href="compiling.html" title="Chapter 42. How to Compile Samba"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Part VI. Reference Section</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="tdb.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="compiling.html">Next</a></td></tr></table><hr></div><div class="part" lang="en"><div class="titlepage"><div><div><h1 class="title"><a name="Appendix"></a>Part VI. Reference Section</h1></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="chapter"><a href="compiling.html">42. How to Compile Samba</a></span></dt><dd><dl><dt><span class="sect1"><a href="compiling.html#id2687571">Access Samba Source Code via Subversion</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2687577">Introduction</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2687618">Subversion Access to samba.org</a></span></dt></dl></dd><dt><span class="sect1"><a href="compiling.html#id2687810">Accessing the Samba Sources via rsync and ftp</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2687884">Verifying Samba's PGP Signature</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2688022">Building the Binaries</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2688260">Compiling Samba with Active Directory Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="compiling.html#startingSamba">Starting the smbd nmbd and winbindd</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2688531">Starting from inetd.conf</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2688751">Alternative: Starting smbd as a Daemon</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="Portability.html">43. Portability</a></span></dt><dd><dl><dt><span class="sect1"><a href="Portability.html#id2689135">HPUX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2689239">SCO UNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2689278">DNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2689420">Red Hat Linux</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2689463">AIX: Sequential Read Ahead</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2689525">Solaris</a></span></dt><dd><dl><dt><span class="sect2"><a href="Portability.html#id2689530">Locking Improvements</a></span></dt><dt><span class="sect2"><a href="Portability.html#winbind-solaris9">Winbind on Solaris 9</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="Other-Clients.html">44. Samba and Other CIFS Clients</a></span></dt><dd><dl><dt><span class="sect1"><a href="Other-Clients.html#id2689706">Macintosh Clients</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2689790">OS2 Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2689796">Configuring OS/2 Warp Connect or OS/2 Warp 4</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2689915">Configuring Other Versions of OS/2</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2689972">Printer Driver Download for OS/2 Clients</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2690065">Windows for Workgroups</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2690071">Latest TCP/IP Stack from Microsoft</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2690154">Delete .pwl Files After Password Change</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2690180">Configuring Windows for Workgroups Password Handling</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2690238">Password Case Sensitivity</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2690270">Use TCP/IP as Default Protocol</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#speedimpr">Speed Improvement</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2690327">Windows 95/98</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2690396">Speed Improvement</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2690417">Windows 2000 Service Pack 2</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2690613">Windows NT 3.1</a></span></dt></dl></dd><dt><span class="chapter"><a href="speed.html">45. Samba Performance Tuning</a></span></dt><dd><dl><dt><span class="sect1"><a href="speed.html#id2690721">Comparisons</a></span></dt><dt><span class="sect1"><a href="speed.html#id2690759">Socket Options</a></span></dt><dt><span class="sect1"><a href="speed.html#id2690856">Read Size</a></span></dt><dt><span class="sect1"><a href="speed.html#id2690900">Max Xmit</a></span></dt><dt><span class="sect1"><a href="speed.html#id2690948">Log Level</a></span></dt><dt><span class="sect1"><a href="speed.html#id2690972">Read Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691039">Write Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691091">Slow Logins</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691115">Client Tuning</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691136">Samba Performance Problem Due to Changing Linux Kernel</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691227">Corrupt tdb Files</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691323">Samba Performance is Very Slow</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch-ldap-tls.html">46. LDAP and Transport Layer Security</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch-ldap-tls.html#s1-intro-ldap-tls">Introduction</a></span></dt><dt><span class="sect1"><a href="ch-ldap-tls.html#s1-config-ldap-tls">Configuring</a></span></dt><dd><dl><dt><span class="sect2"><a href="ch-ldap-tls.html#s1-config-ldap-tls-certs">Generating the Certificate Authority</a></span></dt><dt><span class="sect2"><a href="ch-ldap-tls.html#s1-config-ldap-tls-server">Generating the Server Certificate</a></span></dt><dt><span class="sect2"><a href="ch-ldap-tls.html#s1-config-ldap-tls-install">Installing the Certificates</a></span></dt></dl></dd><dt><span class="sect1"><a href="ch-ldap-tls.html#s1-test-ldap-tls">Testing</a></span></dt><dt><span class="sect1"><a href="ch-ldap-tls.html#s1-int-ldap-tls">Troubleshooting</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch47.html">47. Samba Support</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch47.html#id2692514">Free Support</a></span></dt><dt><span class="sect1"><a href="ch47.html#id2692732">Commercial Support</a></span></dt></dl></dd><dt><span class="chapter"><a href="DNSDHCP.html">48. DNS and DHCP Configuration Guide</a></span></dt><dd><dl><dt><span class="sect1"><a href="DNSDHCP.html#id2692891">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="DNSDHCP.html#id2693070">Example Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="DNSDHCP.html#id2693161">Dynamic DNS</a></span></dt><dt><span class="sect2"><a href="DNSDHCP.html#DHCP">DHCP Server</a></span></dt></dl></dd></dl></dd></dl></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="tdb.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="compiling.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 41. Managing TDB Files </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 42. How to Compile Samba</td></tr></table></div></body></html>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Part VI. Reference Section</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="tdb.html" title="Chapter 41. Managing TDB Files"><link rel="next" href="compiling.html" title="Chapter 42. How to Compile Samba"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Part VI. Reference Section</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="tdb.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="compiling.html">Next</a></td></tr></table><hr></div><div class="part" title="Part VI. Reference Section"><div class="titlepage"><div><div><h1 class="title"><a name="Appendix"></a>Part VI. Reference Section</h1></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="chapter"><a href="compiling.html">42. How to Compile Samba</a></span></dt><dd><dl><dt><span class="sect1"><a href="compiling.html#id2693628">Access Samba Source Code via Subversion</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2693634">Introduction</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2693675">Subversion Access to samba.org</a></span></dt></dl></dd><dt><span class="sect1"><a href="compiling.html#id2693866">Accessing the Samba Sources via rsync and ftp</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2693941">Verifying Samba's PGP Signature</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2694079">Building the Binaries</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2694316">Compiling Samba with Active Directory Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="compiling.html#startingSamba">Starting the <span class="application">smbd</span> <span class="application">nmbd</span> and <span class="application">winbindd</span></a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2694587">Starting from inetd.conf</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2694807">Alternative: Starting <span class="application">smbd</span> as a Daemon</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="Portability.html">43. Portability</a></span></dt><dd><dl><dt><span class="sect1"><a href="Portability.html#id2695192">HPUX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2695296">SCO UNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2695335">DNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2695476">Red Hat Linux</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2695520">AIX: Sequential Read Ahead</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2695581">Solaris</a></span></dt><dd><dl><dt><span class="sect2"><a href="Portability.html#id2695587">Locking Improvements</a></span></dt><dt><span class="sect2"><a href="Portability.html#winbind-solaris9">Winbind on Solaris 9</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="Other-Clients.html">44. Samba and Other CIFS Clients</a></span></dt><dd><dl><dt><span class="sect1"><a href="Other-Clients.html#id2695763">Macintosh Clients</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2695847">OS2 Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2695852">Configuring OS/2 Warp Connect or OS/2 Warp 4</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2695972">Configuring Other Versions of OS/2</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2696028">Printer Driver Download for OS/2 Clients</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2696122">Windows for Workgroups</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2696128">Latest TCP/IP Stack from Microsoft</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2696211">Delete .pwl Files After Password Change</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2696237">Configuring Windows for Workgroups Password Handling</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2696295">Password Case Sensitivity</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2696326">Use TCP/IP as Default Protocol</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#speedimpr">Speed Improvement</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2696384">Windows 95/98</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2696453">Speed Improvement</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2696474">Windows 2000 Service Pack 2</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2696670">Windows NT 3.1</a></span></dt></dl></dd><dt><span class="chapter"><a href="speed.html">45. Samba Performance Tuning</a></span></dt><dd><dl><dt><span class="sect1"><a href="speed.html#id2696777">Comparisons</a></span></dt><dt><span class="sect1"><a href="speed.html#id2696815">Socket Options</a></span></dt><dt><span class="sect1"><a href="speed.html#id2696912">Read Size</a></span></dt><dt><span class="sect1"><a href="speed.html#id2696957">Max Xmit</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697004">Log Level</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697029">Read Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697096">Write Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697148">Slow Logins</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697172">Client Tuning</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697192">Samba Performance Problem Due to Changing Linux Kernel</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697284">Corrupt tdb Files</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697380">Samba Performance is Very Slow</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch-ldap-tls.html">46. LDAP and Transport Layer Security</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch-ldap-tls.html#s1-intro-ldap-tls">Introduction</a></span></dt><dt><span class="sect1"><a href="ch-ldap-tls.html#s1-config-ldap-tls">Configuring</a></span></dt><dd><dl><dt><span class="sect2"><a href="ch-ldap-tls.html#s1-config-ldap-tls-certs">Generating the Certificate Authority</a></span></dt><dt><span class="sect2"><a href="ch-ldap-tls.html#s1-config-ldap-tls-server">Generating the Server Certificate</a></span></dt><dt><span class="sect2"><a href="ch-ldap-tls.html#s1-config-ldap-tls-install">Installing the Certificates</a></span></dt></dl></dd><dt><span class="sect1"><a href="ch-ldap-tls.html#s1-test-ldap-tls">Testing</a></span></dt><dt><span class="sect1"><a href="ch-ldap-tls.html#s1-int-ldap-tls">Troubleshooting</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch47.html">47. Samba Support</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch47.html#id2698571">Free Support</a></span></dt><dt><span class="sect1"><a href="ch47.html#id2698789">Commercial Support</a></span></dt></dl></dd><dt><span class="chapter"><a href="DNSDHCP.html">48. DNS and DHCP Configuration Guide</a></span></dt><dd><dl><dt><span class="sect1"><a href="DNSDHCP.html#id2698948">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="DNSDHCP.html#id2699127">Example Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="DNSDHCP.html#id2699218">Dynamic DNS</a></span></dt><dt><span class="sect2"><a href="DNSDHCP.html#DHCP">DHCP Server</a></span></dt></dl></dd></dl></dd></dl></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="tdb.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="compiling.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 41. Managing TDB Files </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 42. How to Compile Samba</td></tr></table></div></body></html> -
branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/Backup.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 31. Backup Techniques</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="unicode.html" title="Chapter 30. Unicode/Charsets"><link rel="next" href="SambaHA.html" title="Chapter 32. High Availability"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 31. Backup Techniques</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="unicode.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="SambaHA.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="Backup"></a>Chapter 31. Backup Techniques</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2671410">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="Backup.html#id2671454">Discussion of Backup Solutions</a></span></dt><dd><dl><dt><span class="sect2"><a href="Backup.html#id2671551">BackupPC</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2671723">Rsync</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2671892">Amanda</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2671940">BOBS: Browseable Online Backup System</a></span></dt></dl></dd></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2671410"></a>Features and Benefits</h2></div></div></div><p>2 <a class="indexterm" name="id267 1418"></a>3 <a class="indexterm" name="id267 1424"></a>4 <a class="indexterm" name="id267 1431"></a>5 <a class="indexterm" name="id267 1438"></a>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 31. Backup Techniques</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="unicode.html" title="Chapter 30. Unicode/Charsets"><link rel="next" href="SambaHA.html" title="Chapter 32. High Availability"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 31. Backup Techniques</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="unicode.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="SambaHA.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 31. Backup Techniques"><div class="titlepage"><div><div><h2 class="title"><a name="Backup"></a>Chapter 31. Backup Techniques</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2677464">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="Backup.html#id2677509">Discussion of Backup Solutions</a></span></dt><dd><dl><dt><span class="sect2"><a href="Backup.html#id2677606">BackupPC</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2677778">Rsync</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2677947">Amanda</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2677995">BOBS: Browseable Online Backup System</a></span></dt></dl></dd></dl></div><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2677464"></a>Features and Benefits</h2></div></div></div><p> 2 <a class="indexterm" name="id2677472"></a> 3 <a class="indexterm" name="id2677479"></a> 4 <a class="indexterm" name="id2677486"></a> 5 <a class="indexterm" name="id2677493"></a> 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="id2671454"></a>Discussion of Backup Solutions</h2></div></div></div><p>13 <a class="indexterm" name="id267 1462"></a>14 <a class="indexterm" name="id267 1469"></a>12 </p></div><div class="sect1" title="Discussion of Backup Solutions"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2677509"></a>Discussion of Backup Solutions</h2></div></div></div><p> 13 <a class="indexterm" name="id2677517"></a> 14 <a class="indexterm" name="id2677524"></a> 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="id267 1485"></a>22 <a class="indexterm" name="id267 1492"></a>21 <a class="indexterm" name="id2677540"></a> 22 <a class="indexterm" name="id2677547"></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="id267 1506"></a>29 <a class="indexterm" name="id267 1513"></a>30 <a class="indexterm" name="id267 1520"></a>28 <a class="indexterm" name="id2677561"></a> 29 <a class="indexterm" name="id2677568"></a> 30 <a class="indexterm" name="id2677575"></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="id2671551"></a>BackupPC</h3></div></div></div><p>42 <a class="indexterm" name="id267 1559"></a>43 <a class="indexterm" name="id267 1566"></a>44 <a class="indexterm" name="id267 1573"></a>41 </p><div class="sect2" title="BackupPC"><div class="titlepage"><div><div><h3 class="title"><a name="id2677606"></a>BackupPC</h3></div></div></div><p> 42 <a class="indexterm" name="id2677614"></a> 43 <a class="indexterm" name="id2677621"></a> 44 <a class="indexterm" name="id2677628"></a> 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="id267 1597"></a>50 <a class="indexterm" name="id267 1604"></a>51 <a class="indexterm" name="id267 1611"></a>52 <a class="indexterm" name="id267 1617"></a>53 <a class="indexterm" name="id267 1624"></a>54 <a class="indexterm" name="id267 1631"></a>55 <a class="indexterm" name="id267 1637"></a>56 <a class="indexterm" name="id267 1644"></a>49 <a class="indexterm" name="id2677652"></a> 50 <a class="indexterm" name="id2677659"></a> 51 <a class="indexterm" name="id2677666"></a> 52 <a class="indexterm" name="id2677672"></a> 53 <a class="indexterm" name="id2677679"></a> 54 <a class="indexterm" name="id2677686"></a> 55 <a class="indexterm" name="id2677692"></a> 56 <a class="indexterm" name="id2677699"></a> 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="id267 1676"></a>64 <a class="indexterm" name="id267 1683"></a>65 <a class="indexterm" name="id267 1690"></a>63 <a class="indexterm" name="id2677731"></a> 64 <a class="indexterm" name="id2677738"></a> 65 <a class="indexterm" name="id2677744"></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="id267 1710"></a>74 <a class="indexterm" name="id2677765"></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="id2671723"></a>Rsync</h3></div></div></div><p>79 <a class="indexterm" name="id267 1730"></a>80 <a class="indexterm" name="id267 1737"></a>81 <a class="indexterm" name="id267 1744"></a>82 <a class="indexterm" name="id267 1750"></a>83 <a class="indexterm" name="id267 1757"></a>84 <a class="indexterm" name="id267 1764"></a>78 </p></div><div class="sect2" title="Rsync"><div class="titlepage"><div><div><h3 class="title"><a name="id2677778"></a>Rsync</h3></div></div></div><p> 79 <a class="indexterm" name="id2677785"></a> 80 <a class="indexterm" name="id2677792"></a> 81 <a class="indexterm" name="id2677799"></a> 82 <a class="indexterm" name="id2677805"></a> 83 <a class="indexterm" name="id2677812"></a> 84 <a class="indexterm" name="id2677819"></a> 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="id267 1803"></a>90 <a class="indexterm" name="id267 1810"></a>91 <a class="indexterm" name="id267 1817"></a>89 <a class="indexterm" name="id2677858"></a> 90 <a class="indexterm" name="id2677865"></a> 91 <a class="indexterm" name="id2677872"></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, 94 94 using an efficient checksum-search algorithm described in the 95 technical report that accompanies the rsync package.</p><p>Some of the additional features of rsync are:</p><div class="itemizedlist"><ul type="disc"><li><p>95 technical report that accompanies the rsync package.</p><p>Some of the additional features of rsync are:</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 96 96 Support for copying links, devices, owners, groups, and permissions. 97 </p></li><li ><p>97 </p></li><li class="listitem"><p> 98 98 Exclude and exclude-from options are similar to GNU tar. 99 </p></li><li ><p>99 </p></li><li class="listitem"><p> 100 100 A CVS exclude mode for ignoring the same files that CVS would ignore. 101 </p></li><li ><p>101 </p></li><li class="listitem"><p> 102 102 Can use any transparent remote shell, including rsh or ssh. 103 </p></li><li ><p>103 </p></li><li class="listitem"><p> 104 104 Does not require root privileges. 105 </p></li><li ><p>105 </p></li><li class="listitem"><p> 106 106 Pipelining of file transfers to minimize latency costs. 107 </p></li><li ><p>107 </p></li><li class="listitem"><p> 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="id2671892"></a>Amanda</h3></div></div></div><p>111 <a class="indexterm" name="id267 1900"></a>112 <a class="indexterm" name="id267 1907"></a>113 <a class="indexterm" name="id267 1913"></a>110 </p></li></ul></div></div><div class="sect2" title="Amanda"><div class="titlepage"><div><div><h3 class="title"><a name="id2677947"></a>Amanda</h3></div></div></div><p> 111 <a class="indexterm" name="id2677955"></a> 112 <a class="indexterm" name="id2677962"></a> 113 <a class="indexterm" name="id2677968"></a> 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="id2671940"></a>BOBS: Browseable Online Backup System</h3></div></div></div><p>123 <a class="indexterm" name="id267 1949"></a>122 </p></div><div class="sect2" title="BOBS: Browseable Online Backup System"><div class="titlepage"><div><div><h3 class="title"><a name="id2677995"></a>BOBS: Browseable Online Backup System</h3></div></div></div><p> 123 <a class="indexterm" name="id2678004"></a> 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.3.x/docs/htmldocs/Samba3-HOWTO/CUPS-printing.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 22. CUPS Printing Support</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="classicalprinting.html" title="Chapter 21. Classical Printing Support"><link rel="next" href="VFS.html" title="Chapter 23. Stackable VFS modules"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 22. CUPS Printing Support</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="classicalprinting.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="VFS.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="CUPS-printing"></a>Chapter 22. CUPS Printing Support</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Kurt</span> <span class="orgname">Danka Deutschland GmbH </span> <span class="surname">Pfeifle</span></h3><div class="affiliation"><span class="orgname">Danka Deutschland GmbH <br></span><div class="address"><p><code class="email"><<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#id2632968">Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2632974">Features and Benefits</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633034">Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2633153">Basic CUPS Support Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2633268">Linking smbd with libcups.so</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633517">Simple smb.conf Settings for CUPS</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633762">More Complex CUPS smb.conf Settings</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2634138">Advanced Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2634156">Central Spooling vs. Peer-to-Peer Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634206">Raw Print Serving: Vendor Drivers on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634441">Installation of Windows Client Drivers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#cups-raw">Explicitly Enable raw Printing for application/octet-stream</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634728">Driver Upload Methods</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2634850">Advanced Intelligent Printing with PostScript Driver Download</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#gdipost">GDI on Windows, PostScript on UNIX</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635042">Windows Drivers, GDI, and EMF</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635220">UNIX Printfile Conversion and GUI Basics</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#post-and-ghost">PostScript and Ghostscript</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635579">Ghostscript: The Software RIP for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635733">PostScript Printer Description (PPD) Specification</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635816">Using Windows-Formatted Vendor PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635936">CUPS Also Uses PPDs for Non-PostScript Printers</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2635975">The CUPS Filtering Architecture</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636640">MIME Type Conversion Rules</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636848">Filtering Overview</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637005">Prefilters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637193">pstops</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637361">pstoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637630">imagetops and imagetoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637715">rasterto [printers specific]</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637934">CUPS Backends</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638273">The Role of cupsomatic/foomatic</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638508">The Complete Picture</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638521">mime.convs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638590">Raw Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638698">application/octet-stream Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638977">PostScript Printer Descriptions for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639260">cupsomatic/foomatic-rip Versus Native CUPS Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639597">Examples for Filtering Chains</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640025">Sources of CUPS Drivers/PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640148">Printing with Interface Scripts</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640243">Network Printing (Purely Windows)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2640259">From Windows Clients to an NT Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640321">Driver Execution on the Client</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640393">Driver Execution on the Server</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640498">Network Printing (Windows Clients and UNIX/Samba Print2 Servers)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id264 0516">From Windows Clients to a CUPS/Samba Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640706">Samba Receiving Job-Files and Passing Them to CUPS</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640785">Network PostScript RIP</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2640876">PPDs for Non-PS Printers on UNIX</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640920">PPDs for Non-PS Printers on Windows</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640988">Windows Terminal Servers (WTS) as CUPS Clients</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2641003">Printer Drivers Running in Kernel ModeCause Many3 Problems</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id264 1041">Workarounds Impose Heavy Limitations</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641059">CUPS: A Magical Stone?</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641102">PostScript Drivers with No Major Problems, Even in Kernel4 Mode</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id264 1189">Configuring CUPS for Driver Download</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2641212">cupsaddsmb: The Unknown Utility</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641310">Prepare Your smb.conf for cupsaddsmb</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641591">CUPS PostScript Driver for Windows NT/200x/XP</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641830">Recognizing Different Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641949">Acquiring the Adobe Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641974">ESP Print Pro PostScript Driver for Windows NT/200x/XP</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642037">Caveats to Be Considered</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642336">Windows CUPS PostScript Driver Versus Adobe Driver</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642554">Run cupsaddsmb (Quiet Mode)</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642694">Run cupsaddsmb with Verbose Output</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642886">Understanding cupsaddsmb</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643030">How to Recognize If cupsaddsmb Completed Successfully</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643152">cupsaddsmb with a Samba PDC</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643233">cupsaddsmb Flowchart</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643314">Installing the PostScript Driver on a Client</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#cups-avoidps1">Avoiding Critical PostScript Driver Settings on the Client</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2643549">Installing PostScript Driver Files Manually Using rpcclient</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2643723">A Check of the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643895">Understanding the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644000">Producing an Example by Querying a Windows Box</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644132">Requirements for adddriver and setdriver to Succeed</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644357">Manual Driver Installation in 15 Steps</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645315">Troubleshooting Revisited</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2645458">The Printing *.tdb Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2645661">Trivial Database Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645729">Binary Format</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645795">Losing *.tdb Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645846">Using tdbbackup</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2645965">CUPS Print Drivers from Linuxprinting.org</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2646141">foomatic-rip and Foomatic Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2646962">foomatic-rip and Foomatic PPD Download and Installation</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2647435">Page Accounting with CUPS</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2647471">Setting Up Quotas</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647525">Correct and Incorrect Accounting</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647565">Adobe and CUPS PostScript Drivers for Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647706">The page_log File Syntax</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647851">Possible Shortcomings</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647917">Future Developments</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647957">Other Accounting Tools</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2647971">Additional Material</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2648188">Autodeletion or Preservation of CUPS Spool Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2648264">CUPS Configuration Settings Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648349">Preconditions</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648488">Manual Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2648535">Printing from CUPS to Windows-Attached Printers</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2648832">More CUPS Filtering Chains</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2648943">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2648949">Windows 9x/Me Client Can't Install Driver</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#root-ask-loop">cupsaddsmb Keeps Asking for Root Password in Never-ending Loop</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649025">cupsaddsmb or rpcclient addriver Emit Error</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649063">cupsaddsmb Errors</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649137">Client Can't Connect to Samba Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649162">New Account Reconnection from Windows 200x/XP Troubles</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649253">Avoid Being Connected to the Samba Server as the Wrong User</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649304">Upgrading to CUPS Drivers from Adobe Drivers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649342">Can't Use cupsaddsmb on Samba Server, Which Is a PDC</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649378">Deleted Windows 200x Printer Driver Is Still Shown</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649412">Windows 200x/XP Local Security Policies</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649445">Administrator Cannot Install Printers for All Local Users</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649486">Print Change, Notify Functions on NT Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649512">Windows XP SP1</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649558">Print Options for All Users Can't Be Set on Windows 200x/XP</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649842">Most Common Blunders in Driver Settings on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649897">cupsaddsmb Does Not Work with Newly Installed Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649947">Permissions on /var/spool/samba/ Get Reset After Each Reboot</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2650045">Print Queue Called lp Mishandles Print Jobs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2650114">Location of Adobe PostScript Driver Files for cupsaddsmb</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2650168">Overview of the CUPS Printing Processes</a></span></dt></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2632968"></a>Introduction</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2632974"></a>Features and Benefits</h3></div></div></div><p>5 <a class="indexterm" name="id263 2982"></a>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 22. CUPS Printing Support</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="classicalprinting.html" title="Chapter 21. Classical Printing Support"><link rel="next" href="VFS.html" title="Chapter 23. Stackable VFS modules"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 22. CUPS Printing Support</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="classicalprinting.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="VFS.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 22. CUPS Printing Support"><div class="titlepage"><div><div><h2 class="title"><a name="CUPS-printing"></a>Chapter 22. CUPS Printing Support</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Kurt</span> <span class="surname">Pfeifle</span></h3><div class="affiliation"><span class="orgname">Danka Deutschland GmbH <br></span><div class="address"><p><code class="email"><<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#id2639060">Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2639066">Features and Benefits</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639126">Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2639245">Basic CUPS Support Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2639361">Linking smbd with libcups.so</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639609">Simple <code class="filename">smb.conf</code> Settings for CUPS</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639853">More Complex CUPS <code class="filename">smb.conf</code> Settings</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640231">Advanced Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2640248">Central Spooling vs. <span class="quote">“<span class="quote">Peer-to-Peer</span>”</span> Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640299">Raw Print Serving: Vendor Drivers on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640534">Installation of Windows Client Drivers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#cups-raw">Explicitly Enable <span class="quote">“<span class="quote">raw</span>”</span> Printing for <span class="emphasis"><em>application/octet-stream</em></span></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640821">Driver Upload Methods</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640942">Advanced Intelligent Printing with PostScript Driver Download</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#gdipost">GDI on Windows, PostScript on UNIX</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641134">Windows Drivers, GDI, and EMF</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641313">UNIX Printfile Conversion and GUI Basics</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#post-and-ghost">PostScript and Ghostscript</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641672">Ghostscript: The Software RIP for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641826">PostScript Printer Description (PPD) Specification</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641909">Using Windows-Formatted Vendor PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642028">CUPS Also Uses PPDs for Non-PostScript Printers</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2642068">The CUPS Filtering Architecture</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642732">MIME Type Conversion Rules</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642940">Filtering Overview</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643098">Prefilters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643286">pstops</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643453">pstoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643723">imagetops and imagetoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643807">rasterto [printers specific]</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644027">CUPS Backends</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644365">The Role of <em class="parameter"><code>cupsomatic/foomatic</code></em></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644600">The Complete Picture</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644613"><code class="filename">mime.convs</code></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644682"><span class="quote">“<span class="quote">Raw</span>”</span> Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644790">application/octet-stream Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645069">PostScript Printer Descriptions for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645352"><span class="emphasis"><em>cupsomatic/foomatic-rip</em></span> Versus <span class="emphasis"><em>Native CUPS</em></span> Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645689">Examples for Filtering Chains</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2646117">Sources of CUPS Drivers/PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2646240">Printing with Interface Scripts</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2646335">Network Printing (Purely Windows)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2646352">From Windows Clients to an NT Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2646414">Driver Execution on the Client</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2646485">Driver Execution on the Server</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2646590">Network Printing (Windows Clients and UNIX/Samba Print 2 Servers)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2646608">From Windows Clients to a CUPS/Samba Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2646799">Samba Receiving Job-Files and Passing Them to CUPS</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2646878">Network PostScript RIP</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2646968">PPDs for Non-PS Printers on UNIX</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647013">PPDs for Non-PS Printers on Windows</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2647081">Windows Terminal Servers (WTS) as CUPS Clients</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2647095">Printer Drivers Running in <span class="quote">“<span class="quote">Kernel Mode</span>”</span> Cause Many 3 Problems</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647134">Workarounds Impose Heavy Limitations</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647151">CUPS: A <span class="quote">“<span class="quote">Magical Stone</span>”</span>?</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647194">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#id2647282">Configuring CUPS for Driver Download</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2647304"><span class="emphasis"><em>cupsaddsmb</em></span>: The Unknown Utility</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647402">Prepare Your <code class="filename">smb.conf</code> for <code class="literal">cupsaddsmb</code></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647683">CUPS <span class="quote">“<span class="quote">PostScript Driver for Windows NT/200x/XP</span>”</span></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647923">Recognizing Different Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648041">Acquiring the Adobe Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648067">ESP Print Pro PostScript Driver for Windows NT/200x/XP</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648129">Caveats to Be Considered</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648429">Windows CUPS PostScript Driver Versus Adobe Driver</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648647">Run cupsaddsmb (Quiet Mode)</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648787">Run cupsaddsmb with Verbose Output</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648978">Understanding cupsaddsmb</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649123">How to Recognize If cupsaddsmb Completed Successfully</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649245">cupsaddsmb with a Samba PDC</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649326">cupsaddsmb Flowchart</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649407">Installing the PostScript Driver on a Client</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#cups-avoidps1">Avoiding Critical PostScript Driver Settings on the Client</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2649642">Installing PostScript Driver Files Manually Using rpcclient</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2649816">A Check of the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649987">Understanding the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2650092">Producing an Example by Querying a Windows Box</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2650224">Requirements for adddriver and setdriver to Succeed</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2650449">Manual Driver Installation in 15 Steps</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2651408">Troubleshooting Revisited</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2651551">The Printing <code class="filename">*.tdb</code> Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2651754">Trivial Database Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2651821">Binary Format</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2651887">Losing <code class="filename">*.tdb</code> Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2651938">Using <code class="literal">tdbbackup</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2652058">CUPS Print Drivers from Linuxprinting.org</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2652233">foomatic-rip and Foomatic Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2653055">foomatic-rip and Foomatic PPD Download and Installation</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2653528">Page Accounting with CUPS</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2653563">Setting Up Quotas</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2653617">Correct and Incorrect Accounting</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2653658">Adobe and CUPS PostScript Drivers for Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2653798">The page_log File Syntax</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2653943">Possible Shortcomings</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2654009">Future Developments</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2654049">Other Accounting Tools</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2654063">Additional Material</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2654280">Autodeletion or Preservation of CUPS Spool Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2654356">CUPS Configuration Settings Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2654441">Preconditions</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2654580">Manual Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2654628">Printing from CUPS to Windows-Attached Printers</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2654924">More CUPS Filtering Chains</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2655035">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2655041">Windows 9x/Me Client Can't Install Driver</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#root-ask-loop"><span class="quote">“<span class="quote">cupsaddsmb</span>”</span> Keeps Asking for Root Password in Never-ending Loop</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655118"><span class="quote">“<span class="quote">cupsaddsmb</span>”</span> or <span class="quote">“<span class="quote">rpcclient addriver</span>”</span> Emit Error</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655156"><span class="quote">“<span class="quote">cupsaddsmb</span>”</span> Errors</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655230">Client Can't Connect to Samba Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655254">New Account Reconnection from Windows 200x/XP Troubles</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655345">Avoid Being Connected to the Samba Server as the Wrong User</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655397">Upgrading to CUPS Drivers from Adobe Drivers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655434">Can't Use <span class="quote">“<span class="quote">cupsaddsmb</span>”</span> on Samba Server, Which Is a PDC</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655470">Deleted Windows 200x Printer Driver Is Still Shown</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655505">Windows 200x/XP Local Security Policies</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655538">Administrator Cannot Install Printers for All Local Users</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655579">Print Change, Notify Functions on NT Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655604">Windows XP SP1</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655651">Print Options for All Users Can't Be Set on Windows 200x/XP</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655934">Most Common Blunders in Driver Settings on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655990"><code class="literal">cupsaddsmb</code> Does Not Work with Newly Installed Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2656039">Permissions on <code class="filename">/var/spool/samba/</code> Get Reset After Each Reboot</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2656138">Print Queue Called <span class="quote">“<span class="quote">lp</span>”</span> Mishandles Print Jobs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2656207">Location of Adobe PostScript Driver Files for <span class="quote">“<span class="quote">cupsaddsmb</span>”</span></a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2656260">Overview of the CUPS Printing Processes</a></span></dt></dl></div><div class="sect1" title="Introduction"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2639060"></a>Introduction</h2></div></div></div><div class="sect2" title="Features and Benefits"><div class="titlepage"><div><div><h3 class="title"><a name="id2639066"></a>Features and Benefits</h3></div></div></div><p> 5 <a class="indexterm" name="id2639074"></a> 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 8 8 system. To many, it is still a mystical tool. Mostly, it just works. People tend to regard 9 it as a “<span class="quote">black box</span>”that they do not want to look into as long as it works. But once9 it as a <span class="quote">“<span class="quote">black box</span>”</span> that they do not want to look into as long as it works. But once 10 10 there is a little problem, they have trouble finding out where to start debugging it. Refer to 11 11 <a class="link" href="classicalprinting.html" title="Chapter 21. Classical Printing Support">Classical Printing</a>, which contains much information 12 12 that is also relevant to CUPS. 13 13 </p><p> 14 <a class="indexterm" name="id263 3017"></a>14 <a class="indexterm" name="id2639109"></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="id2633034"></a>Overview</h3></div></div></div><p>21 <a class="indexterm" name="id263 3042"></a>22 <a class="indexterm" name="id263 3049"></a>23 <a class="indexterm" name="id263 3055"></a>24 <a class="indexterm" name="id263 3062"></a>25 <a class="indexterm" name="id263 3069"></a>26 <a class="indexterm" name="id263 3079"></a>27 <a class="indexterm" name="id263 3088"></a>28 <a class="indexterm" name="id263 3095"></a>20 </p></div><div class="sect2" title="Overview"><div class="titlepage"><div><div><h3 class="title"><a name="id2639126"></a>Overview</h3></div></div></div><p> 21 <a class="indexterm" name="id2639134"></a> 22 <a class="indexterm" name="id2639141"></a> 23 <a class="indexterm" name="id2639148"></a> 24 <a class="indexterm" name="id2639155"></a> 25 <a class="indexterm" name="id2639162"></a> 26 <a class="indexterm" name="id2639171"></a> 27 <a class="indexterm" name="id2639181"></a> 28 <a class="indexterm" name="id2639188"></a> 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="id263 3121"></a>37 <a class="indexterm" name="id263 3128"></a>36 <a class="indexterm" name="id2639213"></a> 37 <a class="indexterm" name="id2639220"></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="id2633153"></a>Basic CUPS Support Configuration</h2></div></div></div><p>44 <a class="indexterm" name="id263 3161"></a>45 <a class="indexterm" name="id263 3168"></a>46 <a class="indexterm" name="id263 3174"></a>47 <a class="indexterm" name="id263 3181"></a>48 <a class="indexterm" name="id263 3188"></a>43 </p></div></div><div class="sect1" title="Basic CUPS Support Configuration"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2639245"></a>Basic CUPS Support Configuration</h2></div></div></div><p> 44 <a class="indexterm" name="id2639253"></a> 45 <a class="indexterm" name="id2639260"></a> 46 <a class="indexterm" name="id2639267"></a> 47 <a class="indexterm" name="id2639274"></a> 48 <a class="indexterm" name="id2639280"></a> 49 49 Printing with CUPS in the most basic <code class="filename">smb.conf</code> setup in Samba-3.0 (as was true for 2.2.x) requires just two 50 50 parameters: <a class="link" href="smb.conf.5.html#PRINTING" 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 … … 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="id2633268"></a>Linking smbd with libcups.so</h3></div></div></div><p>59 <a class="indexterm" name="id263 3276"></a>58 </p><div class="sect2" title="Linking smbd with libcups.so"><div class="titlepage"><div><div><h3 class="title"><a name="id2639361"></a>Linking smbd with libcups.so</h3></div></div></div><p> 59 <a class="indexterm" name="id2639369"></a> 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="id263 3302"></a>67 <a class="indexterm" name="id263 3308"></a>66 <a class="indexterm" name="id2639394"></a> 67 <a class="indexterm" name="id2639400"></a> 68 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 … … 80 80 </pre><p> 81 81 </p><p> 82 <a class="indexterm" name="id263 3379"></a>82 <a class="indexterm" name="id2639471"></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 85 85 is set, then <span class="emphasis"><em>any otherwise manually set print command in <code class="filename">smb.conf</code> is ignored</em></span>. 86 86 This is an important point to remember! 87 </p><div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Tip</h3><p> Should it be necessary, for any reason, to set your own print commands, you can do this by setting87 </p><div class="tip" title="Tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Tip</h3><p> Should it be necessary, for any reason, to set your own print commands, you can do this by setting 88 88 <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 … … 96 96 <a class="link" href="smb.conf.5.html#QUEUEPAUSECOMMAND" target="_top">queuepause command</a> and 97 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="id2633517"></a>Simple <code class="filename">smb.conf</code> Settings for CUPS</h3></div></div></div><p>98 </p></div></div><div class="sect2" title="Simple smb.conf Settings for CUPS"><div class="titlepage"><div><div><h3 class="title"><a name="id2639609"></a>Simple <code class="filename">smb.conf</code> Settings for CUPS</h3></div></div></div><p> 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="id2633577"></a><em class="parameter"><code>load printers = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2633589"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2633600"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[printers]</code></em></td></tr><tr><td><a class="indexterm" name="id2633621"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2633633"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2633644"></a><em class="parameter"><code>browseable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2633656"></a><em class="parameter"><code>guest ok = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2633668"></a><em class="parameter"><code>writable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2633679"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2633691"></a><em class="parameter"><code>printer admin = root, @ntadmins, @smbprintadm</code></em></td></tr></table></div></div><br class="example-break"><p>103 <a class="indexterm" name="id263 3706"></a>104 <a class="indexterm" name="id263 3713"></a>105 <a class="indexterm" name="id263 3720"></a>102 </p><div class="example"><a name="cups-exam-simple"></a><p class="title"><b>Example 22.1. Simplest Printing-Related smb.conf</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2639670"></a><em class="parameter"><code>load printers = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2639681"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2639692"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[printers]</code></em></td></tr><tr><td><a class="indexterm" name="id2639713"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2639725"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2639737"></a><em class="parameter"><code>browseable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2639748"></a><em class="parameter"><code>guest ok = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2639760"></a><em class="parameter"><code>writable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2639772"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2639783"></a><em class="parameter"><code>printer admin = root, @ntadmins, @smbprintadm</code></em></td></tr></table></div></div><br class="example-break"><p> 103 <a class="indexterm" name="id2639799"></a> 104 <a class="indexterm" name="id2639805"></a> 105 <a class="indexterm" name="id2639812"></a> 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 … … 109 109 installed, and the GUI application's print buttons start a printer driver. Your users also rarely send files 110 110 from the command line. Unlike UNIX clients, they rarely submit graphic, text, or PDF formatted files directly 111 to the spooler. They nearly exclusively print from GUI applications with a “<span class="quote">printer driver</span>”111 to the spooler. They nearly exclusively print from GUI applications with a <span class="quote">“<span class="quote">printer driver</span>”</span> 112 112 hooked between the application's native format and the print data stream. If the backend printer is not a 113 PostScript device, the print data stream is “<span class="quote">binary,</span>”sensible only for the target printer. Read113 PostScript device, the print data stream is <span class="quote">“<span class="quote">binary,</span>”</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="id2633762"></a>More Complex CUPS <code class="filename">smb.conf</code> Settings</h3></div></div></div><p>115 </p></div><div class="sect2" title="More Complex CUPS smb.conf Settings"><div class="titlepage"><div><div><h3 class="title"><a name="id2639853"></a>More Complex CUPS <code class="filename">smb.conf</code> Settings</h3></div></div></div><p> 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="id2633819"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2633830"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2633842"></a><em class="parameter"><code>load printers = yes</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[printers]</code></em></td></tr><tr><td><a class="indexterm" name="id2633863"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2633874"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2633885"></a><em class="parameter"><code>guest ok = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2633897"></a><em class="parameter"><code>writable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2633908"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2633920"></a><em class="parameter"><code>printer admin = root, @ntadmins, @smbprintadm</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[special_printer]</code></em></td></tr><tr><td><a class="indexterm" name="id2633941"></a><em class="parameter"><code>comment = A special printer with his own settings</code></em></td></tr><tr><td><a class="indexterm" name="id2633954"></a><em class="parameter"><code>path = /var/spool/samba-special</code></em></td></tr><tr><td><a class="indexterm" name="id2633965"></a><em class="parameter"><code>printing = sysv</code></em></td></tr><tr><td><a class="indexterm" name="id2633977"></a><em class="parameter"><code>printcap = lpstat</code></em></td></tr><tr><td><a class="indexterm" name="id2633989"></a><em class="parameter"><code>print command = echo "NEW: `date`: printfile %f" >> /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="id2634005"></a><em class="parameter"><code>guest ok = no</code></em></td></tr><tr><td><a class="indexterm" name="id2634017"></a><em class="parameter"><code>writable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2634028"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2634040"></a><em class="parameter"><code>printer admin = kurt</code></em></td></tr><tr><td><a class="indexterm" name="id2634052"></a><em class="parameter"><code>hosts deny = 0.0.0.0</code></em></td></tr><tr><td><a class="indexterm" name="id2634064"></a><em class="parameter"><code>hosts allow = turbo_xp, 10.160.50.23, 10.160.51.60</code></em></td></tr></table></div></div><br class="example-break"><p>119 </p><div class="example"><a name="overridesettings"></a><p class="title"><b>Example 22.2. Overriding Global CUPS Settings for One Printer</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2639910"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2639922"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2639934"></a><em class="parameter"><code>load printers = yes</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[printers]</code></em></td></tr><tr><td><a class="indexterm" name="id2639954"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2639966"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2639978"></a><em class="parameter"><code>guest ok = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2639989"></a><em class="parameter"><code>writable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2640001"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2640012"></a><em class="parameter"><code>printer admin = root, @ntadmins, @smbprintadm</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[special_printer]</code></em></td></tr><tr><td><a class="indexterm" name="id2640034"></a><em class="parameter"><code>comment = A special printer with his own settings</code></em></td></tr><tr><td><a class="indexterm" name="id2640046"></a><em class="parameter"><code>path = /var/spool/samba-special</code></em></td></tr><tr><td><a class="indexterm" name="id2640058"></a><em class="parameter"><code>printing = sysv</code></em></td></tr><tr><td><a class="indexterm" name="id2640069"></a><em class="parameter"><code>printcap = lpstat</code></em></td></tr><tr><td><a class="indexterm" name="id2640081"></a><em class="parameter"><code>print command = echo "NEW: `date`: printfile %f" >> /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="id2640098"></a><em class="parameter"><code>guest ok = no</code></em></td></tr><tr><td><a class="indexterm" name="id2640109"></a><em class="parameter"><code>writable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2640121"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2640132"></a><em class="parameter"><code>printer admin = kurt</code></em></td></tr><tr><td><a class="indexterm" name="id2640144"></a><em class="parameter"><code>hosts deny = 0.0.0.0</code></em></td></tr><tr><td><a class="indexterm" name="id2640156"></a><em class="parameter"><code>hosts allow = turbo_xp, 10.160.50.23, 10.160.51.60</code></em></td></tr></table></div></div><br class="example-break"><p> 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" target="_top">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">“<span class="quote">kurt</span>”</span> (not the <span class="quote">“<span class="quote">@ntadmins</span>”</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 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="id2634138"></a>Advanced Configuration</h2></div></div></div><p>126 </p></div></div><div class="sect1" title="Advanced Configuration"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2640231"></a>Advanced Configuration</h2></div></div></div><p> 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="id2634156"></a>Central Spooling vs. “<span class="quote">Peer-to-Peer</span>”Printing</h3></div></div></div><p>131 <a class="indexterm" name="id26 34167"></a>132 <a class="indexterm" name="id26 34174"></a>133 <a class="indexterm" name="id26 34183"></a>130 </p><div class="sect2" title="Central Spooling vs. “Peer-to-Peer” Printing"><div class="titlepage"><div><div><h3 class="title"><a name="id2640248"></a>Central Spooling vs. <span class="quote">“<span class="quote">Peer-to-Peer</span>”</span> Printing</h3></div></div></div><p> 131 <a class="indexterm" name="id2640260"></a> 132 <a class="indexterm" name="id2640266"></a> 133 <a class="indexterm" name="id2640275"></a> 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="id2634206"></a>Raw Print Serving: Vendor Drivers on Windows Clients</h3></div></div></div><p>142 <a class="indexterm" name="id26 34215"></a>143 <a class="indexterm" name="id26 34221"></a>141 </p></div><div class="sect2" title="Raw Print Serving: Vendor Drivers on Windows Clients"><div class="titlepage"><div><div><h3 class="title"><a name="id2640299"></a>Raw Print Serving: Vendor Drivers on Windows Clients</h3></div></div></div><p> 142 <a class="indexterm" name="id2640307"></a> 143 <a class="indexterm" name="id2640313"></a> 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 146 task was to manage the “<span class="quote">raw</span>”spooling of all jobs handed to them by146 task was to manage the <span class="quote">“<span class="quote">raw</span>”</span> spooling of all jobs handed to them by 147 147 Samba. This approach meant that the Windows clients were expected to 148 148 prepare the print job file that is ready to be sent to the printing … … 150 150 be installed on each and every client for the target device. 151 151 </p><p> 152 <a class="indexterm" name="id26 34243"></a>153 <a class="indexterm" name="id26 34250"></a>152 <a class="indexterm" name="id2640335"></a> 153 <a class="indexterm" name="id2640342"></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="id2634274"></a><p class="title"><b>Procedure 22.1. Configuration Steps for Raw CUPS Printing Support</b></p><ol type="1"><li><p>168 <a class="indexterm" name="id26 34286"></a>167 </p><div class="procedure" title="Procedure 22.1. Configuration Steps for Raw CUPS Printing Support"><a name="id2640366"></a><p class="title"><b>Procedure 22.1. Configuration Steps for Raw CUPS Printing Support</b></p><ol class="procedure" type="1"><li class="step" title="Step 1"><p> 168 <a class="indexterm" name="id2640378"></a> 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: … … 172 172 #application/octet-... 173 173 </pre><p> 174 </p></li><li ><p>175 <a class="indexterm" name="id26 34313"></a>174 </p></li><li class="step" title="Step 2"><p> 175 <a class="indexterm" name="id2640405"></a> 176 176 Do the same for the file <code class="filename">/etc/cups/mime.convs</code>. 177 </p></li><li ><p>177 </p></li><li class="step" title="Step 3"><p> 178 178 Add a raw printer using the Web interface. Point your browser at 179 179 <code class="constant">http://localhost:631</code>. Enter Administration, and add 180 180 the printer following the prompts. Do not install any drivers for it. 181 181 Choose Raw. Choose queue name <code class="constant">Raw Queue</code>. 182 </p></li><li ><p>182 </p></li><li class="step" title="Step 4"><p> 183 183 In the <code class="filename">smb.conf</code> file <code class="constant">[printers]</code> section add 184 184 <a class="link" href="smb.conf.5.html#USECLIENTDRIVER" target="_top">use client driver = Yes</a>, … … 186 186 <a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = CUPS</a>, plus 187 187 <a class="link" href="smb.conf.5.html#PRINTCAP" target="_top">printcap = CUPS</a>. 188 </p></li><li ><p>188 </p></li><li class="step" title="Step 5"><p> 189 189 Install the printer as if it is a local printer, that is, Printing to <code class="constant">LPT1:</code>. 190 </p></li><li ><p>190 </p></li><li class="step" title="Step 6"><p> 191 191 Edit the configuration under the <span class="guimenu">Detail</span> tab and create a 192 192 <code class="constant">local port</code> that points to the raw printer queue that … … 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="id2634441"></a>Installation of Windows Client Drivers</h3></div></div></div><p>196 </p></li></ol></div></div><div class="sect2" title="Installation of Windows Client Drivers"><div class="titlepage"><div><div><h3 class="title"><a name="id2640534"></a>Installation of Windows Client Drivers</h3></div></div></div><p> 197 197 The printer drivers on the Windows clients may be installed 198 198 in two functionally different ways: 199 </p><div class="itemizedlist"><ul type="disc"><li><p>Manually install the drivers locally on each client,199 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Manually install the drivers locally on each client, 200 200 one by one; this yields the old LanMan style 201 201 printing and uses a <code class="filename">\\sambaserver\printershare</code> 202 type of connection.</p></li><li ><p>203 <a class="indexterm" name="id26 34471"></a>202 type of connection.</p></li><li class="listitem"><p> 203 <a class="indexterm" name="id2640563"></a> 204 204 Deposit and prepare the drivers (for later download) on 205 205 the print server (Samba); this enables the clients to use 206 “<span class="quote">Point'n'Print</span>”to get drivers semi-automatically installed the206 <span class="quote">“<span class="quote">Point'n'Print</span>”</span> to get drivers semi-automatically installed the 207 207 first time they access the printer; with this method NT/200x/XP 208 208 clients use the <span class="emphasis"><em>SPOOLSS/MS-RPC</em></span> … … 211 211 administrative efforts and prevents that different versions of the drivers 212 212 are used accidentally. 213 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="cups-raw"></a>Explicitly Enable “<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 34517"></a>215 <a class="indexterm" name="id26 34524"></a>216 <a class="indexterm" name="id26 34531"></a>213 </p></div><div class="sect2" title="Explicitly Enable “raw” Printing for application/octet-stream"><div class="titlepage"><div><div><h3 class="title"><a name="cups-raw"></a>Explicitly Enable <span class="quote">“<span class="quote">raw</span>”</span> Printing for <span class="emphasis"><em>application/octet-stream</em></span></h3></div></div></div><p> 214 <a class="indexterm" name="id2640610"></a> 215 <a class="indexterm" name="id2640616"></a> 216 <a class="indexterm" name="id2640623"></a> 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 219 that it should allow “<span class="quote">raw</span>”printing of deliberate (binary) file219 that it should allow <span class="quote">“<span class="quote">raw</span>”</span> printing of deliberate (binary) file 220 220 formats. The CUPS files that need to be correctly set for raw mode 221 221 printers to work are: 222 </p><div class="itemizedlist"><ul type="disc"><li><p><code class="filename">/etc/cups/mime.types</code></p></li><li><p><code class="filename">/etc/cups/mime.convs</code></p></li></ul></div><p>222 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p><code class="filename">/etc/cups/mime.types</code></p></li><li class="listitem"><p><code class="filename">/etc/cups/mime.convs</code></p></li></ul></div><p> 223 223 Both contain entries (at the end of the respective files) that must be uncommented to allow RAW mode 224 224 operation. In <code class="filename">/etc/cups/mime.types</code>, make sure this line is present: … … 226 226 application/octet-stream 227 227 </pre><p> 228 <a class="indexterm" name="id26 34586"></a>229 <a class="indexterm" name="id26 34593"></a>228 <a class="indexterm" name="id2640678"></a> 229 <a class="indexterm" name="id2640685"></a> 230 230 In <code class="filename">/etc/cups/mime.convs</code>, have this line: 231 <a class="indexterm" name="id26 34606"></a>231 <a class="indexterm" name="id2640699"></a> 232 232 </p><pre class="programlisting"> 233 233 application/octet-stream application/vnd.cups-raw 0 - … … 236 236 printing, you may encounter the dreaded <code class="computeroutput">Unable to 237 237 convert file 0</code> in your CUPS <code class="filename">error_log</code> file. 238 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>238 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 239 239 Editing the <code class="filename">mime.convs</code> and the <code class="filename">mime.types</code> file does 240 not <span class="emphasis"><em>enforce</em></span> “<span class="quote">raw</span>”printing, it only <span class="emphasis"><em>allows</em></span> it.241 </p></div><p ><b>Background. </b>242 <a class="indexterm" name="id26 34670"></a>243 <a class="indexterm" name="id26 34677"></a>240 not <span class="emphasis"><em>enforce</em></span> <span class="quote">“<span class="quote">raw</span>”</span> printing, it only <span class="emphasis"><em>allows</em></span> it. 241 </p></div><p title="Background"><b>Background. </b> 242 <a class="indexterm" name="id2640762"></a> 243 <a class="indexterm" name="id2640770"></a> 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 246 “<span class="quote">Denial of Service</span>”attack on your printer(s), causing at least the loss of a lot of paper and247 ink. “<span class="quote">Unknown</span>”data are tagged by CUPS as <em class="parameter"><code>MIME type: application/octet-stream</code></em>248 and not allowed to go to the printer. By default, you can only send other (known) MIME types “<span class="quote">raw.</span>”249 Sending data “<span class="quote">raw</span>”means that CUPS does not try to convert them and passes them to the printer246 <span class="quote">“<span class="quote">Denial of Service</span>”</span> attack on your printer(s), causing at least the loss of a lot of paper and 247 ink. <span class="quote">“<span class="quote">Unknown</span>”</span> data are tagged by CUPS as <em class="parameter"><code>MIME type: application/octet-stream</code></em> 248 and not allowed to go to the printer. By default, you can only send other (known) MIME types <span class="quote">“<span class="quote">raw.</span>”</span> 249 Sending data <span class="quote">“<span class="quote">raw</span>”</span> means that CUPS does not try to convert them and passes them to the printer 250 250 untouched. 251 251 </p><p> 252 252 This is all you need to know to get the CUPS/Samba combo printing 253 “<span class="quote">raw</span>”files prepared by Windows clients, which have vendor drivers253 <span class="quote">“<span class="quote">raw</span>”</span> files prepared by Windows clients, which have vendor drivers 254 254 locally installed. If you are not interested in background information about 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="id2634728"></a>Driver Upload Methods</h3></div></div></div><p>257 </p></div><div class="sect2" title="Driver Upload Methods"><div class="titlepage"><div><div><h3 class="title"><a name="id2640821"></a>Driver Upload Methods</h3></div></div></div><p> 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 34742"></a>261 <a class="indexterm" name="id2640834"></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> 264 264 share). For a discussion on how to deposit printer drivers on the 265 265 Samba host (so the Windows clients can download and use them via 266 “<span class="quote">Point'n'Print</span>”), please refer to the <a class="link" href="classicalprinting.html" title="Chapter 21. Classical Printing Support">Classical Printing266 <span class="quote">“<span class="quote">Point'n'Print</span>”</span>), please refer to the <a class="link" href="classicalprinting.html" title="Chapter 21. Classical Printing Support">Classical Printing 267 267 chapter</a> of this book. There you will find a description or reference to 268 268 three methods of preparing the client drivers on the Samba server: 269 </p><div class="itemizedlist"><ul type="disc"><li><p>270 <a class="indexterm" name="id26 34779"></a>271 The GUI, “<span class="quote">Add Printer Wizard</span>”<span class="emphasis"><em>upload-from-a-Windows-client</em></span> method.272 </p></li><li ><p>273 The command line, “<span class="quote">smbclient/rpcclient</span>”upload-from-a-UNIX-workstation method.274 </p></li><li ><p>275 <a class="indexterm" name="id26 34807"></a>269 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 270 <a class="indexterm" name="id2640871"></a> 271 The GUI, <span class="quote">“<span class="quote">Add Printer Wizard</span>”</span> <span class="emphasis"><em>upload-from-a-Windows-client</em></span> method. 272 </p></li><li class="listitem"><p> 273 The command line, <span class="quote">“<span class="quote">smbclient/rpcclient</span>”</span> upload-from-a-UNIX-workstation method. 274 </p></li><li class="listitem"><p> 275 <a class="indexterm" name="id2640900"></a> 276 276 The Imprints tool set method. 277 277 </p></li></ul></div><p> 278 <a class="indexterm" name="id26 34819"></a>278 <a class="indexterm" name="id2640911"></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="id2634850"></a>Advanced Intelligent Printing with PostScript Driver Download</h2></div></div></div><p>285 <a class="indexterm" name="id26 34858"></a>286 We now know how to set up a “<span class="quote">dump</span>”print server, that is, a server that spools287 print jobs “<span class="quote">raw</span>”, leaving the print data untouched.284 </p></div></div><div class="sect1" title="Advanced Intelligent Printing with PostScript Driver Download"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2640942"></a>Advanced Intelligent Printing with PostScript Driver Download</h2></div></div></div><p> 285 <a class="indexterm" name="id2640951"></a> 286 We now know how to set up a <span class="quote">“<span class="quote">dump</span>”</span> print server, that is, a server that spools 287 print jobs <span class="quote">“<span class="quote">raw</span>”</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 34882"></a><a class="indexterm" name="id2634889"></a><a class="indexterm" name="id2634896"></a><div class="itemizedlist"><ul type="disc"><li><p>Maybe your boss wants to get monthly statistics: Which290 </p><a class="indexterm" name="id2640975"></a><a class="indexterm" name="id2640982"></a><a class="indexterm" name="id2640989"></a><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Maybe your boss wants to get monthly statistics: Which 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 293 peaks in printing? Which department prints how much?</p></li><li ><p>Maybe you are asked to set up a print quota system:293 peaks in printing? Which department prints how much?</p></li><li class="listitem"><p>Maybe you are asked to set up a print quota system: 294 294 Users should not be able to print more jobs once they have surpassed 295 a given limit per period.</p></li><li ><p>Maybe your previous network printing setup is a mess296 and must be re-organized from a clean beginning.</p></li><li ><p>Maybe you are experiencing too many “<span class="quote">blue screens</span>”297 originating from poorly debugged printer drivers running in NT “<span class="quote">kernel mode</span>”?</p></li></ul></div><p>295 a given limit per period.</p></li><li class="listitem"><p>Maybe your previous network printing setup is a mess 296 and must be re-organized from a clean beginning.</p></li><li class="listitem"><p>Maybe you are experiencing too many <span class="quote">“<span class="quote">blue screens</span>”</span> 297 originating from poorly debugged printer drivers running in NT <span class="quote">“<span class="quote">kernel mode</span>”</span>?</p></li></ul></div><p> 298 298 These goals cannot be achieved by a raw print server. To build a 299 299 server meeting these requirements, you'll first need to learn … … 303 303 Windows and UNIX printing, then a description of the 304 304 CUPS filtering system, how it works, and how you can tweak it. 305 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="gdipost"></a>GDI on Windows, PostScript on UNIX</h3></div></div></div><p>306 <a class="indexterm" name="id26 34965"></a>307 <a class="indexterm" name="id26 34972"></a>305 </p><div class="sect2" title="GDI on Windows, PostScript on UNIX"><div class="titlepage"><div><div><h3 class="title"><a name="gdipost"></a>GDI on Windows, PostScript on UNIX</h3></div></div></div><p> 306 <a class="indexterm" name="id2641058"></a> 307 <a class="indexterm" name="id2641064"></a> 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 34985"></a>313 <a class="indexterm" name="id26 34992"></a>314 <a class="indexterm" name="id26 34999"></a>315 <a class="indexterm" name="id26 35006"></a>316 <a class="indexterm" name="id26 35013"></a>312 <a class="indexterm" name="id2641078"></a> 313 <a class="indexterm" name="id2641085"></a> 314 <a class="indexterm" name="id2641092"></a> 315 <a class="indexterm" name="id2641098"></a> 316 <a class="indexterm" name="id2641105"></a> 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 319 319 manufacturers and printer types. While PostScript (trademark held by Adobe) and, to an extent, PCL (trademark 320 held by Hewlett-Packard) have developed into semi-official “<span class="quote">standards</span>”by being the most widely321 used page description languages (PDLs), there are still many manufacturers who “<span class="quote">roll their own</span>”320 held by Hewlett-Packard) have developed into semi-official <span class="quote">“<span class="quote">standards</span>”</span> by being the most widely 321 used page description languages (PDLs), there are still many manufacturers who <span class="quote">“<span class="quote">roll their own</span>”</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="id2635042"></a>Windows Drivers, GDI, and EMF</h3></div></div></div><p>324 <a class="indexterm" name="id26 35050"></a>325 <a class="indexterm" name="id26 35056"></a>326 <a class="indexterm" name="id26 35063"></a>327 <a class="indexterm" name="id26 35070"></a>323 </p></div><div class="sect2" title="Windows Drivers, GDI, and EMF"><div class="titlepage"><div><div><h3 class="title"><a name="id2641134"></a>Windows Drivers, GDI, and EMF</h3></div></div></div><p> 324 <a class="indexterm" name="id2641142"></a> 325 <a class="indexterm" name="id2641149"></a> 326 <a class="indexterm" name="id2641156"></a> 327 <a class="indexterm" name="id2641162"></a> 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 … … 335 335 the GDI, often produces a file format called Enhanced MetaFile (EMF). The EMF is processed by the printer 336 336 driver and converted to the printer-specific file format. 337 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>338 <a class="indexterm" name="id26 35105"></a>339 <a class="indexterm" name="id26 35112"></a>340 <a class="indexterm" name="id26 35119"></a>337 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 338 <a class="indexterm" name="id2641198"></a> 339 <a class="indexterm" name="id2641204"></a> 340 <a class="indexterm" name="id2641211"></a> 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 35129"></a> <a class="indexterm" name="id2635136"></a>343 <a class="indexterm" name="id26 35143"></a> <a class="indexterm" name="id2635149"></a> systems.342 for its (BSD-UNIX-based, did you know?) Mac OS X and Darwin operating <a class="indexterm" name="id2641221"></a> <a class="indexterm" name="id2641228"></a> 343 <a class="indexterm" name="id2641235"></a> <a class="indexterm" name="id2641242"></a> systems. 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="id2635220"></a>UNIX Printfile Conversion and GUI Basics</h3></div></div></div><p>349 <a class="indexterm" name="id26 35229"></a>350 <a class="indexterm" name="id26 35236"></a>351 <a class="indexterm" name="id26 35242"></a>352 <a class="indexterm" name="id26 35249"></a>348 </p><div class="figure"><a name="1small"></a><p class="title"><b>Figure 22.1. Windows Printing to a Local Printer.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/1small.png" alt="Windows Printing to a Local Printer."></div></div></div><br class="figure-break"></div><div class="sect2" title="UNIX Printfile Conversion and GUI Basics"><div class="titlepage"><div><div><h3 class="title"><a name="id2641313"></a>UNIX Printfile Conversion and GUI Basics</h3></div></div></div><p> 349 <a class="indexterm" name="id2641321"></a> 350 <a class="indexterm" name="id2641328"></a> 351 <a class="indexterm" name="id2641335"></a> 352 <a class="indexterm" name="id2641341"></a> 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 … … 357 357 displayed on screen and how it is presented on paper. WYSIWYG is more difficult to achieve. This goes back to 358 358 the time, decades ago, when the predecessors of X.org, designing the UNIX foundations and protocols for 359 graphical user interfaces, refused to take responsibility for “<span class="quote">paper output</span>”, as some had360 demanded at the time, and restricted itself to “<span class="quote">on-screen only.</span>”(For some years now, the361 “<span class="quote">Xprint</span>”project has been under development, attempting to build printing support into the X359 graphical user interfaces, refused to take responsibility for <span class="quote">“<span class="quote">paper output</span>”</span>, as some had 360 demanded at the time, and restricted itself to <span class="quote">“<span class="quote">on-screen only.</span>”</span> (For some years now, the 361 <span class="quote">“<span class="quote">Xprint</span>”</span> project has been under development, attempting to build printing support into the X 362 362 framework, including a PostScript and a PCL driver, but it is not yet ready for prime time.) You can see this 363 unfavorable inheritance up to the present day by looking into the various “<span class="quote">font</span>”directories on363 unfavorable inheritance up to the present day by looking into the various <span class="quote">“<span class="quote">font</span>”</span> directories on 364 364 your system; there are separate ones for fonts used for X display and fonts to be used on paper. 365 </p><p ><b>Background. </b>366 <a class="indexterm" name="id26 35299"></a>367 <a class="indexterm" name="id26 35306"></a>368 <a class="indexterm" name="id26 35313"></a>369 <a class="indexterm" name="id26 35319"></a>370 <a class="indexterm" name="id26 35326"></a>371 <a class="indexterm" name="id26 35333"></a>372 <a class="indexterm" name="id26 35340"></a>373 <a class="indexterm" name="id26 35347"></a>374 <a class="indexterm" name="id26 35354"></a>375 <a class="indexterm" name="id26 35360"></a>376 The PostScript programming language is an “<span class="quote">invention</span>”by Adobe, but its specifications have been365 </p><p title="Background"><b>Background. </b> 366 <a class="indexterm" name="id2641391"></a> 367 <a class="indexterm" name="id2641398"></a> 368 <a class="indexterm" name="id2641405"></a> 369 <a class="indexterm" name="id2641412"></a> 370 <a class="indexterm" name="id2641419"></a> 371 <a class="indexterm" name="id2641425"></a> 372 <a class="indexterm" name="id2641432"></a> 373 <a class="indexterm" name="id2641439"></a> 374 <a class="indexterm" name="id2641446"></a> 375 <a class="indexterm" name="id2641453"></a> 376 The PostScript programming language is an <span class="quote">“<span class="quote">invention</span>”</span> by Adobe, but its specifications have been 377 377 published extensively. Its strength lies in its powerful abilities to describe graphical objects (fonts, 378 378 shapes, patterns, lines, curves, and dots), their attributes (color, linewidth), and the way to manipulate 379 379 (scale, distort, rotate, shift) them. Because of its open specification, anybody with the skill can start 380 380 writing his or her own implementation of a PostScript interpreter and use it to display PostScript files on 381 screen or on paper. Most graphical output devices are based on the concept of “<span class="quote">raster images</span>”or382 “<span class="quote">pixels</span>”(one notable exception is pen plotters). Of course, you can look at a PostScript file in381 screen or on paper. Most graphical output devices are based on the concept of <span class="quote">“<span class="quote">raster images</span>”</span> or 382 <span class="quote">“<span class="quote">pixels</span>”</span> (one notable exception is pen plotters). Of course, you can look at a PostScript file in 383 383 its textual form and you will be reading its PostScript code, the language instructions that need to be 384 384 interpreted by a rasterizer. Rasterizers produce pixel images, which may be displayed on screen by a viewer 385 385 program or on paper by a printer. 386 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="post-and-ghost"></a>PostScript and Ghostscript</h3></div></div></div><p>387 <a class="indexterm" name="id26 35410"></a>388 <a class="indexterm" name="id26 35417"></a>389 <a class="indexterm" name="id26 35426"></a>390 <a class="indexterm" name="id26 35435"></a>391 <a class="indexterm" name="id26 35442"></a>386 </p></div><div class="sect2" title="PostScript and Ghostscript"><div class="titlepage"><div><div><h3 class="title"><a name="post-and-ghost"></a>PostScript and Ghostscript</h3></div></div></div><p> 387 <a class="indexterm" name="id2641503"></a> 388 <a class="indexterm" name="id2641509"></a> 389 <a class="indexterm" name="id2641519"></a> 390 <a class="indexterm" name="id2641528"></a> 391 <a class="indexterm" name="id2641535"></a> 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 394 that these devices have a built-in PostScript language “<span class="quote">interpreter,</span>”also called a raster image394 that these devices have a built-in PostScript language <span class="quote">“<span class="quote">interpreter,</span>”</span> also called a raster image 395 395 processor (RIP), (which makes them more expensive than other types of printers; throw PostScript toward them, 396 396 and they will spit out your printed pages. The RIP does all the hard work of converting the PostScript drawing 397 397 commands into a bitmap picture as you see it on paper, in a resolution as done by your printer. This is no 398 398 different than PostScript printing a file from a Windows origin. 399 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>400 <a class="indexterm" name="id26 35471"></a>401 <a class="indexterm" name="id26 35478"></a>402 <a class="indexterm" name="id26 35485"></a>399 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 400 <a class="indexterm" name="id2641564"></a> 401 <a class="indexterm" name="id2641570"></a> 402 <a class="indexterm" name="id2641577"></a> 403 403 Traditional UNIX programs and printing systems while using PostScript are largely not 404 PPD-aware. PPDs are “<span class="quote">PostScript Printer Description</span>”files. They enable you to specify and404 PPD-aware. PPDs are <span class="quote">“<span class="quote">PostScript Printer Description</span>”</span> files. They enable you to specify and 405 405 control all options a printer supports: duplexing, stapling, and punching. Therefore, UNIX users for a long 406 406 time couldn't choose many of the supported device and job options, unlike Windows or Apple users. But now 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 35563"></a>409 <a class="indexterm" name="id2641656"></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="id2635579"></a>Ghostscript: The Software RIP for Non-PostScript Printers</h3></div></div></div><p>415 <a class="indexterm" name="id26 35588"></a>414 </p></div><div class="sect2" title="Ghostscript: The Software RIP for Non-PostScript Printers"><div class="titlepage"><div><div><h3 class="title"><a name="id2641672"></a>Ghostscript: The Software RIP for Non-PostScript Printers</h3></div></div></div><p> 415 <a class="indexterm" name="id2641680"></a> 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 … … 419 419 technology and drivers are what enable PostScript printing to non-PostScript hardware. This is shown in 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 </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 35659"></a>423 <a class="indexterm" name="id26 35665"></a>424 <a class="indexterm" name="id26 35672"></a>425 Use the “<span class="quote">gs -h</span>” command to check for all built-in “<span class="quote">devices</span>”on your Ghostscript421 </p><div class="figure"><a name="3small"></a><p class="title"><b>Figure 22.3. Ghostscript as a RIP for Non-PostScript Printers.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/3small.png" alt="Ghostscript as a RIP for Non-PostScript Printers."></div></div></div><br class="figure-break"><div class="tip" title="Tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Tip</h3><p> 422 <a class="indexterm" name="id2641751"></a> 423 <a class="indexterm" name="id2641758"></a> 424 <a class="indexterm" name="id2641764"></a> 425 Use the <span class="quote">“<span class="quote">gs -h</span>”</span> command to check for all built-in <span class="quote">“<span class="quote">devices</span>”</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 427 line, you are asking Ghostscript to convert the input into a PNG file. Naming a “<span class="quote">device</span>”on the427 line, you are asking Ghostscript to convert the input into a PNG file. Naming a <span class="quote">“<span class="quote">device</span>”</span> on the 428 428 command line is the most important single parameter to tell Ghostscript exactly how it should render the 429 429 input. New Ghostscript versions are released at fairly regular intervals, now by artofcode LLC. They are 430 initially put under the “<span class="quote">AFPL</span>”license, but re-released under the GNU GPL as soon as the next430 initially put under the <span class="quote">“<span class="quote">AFPL</span>”</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 35710"></a> Therefore, ESP Ghostscript was developed as an enhancement over GNU Ghostscript,432 deficiencies. <a class="indexterm" name="id2641803"></a> Therefore, ESP Ghostscript was developed as an enhancement over GNU Ghostscript, 433 433 with lots of bug-fixes, additional devices, and improvements. It is jointly maintained by developers from 434 CUPS, Gutenprint, MandrakeSoft, SuSE, Red Hat, and Debian. It includes the “<span class="quote">cups</span>”device434 CUPS, Gutenprint, MandrakeSoft, SuSE, Red Hat, and Debian. It includes the <span class="quote">“<span class="quote">cups</span>”</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="id2635733"></a>PostScript Printer Description (PPD) Specification</h3></div></div></div><p>437 <a class="indexterm" name="id26 35742"></a>438 <a class="indexterm" name="id26 35748"></a>439 <a class="indexterm" name="id26 35755"></a>436 </p></div></div><div class="sect2" title="PostScript Printer Description (PPD) Specification"><div class="titlepage"><div><div><h3 class="title"><a name="id2641826"></a>PostScript Printer Description (PPD) Specification</h3></div></div></div><p> 437 <a class="indexterm" name="id2641834"></a> 438 <a class="indexterm" name="id2641841"></a> 439 <a class="indexterm" name="id2641847"></a> 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 … … 458 458 PostScript, PJL, JCL, or vendor-dependent commands) into the PostScript 459 459 file created by the driver. 460 </p><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>461 <a class="indexterm" name="id26 35795"></a>462 <a class="indexterm" name="id26 35801"></a>460 </p><div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p> 461 <a class="indexterm" name="id2641887"></a> 462 <a class="indexterm" name="id2641894"></a> 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="id2635816"></a>Using Windows-Formatted Vendor PPDs</h3></div></div></div><p>469 <a class="indexterm" name="id26 35824"></a>470 <a class="indexterm" name="id26 35831"></a>471 <a class="indexterm" name="id26 35838"></a>468 </p></div></div><div class="sect2" title="Using Windows-Formatted Vendor PPDs"><div class="titlepage"><div><div><h3 class="title"><a name="id2641909"></a>Using Windows-Formatted Vendor PPDs</h3></div></div></div><p> 469 <a class="indexterm" name="id2641917"></a> 470 <a class="indexterm" name="id2641924"></a> 471 <a class="indexterm" name="id2641930"></a> 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: 474 474 <span class="emphasis"><em>If you get the Windows NT version of the PPD, you can use it unchanged in CUPS</em></span> and thus 475 475 access the full power of your printer just like a Windows NT user could! 476 </p><div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Tip</h3><p>476 </p><div class="tip" title="Tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Tip</h3><p> 477 477 To check the spec compliance of any PPD online, go to <a class="ulink" href="http://www.cups.org/testppd.php" target="_top">http://www.cups.org/testppd.php</a> and upload your PPD. You will 478 478 see the results displayed immediately. CUPS in all versions after 1.1.19 has a much stricter internal PPD 479 479 parsing and checking code enabled; in case of printing trouble, this online resource should be one of your 480 480 first pit stops. 481 </p></div><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>482 <a class="indexterm" name="id26 35878"></a>483 <a class="indexterm" name="id26 35884"></a>481 </p></div><div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p> 482 <a class="indexterm" name="id2641970"></a> 483 <a class="indexterm" name="id2641977"></a> 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 </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 35909"></a>487 </p></div><div class="tip" title="Tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Tip</h3><p> 488 <a class="indexterm" name="id2642002"></a> 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="id2635936"></a>CUPS Also Uses PPDs for Non-PostScript Printers</h3></div></div></div><p>494 <a class="indexterm" name="id26 35944"></a>495 <a class="indexterm" name="id26 35951"></a>496 <a class="indexterm" name="id26 35958"></a>493 </p></div></div><div class="sect2" title="CUPS Also Uses PPDs for Non-PostScript Printers"><div class="titlepage"><div><div><h3 class="title"><a name="id2642028"></a>CUPS Also Uses PPDs for Non-PostScript Printers</h3></div></div></div><p> 494 <a class="indexterm" name="id2642037"></a> 495 <a class="indexterm" name="id2642044"></a> 496 <a class="indexterm" name="id2642050"></a> 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="id2635975"></a>The CUPS Filtering Architecture</h2></div></div></div><p>502 <a class="indexterm" name="id26 35984"></a>503 <a class="indexterm" name="id26 35990"></a>504 <a class="indexterm" name="id26 35997"></a>505 <a class="indexterm" name="id26 36004"></a>506 <a class="indexterm" name="id26 36011"></a>501 </p></div></div><div class="sect1" title="The CUPS Filtering Architecture"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2642068"></a>The CUPS Filtering Architecture</h2></div></div></div><p> 502 <a class="indexterm" name="id2642076"></a> 503 <a class="indexterm" name="id2642083"></a> 504 <a class="indexterm" name="id2642090"></a> 505 <a class="indexterm" name="id2642096"></a> 506 <a class="indexterm" name="id2642103"></a> 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 … … 514 514 </p><p> 515 515 If CUPS rasterizes a PostScript file natively to a bitmap, this is done in two stages: 516 </p><div class="itemizedlist"><ul type="disc"><li><p>517 <a class="indexterm" name="id26 36041"></a>518 <a class="indexterm" name="id26 36048"></a>519 The first stage uses a Ghostscript device named “<span class="quote">cups</span>”516 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 517 <a class="indexterm" name="id2642133"></a> 518 <a class="indexterm" name="id2642140"></a> 519 The first stage uses a Ghostscript device named <span class="quote">“<span class="quote">cups</span>”</span> 520 520 (this is since version 1.1.15) and produces a generic raster format 521 called “<span class="quote">CUPS raster</span>”.522 </p></li><li ><p>523 <a class="indexterm" name="id26 36068"></a>524 The second stage uses a “<span class="quote">raster driver</span>”that converts521 called <span class="quote">“<span class="quote">CUPS raster</span>”</span>. 522 </p></li><li class="listitem"><p> 523 <a class="indexterm" name="id2642160"></a> 524 The second stage uses a <span class="quote">“<span class="quote">raster driver</span>”</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 36085"></a>528 <a class="indexterm" name="id26 36092"></a>529 <a class="indexterm" name="id26 36098"></a>530 Make sure your Ghostscript version has the “<span class="quote">cups</span>”device compiled in (check with <code class="literal">gs -h |527 <a class="indexterm" name="id2642177"></a> 528 <a class="indexterm" name="id2642184"></a> 529 <a class="indexterm" name="id2642191"></a> 530 Make sure your Ghostscript version has the <span class="quote">“<span class="quote">cups</span>”</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 0</code> in your CUPS error_log file. To have “<span class="quote">cups</span>”as a device in your Ghostscript,532 0</code> in your CUPS error_log file. To have <span class="quote">“<span class="quote">cups</span>”</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 36129"></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="id2642222"></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 36152"></a>540 <a class="indexterm" name="id26 36159"></a>541 <a class="indexterm" name="id26 36165"></a>542 <a class="indexterm" name="id26 36172"></a>539 <a class="indexterm" name="id2642244"></a> 540 <a class="indexterm" name="id2642251"></a> 541 <a class="indexterm" name="id2642258"></a> 542 <a class="indexterm" name="id2642265"></a> 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 “<span class="quote">cups</span>”device, but one of the many others. However, even for Foomatic/cupsomatic usage, best547 results and <a class="indexterm" name="id26 36195"></a> broadest printer546 <span class="quote">“<span class="quote">cups</span>”</span> device, but one of the many others. However, even for Foomatic/cupsomatic usage, best 547 results and <a class="indexterm" name="id2642287"></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="id2636211"></a>MIME Types and CUPS Filters</h3></div></div></div><p>551 <a class="indexterm" name="id26 36219"></a>552 <a class="indexterm" name="id26 36228"></a>553 <a class="indexterm" name="id26 36235"></a>554 <a class="indexterm" name="id26 36242"></a>555 <a class="indexterm" name="id26 36249"></a>550 </p><div class="sect2" title="MIME Types and CUPS Filters"><div class="titlepage"><div><div><h3 class="title"><a name="id2642304"></a>MIME Types and CUPS Filters</h3></div></div></div><p> 551 <a class="indexterm" name="id2642312"></a> 552 <a class="indexterm" name="id2642321"></a> 553 <a class="indexterm" name="id2642328"></a> 554 <a class="indexterm" name="id2642334"></a> 555 <a class="indexterm" name="id2642341"></a> 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 36286"></a>561 <a class="indexterm" name="id2642378"></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 36299"></a>566 <a class="indexterm" name="id26 36306"></a>565 <a class="indexterm" name="id2642391"></a> 566 <a class="indexterm" name="id2642398"></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 36339"></a>574 <a class="indexterm" name="id26 36346"></a>575 <a class="indexterm" name="id26 36353"></a>576 <a class="indexterm" name="id26 36360"></a>577 <a class="indexterm" name="id26 36366"></a>578 <a class="indexterm" name="id26 36373"></a>573 <a class="indexterm" name="id2642431"></a> 574 <a class="indexterm" name="id2642438"></a> 575 <a class="indexterm" name="id2642445"></a> 576 <a class="indexterm" name="id2642452"></a> 577 <a class="indexterm" name="id2642459"></a> 578 <a class="indexterm" name="id2642466"></a> 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 581 581 <span class="emphasis"><em><04>%!</em></span>, it is a generic PostScript file 582 582 (<em class="parameter"><code>application/postscript</code></em>). 583 </p><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>584 <a class="indexterm" name="id26 36418"></a>583 </p><div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p> 584 <a class="indexterm" name="id2642510"></a> 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 </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 36436"></a>589 <a class="indexterm" name="id26 36444"></a>590 <a class="indexterm" name="id26 36450"></a>591 <a class="indexterm" name="id26 36457"></a>592 <a class="indexterm" name="id26 36464"></a>587 </p></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 588 <a class="indexterm" name="id2642529"></a> 589 <a class="indexterm" name="id2642536"></a> 590 <a class="indexterm" name="id2642543"></a> 591 <a class="indexterm" name="id2642550"></a> 592 <a class="indexterm" name="id2642556"></a> 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 36526"></a>604 <a class="indexterm" name="id26 36533"></a>605 <a class="indexterm" name="id26 36540"></a>606 <a class="indexterm" name="id26 36546"></a>607 <a class="indexterm" name="id26 36553"></a>608 <a class="indexterm" name="id26 36560"></a>609 <a class="indexterm" name="id26 36566"></a>610 <a class="indexterm" name="id26 36573"></a>611 <a class="indexterm" name="id26 36580"></a>612 <a class="indexterm" name="id26 36586"></a>613 <a class="indexterm" name="id26 36593"></a>614 <a class="indexterm" name="id26 36600"></a>615 <a class="indexterm" name="id26 36607"></a>616 <a class="indexterm" name="id26 36614"></a>617 <a class="indexterm" name="id26 36621"></a>618 <a class="indexterm" name="id26 36627"></a>603 <a class="indexterm" name="id2642619"></a> 604 <a class="indexterm" name="id2642625"></a> 605 <a class="indexterm" name="id2642632"></a> 606 <a class="indexterm" name="id2642639"></a> 607 <a class="indexterm" name="id2642646"></a> 608 <a class="indexterm" name="id2642652"></a> 609 <a class="indexterm" name="id2642659"></a> 610 <a class="indexterm" name="id2642665"></a> 611 <a class="indexterm" name="id2642672"></a> 612 <a class="indexterm" name="id2642679"></a> 613 <a class="indexterm" name="id2642686"></a> 614 <a class="indexterm" name="id2642692"></a> 615 <a class="indexterm" name="id2642699"></a> 616 <a class="indexterm" name="id2642706"></a> 617 <a class="indexterm" name="id2642713"></a> 618 <a class="indexterm" name="id2642720"></a> 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="id2636640"></a>MIME Type Conversion Rules</h3></div></div></div><p>624 <a class="indexterm" name="id26 36648"></a>625 <a class="indexterm" name="id26 36655"></a>626 <a class="indexterm" name="id26 36662"></a>627 <a class="indexterm" name="id26 36669"></a>628 <a class="indexterm" name="id26 36676"></a>623 </p></div><div class="sect2" title="MIME Type Conversion Rules"><div class="titlepage"><div><div><h3 class="title"><a name="id2642732"></a>MIME Type Conversion Rules</h3></div></div></div><p> 624 <a class="indexterm" name="id2642740"></a> 625 <a class="indexterm" name="id2642747"></a> 626 <a class="indexterm" name="id2642754"></a> 627 <a class="indexterm" name="id2642761"></a> 628 <a class="indexterm" name="id2642768"></a> 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 36708"></a>639 <a class="indexterm" name="id2642800"></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 36736"></a>645 <a class="indexterm" name="id2642828"></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 36749"></a>649 <a class="indexterm" name="id2642842"></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 36763"></a>652 <a class="indexterm" name="id2642856"></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 36777"></a>658 <a class="indexterm" name="id26 36784"></a>659 <a class="indexterm" name="id26 36791"></a>660 <a class="indexterm" name="id26 36798"></a>657 <a class="indexterm" name="id2642870"></a> 658 <a class="indexterm" name="id2642876"></a> 659 <a class="indexterm" name="id2642883"></a> 660 <a class="indexterm" name="id2642890"></a> 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 36812"></a>665 <a class="indexterm" name="id2642905"></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="id2636848"></a>Filtering Overview</h3></div></div></div><p>670 <a class="indexterm" name="id26 36856"></a>669 </p></div><div class="sect2" title="Filtering Overview"><div class="titlepage"><div><div><h3 class="title"><a name="id2642940"></a>Filtering Overview</h3></div></div></div><p> 670 <a class="indexterm" name="id2642948"></a> 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="id2636888"></a>Filter Requirements</h4></div></div></div><p>677 The “<span class="quote">CUPS requirements</span>”for filters are simple. Take filenames or <code class="filename">stdin</code> as676 </p><div class="sect3" title="Filter Requirements"><div class="titlepage"><div><div><h4 class="title"><a name="id2642981"></a>Filter Requirements</h4></div></div></div><p> 677 The <span class="quote">“<span class="quote">CUPS requirements</span>”</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: 679 679 </p><div class="variablelist"><dl><dt><span class="term">printer</span></dt><dd><p> … … 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="id2637005"></a>Prefilters</h3></div></div></div><p>696 <a class="indexterm" name="id26 37013"></a>697 <a class="indexterm" name="id26 37020"></a>698 <a class="indexterm" name="id26 37027"></a>695 </p></dd></dl></div></div></div><div class="sect2" title="Prefilters"><div class="titlepage"><div><div><h3 class="title"><a name="id2643098"></a>Prefilters</h3></div></div></div><p> 696 <a class="indexterm" name="id2643105"></a> 697 <a class="indexterm" name="id2643112"></a> 698 <a class="indexterm" name="id2643119"></a> 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="id26 37040"></a>704 <a class="indexterm" name="id26 37047"></a>705 <a class="indexterm" name="id26 37054"></a>706 <a class="indexterm" name="id26 37060"></a>707 <a class="indexterm" name="id26 37067"></a>708 <a class="indexterm" name="id26 37073"></a>709 <a class="indexterm" name="id26 37080"></a>710 <a class="indexterm" name="id26 37087"></a>711 <a class="indexterm" name="id26 37094"></a>712 <a class="indexterm" name="id26 37101"></a>703 <a class="indexterm" name="id2643132"></a> 704 <a class="indexterm" name="id2643139"></a> 705 <a class="indexterm" name="id2643146"></a> 706 <a class="indexterm" name="id2643153"></a> 707 <a class="indexterm" name="id2643159"></a> 708 <a class="indexterm" name="id2643166"></a> 709 <a class="indexterm" name="id2643173"></a> 710 <a class="indexterm" name="id2643179"></a> 711 <a class="indexterm" name="id2643186"></a> 712 <a class="indexterm" name="id2643193"></a> 713 713 But what happens if you send one of the supported non-PS formats to print? Then CUPS runs 714 “<span class="quote">prefilters</span>”on these input formats to generate PostScript first. There are prefilters to create714 <span class="quote">“<span class="quote">prefilters</span>”</span> on these input formats to generate PostScript first. There are prefilters to create 715 715 PostScript from ASCII text, PDF, DVI, or HP-GL. The outcome of these filters is always of MIME type 716 716 <em class="parameter"><code>application/postscript</code></em> (meaning that any device-specific print options are not yet … … 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="id2637193"></a>pstops</h3></div></div></div><p>723 <a class="indexterm" name="id26 37201"></a>724 <a class="indexterm" name="id26 37208"></a>725 <a class="indexterm" name="id26 37215"></a>726 <a class="indexterm" name="id26 37222"></a>727 <a class="indexterm" name="id26 37229"></a>728 <a class="indexterm" name="id26 37236"></a>729 <a class="indexterm" name="id26 37243"></a>722 </p><div class="figure"><a name="4small"></a><p class="title"><b>Figure 22.4. Prefiltering in CUPS to Form PostScript.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/4small.png" width="135" alt="Prefiltering in CUPS to Form PostScript."></div></div></div><br class="figure-break"></div><div class="sect2" title="pstops"><div class="titlepage"><div><div><h3 class="title"><a name="id2643286"></a>pstops</h3></div></div></div><p> 723 <a class="indexterm" name="id2643294"></a> 724 <a class="indexterm" name="id2643300"></a> 725 <a class="indexterm" name="id2643307"></a> 726 <a class="indexterm" name="id2643315"></a> 727 <a class="indexterm" name="id2643322"></a> 728 <a class="indexterm" name="id2643328"></a> 729 <a class="indexterm" name="id2643335"></a> 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 … … 734 734 </p><div class="figure"><a name="5small"></a><p class="title"><b>Figure 22.5. Adding Device-Specific Print Options.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/5small.png" width="135" alt="Adding Device-Specific Print Options."></div></div></div><br class="figure-break"><p> 735 735 This is not all. Other tasks performed by it are: 736 </p><div class="itemizedlist"><ul type="disc"><li><p>736 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 737 737 Selecting the range of pages to be printed (e.g., you can choose to 738 print only pages “<span class="quote">3, 6, 8-11, 16, and 19-21</span>”, or only odd-numbered738 print only pages <span class="quote">“<span class="quote">3, 6, 8-11, 16, and 19-21</span>”</span>, or only odd-numbered 739 739 pages). 740 </p></li><li ><p>740 </p></li><li class="listitem"><p> 741 741 Putting two or more logical pages on one sheet of paper (the 742 so-called “<span class="quote">number-up</span>”function).743 </p></li><li ><p>Counting the pages of the job to insert the accounting742 so-called <span class="quote">“<span class="quote">number-up</span>”</span> function). 743 </p></li><li class="listitem"><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="id2637361"></a>pstoraster</h3></div></div></div><p>746 <a class="indexterm" name="id26 37369"></a>747 <a class="indexterm" name="id26 37376"></a>748 <a class="indexterm" name="id26 37382"></a>745 </p></li></ul></div></div><div class="sect2" title="pstoraster"><div class="titlepage"><div><div><h3 class="title"><a name="id2643453"></a>pstoraster</h3></div></div></div><p> 746 <a class="indexterm" name="id2643461"></a> 747 <a class="indexterm" name="id2643468"></a> 748 <a class="indexterm" name="id2643475"></a> 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="id26 37458"></a>757 <a class="indexterm" name="id26 37465"></a>758 <a class="indexterm" name="id26 37472"></a>759 <a class="indexterm" name="id26 37479"></a>756 <a class="indexterm" name="id2643551"></a> 757 <a class="indexterm" name="id2643558"></a> 758 <a class="indexterm" name="id2643564"></a> 759 <a class="indexterm" name="id2643571"></a> 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="id26 37551"></a>770 <a class="indexterm" name="id26 37558"></a>771 <a class="indexterm" name="id26 37565"></a>772 <a class="indexterm" name="id26 37572"></a>769 <a class="indexterm" name="id2643644"></a> 770 <a class="indexterm" name="id2643651"></a> 771 <a class="indexterm" name="id2643658"></a> 772 <a class="indexterm" name="id2643664"></a> 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="id2637630"></a>imagetops and imagetoraster</h3></div></div></div><p>784 <a class="indexterm" name="id26 37638"></a>785 <a class="indexterm" name="id26 37645"></a>783 </p></div><div class="sect2" title="imagetops and imagetoraster"><div class="titlepage"><div><div><h3 class="title"><a name="id2643723"></a>imagetops and imagetoraster</h3></div></div></div><p> 784 <a class="indexterm" name="id2643731"></a> 785 <a class="indexterm" name="id2643738"></a> 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="id2637715"></a>rasterto [printers specific]</h3></div></div></div><p>793 <a class="indexterm" name="id26 37723"></a>794 <a class="indexterm" name="id26 37730"></a>795 <a class="indexterm" name="id26 37737"></a>796 <a class="indexterm" name="id26 37744"></a>797 <a class="indexterm" name="id26 37751"></a>798 <a class="indexterm" name="id26 37758"></a>799 <a class="indexterm" name="id26 37764"></a>800 <a class="indexterm" name="id26 37771"></a>801 <a class="indexterm" name="id26 37778"></a>802 <a class="indexterm" name="id26 37785"></a>803 <a class="indexterm" name="id26 37792"></a>792 </p><div class="figure"><a name="small8"></a><p class="title"><b>Figure 22.8. Image Format to CUPS-Raster Format Conversion.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/8small.png" alt="Image Format to CUPS-Raster Format Conversion."></div></div></div><br class="figure-break"></div><div class="sect2" title="rasterto [printers specific]"><div class="titlepage"><div><div><h3 class="title"><a name="id2643807"></a>rasterto [printers specific]</h3></div></div></div><p> 793 <a class="indexterm" name="id2643816"></a> 794 <a class="indexterm" name="id2643822"></a> 795 <a class="indexterm" name="id2643829"></a> 796 <a class="indexterm" name="id2643836"></a> 797 <a class="indexterm" name="id2643843"></a> 798 <a class="indexterm" name="id2643850"></a> 799 <a class="indexterm" name="id2643857"></a> 800 <a class="indexterm" name="id2643864"></a> 801 <a class="indexterm" name="id2643871"></a> 802 <a class="indexterm" name="id2643878"></a> 803 <a class="indexterm" name="id2643884"></a> 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="id2637934"></a>CUPS Backends</h3></div></div></div><p>815 <a class="indexterm" name="id26 37942"></a>816 <a class="indexterm" name="id26 37949"></a>814 </p><div class="figure"><a name="small9"></a><p class="title"><b>Figure 22.9. Raster to Printer-Specific Formats.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/9small.png" alt="Raster to Printer-Specific Formats."></div></div></div><br class="figure-break"></div><div class="sect2" title="CUPS Backends"><div class="titlepage"><div><div><h3 class="title"><a name="id2644027"></a>CUPS Backends</h3></div></div></div><p> 815 <a class="indexterm" name="id2644034"></a> 816 <a class="indexterm" name="id2644042"></a> 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 819 819 device. There is a separate backend program for any transfer 820 820 protocol for sending print jobs over the network, and one for every local 821 interface. Every CUPS print queue needs to have a CUPS “<span class="quote">device-URI</span>”821 interface. Every CUPS print queue needs to have a CUPS <span class="quote">“<span class="quote">device-URI</span>”</span> 822 822 associated with it. The device URI is the way to encode the backend 823 823 used to send the job to its destination. Network device-URIs use … … 868 868 host. Examples of CUPS device-URIs that may be used includes: 869 869 </p><p> 870 </p><table class="simplelist" border="0" summary="Simplelist"><tr><td><code class="filename">smb://workgroup/server/printersharename</code></td></tr><tr><td><code class="filename">smb://server/printersharename</code></td></tr><tr><td><code class="filename">smb://username:password@workgroup/server/printersharename</code></td></tr><tr><td><code class="filename">smb://username:password@server/printersharename</code></td></tr></table><p>870 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename">smb://workgroup/server/printersharename</code></td></tr><tr><td><code class="filename">smb://server/printersharename</code></td></tr><tr><td><code class="filename">smb://username:password@workgroup/server/printersharename</code></td></tr><tr><td><code class="filename">smb://username:password@server/printersharename</code></td></tr></table><p> 871 871 </p><p> 872 872 The smb:// backend is a symlink to the Samba utility … … 878 878 It is easy to write your own backends as shell or Perl scripts if you 879 879 need any modification or extension to the CUPS print system. One 880 reason could be that you want to create “<span class="quote">special</span>”printers that send881 the print jobs as email (through a “<span class="quote">mailto:/</span>”backend), convert them to882 PDF (through a “<span class="quote">pdfgen:/</span>” backend) or dump them to “<span class="quote">/dev/null</span>”. (In880 reason could be that you want to create <span class="quote">“<span class="quote">special</span>”</span> printers that send 881 the print jobs as email (through a <span class="quote">“<span class="quote">mailto:/</span>”</span> backend), convert them to 882 PDF (through a <span class="quote">“<span class="quote">pdfgen:/</span>”</span> backend) or dump them to <span class="quote">“<span class="quote">/dev/null</span>”</span>. (In 883 883 fact, I have the systemwide default printer set up to be connected to 884 884 a devnull:/ backend: there are just too many people sending jobs … … 888 888 printer name.) 889 889 </p><p> 890 <a class="indexterm" name="id26 38229"></a>891 <a class="indexterm" name="id26 38235"></a>890 <a class="indexterm" name="id2644321"></a> 891 <a class="indexterm" name="id2644328"></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="id2638273"></a>The Role of <em class="parameter"><code>cupsomatic/foomatic</code></em></h3></div></div></div><p>900 <a class="indexterm" name="id26 38285"></a>901 <a class="indexterm" name="id26 38292"></a>902 <a class="indexterm" name="id26 38299"></a>903 <a class="indexterm" name="id26 38306"></a>904 <a class="indexterm" name="id26 38313"></a>899 </pre></div><div class="sect2" title="The Role of cupsomatic/foomatic"><div class="titlepage"><div><div><h3 class="title"><a name="id2644365"></a>The Role of <em class="parameter"><code>cupsomatic/foomatic</code></em></h3></div></div></div><p> 900 <a class="indexterm" name="id2644378"></a> 901 <a class="indexterm" name="id2644384"></a> 902 <a class="indexterm" name="id2644391"></a> 903 <a class="indexterm" name="id2644398"></a> 904 <a class="indexterm" name="id2644405"></a> 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="id26 38379"></a>929 <a class="indexterm" name="id26 38386"></a>930 <a class="indexterm" name="id26 38393"></a>931 <a class="indexterm" name="id26 38400"></a>932 <a class="indexterm" name="id26 38407"></a>933 <a class="indexterm" name="id26 38414"></a>934 <a class="indexterm" name="id26 38420"></a>935 <a class="indexterm" name="id26 38427"></a>936 <a class="indexterm" name="id26 38434"></a>937 <a class="indexterm" name="id26 38441"></a>938 <a class="indexterm" name="id26 38448"></a>928 <a class="indexterm" name="id2644471"></a> 929 <a class="indexterm" name="id2644478"></a> 930 <a class="indexterm" name="id2644485"></a> 931 <a class="indexterm" name="id2644492"></a> 932 <a class="indexterm" name="id2644499"></a> 933 <a class="indexterm" name="id2644506"></a> 934 <a class="indexterm" name="id2644513"></a> 935 <a class="indexterm" name="id2644520"></a> 936 <a class="indexterm" name="id2644526"></a> 937 <a class="indexterm" name="id2644533"></a> 938 <a class="indexterm" name="id2644540"></a> 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 941 941 Adobe specifications. You might also suffer difficulties when you try 942 to download them with “<span class="quote">Point'n'Print</span>”to Windows clients. A better942 to download them with <span class="quote">“<span class="quote">Point'n'Print</span>”</span> to Windows clients. A better 943 943 and more powerful successor is now available: it is called <em class="parameter"><code>foomatic-rip</code></em>. To use 944 944 <em class="parameter"><code>foomatic-rip</code></em> as a filter with CUPS, you need the new type of PPDs, which … … 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="id2638508"></a>The Complete Picture</h3></div></div></div><p>960 </p></div><div class="sect2" title="The Complete Picture"><div class="titlepage"><div><div><h3 class="title"><a name="id2644600"></a>The Complete Picture</h3></div></div></div><p> 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="id2638521"></a><code class="filename">mime.convs</code></h3></div></div></div><p>964 </p></div><div class="sect2" title="mime.convs"><div class="titlepage"><div><div><h3 class="title"><a name="id2644613"></a><code class="filename">mime.convs</code></h3></div></div></div><p> 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 … … 970 970 the third column of the mime.convs file. They represent virtual costs 971 971 assigned to this filter. Every possible filtering chain will sum up to 972 a total “<span class="quote">filter cost.</span>” CUPS decides for the most “<span class="quote">inexpensive</span>”route.973 </p><div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Tip</h3><p>974 <a class="indexterm" name="id26 38552"></a>975 <a class="indexterm" name="id26 38559"></a>972 a total <span class="quote">“<span class="quote">filter cost.</span>”</span> CUPS decides for the most <span class="quote">“<span class="quote">inexpensive</span>”</span> route. 973 </p><div class="tip" title="Tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Tip</h3><p> 974 <a class="indexterm" name="id2644645"></a> 975 <a class="indexterm" name="id2644652"></a> 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 978 978 run concurrently than will consume a total of 1000 virtual filter 979 979 cost. This is an efficient way to limit the load of any CUPS 980 server by setting an appropriate “<span class="quote">FilterLimit</span>”value. A FilterLimit of980 server by setting an appropriate <span class="quote">“<span class="quote">FilterLimit</span>”</span> value. A FilterLimit of 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="id2638590"></a>“<span class="quote">Raw</span>”Printing</h3></div></div></div><p>984 <a class="indexterm" name="id26 38599"></a>985 <a class="indexterm" name="id26 38606"></a>986 <a class="indexterm" name="id26 38613"></a>987 You can tell CUPS to print (nearly) any file “<span class="quote">raw</span>”. “<span class="quote">Raw</span>”means it will not be988 filtered. CUPS will send the file to the printer “<span class="quote">as is</span>”without bothering if the printer is able983 </p></div></div><div class="sect2" title="“Raw” Printing"><div class="titlepage"><div><div><h3 class="title"><a name="id2644682"></a><span class="quote">“<span class="quote">Raw</span>”</span> Printing</h3></div></div></div><p> 984 <a class="indexterm" name="id2644692"></a> 985 <a class="indexterm" name="id2644698"></a> 986 <a class="indexterm" name="id2644705"></a> 987 You can tell CUPS to print (nearly) any file <span class="quote">“<span class="quote">raw</span>”</span>. <span class="quote">“<span class="quote">Raw</span>”</span> means it will not be 988 filtered. CUPS will send the file to the printer <span class="quote">“<span class="quote">as is</span>”</span> without bothering if the printer is able 989 989 to digest it. Users need to take care themselves that they send sensible data formats only. Raw printing can 990 happen on any queue if the “<span class="quote"><em class="parameter"><code>-o raw</code></em></span>”option is specified on the command990 happen on any queue if the <span class="quote">“<span class="quote"><em class="parameter"><code>-o raw</code></em></span>”</span> option is specified on the command 991 991 line. You can also set up raw-only queues by simply not associating any PPD with it. This command: 992 992 </p><pre class="screen"> 993 993 <code class="prompt">$ </code><strong class="userinput"><code>lpadmin -P rawprinter -v socket://11.12.13.14:9100 -E</code></strong> 994 994 </pre><p> 995 sets up a queue named “<span class="quote">rawprinter</span>”, connected via the “<span class="quote">socket</span>”protocol (a.k.a.996 “<span class="quote">HP JetDirect</span>”) to the device at IP address 11.12.1.3.14, using port 9100. (If you had added a995 sets up a queue named <span class="quote">“<span class="quote">rawprinter</span>”</span>, connected via the <span class="quote">“<span class="quote">socket</span>”</span> protocol (a.k.a. 996 <span class="quote">“<span class="quote">HP JetDirect</span>”</span>) to the device at IP address 11.12.1.3.14, using port 9100. (If you had added a 997 997 PPD with <code class="literal">-P /path/to/PPD</code> to this command line, you would have installed a 998 “<span class="quote">normal</span>”print queue.)998 <span class="quote">“<span class="quote">normal</span>”</span> print queue.) 999 999 </p><p> 1000 CUPS will automatically treat each job sent to a queue as a “<span class="quote">raw</span>”one1000 CUPS will automatically treat each job sent to a queue as a <span class="quote">“<span class="quote">raw</span>”</span> one 1001 1001 if it can't find a PPD associated with the queue. However, CUPS will 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="id2638698"></a>application/octet-stream Printing</h3></div></div></div><p>1005 <a class="indexterm" name="id26 38706"></a>1006 <a class="indexterm" name="id26 38713"></a>1004 </p></div><div class="sect2" title="application/octet-stream Printing"><div class="titlepage"><div><div><h3 class="title"><a name="id2644790"></a>application/octet-stream Printing</h3></div></div></div><p> 1005 <a class="indexterm" name="id2644798"></a> 1006 <a class="indexterm" name="id2644805"></a> 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 … … 1016 1016 To enable the printing of <em class="parameter"><code>application/octet-stream</code></em> files, edit 1017 1017 these two files: 1018 </p><div class="itemizedlist"><ul type="disc"><li><p><code class="filename">/etc/cups/mime.convs</code></p></li><li><p><code class="filename">/etc/cups/mime.types</code></p></li></ul></div><p>1019 <a class="indexterm" name="id26 38778"></a>1018 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p><code class="filename">/etc/cups/mime.convs</code></p></li><li class="listitem"><p><code class="filename">/etc/cups/mime.types</code></p></li></ul></div><p> 1019 <a class="indexterm" name="id2644871"></a> 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="id26 38800"></a>1023 <a class="indexterm" name="id2644893"></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="id26 38835"></a>1034 <a class="indexterm" name="id2644927"></a> 1035 1035 This line tells CUPS to use the <span class="emphasis"><em>Null Filter</em></span> 1036 (denoted as “<span class="quote">-</span>”, doing nothing at all) on1036 (denoted as <span class="quote">“<span class="quote">-</span>”</span>, doing nothing at all) on 1037 1037 <em class="parameter"><code>application/octet-stream</code></em>, and tag the result as 1038 1038 <em class="parameter"><code>application/vnd.cups-raw</code></em>. This last one is 1039 1039 always a green light to the CUPS scheduler to now hand the file over 1040 1040 to the backend connecting to the printer and sending it over. 1041 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>1041 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 1042 1042 Editing the <code class="filename">mime.convs</code> and the <code class="filename">mime.types</code> file does not 1043 <span class="emphasis"><em>enforce</em></span> “<span class="quote">raw</span>”printing, it only <span class="emphasis"><em>allows</em></span> it.1044 </p></div><p ><b>Background. </b>1045 <a class="indexterm" name="id26 38902"></a>1046 <a class="indexterm" name="id26 38909"></a>1047 <a class="indexterm" name="id26 38915"></a>1048 <a class="indexterm" name="id26 38922"></a>1043 <span class="emphasis"><em>enforce</em></span> <span class="quote">“<span class="quote">raw</span>”</span> printing, it only <span class="emphasis"><em>allows</em></span> it. 1044 </p></div><p title="Background"><b>Background. </b> 1045 <a class="indexterm" name="id2644994"></a> 1046 <a class="indexterm" name="id2645001"></a> 1047 <a class="indexterm" name="id2645008"></a> 1048 <a class="indexterm" name="id2645015"></a> 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) 1051 1051 data to printing devices. (This could be easily abused to launch a 1052 1052 Denial of Service attack on your printer(s), causing at least the loss 1053 of a lot of paper and ink.) “<span class="quote">Unknown</span>”data are regarded by CUPS1053 of a lot of paper and ink.) <span class="quote">“<span class="quote">Unknown</span>”</span> data are regarded by CUPS 1054 1054 as <span class="emphasis"><em>MIME type</em></span> <span class="emphasis"><em>application/octet-stream</em></span>. While you 1055 <span class="emphasis"><em>can</em></span> send data “<span class="quote">raw</span>”, the MIME type for these must1055 <span class="emphasis"><em>can</em></span> send data <span class="quote">“<span class="quote">raw</span>”</span>, the MIME type for these must 1056 1056 be one that is known to CUPS and allowed by it. The file 1057 <code class="filename">/etc/cups/mime.types</code> defines the “<span class="quote">rules</span>”of how CUPS1057 <code class="filename">/etc/cups/mime.types</code> defines the <span class="quote">“<span class="quote">rules</span>”</span> of how CUPS 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="id2638977"></a>PostScript Printer Descriptions for Non-PostScript Printers</h3></div></div></div><p>1061 <a class="indexterm" name="id26 38985"></a>1062 <a class="indexterm" name="id26 38992"></a>1063 <a class="indexterm" name="id26 38999"></a>1064 <a class="indexterm" name="id26 39006"></a>1065 <a class="indexterm" name="id26 39012"></a>1066 <a class="indexterm" name="id26 39019"></a>1060 </p></div><div class="sect2" title="PostScript Printer Descriptions for Non-PostScript Printers"><div class="titlepage"><div><div><h3 class="title"><a name="id2645069"></a>PostScript Printer Descriptions for Non-PostScript Printers</h3></div></div></div><p> 1061 <a class="indexterm" name="id2645078"></a> 1062 <a class="indexterm" name="id2645084"></a> 1063 <a class="indexterm" name="id2645091"></a> 1064 <a class="indexterm" name="id2645098"></a> 1065 <a class="indexterm" name="id2645104"></a> 1066 <a class="indexterm" name="id2645111"></a> 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="id26 39041"></a>1079 <a class="indexterm" name="id2645134"></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="id2639260"></a><span class="emphasis"><em>cupsomatic/foomatic-rip</em></span> Versus <span class="emphasis"><em>Native CUPS</em></span> Printing</h3></div></div></div><p>1098 <a class="indexterm" name="id26 39274"></a>1099 <a class="indexterm" name="id26 39281"></a>1097 </p><div class="table"><a name="cups-ppds"></a><p class="title"><b>Table 22.1. PPDs Shipped with CUPS</b></p><div class="table-contents"><table summary="PPDs Shipped with CUPS" border="1"><colgroup><col align="left"><col align="justify"></colgroup><thead><tr><th align="left">PPD file</th><th align="justify">Printer type</th></tr></thead><tbody><tr><td align="left">deskjet.ppd</td><td align="justify">older HP inkjet printers and compatible</td></tr><tr><td align="left">deskjet2.ppd</td><td align="justify">newer HP inkjet printers and compatible </td></tr><tr><td align="left">dymo.ppd</td><td align="justify">label printers </td></tr><tr><td align="left">epson9.ppd</td><td align="justify">Epson 24-pin impact printers and compatible </td></tr><tr><td align="left">epson24.ppd</td><td align="justify">Epson 24-pin impact printers and compatible </td></tr><tr><td align="left">okidata9.ppd</td><td align="justify">Okidata 9-pin impact printers and compatible </td></tr><tr><td align="left">okidat24.ppd</td><td align="justify">Okidata 24-pin impact printers and compatible </td></tr><tr><td align="left">stcolor.ppd</td><td align="justify">older Epson Stylus Color printers </td></tr><tr><td align="left">stcolor2.ppd</td><td align="justify">newer Epson Stylus Color printers </td></tr><tr><td align="left">stphoto.ppd</td><td align="justify">older Epson Stylus Photo printers </td></tr><tr><td align="left">stphoto2.ppd</td><td align="justify">newer Epson Stylus Photo printers </td></tr><tr><td align="left">laserjet.ppd</td><td align="justify">all PCL printers </td></tr></tbody></table></div></div><br class="table-break"></div><div class="sect2" title="cupsomatic/foomatic-rip Versus Native CUPS Printing"><div class="titlepage"><div><div><h3 class="title"><a name="id2645352"></a><span class="emphasis"><em>cupsomatic/foomatic-rip</em></span> Versus <span class="emphasis"><em>Native CUPS</em></span> Printing</h3></div></div></div><p> 1098 <a class="indexterm" name="id2645366"></a> 1099 <a class="indexterm" name="id2645373"></a> 1100 1100 Native CUPS rasterization works in two steps: 1101 </p><div class="itemizedlist"><ul type="disc"><li><p>1102 <a class="indexterm" name="id26 39295"></a>1101 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 1102 <a class="indexterm" name="id2645387"></a> 1103 1103 First is the <em class="parameter"><code>pstoraster</code></em> step. It uses the special CUPS 1104 <a class="indexterm" name="id26 39309"></a>1104 <a class="indexterm" name="id2645401"></a> 1105 1105 device from ESP Ghostscript 7.05.x as its tool. 1106 </p></li><li ><p>1106 </p></li><li class="listitem"><p> 1107 1107 Second is the <em class="parameter"><code>rasterdriver</code></em> step. It uses various 1108 1108 device-specific filters; there are several vendors who provide good … … 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="id26 39412" href="#ftn.id2639412" class="footnote">6</a>]</sup>1119 made by people from Linuxprinting.org.<sup>[<a name="id2645504" href="#ftn.id2645504" class="footnote">6</a>]</sup> 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="id26 39461"></a>1128 <a class="indexterm" name="id26 39468"></a>1127 <a class="indexterm" name="id2645554"></a> 1128 <a class="indexterm" name="id2645560"></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="id26 39503"></a>1139 <a class="indexterm" name="id26 39510"></a>1140 <a class="indexterm" name="id26 39517"></a>1141 <a class="indexterm" name="id26 39524"></a>1142 <a class="indexterm" name="id26 39531"></a>1143 <a class="indexterm" name="id26 39538"></a>1138 <a class="indexterm" name="id2645596"></a> 1139 <a class="indexterm" name="id2645602"></a> 1140 <a class="indexterm" name="id2645609"></a> 1141 <a class="indexterm" name="id2645616"></a> 1142 <a class="indexterm" name="id2645623"></a> 1143 <a class="indexterm" name="id2645630"></a> 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="id2639597"></a>Examples for Filtering Chains</h3></div></div></div><p>1152 </p></div><div class="sect2" title="Examples for Filtering Chains"><div class="titlepage"><div><div><h3 class="title"><a name="id2645689"></a>Examples for Filtering Chains</h3></div></div></div><p> 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="id26 39610"></a>1157 <a class="indexterm" name="id26 39617"></a>1158 <a class="indexterm" name="id26 39624"></a>1159 <a class="indexterm" name="id26 39631"></a>1156 <a class="indexterm" name="id2645702"></a> 1157 <a class="indexterm" name="id2645709"></a> 1158 <a class="indexterm" name="id2645716"></a> 1159 <a class="indexterm" name="id2645723"></a> 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 1162 only, and you want to print them “<span class="quote">two-up</span>” and “<span class="quote">duplex</span>”:1163 </p><div class="itemizedlist"><ul type="disc"><li><p>Your print options (page selection as required, two-up,1164 duplex) are passed to CUPS on the command line.</p></li><li ><p>The (complete) PDF file is sent to CUPS and autotyped as1165 <em class="parameter"><code>application/pdf</code></em>.</p></li><li ><p>The file therefore must first pass the1162 only, and you want to print them <span class="quote">“<span class="quote">two-up</span>”</span> and <span class="quote">“<span class="quote">duplex</span>”</span>: 1163 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Your print options (page selection as required, two-up, 1164 duplex) are passed to CUPS on the command line.</p></li><li class="listitem"><p>The (complete) PDF file is sent to CUPS and autotyped as 1165 <em class="parameter"><code>application/pdf</code></em>.</p></li><li class="listitem"><p>The file therefore must first pass the 1166 1166 <em class="parameter"><code>pdftops</code></em> prefilter, which produces PostScript 1167 1167 MIME type <em class="parameter"><code>application/postscript</code></em> (a preview here 1168 would still show all pages of the original PDF).</p></li><li ><p>The file then passes the <em class="parameter"><code>pstops</code></em>1168 would still show all pages of the original PDF).</p></li><li class="listitem"><p>The file then passes the <em class="parameter"><code>pstops</code></em> 1169 1169 filter that applies the command line options: it selects pages 1170 2-5, 7, and 11-13, creates the imposed layout “<span class="quote">two pages on one sheet</span>”, and1171 inserts the correct “<span class="quote">duplex</span>”command (as defined in the printer's1170 2-5, 7, and 11-13, creates the imposed layout <span class="quote">“<span class="quote">two pages on one sheet</span>”</span>, and 1171 inserts the correct <span class="quote">“<span class="quote">duplex</span>”</span> command (as defined in the printer's 1172 1172 PPD) into the new PostScript file; the file is now of PostScript MIME 1173 1173 type 1174 <em class="parameter"><code>application/vnd.cups-postscript</code></em>.</p></li><li ><p>The file goes to the <em class="parameter"><code>socket</code></em>1174 <em class="parameter"><code>application/vnd.cups-postscript</code></em>.</p></li><li class="listitem"><p>The file goes to the <em class="parameter"><code>socket</code></em> 1175 1175 backend, which transfers the job to the printers.</p></li></ul></div><p> 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="id26 39742"></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="id26 39792"></a>1180 <a class="indexterm" name="id26 39799"></a>1181 <a class="indexterm" name="id26 39806"></a>1178 </p><a class="indexterm" name="id2645834"></a><div class="figure"><a name="pdftosocket"></a><p class="title"><b>Figure 22.11. PDF to Socket Chain.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/pdftosocket.png" alt="PDF to Socket Chain."></div></div></div><br class="figure-break"><p> 1179 <a class="indexterm" name="id2645884"></a> 1180 <a class="indexterm" name="id2645891"></a> 1181 <a class="indexterm" name="id2645898"></a> 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: 1184 </p><div class="itemizedlist"><ul type="disc"><li><p>1184 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 1185 1185 Your print options (page selection as required, two-up, 1186 1186 duplex) are passed to CUPS on the command line. 1187 </p></li><li ><p>1187 </p></li><li class="listitem"><p> 1188 1188 The (complete) PDF file is sent to CUPS and autotyped as 1189 1189 <em class="parameter"><code>application/pdf</code></em>. 1190 </p></li><li ><p>1191 <a class="indexterm" name="id26 39846"></a>1192 <a class="indexterm" name="id26 39852"></a>1190 </p></li><li class="listitem"><p> 1191 <a class="indexterm" name="id2645938"></a> 1192 <a class="indexterm" name="id2645945"></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 </p></li><li ><p>1197 <a class="indexterm" name="id26 39878"></a>1198 <a class="indexterm" name="id26 39885"></a>1199 The file then passes the “<span class="quote">pstops</span>”filter that applies1196 </p></li><li class="listitem"><p> 1197 <a class="indexterm" name="id2645970"></a> 1198 <a class="indexterm" name="id2645977"></a> 1199 The file then passes the <span class="quote">“<span class="quote">pstops</span>”</span> filter that applies 1200 1200 the command line options: it selects the pages 2-5, 7, and 11-13, 1201 creates the imposed layout “<span class="quote">two pages on one sheet,</span>”and inserts the1202 correct “<span class="quote">duplex</span>”command (oops this printer and PPD1201 creates the imposed layout <span class="quote">“<span class="quote">two pages on one sheet,</span>”</span> and inserts the 1202 correct <span class="quote">“<span class="quote">duplex</span>”</span> command (oops this printer and PPD 1203 1203 do not support duplex printing at all, so this option will 1204 1204 be ignored) into the new PostScript file; the file is now of PostScript 1205 1205 MIME type <em class="parameter"><code>application/vnd.cups-postscript</code></em>. 1206 </p></li><li ><p>1206 </p></li><li class="listitem"><p> 1207 1207 The file then passes the <em class="parameter"><code>pstoraster</code></em> stage and becomes MIME type 1208 1208 <em class="parameter"><code>application/cups-raster</code></em>. 1209 </p></li><li ><p>1210 <a class="indexterm" name="id26 39940"></a>1209 </p></li><li class="listitem"><p> 1210 <a class="indexterm" name="id2646032"></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 1213 1213 printer-specific raster data and embedding any user-selected 1214 1214 print options into the print data stream. 1215 </p></li><li ><p>1215 </p></li><li class="listitem"><p> 1216 1216 The file goes to the <em class="parameter"><code>usb</code></em> backend, which transfers the job to the printers. 1217 1217 </p></li></ul></div><p> 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="id2640025"></a>Sources of CUPS Drivers/PPDs</h3></div></div></div><p>1220 </p><div class="figure"><a name="pdftoepsonusb"></a><p class="title"><b>Figure 22.12. PDF to USB Chain.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/pdftoepsonusb.png" alt="PDF to USB Chain."></div></div></div><br class="figure-break"></div><div class="sect2" title="Sources of CUPS Drivers/PPDs"><div class="titlepage"><div><div><h3 class="title"><a name="id2646117"></a>Sources of CUPS Drivers/PPDs</h3></div></div></div><p> 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="id264 0039"></a><a class="indexterm" name="id2640048"></a><ul type="disc"><li><p>1224 </p><div class="itemizedlist"><a class="indexterm" name="id2646132"></a><a class="indexterm" name="id2646141"></a><ul class="itemizedlist" type="disc"><li class="listitem"><p> 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 1227 successful use “<span class="quote">out of the box</span>”on Linux, Mac OS X, IBM-AIX,1227 successful use <span class="quote">“<span class="quote">out of the box</span>”</span> on Linux, Mac OS X, IBM-AIX, 1228 1228 HP-UX, Sun-Solaris, SGI-IRIX, Compaq Tru64, Digital UNIX, and 1229 1229 other commercial Unices (it is written by the CUPS developers 1230 1230 themselves and its sales help finance the further development of 1231 1231 CUPS, as they feed their creators). 1232 </p></li><li ><p>1232 </p></li><li class="listitem"><p> 1233 1233 The <a class="ulink" href="http://gimp-print.sourceforge.net/" target="_top">Gutenprint Project</a> 1234 1234 (GPL, free software) provides around 140 PPDs (supporting nearly 400 printers, many driven 1235 1235 to photo quality output), to be used alongside the Gutenprint CUPS filters. 1236 </p></li><li ><p>1236 </p></li><li class="listitem"><p> 1237 1237 <a class="ulink" href="http://www.turboprint.de/english.html/" target="_top">TurboPrint </a> (shareware, non-free) supports 1238 1238 roughly the same number of printers in excellent quality. 1239 </p></li><li ><p>1239 </p></li><li class="listitem"><p> 1240 1240 <a class="ulink" href="http://www-124.ibm.com/developerworks/oss/linux/projects/omni/" target="_top">OMNI </a> 1241 1241 (LPGL, free) is a package made by IBM, now containing support for more 1242 1242 than 400 printers, stemming from the inheritance of IBM OS/2 know-how 1243 1243 ported over to Linux (CUPS support is in a beta stage at present). 1244 </p></li><li ><p>1244 </p></li><li class="listitem"><p> 1245 1245 <a class="ulink" href="http://hpinkjet.sourceforge.net/" target="_top">HPIJS </a> (BSD-style licenses, free) 1246 1246 supports approximately 150 of HP's own printers and also provides 1247 1247 excellent print quality now (currently available only via the Foomatic path). 1248 </p></li><li ><p>1248 </p></li><li class="listitem"><p> 1249 1249 <a class="ulink" href="http://www.linuxprinting.org/" target="_top">Foomatic/cupsomatic </a> 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="id2640148"></a>Printing with Interface Scripts</h3></div></div></div><p>1253 <a class="indexterm" name="id264 0156"></a>1254 <a class="indexterm" name="id264 0163"></a>1255 CUPS also supports the use of “<span class="quote">interface scripts</span>”as known from1252 </p></li></ul></div></div><div class="sect2" title="Printing with Interface Scripts"><div class="titlepage"><div><div><h3 class="title"><a name="id2646240"></a>Printing with Interface Scripts</h3></div></div></div><p> 1253 <a class="indexterm" name="id2646248"></a> 1254 <a class="indexterm" name="id2646255"></a> 1255 CUPS also supports the use of <span class="quote">“<span class="quote">interface scripts</span>”</span> as known from 1256 1256 System V AT&T printing systems. These are often used for PCL 1257 1257 printers, from applications that generate PCL print jobs. Interface … … 1268 1268 -i /path/to/interface-script</code></strong> 1269 1269 </pre><p> 1270 Interface scripts might be the “<span class="quote">unknown animal</span>”to many. However,1270 Interface scripts might be the <span class="quote">“<span class="quote">unknown animal</span>”</span> to many. However, 1271 1271 with CUPS they provide the easiest way to plug in your own custom-written filtering 1272 1272 script or program into one specific print queue (some information about the traditional … … 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="id2640243"></a>Network Printing (Purely Windows)</h2></div></div></div><p>1276 </p></div></div><div class="sect1" title="Network Printing (Purely Windows)"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2646335"></a>Network Printing (Purely Windows)</h2></div></div></div><p> 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 clients, let's first look at a “<span class="quote">purely Windows</span>”setup: Windows clients1279 clients, let's first look at a <span class="quote">“<span class="quote">purely Windows</span>”</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="id2640259"></a>From Windows Clients to an NT Print Server</h3></div></div></div><p>1281 </p><div class="sect2" title="From Windows Clients to an NT Print Server"><div class="titlepage"><div><div><h3 class="title"><a name="id2646352"></a>From Windows Clients to an NT Print Server</h3></div></div></div><p> 1282 1282 Windows clients printing to an NT-based print server have two 1283 1283 options. They may: 1284 <a class="indexterm" name="id264 0269"></a>1285 <a class="indexterm" name="id264 0276"></a>1286 </p><div class="itemizedlist"><ul type="disc"><li><p>Execute the driver locally and render the GDI output1284 <a class="indexterm" name="id2646362"></a> 1285 <a class="indexterm" name="id2646368"></a> 1286 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Execute the driver locally and render the GDI output 1287 1287 (EMF) into the printer-specific format on their own. 1288 </p></li><li ><p>Send the GDI output (EMF) to the server, where the1288 </p></li><li class="listitem"><p>Send the GDI output (EMF) to the server, where the 1289 1289 driver is executed to render the printer-specific output. 1290 1290 </p></li></ul></div><p> … … 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="id2640321"></a>Driver Execution on the Client</h3></div></div></div><p>1294 </p></div><div class="sect2" title="Driver Execution on the Client"><div class="titlepage"><div><div><h3 class="title"><a name="id2646414"></a>Driver Execution on the Client</h3></div></div></div><p> 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 1297 1297 performance and more reliably than an NT print server. This is what most Samba administrators probably are 1298 familiar with. One advantage of this setup is that this “<span class="quote">spooling-only</span>”print server may be used1298 familiar with. One advantage of this setup is that this <span class="quote">“<span class="quote">spooling-only</span>”</span> print server may be used 1299 1299 even if no driver(s) for UNIX is available. It is sufficient to have the Windows client drivers available and 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="id2640393"></a>Driver Execution on the Server</h3></div></div></div><p>1303 <a class="indexterm" name="id264 0401"></a>1304 <a class="indexterm" name="id264 0408"></a>1305 <a class="indexterm" name="id264 0414"></a>1306 <a class="indexterm" name="id264 0421"></a>1307 <a class="indexterm" name="id264 0427"></a>1302 </p><div class="figure"><a name="small11"></a><p class="title"><b>Figure 22.13. Print Driver Execution on the Client.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/11small.png" alt="Print Driver Execution on the Client."></div></div></div><br class="figure-break"></div><div class="sect2" title="Driver Execution on the Server"><div class="titlepage"><div><div><h3 class="title"><a name="id2646485"></a>Driver Execution on the Server</h3></div></div></div><p> 1303 <a class="indexterm" name="id2646493"></a> 1304 <a class="indexterm" name="id2646500"></a> 1305 <a class="indexterm" name="id2646506"></a> 1306 <a class="indexterm" name="id2646513"></a> 1307 <a class="indexterm" name="id2646520"></a> 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="id2640498"></a>Network Printing (Windows Clients and UNIX/Samba Print1315 </p></div></div><div class="sect1" title="Network Printing (Windows Clients and UNIX/Samba Print Servers)"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2646590"></a>Network Printing (Windows Clients and UNIX/Samba Print 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="id2640516"></a>From Windows Clients to a CUPS/Samba Print Server</h3></div></div></div><p>1322 </p><div class="sect2" title="From Windows Clients to a CUPS/Samba Print Server"><div class="titlepage"><div><div><h3 class="title"><a name="id2646608"></a>From Windows Clients to a CUPS/Samba Print Server</h3></div></div></div><p> 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 1325 1325 clients: 1326 </p><div class="itemizedlist"><ul type="disc"><li><p>Let the Windows clients send PostScript to the CUPS1327 server.</p></li><li ><p>Let the CUPS server render the PostScript into device-specific raster format.</p></li></ul></div><p>1326 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Let the Windows clients send PostScript to the CUPS 1327 server.</p></li><li class="listitem"><p>Let the CUPS server render the PostScript into device-specific raster format.</p></li></ul></div><p> 1328 1328 This requires the clients to use a PostScript driver (even if the 1329 1329 printer is a non-PostScript model. It also requires that you have a … … 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="id2640570"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2640582"></a><em class="parameter"><code>printcap = cups</code></em></td></tr></table><p>1334 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2646663"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2646674"></a><em class="parameter"><code>printcap = cups</code></em></td></tr></table><p> 1335 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 … … 1340 1340 commands to work with a Samba server that has CUPS support compiled in, simply use <a class="link" href="smb.conf.5.html#CLASSICALPRINTING" 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="id2640706"></a>Samba Receiving Job-Files and Passing Them to CUPS</h3></div></div></div><p>1342 </p><div class="figure"><a name="13small"></a><p class="title"><b>Figure 22.15. Printing via CUPS/Samba Server.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/13small.png" alt="Printing via CUPS/Samba Server."></div></div></div><br class="figure-break"></div><div class="sect2" title="Samba Receiving Job-Files and Passing Them to CUPS"><div class="titlepage"><div><div><h3 class="title"><a name="id2646799"></a>Samba Receiving Job-Files and Passing Them to CUPS</h3></div></div></div><p> 1343 1343 Samba <span class="emphasis"><em>must</em></span> use its own spool directory (it is set by a line similar to <a class="link" href="smb.conf.5.html#PATH" 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> … … 1346 1346 access rights of its spool directory and resets it to healthy values with every restart. We have seen quite a 1347 1347 few people who used a common spooling space for Samba and CUPS, and struggled for weeks with this 1348 “<span class="quote">problem.</span>” 1348 <span class="quote">“<span class="quote">problem.</span>”</span> 1349 1349 </p><p> 1350 1350 A Windows user authenticates only to Samba (by whatever means is 1351 1351 configured). If Samba runs on the same host as CUPS, you only need to 1352 allow “<span class="quote">localhost</span>”to print. If it runs on different machines, you1352 allow <span class="quote">“<span class="quote">localhost</span>”</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="id2640785"></a>Network PostScript RIP</h2></div></div></div><p>1354 </p></div></div><div class="sect1" title="Network PostScript RIP"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2646878"></a>Network PostScript RIP</h2></div></div></div><p> 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="id264 0802"></a>1359 <a class="indexterm" name="id264 0809"></a>1360 <a class="indexterm" name="id264 0815"></a>1358 <a class="indexterm" name="id2646895"></a> 1359 <a class="indexterm" name="id2646901"></a> 1360 <a class="indexterm" name="id2646908"></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 1363 1363 Apple Mac OS systems. They are ASCII files containing user-selectable print options, mapped to appropriate 1364 1364 PostScript, PCL, or PJL commands for the target printer. Printer driver GUI dialogs translate these options 1365 “<span class="quote">on the fly</span>”into buttons and drop-down lists for the user to select.1365 <span class="quote">“<span class="quote">on the fly</span>”</span> into buttons and drop-down lists for the user to select. 1366 1366 </p><p> 1367 1367 CUPS can load, without any conversions, the PPD file from any Windows (NT is recommended) PostScript driver … … 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="id2640876"></a>PPDs for Non-PS Printers on UNIX</h3></div></div></div><p>1374 <a class="indexterm" name="id264 0884"></a>1375 CUPS does not limit itself to “<span class="quote">real</span>”PostScript printers in its use of PPDs. The CUPS developers1373 </p><div class="sect2" title="PPDs for Non-PS Printers on UNIX"><div class="titlepage"><div><div><h3 class="title"><a name="id2646968"></a>PPDs for Non-PS Printers on UNIX</h3></div></div></div><p> 1374 <a class="indexterm" name="id2646976"></a> 1375 CUPS does not limit itself to <span class="quote">“<span class="quote">real</span>”</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 1377 1377 non-PostScript printers through CUPS-PPDs. … … 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="id2640920"></a>PPDs for Non-PS Printers on Windows</h3></div></div></div><p>1387 <a class="indexterm" name="id264 0928"></a>1388 CUPS-PPDs can also be used on Windows clients, on top of a “<span class="quote">core</span>”PostScript driver (now1386 </p></div><div class="sect2" title="PPDs for Non-PS Printers on Windows"><div class="titlepage"><div><div><h3 class="title"><a name="id2647013"></a>PPDs for Non-PS Printers on Windows</h3></div></div></div><p> 1387 <a class="indexterm" name="id2647021"></a> 1388 CUPS-PPDs can also be used on Windows clients, on top of a <span class="quote">“<span class="quote">core</span>”</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 1390 1390 limitations). This feature enables CUPS to do a few tricks no other spooler can do: 1391 </p><div class="itemizedlist"><ul type="disc"><li><p>1391 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 1392 1392 Act as a networked PostScript RIP handling print files from all client platforms in a uniform way. 1393 </p></li><li ><p>1393 </p></li><li class="listitem"><p> 1394 1394 Act as a central accounting and billing server, since all files are passed through the pstops filter and are therefore 1395 1395 logged in the CUPS <code class="filename">page_log</code> file. <span class="emphasis"><em>Note:</em></span> this cannot happen with 1396 “<span class="quote">raw</span>”print jobs, which always remain unfiltered per definition.1397 </p></li><li ><p>1396 <span class="quote">“<span class="quote">raw</span>”</span> print jobs, which always remain unfiltered per definition. 1397 </p></li><li class="listitem"><p> 1398 1398 Enable clients to consolidate on a single PostScript driver, even for many different target printers. 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="id2640988"></a>Windows Terminal Servers (WTS) as CUPS Clients</h2></div></div></div><p>1401 </p></div></div><div class="sect1" title="Windows Terminal Servers (WTS) as CUPS Clients"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2647081"></a>Windows Terminal Servers (WTS) as CUPS Clients</h2></div></div></div><p> 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="id2641003"></a>Printer Drivers Running in “<span class="quote">Kernel Mode</span>”Cause Many1405 </p><div class="sect2" title="Printer Drivers Running in “Kernel Mode” Cause Many Problems"><div class="titlepage"><div><div><h3 class="title"><a name="id2647095"></a>Printer Drivers Running in <span class="quote">“<span class="quote">Kernel Mode</span>”</span> Cause Many 1406 1406 Problems</h3></div></div></div><p> 1407 Windows NT printer drivers, which run in “<span class="quote">kernel mode</span>”, introduce a high risk for the stability1407 Windows NT printer drivers, which run in <span class="quote">“<span class="quote">kernel mode</span>”</span>, introduce a high risk for the stability 1408 1408 of the system if the driver is not really stable and well-tested. And there are a lot of bad drivers out 1409 1409 there! Especially notorious is the example of the PCL printer driver that had an additional sound module 1410 1410 running to notify users via soundcard of their finished jobs. Do I need to say that this one was also reliably 1411 causing “<span class="quote">blue screens of death</span>”on a regular basis?1411 causing <span class="quote">“<span class="quote">blue screens of death</span>”</span> on a regular basis? 1412 1412 </p><p> 1413 1413 PostScript drivers are generally well-tested. They are not known to cause any problems, even though they also … … 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="id2641041"></a>Workarounds Impose Heavy Limitations</h3></div></div></div><p>1417 </p></div><div class="sect2" title="Workarounds Impose Heavy Limitations"><div class="titlepage"><div><div><h3 class="title"><a name="id2647134"></a>Workarounds Impose Heavy Limitations</h3></div></div></div><p> 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="id2641059"></a>CUPS: A “<span class="quote">Magical Stone</span>”?</h3></div></div></div><p>1423 <a class="indexterm" name="id264 1070"></a>1424 <a class="indexterm" name="id264 1077"></a>1422 </p></div><div class="sect2" title="CUPS: A “Magical Stone”?"><div class="titlepage"><div><div><h3 class="title"><a name="id2647151"></a>CUPS: A <span class="quote">“<span class="quote">Magical Stone</span>”</span>?</h3></div></div></div><p> 1423 <a class="indexterm" name="id2647162"></a> 1424 <a class="indexterm" name="id2647169"></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 … … 1429 1429 paper trays, duplex printing, and other settings. However, there is a certain price for this too: a CUPS 1430 1430 server acting as a PostScript RIP for its clients requires more CPU and RAM than when just acting as a 1431 “<span class="quote">raw spooling</span>”device. Plus, this setup is not yet widely tested, although the first feedbacks1431 <span class="quote">“<span class="quote">raw spooling</span>”</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="id2641102"></a>PostScript Drivers with No Major Problems, Even in Kernel1433 </p></div><div class="sect2" title="PostScript Drivers with No Major Problems, Even in Kernel Mode"><div class="titlepage"><div><div><h3 class="title"><a name="id2647194"></a>PostScript Drivers with No Major Problems, Even in Kernel 1434 1434 Mode</h3></div></div></div><p> 1435 <a class="indexterm" name="id264 1110"></a>1436 <a class="indexterm" name="id264 1117"></a>1437 <a class="indexterm" name="id264 1124"></a>1438 <a class="indexterm" name="id264 1131"></a>1439 <a class="indexterm" name="id264 1138"></a>1440 <a class="indexterm" name="id264 1145"></a>1435 <a class="indexterm" name="id2647203"></a> 1436 <a class="indexterm" name="id2647210"></a> 1437 <a class="indexterm" name="id2647217"></a> 1438 <a class="indexterm" name="id2647223"></a> 1439 <a class="indexterm" name="id2647230"></a> 1440 <a class="indexterm" name="id2647237"></a> 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 1443 the drivers in subdirectory “<span class="quote">2</span>” of “<span class="quote">W32X86</span>” are “<span class="quote">old</span>”ones). As was1443 the drivers in subdirectory <span class="quote">“<span class="quote">2</span>”</span> of <span class="quote">“<span class="quote">W32X86</span>”</span> are <span class="quote">“<span class="quote">old</span>”</span> ones). As was 1444 1444 said before, the Adobe as well as the Microsoft PostScript drivers are not known to cause any stability 1445 1445 problems. The CUPS driver is derived from the Microsoft one. There is a simple reason for this: the MS DDK … … 1447 1447 includes the source code of the Microsoft driver, and licensees of Visual Studio are allowed to use and modify 1448 1448 it for their own driver development efforts. This is what the CUPS people have done. The license does not 1449 allow them to publish the whole of the source code. However, they have released the “<span class="quote">diff</span>”under1450 the GPL, and if you are the owner of an “<span class="quote">MS DDK for Windows NT,</span>”you can check the driver1449 allow them to publish the whole of the source code. However, they have released the <span class="quote">“<span class="quote">diff</span>”</span> under 1450 the GPL, and if you are the owner of an <span class="quote">“<span class="quote">MS DDK for Windows NT,</span>”</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="id2641189"></a>Configuring CUPS for Driver Download</h2></div></div></div><p>1452 </p></div></div><div class="sect1" title="Configuring CUPS for Driver Download"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2647282"></a>Configuring CUPS for Driver Download</h2></div></div></div><p> 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="id2641212"></a><span class="emphasis"><em>cupsaddsmb</em></span>: The Unknown Utility</h3></div></div></div><p>1458 <a class="indexterm" name="id264 1222"></a>1457 </p><div class="sect2" title="cupsaddsmb: The Unknown Utility"><div class="titlepage"><div><div><h3 class="title"><a name="id2647304"></a><span class="emphasis"><em>cupsaddsmb</em></span>: The Unknown Utility</h3></div></div></div><p> 1458 <a class="indexterm" name="id2647314"></a> 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 … … 1468 1468 <code class="filename">cups-samba-[version].tar.gz</code>. It is preferred over the Adobe drivers because it has a 1469 1469 number of advantages: 1470 </p><div class="itemizedlist"><ul type="disc"><li><p>It supports a much more accurate page accounting.</p></li><li><p>It supports banner pages and page labels on all printers.</p></li><li><p>It supports the setting of a number of job IPP attributes1470 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>It supports a much more accurate page accounting.</p></li><li class="listitem"><p>It supports banner pages and page labels on all printers.</p></li><li class="listitem"><p>It supports the setting of a number of job IPP attributes 1471 1471 (such as job priority, page label, and job billing).</p></li></ul></div><p> 1472 1472 However, currently only Windows NT, 2000, and XP are supported by the 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="id2641310"></a>Prepare Your <code class="filename">smb.conf</code> for <code class="literal">cupsaddsmb</code></h3></div></div></div><p>1475 </p></div><div class="sect2" title="Prepare Your smb.conf for cupsaddsmb"><div class="titlepage"><div><div><h3 class="title"><a name="id2647402"></a>Prepare Your <code class="filename">smb.conf</code> for <code class="literal">cupsaddsmb</code></h3></div></div></div><p> 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="id2641379"></a><em class="parameter"><code>load printers = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2641391"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2641403"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[printers]</code></em></td></tr><tr><td><a class="indexterm" name="id2641423"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2641435"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2641447"></a><em class="parameter"><code>browseable = no</code></em></td></tr><tr><td># setting depends on your requirements</td></tr><tr><td><a class="indexterm" name="id2641462"></a><em class="parameter"><code>guest ok = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2641474"></a><em class="parameter"><code>writable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2641486"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2641497"></a><em class="parameter"><code>printer admin = root</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[print$]</code></em></td></tr><tr><td><a class="indexterm" name="id2641518"></a><em class="parameter"><code>comment = Printer Drivers</code></em></td></tr><tr><td><a class="indexterm" name="id2641530"></a><em class="parameter"><code>path = /etc/samba/drivers</code></em></td></tr><tr><td><a class="indexterm" name="id2641542"></a><em class="parameter"><code>browseable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2641554"></a><em class="parameter"><code>guest ok = no</code></em></td></tr><tr><td><a class="indexterm" name="id2641565"></a><em class="parameter"><code>read only = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2641577"></a><em class="parameter"><code>write list = root, @smbprintadm</code></em></td></tr></table></div></div><br class="example-break"></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2641591"></a>CUPS “<span class="quote">PostScript Driver for Windows NT/200x/XP</span>”</h3></div></div></div><p>1479 <a class="indexterm" name="id264 1601"></a>1478 </p><div class="example"><a name="cupsadd-ex"></a><p class="title"><b>Example 22.3. smb.conf for cupsaddsmb Usage</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2647472"></a><em class="parameter"><code>load printers = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2647483"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2647495"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[printers]</code></em></td></tr><tr><td><a class="indexterm" name="id2647516"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2647528"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2647539"></a><em class="parameter"><code>browseable = no</code></em></td></tr><tr><td># setting depends on your requirements</td></tr><tr><td><a class="indexterm" name="id2647555"></a><em class="parameter"><code>guest ok = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2647566"></a><em class="parameter"><code>writable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2647578"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2647590"></a><em class="parameter"><code>printer admin = root</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[print$]</code></em></td></tr><tr><td><a class="indexterm" name="id2647611"></a><em class="parameter"><code>comment = Printer Drivers</code></em></td></tr><tr><td><a class="indexterm" name="id2647623"></a><em class="parameter"><code>path = /etc/samba/drivers</code></em></td></tr><tr><td><a class="indexterm" name="id2647634"></a><em class="parameter"><code>browseable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2647646"></a><em class="parameter"><code>guest ok = no</code></em></td></tr><tr><td><a class="indexterm" name="id2647658"></a><em class="parameter"><code>read only = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2647669"></a><em class="parameter"><code>write list = root, @smbprintadm</code></em></td></tr></table></div></div><br class="example-break"></div><div class="sect2" title="CUPS “PostScript Driver for Windows NT/200x/XP”"><div class="titlepage"><div><div><h3 class="title"><a name="id2647683"></a>CUPS <span class="quote">“<span class="quote">PostScript Driver for Windows NT/200x/XP</span>”</span></h3></div></div></div><p> 1479 <a class="indexterm" name="id2647694"></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="id264 1648"></a>1493 <a class="indexterm" name="id264 1657"></a>1492 <a class="indexterm" name="id2647740"></a> 1493 <a class="indexterm" name="id2647749"></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 1496 <code class="filename">*.ss</code> is nothing else but a tar archive, which can be untarred by “<span class="quote">tar</span>”too).1496 <code class="filename">*.ss</code> is nothing else but a tar archive, which can be untarred by <span class="quote">“<span class="quote">tar</span>”</span> too). 1497 1497 Then it puts the content into <code class="filename">/usr/share/cups/drivers/</code>. This content includes three 1498 1498 files: … … 1517 1517 </p><pre class="screen"> 1518 1518 <code class="prompt">root# </code><strong class="userinput"><code>cp /usr/share/drivers/cups.hlp /usr/share/cups/drivers/</code></strong> 1519 </pre><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>1519 </pre><div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p> 1520 1520 Due to a bug, one recent CUPS release puts the <code class="filename">cups.hlp</code> driver file 1521 1521 into<code class="filename">/usr/share/drivers/</code> instead of <code class="filename">/usr/share/cups/drivers/</code>. To work … … 1523 1523 the correct place. 1524 1524 </p></div><p> 1525 <a class="indexterm" name="id264 1809"></a>1525 <a class="indexterm" name="id2647902"></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 1528 1528 Microsoft Visual Studio 6. Driver developers are not allowed to distribute the whole of the source code as 1529 free software. However, CUPS developers released the “<span class="quote">diff</span>”in source code under the GPL, so1529 free software. However, CUPS developers released the <span class="quote">“<span class="quote">diff</span>”</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="id2641830"></a>Recognizing Different Driver Files</h3></div></div></div><p>1531 </p></div><div class="sect2" title="Recognizing Different Driver Files"><div class="titlepage"><div><div><h3 class="title"><a name="id2647923"></a>Recognizing Different Driver Files</h3></div></div></div><p> 1532 1532 The CUPS drivers do not support the older Windows 95/98/Me, but only the Windows NT/2000/XP client. 1533 </p><p>Windows NT, 2000, and XP are supported by:</p><div class="itemizedlist"><ul type="disc"><li><p>cups.hlp</p></li><li><p>cupsdrvr.dll</p></li><li><p>cupsui.dll</p></li></ul></div><p>1533 </p><p>Windows NT, 2000, and XP are supported by:</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>cups.hlp</p></li><li class="listitem"><p>cupsdrvr.dll</p></li><li class="listitem"><p>cupsui.dll</p></li></ul></div><p> 1534 1534 Adobe drivers are available for the older Windows 95/98/Me as well as 1535 1535 for Windows NT/2000/XP clients. The set of files is different from the 1536 1536 different platforms. 1537 </p><p>Windows 95, 98, and ME are supported by:</p><div class="itemizedlist"><ul type="disc"><li><p>ADFONTS.MFM</p></li><li><p>ADOBEPS4.DRV</p></li><li><p>ADOBEPS4.HLP</p></li><li><p>DEFPRTR2.PPD</p></li><li><p>ICONLIB.DLL</p></li><li><p>PSMON.DLL</p></li></ul></div><p>Windows NT, 2000, and XP are supported by:</p><div class="itemizedlist"><ul type="disc"><li><p>ADOBEPS5.DLL</p></li><li><p>ADOBEPSU.DLL</p></li><li><p>ADOBEPSU.HLP</p></li></ul></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>1538 <a class="indexterm" name="id264 1928"></a>1537 </p><p>Windows 95, 98, and ME are supported by:</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>ADFONTS.MFM</p></li><li class="listitem"><p>ADOBEPS4.DRV</p></li><li class="listitem"><p>ADOBEPS4.HLP</p></li><li class="listitem"><p>DEFPRTR2.PPD</p></li><li class="listitem"><p>ICONLIB.DLL</p></li><li class="listitem"><p>PSMON.DLL</p></li></ul></div><p>Windows NT, 2000, and XP are supported by:</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>ADOBEPS5.DLL</p></li><li class="listitem"><p>ADOBEPSU.DLL</p></li><li class="listitem"><p>ADOBEPSU.HLP</p></li></ul></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 1538 <a class="indexterm" name="id2648020"></a> 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="id2641949"></a>Acquiring the Adobe Driver Files</h3></div></div></div><p>1543 </p></div></div><div class="sect2" title="Acquiring the Adobe Driver Files"><div class="titlepage"><div><div><h3 class="title"><a name="id2648041"></a>Acquiring the Adobe Driver Files</h3></div></div></div><p> 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="id2641974"></a>ESP Print Pro PostScript Driver for Windows NT/200x/XP</h3></div></div></div><p>1550 <a class="indexterm" name="id264 1983"></a>1549 </p></div><div class="sect2" title="ESP Print Pro PostScript Driver for Windows NT/200x/XP"><div class="titlepage"><div><div><h3 class="title"><a name="id2648067"></a>ESP Print Pro PostScript Driver for Windows NT/200x/XP</h3></div></div></div><p> 1550 <a class="indexterm" name="id2648075"></a> 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 1553 1553 Pro software at <a class="ulink" href="http://www.easysw.com/software.html" target="_top">Easy Software</a> web site. 1554 You need to locate the link labeled “<span class="quote">SAMBA</span>”among the <span class="guilabel">Download Printer Drivers for ESP1554 You need to locate the link labeled <span class="quote">“<span class="quote">SAMBA</span>”</span> among the <span class="guilabel">Download Printer Drivers for ESP 1555 1555 Print Pro 4.x</span> area and download the package. Once installed, you can prepare any driver by simply 1556 1556 highlighting the printer in the Printer Manager GUI and selecting <span class="guilabel">Export Driver...</span> from … … 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="id2642037"></a>Caveats to Be Considered</h3></div></div></div><p>1561 <a class="indexterm" name="id264 2045"></a>1562 <a class="indexterm" name="id264 2051"></a>1563 <a class="indexterm" name="id264 2058"></a>1564 <a class="indexterm" name="id264 2065"></a>1560 </p></div><div class="sect2" title="Caveats to Be Considered"><div class="titlepage"><div><div><h3 class="title"><a name="id2648129"></a>Caveats to Be Considered</h3></div></div></div><p> 1561 <a class="indexterm" name="id2648137"></a> 1562 <a class="indexterm" name="id2648144"></a> 1563 <a class="indexterm" name="id2648151"></a> 1564 <a class="indexterm" name="id2648157"></a> 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 … … 1568 1568 running <code class="literal">cupsaddsmb</code> (see also <code class="literal">man cupsaddsmb</code> for CUPS since release 1569 1569 1.1.16). 1570 </p><div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Tip</h3><p>1571 <a class="indexterm" name="id264 2124"></a>1572 <a class="indexterm" name="id264 2131"></a>1570 </p><div class="tip" title="Tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Tip</h3><p> 1571 <a class="indexterm" name="id2648216"></a> 1572 <a class="indexterm" name="id2648223"></a> 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 … … 1577 1577 Once the driver files are in the <em class="parameter"><code>[print$]</code></em> share and are initialized, they are ready 1578 1578 to be downloaded and installed by the Windows NT/200x/XP clients. 1579 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>1579 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 1580 1580 Win 9x/Me clients will not work with the CUPS PostScript driver. For these you still need to use the 1581 1581 <code class="filename">ADOBE*.*</code> drivers, as previously stated. 1582 </p></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>1582 </p></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 1583 1583 It is not harmful if you still have the <code class="filename">ADOBE*.*</code> driver files from previous installations 1584 1584 in the <code class="filename">/usr/share/cups/drivers/</code> directory. The new <code class="literal">cupsaddsmb</code> (from 1585 1585 1.1.16) will automatically prefer its own drivers if it finds both. 1586 </p></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>1587 <a class="indexterm" name="id264 2206"></a>1588 <a class="indexterm" name="id264 2213"></a>1586 </p></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 1587 <a class="indexterm" name="id2648299"></a> 1588 <a class="indexterm" name="id2648306"></a> 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 1591 1591 fail at first. You need to wipe the old driver from the clients first. It is not enough to 1592 “<span class="quote">delete</span>”the printer, because the driver files will still be kept by the clients and re-used if1592 <span class="quote">“<span class="quote">delete</span>”</span> the printer, because the driver files will still be kept by the clients and re-used if 1593 1593 you try to re-install the printer. To really get rid of the Adobe driver files on the clients, open the 1594 1594 <span class="guilabel">Printers</span> folder (possibly via <span class="guilabel">Start -> Settings -> Control Panel -> … … 1596 1596 Properties</span>. When the new dialog opens, select the <span class="guilabel">Drivers</span> tab. On the list 1597 1597 select the driver you want to delete and click the <span class="guilabel">Delete</span> button. This will only work if 1598 there is not one single printer left that uses that particular driver. You need to “<span class="quote">delete</span>”all1598 there is not one single printer left that uses that particular driver. You need to <span class="quote">“<span class="quote">delete</span>”</span> all 1599 1599 printers using this driver in the <span class="guilabel">Printers</span> folder first. You will need Administrator 1600 1600 privileges to do this. 1601 </p></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>1602 <a class="indexterm" name="id264 2289"></a>1603 <a class="indexterm" name="id264 2298"></a>1601 </p></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 1602 <a class="indexterm" name="id2648381"></a> 1603 <a class="indexterm" name="id2648390"></a> 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="id2642336"></a>Windows CUPS PostScript Driver Versus Adobe Driver</h3></div></div></div><p>1609 </p></div></div><div class="sect2" title="Windows CUPS PostScript Driver Versus Adobe Driver"><div class="titlepage"><div><div><h3 class="title"><a name="id2648429"></a>Windows CUPS PostScript Driver Versus Adobe Driver</h3></div></div></div><p> 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 </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 I1613 get the ADOBE*.* driver files?</span>”</ p></li><li><p>1614 <a class="indexterm" name="id264 2367"></a>1612 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>No hassle with the Adobe EULA.</p></li><li class="listitem"><p>No hassle with the question, <span class="quote">“<span class="quote">Where do I 1613 get the ADOBE*.* driver files?</span>”</span></p></li><li class="listitem"><p> 1614 <a class="indexterm" name="id2648459"></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="id264 2405"></a>1620 regarded as the generic MIME-type <a class="indexterm" name="id2648498"></a> 1621 1621 <em class="parameter"><code>application/postscript</code></em>, but as the more special MIME type 1622 <a class="indexterm" name="id264 2419"></a>1622 <a class="indexterm" name="id2648511"></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 number of “<span class="quote">1</span>”is logged in a standard setup).1626 </p></li><li ><p>The Adobe driver has more options to misconfigure the1627 <a class="indexterm" name="id264 2450"></a>1625 number of <span class="quote">“<span class="quote">1</span>”</span> is logged in a standard setup). 1626 </p></li><li class="listitem"><p>The Adobe driver has more options to misconfigure the 1627 <a class="indexterm" name="id2648542"></a> 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 could lead to CUPS being unable to process it).</p></li><li ><p>The CUPS PostScript driver output sent by Windows1632 <a class="indexterm" name="id264 2477"></a>1631 could lead to CUPS being unable to process it).</p></li><li class="listitem"><p>The CUPS PostScript driver output sent by Windows 1632 <a class="indexterm" name="id2648569"></a> 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>, 1635 1635 thus passing through the CUPS <em class="parameter"><code>pstops</code></em> filter and logging the 1636 1636 correct number of pages in the <code class="filename">page_log</code> for 1637 accounting and quota purposes.</p></li><li ><p>1638 <a class="indexterm" name="id264 2510"></a>1637 accounting and quota purposes.</p></li><li class="listitem"><p> 1638 <a class="indexterm" name="id2648602"></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 … … 1642 1642 page-label option, setting a job priority, and setting the scheduled time of printing (with the option to 1643 1643 support additional useful IPP job attributes in the future). 1644 </p></li><li ><p>The CUPS PostScript driver supports the inclusion of1644 </p></li><li class="listitem"><p>The CUPS PostScript driver supports the inclusion of 1645 1645 the new <em class="parameter"><code>*cupsJobTicket</code></em> comments at the 1646 1646 beginning of the PostScript file (which could be used in the future 1647 1647 for all sorts of beneficial extensions on the CUPS side, but which will 1648 1648 not disturb any other applications because they will regard it as a comment 1649 and simply ignore it).</p></li><li ><p>The CUPS PostScript driver will be the heart of the1649 and simply ignore it).</p></li><li class="listitem"><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="id2642554"></a>Run cupsaddsmb (Quiet Mode)</h3></div></div></div><p>1652 <a class="indexterm" name="id264 2562"></a>1653 <a class="indexterm" name="id264 2569"></a>1651 (probably alongside the first beta release for CUPS 1.2).</p></li></ul></div></div><div class="sect2" title="Run cupsaddsmb (Quiet Mode)"><div class="titlepage"><div><div><h3 class="title"><a name="id2648647"></a>Run cupsaddsmb (Quiet Mode)</h3></div></div></div><p> 1652 <a class="indexterm" name="id2648655"></a> 1653 <a class="indexterm" name="id2648661"></a> 1654 1654 The <code class="literal">cupsaddsmb</code> command copies the needed files into your <em class="parameter"><code>[print$]</code></em> 1655 1655 share. Additionally, the PPD associated with this printer is copied from <code class="filename">/etc/cups/ppd/</code> … … 1659 1659 </p><p> 1660 1660 Here is an example of a successfully run <code class="literal">cupsaddsmb</code> command: 1661 <a class="indexterm" name="id264 2627"></a>1662 <a class="indexterm" name="id264 2634"></a>1661 <a class="indexterm" name="id2648719"></a> 1662 <a class="indexterm" name="id2648726"></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="id264 2666"></a>1667 <a class="indexterm" name="id2648758"></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 <code class="literal">cupsaddsmb</code> “<span class="quote">exports</span>”the printer drivers to Samba, it should be1670 <code class="literal">cupsaddsmb</code> <span class="quote">“<span class="quote">exports</span>”</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="id2642694"></a>Run cupsaddsmb with Verbose Output</h3></div></div></div><p>1673 <a class="indexterm" name="id264 2703"></a>1672 </p></div><div class="sect2" title="Run cupsaddsmb with Verbose Output"><div class="titlepage"><div><div><h3 class="title"><a name="id2648787"></a>Run cupsaddsmb with Verbose Output</h3></div></div></div><p> 1673 <a class="indexterm" name="id2648795"></a> 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 1676 output below was edited for better readability: all “<span class="quote">\</span>”at the end of1676 output below was edited for better readability: all <span class="quote">“<span class="quote">\</span>”</span> at the end of 1677 1677 a line indicate that I inserted an artificial line break plus some 1678 1678 indentation here: 1679 <a class="indexterm" name="id264 2720"></a>1680 <a class="indexterm" name="id264 2730"></a>1679 <a class="indexterm" name="id2648813"></a> 1680 <a class="indexterm" name="id2648822"></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> … … 1740 1740 cmd = setdriver infotec_2105 infotec_2105 1741 1741 Successfully set infotec_2105 to driver infotec_2105. 1742 </pre><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>1742 </pre><div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p> 1743 1743 You will see the root password for the Samba account printed on screen. 1744 1744 </p></div><p> … … 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="id2642886"></a>Understanding cupsaddsmb</h3></div></div></div><p>1750 <a class="indexterm" name="id264 2894"></a>1749 </p></div><div class="sect2" title="Understanding cupsaddsmb"><div class="titlepage"><div><div><h3 class="title"><a name="id2648978"></a>Understanding cupsaddsmb</h3></div></div></div><p> 1750 <a class="indexterm" name="id2648986"></a> 1751 1751 What has happened? What did <code class="literal">cupsaddsmb</code> do? There are five stages of the procedure: 1752 </p><div class="orderedlist"><ol type="1"><li><p>1753 <a class="indexterm" name="id264 2919"></a>1754 Call the CUPS server via IPP and request the driver files and the PPD file for the named printer.</p></li><li ><p>Store the files temporarily in the local TEMPDIR (as defined in <code class="filename">cupsd.conf</code>).</p></li><li><p>Connect via smbclient to the Samba server's <em class="parameter"><code>[print$]</code></em> share and put the files into the1755 share's WIN40 (for Windows 9x/Me) and W32X86 (for Windows NT/200x/XP) subdirectories.</p></li><li ><p>1756 <a class="indexterm" name="id264 2956"></a>1752 </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p> 1753 <a class="indexterm" name="id2649011"></a> 1754 Call the CUPS server via IPP and request the driver files and the PPD file for the named printer.</p></li><li class="listitem"><p>Store the files temporarily in the local TEMPDIR (as defined in <code class="filename">cupsd.conf</code>).</p></li><li class="listitem"><p>Connect via smbclient to the Samba server's <em class="parameter"><code>[print$]</code></em> share and put the files into the 1755 share's WIN40 (for Windows 9x/Me) and W32X86 (for Windows NT/200x/XP) subdirectories.</p></li><li class="listitem"><p> 1756 <a class="indexterm" name="id2649048"></a> 1757 1757 Connect via rpcclient to the Samba server and execute the <code class="literal">adddriver</code> command with the correct parameters. 1758 </p></li><li ><p>1759 <a class="indexterm" name="id264 2977"></a>1760 Connect via rpcclient to the Samba server a second time and execute the <code class="literal">setdriver</code> command.</p></li></ol></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>1758 </p></li><li class="listitem"><p> 1759 <a class="indexterm" name="id2649069"></a> 1760 Connect via rpcclient to the Samba server a second time and execute the <code class="literal">setdriver</code> command.</p></li></ol></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 1761 1761 You can run the <code class="literal">cupsaddsmb</code> utility with parameters to specify one remote host as Samba host 1762 1762 and a second remote host as CUPS host. Especially if you want to get a deeper understanding, it is a good idea … … 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="id2643030"></a>How to Recognize If cupsaddsmb Completed Successfully</h3></div></div></div><p>1768 </p></div></div><div class="sect2" title="How to Recognize If cupsaddsmb Completed Successfully"><div class="titlepage"><div><div><h3 class="title"><a name="id2649123"></a>How to Recognize If cupsaddsmb Completed Successfully</h3></div></div></div><p> 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 1771 1771 among the output: 1772 </p><div class="orderedlist"><ol type="1"><li><p><span class="emphasis"><em>Printer Driver infotec_2105 successfully1772 </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p><span class="emphasis"><em>Printer Driver infotec_2105 successfully 1773 1773 installed.</em></span> # (for the W32X86 == Windows NT/200x/XP 1774 architecture).</p></li><li ><p><span class="emphasis"><em>Printer Driver infotec_2105 successfully1774 architecture).</p></li><li class="listitem"><p><span class="emphasis"><em>Printer Driver infotec_2105 successfully 1775 1775 installed.</em></span> # (for the WIN40 == Windows 9x/Me 1776 architecture).</p></li><li ><p><span class="emphasis"><em>Successfully set [printerXPZ] to driver1776 architecture).</p></li><li class="listitem"><p><span class="emphasis"><em>Successfully set [printerXPZ] to driver 1777 1777 [printerXYZ].</em></span></p></li></ol></div><p> 1778 1778 These messages are probably not easily recognized in the general … … 1789 1789 </pre><p> 1790 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 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 of1791 Setting it to <span class="quote">“<span class="quote">no</span>”</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>. 1793 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>1793 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 1794 1794 It is impossible to see any diagnostic output if you do not run <code class="literal">cupsaddsmb</code> in verbose mode. 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="id2643152"></a>cupsaddsmb with a Samba PDC</h3></div></div></div><p>1798 <a class="indexterm" name="id264 3160"></a>1799 <a class="indexterm" name="id264 3167"></a>1797 </p></div></div><div class="sect2" title="cupsaddsmb with a Samba PDC"><div class="titlepage"><div><div><h3 class="title"><a name="id2649245"></a>cupsaddsmb with a Samba PDC</h3></div></div></div><p> 1798 <a class="indexterm" name="id2649253"></a> 1799 <a class="indexterm" name="id2649260"></a> 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 … … 1806 1806 <code class="prompt">root# </code><strong class="userinput"><code>cupsaddsmb -H SAURON -U MIDEARTH\\root -h cups-server -v printername</code></strong> 1807 1807 </pre><p> 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="id2643233"></a>cupsaddsmb Flowchart</h3></div></div></div><p>1810 <a class="indexterm" name="id264 3241"></a>1811 <a class="indexterm" name="id264 3248"></a>1808 (Note the two backslashes: the first one is required to <span class="quote">“<span class="quote">escape</span>”</span> the second one). 1809 </p></div><div class="sect2" title="cupsaddsmb Flowchart"><div class="titlepage"><div><div><h3 class="title"><a name="id2649326"></a>cupsaddsmb Flowchart</h3></div></div></div><p> 1810 <a class="indexterm" name="id2649334"></a> 1811 <a class="indexterm" name="id2649341"></a> 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="id2643314"></a>Installing the PostScript Driver on a Client</h3></div></div></div><p>1816 <a class="indexterm" name="id264 3323"></a>1817 <a class="indexterm" name="id264 3330"></a>1815 </p><div class="figure"><a name="small14"></a><p class="title"><b>Figure 22.16. cupsaddsmb Flowchart.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/14small.png" alt="cupsaddsmb Flowchart."></div></div></div><br class="figure-break"></div><div class="sect2" title="Installing the PostScript Driver on a Client"><div class="titlepage"><div><div><h3 class="title"><a name="id2649407"></a>Installing the PostScript Driver on a Client</h3></div></div></div><p> 1816 <a class="indexterm" name="id2649415"></a> 1817 <a class="indexterm" name="id2649422"></a> 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 </p><div class="itemizedlist"><ul type="disc"><li><p>1822 <a class="indexterm" name="id264 3352"></a>1823 Open the <span class="guilabel">Printers</span> share of Samba in Network Neighborhood.</p></li><li ><p>Right-click on the printer in question.</p></li><li><p>From the opening context menu select1821 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 1822 <a class="indexterm" name="id2649445"></a> 1823 Open the <span class="guilabel">Printers</span> share of Samba in Network Neighborhood.</p></li><li class="listitem"><p>Right-click on the printer in question.</p></li><li class="listitem"><p>From the opening context menu select 1824 1824 <span class="guimenuitem">Install...</span> or 1825 1825 <span class="guimenuitem">Connect...</span> (depending on the Windows version you use).</p></li></ul></div><p> … … 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="id264 3422"></a>1834 <a class="indexterm" name="id264 3428"></a>1835 <a class="indexterm" name="id264 3435"></a>1833 <a class="indexterm" name="id2649514"></a> 1834 <a class="indexterm" name="id2649521"></a> 1835 <a class="indexterm" name="id2649528"></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 … … 1841 1841 <code class="prompt">C:\> </code><strong class="userinput"><code>net use lpt1: \\sambaserver\printershare /user:ntadmin</code></strong> 1842 1842 </pre><p> 1843 should you desire to use the CUPS networked PostScript RIP functions. (Note that user “<span class="quote">ntadmin</span>”1843 should you desire to use the CUPS networked PostScript RIP functions. (Note that user <span class="quote">“<span class="quote">ntadmin</span>”</span> 1844 1844 needs to be a valid Samba user with the required privileges to access the printershare.) This sets up the 1845 1845 printer connection in the traditional LanMan way (not using MS-RPC). 1846 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="cups-avoidps1"></a>Avoiding Critical PostScript Driver Settings on the Client</h3></div></div></div><p>1846 </p></div><div class="sect2" title="Avoiding Critical PostScript Driver Settings on the Client"><div class="titlepage"><div><div><h3 class="title"><a name="cups-avoidps1"></a>Avoiding Critical PostScript Driver Settings on the Client</h3></div></div></div><p> 1847 1847 Printing works, but there are still problems. Most jobs print well, some do not print at all. Some jobs have 1848 1848 problems with fonts, which do not look very good. Some jobs print fast and some are dead-slow. Many of these … … 1850 1850 your print device is not PostScript-enabled, you are treating your Ghostscript installation on your CUPS host 1851 1851 with the output your client driver settings produce. Treat it well: 1852 </p><div class="itemizedlist"><ul type="disc"><li><p>1852 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 1853 1853 Avoid the PostScript Output Option: Optimize for Speed setting. Use the Optimize for Portability instead 1854 (Adobe PostScript driver).</p></li><li ><p>1854 (Adobe PostScript driver).</p></li><li class="listitem"><p> 1855 1855 Don't use the Page Independence: NO setting. Instead, use Page Independence: YES (CUPS PostScript Driver). 1856 </p></li><li ><p>1856 </p></li><li class="listitem"><p> 1857 1857 Recommended is the True Type Font Downloading Option: Native True Type over Automatic and Outline; 1858 you should by all means avoid Bitmap (Adobe PostScript Driver).</p></li><li ><p>1858 you should by all means avoid Bitmap (Adobe PostScript Driver).</p></li><li class="listitem"><p> 1859 1859 Choose True Type Font: Download as Softfont into Printer over the default Replace by Device 1860 Font (for exotic fonts, you may need to change it back to get a printout at all; Adobe).</p></li><li ><p>1860 Font (for exotic fonts, you may need to change it back to get a printout at all; Adobe).</p></li><li class="listitem"><p> 1861 1861 Sometimes you can choose PostScript Language Level: in case of problems try 2 1862 1862 instead of 3 (the latest ESP Ghostscript package handles Level 3 PostScript very well; Adobe). 1863 </p></li><li ><p>1864 Say Yes to PostScript Error Handler (Adobe).</p></li></ul></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2643549"></a>Installing PostScript Driver Files Manually Using rpcclient</h2></div></div></div><p>1863 </p></li><li class="listitem"><p> 1864 Say Yes to PostScript Error Handler (Adobe).</p></li></ul></div></div></div><div class="sect1" title="Installing PostScript Driver Files Manually Using rpcclient"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2649642"></a>Installing PostScript Driver Files Manually Using rpcclient</h2></div></div></div><p> 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 1867 1867 and prepare the driver files for future client downloads. 1868 </p><div class="orderedlist"><ol type="1"><li><p>Prepare Samba (a CUPS print queue with the name of the1869 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="id264 3588"></a>1868 </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>Prepare Samba (a CUPS print queue with the name of the 1869 printer should be there. We are providing the driver now).</p></li><li class="listitem"><p>Copy all files to <em class="parameter"><code>[print$]</code></em>.</p></li><li class="listitem"><p> 1870 <a class="indexterm" name="id2649681"></a> 1871 1871 Run <code class="literal">rpcclient adddriver</code> 1872 (for each client architecture you want to support).</p></li><li ><p>1873 <a class="indexterm" name="id264 3609"></a>1872 (for each client architecture you want to support).</p></li><li class="listitem"><p> 1873 <a class="indexterm" name="id2649701"></a> 1874 1874 Run <code class="literal">rpcclient setdriver.</code></p></li></ol></div><p> 1875 <a class="indexterm" name="id264 3628"></a>1876 <a class="indexterm" name="id264 3637"></a>1877 <a class="indexterm" name="id264 3646"></a>1878 <a class="indexterm" name="id264 3655"></a>1879 <a class="indexterm" name="id264 3665"></a>1875 <a class="indexterm" name="id2649720"></a> 1876 <a class="indexterm" name="id2649729"></a> 1877 <a class="indexterm" name="id2649739"></a> 1878 <a class="indexterm" name="id2649748"></a> 1879 <a class="indexterm" name="id2649757"></a> 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="id2643723"></a>A Check of the rpcclient man Page</h3></div></div></div><p>1886 </p><div class="sect2" title="A Check of the rpcclient man Page"><div class="titlepage"><div><div><h3 class="title"><a name="id2649816"></a>A Check of the rpcclient man Page</h3></div></div></div><p> 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="id264 3742"></a>1890 <a class="indexterm" name="id264 3748"></a>1891 <a class="indexterm" name="id264 3755"></a>1889 <a class="indexterm" name="id2649834"></a> 1890 <a class="indexterm" name="id2649841"></a> 1891 <a class="indexterm" name="id2649848"></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 … … 1905 1905 Comma Separated list of Files 1906 1906 </pre><p> 1907 Any empty fields should be entered as the string “<span class="quote">NULL</span>”.1907 Any empty fields should be entered as the string <span class="quote">“<span class="quote">NULL</span>”</span>. 1908 1908 </p><p> 1909 1909 Samba does not need to support the concept of print monitors, since these only apply to local printers whose 1910 drivers can use a bidirectional link for communication. This field should be “<span class="quote">NULL</span>”. On a remote1910 drivers can use a bidirectional link for communication. This field should be <span class="quote">“<span class="quote">NULL</span>”</span>. On a remote 1911 1911 NT print server, the print monitor for a driver must already be installed before adding the driver or else the 1912 1912 RPC will fail. 1913 1913 </p><p> 1914 <a class="indexterm" name="id264 3833"></a>1915 <a class="indexterm" name="id264 3840"></a>1914 <a class="indexterm" name="id2649926"></a> 1915 <a class="indexterm" name="id2649933"></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="id264 3866"></a>1921 <a class="indexterm" name="id264 3872"></a>1920 <a class="indexterm" name="id2649958"></a> 1921 <a class="indexterm" name="id2649965"></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="id2643895"></a>Understanding the rpcclient man Page</h3></div></div></div><p>1925 <a class="indexterm" name="id264 3903"></a>1924 </p></div><div class="sect2" title="Understanding the rpcclient man Page"><div class="titlepage"><div><div><h3 class="title"><a name="id2649987"></a>Understanding the rpcclient man Page</h3></div></div></div><p> 1925 <a class="indexterm" name="id2649996"></a> 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 1928 indicated the breaks with “<span class="quote">\</span>”. Usually you would type the command in one line without the line1928 indicated the breaks with <span class="quote">“<span class="quote">\</span>”</span>. Usually you would type the command in one line without the line 1929 1929 breaks: 1930 1930 </p><pre class="screen"> … … 1936 1936 eight colon-separated fields. The last field may take multiple (in some very insane cases, even 20 different 1937 1937 additional) files. This might sound confusing at first. What the man pages call the 1938 “<span class="quote">LongPrinterName</span>” in reality should be called the “<span class="quote">Driver Name</span>”. You can name it1938 <span class="quote">“<span class="quote">LongPrinterName</span>”</span> in reality should be called the <span class="quote">“<span class="quote">Driver Name</span>”</span>. You can name it 1939 1939 anything you want, as long as you use this name later in the <code class="literal">rpcclient ... setdriver</code> 1940 1940 command. For practical reasons, many name the driver the same as the printer. 1941 1941 </p><p> 1942 It isn't simple at all. I hear you asking: “<span class="quote">How do I know which files are Driver File</span>”,1943 “<span class="quote">Data File</span>”, “<span class="quote">Config File</span>”, “<span class="quote">Help File</span>” and“<span class="quote">Language Monitor1944 File in each case?</span>” For an answer, you may want to have a look at how a Windows NT box with a shared1942 It isn't simple at all. I hear you asking: <span class="quote">“<span class="quote">How do I know which files are Driver File</span>”</span>, 1943 <span class="quote">“<span class="quote">Data File</span>”</span>, <span class="quote">“<span class="quote">Config File</span>”</span>, <span class="quote">“<span class="quote">Help File</span>”</span> and <span class="quote">“<span class="quote">Language Monitor 1944 File in each case?</span>”</span> For an answer, you may want to have a look at how a Windows NT box with a shared 1945 1945 printer presents the files to us. Remember that this whole procedure has to be developed by the Samba Team by 1946 1946 listening to the traffic caused by Windows computers on the wire. We may as well turn to a Windows box now 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="id2644000"></a>Producing an Example by Querying a Windows Box</h3></div></div></div><p>1950 <a class="indexterm" name="id26 44008"></a>1951 <a class="indexterm" name="id26 44017"></a>1949 </p></div><div class="sect2" title="Producing an Example by Querying a Windows Box"><div class="titlepage"><div><div><h3 class="title"><a name="id2650092"></a>Producing an Example by Querying a Windows Box</h3></div></div></div><p> 1950 <a class="indexterm" name="id2650101"></a> 1951 <a class="indexterm" name="id2650110"></a> 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 44068"></a>1959 <a class="indexterm" name="id2650161"></a> 1960 1960 </p><pre class="screen"> 1961 1961 <code class="prompt">root# </code><strong class="userinput"><code>rpcclient -U'Danka%xxxx' W200xSERVER \ … … 1987 1987 would go into the last field <em class="parameter"><code>ListOfFiles,Comma-separated</code></em>. For the CUPS PostScript 1988 1988 drivers, we do not need any (nor would we for the Adobe PostScript driver); therefore, the field will get a 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="id2644132"></a>Requirements for adddriver and setdriver to Succeed</h3></div></div></div><p>1991 <a class="indexterm" name="id26 44140"></a>1992 <a class="indexterm" name="id26 44150"></a>1993 <a class="indexterm" name="id26 44156"></a>1989 <span class="quote">“<span class="quote">NULL</span>”</span> entry. 1990 </p></div><div class="sect2" title="Requirements for adddriver and setdriver to Succeed"><div class="titlepage"><div><div><h3 class="title"><a name="id2650224"></a>Requirements for adddriver and setdriver to Succeed</h3></div></div></div><p> 1991 <a class="indexterm" name="id2650233"></a> 1992 <a class="indexterm" name="id2650242"></a> 1993 <a class="indexterm" name="id2650249"></a> 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" target="_top">printer admin</a> or root (this is1999 <span class="emphasis"><em>not</em></span> the “<span class="quote">Printer Operators</span>”group in NT, but the <span class="emphasis"><em>printer1998 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>You are connected as <a class="link" href="smb.conf.5.html#PRINTERADMIN" target="_top">printer admin</a> or root (this is 1999 <span class="emphasis"><em>not</em></span> the <span class="quote">“<span class="quote">Printer Operators</span>”</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>). 2001 </p></li><li ><p>Copy all required driver files to <code class="filename">\\SAMBA\print$\w32x86</code> and2002 <code class="filename">\\SAMBA\print$\win40</code> as appropriate. They will end up in the “<span class="quote">0</span>”respective2003 “<span class="quote">2</span>”subdirectories later. For now, <span class="emphasis"><em>do not</em></span> put them there; they'll be2001 </p></li><li class="listitem"><p>Copy all required driver files to <code class="filename">\\SAMBA\print$\w32x86</code> and 2002 <code class="filename">\\SAMBA\print$\win40</code> as appropriate. They will end up in the <span class="quote">“<span class="quote">0</span>”</span> respective 2003 <span class="quote">“<span class="quote">2</span>”</span> subdirectories later. For now, <span class="emphasis"><em>do not</em></span> put them there; they'll be 2004 2004 automatically used by the <code class="literal">adddriver</code> subcommand. (If you use <code class="literal">smbclient</code> to 2005 put the driver files into the share, note that you need to escape the “<span class="quote">$</span>”: <code class="literal">smbclient2006 //sambaserver/print\$ -U root.</code>)</p></li><li ><p>The user you're connecting as must be able to write to2005 put the driver files into the share, note that you need to escape the <span class="quote">“<span class="quote">$</span>”</span>: <code class="literal">smbclient 2006 //sambaserver/print\$ -U root.</code>)</p></li><li class="listitem"><p>The user you're connecting as must be able to write to 2007 2007 the <em class="parameter"><code>[print$]</code></em> share and create 2008 subdirectories.</p></li><li ><p>The printer you are going to set up for the Windows2009 clients needs to be installed in CUPS already.</p></li><li ><p>2010 <a class="indexterm" name="id26 44310"></a>2011 <a class="indexterm" name="id26 44319"></a>2008 subdirectories.</p></li><li class="listitem"><p>The printer you are going to set up for the Windows 2009 clients needs to be installed in CUPS already.</p></li><li class="listitem"><p> 2010 <a class="indexterm" name="id2650402"></a> 2011 <a class="indexterm" name="id2650411"></a> 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="id2644357"></a>Manual Driver Installation in 15 Steps</h3></div></div></div><p>2017 </p></li></ul></div></div><div class="sect2" title="Manual Driver Installation in 15 Steps"><div class="titlepage"><div><div><h3 class="title"><a name="id2650449"></a>Manual Driver Installation in 15 Steps</h3></div></div></div><p> 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="id2644370"></a><p class="title"><b>Procedure 22.2. Manual Driver Installation</b></p><ol type="1"><li><p class="title"><b>Install the printer on CUPS.</b></p><pre class="screen">2022 </p><div class="procedure" title="Procedure 22.2. Manual Driver Installation"><a name="id2650463"></a><p class="title"><b>Procedure 22.2. Manual Driver Installation</b></p><ol class="procedure" type="1"><li class="step" title="Install the printer on CUPS."><p class="title"><b>Install the printer on CUPS.</b></p><pre class="screen"> 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> … … 2028 2028 (a.k.a. JetDirect or Direct TCP/IP) connection. You need to be root 2029 2029 for this step. 2030 </p></li><li ><p class="title"><b>(Optional.) Check if the printer is recognized by Samba.</b></p><p>2031 <a class="indexterm" name="id26 44427"></a>2030 </p></li><li class="step" title="(Optional.) Check if the printer is recognized by Samba."><p class="title"><b>(Optional.) Check if the printer is recognized by Samba.</b></p><p> 2031 <a class="indexterm" name="id2650519"></a> 2032 2032 </p><pre class="screen"> 2033 2033 <code class="prompt">root# </code><strong class="userinput"><code>rpcclient -Uroot%xxxx -c 'enumprinters' localhost \ … … 2043 2043 <code class="prompt">root# </code><strong class="userinput"><code>kill -HUP `pidof smbd`</code></strong> 2044 2044 </pre><p> 2045 Check again. Troubleshoot and repeat until successful. Note the “<span class="quote">empty</span>”field between the two2046 commas in the “<span class="quote">description</span>”line. The driver name would appear here if there was one already. You2045 Check again. Troubleshoot and repeat until successful. Note the <span class="quote">“<span class="quote">empty</span>”</span> field between the two 2046 commas in the <span class="quote">“<span class="quote">description</span>”</span> line. The driver name would appear here if there was one already. You 2047 2047 need to know root's Samba password (as set by the <code class="literal">smbpasswd</code> command) for this step and most 2048 of the following steps. Alternatively, you can authenticate as one of the users from the “<span class="quote">write2049 list</span>” as defined in <code class="filename">smb.conf</code> for <em class="parameter"><code>[print$]</code></em>.2050 </p></li><li ><p class="title"><b>(Optional.) Check if Samba knows a driver for the printer.</b></p><p>2051 <a class="indexterm" name="id26 44525"></a>2052 <a class="indexterm" name="id26 44534"></a>2048 of the following steps. Alternatively, you can authenticate as one of the users from the <span class="quote">“<span class="quote">write 2049 list</span>”</span> as defined in <code class="filename">smb.conf</code> for <em class="parameter"><code>[print$]</code></em>. 2050 </p></li><li class="step" title="(Optional.) Check if Samba knows a driver for the printer."><p class="title"><b>(Optional.) Check if Samba knows a driver for the printer.</b></p><p> 2051 <a class="indexterm" name="id2650617"></a> 2052 <a class="indexterm" name="id2650626"></a> 2053 2053 </p><pre class="screen"> 2054 2054 <code class="prompt">root# </code><strong class="userinput"><code>rpcclient -Uroot%xxxx -c 'getprinter mysmbtstprn 2'\ … … 2076 2076 This step was done for the purpose of demonstrating this condition. An 2077 2077 attempt to connect to the printer at this stage will prompt a 2078 message along the lines of, “<span class="quote">The server does not have the required printer2079 driver installed.</span>” 2080 </p></li><li ><p class="title"><b>Put all required driver files into Samba's2078 message along the lines of, <span class="quote">“<span class="quote">The server does not have the required printer 2079 driver installed.</span>”</span> 2080 </p></li><li class="step" title="Put all required driver files into Samba's [print$]."><p class="title"><b>Put all required driver files into Samba's 2081 2081 [print$].</b></p><pre class="screen"> 2082 2082 <code class="prompt">root# </code><strong class="userinput"><code>smbclient //localhost/print\$ -U 'root%xxxx' \ … … 2088 2088 </pre><p> 2089 2089 (This command should be entered in one long single line. Line breaks and the line ends indicated by 2090 “<span class="quote">\</span>”have been inserted for readability reasons.) This step is <span class="emphasis"><em>required</em></span> for2090 <span class="quote">“<span class="quote">\</span>”</span> have been inserted for readability reasons.) This step is <span class="emphasis"><em>required</em></span> for 2091 2091 the next one to succeed. It makes the driver files physically present in the <em class="parameter"><code>[print$]</code></em> 2092 2092 share. However, clients would still not be able to install them, because Samba does not yet treat them as 2093 driver files. A client asking for the driver would still be presented with a “<span class="quote">not installed here</span>”2093 driver files. A client asking for the driver would still be presented with a <span class="quote">“<span class="quote">not installed here</span>”</span> 2094 2094 message. 2095 </p></li><li ><p class="title"><b>Verify where the driver files are now.</b></p><pre class="screen">2095 </p></li><li class="step" title="Verify where the driver files are now."><p class="title"><b>Verify where the driver files are now.</b></p><pre class="screen"> 2096 2096 <code class="prompt">root# </code><strong class="userinput"><code>ls -l /etc/samba/drivers/W32X86/</code></strong> 2097 2097 total 669 … … 2103 2103 -rwxr--r-- 1 root ntadmin 169458 May 25 23:21 mysmbtstprn.PPD 2104 2104 </pre><p> 2105 The driver files now are in the W32X86 architecture “<span class="quote">root</span>”of2105 The driver files now are in the W32X86 architecture <span class="quote">“<span class="quote">root</span>”</span> of 2106 2106 <em class="parameter"><code>[print$]</code></em>. 2107 </p></li><li ><p class="title"><b>Tell Samba that these are driver files (<code class="literal">adddriver</code>).</b></p><p>2108 <a class="indexterm" name="id26 44722"></a>2107 </p></li><li class="step" title="Tell Samba that these are driver files (adddriver)."><p class="title"><b>Tell Samba that these are driver files (<code class="literal">adddriver</code>).</b></p><p> 2108 <a class="indexterm" name="id2650815"></a> 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" \ … … 2115 2115 </pre><p> 2116 2116 You cannot repeat this step if it fails. It could fail even as a result of a simple typo. It will most likely 2117 have moved a part of the driver files into the “<span class="quote">2</span>”subdirectory. If this step fails, you need to2117 have moved a part of the driver files into the <span class="quote">“<span class="quote">2</span>”</span> subdirectory. If this step fails, you need to 2118 2118 go back to the fourth step and repeat it before you can try this one again. In this step, you need to choose a 2119 2119 name for your driver. It is normally a good idea to use the same name as is used for the printer name; 2120 2120 however, in big installations you may use this driver for a number of printers that obviously have different 2121 2121 names, so the name of the driver is not fixed. 2122 </p></li><li ><p class="title"><b>Verify where the driver files are now.</b></p><pre class="screen">2122 </p></li><li class="step" title="Verify where the driver files are now."><p class="title"><b>Verify where the driver files are now.</b></p><pre class="screen"> 2123 2123 <code class="prompt">root# </code><strong class="userinput"><code>ls -l /etc/samba/drivers/W32X86/</code></strong> 2124 2124 total 1 … … 2136 2136 Notice how step 6 also moved the driver files to the appropriate 2137 2137 subdirectory. Compare this with the situation after step 5. 2138 </p></li><li ><p class="title"><b>(Optional.) Verify if Samba now recognizes the driver.</b></p><p>2139 <a class="indexterm" name="id26 44830"></a>2138 </p></li><li class="step" title="(Optional.) Verify if Samba now recognizes the driver."><p class="title"><b>(Optional.) Verify if Samba now recognizes the driver.</b></p><p> 2139 <a class="indexterm" name="id2650922"></a> 2140 2140 </p><pre class="screen"> 2141 2141 <code class="prompt">root# </code><strong class="userinput"><code>rpcclient -Uroot%xxxx -c 'enumdrivers 3' \ … … 2152 2152 Remember, this command greps for the name you chose for the 2153 2153 driver in step 6. This command must succeed before you can proceed. 2154 </p></li><li ><p class="title"><b>Tell Samba which printer should use these driver files (<code class="literal">setdriver</code>).</b></p><p>2155 <a class="indexterm" name="id26 44885"></a>2154 </p></li><li class="step" title="Tell Samba which printer should use these driver files (setdriver)."><p class="title"><b>Tell Samba which printer should use these driver files (<code class="literal">setdriver</code>).</b></p><p> 2155 <a class="indexterm" name="id2650977"></a> 2156 2156 </p><pre class="screen"> 2157 2157 <code class="prompt">root# </code><strong class="userinput"><code>rpcclient -Uroot%xxxx -c 'setdriver mysmbtstprn mydrivername' \ … … 2163 2163 succeed. The only preconditions are that <code class="literal">enumdrivers</code> must find the driver and 2164 2164 <code class="literal">enumprinters</code> must find the printer. 2165 </p></li><li ><p class="title"><b>(Optional) Verify if Samba has recognized this association.</b></p><p>2166 <a class="indexterm" name="id26 44944"></a>2167 <a class="indexterm" name="id26 44953"></a>2168 <a class="indexterm" name="id26 44963"></a>2165 </p></li><li class="step" title="(Optional) Verify if Samba has recognized this association."><p class="title"><b>(Optional) Verify if Samba has recognized this association.</b></p><p> 2166 <a class="indexterm" name="id2651037"></a> 2167 <a class="indexterm" name="id2651046"></a> 2168 <a class="indexterm" name="id2651055"></a> 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 45040"></a>2208 <a class="indexterm" name="id2651133"></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 2211 on the “<span class="quote">description</span>”line.2212 </p></li><li ><p class="title"><b>(Optional.) Tickle the driver into a correct2211 on the <span class="quote">“<span class="quote">description</span>”</span> line. 2212 </p></li><li class="step" title="(Optional.) Tickle the driver into a correct device mode."><p class="title"><b>(Optional.) Tickle the driver into a correct 2213 2213 device mode.</b></p><p> 2214 <a class="indexterm" name="id26 45075"></a>2214 <a class="indexterm" name="id2651168"></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 … … 2227 2227 (as defined in <code class="filename">smb.conf</code>). Here is another method 2228 2228 to do this on Windows XP. It uses a command line, which you may type 2229 into the “<span class="quote">DOS box</span>”(type root's smbpassword when prompted):2229 into the <span class="quote">“<span class="quote">DOS box</span>”</span> (type root's smbpassword when prompted): 2230 2230 </p><pre class="screen"> 2231 2231 <code class="prompt">C:\> </code><strong class="userinput"><code>runas /netonly /user:root "rundll32 printui.dll,PrintUIEntry \ … … 2234 2234 Change any printer setting once (like changing <span class="emphasis"><em><span class="guilabel">portrait</span> to 2235 2235 <span class="guilabel">landscape</span></em></span>), click on <span class="guibutton">Apply</span>, and change the setting back. 2236 </p></li><li ><p class="title"><b>Install the printer on a client (Point'n'Print).</b></p><p>2237 <a class="indexterm" name="id26 45194"></a>2236 </p></li><li class="step" title="Install the printer on a client (Point'n'Print)."><p class="title"><b>Install the printer on a client (Point'n'Print).</b></p><p> 2237 <a class="indexterm" name="id2651286"></a> 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="id2645235"></a><pre class="screen">2242 </p></li><li class="step" title="(Optional) Print a test page."><p class="title"><b>(Optional) Print a test page.</b></p><a class="indexterm" name="id2651328"></a><pre class="screen"> 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> 2245 2245 Then hit [TAB] five times, [ENTER] twice, [TAB] once, and [ENTER] again, and march to the printer. 2246 </p></li><li ><p class="title"><b>(Recommended.) Study the test page.</b></p><p>2246 </p></li><li class="step" title="(Recommended.) Study the test page."><p class="title"><b>(Recommended.) Study the test page.</b></p><p> 2247 2247 Hmmm. Just kidding! By now you know everything about printer installations and you do not need to read a word. 2248 2248 Just put it in a frame and bolt it to the wall with the heading "MY FIRST RPCCLIENT-INSTALLED PRINTER" 2249 2249 why not just throw it away! 2250 </p></li><li ><p class="title"><b>(Obligatory.) Enjoy. Jump. Celebrate your success.</b></p><pre class="screen">2250 </p></li><li class="step" title="(Obligatory.) Enjoy. Jump. Celebrate your success."><p class="title"><b>(Obligatory.) Enjoy. Jump. Celebrate your success.</b></p><pre class="screen"> 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="id2645315"></a>Troubleshooting Revisited</h3></div></div></div><p>2253 <a class="indexterm" name="id26 45323"></a>2252 </pre></li></ol></div></div><div class="sect2" title="Troubleshooting Revisited"><div class="titlepage"><div><div><h3 class="title"><a name="id2651408"></a>Troubleshooting Revisited</h3></div></div></div><p> 2253 <a class="indexterm" name="id2651416"></a> 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 45355"></a>2265 <a class="indexterm" name="id26 45362"></a>2264 <a class="indexterm" name="id2651448"></a> 2265 <a class="indexterm" name="id2651454"></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 2268 2268 of newly installed CUPS printers fails unless you restart Samba or send a HUP to all smbd processes. To verify 2269 2269 if this is the reason why Samba does not execute the <code class="literal">setdriver</code> command successfully, check 2270 if Samba “<span class="quote">sees</span>”the printer:2271 <a class="indexterm" name="id26 45391"></a>2270 if Samba <span class="quote">“<span class="quote">sees</span>”</span> the printer: 2271 <a class="indexterm" name="id2651484"></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 45421"></a>2277 <a class="indexterm" name="id2651514"></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="id2645458"></a>The Printing <code class="filename">*.tdb</code> Files</h2></div></div></div><p>2288 <a class="indexterm" name="id26 45472"></a>2289 <a class="indexterm" name="id26 45479"></a>2290 <a class="indexterm" name="id26 45488"></a>2291 <a class="indexterm" name="id26 45497"></a>2292 <a class="indexterm" name="id26 45506"></a>2293 <a class="indexterm" name="id26 45515"></a>2294 <a class="indexterm" name="id26 45524"></a>2295 <a class="indexterm" name="id26 45533"></a>2296 <a class="indexterm" name="id26 45542"></a>2297 <a class="indexterm" name="id26 45551"></a>2298 <a class="indexterm" name="id26 45560"></a>2299 <a class="indexterm" name="id26 45569"></a>2300 <a class="indexterm" name="id26 45578"></a>2287 </p></div></div><div class="sect1" title="The Printing *.tdb Files"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2651551"></a>The Printing <code class="filename">*.tdb</code> Files</h2></div></div></div><p> 2288 <a class="indexterm" name="id2651565"></a> 2289 <a class="indexterm" name="id2651571"></a> 2290 <a class="indexterm" name="id2651580"></a> 2291 <a class="indexterm" name="id2651589"></a> 2292 <a class="indexterm" name="id2651598"></a> 2293 <a class="indexterm" name="id2651608"></a> 2294 <a class="indexterm" name="id2651617"></a> 2295 <a class="indexterm" name="id2651626"></a> 2296 <a class="indexterm" name="id2651634"></a> 2297 <a class="indexterm" name="id2651643"></a> 2298 <a class="indexterm" name="id2651652"></a> 2299 <a class="indexterm" name="id2651662"></a> 2300 <a class="indexterm" name="id2651671"></a> 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="id2645661"></a>Trivial Database Files</h3></div></div></div><p>2308 <a class="indexterm" name="id26 45669"></a>2307 </p><div class="sect2" title="Trivial Database Files"><div class="titlepage"><div><div><h3 class="title"><a name="id2651754"></a>Trivial Database Files</h3></div></div></div><p> 2308 <a class="indexterm" name="id2651762"></a> 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="id2645729"></a>Binary Format</h3></div></div></div><p>2318 <code class="filename">*.tdb</code> files are not human readable. They are written in a binary format. “<span class="quote">Why not2319 ASCII?</span>” , you may ask.“<span class="quote">After all, ASCII configuration files are a good and proven tradition on2320 UNIX.</span>” The reason for this design decision by the Samba Team is mainly performance. Samba needs to be2317 </p></div><div class="sect2" title="Binary Format"><div class="titlepage"><div><div><h3 class="title"><a name="id2651821"></a>Binary Format</h3></div></div></div><p> 2318 <code class="filename">*.tdb</code> files are not human readable. They are written in a binary format. <span class="quote">“<span class="quote">Why not 2319 ASCII?</span>”</span>, you may ask. <span class="quote">“<span class="quote">After all, ASCII configuration files are a good and proven tradition on 2320 UNIX.</span>”</span> The reason for this design decision by the Samba Team is mainly performance. Samba needs to be 2321 2321 fast; it runs a separate <code class="literal">smbd</code> process for each client connection, in some environments many 2322 2322 thousands of them. Some of these <code class="literal">smbds</code> might need to write-access the same … … 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="id2645795"></a>Losing <code class="filename">*.tdb</code> Files</h3></div></div></div><p>2326 </p></div><div class="sect2" title="Losing *.tdb Files"><div class="titlepage"><div><div><h3 class="title"><a name="id2651887"></a>Losing <code class="filename">*.tdb</code> Files</h3></div></div></div><p> 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="id2645846"></a>Using <code class="literal">tdbbackup</code></h3></div></div></div><p>2334 <a class="indexterm" name="id26 45858"></a>2335 <a class="indexterm" name="id26 45869"></a>2333 </p></div><div class="sect2" title="Using tdbbackup"><div class="titlepage"><div><div><h3 class="title"><a name="id2651938"></a>Using <code class="literal">tdbbackup</code></h3></div></div></div><p> 2334 <a class="indexterm" name="id2651950"></a> 2335 <a class="indexterm" name="id2651962"></a> 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="id2645965"></a>CUPS Print Drivers from Linuxprinting.org</h2></div></div></div><p>2363 <a class="indexterm" name="id26 45974"></a>2362 </pre></div></div><div class="sect1" title="CUPS Print Drivers from Linuxprinting.org"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2652058"></a>CUPS Print Drivers from Linuxprinting.org</h2></div></div></div><p> 2363 <a class="indexterm" name="id2652066"></a> 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 45983"></a>2365 <a class="indexterm" name="id2652075"></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> … … 2372 2372 </p><p> 2373 2373 The generic <code class="filename">laserjet.ppd,</code> however, does not support every special option for every 2374 LaserJet-compatible model. It constitutes a sort of “<span class="quote">least common denominator</span>”of all the models.2374 LaserJet-compatible model. It constitutes a sort of <span class="quote">“<span class="quote">least common denominator</span>”</span> of all the models. 2375 2375 If for some reason you must pay for the commercially available ESP Print Pro drivers, your first move should 2376 2376 be to consult the database on the <a class="ulink" href="http://www.linuxprinting.org/printer_list.cgi" target="_top">Linuxprinting</a> Web site. Linuxprinting.org has … … 2378 2378 the tireless work of Till Kamppeter from Mandrakesoft, who is also the principal author of the 2379 2379 <code class="literal">foomatic-rip</code> utility. 2380 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>2381 <a class="indexterm" name="id26 46072"></a>2382 <a class="indexterm" name="id26 46079"></a>2383 <a class="indexterm" name="id26 46086"></a>2380 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 2381 <a class="indexterm" name="id2652164"></a> 2382 <a class="indexterm" name="id2652171"></a> 2383 <a class="indexterm" name="id2652178"></a> 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="id2646141"></a>foomatic-rip and Foomatic Explained</h3></div></div></div><p>2393 <a class="indexterm" name="id26 46149"></a>2394 <a class="indexterm" name="id26 46156"></a>2392 </p></div><div class="sect2" title="foomatic-rip and Foomatic Explained"><div class="titlepage"><div><div><h3 class="title"><a name="id2652233"></a>foomatic-rip and Foomatic Explained</h3></div></div></div><p> 2393 <a class="indexterm" name="id2652241"></a> 2394 <a class="indexterm" name="id2652248"></a> 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="id2646210"></a>690 “<span class="quote">Perfect</span>”Printers</h4></div></div></div><p>2406 <a class="indexterm" name="id26 46222"></a>2405 </p><div class="sect3" title="690 “Perfect” Printers"><div class="titlepage"><div><div><h4 class="title"><a name="id2652303"></a>690 <span class="quote">“<span class="quote">Perfect</span>”</span> Printers</h4></div></div></div><p> 2406 <a class="indexterm" name="id2652314"></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="id2646251"></a>How the Printing HOWTO Started It All</h4></div></div></div><p>2414 </p></div><div class="sect3" title="How the Printing HOWTO Started It All"><div class="titlepage"><div><div><h4 class="title"><a name="id2652344"></a>How the Printing HOWTO Started It All</h4></div></div></div><p> 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 2417 2417 side-project to this document, which served many Linux users and admins to guide their first steps in this 2418 complicated and delicate setup (to a scientist, printing is “<span class="quote">applying a structured deposition of2419 distinct patterns of ink or toner particles on paper substrates</span>” ), he started to build in a little2418 complicated and delicate setup (to a scientist, printing is <span class="quote">“<span class="quote">applying a structured deposition of 2419 distinct patterns of ink or toner particles on paper substrates</span>”</span>), he started to build in a little 2420 2420 Postgres database with information about the hardware and driver zoo that made up Linux printing of the time. 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="id2646289"></a>Foomatic's Strange Name</h4></div></div></div><p>2424 <a class="indexterm" name="id26 46297"></a>2425 “<span class="quote">Why the funny name?</span>”you ask. When it really took off, around spring 2000, CUPS was far less2423 </p></div><div class="sect3" title="Foomatic's Strange Name"><div class="titlepage"><div><div><h4 class="title"><a name="id2652382"></a>Foomatic's Strange Name</h4></div></div></div><p> 2424 <a class="indexterm" name="id2652390"></a> 2425 <span class="quote">“<span class="quote">Why the funny name?</span>”</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 2427 2427 drivers (good for a few hundred different printer models). These didn't support many device-specific options. … … 2432 2432 </p><p> 2433 2433 Taylor already had in his database a respectable compilation of facts about many more printers and the 2434 Ghostscript “<span class="quote">drivers</span>”they run with. His idea, to generate PPDs from the database information and2434 Ghostscript <span class="quote">“<span class="quote">drivers</span>”</span> they run with. His idea, to generate PPDs from the database information and 2435 2435 use them to make standard Ghostscript filters work within CUPS, proved to work very well. It also killed 2436 2436 several birds with one stone: 2437 </p><div class="itemizedlist"><ul type="disc"><li><p>It made all current and future Ghostscript filter2438 developments available for CUPS.</p></li><li ><p>It made available a lot of additional printer models2437 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>It made all current and future Ghostscript filter 2438 developments available for CUPS.</p></li><li class="listitem"><p>It made available a lot of additional printer models 2439 2439 to CUPS users (because often the traditional Ghostscript way of 2440 printing was the only one available).</p></li><li ><p>It gave all the advanced CUPS options (Web interface,2440 printing was the only one available).</p></li><li class="listitem"><p>It gave all the advanced CUPS options (Web interface, 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="id2646364"></a>cupsomatic, pdqomatic, lpdomatic, directomatic</h4></div></div></div><p>2443 <a class="indexterm" name="id26 46372"></a>2444 <a class="indexterm" name="id26 46379"></a>2445 <a class="indexterm" name="id26 46386"></a>2442 Ghostscript filters.</p></li></ul></div></div><div class="sect3" title="cupsomatic, pdqomatic, lpdomatic, directomatic"><div class="titlepage"><div><div><h4 class="title"><a name="id2652456"></a>cupsomatic, pdqomatic, lpdomatic, directomatic</h4></div></div></div><p> 2443 <a class="indexterm" name="id2652465"></a> 2444 <a class="indexterm" name="id2652472"></a> 2445 <a class="indexterm" name="id2652478"></a> 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. … … 2460 2460 amount of new information and new printers. He also developed the support for other spoolers, like <a class="ulink" href="http://ppr.sourceforge.net/" target="_top">PPR</a> (via ppromatic), <a class="ulink" href="http://sourceforge.net/projects/lpr/" target="_top">GNUlpr</a>, and <a class="ulink" href="http://www.lprng.org/" target="_top">LPRng</a> (both via an extended lpdomatic) and spooler-less printing (<a class="ulink" href="http://www.linuxprinting.org/download.cgi?filename=directomatic&show=0" target="_top">directomatic</a>). 2461 2461 </p><p> 2462 So, to answer your question, “<span class="quote">Foomatic</span>”is the general name for all the overlapping code and data2463 behind the “<span class="quote">*omatic</span>”scripts. Foomatic, up to versions 2.0.x, required (ugly) Perl data2464 structures attached to Linuxprinting.org PPDs for CUPS. It had a different “<span class="quote">*omatic</span>”script for2462 So, to answer your question, <span class="quote">“<span class="quote">Foomatic</span>”</span> is the general name for all the overlapping code and data 2463 behind the <span class="quote">“<span class="quote">*omatic</span>”</span> scripts. Foomatic, up to versions 2.0.x, required (ugly) Perl data 2464 structures attached to Linuxprinting.org PPDs for CUPS. It had a different <span class="quote">“<span class="quote">*omatic</span>”</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="id2646520"></a>The <span class="emphasis"><em>Grand Unification</em></span> Achieved</h4></div></div></div><p>2467 <a class="indexterm" name="id26 46531"></a>2468 This has all changed in Foomatic versions 2.9 (beta) and released as “<span class="quote">stable</span>”3.0. It has now2466 </p></div><div class="sect3" title="The Grand Unification Achieved"><div class="titlepage"><div><div><h4 class="title"><a name="id2652612"></a>The <span class="emphasis"><em>Grand Unification</em></span> Achieved</h4></div></div></div><p> 2467 <a class="indexterm" name="id2652624"></a> 2468 This has all changed in Foomatic versions 2.9 (beta) and released as <span class="quote">“<span class="quote">stable</span>”</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>. 2470 2470 This single script is the unification of the previously different spooler-specific *omatic scripts. … … 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 46567"></a>2477 <a class="indexterm" name="id26 46573"></a>2478 <a class="indexterm" name="id26 46580"></a>2476 <a class="indexterm" name="id2652659"></a> 2477 <a class="indexterm" name="id2652665"></a> 2478 <a class="indexterm" name="id2652672"></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 46613"></a>2486 <a class="indexterm" name="id26 46620"></a>2487 <a class="indexterm" name="id26 46627"></a>2485 <a class="indexterm" name="id2652705"></a> 2486 <a class="indexterm" name="id2652712"></a> 2487 <a class="indexterm" name="id2652719"></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="id2646648"></a>Driver Development Outside</h4></div></div></div><p>2496 <a class="indexterm" name="id26 46656"></a>2495 </p></div><div class="sect3" title="Driver Development Outside"><div class="titlepage"><div><div><h4 class="title"><a name="id2652740"></a>Driver Development Outside</h4></div></div></div><p> 2496 <a class="indexterm" name="id2652748"></a> 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 … … 2501 2501 </p><p> 2502 2502 Speaking of the different driver development groups, most of the work is currently done in three projects: 2503 </p><div class="itemizedlist"><ul type="disc"><li><p>2504 <a class="indexterm" name="id26 46680"></a>2503 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 2504 <a class="indexterm" name="id2652773"></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 2507 2507 driver knowledge from good-ol' OS/2 times into a modern, modular, 2508 2508 universal driver architecture for Linux/UNIX (still beta). This 2509 currently supports 437 models.</p></li><li ><p>2510 <a class="indexterm" name="id26 46705"></a>2509 currently supports 437 models.</p></li><li class="listitem"><p> 2510 <a class="indexterm" name="id2652797"></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 2513 2513 range of models (very mature, printing in most cases is perfect and 2514 2514 provides true photo quality). This currently supports 369 2515 models.</p></li><li ><p>2516 <a class="indexterm" name="id26 46728"></a>2515 models.</p></li><li class="listitem"><p> 2516 <a class="indexterm" name="id2652820"></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="id2646752"></a>Forums, Downloads, Tutorials, Howtos (Also for Mac OS X and Commercial UNIX)</h4></div></div></div><p>2522 platforms). This currently supports 522 models.</p></li></ul></div></div><div class="sect3" title="Forums, Downloads, Tutorials, Howtos (Also for Mac OS X and Commercial UNIX)"><div class="titlepage"><div><div><h4 class="title"><a name="id2652845"></a>Forums, Downloads, Tutorials, Howtos (Also for Mac OS X and Commercial UNIX)</h4></div></div></div><p> 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 46797"></a>2532 <a class="indexterm" name="id26 46804"></a>2533 <a class="indexterm" name="id26 46811"></a>2531 <a class="indexterm" name="id2652890"></a> 2532 <a class="indexterm" name="id2652896"></a> 2533 <a class="indexterm" name="id2652903"></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 … … 2537 2537 Hat, Conectiva, Debian, and others. Vendor-neutrality is an important goal of the Foomatic project. Mandrake 2538 2538 and Conectiva have merged and are now called Mandriva. 2539 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>2539 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 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="id2646836"></a>Foomatic Database-Generated PPDs</h4></div></div></div><p>2543 <a class="indexterm" name="id26 46844"></a>2544 <a class="indexterm" name="id26 46851"></a>2545 <a class="indexterm" name="id26 46858"></a>2546 <a class="indexterm" name="id26 46864"></a>2547 <a class="indexterm" name="id26 46871"></a>2548 <a class="indexterm" name="id26 46878"></a>2549 <a class="indexterm" name="id26 46885"></a>2550 <a class="indexterm" name="id26 46892"></a>2551 <a class="indexterm" name="id26 46899"></a>2542 </p></div></div><div class="sect3" title="Foomatic Database-Generated PPDs"><div class="titlepage"><div><div><h4 class="title"><a name="id2652928"></a>Foomatic Database-Generated PPDs</h4></div></div></div><p> 2543 <a class="indexterm" name="id2652936"></a> 2544 <a class="indexterm" name="id2652943"></a> 2545 <a class="indexterm" name="id2652950"></a> 2546 <a class="indexterm" name="id2652957"></a> 2547 <a class="indexterm" name="id2652964"></a> 2548 <a class="indexterm" name="id2652970"></a> 2549 <a class="indexterm" name="id2652977"></a> 2550 <a class="indexterm" name="id2652984"></a> 2551 <a class="indexterm" name="id2652991"></a> 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="id2646962"></a>foomatic-rip and Foomatic PPD Download and Installation</h3></div></div></div><p>2566 </p></div></div><div class="sect2" title="foomatic-rip and Foomatic PPD Download and Installation"><div class="titlepage"><div><div><h3 class="title"><a name="id2653055"></a>foomatic-rip and Foomatic PPD Download and Installation</h3></div></div></div><p> 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 … … 2570 2570 <code class="literal">foomatic-rip</code> utility. Going directly to 2571 2571 Linuxprinting.org ensures that you get the latest driver/PPD files). 2572 </p><div class="itemizedlist"><ul type="disc"><li><p>Open your browser at the Linuxprinting.org printer list <a class="ulink" href="http://www.linuxprinting.org/printer_list.cgi" target="_top">page.</a>2573 </p></li><li ><p>Check the complete list of printers in the2572 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Open your browser at the Linuxprinting.org printer list <a class="ulink" href="http://www.linuxprinting.org/printer_list.cgi" target="_top">page.</a> 2573 </p></li><li class="listitem"><p>Check the complete list of printers in the 2574 2574 <a class="ulink" href="http://www.linuxprinting.org/printer_list.cgi?make=Anyone" target="_top">database.</a>. 2575 </p></li><li ><p>Select your model and click on the link.2576 </p></li><li ><p>You'll arrive at a page listing all drivers working with this2575 </p></li><li class="listitem"><p>Select your model and click on the link. 2576 </p></li><li class="listitem"><p>You'll arrive at a page listing all drivers working with this 2577 2577 model (for all printers, there will always be <span class="emphasis"><em>one</em></span> 2578 2578 recommended driver. Try this one first). 2579 </p></li><li ><p>In our case (HP LaserJet 4 Plus), we'll arrive at the default driver for the2579 </p></li><li class="listitem"><p>In our case (HP LaserJet 4 Plus), we'll arrive at the default driver for the 2580 2580 <a class="ulink" href="http://www.linuxprinting.org/show_printer.cgi?recnum=HP-LaserJet_4_Plus" target="_top">HP-LaserJet 4 Plus.</a> 2581 </p></li><li ><p>The recommended driver is ljet4.</p></li><li><p>Several links are provided here. You should visit them all if you2581 </p></li><li class="listitem"><p>The recommended driver is ljet4.</p></li><li class="listitem"><p>Several links are provided here. You should visit them all if you 2582 2582 are not familiar with the Linuxprinting.org database. 2583 </p></li><li ><p>There is a link to the database page for the2583 </p></li><li class="listitem"><p>There is a link to the database page for the 2584 2584 <a class="ulink" href="http://www.linuxprinting.org/show_driver.cgi?driver=ljet4" target="_top">ljet4</a>. 2585 2585 On the driver's page, you'll find important and detailed information 2586 2586 about how to use that driver within the various available 2587 spoolers.</p></li><li ><p>Another link may lead you to the home page of the2588 author of the driver.</p></li><li ><p>Important links are the ones that provide hints with2587 spoolers.</p></li><li class="listitem"><p>Another link may lead you to the home page of the 2588 author of the driver.</p></li><li class="listitem"><p>Important links are the ones that provide hints with 2589 2589 setup instructions for <a class="ulink" href="http://www.linuxprinting.org/cups-doc.html" target="_top">CUPS</a>; 2590 2590 <a class="ulink" href="http://www.linuxprinting.org/pdq-doc.html" target="_top">PDQ</a>; 2591 2591 <a class="ulink" href="http://www.linuxprinting.org/lpd-doc.html" target="_top">LPD, LPRng, and GNUlpr</a>); 2592 2592 as well as <a class="ulink" href="http://www.linuxprinting.org/ppr-doc.html" target="_top">PPR</a> 2593 or “<span class="quote">spoolerless</span>”<a class="ulink" href="http://www.linuxprinting.org/direct-doc.html" target="_top">printing</a>.2594 </p></li><li ><p>You can view the PPD in your browser through this link:2593 or <span class="quote">“<span class="quote">spoolerless</span>”</span> <a class="ulink" href="http://www.linuxprinting.org/direct-doc.html" target="_top">printing</a>. 2594 </p></li><li class="listitem"><p>You can view the PPD in your browser through this link: 2595 2595 <a class="ulink" href="http://www.linuxprinting.org/ppd-o-matic.cgi?driver=ljet4&printer=HP-LaserJet_4_Plus&show=1" target="_top">http://www.linuxprinting.org/ppd-o-matic.cgi?driver=ljet4&printer=HP-LaserJet_4_Plus&show=1</a> 2596 </p></li><li ><p>Most importantly, you can also generate and download2596 </p></li><li class="listitem"><p>Most importantly, you can also generate and download 2597 2597 the <a class="ulink" href="http://www.linuxprinting.org/ppd-o-matic.cgi?driver=ljet4&printer=HP-LaserJet_4_Plus&show=0" target="_top">PPD</a>. 2598 </p></li><li ><p>The PPD contains all the information needed to use our2598 </p></li><li class="listitem"><p>The PPD contains all the information needed to use our 2599 2599 model and the driver; once installed, this works transparently 2600 2600 for the user. Later you'll only need to choose resolution, paper size, 2601 2601 and so on, from the Web-based menu, or from the print dialog GUI, or from 2602 the command line.</p></li><li ><p>If you ended up on the drivers2602 the command line.</p></li><li class="listitem"><p>If you ended up on the drivers 2603 2603 <a class="ulink" href="http://www.linuxprinting.org/show_driver.cgi?driver=ljet4" target="_top">page</a>, 2604 you can choose to use the “<span class="quote">PPD-O-Matic</span>”online PPD generator2605 program.</p></li><li ><p>Select the exact model and check either <span class="guilabel">Download</span> or2606 <span class="guilabel">Display PPD file</span> and click <span class="guilabel">Generate PPD file</span>.</p></li><li ><p>If you save the PPD file from the browser view, please2604 you can choose to use the <span class="quote">“<span class="quote">PPD-O-Matic</span>”</span> online PPD generator 2605 program.</p></li><li class="listitem"><p>Select the exact model and check either <span class="guilabel">Download</span> or 2606 <span class="guilabel">Display PPD file</span> and click <span class="guilabel">Generate PPD file</span>.</p></li><li class="listitem"><p>If you save the PPD file from the browser view, please 2607 2607 do not use cut and paste (since it could possibly damage line endings 2608 2608 and tabs, which makes the PPD likely to fail its duty), but use <span class="guimenuitem">Save 2609 2609 as...</span> in your browser's menu. (It is best to use the <span class="guilabel">Download</span> option 2610 directly from the Web page.)</p></li><li ><p>Another interesting part on each driver page is2610 directly from the Web page.)</p></li><li class="listitem"><p>Another interesting part on each driver page is 2611 2611 the <span class="guimenuitem">Show execution details</span> button. If you 2612 2612 select your printer model and click on that button, 2613 2613 a complete Ghostscript command line will be displayed, enumerating all options 2614 2614 available for that combination of driver and printer model. This is a great way to 2615 “<span class="quote">learn Ghostscript by doing</span>”. It is also an excellent cheat sheet2615 <span class="quote">“<span class="quote">learn Ghostscript by doing</span>”</span>. It is also an excellent cheat sheet 2616 2616 for all experienced users who need to reconstruct a good command line 2617 2617 for that darned printing script, but can't remember the exact 2618 syntax. </p></li><li ><p>Sometime during your visit to Linuxprinting.org, save2618 syntax. </p></li><li class="listitem"><p>Sometime during your visit to Linuxprinting.org, save 2619 2619 the PPD to a suitable place on your hard disk, say 2620 2620 <code class="filename">/path/to/my-printer.ppd</code> (if you prefer to install 2621 2621 your printers with the help of the CUPS Web interface, save the PPD to 2622 2622 the <code class="filename">/usr/share/cups/model/</code> path and restart 2623 cupsd).</p></li><li ><p>Then install the printer with a suitable command line,2623 cupsd).</p></li><li class="listitem"><p>Then install the printer with a suitable command line, 2624 2624 like this: 2625 2625 </p><pre class="screen"> 2626 2626 <code class="prompt">root# </code><strong class="userinput"><code>lpadmin -p laserjet4plus -v parallel:/dev/lp0 -E \ 2627 2627 -P path/to/my-printer.ppd</code></strong> 2628 </pre></li><li ><p>For all the new-style “<span class="quote">Foomatic-PPDs</span>”2628 </pre></li><li class="listitem"><p>For all the new-style <span class="quote">“<span class="quote">Foomatic-PPDs</span>”</span> 2629 2629 from Linuxprinting.org, you also need a special CUPS filter named 2630 2630 foomatic-rip. 2631 </p></li><li ><p>The foomatic-rip Perl script itself also makes some2631 </p></li><li class="listitem"><p>The foomatic-rip Perl script itself also makes some 2632 2632 interesting <a class="ulink" href="http://www.linuxprinting.org/foomatic2.9/download.cgi?filename=foomatic-rip&show=1" target="_top">reading</a> 2633 2633 because it is well documented by Kamppeter's in-line comments (even 2634 2634 non-Perl hackers will learn quite a bit about printing by reading 2635 it).</p></li><li ><p>Save foomatic-rip either directly in2635 it).</p></li><li class="listitem"><p>Save foomatic-rip either directly in 2636 2636 <code class="filename">/usr/lib/cups/filter/foomatic-rip</code> or somewhere in 2637 2637 your $PATH (and remember to make it world-executable). Again, 2638 2638 do not save by copy and paste but use the appropriate link or the 2639 <span class="guimenuitem">Save as...</span> menu item in your browser.</p></li><li ><p>If you save foomatic-rip in your $PATH, create a symlink:2639 <span class="guimenuitem">Save as...</span> menu item in your browser.</p></li><li class="listitem"><p>If you save foomatic-rip in your $PATH, create a symlink: 2640 2640 </p><pre class="screen"> 2641 2641 <code class="prompt">root# </code><strong class="userinput"><code>cd /usr/lib/cups/filter/ ; ln -s `which foomatic-rip'</code></strong> … … 2649 2649 (transparently for you, the user) the complicated Ghostscript command line telling the printer driver exactly 2650 2650 how the resulting raster data should look and which printer commands to embed into the data stream. You need: 2651 </p><div class="itemizedlist"><ul type="disc"><li><p>A “<span class="quote">foomatic+something</span>”PPD but this is not enough2651 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>A <span class="quote">“<span class="quote">foomatic+something</span>”</span> PPD but this is not enough 2652 2652 to print with CUPS (it is only <span class="emphasis"><em>one</em></span> important 2653 component).</p></li><li ><p>The <em class="parameter"><code>foomatic-rip</code></em> filter script (Perl) in2654 <code class="filename">/usr/lib/cups/filters/</code>.</p></li><li ><p>Perl to make foomatic-rip run.</p></li><li><p>Ghostscript (because it is doing the main work,2653 component).</p></li><li class="listitem"><p>The <em class="parameter"><code>foomatic-rip</code></em> filter script (Perl) in 2654 <code class="filename">/usr/lib/cups/filters/</code>.</p></li><li class="listitem"><p>Perl to make foomatic-rip run.</p></li><li class="listitem"><p>Ghostscript (because it is doing the main work, 2655 2655 controlled by the PPD/foomatic-rip combo) to produce the raster data 2656 fit for your printer model's consumption.</p></li><li ><p>Ghostscript <span class="emphasis"><em>must</em></span> (depending on2656 fit for your printer model's consumption.</p></li><li class="listitem"><p>Ghostscript <span class="emphasis"><em>must</em></span> (depending on 2657 2657 the driver/model) contain support for a certain device representing 2658 the selected driver for your model (as shown by <code class="literal">gs -h</code>).</p></li><li ><p>foomatic-rip needs a new version of PPDs (PPD versions2659 produced for cupsomatic do not work with foomatic-rip).</p></li></ul></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2647435"></a>Page Accounting with CUPS</h2></div></div></div><p>2660 <a class="indexterm" name="id26 47443"></a>2658 the selected driver for your model (as shown by <code class="literal">gs -h</code>).</p></li><li class="listitem"><p>foomatic-rip needs a new version of PPDs (PPD versions 2659 produced for cupsomatic do not work with foomatic-rip).</p></li></ul></div></div></div><div class="sect1" title="Page Accounting with CUPS"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2653528"></a>Page Accounting with CUPS</h2></div></div></div><p> 2660 <a class="indexterm" name="id2653536"></a> 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="id2647471"></a>Setting Up Quotas</h3></div></div></div><p>2669 <a class="indexterm" name="id26 47479"></a>2668 </p><div class="sect2" title="Setting Up Quotas"><div class="titlepage"><div><div><h3 class="title"><a name="id2653563"></a>Setting Up Quotas</h3></div></div></div><p> 2669 <a class="indexterm" name="id2653571"></a> 2670 2670 This is an example command of how root would set a print quota in CUPS, assuming an existing printer named 2671 “<span class="quote">quotaprinter</span>”:2672 <a class="indexterm" name="id26 47493"></a>2671 <span class="quote">“<span class="quote">quotaprinter</span>”</span>: 2672 <a class="indexterm" name="id2653586"></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="id2647525"></a>Correct and Incorrect Accounting</h3></div></div></div><p>2679 </p></div><div class="sect2" title="Correct and Incorrect Accounting"><div class="titlepage"><div><div><h3 class="title"><a name="id2653617"></a>Correct and Incorrect Accounting</h3></div></div></div><p> 2680 2680 For CUPS to count correctly, the printfile needs to pass the CUPS pstops filter; otherwise it uses a dummy 2681 count of “<span class="quote">one</span>”. Some print files do not pass it (e.g., image files), but then those are mostly2681 count of <span class="quote">“<span class="quote">one</span>”</span>. Some print files do not pass it (e.g., image files), but then those are mostly 2682 2682 one-page jobs anyway. This also means that proprietary drivers for the target printer running on the client 2683 computers and CUPS/Samba, which then spool these files as “<span class="quote">raw</span>”(i.e., leaving them untouched,2683 computers and CUPS/Samba, which then spool these files as <span class="quote">“<span class="quote">raw</span>”</span> (i.e., leaving them untouched, 2684 2684 not filtering them), will be counted as one-pagers too! 2685 2685 </p><p> … … 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="id2647565"></a>Adobe and CUPS PostScript Drivers for Windows Clients</h3></div></div></div><p>2691 <a class="indexterm" name="id26 47574"></a>2692 <a class="indexterm" name="id26 47581"></a>2693 <a class="indexterm" name="id26 47588"></a>2694 <a class="indexterm" name="id26 47594"></a>2695 <a class="indexterm" name="id26 47601"></a>2690 </p></div><div class="sect2" title="Adobe and CUPS PostScript Drivers for Windows Clients"><div class="titlepage"><div><div><h3 class="title"><a name="id2653658"></a>Adobe and CUPS PostScript Drivers for Windows Clients</h3></div></div></div><p> 2691 <a class="indexterm" name="id2653666"></a> 2692 <a class="indexterm" name="id2653673"></a> 2693 <a class="indexterm" name="id2653680"></a> 2694 <a class="indexterm" name="id2653687"></a> 2695 <a class="indexterm" name="id2653693"></a> 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="id2647662"></a> To not write a PJL-header.</p></li><li><p>To still read and support all PJL-options named in the2707 driver PPD with its own means.</p></li><li ><p>That the file will pass through the <code class="literal">pstops</code> filter2708 on the CUPS/Samba server.</p></li><li ><p>To page-count correctly the print file.</p></li></ul></div><p>2706 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> <a class="indexterm" name="id2653754"></a> To not write a PJL-header.</p></li><li class="listitem"><p>To still read and support all PJL-options named in the 2707 driver PPD with its own means.</p></li><li class="listitem"><p>That the file will pass through the <code class="literal">pstops</code> filter 2708 on the CUPS/Samba server.</p></li><li class="listitem"><p>To page-count correctly the print file.</p></li></ul></div><p> 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="id2647706"></a>The page_log File Syntax</h3></div></div></div><p>2712 <a class="indexterm" name="id26 47714"></a>2711 </p></div><div class="sect2" title="The page_log File Syntax"><div class="titlepage"><div><div><h3 class="title"><a name="id2653798"></a>The page_log File Syntax</h3></div></div></div><p> 2712 <a class="indexterm" name="id2653806"></a> 2713 2713 These are the items CUPS logs in the <code class="filename">page_log</code> for every page of a job: 2714 </p><div class="itemizedlist"><ul type="disc"><li><p>Printer name</p></li><li><p>User name</p></li><li><p>Job ID</p></li><li><p>Time of printing</p></li><li><p>Page number</p></li><li><p>Number of copies</p></li><li><p>A billing information string (optional)</p></li><li><p>The host that sent the job (included since version 1.1.19)</p></li></ul></div><p>2714 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Printer name</p></li><li class="listitem"><p>User name</p></li><li class="listitem"><p>Job ID</p></li><li class="listitem"><p>Time of printing</p></li><li class="listitem"><p>Page number</p></li><li class="listitem"><p>Number of copies</p></li><li class="listitem"><p>A billing information string (optional)</p></li><li class="listitem"><p>The host that sent the job (included since version 1.1.19)</p></li></ul></div><p> 2715 2715 Here is an extract of my CUPS server's <code class="filename">page_log</code> file to illustrate the 2716 2716 format and included items: … … 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="id2647851"></a>Possible Shortcomings</h3></div></div></div><p>2730 </p></div><div class="sect2" title="Possible Shortcomings"><div class="titlepage"><div><div><h3 class="title"><a name="id2653943"></a>Possible Shortcomings</h3></div></div></div><p> 2731 2731 What flaws or shortcomings are there with this quota system? 2732 </p><div class="itemizedlist"><ul type="disc"><li><p>The ones named above (wrongly logged job in case of2733 printer hardware failure, and so on).</p></li><li ><p>In reality, CUPS counts the job pages that are being2732 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>The ones named above (wrongly logged job in case of 2733 printer hardware failure, and so on).</p></li><li class="listitem"><p>In reality, CUPS counts the job pages that are being 2734 2734 processed in <span class="emphasis"><em>software</em></span> (that is, going through the 2735 2735 RIP) rather than the physical sheets successfully leaving the 2736 2736 printing device. Thus, if there is a jam while printing the fifth sheet out 2737 2737 of 1,000 and the job is aborted by the printer, the page count will 2738 still show the figure of 1,000 for that job.</p></li><li ><p>All quotas are the same for all users (no flexibility2738 still show the figure of 1,000 for that job.</p></li><li class="listitem"><p>All quotas are the same for all users (no flexibility 2739 2739 to give the boss a higher quota than the clerk) and no support for 2740 groups.</p></li><li ><p>No means to read out the current balance or the2741 “<span class="quote">used-up</span>” number of current quota.</p></li><li><p>A user having used up 99 sheets of a 100 quota will2742 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 quota2740 groups.</p></li><li class="listitem"><p>No means to read out the current balance or the 2741 <span class="quote">“<span class="quote">used-up</span>”</span> number of current quota.</p></li><li class="listitem"><p>A user having used up 99 sheets of a 100 quota will 2742 still be able to send and print a 1,000 sheet job.</p></li><li class="listitem"><p>A user being denied a job because of a filled-up quota 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="id2647917"></a>Future Developments</h3></div></div></div><p>2744 <span class="quote">“<span class="quote">client-error-not-possible</span>”</span>.</p></li></ul></div></div><div class="sect2" title="Future Developments"><div class="titlepage"><div><div><h3 class="title"><a name="id2654009"></a>Future Developments</h3></div></div></div><p> 2745 2745 This is the best system currently available, and there are huge 2746 2746 improvements under development for CUPS 1.2: 2747 </p><div class="itemizedlist"><ul type="disc"><li><p>Page counting will go into the backends (these talk2747 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Page counting will go into the backends (these talk 2748 2748 directly to the printer and will increase the count in sync with the 2749 2749 actual printing process; thus, a jam at the fifth sheet will lead to a 2750 stop in the counting).</p></li><li ><p>Quotas will be handled more flexibly.</p></li><li><p>Probably there will be support for users to inquire2751 about their accounts in advance.</p></li><li ><p>Probably there will be support for some other tools2752 around this topic.</p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2647957"></a>Other Accounting Tools</h3></div></div></div><p>2750 stop in the counting).</p></li><li class="listitem"><p>Quotas will be handled more flexibly.</p></li><li class="listitem"><p>Probably there will be support for users to inquire 2751 about their accounts in advance.</p></li><li class="listitem"><p>Probably there will be support for some other tools 2752 around this topic.</p></li></ul></div></div><div class="sect2" title="Other Accounting Tools"><div class="titlepage"><div><div><h3 class="title"><a name="id2654049"></a>Other Accounting Tools</h3></div></div></div><p> 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="id2647971"></a>Additional Material</h2></div></div></div><p>2755 </p></div></div><div class="sect1" title="Additional Material"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2654063"></a>Additional Material</h2></div></div></div><p> 2756 2756 A printer queue with <span class="emphasis"><em>no</em></span> PPD associated to it is a 2757 “<span class="quote">raw</span>”printer, and all files will go directly there as received by the2757 <span class="quote">“<span class="quote">raw</span>”</span> printer, and all files will go directly there as received by the 2758 2758 spooler. The exceptions are file types <em class="parameter"><code>application/octet-stream</code></em> 2759 that need the pass-through feature enabled. “<span class="quote">Raw</span>”queues do not do any2759 that need the pass-through feature enabled. <span class="quote">“<span class="quote">Raw</span>”</span> queues do not do any 2760 2760 filtering at all; they hand the file directly to the CUPS backend. 2761 2761 This backend is responsible for sending the data to the device 2762 (as in the “<span class="quote">device URI</span>”notation: <code class="filename">lpd://, socket://,2762 (as in the <span class="quote">“<span class="quote">device URI</span>”</span> notation: <code class="filename">lpd://, socket://, 2763 2763 smb://, ipp://, http://, parallel:/, serial:/, usb:/</code>, and so on). 2764 2764 </p><p> … … 2797 2797 This would prevent all PostScript files from being filtered (rather, 2798 2798 they will through the virtual <span class="emphasis"><em>nullfilter</em></span> 2799 denoted with “<span class="quote">-</span>”). This could only be useful for PostScript printers. If you2799 denoted with <span class="quote">“<span class="quote">-</span>”</span>). This could only be useful for PostScript printers. If you 2800 2800 want to print PostScript code on non-PostScript printers (provided they support ASCII 2801 2801 text printing), an entry as follows could be useful: … … 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="id2648188"></a>Autodeletion or Preservation of CUPS Spool Files</h2></div></div></div><p>2835 <a class="indexterm" name="id26 48196"></a>2836 <a class="indexterm" name="id26 48203"></a>2837 <a class="indexterm" name="id26 48210"></a>2834 </p></div><div class="sect1" title="Autodeletion or Preservation of CUPS Spool Files"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2654280"></a>Autodeletion or Preservation of CUPS Spool Files</h2></div></div></div><p> 2835 <a class="indexterm" name="id2654289"></a> 2836 <a class="indexterm" name="id2654296"></a> 2837 <a class="indexterm" name="id2654303"></a> 2838 2838 Samba print files pass through two spool directories. One is the incoming directory managed by Samba (set in 2839 2839 the <a class="link" href="smb.conf.5.html#PATH" 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="id2648264"></a>CUPS Configuration Settings Explained</h3></div></div></div><p>2842 </p><div class="sect2" title="CUPS Configuration Settings Explained"><div class="titlepage"><div><div><h3 class="title"><a name="id2654356"></a>CUPS Configuration Settings Explained</h3></div></div></div><p> 2843 2843 Some important parameter settings in the CUPS configuration file 2844 2844 <code class="filename">cupsd.conf</code> are: … … 2847 2847 c12345, c12346, and so on, files in the CUPS spool directory, which does a 2848 2848 similar job as the old-fashioned BSD-LPD control files). This is set 2849 to “<span class="quote">Yes</span>”as a default.2849 to <span class="quote">“<span class="quote">Yes</span>”</span> as a default. 2850 2850 </p></dd><dt><span class="term">PreserveJobFiles Yes</span></dt><dd><p> 2851 2851 This keeps the job files themselves in cupsd's mind 2852 2852 (it keeps the d12345, d12346, etc., files in the CUPS spool 2853 directory). This is set to “<span class="quote">No</span>”as the CUPS2853 directory). This is set to <span class="quote">“<span class="quote">No</span>”</span> as the CUPS 2854 2854 default. 2855 </p></dd><dt><span class="term"> “<span class="quote">MaxJobs 500</span>”</span></dt><dd><p>2855 </p></dd><dt><span class="term"><span class="quote">“<span class="quote">MaxJobs 500</span>”</span></span></dt><dd><p> 2856 2856 This directive controls the maximum number of jobs 2857 2857 that are kept in memory. Once the number of jobs reaches the limit, … … 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="id2648349"></a>Preconditions</h3></div></div></div><p>2866 </p></div><div class="sect2" title="Preconditions"><div class="titlepage"><div><div><h3 class="title"><a name="id2654441"></a>Preconditions</h3></div></div></div><p> 2867 2867 For everything to work as it should, you need to have three things: 2868 </p><div class="itemizedlist"><ul type="disc"><li><p>A Samba smbd that is compiled against <code class="filename">libcups</code> (check2869 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 of2870 <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 of2871 <a class="link" href="smb.conf.5.html#PRINTCAP" target="_top">printcap = cups</a>.</p></li></ul></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>2868 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>A Samba smbd that is compiled against <code class="filename">libcups</code> (check 2869 on Linux by running <strong class="userinput"><code>ldd `which smbd'</code></strong>).</p></li><li class="listitem"><p>A Samba-<code class="filename">smb.conf</code> setting of 2870 <a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = cups</a>.</p></li><li class="listitem"><p>Another Samba <code class="filename">smb.conf</code> setting of 2871 <a class="link" href="smb.conf.5.html#PRINTCAP" target="_top">printcap = cups</a>.</p></li></ul></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 2872 2872 In this case, all other manually set printing-related commands (like 2873 2873 <a class="link" href="smb.conf.5.html#PRINTCOMMAND" target="_top">print command</a>, … … 2877 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="id2648488"></a>Manual Configuration</h3></div></div></div><p>2879 </p></div></div><div class="sect2" title="Manual Configuration"><div class="titlepage"><div><div><h3 class="title"><a name="id2654580"></a>Manual Configuration</h3></div></div></div><p> 2880 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 2881 by <a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = bsd</a>. Then your manually set commands may work 2882 2882 (I haven't tested this), and a <a class="link" href="smb.conf.5.html#PRINTCOMMAND" 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="id2648535"></a>Printing from CUPS to Windows-Attached Printers</h2></div></div></div><p>2885 <a class="indexterm" name="id26 48544"></a>2886 <a class="indexterm" name="id26 48550"></a>2884 </p></div></div><div class="sect1" title="Printing from CUPS to Windows-Attached Printers"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2654628"></a>Printing from CUPS to Windows-Attached Printers</h2></div></div></div><p> 2885 <a class="indexterm" name="id2654636"></a> 2886 <a class="indexterm" name="id2654642"></a> 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="id26 48680"></a>2922 <a class="indexterm" name="id26 48687"></a>2921 <a class="indexterm" name="id2654773"></a> 2922 <a class="indexterm" name="id2654779"></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="id26 48747"></a>2938 <a class="indexterm" name="id26 48754"></a>2939 <a class="indexterm" name="id26 48761"></a>2937 <a class="indexterm" name="id2654840"></a> 2938 <a class="indexterm" name="id2654847"></a> 2939 <a class="indexterm" name="id2654853"></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 2942 2942 is only accessible with a password? Or if the printer's host is part of another workgroup? This is provided 2943 2943 for: You can include the required parameters as part of the <code class="filename">smb://</code> device-URI like this: 2944 </p><div class="itemizedlist"><ul type="disc"><li><p><code class="filename">smb://WORKGROUP/WINDOWSNETBIOSNAME/printersharename</code></p></li><li><p><code class="filename">smb://username:password@WORKGROUP/WINDOWSNETBIOSNAME/printersharename</code></p></li><li><p><code class="filename">smb://username:password@WINDOWSNETBIOSNAME/printersharename</code></p></li></ul></div><p>2944 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p><code class="filename">smb://WORKGROUP/WINDOWSNETBIOSNAME/printersharename</code></p></li><li class="listitem"><p><code class="filename">smb://username:password@WORKGROUP/WINDOWSNETBIOSNAME/printersharename</code></p></li><li class="listitem"><p><code class="filename">smb://username:password@WINDOWSNETBIOSNAME/printersharename</code></p></li></ul></div><p> 2945 2945 Note that the device URI will be visible in the process list of the Samba server (e.g., when someone uses the 2946 2946 <code class="literal">ps -aux</code> command on Linux), even if the username and passwords are sanitized before they get … … 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="id2648832"></a>More CUPS Filtering Chains</h2></div></div></div><p>2952 </p></div><div class="sect1" title="More CUPS Filtering Chains"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2654924"></a>More CUPS Filtering Chains</h2></div></div></div><p> 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="id2648943"></a>Common Errors</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2648949"></a>Windows 9x/Me Client Can't Install Driver</h3></div></div></div><p>For Windows 9x/Me, clients require the printer names to be eight2956 characters (or “<span class="quote">8 plus 3 chars suffix</span>”) max; otherwise, the driver files2957 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>? Have2955 </p><div class="figure"><a name="cups1"></a><p class="title"><b>Figure 22.17. Filtering Chain 1.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/cups1.png" alt="Filtering Chain 1."></div></div></div><br class="figure-break"><div class="figure"><a name="cups2"></a><p class="title"><b>Figure 22.18. Filtering Chain with cupsomatic</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/cups2.png" width="243" alt="Filtering Chain with cupsomatic"></div></div></div><br class="figure-break"></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2655035"></a>Common Errors</h2></div></div></div><div class="sect2" title="Windows 9x/Me Client Can't Install Driver"><div class="titlepage"><div><div><h3 class="title"><a name="id2655041"></a>Windows 9x/Me Client Can't Install Driver</h3></div></div></div><p>For Windows 9x/Me, clients require the printer names to be eight 2956 characters (or <span class="quote">“<span class="quote">8 plus 3 chars suffix</span>”</span>) max; otherwise, the driver files 2957 will not get transferred when you want to download them from Samba.</p></div><div class="sect2" title="“cupsaddsmb” Keeps Asking for Root Password in Never-ending Loop"><div class="titlepage"><div><div><h3 class="title"><a name="root-ask-loop"></a><span class="quote">“<span class="quote">cupsaddsmb</span>”</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 … … 2962 2962 out of the loop by pressing Enter twice (without trying to type a 2963 2963 password).</p><p> 2964 If the error is “<span class="quote">Tree connect failed: NT_STATUS_BAD_NETWORK_NAME</span>”,2964 If the error is <span class="quote">“<span class="quote">Tree connect failed: NT_STATUS_BAD_NETWORK_NAME</span>”</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="id2649025"></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" title="“cupsaddsmb” or “rpcclient addriver” Emit Error"><div class="titlepage"><div><div><h3 class="title"><a name="id2655118"></a><span class="quote">“<span class="quote">cupsaddsmb</span>”</span> or <span class="quote">“<span class="quote">rpcclient addriver</span>”</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=" cupsaddsmbKeeps Asking for Root Password in Never-ending Loop">the previous common error</a>.2969 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2649063"></a>“<span class="quote">cupsaddsmb</span>”Errors</h3></div></div></div><p>2970 The use of “<span class="quote">cupsaddsmb</span>” gives “<span class="quote">No PPD file for printer...</span>”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" title="“cupsaddsmb” Errors"><div class="titlepage"><div><div><h3 class="title"><a name="id2655156"></a><span class="quote">“<span class="quote">cupsaddsmb</span>”</span> Errors</h3></div></div></div><p> 2970 The use of <span class="quote">“<span class="quote">cupsaddsmb</span>”</span> gives <span class="quote">“<span class="quote">No PPD file for printer...</span>”</span> 2971 2971 message while PPD file is present. What might the problem be? 2972 2972 </p><p> 2973 2973 Have you enabled printer sharing on CUPS? This means, do you have a <code class="literal"><Location 2974 2974 /printers>....</Location></code> section in CUPS server's <code class="filename">cupsd.conf</code> that 2975 does not deny access to the host you run “<span class="quote">cupsaddsmb</span>”from? It <span class="emphasis"><em>could</em></span> be an2975 does not deny access to the host you run <span class="quote">“<span class="quote">cupsaddsmb</span>”</span> from? It <span class="emphasis"><em>could</em></span> be an 2976 2976 issue if you use cupsaddsmb remotely, or if you use it with a <code class="option">-h</code> parameter: 2977 2977 <strong class="userinput"><code>cupsaddsmb -H sambaserver -h cupsserver -v printername</code></strong>. 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="id2649137"></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" title="Client Can't Connect to Samba Printer"><div class="titlepage"><div><div><h3 class="title"><a name="id2655230"></a>Client Can't Connect to Samba Printer</h3></div></div></div><p>Use <code class="literal">smbstatus</code> to check which user 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="id2649162"></a>New Account Reconnection from Windows 200x/XP Troubles</h3></div></div></div><p>2983 share?</p></div><div class="sect2" title="New Account Reconnection from Windows 200x/XP Troubles"><div class="titlepage"><div><div><h3 class="title"><a name="id2655254"></a>New Account Reconnection from Windows 200x/XP Troubles</h3></div></div></div><p> 2984 2984 Once you are connected as the wrong user (for example, as <code class="constant">nobody</code>, which often occurs if 2985 2985 you have <a class="link" href="smb.conf.5.html#MAPTOGUEST" target="_top">map to guest = bad user</a>), Windows Explorer will not accept an … … 2989 2989 you get the dreaded <code class="computeroutput">You can't connect with a second account from the same 2990 2990 machine</code> message as soon as you try. And you do not see a single byte arriving at Samba (see 2991 logs; use “<span class="quote">ethereal</span>”) indicating a renewed connection attempt. Shut all Explorer Windows. This2991 logs; use <span class="quote">“<span class="quote">ethereal</span>”</span>) indicating a renewed connection attempt. Shut all Explorer Windows. This 2992 2992 makes Windows forget what it has cached in its memory as established connections. Then reconnect as the right 2993 2993 user. The best method is to use a DOS terminal window and <span class="emphasis"><em>first</em></span> do <strong class="userinput"><code>net use z: … … 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="id2649253"></a>Avoid Being Connected to the Samba Server as the Wrong User</h3></div></div></div><p>2999 <a class="indexterm" name="id26 49262"></a>2998 </p></div><div class="sect2" title="Avoid Being Connected to the Samba Server as the Wrong User"><div class="titlepage"><div><div><h3 class="title"><a name="id2655345"></a>Avoid Being Connected to the Samba Server as the Wrong User</h3></div></div></div><p> 2999 <a class="indexterm" name="id2655354"></a> 3000 3000 You see per <code class="literal">smbstatus</code> that you are connected as user nobody, but you want to be root or 3001 3001 printer admin. This is probably due to <a class="link" href="smb.conf.5.html#MAPTOGUEST" 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 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="id2649304"></a>Upgrading to CUPS Drivers from Adobe Drivers</h3></div></div></div><p>3004 </p></div><div class="sect2" title="Upgrading to CUPS Drivers from Adobe Drivers"><div class="titlepage"><div><div><h3 class="title"><a name="id2655397"></a>Upgrading to CUPS Drivers from Adobe Drivers</h3></div></div></div><p> 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="id2649342"></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" title="Can't Use “cupsaddsmb” on Samba Server, Which Is a PDC"><div class="titlepage"><div><div><h3 class="title"><a name="id2655434"></a>Can't Use <span class="quote">“<span class="quote">cupsaddsmb</span>”</span> on Samba Server, Which Is a PDC</h3></div></div></div><p>Do you use the <span class="quote">“<span class="quote">naked</span>”</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="id2649378"></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">“<span class="quote">escape</span>”</span> the second one).</p></div><div class="sect2" title="Deleted Windows 200x Printer Driver Is Still Shown"><div class="titlepage"><div><div><h3 class="title"><a name="id2655470"></a>Deleted Windows 200x Printer Driver Is Still Shown</h3></div></div></div><p>Deleting a printer on the client will not delete the 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="id2649412"></a>Windows 200x/XP Local Security Policies</h3></div></div></div><a class="indexterm" name="id2649418"></a><a class="indexterm" name="id2649426"></a><p>Local security policies may not allow the installation of unsigned drivers“<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="id2649445"></a>Administrator Cannot Install Printers for All Local Users</h3></div></div></div><p>3020 <a class="indexterm" name="id26 49454"></a>3021 <a class="indexterm" name="id26 49461"></a>3022 Windows XP handles SMB printers on a “<span class="quote">per-user</span>”basis.3018 other printer uses the same driver.</p></div><div class="sect2" title="Windows 200x/XP Local Security Policies"><div class="titlepage"><div><div><h3 class="title"><a name="id2655505"></a>Windows 200x/XP Local Security Policies</h3></div></div></div><a class="indexterm" name="id2655511"></a><a class="indexterm" name="id2655518"></a><p>Local security policies may not allow the installation of unsigned drivers <span class="quote">“<span class="quote">local 3019 security policies</span>”</span> may not allow the installation of printer drivers at all.</p></div><div class="sect2" title="Administrator Cannot Install Printers for All Local Users"><div class="titlepage"><div><div><h3 class="title"><a name="id2655538"></a>Administrator Cannot Install Printers for All Local Users</h3></div></div></div><p> 3020 <a class="indexterm" name="id2655546"></a> 3021 <a class="indexterm" name="id2655553"></a> 3022 Windows XP handles SMB printers on a <span class="quote">“<span class="quote">per-user</span>”</span> basis. 3023 3023 This means every user needs to install the printer himself or herself. To have a printer available for 3024 3024 everybody, you might want to use the built-in IPP client capabilities of Win XP. Add a printer with the print 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="id2649486"></a>Print Change, Notify Functions on NT Clients</h3></div></div></div><p>For print change, notify functions on NT++ clients. These need to run the <code class="literal">Server</code>3028 service first (renamed to <code class="literal">File & Print Sharing for MS Networks</code> in XP).</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2649512"></a>Windows XP SP1</h3></div></div></div><p>Windows XP SP1 introduced a Point and Print Restriction Policy (this restriction does not apply to3029 “<span class="quote">Administrator</span>” or “<span class="quote">Power User</span>”groups of users). In Group Policy Object Editor, go3027 </p></div><div class="sect2" title="Print Change, Notify Functions on NT Clients"><div class="titlepage"><div><div><h3 class="title"><a name="id2655579"></a>Print Change, Notify Functions on NT Clients</h3></div></div></div><p>For print change, notify functions on NT++ clients. These need to run the <code class="literal">Server</code> 3028 service first (renamed to <code class="literal">File & Print Sharing for MS Networks</code> in XP).</p></div><div class="sect2" title="Windows XP SP1"><div class="titlepage"><div><div><h3 class="title"><a name="id2655604"></a>Windows XP SP1</h3></div></div></div><p>Windows XP SP1 introduced a Point and Print Restriction Policy (this restriction does not apply to 3029 <span class="quote">“<span class="quote">Administrator</span>”</span> or <span class="quote">“<span class="quote">Power User</span>”</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 3031 3031 is automatically set to <code class="constant">Enabled</code> and the <code class="constant">Users can only Point and Print to … … 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="id2649558"></a>Print Options for All Users Can't Be Set on Windows 200x/XP</h3></div></div></div><p>How are you doing it? I bet the wrong way (it is not easy to find out, though). There are three3035 </p></div><div class="sect2" title="Print Options for All Users Can't Be Set on Windows 200x/XP"><div class="titlepage"><div><div><h3 class="title"><a name="id2655651"></a>Print Options for All Users Can't Be Set on Windows 200x/XP</h3></div></div></div><p>How are you doing it? I bet the wrong way (it is not easy to find out, though). There are three 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 3038 3038 Print Administrator to do this for all users. Here is how I do it on XP: 3039 </p><div class="orderedlist"><ol type="A"><li><p>The first wrong way:3039 </p><div class="orderedlist"><ol class="orderedlist" type="A"><li class="listitem"><p>The first wrong way: 3040 3040 3041 </p><div class="orderedlist"><ol type="I"><li><p>Open the <span class="guilabel">Printers</span>3042 folder.</p></li><li ><p>Right-click on the printer3041 </p><div class="orderedlist"><ol class="orderedlist" type="I"><li class="listitem"><p>Open the <span class="guilabel">Printers</span> 3042 folder.</p></li><li class="listitem"><p>Right-click on the printer 3043 3043 (<span class="guilabel">remoteprinter on cupshost</span>) and 3044 3044 select in context menu <span class="guimenuitem">Printing 3045 Preferences...</span></p></li><li ><p>Look at this dialog closely and remember what it looks like.</p></li></ol></div><p>3046 </p></li><li ><p>The second wrong way:3047 </p><div class="orderedlist"><ol type="I"><li><p>Open the <span class="guilabel">Printers</span> folder.</p></li><li><p>Right-click on the printer (<span class="guilabel">remoteprinter on3045 Preferences...</span></p></li><li class="listitem"><p>Look at this dialog closely and remember what it looks like.</p></li></ol></div><p> 3046 </p></li><li class="listitem"><p>The second wrong way: 3047 </p><div class="orderedlist"><ol class="orderedlist" type="I"><li class="listitem"><p>Open the <span class="guilabel">Printers</span> folder.</p></li><li class="listitem"><p>Right-click on the printer (<span class="guilabel">remoteprinter on 3048 3048 cupshost</span>) and select the context menu 3049 <span class="guimenuitem">Properties</span>.</p></li><li ><p>Click on the <span class="guilabel">General</span> tab.</p></li><li><p>Click on the button <span class="guibutton">Printing3050 Preferences...</span></p></li><li ><p>A new dialog opens. Keep this dialog open and go back3049 <span class="guimenuitem">Properties</span>.</p></li><li class="listitem"><p>Click on the <span class="guilabel">General</span> tab.</p></li><li class="listitem"><p>Click on the button <span class="guibutton">Printing 3050 Preferences...</span></p></li><li class="listitem"><p>A new dialog opens. Keep this dialog open and go back 3051 3051 to the parent dialog.</p></li></ol></div><p> 3052 </p></li><li ><p>The third and correct way:3053 </p><div class="orderedlist"><ol type="I"><li><p>Open the <span class="guilabel">Printers</span> folder.</p></li><li><p>Right-click on the printer (<span class="guilabel">remoteprinter on3052 </p></li><li class="listitem"><p>The third and correct way: 3053 </p><div class="orderedlist"><ol class="orderedlist" type="I"><li class="listitem"><p>Open the <span class="guilabel">Printers</span> folder.</p></li><li class="listitem"><p>Right-click on the printer (<span class="guilabel">remoteprinter on 3054 3054 cupshost</span>) and select the context menu 3055 <span class="guimenuitem">Properties</span>.</p></li><li ><p>Click on the <span class="guilabel">Advanced</span>3056 tab. (If everything is “<span class="quote">grayed out,</span>”then you are not logged3057 in as a user with enough privileges).</p></li><li ><p>Click on the <span class="guibutton">Printing3058 Defaults...</span> button.</p></li><li ><p>On any of the two new tabs, click on the3059 <span class="guibutton">Advanced...</span> button.</p></li><li ><p>A new dialog opens. Compare this one to the other3060 identical-looking one from step “<span class="quote">B.5</span>”or A.3".</p></li></ol></div><p>3055 <span class="guimenuitem">Properties</span>.</p></li><li class="listitem"><p>Click on the <span class="guilabel">Advanced</span> 3056 tab. (If everything is <span class="quote">“<span class="quote">grayed out,</span>”</span> then you are not logged 3057 in as a user with enough privileges).</p></li><li class="listitem"><p>Click on the <span class="guibutton">Printing 3058 Defaults...</span> button.</p></li><li class="listitem"><p>On any of the two new tabs, click on the 3059 <span class="guibutton">Advanced...</span> button.</p></li><li class="listitem"><p>A new dialog opens. Compare this one to the other 3060 identical-looking one from step <span class="quote">“<span class="quote">B.5</span>”</span> or A.3".</p></li></ol></div><p> 3061 3061 </p></li></ol></div><p> 3062 3062 Do you see any difference? I don't either. However, only the last one, which you arrived at with steps 3063 “<span class="quote">C.1. to C.6.</span>”, will save any settings permanently and be the defaults for new users. If you want3063 <span class="quote">“<span class="quote">C.1. to C.6.</span>”</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 3065 (<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="id2649842"></a>Most Common Blunders in Driver Settings on Windows Clients</h3></div></div></div><p>3068 </p></div><div class="sect2" title="Most Common Blunders in Driver Settings on Windows Clients"><div class="titlepage"><div><div><h3 class="title"><a name="id2655934"></a>Most Common Blunders in Driver Settings on Windows Clients</h3></div></div></div><p> 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="id2649897"></a><code class="literal">cupsaddsmb</code> Does Not Work with Newly Installed Printer</h3></div></div></div><p>3075 </p></div><div class="sect2" title="cupsaddsmb Does Not Work with Newly Installed Printer"><div class="titlepage"><div><div><h3 class="title"><a name="id2655990"></a><code class="literal">cupsaddsmb</code> Does Not Work with Newly Installed Printer</h3></div></div></div><p> 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="id2649947"></a>Permissions on <code class="filename">/var/spool/samba/</code> Get Reset After Each Reboot</h3></div></div></div><p>3081 </p></div><div class="sect2" title="Permissions on /var/spool/samba/ Get Reset After Each Reboot"><div class="titlepage"><div><div><h3 class="title"><a name="id2656039"></a>Permissions on <code class="filename">/var/spool/samba/</code> Get Reset After Each Reboot</h3></div></div></div><p> 3082 3082 Have you ever by accident set the CUPS spool directory to the same location (<em class="parameter"><code>RequestRoot 3083 3083 /var/spool/samba/</code></em> in <code class="filename">cupsd.conf</code> or the other way round: … … 3086 3086 /var/spool/samba</a> in the <em class="parameter"><code>[printers]</code></em> section of <code class="filename">smb.conf</code>. Otherwise, 3087 3087 cupsd will sanitize permissions to its spool directory with each restart and printing will not work reliably. 3088 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2650045"></a>Print Queue Called “<span class="quote">lp</span>”Mishandles Print Jobs</h3></div></div></div><p>3089 In this case a print queue called “<span class="quote">lp</span>”intermittently swallows jobs and3088 </p></div><div class="sect2" title="Print Queue Called “lp” Mishandles Print Jobs"><div class="titlepage"><div><div><h3 class="title"><a name="id2656138"></a>Print Queue Called <span class="quote">“<span class="quote">lp</span>”</span> Mishandles Print Jobs</h3></div></div></div><p> 3089 In this case a print queue called <span class="quote">“<span class="quote">lp</span>”</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="id265 0065"></a>3093 <a class="indexterm" name="id265 0072"></a>3094 <a class="indexterm" name="id265 0079"></a>3095 It is a bad idea to name any printer “<span class="quote">lp</span>”. This is the traditional UNIX name for the default3092 <a class="indexterm" name="id2656158"></a> 3093 <a class="indexterm" name="id2656164"></a> 3094 <a class="indexterm" name="id2656171"></a> 3095 It is a bad idea to name any printer <span class="quote">“<span class="quote">lp</span>”</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 3097 3097 with the same name to a pool of devices and load-balance the jobs across them in a round-robin fashion. 3098 Chances are high that someone else has a printer named “<span class="quote">lp</span>”too. You may receive that person's3098 Chances are high that someone else has a printer named <span class="quote">“<span class="quote">lp</span>”</span> too. You may receive that person's 3099 3099 jobs and send your own to his or her device unwittingly. To have tight control over the printer names, set 3100 3100 <em class="parameter"><code>BrowseShortNames No</code></em>. It will present any printer as 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="id2650114"></a>Location of Adobe PostScript Driver Files for “<span class="quote">cupsaddsmb</span>”</h3></div></div></div><p>3103 </p></div><div class="sect2" title="Location of Adobe PostScript Driver Files for “cupsaddsmb”"><div class="titlepage"><div><div><h3 class="title"><a name="id2656207"></a>Location of Adobe PostScript Driver Files for <span class="quote">“<span class="quote">cupsaddsmb</span>”</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="id2650168"></a>Overview of the CUPS Printing Processes</h2></div></div></div><p>3109 </p></div></div><div class="sect1" title="Overview of the CUPS Printing Processes"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2656260"></a>Overview of the CUPS Printing Processes</h2></div></div></div><p> 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.id26 39412" href="#id2639412" class="para">6</a>] </sup>See also <a class="ulink" href="http://www.cups.org/cups-help.html" target="_top">http://www.cups.org/cups-help.html</a></p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="classicalprinting.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="optional.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="VFS.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 21. Classical Printing Support </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 23. Stackable VFS modules</td></tr></table></div></body></html>3112 </p><div class="figure"><a name="a_small"></a><p class="title"><b>Figure 22.19. CUPS Printing Overview.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/a_small.png" width="243" alt="CUPS Printing Overview."></div></div></div><br class="figure-break"></div><div class="footnotes"><br><hr width="100" align="left"><div class="footnote"><p><sup>[<a name="ftn.id2645504" href="#id2645504" class="para">6</a>] </sup>See also <a class="ulink" href="http://www.cups.org/cups-help.html" target="_top">http://www.cups.org/cups-help.html</a></p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="classicalprinting.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="optional.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="VFS.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 21. Classical Printing Support </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 23. Stackable VFS modules</td></tr></table></div></body></html> -
branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/ChangeNotes.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 9. Important and Critical Change Notes for the Samba 3.x Series</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="optional.html" title="Part III. Advanced Configuration"><link rel="next" href="NetworkBrowsing.html" title="Chapter 10. Network Browsing"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 9. Important and Critical Change Notes for the Samba 3.x Series</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="optional.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="NetworkBrowsing.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="ChangeNotes"></a>Chapter 9. Important and Critical Change Notes for the Samba 3.x Series</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2578591">Important Samba-3.2.x Change Notes</a></span></dt><dt><span class="sect1"><a href="ChangeNotes.html#id2578603">Important Samba-3.0.x Change Notes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ChangeNotes.html#id2578662">User and Group Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2578974">Essential Group Mappings</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2579095">Passdb Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2579156">Group Mapping Changes in Samba-3.0.23</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2579276">LDAP Changes in Samba-3.0.23</a></span></dt></dl></dd></dl></div><p>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 9. Important and Critical Change Notes for the Samba 3.x Series</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="optional.html" title="Part III. Advanced Configuration"><link rel="next" href="NetworkBrowsing.html" title="Chapter 10. Network Browsing"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 9. Important and Critical Change Notes for the Samba 3.x Series</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="optional.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="NetworkBrowsing.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 9. Important and Critical Change Notes for the Samba 3.x Series"><div class="titlepage"><div><div><h2 class="title"><a name="ChangeNotes"></a>Chapter 9. Important and Critical Change Notes for the Samba 3.x Series</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2584662">Important Samba-3.2.x Change Notes</a></span></dt><dt><span class="sect1"><a href="ChangeNotes.html#id2584674">Important Samba-3.0.x Change Notes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ChangeNotes.html#id2584733">User and Group Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2585045">Essential Group Mappings</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2585166">Passdb Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2585226">Group Mapping Changes in Samba-3.0.23</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2585347">LDAP Changes in Samba-3.0.23</a></span></dt></dl></dd></dl></div><p> 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="id2578591"></a>Important Samba-3.2.x Change Notes</h2></div></div></div><p>5 </p><div class="sect1" title="Important Samba-3.2.x Change Notes"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2584662"></a>Important Samba-3.2.x Change Notes</h2></div></div></div><p> 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="id2578603"></a>Important Samba-3.0.x Change Notes</h2></div></div></div><p>7 </p></div><div class="sect1" title="Important Samba-3.0.x Change Notes"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2584674"></a>Important Samba-3.0.x Change Notes</h2></div></div></div><p> 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="id2578662"></a>User and Group Changes</h3></div></div></div><p>24 </p><div class="sect2" title="User and Group Changes"><div class="titlepage"><div><div><h3 class="title"><a name="id2584733"></a>User and Group Changes</h3></div></div></div><p> 25 25 The change documented here affects unmapped user and group accounts only. 26 26 </p><p> 27 <a class="indexterm" name="id25 78675"></a>28 <a class="indexterm" name="id25 78682"></a>29 <a class="indexterm" name="id25 78688"></a>30 <a class="indexterm" name="id25 78698"></a>31 <a class="indexterm" name="id25 78706"></a>27 <a class="indexterm" name="id2584746"></a> 28 <a class="indexterm" name="id2584752"></a> 29 <a class="indexterm" name="id2584759"></a> 30 <a class="indexterm" name="id2584768"></a> 31 <a class="indexterm" name="id2584777"></a> 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="id25 78738"></a>39 <a class="indexterm" name="id25 78744"></a>40 <a class="indexterm" name="id25 78751"></a>41 <a class="indexterm" name="id25 78757"></a>38 <a class="indexterm" name="id2584809"></a> 39 <a class="indexterm" name="id2584815"></a> 40 <a class="indexterm" name="id2584822"></a> 41 <a class="indexterm" name="id2584828"></a> 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="id25 78794"></a>49 <a class="indexterm" name="id25 78801"></a>50 <a class="indexterm" name="id25 78808"></a>51 <a class="indexterm" name="id25 78815"></a>52 <a class="indexterm" name="id25 78822"></a>48 <a class="indexterm" name="id2584865"></a> 49 <a class="indexterm" name="id2584872"></a> 50 <a class="indexterm" name="id2584879"></a> 51 <a class="indexterm" name="id2584886"></a> 52 <a class="indexterm" name="id2584892"></a> 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="id25 78844"></a>63 <a class="indexterm" name="id25 78851"></a>64 <a class="indexterm" name="id25 78857"></a>65 <a class="indexterm" name="id25 78864"></a>62 <a class="indexterm" name="id2584915"></a> 63 <a class="indexterm" name="id2584922"></a> 64 <a class="indexterm" name="id2584928"></a> 65 <a class="indexterm" name="id2584935"></a> 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 group 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="id25 78888"></a>72 <a class="indexterm" name="id25 78895"></a>73 <a class="indexterm" name="id25 78901"></a>74 <a class="indexterm" name="id25 78908"></a>71 <a class="indexterm" name="id2584959"></a> 72 <a class="indexterm" name="id2584965"></a> 73 <a class="indexterm" name="id2584972"></a> 74 <a class="indexterm" name="id2584979"></a> 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="id25 78944"></a>83 <a class="indexterm" name="id25 78951"></a>82 <a class="indexterm" name="id2585015"></a> 83 <a class="indexterm" name="id2585022"></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="id2578974"></a>Essential Group Mappings</h3></div></div></div><p>88 </p></div><div class="sect2" title="Essential Group Mappings"><div class="titlepage"><div><div><h3 class="title"><a name="id2585045"></a>Essential Group Mappings</h3></div></div></div><p> 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 … … 92 92 correctly authenticate and recoognize valid domain users. When this happens users will not be able to log onto 93 93 the Windows client. 94 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>94 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 95 95 Group mappings are essentail only if the Samba servers is running as a PDC/BDC. Stand-alone servers do not 96 96 require these group mappings. … … 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="id2579095"></a>Passdb Changes</h3></div></div></div><p>106 <a class="indexterm" name="id25 79103"></a>107 <a class="indexterm" name="id25 79110"></a>108 <a class="indexterm" name="id25 79116"></a>109 <a class="indexterm" name="id25 79123"></a>105 </p></div><div class="sect2" title="Passdb Changes"><div class="titlepage"><div><div><h3 class="title"><a name="id2585166"></a>Passdb Changes</h3></div></div></div><p> 106 <a class="indexterm" name="id2585174"></a> 107 <a class="indexterm" name="id2585180"></a> 108 <a class="indexterm" name="id2585187"></a> 109 <a class="indexterm" name="id2585194"></a> 110 110 The <a class="link" href="smb.conf.5.html#PASSDBBACKEND" target="_top">passdb backend</a> parameter no longer 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="id2579156"></a>Group Mapping Changes in Samba-3.0.23</h3></div></div></div><p>115 <a class="indexterm" name="id25 79163"></a>116 <a class="indexterm" name="id25 79170"></a>117 <a class="indexterm" name="id25 79177"></a>118 <a class="indexterm" name="id25 79184"></a>119 <a class="indexterm" name="id25 79191"></a>120 <a class="indexterm" name="id25 79198"></a>121 <a class="indexterm" name="id25 79204"></a>122 <a class="indexterm" name="id25 79211"></a>123 <a class="indexterm" name="id25 79218"></a>124 <a class="indexterm" name="id25 79224"></a>125 <a class="indexterm" name="id25 79231"></a>114 </p></div><div class="sect2" title="Group Mapping Changes in Samba-3.0.23"><div class="titlepage"><div><div><h3 class="title"><a name="id2585226"></a>Group Mapping Changes in Samba-3.0.23</h3></div></div></div><p> 115 <a class="indexterm" name="id2585234"></a> 116 <a class="indexterm" name="id2585241"></a> 117 <a class="indexterm" name="id2585248"></a> 118 <a class="indexterm" name="id2585255"></a> 119 <a class="indexterm" name="id2585261"></a> 120 <a class="indexterm" name="id2585268"></a> 121 <a class="indexterm" name="id2585275"></a> 122 <a class="indexterm" name="id2585282"></a> 123 <a class="indexterm" name="id2585288"></a> 124 <a class="indexterm" name="id2585295"></a> 125 <a class="indexterm" name="id2585302"></a> 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="id2579276"></a>LDAP Changes in Samba-3.0.23</h3></div></div></div><p>133 <a class="indexterm" name="id25 79284"></a>134 <a class="indexterm" name="id25 79291"></a>135 <a class="indexterm" name="id25 79298"></a>136 <a class="indexterm" name="id25 79305"></a>137 <a class="indexterm" name="id25 79312"></a>132 </p></div><div class="sect2" title="LDAP Changes in Samba-3.0.23"><div class="titlepage"><div><div><h3 class="title"><a name="id2585347"></a>LDAP Changes in Samba-3.0.23</h3></div></div></div><p> 133 <a class="indexterm" name="id2585355"></a> 134 <a class="indexterm" name="id2585362"></a> 135 <a class="indexterm" name="id2585369"></a> 136 <a class="indexterm" name="id2585376"></a> 137 <a class="indexterm" name="id2585382"></a> 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.3.x/docs/htmldocs/Samba3-HOWTO/ClientConfig.html
r274 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 8. MS Windows Network Configuration Guide</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="type.html" title="Part II. Server Configuration Basics"><link rel="prev" href="StandAloneServer.html" title="Chapter 7. Standalone Servers"><link rel="next" href="optional.html" title="Part III. Advanced Configuration"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 8. MS Windows Network Configuration Guide</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="StandAloneServer.html">Prev</a> </td><th width="60%" align="center">Part II. Server Configuration Basics</th><td width="20%" align="right"> <a accesskey="n" href="optional.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="ClientConfig"></a>Chapter 8. MS Windows Network Configuration Guide</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2575509">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ClientConfig.html#id2575569">Technical Details</a></span></dt><dd><dl><dt><span class="sect2"><a href="ClientConfig.html#id2575613">TCP/IP Configuration</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2577384">Joining a Domain: Windows 2000/XP Professional</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2577911">Domain Logon Configuration: Windows 9x/Me</a></span></dt></dl></dd><dt><span class="sect1"><a href="ClientConfig.html#id2578354">Common Errors</a></span></dt></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2575509"></a>Features and Benefits</h2></div></div></div><p>2 <a class="indexterm" name="id25 75517"></a>3 <a class="indexterm" name="id25 75524"></a>4 <a class="indexterm" name="id25 75531"></a>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 8. MS Windows Network Configuration Guide</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="type.html" title="Part II. Server Configuration Basics"><link rel="prev" href="StandAloneServer.html" title="Chapter 7. Standalone Servers"><link rel="next" href="optional.html" title="Part III. Advanced Configuration"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 8. MS Windows Network Configuration Guide</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="StandAloneServer.html">Prev</a> </td><th width="60%" align="center">Part II. Server Configuration Basics</th><td width="20%" align="right"> <a accesskey="n" href="optional.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 8. MS Windows Network Configuration Guide"><div class="titlepage"><div><div><h2 class="title"><a name="ClientConfig"></a>Chapter 8. MS Windows Network Configuration Guide</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2581580">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ClientConfig.html#id2581640">Technical Details</a></span></dt><dd><dl><dt><span class="sect2"><a href="ClientConfig.html#id2581683">TCP/IP Configuration</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2583455">Joining a Domain: Windows 2000/XP Professional</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2583981">Domain Logon Configuration: Windows 9x/Me</a></span></dt></dl></dd><dt><span class="sect1"><a href="ClientConfig.html#id2584425">Common Errors</a></span></dt></dl></div><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2581580"></a>Features and Benefits</h2></div></div></div><p> 2 <a class="indexterm" name="id2581588"></a> 3 <a class="indexterm" name="id2581594"></a> 4 <a class="indexterm" name="id2581601"></a> 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 75548"></a>11 <a class="indexterm" name="id25 75555"></a>10 <a class="indexterm" name="id2581619"></a> 11 <a class="indexterm" name="id2581626"></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="id2575569"></a>Technical Details</h2></div></div></div><p>16 <a class="indexterm" name="id25 75577"></a>17 <a class="indexterm" name="id25 75584"></a>15 </p></div><div class="sect1" title="Technical Details"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2581640"></a>Technical Details</h2></div></div></div><p> 16 <a class="indexterm" name="id2581648"></a> 17 <a class="indexterm" name="id2581655"></a> 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: 20 </p><div class="itemizedlist"><ul type="disc"><li><p>20 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 21 21 Microsoft Windows XP Professional 22 </p></li><li ><p>22 </p></li><li class="listitem"><p> 23 23 Windows 2000 Professional 24 </p></li><li ><p>24 </p></li><li class="listitem"><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="id2575613"></a>TCP/IP Configuration</h3></div></div></div><p>27 <a class="indexterm" name="id25 75621"></a>28 <a class="indexterm" name="id25 75628"></a>26 </p></li></ul></div><div class="sect2" title="TCP/IP Configuration"><div class="titlepage"><div><div><h3 class="title"><a name="id2581683"></a>TCP/IP Configuration</h3></div></div></div><p> 27 <a class="indexterm" name="id2581691"></a> 28 <a class="indexterm" name="id2581699"></a> 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 75643"></a>34 <a class="indexterm" name="id25 75650"></a>33 <a class="indexterm" name="id2581713"></a> 34 <a class="indexterm" name="id2581720"></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 75664"></a>41 <a class="indexterm" name="id25 75671"></a>40 <a class="indexterm" name="id2581735"></a> 41 <a class="indexterm" name="id2581742"></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="id2575688"></a>MS Windows XP Professional</h4></div></div></div><p>46 <a class="indexterm" name="id25 75696"></a>45 </p><div class="sect3" title="MS Windows XP Professional"><div class="titlepage"><div><div><h4 class="title"><a name="id2581759"></a>MS Windows XP Professional</h4></div></div></div><p> 46 <a class="indexterm" name="id2581767"></a> 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 75744"></a>54 <a class="indexterm" name="id2581815"></a> 55 55 The following procedure steps through the Windows XP Professional TCP/IP configuration process: 56 </p><div class="procedure"><ol type="1"><li><p>57 <a class="indexterm" name="id25 75762"></a>58 <a class="indexterm" name="id25 75769"></a>59 <a class="indexterm" name="id25 75776"></a>56 </p><div class="procedure"><ol class="procedure" type="1"><li class="step" title="Step 1"><p> 57 <a class="indexterm" name="id2581833"></a> 58 <a class="indexterm" name="id2581840"></a> 59 <a class="indexterm" name="id2581847"></a> 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>. 62 62 Right-click on <span class="guimenu">Network Bridge -> Properties</span>. See <a class="link" href="ClientConfig.html#WXPP002" title="Figure 8.1. Network Bridge Configuration.">“Network Bridge Configuration.”</a>. 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 </p></li><li ><p>65 <a class="indexterm" name="id25 75862"></a>66 <a class="indexterm" name="id25 75869"></a>64 </p></li><li class="step" title="Step 2"><p> 65 <a class="indexterm" name="id2581933"></a> 66 <a class="indexterm" name="id2581940"></a> 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 75900"></a>72 <a class="indexterm" name="id25 75908"></a>71 <a class="indexterm" name="id2581971"></a> 72 <a class="indexterm" name="id2581978"></a> 73 73 The default setting is DHCP-enabled operation 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>.74 (i.e., <span class="quote">“<span class="quote">Obtain an IP address automatically</span>”</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 75970"></a>78 <a class="indexterm" name="id25 75977"></a>79 <a class="indexterm" name="id25 75984"></a>80 <a class="indexterm" name="id25 75991"></a>77 <a class="indexterm" name="id2582041"></a> 78 <a class="indexterm" name="id2582048"></a> 79 <a class="indexterm" name="id2582055"></a> 80 <a class="indexterm" name="id2582061"></a> 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 76020"></a>87 <a class="indexterm" name="id25 76027"></a>88 <a class="indexterm" name="id25 76033"></a>89 If it is necessary to provide a fixed IP address, click on “<span class="quote">Use the following IP address</span>”and enter the86 <a class="indexterm" name="id2582090"></a> 87 <a class="indexterm" name="id2582097"></a> 88 <a class="indexterm" name="id2582104"></a> 89 If it is necessary to provide a fixed IP address, click on <span class="quote">“<span class="quote">Use the following IP address</span>”</span> and enter the 90 90 IP Address, the subnet mask, and the default gateway address in the boxes provided. 91 </p></li><li ><p>92 <a class="indexterm" name="id25 76054"></a>93 <a class="indexterm" name="id25 76061"></a>94 <a class="indexterm" name="id25 76068"></a>95 <a class="indexterm" name="id25 76075"></a>91 </p></li><li class="step" title="Step 3"><p> 92 <a class="indexterm" name="id2582125"></a> 93 <a class="indexterm" name="id2582132"></a> 94 <a class="indexterm" name="id2582139"></a> 95 <a class="indexterm" name="id2582146"></a> 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 76146"></a>104 <a class="indexterm" name="id25 76152"></a>105 <a class="indexterm" name="id25 76159"></a>103 <a class="indexterm" name="id2582216"></a> 104 <a class="indexterm" name="id2582223"></a> 105 <a class="indexterm" name="id2582230"></a> 106 106 Fixed settings may be required for DNS and WINS if these settings are not provided automatically via DHCP. 107 </p></li><li ><p>108 <a class="indexterm" name="id25 76174"></a>109 <a class="indexterm" name="id25 76181"></a>107 </p></li><li class="step" title="Step 4"><p> 108 <a class="indexterm" name="id2582245"></a> 109 <a class="indexterm" name="id2582252"></a> 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 112 112 <span class="guibutton">OK</span> to commit the settings. See <a class="link" href="ClientConfig.html#WXPP014" title="Figure 8.4. DNS Configuration.">“DNS Configuration.”</a>. 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 </p></li><li ><p>115 <a class="indexterm" name="id25 76256"></a>116 <a class="indexterm" name="id25 76262"></a>114 </p></li><li class="step" title="Step 5"><p> 115 <a class="indexterm" name="id2582326"></a> 116 <a class="indexterm" name="id2582333"></a> 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="id2576332"></a>MS Windows 2000</h4></div></div></div><p>123 <a class="indexterm" name="id25 76339"></a>124 <a class="indexterm" name="id25 76347"></a>122 </p></li></ol></div></div><div class="sect3" title="MS Windows 2000"><div class="titlepage"><div><div><h4 class="title"><a name="id2582402"></a>MS Windows 2000</h4></div></div></div><p> 123 <a class="indexterm" name="id2582410"></a> 124 <a class="indexterm" name="id2582417"></a> 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 76395"></a>132 <a class="indexterm" name="id2582466"></a> 133 133 The following procedure steps through the Windows XP Professional TCP/IP configuration process: 134 </p><div class="procedure"><ol type="1"><li><p>134 </p><div class="procedure"><ol class="procedure" type="1"><li class="step" title="Step 1"><p> 135 135 Right-click on <span class="guimenu">Local Area Connection</span>, then click 136 136 <span class="guimenuitem">Properties</span>. See <a class="link" href="ClientConfig.html#w2kp001" title="Figure 8.6. Local Area Connection Properties.">“Local Area Connection Properties.”</a>. 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 </p></li><li ><p>139 <a class="indexterm" name="id25 76476"></a>140 <a class="indexterm" name="id25 76483"></a>138 </p></li><li class="step" title="Step 2"><p> 139 <a class="indexterm" name="id2582547"></a> 140 <a class="indexterm" name="id2582554"></a> 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 </p></li><li ><p>145 <a class="indexterm" name="id25 76518"></a>146 <a class="indexterm" name="id25 76525"></a>144 </p></li><li class="step" title="Step 3"><p> 145 <a class="indexterm" name="id2582589"></a> 146 <a class="indexterm" name="id2582596"></a> 147 147 The default setting is DHCP-enabled operation 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>.148 (i.e., <span class="quote">“<span class="quote">Obtain an IP address automatically</span>”</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 76584"></a>152 <a class="indexterm" name="id25 76591"></a>151 <a class="indexterm" name="id2582655"></a> 152 <a class="indexterm" name="id2582662"></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 76610"></a>158 <a class="indexterm" name="id25 76617"></a>159 If it is necessary to provide a fixed IP address, click on “<span class="quote">Use the following IP address</span>”and enter the157 <a class="indexterm" name="id2582681"></a> 158 <a class="indexterm" name="id2582688"></a> 159 If it is necessary to provide a fixed IP address, click on <span class="quote">“<span class="quote">Use the following IP address</span>”</span> and enter the 160 160 IP Address, the subnet mask, and the default gateway address in the boxes provided. 161 161 For this example we are assuming that all network clients will be configured using DHCP. 162 </p></li><li ><p>162 </p></li><li class="step" title="Step 4"><p> 163 163 Click the <span class="guimenu">Advanced</span> button to proceed with TCP/IP configuration. 164 164 Refer to <a class="link" href="ClientConfig.html#w2kp003" title="Figure 8.8. Advanced Network Settings.">“Advanced Network Settings.”</a>. 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 76693"></a>168 <a class="indexterm" name="id25 76700"></a>169 <a class="indexterm" name="id25 76707"></a>167 <a class="indexterm" name="id2582764"></a> 168 <a class="indexterm" name="id2582771"></a> 169 <a class="indexterm" name="id2582777"></a> 170 170 Fixed settings may be required for DNS and WINS if these settings are not provided automatically via DHCP. 171 </p></li><li ><p>172 <a class="indexterm" name="id25 76722"></a>173 <a class="indexterm" name="id25 76729"></a>171 </p></li><li class="step" title="Step 5"><p> 172 <a class="indexterm" name="id2582793"></a> 173 <a class="indexterm" name="id2582800"></a> 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, 176 176 click <span class="guibutton">OK</span> to commit the settings. See <a class="link" href="ClientConfig.html#w2kp004" title="Figure 8.9. DNS Configuration.">“DNS Configuration.”</a>. 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 </p></li><li ><p>179 <a class="indexterm" name="id25 76800"></a>180 <a class="indexterm" name="id25 76807"></a>178 </p></li><li class="step" title="Step 6"><p> 179 <a class="indexterm" name="id2582871"></a> 180 <a class="indexterm" name="id2582878"></a> 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="id2576878"></a>MS Windows Me</h4></div></div></div><p>187 <a class="indexterm" name="id25 76886"></a>188 <a class="indexterm" name="id25 76893"></a>189 <a class="indexterm" name="id25 76900"></a>186 </p></li></ol></div></div><div class="sect3" title="MS Windows Me"><div class="titlepage"><div><div><h4 class="title"><a name="id2582949"></a>MS Windows Me</h4></div></div></div><p> 187 <a class="indexterm" name="id2582957"></a> 188 <a class="indexterm" name="id2582964"></a> 189 <a class="indexterm" name="id2582971"></a> 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 76923"></a>195 <a class="indexterm" name="id25 76930"></a>194 <a class="indexterm" name="id2582994"></a> 195 <a class="indexterm" name="id2583001"></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="id25 76963"></a>199 <a class="indexterm" name="id2583033"></a> 200 200 The following procedure steps through the Windows Me TCP/IP configuration process: 201 </p><div class="procedure"><ol type="1"><li><p>202 <a class="indexterm" name="id25 76980"></a>201 </p><div class="procedure"><ol class="procedure" type="1"><li class="step" title="Step 1"><p> 202 <a class="indexterm" name="id2583051"></a> 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. 205 205 See <a class="link" href="ClientConfig.html#WME001" title="Figure 8.11. The Windows Me Network Configuration Panel.">“The Windows Me Network Configuration Panel.”</a>. 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 </p></li><li ><p>208 <a class="indexterm" name="id25 77061"></a>209 <a class="indexterm" name="id25 77068"></a>210 <a class="indexterm" name="id25 77074"></a>207 </p></li><li class="step" title="Step 2"><p> 208 <a class="indexterm" name="id2583132"></a> 209 <a class="indexterm" name="id2583138"></a> 210 <a class="indexterm" name="id2583145"></a> 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="id25 77154"></a>219 <a class="indexterm" name="id25 77161"></a>220 <a class="indexterm" name="id25 77168"></a>218 <a class="indexterm" name="id2583225"></a> 219 <a class="indexterm" name="id2583232"></a> 220 <a class="indexterm" name="id2583238"></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 </p></li><li ><p>225 <a class="indexterm" name="id25 77191"></a>226 <a class="indexterm" name="id25 77198"></a>224 </p></li><li class="step" title="Step 3"><p> 225 <a class="indexterm" name="id2583262"></a> 226 <a class="indexterm" name="id2583268"></a> 227 227 Fixed settings may be required for DNS and WINS if these settings are not provided automatically via DHCP. 228 </p></li><li ><p>229 <a class="indexterm" name="id25 77213"></a>228 </p></li><li class="step" title="Step 4"><p> 229 <a class="indexterm" name="id2583284"></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. … … 233 233 interface settings. In most cases where DHCP is used, it will not be necessary to 234 234 create these manual settings. 235 </p></li><li ><p>236 <a class="indexterm" name="id25 77250"></a>237 <a class="indexterm" name="id25 77257"></a>235 </p></li><li class="step" title="Step 5"><p> 236 <a class="indexterm" name="id2583321"></a> 237 <a class="indexterm" name="id2583328"></a> 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="id25 77318"></a>243 <a class="indexterm" name="id25 77325"></a>242 <a class="indexterm" name="id2583389"></a> 243 <a class="indexterm" name="id2583396"></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="id2577384"></a>Joining a Domain: Windows 2000/XP Professional</h3></div></div></div><p>249 <a class="indexterm" name="id25 77393"></a>250 <a class="indexterm" name="id25 77400"></a>251 <a class="indexterm" name="id25 77407"></a>252 <a class="indexterm" name="id25 77414"></a>248 </p></li></ol></div></div></div><div class="sect2" title="Joining a Domain: Windows 2000/XP Professional"><div class="titlepage"><div><div><h3 class="title"><a name="id2583455"></a>Joining a Domain: Windows 2000/XP Professional</h3></div></div></div><p> 249 <a class="indexterm" name="id2583464"></a> 250 <a class="indexterm" name="id2583471"></a> 251 <a class="indexterm" name="id2583478"></a> 252 <a class="indexterm" name="id2583485"></a> 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 255 255 member of a domain security environment. It should be noted that this process is identical 256 256 when joining a domain that is controlled by Windows NT4/200x as well as a Samba PDC. 257 </p><div class="procedure"><ol type="1"><li><p>257 </p><div class="procedure"><ol class="procedure" type="1"><li class="step" title="Step 1"><p> 258 258 Click <span class="guimenu">Start</span>. 259 </p></li><li ><p>259 </p></li><li class="step" title="Step 2"><p> 260 260 Right-click <span class="guimenu">My Computer</span>, then select <span class="guimenuitem">Properties</span>. 261 </p></li><li ><p>262 <a class="indexterm" name="id25 77467"></a>261 </p></li><li class="step" title="Step 3"><p> 262 <a class="indexterm" name="id2583538"></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 </p></li><li ><p>267 <a class="indexterm" name="id25 77533"></a>266 </p></li><li class="step" title="Step 4"><p> 267 <a class="indexterm" name="id2583604"></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="id25 77574"></a>273 <a class="indexterm" name="id25 77581"></a>272 <a class="indexterm" name="id2583645"></a> 273 <a class="indexterm" name="id2583652"></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. 276 276 See <a class="link" href="ClientConfig.html#wxpp004" title="Figure 8.16. The Computer Name Panel.">“The Computer Name Panel.”</a>. 277 277 </p><div class="figure"><a name="wxpp004"></a><p class="title"><b>Figure 8.16. The Computer Name Panel.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/wxpp004.png" alt="The Computer Name Panel."></div></div></div><p><br class="figure-break"> 278 </p></li><li ><p>278 </p></li><li class="step" title="Step 5"><p> 279 279 Click on <span class="guimenu">Change</span>. This panel shows that our example machine (TEMPTATION) is in a workgroup called WORKGROUP. 280 280 We will join the domain called MIDEARTH. See <a class="link" href="ClientConfig.html#wxpp006" title="Figure 8.17. The Computer Name Changes Panel.">“The Computer Name Changes Panel.”</a>. 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 </p></li><li ><p>283 <a class="indexterm" name="id25 77713"></a>282 </p></li><li class="step" title="Step 6"><p> 283 <a class="indexterm" name="id2583784"></a> 284 284 Enter the name <span class="guimenu">MIDEARTH</span> in the field below the domain radio button. 285 285 </p><p> 286 286 This panel shows that our example machine (TEMPTATION) is set to join the domain called MIDEARTH. See <a class="link" href="ClientConfig.html#wxpp007" title="Figure 8.18. The Computer Name Changes Panel Domain MIDEARTH.">“The Computer Name Changes Panel Domain MIDEARTH.”</a>. 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 </p></li><li ><p>289 <a class="indexterm" name="id25 77785"></a>290 <a class="indexterm" name="id25 77792"></a>288 </p></li><li class="step" title="Step 7"><p> 289 <a class="indexterm" name="id2583856"></a> 290 <a class="indexterm" name="id2583862"></a> 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="id25 77811"></a>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>.295 <a class="indexterm" name="id2583882"></a> 296 Enter the name <span class="quote">“<span class="quote">root</span>”</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"> 298 </p></li><li ><p>298 </p></li><li class="step" title="Step 8"><p> 299 299 Click on <span class="guimenu">OK</span>. 300 300 </p><p> 301 <a class="indexterm" name="id25 77888"></a>302 <a class="indexterm" name="id25 77894"></a>303 The “<span class="quote">Welcome to the MIDEARTH domain.</span>”dialog box should appear. At this point the machine must be rebooted.301 <a class="indexterm" name="id2583958"></a> 302 <a class="indexterm" name="id2583965"></a> 303 The <span class="quote">“<span class="quote">Welcome to the MIDEARTH domain.</span>”</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="id2577911"></a>Domain Logon Configuration: Windows 9x/Me</h3></div></div></div><p>306 <a class="indexterm" name="id25 77919"></a>307 <a class="indexterm" name="id25 77926"></a>308 <a class="indexterm" name="id25 77933"></a>305 </p></li></ol></div></div><div class="sect2" title="Domain Logon Configuration: Windows 9x/Me"><div class="titlepage"><div><div><h3 class="title"><a name="id2583981"></a>Domain Logon Configuration: Windows 9x/Me</h3></div></div></div><p> 306 <a class="indexterm" name="id2583990"></a> 307 <a class="indexterm" name="id2583997"></a> 308 <a class="indexterm" name="id2584004"></a> 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 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>312 <a class="indexterm" name="id25 77947"></a>313 <a class="indexterm" name="id25 77954"></a>314 <a class="indexterm" name="id25 77961"></a>311 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 312 <a class="indexterm" name="id2584018"></a> 313 <a class="indexterm" name="id2584025"></a> 314 <a class="indexterm" name="id2584032"></a> 315 315 Windows XP Home edition cannot participate in domain or LanManager network logons. 316 </p></div><div class="procedure"><ol type="1"><li><p>316 </p></div><div class="procedure"><ol class="procedure" type="1"><li class="step" title="Step 1"><p> 317 317 Right-click on the <span class="guimenu">Network Neighborhood</span> icon. 318 </p></li><li ><p>318 </p></li><li class="step" title="Step 2"><p> 319 319 The Network Configuration Panel allows all common network settings to be changed. 320 320 See <a class="link" href="ClientConfig.html#WME009" title="Figure 8.20. The Network Panel.">“The Network Panel.”</a>. 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="id25 78040"></a>324 <a class="indexterm" name="id25 78047"></a>323 <a class="indexterm" name="id2584111"></a> 324 <a class="indexterm" name="id2584118"></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 </p></li><li ><p>329 <a class="indexterm" name="id25 78087"></a>330 <a class="indexterm" name="id25 78094"></a>328 </p></li><li class="step" title="Step 3"><p> 329 <a class="indexterm" name="id2584158"></a> 330 <a class="indexterm" name="id2584165"></a> 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="id25 78151"></a>336 <a class="indexterm" name="id25 78158"></a>335 <a class="indexterm" name="id2584222"></a> 336 <a class="indexterm" name="id2584229"></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 </p></li><li ><p>340 <a class="indexterm" name="id25 78184"></a>341 <a class="indexterm" name="id25 78191"></a>342 <a class="indexterm" name="id25 78198"></a>339 </p></li><li class="step" title="Step 4"><p> 340 <a class="indexterm" name="id2584255"></a> 341 <a class="indexterm" name="id2584262"></a> 342 <a class="indexterm" name="id2584269"></a> 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 </p></li><li ><p>347 <a class="indexterm" name="id25 78263"></a>348 <a class="indexterm" name="id25 78270"></a>349 <a class="indexterm" name="id25 78277"></a>350 <a class="indexterm" name="id25 78284"></a>346 </p></li><li class="step" title="Step 5"><p> 347 <a class="indexterm" name="id2584334"></a> 348 <a class="indexterm" name="id2584341"></a> 349 <a class="indexterm" name="id2584348"></a> 350 <a class="indexterm" name="id2584355"></a> 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="id2578354"></a>Common Errors</h2></div></div></div><p>356 <a class="indexterm" name="id25 78362"></a>357 <a class="indexterm" name="id25 78369"></a>355 </p></li></ol></div></div></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2584425"></a>Common Errors</h2></div></div></div><p> 356 <a class="indexterm" name="id2584433"></a> 357 <a class="indexterm" name="id2584440"></a> 358 358 The most common errors that can afflict Windows networking systems include: 359 </p><div class="itemizedlist"><ul type="disc"><li><p>Incorrect IP address.</p></li><li><p>Incorrect or inconsistent netmasks.</p></li><li><p>Incorrect router address.</p></li><li><p>Incorrect DNS server address.</p></li><li><p>Incorrect WINS server address.</p></li><li><p>Use of a Network Scope setting watch out for this one!</p></li></ul></div><p>360 <a class="indexterm" name="id25 78416"></a>361 <a class="indexterm" name="id25 78423"></a>359 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Incorrect IP address.</p></li><li class="listitem"><p>Incorrect or inconsistent netmasks.</p></li><li class="listitem"><p>Incorrect router address.</p></li><li class="listitem"><p>Incorrect DNS server address.</p></li><li class="listitem"><p>Incorrect WINS server address.</p></li><li class="listitem"><p>Use of a Network Scope setting watch out for this one!</p></li></ul></div><p> 360 <a class="indexterm" name="id2584487"></a> 361 <a class="indexterm" name="id2584494"></a> 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" 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>363 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p><code class="filename">smb.conf</code> does not have correct <a class="link" href="smb.conf.5.html#ADDMACHINESCRIPT" target="_top">add machine script</a> settings.</p></li><li class="listitem"><p><span class="quote">“<span class="quote">root</span>”</span> account is not in password backend database.</p></li><li class="listitem"><p>Attempt to use a user account instead of the <span class="quote">“<span class="quote">root</span>”</span> account to join a machine to the domain.</p></li><li class="listitem"><p>Open connections from the workstation to the server.</p></li><li class="listitem"><p>Firewall or filter configurations in place on either the client or the Samba server.</p></li></ul></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="StandAloneServer.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="type.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="optional.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 7. Standalone Servers </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Part III. Advanced Configuration</td></tr></table></div></body></html> -
branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/DNSDHCP.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 48. DNS and DHCP Configuration Guide</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="Appendix.html" title="Part VI. Reference Section"><link rel="prev" href="ch47.html" title="Chapter 47. Samba Support"><link rel="next" href="apa.html" title="Appendix A. GNU General Public License version 3"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 48. DNS and DHCP Configuration Guide</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch47.html">Prev</a> </td><th width="60%" align="center">Part VI. Reference Section</th><td width="20%" align="right"> <a accesskey="n" href="apa.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="DNSDHCP"></a>Chapter 48. DNS and DHCP Configuration Guide</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2692891">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="DNSDHCP.html#id2693070">Example Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="DNSDHCP.html#id2693161">Dynamic DNS</a></span></dt><dt><span class="sect2"><a href="DNSDHCP.html#DHCP">DHCP Server</a></span></dt></dl></dd></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2692891"></a>Features and Benefits</h2></div></div></div><p>2 <a class="indexterm" name="id269 2899"></a>3 <a class="indexterm" name="id269 2909"></a>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 48. DNS and DHCP Configuration Guide</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="Appendix.html" title="Part VI. Reference Section"><link rel="prev" href="ch47.html" title="Chapter 47. Samba Support"><link rel="next" href="apa.html" title="Appendix A. GNU General Public License version 3"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 48. DNS and DHCP Configuration Guide</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch47.html">Prev</a> </td><th width="60%" align="center">Part VI. Reference Section</th><td width="20%" align="right"> <a accesskey="n" href="apa.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 48. DNS and DHCP Configuration Guide"><div class="titlepage"><div><div><h2 class="title"><a name="DNSDHCP"></a>Chapter 48. DNS and DHCP Configuration Guide</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2698948">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="DNSDHCP.html#id2699127">Example Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="DNSDHCP.html#id2699218">Dynamic DNS</a></span></dt><dt><span class="sect2"><a href="DNSDHCP.html#DHCP">DHCP Server</a></span></dt></dl></dd></dl></div><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2698948"></a>Features and Benefits</h2></div></div></div><p> 2 <a class="indexterm" name="id2698956"></a> 3 <a class="indexterm" name="id2698966"></a> 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). … … 9 9 We live in a modern age where many information technology users demand mobility 10 10 and freedom. Microsoft Windows users in particular expect to be able to plug their 11 notebook computer into a network port and have things “<span class="quote">just work.</span>”12 </p><p> 13 <a class="indexterm" name="id269 2936"></a>11 notebook computer into a network port and have things <span class="quote">“<span class="quote">just work.</span>”</span> 12 </p><p> 13 <a class="indexterm" name="id2698992"></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="id269 2953"></a>21 <a class="indexterm" name="id269 2962"></a>22 <a class="indexterm" name="id269 2971"></a>20 <a class="indexterm" name="id2699009"></a> 21 <a class="indexterm" name="id2699018"></a> 22 <a class="indexterm" name="id2699027"></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="id269 2994"></a>31 <a class="indexterm" name="id269 3000"></a>32 <a class="indexterm" name="id269 3007"></a>30 <a class="indexterm" name="id2699050"></a> 31 <a class="indexterm" name="id2699057"></a> 32 <a class="indexterm" name="id2699064"></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="id2693070"></a>Example Configuration</h2></div></div></div><p>39 <a class="indexterm" name="id269 3078"></a>40 <a class="indexterm" name="id269 3085"></a>38 </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>DNS and BIND, By Cricket Liu, Paul Albitz, ISBN: 1-56592-010-4</p></li><li class="listitem"><p>DNS & Bind Cookbook, By Cricket Liu, ISBN: 0-596-00410-9</p></li><li class="listitem"><p>The DHCP Handbook (2nd Edition), By: Ralph Droms, Ted Lemon, ISBN 0-672-32327-3</p></li></ol></div></div><div class="sect1" title="Example Configuration"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2699127"></a>Example Configuration</h2></div></div></div><p> 39 <a class="indexterm" name="id2699135"></a> 40 <a class="indexterm" name="id2699142"></a> 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="id269 3096"></a> The alternative to43 complexities of DNS, but alas, DNS won. <a class="indexterm" name="id2699152"></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="id269 3117"></a>49 <a class="indexterm" name="id269 3123"></a>48 <a class="indexterm" name="id2699174"></a> 49 <a class="indexterm" name="id2699180"></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="id2693161"></a>Dynamic DNS</h3></div></div></div><p>70 <a class="indexterm" name="id269 3169"></a>69 </p><div class="sect2" title="Dynamic DNS"><div class="titlepage"><div><div><h3 class="title"><a name="id2699218"></a>Dynamic DNS</h3></div></div></div><p> 70 <a class="indexterm" name="id2699226"></a> 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="id269 3184"></a>75 <a class="indexterm" name="id2699241"></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="id269 3328"></a>227 <a class="indexterm" name="id269 3335"></a>226 <a class="indexterm" name="id2699385"></a> 227 <a class="indexterm" name="id2699392"></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 … … 231 231 <code class="filename">.jnl</code> extension. Do not edit or tamper with the configuration 232 232 files or with the <code class="filename">.jnl</code> files that are created. 233 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="DHCP"></a>DHCP Server</h3></div></div></div><p>233 </p></div><div class="sect2" title="DHCP Server"><div class="titlepage"><div><div><h3 class="title"><a name="DHCP"></a>DHCP Server</h3></div></div></div><p> 234 234 The following file is used with the ISC DHCP Server version 3. 235 235 The file is located in <code class="filename">/etc/dhcpd.conf</code>: … … 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 GNUGeneral Public License version 3264 <acronym class="acronym">GNU</acronym> General Public License version 3 265 265 </td></tr></table></div></body></html> -
branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/FastStart.html
r274 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 2. Fast Start: Cure for Impatience</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="introduction.html" title="Part I. General Installation"><link rel="prev" href="install.html" title="Chapter 1. How to Install and Test SAMBA"><link rel="next" href="type.html" title="Part II. Server Configuration Basics"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 2. Fast Start: Cure for Impatience</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="install.html">Prev</a> </td><th width="60%" align="center">Part I. General Installation</th><td width="20%" align="right"> <a accesskey="n" href="type.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="FastStart"></a>Chapter 2. Fast Start: Cure for Impatience</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2554132">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2554155">Description of Example Sites</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2554224">Worked Examples</a></span></dt><dd><dl><dt><span class="sect2"><a href="FastStart.html#id2554243">Standalone Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2555984">Domain Member Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2556827">Domain Controller</a></span></dt></dl></dd></dl></div><p>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 2. Fast Start: Cure for Impatience</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="introduction.html" title="Part I. General Installation"><link rel="prev" href="install.html" title="Chapter 1. How to Install and Test SAMBA"><link rel="next" href="type.html" title="Part II. Server Configuration Basics"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 2. Fast Start: Cure for Impatience</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="install.html">Prev</a> </td><th width="60%" align="center">Part I. General Installation</th><td width="20%" align="right"> <a accesskey="n" href="type.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 2. Fast Start: Cure for Impatience"><div class="titlepage"><div><div><h2 class="title"><a name="FastStart"></a>Chapter 2. Fast Start: Cure for Impatience</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2560189">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2560212">Description of Example Sites</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2560282">Worked Examples</a></span></dt><dd><dl><dt><span class="sect2"><a href="FastStart.html#id2560300">Standalone Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2562042">Domain Member Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2562885">Domain Controller</a></span></dt></dl></dd></dl></div><p> 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 … … 8 8 that has been requested. 9 9 </p><p> 10 The information in this chapter is very sparse compared with the book “<span class="quote">Samba-3 by Example</span>”11 that was written after the original version of this book was nearly complete. “<span class="quote">Samba-3 by Example</span>”10 The information in this chapter is very sparse compared with the book <span class="quote">“<span class="quote">Samba-3 by Example</span>”</span> 11 that was written after the original version of this book was nearly complete. <span class="quote">“<span class="quote">Samba-3 by Example</span>”</span> 12 12 was the result of feedback from reviewers during the final copy editing of the first edition. It 13 13 was interesting to see that reader feedback mirrored that given by the original reviewers. 14 14 In any case, a month and a half was spent in doing basic research to better understand what 15 new as well as experienced network administrators would best benefit from. The book “<span class="quote">Samba-3 by Example</span>”15 new as well as experienced network administrators would best benefit from. The book <span class="quote">“<span class="quote">Samba-3 by Example</span>”</span> 16 16 is the result of that research. What is presented in the few pages of this book is covered 17 far more comprehensively in the second edition of “<span class="quote">Samba-3 by Example</span>”. The second edition17 far more comprehensively in the second edition of <span class="quote">“<span class="quote">Samba-3 by Example</span>”</span>. The second edition 18 18 of both books will be released at the same time. 19 19 </p><p> 20 So in summary, the book “<span class="quote">The Official Samba-3 HOWTO & Reference Guide</span>”is intended21 as the equivalent of an auto mechanic's repair guide. The book “<span class="quote">Samba-3 by Example</span>”is the20 So in summary, the book <span class="quote">“<span class="quote">The Official Samba-3 HOWTO & Reference Guide</span>”</span> is intended 21 as the equivalent of an auto mechanic's repair guide. The book <span class="quote">“<span class="quote">Samba-3 by Example</span>”</span> is the 22 22 equivalent of the driver's guide that explains how to drive the car. If you want complete network 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="id2554132"></a>Features and Benefits</h2></div></div></div><p>25 </p><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2560189"></a>Features and Benefits</h2></div></div></div><p> 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="id2554155"></a>Description of Example Sites</h2></div></div></div><p>35 </p></div><div class="sect1" title="Description of Example Sites"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2560212"></a>Description of Example Sites</h2></div></div></div><p> 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="id2554224"></a>Worked Examples</h2></div></div></div><p>56 </p></div><div class="sect1" title="Worked Examples"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2560282"></a>Worked Examples</h2></div></div></div><p> 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="id2554243"></a>Standalone Server</h3></div></div></div><p>64 <a class="indexterm" name="id25 54250"></a>63 </p><div class="sect2" title="Standalone Server"><div class="titlepage"><div><div><h3 class="title"><a name="id2560300"></a>Standalone Server</h3></div></div></div><p> 64 <a class="indexterm" name="id2560308"></a> 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 … … 69 69 As the examples are developed, every attempt is made to progress the system toward greater capability, just as 70 70 one might expect would happen in a real business office as that office grows in size and its needs change. 71 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="anon-ro"></a>Anonymous Read-Only Document Server</h4></div></div></div><p>72 <a class="indexterm" name="id25 54282"></a>71 </p><div class="sect3" title="Anonymous Read-Only Document Server"><div class="titlepage"><div><div><h4 class="title"><a name="anon-ro"></a>Anonymous Read-Only Document Server</h4></div></div></div><p> 72 <a class="indexterm" name="id2560339"></a> 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 75 75 shared resource could be a CD-ROM drive, a CD-ROM image, or a file 76 76 storage area. 77 </p><div class="itemizedlist"><ul type="disc"><li><p>77 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 78 78 The file system share point will be <code class="filename">/export</code>. 79 </p></li><li ><p>79 </p></li><li class="listitem"><p> 80 80 All files will be owned by a user called Jack Baumbach. 81 81 Jack's login name will be <span class="emphasis"><em>jackb</em></span>. His password will be … … 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="id2554326"></a><p class="title"><b>Procedure 2.1. Installation Procedure: Read-Only Server</b></p><div class="example"><a name="anon-example"></a><p class="title"><b>Example 2.1. Anonymous Read-Only Server Configuration</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td># Global parameters</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2554452"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2554462"></a><em class="parameter"><code>netbios name = HOBBIT</code></em></td></tr><tr><td><a class="indexterm" name="id2554472"></a><em class="parameter"><code>security = share</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[data]</code></em></td></tr><tr><td><a class="indexterm" name="id2554491"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2554502"></a><em class="parameter"><code>path = /export</code></em></td></tr><tr><td><a class="indexterm" name="id2554512"></a><em class="parameter"><code>read only = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2554522"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr></table></div></div><br class="example-break"><ol type="1"><li><p>85 </p></li></ul></div><div class="procedure" title="Procedure 2.1. Installation Procedure: Read-Only Server"><a name="id2560383"></a><p class="title"><b>Procedure 2.1. Installation Procedure: Read-Only Server</b></p><div class="example"><a name="anon-example"></a><p class="title"><b>Example 2.1. Anonymous Read-Only Server Configuration</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td># Global parameters</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2560509"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2560519"></a><em class="parameter"><code>netbios name = HOBBIT</code></em></td></tr><tr><td><a class="indexterm" name="id2560530"></a><em class="parameter"><code>security = share</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[data]</code></em></td></tr><tr><td><a class="indexterm" name="id2560548"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2560559"></a><em class="parameter"><code>path = /export</code></em></td></tr><tr><td><a class="indexterm" name="id2560569"></a><em class="parameter"><code>read only = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2560580"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr></table></div></div><br class="example-break"><ol class="procedure" type="1"><li class="step" title="Step 1"><p> 86 86 Add user to system (with creation of the user's home directory): 87 87 </p><pre class="screen"> 88 88 <code class="prompt">root# </code><strong class="userinput"><code>useradd -c "Jack Baumbach" -m -g users -p m0r3pa1n jackb</code></strong> 89 89 </pre><p> 90 </p></li><li ><p>90 </p></li><li class="step" title="Step 2"><p> 91 91 Create directory, and set permissions and ownership: 92 92 </p><pre class="screen"> … … 95 95 <code class="prompt">root# </code><strong class="userinput"><code>chown jackb.users /export</code></strong> 96 96 </pre><p> 97 </p></li><li ><p>97 </p></li><li class="step" title="Step 3"><p> 98 98 Copy the files that should be shared to the <code class="filename">/export</code> 99 99 directory. 100 </p></li><li ><p>100 </p></li><li class="step" title="Step 4"><p> 101 101 Install the Samba configuration file (<code class="filename">/etc/samba/smb.conf</code>) 102 102 as shown in <a class="link" href="FastStart.html#anon-example" title="Example 2.1. Anonymous Read-Only Server Configuration">Anonymous Read-Only Server Configuration</a>. 103 </p></li><li ><p>103 </p></li><li class="step" title="Step 5"><p> 104 104 Test the configuration file by executing the following command: 105 105 </p><pre class="screen"> … … 137 137 guest only = Yes 138 138 </pre><p> 139 </p></li><li ><p>139 </p></li><li class="step" title="Step 6"><p> 140 140 Start Samba using the method applicable to your operating system platform. The method that 141 141 should be used is platform dependent. Refer to <a class="link" href="compiling.html#startingSamba" title="Starting the smbd nmbd and winbindd">Starting Samba</a> 142 142 for further information regarding the starting of Samba. 143 </p></li><li ><p>143 </p></li><li class="step" title="Step 7"><p> 144 144 Configure your MS Windows client for workgroup <span class="emphasis"><em>MIDEARTH</em></span>, 145 145 set the machine name to ROBBINS, reboot, wait a few (2 - 5) minutes, … … 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="id2554659"></a>Anonymous Read-Write Document Server</h4></div></div></div><p>155 <a class="indexterm" name="id25 54667"></a>154 </p></div><div class="sect3" title="Anonymous Read-Write Document Server"><div class="titlepage"><div><div><h4 class="title"><a name="id2560716"></a>Anonymous Read-Write Document Server</h4></div></div></div><p> 155 <a class="indexterm" name="id2560724"></a> 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="id2554766"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2554777"></a><em class="parameter"><code>netbios name = HOBBIT</code></em></td></tr><tr><td><a class="indexterm" name="id2554787"></a><em class="parameter"><code>security = SHARE</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[data]</code></em></td></tr><tr><td><a class="indexterm" name="id2554806"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2554816"></a><em class="parameter"><code>path = /export</code></em></td></tr><tr><td><a class="indexterm" name="id2554827"></a><em class="parameter"><code>force user = jackb</code></em></td></tr><tr><td><a class="indexterm" name="id2554837"></a><em class="parameter"><code>force group = users</code></em></td></tr><tr><td><a class="indexterm" name="id2554848"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2554858"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr></table></div></div><br class="example-break"></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2554870"></a>Anonymous Print Server</h4></div></div></div><p>173 <a class="indexterm" name="id25 54878"></a>172 </p><div class="example"><a name="anon-rw"></a><p class="title"><b>Example 2.2. Modified Anonymous Read-Write smb.conf</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td># Global parameters</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2560824"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2560834"></a><em class="parameter"><code>netbios name = HOBBIT</code></em></td></tr><tr><td><a class="indexterm" name="id2560844"></a><em class="parameter"><code>security = SHARE</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[data]</code></em></td></tr><tr><td><a class="indexterm" name="id2560863"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2560874"></a><em class="parameter"><code>path = /export</code></em></td></tr><tr><td><a class="indexterm" name="id2560884"></a><em class="parameter"><code>force user = jackb</code></em></td></tr><tr><td><a class="indexterm" name="id2560894"></a><em class="parameter"><code>force group = users</code></em></td></tr><tr><td><a class="indexterm" name="id2560905"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2560915"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr></table></div></div><br class="example-break"></div><div class="sect3" title="Anonymous Print Server"><div class="titlepage"><div><div><h4 class="title"><a name="id2560928"></a>Anonymous Print Server</h4></div></div></div><p> 173 <a class="indexterm" name="id2560935"></a> 174 174 An anonymous print server serves two purposes: 175 </p><div class="itemizedlist"><ul type="disc"><li><p>175 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 176 176 It allows printing to all printers from a single location. 177 </p></li><li ><p>177 </p></li><li class="listitem"><p> 178 178 It reduces network traffic congestion due to many users trying 179 179 to access a limited number of printers. … … 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="id2554955"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2554965"></a><em class="parameter"><code>netbios name = LUTHIEN</code></em></td></tr><tr><td><a class="indexterm" name="id2554975"></a><em class="parameter"><code>security = share</code></em></td></tr><tr><td><a class="indexterm" name="id2554986"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2554996"></a><em class="parameter"><code>disable spoolss = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2555007"></a><em class="parameter"><code>show add printer wizard = No</code></em></td></tr><tr><td><a class="indexterm" name="id2555018"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[printers]</code></em></td></tr><tr><td><a class="indexterm" name="id2555036"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2555047"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2555057"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2555068"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2555078"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2555088"></a><em class="parameter"><code>browseable = No</code></em></td></tr></table></div></div><br class="example-break"><p>190 </p><div class="example"><a name="anon-print"></a><p class="title"><b>Example 2.3. Anonymous Print Server smb.conf</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td># Global parameters</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2561012"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2561022"></a><em class="parameter"><code>netbios name = LUTHIEN</code></em></td></tr><tr><td><a class="indexterm" name="id2561033"></a><em class="parameter"><code>security = share</code></em></td></tr><tr><td><a class="indexterm" name="id2561043"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2561054"></a><em class="parameter"><code>disable spoolss = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2561064"></a><em class="parameter"><code>show add printer wizard = No</code></em></td></tr><tr><td><a class="indexterm" name="id2561075"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[printers]</code></em></td></tr><tr><td><a class="indexterm" name="id2561094"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2561104"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2561115"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2561125"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2561135"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2561146"></a><em class="parameter"><code>browseable = No</code></em></td></tr></table></div></div><br class="example-break"><p> 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 … … 200 200 CUPS. In such case, it could be set to the name of any file that contains a list 201 201 of printers that should be made available to Windows clients. 202 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>202 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 203 203 Windows users will need to install a local printer and then change the print 204 204 to device after installation of the drivers. The print to device can then be set to … … 207 207 Make sure that the directory <code class="filename">/var/spool/samba</code> is capable of being used 208 208 as intended. The following steps must be taken to achieve this: 209 </p><div class="itemizedlist"><ul type="disc"><li><p>209 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 210 210 The directory must be owned by the superuser (root) user and group: 211 211 </p><pre class="screen"> 212 212 <code class="prompt">root# </code><strong class="userinput"><code>chown root.root /var/spool/samba</code></strong> 213 213 </pre><p> 214 </p></li><li ><p>214 </p></li><li class="listitem"><p> 215 215 Directory permissions should be set for public read-write with the 216 216 sticky bit set as shown: … … 220 220 The purpose of setting the sticky bit is to prevent who does not own the temporary print file 221 221 from being able to take control of it with the potential for devious misuse. 222 </p></li></ul></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>223 <a class="indexterm" name="id25 55198"></a>224 <a class="indexterm" name="id25 55207"></a>222 </p></li></ul></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 223 <a class="indexterm" name="id2561256"></a> 224 <a class="indexterm" name="id2561264"></a> 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 rawPrinting 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="id2555235"></a>Secure Read-Write File and Print Server</h4></div></div></div><p>229 files. Refer to <a class="link" href="CUPS-printing.html#cups-raw" title="Explicitly Enable “raw” Printing for application/octet-stream">“Explicitly Enable raw Printing for application/octet-stream”</a>. 230 </p></div></div><div class="sect3" title="Secure Read-Write File and Print Server"><div class="titlepage"><div><div><h4 class="title"><a name="id2561292"></a>Secure Read-Write File and Print Server</h4></div></div></div><p> 231 231 We progress now from simple systems to a server that is slightly more complex. 232 232 </p><p> … … 251 251 added to the list of active passdb backends no matter whether it specified directly in Samba configuration 252 252 file or not. 253 </p><div class="procedure" ><a name="id2555305"></a><p class="title"><b>Procedure 2.2. Installing the Secure Office Server</b></p><div class="example"><a name="OfficeServer"></a><p class="title"><b>Example 2.4. Secure Office Server smb.conf</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td># Global parameters</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2555400"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2555411"></a><em class="parameter"><code>netbios name = OLORIN</code></em></td></tr><tr><td><a class="indexterm" name="id2555421"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2555431"></a><em class="parameter"><code>disable spoolss = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2555442"></a><em class="parameter"><code>show add printer wizard = No</code></em></td></tr><tr><td><a class="indexterm" name="id2555453"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[homes]</code></em></td></tr><tr><td><a class="indexterm" name="id2555472"></a><em class="parameter"><code>comment = Home Directories</code></em></td></tr><tr><td><a class="indexterm" name="id2555482"></a><em class="parameter"><code>valid users = %S</code></em></td></tr><tr><td><a class="indexterm" name="id2555492"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2555503"></a><em class="parameter"><code>browseable = No</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[public]</code></em></td></tr><tr><td><a class="indexterm" name="id2555522"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2555532"></a><em class="parameter"><code>path = /export</code></em></td></tr><tr><td><a class="indexterm" name="id2555542"></a><em class="parameter"><code>force user = maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2555553"></a><em class="parameter"><code>force group = users</code></em></td></tr><tr><td><a class="indexterm" name="id2555563"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[printers]</code></em></td></tr><tr><td><a class="indexterm" name="id2555582"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2555592"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2555603"></a><em class="parameter"><code>printer admin = root, maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2555613"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2555624"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2555634"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2555644"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2555655"></a><em class="parameter"><code>browseable = No</code></em></td></tr></table></div></div><br class="example-break"><ol type="1"><li><p>254 <a class="indexterm" name="id25 55316"></a>253 </p><div class="procedure" title="Procedure 2.2. Installing the Secure Office Server"><a name="id2561362"></a><p class="title"><b>Procedure 2.2. Installing the Secure Office Server</b></p><div class="example"><a name="OfficeServer"></a><p class="title"><b>Example 2.4. Secure Office Server smb.conf</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td># Global parameters</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2561458"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2561468"></a><em class="parameter"><code>netbios name = OLORIN</code></em></td></tr><tr><td><a class="indexterm" name="id2561478"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2561489"></a><em class="parameter"><code>disable spoolss = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2561499"></a><em class="parameter"><code>show add printer wizard = No</code></em></td></tr><tr><td><a class="indexterm" name="id2561510"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[homes]</code></em></td></tr><tr><td><a class="indexterm" name="id2561529"></a><em class="parameter"><code>comment = Home Directories</code></em></td></tr><tr><td><a class="indexterm" name="id2561539"></a><em class="parameter"><code>valid users = %S</code></em></td></tr><tr><td><a class="indexterm" name="id2561550"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2561560"></a><em class="parameter"><code>browseable = No</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[public]</code></em></td></tr><tr><td><a class="indexterm" name="id2561579"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2561589"></a><em class="parameter"><code>path = /export</code></em></td></tr><tr><td><a class="indexterm" name="id2561600"></a><em class="parameter"><code>force user = maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2561610"></a><em class="parameter"><code>force group = users</code></em></td></tr><tr><td><a class="indexterm" name="id2561621"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[printers]</code></em></td></tr><tr><td><a class="indexterm" name="id2561639"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2561650"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2561660"></a><em class="parameter"><code>printer admin = root, maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2561671"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2561681"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2561691"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2561702"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2561712"></a><em class="parameter"><code>browseable = No</code></em></td></tr></table></div></div><br class="example-break"><ol class="procedure" type="1"><li class="step" title="Step 1"><p> 254 <a class="indexterm" name="id2561373"></a> 255 255 Add all users to the operating system: 256 256 </p><pre class="screen"> … … 259 259 <code class="prompt">root# </code><strong class="userinput"><code>useradd -c "Amed Sehkah" -m -g users -p secret ameds</code></strong> 260 260 </pre><p> 261 </p></li><li ><p>261 </p></li><li class="step" title="Step 2"><p> 262 262 Configure the Samba <code class="filename">smb.conf</code> file as shown in <a class="link" href="FastStart.html#OfficeServer" title="Example 2.4. Secure Office Server smb.conf">“Secure Office Server smb.conf”</a>. 263 </p></li><li ><p>263 </p></li><li class="step" title="Step 3"><p> 264 264 Initialize the Microsoft Windows password database with the new users: 265 265 </p><pre class="screen"> … … 284 284 Added user ameds. 285 285 </pre><p> 286 </p></li><li ><p>286 </p></li><li class="step" title="Step 4"><p> 287 287 Install printer using the CUPS Web interface. Make certain that all 288 288 printers that will be shared with Microsoft Windows clients are installed 289 289 as raw printing devices. 290 </p></li><li ><p>290 </p></li><li class="step" title="Step 5"><p> 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 55775"></a>294 <a class="indexterm" name="id25 55781"></a>295 <a class="indexterm" name="id25 55788"></a>296 <a class="indexterm" name="id25 55796"></a>293 <a class="indexterm" name="id2561832"></a> 294 <a class="indexterm" name="id2561839"></a> 295 <a class="indexterm" name="id2561845"></a> 296 <a class="indexterm" name="id2561853"></a> 297 297 </p><pre class="screen"> 298 298 <code class="prompt">root# </code><strong class="userinput"><code> nmbd; smbd;</code></strong> … … 301 301 maintaining control can add the <code class="constant">-D</code> flag to coerce them to start 302 302 up in daemon mode. 303 </p></li><li ><p>303 </p></li><li class="step" title="Step 6"><p> 304 304 Configure the <code class="filename">/export</code> directory: 305 305 </p><pre class="screen"> … … 308 308 <code class="prompt">root# </code><strong class="userinput"><code>chmod u=rwx,g=rwx,o-rwx /export</code></strong> 309 309 </pre><p> 310 </p></li><li ><p>310 </p></li><li class="step" title="Step 7"><p> 311 311 Check that Samba is running correctly: 312 312 </p><pre class="screen"> … … 335 335 Connection to olorin failed 336 336 </pre><p> 337 </p></li><li ><p>337 </p></li><li class="step" title="Step 8"><p> 338 338 Connect to OLORIN as maryo: 339 339 </p><pre class="screen"> … … 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="id2555984"></a>Domain Member Server</h3></div></div></div><p>362 <a class="indexterm" name="id25 55992"></a>361 </p></div></div><div class="sect2" title="Domain Member Server"><div class="titlepage"><div><div><h3 class="title"><a name="id2562042"></a>Domain Member Server</h3></div></div></div><p> 362 <a class="indexterm" name="id2562049"></a> 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="id2556059"></a>Example Configuration</h4></div></div></div><p>393 </p><div class="sect3" title="Example Configuration"><div class="titlepage"><div><div><h4 class="title"><a name="id2562116"></a>Example Configuration</h4></div></div></div><p> 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="id2556132"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2556143"></a><em class="parameter"><code>netbios name = VALINOR</code></em></td></tr><tr><td><a class="indexterm" name="id2556153"></a><em class="parameter"><code>security = DOMAIN</code></em></td></tr><tr><td><a class="indexterm" name="id2556163"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2556174"></a><em class="parameter"><code>disable spoolss = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2556184"></a><em class="parameter"><code>show add printer wizard = No</code></em></td></tr><tr><td><a class="indexterm" name="id2556195"></a><em class="parameter"><code>idmap uid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2556206"></a><em class="parameter"><code>idmap gid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2556216"></a><em class="parameter"><code>winbind use default domain = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2556227"></a><em class="parameter"><code>printing = cups</code></em></td></tr></table></div></div><br class="example-break"><div class="example"><a name="fast-memberserver-shares"></a><p class="title"><b>Example 2.6. Member Server smb.conf (Shares and Services)</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[homes]</code></em></td></tr><tr><td><a class="indexterm" name="id2556260"></a><em class="parameter"><code>comment = Home Directories</code></em></td></tr><tr><td><a class="indexterm" name="id2556271"></a><em class="parameter"><code>valid users = %S</code></em></td></tr><tr><td><a class="indexterm" name="id2556281"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2556292"></a><em class="parameter"><code>browseable = No</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[spytfull]</code></em></td></tr><tr><td><a class="indexterm" name="id2556310"></a><em class="parameter"><code>comment = Accounting Application Only</code></em></td></tr><tr><td><a class="indexterm" name="id2556322"></a><em class="parameter"><code>path = /export/spytfull</code></em></td></tr><tr><td><a class="indexterm" name="id2556332"></a><em class="parameter"><code>valid users = @Accounts</code></em></td></tr><tr><td><a class="indexterm" name="id2556342"></a><em class="parameter"><code>admin users = maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2556353"></a><em class="parameter"><code>read only = Yes</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[public]</code></em></td></tr><tr><td><a class="indexterm" name="id2556372"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2556382"></a><em class="parameter"><code>path = /export/public</code></em></td></tr><tr><td><a class="indexterm" name="id2556392"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[printers]</code></em></td></tr><tr><td><a class="indexterm" name="id2556411"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2556422"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2556432"></a><em class="parameter"><code>printer admin = root, maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2556442"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2556453"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2556463"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2556474"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2556484"></a><em class="parameter"><code>browseable = No</code></em></td></tr></table></div></div><br class="example-break"><ol type="1"><li><p>397 </p><div class="procedure"><div class="example"><a name="fast-member-server"></a><p class="title"><b>Example 2.5. Member Server smb.conf (Globals)</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td># Global parameters</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2562190"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2562200"></a><em class="parameter"><code>netbios name = VALINOR</code></em></td></tr><tr><td><a class="indexterm" name="id2562210"></a><em class="parameter"><code>security = DOMAIN</code></em></td></tr><tr><td><a class="indexterm" name="id2562221"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2562231"></a><em class="parameter"><code>disable spoolss = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2562242"></a><em class="parameter"><code>show add printer wizard = No</code></em></td></tr><tr><td><a class="indexterm" name="id2562253"></a><em class="parameter"><code>idmap uid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2562263"></a><em class="parameter"><code>idmap gid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2562273"></a><em class="parameter"><code>winbind use default domain = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2562284"></a><em class="parameter"><code>printing = cups</code></em></td></tr></table></div></div><br class="example-break"><div class="example"><a name="fast-memberserver-shares"></a><p class="title"><b>Example 2.6. Member Server smb.conf (Shares and Services)</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[homes]</code></em></td></tr><tr><td><a class="indexterm" name="id2562318"></a><em class="parameter"><code>comment = Home Directories</code></em></td></tr><tr><td><a class="indexterm" name="id2562328"></a><em class="parameter"><code>valid users = %S</code></em></td></tr><tr><td><a class="indexterm" name="id2562339"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2562349"></a><em class="parameter"><code>browseable = No</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[spytfull]</code></em></td></tr><tr><td><a class="indexterm" name="id2562368"></a><em class="parameter"><code>comment = Accounting Application Only</code></em></td></tr><tr><td><a class="indexterm" name="id2562379"></a><em class="parameter"><code>path = /export/spytfull</code></em></td></tr><tr><td><a class="indexterm" name="id2562389"></a><em class="parameter"><code>valid users = @Accounts</code></em></td></tr><tr><td><a class="indexterm" name="id2562400"></a><em class="parameter"><code>admin users = maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2562410"></a><em class="parameter"><code>read only = Yes</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[public]</code></em></td></tr><tr><td><a class="indexterm" name="id2562429"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2562439"></a><em class="parameter"><code>path = /export/public</code></em></td></tr><tr><td><a class="indexterm" name="id2562450"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[printers]</code></em></td></tr><tr><td><a class="indexterm" name="id2562469"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2562479"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2562489"></a><em class="parameter"><code>printer admin = root, maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2562500"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2562510"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2562521"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2562531"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2562541"></a><em class="parameter"><code>browseable = No</code></em></td></tr></table></div></div><br class="example-break"><ol class="procedure" type="1"><li class="step" title="Step 1"><p> 398 398 Do not add users to the UNIX/Linux server; all of this will run off the 399 399 central domain. 400 </p></li><li ><p>400 </p></li><li class="step" title="Step 2"><p> 401 401 Configure <code class="filename">smb.conf</code> according to <a class="link" href="FastStart.html#fast-member-server" title="Example 2.5. Member Server smb.conf (Globals)">Member server smb.conf 402 402 (globals)</a> and <a class="link" href="FastStart.html#fast-memberserver-shares" title="Example 2.6. Member Server smb.conf (Shares and Services)">Member server smb.conf (shares 403 403 and services)</a>. 404 </p></li><li ><p>405 <a class="indexterm" name="id25 56501"></a>404 </p></li><li class="step" title="Step 3"><p> 405 <a class="indexterm" name="id2562558"></a> 406 406 Join the domain. Note: Do not start Samba until this step has been completed! 407 407 </p><pre class="screen"> … … 409 409 Joined domain MIDEARTH. 410 410 </pre><p> 411 </p></li><li ><p>411 </p></li><li class="step" title="Step 4"><p> 412 412 Make absolutely certain that you disable (shut down) the <code class="literal">nscd</code> 413 413 daemon on any system on which <code class="literal">winbind</code> is configured to run. 414 </p></li><li ><p>414 </p></li><li class="step" title="Step 5"><p> 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 56553"></a>418 <a class="indexterm" name="id25 56559"></a>419 <a class="indexterm" name="id25 56566"></a>420 <a class="indexterm" name="id25 56572"></a>421 <a class="indexterm" name="id25 56580"></a>422 <a class="indexterm" name="id25 56589"></a>417 <a class="indexterm" name="id2562610"></a> 418 <a class="indexterm" name="id2562617"></a> 419 <a class="indexterm" name="id2562623"></a> 420 <a class="indexterm" name="id2562629"></a> 421 <a class="indexterm" name="id2562638"></a> 422 <a class="indexterm" name="id2562646"></a> 423 423 </p><pre class="screen"> 424 424 <code class="prompt">root# </code><strong class="userinput"><code>nmbd; smbd; winbindd;</code></strong> 425 425 </pre><p> 426 </p></li><li ><p>426 </p></li><li class="step" title="Step 6"><p> 427 427 Configure the name service switch (NSS) control file on your system to resolve user and group names 428 428 via winbind. Edit the following lines in <code class="filename">/etc/nsswitch.conf</code>: … … 432 432 hosts: files dns winbind 433 433 </pre><p> 434 </p></li><li ><p>434 </p></li><li class="step" title="Step 7"><p> 435 435 Set the password for <code class="literal">wbinfo</code> to use: 436 436 </p><pre class="screen"> 437 437 <code class="prompt">root# </code><strong class="userinput"><code>wbinfo --set-auth-user=root%'bigsecret'</code></strong> 438 438 </pre><p> 439 </p></li><li ><p>439 </p></li><li class="step" title="Step 8"><p> 440 440 Validate that domain user and group credentials can be correctly resolved by executing: 441 441 </p><pre class="screen"> … … 454 454 MIDEARTH\Accounts 455 455 </pre><p> 456 </p></li><li ><p>456 </p></li><li class="step" title="Step 9"><p> 457 457 Check that <code class="literal">winbind</code> is working. The following demonstrates correct 458 458 username resolution via the <code class="literal">getent</code> system utility: … … 461 461 maryo:x:15000:15003:Mary Orville:/home/MIDEARTH/maryo:/bin/false 462 462 </pre><p> 463 </p></li><li ><p>463 </p></li><li class="step" title="Step 10"><p> 464 464 A final test that we have this under control might be reassuring: 465 465 </p><pre class="screen"> … … 473 473 <code class="prompt">root# </code><strong class="userinput"><code>rm /export/a_file</code></strong> 474 474 </pre><p> 475 </p></li><li ><p>475 </p></li><li class="step" title="Step 11"><p> 476 476 Configuration is now mostly complete, so this is an opportune time 477 477 to configure the directory structure for this site: … … 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="id2556827"></a>Domain Controller</h3></div></div></div><p>484 <a class="indexterm" name="id25 56835"></a>483 </p></li></ol></div></div></div><div class="sect2" title="Domain Controller"><div class="titlepage"><div><div><h3 class="title"><a name="id2562885"></a>Domain Controller</h3></div></div></div><p> 484 <a class="indexterm" name="id2562892"></a> 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 … … 499 499 authentication services. The following are symptoms of an under-resourced domain control 500 500 environment: 501 </p><div class="itemizedlist"><ul type="disc"><li><p>501 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 502 502 Domain logons intermittently fail. 503 </p></li><li ><p>503 </p></li><li class="listitem"><p> 504 504 File access on a domain member server intermittently fails, giving a permission denied 505 505 error message. … … 514 514 the contents of the database, except by external means (i.e., there is no self-contained protocol 515 515 in Samba-3 for Security Account Manager database [SAM] replication). 516 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>516 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 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="id2556907"></a>Example: Engineering Office</h4></div></div></div><p>518 </p></div><div class="sect3" title="Example: Engineering Office"><div class="titlepage"><div><div><h4 class="title"><a name="id2562964"></a>Example: Engineering Office</h4></div></div></div><p> 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="id2556977"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2556987"></a><em class="parameter"><code>netbios name = FRODO</code></em></td></tr><tr><td><a class="indexterm" name="id2556997"></a><em class="parameter"><code>passdb backend = tdbsam</code></em></td></tr><tr><td><a class="indexterm" name="id2557008"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2557018"></a><em class="parameter"><code>add user script = /usr/sbin/useradd -m %u</code></em></td></tr><tr><td><a class="indexterm" name="id2557029"></a><em class="parameter"><code>delete user script = /usr/sbin/userdel -r %u</code></em></td></tr><tr><td><a class="indexterm" name="id2557041"></a><em class="parameter"><code>add group script = /usr/sbin/groupadd %g</code></em></td></tr><tr><td><a class="indexterm" name="id2557052"></a><em class="parameter"><code>delete group script = /usr/sbin/groupdel %g</code></em></td></tr><tr><td><a class="indexterm" name="id2557063"></a><em class="parameter"><code>add user to group script = /usr/sbin/groupmod -A %u %g</code></em></td></tr><tr><td><a class="indexterm" name="id2557075"></a><em class="parameter"><code>delete user from group script = /usr/sbin/groupmod -R %u %g</code></em></td></tr><tr><td><a class="indexterm" name="id2557087"></a><em class="parameter"><code>add machine script = /usr/sbin/useradd -s /bin/false -d /var/lib/nobody %u</code></em></td></tr><tr><td># Note: The following specifies the default logon script.</td></tr><tr><td># Per user logon scripts can be specified in the user account using pdbedit </td></tr><tr><td><a class="indexterm" name="id2557107"></a><em class="parameter"><code>logon script = scripts\logon.bat</code></em></td></tr><tr><td># This sets the default profile path. Set per user paths with pdbedit</td></tr><tr><td><a class="indexterm" name="id2557123"></a><em class="parameter"><code>logon path = \\%L\Profiles\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2557134"></a><em class="parameter"><code>logon drive = H:</code></em></td></tr><tr><td><a class="indexterm" name="id2557144"></a><em class="parameter"><code>logon home = \\%L\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2557155"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2557165"></a><em class="parameter"><code>os level = 35</code></em></td></tr><tr><td><a class="indexterm" name="id2557176"></a><em class="parameter"><code>preferred master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2557186"></a><em class="parameter"><code>domain master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2557196"></a><em class="parameter"><code>idmap uid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2557207"></a><em class="parameter"><code>idmap gid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2557217"></a><em class="parameter"><code>printing = cups</code></em></td></tr></table></div></div><br class="example-break"><div class="example"><a name="fast-engoffice-shares"></a><p class="title"><b>Example 2.8. Engineering Office smb.conf (shares and services)</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[homes]</code></em></td></tr><tr><td><a class="indexterm" name="id2557251"></a><em class="parameter"><code>comment = Home Directories</code></em></td></tr><tr><td><a class="indexterm" name="id2557261"></a><em class="parameter"><code>valid users = %S</code></em></td></tr><tr><td><a class="indexterm" name="id2557271"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2557282"></a><em class="parameter"><code>browseable = No</code></em></td></tr><tr><td># Printing auto-share (makes printers available thru CUPS)</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[printers]</code></em></td></tr><tr><td><a class="indexterm" name="id2557305"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2557315"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2557326"></a><em class="parameter"><code>printer admin = root, maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2557336"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2557346"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2557357"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2557367"></a><em class="parameter"><code>browseable = No</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[print$]</code></em></td></tr><tr><td><a class="indexterm" name="id2557386"></a><em class="parameter"><code>comment = Printer Drivers Share</code></em></td></tr><tr><td><a class="indexterm" name="id2557397"></a><em class="parameter"><code>path = /var/lib/samba/drivers</code></em></td></tr><tr><td><a class="indexterm" name="id2557408"></a><em class="parameter"><code>write list = maryo, root</code></em></td></tr><tr><td><a class="indexterm" name="id2557419"></a><em class="parameter"><code>printer admin = maryo, root</code></em></td></tr><tr><td># Needed to support domain logons</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[netlogon]</code></em></td></tr><tr><td><a class="indexterm" name="id2557441"></a><em class="parameter"><code>comment = Network Logon Service</code></em></td></tr><tr><td><a class="indexterm" name="id2557452"></a><em class="parameter"><code>path = /var/lib/samba/netlogon</code></em></td></tr><tr><td><a class="indexterm" name="id2557463"></a><em class="parameter"><code>admin users = root, maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2557474"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2557484"></a><em class="parameter"><code>browseable = No</code></em></td></tr><tr><td># For profiles to work, create a user directory under the path</td></tr><tr><td># shown. i.e., mkdir -p /var/lib/samba/profiles/maryo</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[Profiles]</code></em></td></tr><tr><td><a class="indexterm" name="id2557512"></a><em class="parameter"><code>comment = Roaming Profile Share</code></em></td></tr><tr><td><a class="indexterm" name="id2557523"></a><em class="parameter"><code>path = /var/lib/samba/profiles</code></em></td></tr><tr><td><a class="indexterm" name="id2557534"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2557544"></a><em class="parameter"><code>profile acls = Yes</code></em></td></tr><tr><td># Other resource (share/printer) definitions would follow below.</td></tr></table></div></div><br class="example-break"><ol type="1"><li><p>523 </p><div class="procedure"><div class="example"><a name="fast-engoffice-global"></a><p class="title"><b>Example 2.7. Engineering Office smb.conf (globals)</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2563034"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2563044"></a><em class="parameter"><code>netbios name = FRODO</code></em></td></tr><tr><td><a class="indexterm" name="id2563055"></a><em class="parameter"><code>passdb backend = tdbsam</code></em></td></tr><tr><td><a class="indexterm" name="id2563065"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2563076"></a><em class="parameter"><code>add user script = /usr/sbin/useradd -m %u</code></em></td></tr><tr><td><a class="indexterm" name="id2563087"></a><em class="parameter"><code>delete user script = /usr/sbin/userdel -r %u</code></em></td></tr><tr><td><a class="indexterm" name="id2563098"></a><em class="parameter"><code>add group script = /usr/sbin/groupadd %g</code></em></td></tr><tr><td><a class="indexterm" name="id2563109"></a><em class="parameter"><code>delete group script = /usr/sbin/groupdel %g</code></em></td></tr><tr><td><a class="indexterm" name="id2563120"></a><em class="parameter"><code>add user to group script = /usr/sbin/groupmod -A %u %g</code></em></td></tr><tr><td><a class="indexterm" name="id2563132"></a><em class="parameter"><code>delete user from group script = /usr/sbin/groupmod -R %u %g</code></em></td></tr><tr><td><a class="indexterm" name="id2563144"></a><em class="parameter"><code>add machine script = /usr/sbin/useradd -s /bin/false -d /var/lib/nobody %u</code></em></td></tr><tr><td># Note: The following specifies the default logon script.</td></tr><tr><td># Per user logon scripts can be specified in the user account using pdbedit </td></tr><tr><td><a class="indexterm" name="id2563165"></a><em class="parameter"><code>logon script = scripts\logon.bat</code></em></td></tr><tr><td># This sets the default profile path. Set per user paths with pdbedit</td></tr><tr><td><a class="indexterm" name="id2563180"></a><em class="parameter"><code>logon path = \\%L\Profiles\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2563191"></a><em class="parameter"><code>logon drive = H:</code></em></td></tr><tr><td><a class="indexterm" name="id2563202"></a><em class="parameter"><code>logon home = \\%L\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2563212"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2563223"></a><em class="parameter"><code>os level = 35</code></em></td></tr><tr><td><a class="indexterm" name="id2563233"></a><em class="parameter"><code>preferred master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2563243"></a><em class="parameter"><code>domain master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2563254"></a><em class="parameter"><code>idmap uid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2563264"></a><em class="parameter"><code>idmap gid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2563275"></a><em class="parameter"><code>printing = cups</code></em></td></tr></table></div></div><br class="example-break"><div class="example"><a name="fast-engoffice-shares"></a><p class="title"><b>Example 2.8. Engineering Office smb.conf (shares and services)</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[homes]</code></em></td></tr><tr><td><a class="indexterm" name="id2563308"></a><em class="parameter"><code>comment = Home Directories</code></em></td></tr><tr><td><a class="indexterm" name="id2563318"></a><em class="parameter"><code>valid users = %S</code></em></td></tr><tr><td><a class="indexterm" name="id2563329"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2563339"></a><em class="parameter"><code>browseable = No</code></em></td></tr><tr><td># Printing auto-share (makes printers available thru CUPS)</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[printers]</code></em></td></tr><tr><td><a class="indexterm" name="id2563362"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2563373"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2563383"></a><em class="parameter"><code>printer admin = root, maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2563393"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2563404"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2563414"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2563425"></a><em class="parameter"><code>browseable = No</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[print$]</code></em></td></tr><tr><td><a class="indexterm" name="id2563443"></a><em class="parameter"><code>comment = Printer Drivers Share</code></em></td></tr><tr><td><a class="indexterm" name="id2563454"></a><em class="parameter"><code>path = /var/lib/samba/drivers</code></em></td></tr><tr><td><a class="indexterm" name="id2563466"></a><em class="parameter"><code>write list = maryo, root</code></em></td></tr><tr><td><a class="indexterm" name="id2563476"></a><em class="parameter"><code>printer admin = maryo, root</code></em></td></tr><tr><td># Needed to support domain logons</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[netlogon]</code></em></td></tr><tr><td><a class="indexterm" name="id2563499"></a><em class="parameter"><code>comment = Network Logon Service</code></em></td></tr><tr><td><a class="indexterm" name="id2563510"></a><em class="parameter"><code>path = /var/lib/samba/netlogon</code></em></td></tr><tr><td><a class="indexterm" name="id2563521"></a><em class="parameter"><code>admin users = root, maryo</code></em></td></tr><tr><td><a class="indexterm" name="id2563531"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2563542"></a><em class="parameter"><code>browseable = No</code></em></td></tr><tr><td># For profiles to work, create a user directory under the path</td></tr><tr><td># shown. i.e., mkdir -p /var/lib/samba/profiles/maryo</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[Profiles]</code></em></td></tr><tr><td><a class="indexterm" name="id2563569"></a><em class="parameter"><code>comment = Roaming Profile Share</code></em></td></tr><tr><td><a class="indexterm" name="id2563580"></a><em class="parameter"><code>path = /var/lib/samba/profiles</code></em></td></tr><tr><td><a class="indexterm" name="id2563591"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2563602"></a><em class="parameter"><code>profile acls = Yes</code></em></td></tr><tr><td># Other resource (share/printer) definitions would follow below.</td></tr></table></div></div><br class="example-break"><ol class="procedure" type="1"><li class="step" title="Step 1"><p> 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 56948"></a>529 </p></li><li ><p>528 <a class="indexterm" name="id2563005"></a> 529 </p></li><li class="step" title="Step 2"><p> 530 530 Create UNIX group accounts as needed using a suitable operating system tool: 531 531 </p><pre class="screen"> … … 535 535 <code class="prompt">root# </code><strong class="userinput"><code>groupadd qateam</code></strong> 536 536 </pre><p> 537 </p></li><li ><p>537 </p></li><li class="step" title="Step 3"><p> 538 538 Create user accounts on the system using the appropriate tool 539 539 provided with the operating system. Make sure all user home directories … … 541 541 on files, directories, printers, and as required for use in the Samba 542 542 environment. 543 </p></li><li ><p>544 <a class="indexterm" name="id25 57627"></a>545 <a class="indexterm" name="id25 57635"></a>543 </p></li><li class="step" title="Step 4"><p> 544 <a class="indexterm" name="id2563684"></a> 545 <a class="indexterm" name="id2563693"></a> 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>): … … 560 560 net groupmap add ntgroup="QA Team" unixgroup=qateam type=d 561 561 </pre><p> 562 </p></li><li ><p>562 </p></li><li class="step" title="Step 5"><p> 563 563 Create the <code class="filename">scripts</code> directory for use in the 564 564 <em class="parameter"><code>[NETLOGON]</code></em> share: … … 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="id2557706"></a>A Big Organization</h4></div></div></div><p>573 </p></div><div class="sect3" title="A Big Organization"><div class="titlepage"><div><div><h4 class="title"><a name="id2563764"></a>A Big Organization</h4></div></div></div><p> 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="id2557721"></a>The Primary Domain Controller</h5></div></div></div><p>579 </p><div class="sect4" title="The Primary Domain Controller"><div class="titlepage"><div><div><h5 class="title"><a name="id2563779"></a>The Primary Domain Controller</h5></div></div></div><p> 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="id2557948"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2557958"></a><em class="parameter"><code>netbios name = FRODO</code></em></td></tr><tr><td><a class="indexterm" name="id2557969"></a><em class="parameter"><code>passdb backend = ldapsam:ldap://localhost</code></em></td></tr><tr><td><a class="indexterm" name="id2557980"></a><em class="parameter"><code>username map = /etc/samba/smbusers</code></em></td></tr><tr><td><a class="indexterm" name="id2557991"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2558001"></a><em class="parameter"><code>add user script = /usr/local/sbin/smbldap-useradd -m '%u'</code></em></td></tr><tr><td><a class="indexterm" name="id2558013"></a><em class="parameter"><code>delete user script = /usr/local/sbin/smbldap-userdel %u</code></em></td></tr><tr><td><a class="indexterm" name="id2558024"></a><em class="parameter"><code>add group script = /usr/local/sbin/smbldap-groupadd -p '%g'</code></em></td></tr><tr><td><a class="indexterm" name="id2558036"></a><em class="parameter"><code>delete group script = /usr/local/sbin/smbldap-groupdel '%g'</code></em></td></tr><tr><td><a class="indexterm" name="id2558047"></a><em class="parameter"><code>add user to group script = /usr/local/sbin/smbldap-groupmod -m '%u' '%g'</code></em></td></tr><tr><td><a class="indexterm" name="id2558059"></a><em class="parameter"><code>delete user from group script = /usr/local/sbin/smbldap-groupmod -x '%u' '%g'</code></em></td></tr><tr><td><a class="indexterm" name="id2558072"></a><em class="parameter"><code>set primary group script = /usr/local/sbin/smbldap-usermod -g '%g' '%u'</code></em></td></tr><tr><td><a class="indexterm" name="id2558083"></a><em class="parameter"><code>add machine script = /usr/local/sbin/smbldap-useradd -w '%u'</code></em></td></tr><tr><td><a class="indexterm" name="id2558095"></a><em class="parameter"><code>logon script = scripts\logon.bat</code></em></td></tr><tr><td><a class="indexterm" name="id2558106"></a><em class="parameter"><code>logon path = \\%L\Profiles\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2558117"></a><em class="parameter"><code>logon drive = H:</code></em></td></tr><tr><td><a class="indexterm" name="id2558127"></a><em class="parameter"><code>logon home = \\%L\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2558138"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2558148"></a><em class="parameter"><code>os level = 35</code></em></td></tr><tr><td><a class="indexterm" name="id2558159"></a><em class="parameter"><code>preferred master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2558169"></a><em class="parameter"><code>domain master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2558179"></a><em class="parameter"><code>ldap suffix = dc=quenya,dc=org</code></em></td></tr><tr><td><a class="indexterm" name="id2558190"></a><em class="parameter"><code>ldap machine suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2558202"></a><em class="parameter"><code>ldap user suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2558213"></a><em class="parameter"><code>ldap group suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2558224"></a><em class="parameter"><code>ldap idmap suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2558235"></a><em class="parameter"><code>ldap admin dn = cn=Manager,dc=quenya,dc=org</code></em></td></tr><tr><td><a class="indexterm" name="id2558246"></a><em class="parameter"><code>ldap ssl = no</code></em></td></tr><tr><td><a class="indexterm" name="id2558256"></a><em class="parameter"><code>ldap passwd sync = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2558267"></a><em class="parameter"><code>idmap uid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2558277"></a><em class="parameter"><code>idmap gid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2558288"></a><em class="parameter"><code>printing = cups</code></em></td></tr></table></div></div><br class="example-break"><ol type="1"><li><p>590 </p><div class="procedure"><div class="example"><a name="fast-ldap"></a><p class="title"><b>Example 2.9. LDAP backend smb.conf for PDC</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td># Global parameters</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2564005"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2564016"></a><em class="parameter"><code>netbios name = FRODO</code></em></td></tr><tr><td><a class="indexterm" name="id2564026"></a><em class="parameter"><code>passdb backend = ldapsam:ldap://localhost</code></em></td></tr><tr><td><a class="indexterm" name="id2564037"></a><em class="parameter"><code>username map = /etc/samba/smbusers</code></em></td></tr><tr><td><a class="indexterm" name="id2564048"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2564059"></a><em class="parameter"><code>add user script = /usr/local/sbin/smbldap-useradd -m '%u'</code></em></td></tr><tr><td><a class="indexterm" name="id2564070"></a><em class="parameter"><code>delete user script = /usr/local/sbin/smbldap-userdel %u</code></em></td></tr><tr><td><a class="indexterm" name="id2564082"></a><em class="parameter"><code>add group script = /usr/local/sbin/smbldap-groupadd -p '%g'</code></em></td></tr><tr><td><a class="indexterm" name="id2564093"></a><em class="parameter"><code>delete group script = /usr/local/sbin/smbldap-groupdel '%g'</code></em></td></tr><tr><td><a class="indexterm" name="id2564105"></a><em class="parameter"><code>add user to group script = /usr/local/sbin/smbldap-groupmod -m '%u' '%g'</code></em></td></tr><tr><td><a class="indexterm" name="id2564116"></a><em class="parameter"><code>delete user from group script = /usr/local/sbin/smbldap-groupmod -x '%u' '%g'</code></em></td></tr><tr><td><a class="indexterm" name="id2564129"></a><em class="parameter"><code>set primary group script = /usr/local/sbin/smbldap-usermod -g '%g' '%u'</code></em></td></tr><tr><td><a class="indexterm" name="id2564141"></a><em class="parameter"><code>add machine script = /usr/local/sbin/smbldap-useradd -w '%u'</code></em></td></tr><tr><td><a class="indexterm" name="id2564152"></a><em class="parameter"><code>logon script = scripts\logon.bat</code></em></td></tr><tr><td><a class="indexterm" name="id2564163"></a><em class="parameter"><code>logon path = \\%L\Profiles\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2564174"></a><em class="parameter"><code>logon drive = H:</code></em></td></tr><tr><td><a class="indexterm" name="id2564185"></a><em class="parameter"><code>logon home = \\%L\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2564195"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2564206"></a><em class="parameter"><code>os level = 35</code></em></td></tr><tr><td><a class="indexterm" name="id2564216"></a><em class="parameter"><code>preferred master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2564226"></a><em class="parameter"><code>domain master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2564237"></a><em class="parameter"><code>ldap suffix = dc=quenya,dc=org</code></em></td></tr><tr><td><a class="indexterm" name="id2564248"></a><em class="parameter"><code>ldap machine suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2564259"></a><em class="parameter"><code>ldap user suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2564270"></a><em class="parameter"><code>ldap group suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2564281"></a><em class="parameter"><code>ldap idmap suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2564292"></a><em class="parameter"><code>ldap admin dn = cn=Manager,dc=quenya,dc=org</code></em></td></tr><tr><td><a class="indexterm" name="id2564303"></a><em class="parameter"><code>ldap ssl = no</code></em></td></tr><tr><td><a class="indexterm" name="id2564314"></a><em class="parameter"><code>ldap passwd sync = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2564324"></a><em class="parameter"><code>idmap uid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2564334"></a><em class="parameter"><code>idmap gid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2564345"></a><em class="parameter"><code>printing = cups</code></em></td></tr></table></div></div><br class="example-break"><ol class="procedure" type="1"><li class="step" title="Step 1"><p> 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. 593 </p></li><li ><p>593 </p></li><li class="step" title="Step 2"><p> 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="id25 57790"></a>596 <a class="indexterm" name="id2563848"></a> 597 597 <span style="color: red"><title>Example slapd.conf File</title></span> 598 598 </p><pre class="screen"> … … 628 628 index default sub 629 629 </pre><p> 630 </p></li><li ><p>630 </p></li><li class="step" title="Step 3"><p> 631 631 Create the following file <code class="filename">initdb.ldif</code>: 632 <a class="indexterm" name="id25 57834"></a>632 <a class="indexterm" name="id2563892"></a> 633 633 </p><pre class="programlisting"> 634 634 # Organization for SambaXP Demo … … 661 661 # The password for above is 'mordonL8' 662 662 </pre><p> 663 </p></li><li ><p>663 </p></li><li class="step" title="Step 4"><p> 664 664 Load the initial data above into the LDAP database: 665 665 </p><pre class="screen"> 666 666 <code class="prompt">root# </code><strong class="userinput"><code>slapadd -v -l initdb.ldif</code></strong> 667 667 </pre><p> 668 </p></li><li ><p>668 </p></li><li class="step" title="Step 5"><p> 669 669 Start the LDAP server using the appropriate tool or method for 670 670 the operating system platform on which it is installed. 671 </p></li><li ><p>671 </p></li><li class="step" title="Step 6"><p> 672 672 Install the Idealx script files in the <code class="filename">/usr/local/sbin</code> directory, 673 673 then configure the smbldap_conf.pm file to match your system configuration. 674 </p></li><li ><p>674 </p></li><li class="step" title="Step 7"><p> 675 675 The <code class="filename">smb.conf</code> file that drives this backend can be found in example <a class="link" href="FastStart.html#fast-ldap" title="Example 2.9. LDAP backend smb.conf for PDC">LDAP backend smb.conf for PDC</a>. Add additional stanzas 676 676 as required. 677 </p></li><li ><p>677 </p></li><li class="step" title="Step 8"><p> 678 678 Add the LDAP password to the <code class="filename">secrets.tdb</code> file so Samba can update 679 679 the LDAP database: … … 681 681 <code class="prompt">root# </code><strong class="userinput"><code>smbpasswd -w mordonL8</code></strong> 682 682 </pre><p> 683 </p></li><li ><p>683 </p></li><li class="step" title="Step 9"><p> 684 684 Add users and groups as required. Users and groups added using Samba tools 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="id2558338"></a>Backup Domain Controller</h5></div></div></div><p>687 </p></li></ol></div></div><div class="sect4" title="Backup Domain Controller"><div class="titlepage"><div><div><h5 class="title"><a name="id2564396"></a>Backup Domain Controller</h5></div></div></div><p> 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="id2558410"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2558420"></a><em class="parameter"><code>netbios name = GANDALF</code></em></td></tr><tr><td><a class="indexterm" name="id2558430"></a><em class="parameter"><code>passdb backend = ldapsam:ldap://frodo.quenya.org</code></em></td></tr><tr><td><a class="indexterm" name="id2558442"></a><em class="parameter"><code>username map = /etc/samba/smbusers</code></em></td></tr><tr><td><a class="indexterm" name="id2558452"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2558463"></a><em class="parameter"><code>logon script = scripts\logon.bat</code></em></td></tr><tr><td><a class="indexterm" name="id2558474"></a><em class="parameter"><code>logon path = \\%L\Profiles\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2558485"></a><em class="parameter"><code>logon drive = H:</code></em></td></tr><tr><td><a class="indexterm" name="id2558495"></a><em class="parameter"><code>logon home = \\%L\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2558506"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2558516"></a><em class="parameter"><code>os level = 33</code></em></td></tr><tr><td><a class="indexterm" name="id2558526"></a><em class="parameter"><code>preferred master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2558537"></a><em class="parameter"><code>domain master = No</code></em></td></tr><tr><td><a class="indexterm" name="id2558547"></a><em class="parameter"><code>ldap suffix = dc=quenya,dc=org</code></em></td></tr><tr><td><a class="indexterm" name="id2558558"></a><em class="parameter"><code>ldap machine suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2558569"></a><em class="parameter"><code>ldap user suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2558580"></a><em class="parameter"><code>ldap group suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2558591"></a><em class="parameter"><code>ldap idmap suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2558602"></a><em class="parameter"><code>ldap admin dn = cn=Manager,dc=quenya,dc=org</code></em></td></tr><tr><td><a class="indexterm" name="id2558614"></a><em class="parameter"><code>ldap ssl = no</code></em></td></tr><tr><td><a class="indexterm" name="id2558624"></a><em class="parameter"><code>ldap passwd sync = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2558634"></a><em class="parameter"><code>idmap uid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2558645"></a><em class="parameter"><code>idmap gid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2558655"></a><em class="parameter"><code>printing = cups</code></em></td></tr></table></div></div><br class="example-break"><ol type="1"><li><p>691 </p><div class="procedure"><div class="example"><a name="fast-bdc"></a><p class="title"><b>Example 2.10. Remote LDAP BDC smb.conf</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td># Global parameters</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2564467"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2564477"></a><em class="parameter"><code>netbios name = GANDALF</code></em></td></tr><tr><td><a class="indexterm" name="id2564488"></a><em class="parameter"><code>passdb backend = ldapsam:ldap://frodo.quenya.org</code></em></td></tr><tr><td><a class="indexterm" name="id2564499"></a><em class="parameter"><code>username map = /etc/samba/smbusers</code></em></td></tr><tr><td><a class="indexterm" name="id2564510"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2564520"></a><em class="parameter"><code>logon script = scripts\logon.bat</code></em></td></tr><tr><td><a class="indexterm" name="id2564531"></a><em class="parameter"><code>logon path = \\%L\Profiles\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2564542"></a><em class="parameter"><code>logon drive = H:</code></em></td></tr><tr><td><a class="indexterm" name="id2564552"></a><em class="parameter"><code>logon home = \\%L\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2564563"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2564573"></a><em class="parameter"><code>os level = 33</code></em></td></tr><tr><td><a class="indexterm" name="id2564584"></a><em class="parameter"><code>preferred master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2564594"></a><em class="parameter"><code>domain master = No</code></em></td></tr><tr><td><a class="indexterm" name="id2564604"></a><em class="parameter"><code>ldap suffix = dc=quenya,dc=org</code></em></td></tr><tr><td><a class="indexterm" name="id2564616"></a><em class="parameter"><code>ldap machine suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2564627"></a><em class="parameter"><code>ldap user suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2564638"></a><em class="parameter"><code>ldap group suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2564649"></a><em class="parameter"><code>ldap idmap suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2564660"></a><em class="parameter"><code>ldap admin dn = cn=Manager,dc=quenya,dc=org</code></em></td></tr><tr><td><a class="indexterm" name="id2564671"></a><em class="parameter"><code>ldap ssl = no</code></em></td></tr><tr><td><a class="indexterm" name="id2564681"></a><em class="parameter"><code>ldap passwd sync = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2564692"></a><em class="parameter"><code>idmap uid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2564702"></a><em class="parameter"><code>idmap gid = 15000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2564713"></a><em class="parameter"><code>printing = cups</code></em></td></tr></table></div></div><br class="example-break"><ol class="procedure" type="1"><li class="step" title="Step 1"><p> 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 694 694 configuration in <a class="link" href="FastStart.html#fast-bdc" title="Example 2.10. Remote LDAP BDC smb.conf">Remote LDAP BDC smb.conf</a> 695 695 uses a central LDAP server. 696 </p></li><li ><p>696 </p></li><li class="step" title="Step 2"><p> 697 697 Configure the NETLOGON and PROFILES directory as for the PDC in <a class="link" href="FastStart.html#fast-bdc" title="Example 2.10. Remote LDAP BDC smb.conf">“Remote LDAP BDC smb.conf”</a>. 698 698 </p></li></ol></div></div></div></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="install.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="introduction.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="type.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 1. How to Install and Test SAMBA </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Part II. Server Configuration Basics</td></tr></table></div></body></html> -
branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/InterdomainTrusts.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 19. Interdomain Trust Relationships</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="securing-samba.html" title="Chapter 18. Securing Samba"><link rel="next" href="msdfs.html" title="Chapter 20. Hosting a Microsoft Distributed File System Tree"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 19. Interdomain Trust Relationships</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="securing-samba.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="msdfs.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="InterdomainTrusts"></a>Chapter 19. Interdomain Trust Relationships</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2619747">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2620105">Native MS Windows NT4 Trusts Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2620141">Creating an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2620238">Completing an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2620323">Interdomain Trust Facilities</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2620532">Configuring Samba NT-Style Domain Trusts</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2620873">Samba as the Trusting Domain</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2621070">NT4-Style Domain Trusts with Windows 2000</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2621219">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2621232">Browsing of Trusted Domain Fails</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2621278">Problems with LDAP ldapsam and Older Versions of smbldap-tools</a></span></dt></dl></dd></dl></div><p>2 <a class="indexterm" name="id26 19527"></a>3 <a class="indexterm" name="id26 19534"></a>4 <a class="indexterm" name="id26 19541"></a>5 <a class="indexterm" name="id26 19548"></a>6 <a class="indexterm" name="id26 19555"></a>7 <a class="indexterm" name="id26 19562"></a>8 <a class="indexterm" name="id26 19569"></a>9 <a class="indexterm" name="id26 19576"></a>10 <a class="indexterm" name="id26 19582"></a>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 19. Interdomain Trust Relationships</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="securing-samba.html" title="Chapter 18. Securing Samba"><link rel="next" href="msdfs.html" title="Chapter 20. Hosting a Microsoft Distributed File System Tree"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 19. Interdomain Trust Relationships</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="securing-samba.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="msdfs.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 19. Interdomain Trust Relationships"><div class="titlepage"><div><div><h2 class="title"><a name="InterdomainTrusts"></a>Chapter 19. Interdomain Trust Relationships</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2625845">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2626202">Native MS Windows NT4 Trusts Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2626238">Creating an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2626335">Completing an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2626421">Interdomain Trust Facilities</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2626630">Configuring Samba NT-Style Domain Trusts</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2626971">Samba as the Trusting Domain</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2627167">NT4-Style Domain Trusts with Windows 2000</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2627316">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2627329">Browsing of Trusted Domain Fails</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2627375">Problems with LDAP ldapsam and Older Versions of smbldap-tools</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2625625"></a> 3 <a class="indexterm" name="id2625632"></a> 4 <a class="indexterm" name="id2625638"></a> 5 <a class="indexterm" name="id2625645"></a> 6 <a class="indexterm" name="id2625652"></a> 7 <a class="indexterm" name="id2625659"></a> 8 <a class="indexterm" name="id2625666"></a> 9 <a class="indexterm" name="id2625673"></a> 10 <a class="indexterm" name="id2625680"></a> 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="id26 19600"></a>19 <a class="indexterm" name="id26 19607"></a>20 <a class="indexterm" name="id26 19614"></a>21 <a class="indexterm" name="id26 19620"></a>22 <a class="indexterm" name="id26 19627"></a>18 <a class="indexterm" name="id2625697"></a> 19 <a class="indexterm" name="id2625704"></a> 20 <a class="indexterm" name="id2625711"></a> 21 <a class="indexterm" name="id2625718"></a> 22 <a class="indexterm" name="id2625725"></a> 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="id2619661"></a><em class="parameter"><code>idmap uid = 10000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2619673"></a><em class="parameter"><code>idmap gid = 10000-20000</code></em></td></tr></table><p>28 <a class="indexterm" name="id26 19685"></a>29 <a class="indexterm" name="id26 19692"></a>30 <a class="indexterm" name="id26 19699"></a>31 <a class="indexterm" name="id26 19706"></a>27 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2625759"></a><em class="parameter"><code>idmap uid = 10000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2625770"></a><em class="parameter"><code>idmap gid = 10000-20000</code></em></td></tr></table><p> 28 <a class="indexterm" name="id2625782"></a> 29 <a class="indexterm" name="id2625789"></a> 30 <a class="indexterm" name="id2625796"></a> 31 <a class="indexterm" name="id2625803"></a> 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 … … 35 35 limited parameter. Linux kernel 2.6-based systems support a maximum value of 4294967295 36 36 (32-bit unsigned variable). 37 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>38 <a class="indexterm" name="id26 19724"></a>39 <a class="indexterm" name="id26 19730"></a>40 <a class="indexterm" name="id26 19737"></a>37 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 38 <a class="indexterm" name="id2625821"></a> 39 <a class="indexterm" name="id2625828"></a> 40 <a class="indexterm" name="id2625835"></a> 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="id2619747"></a>Features and Benefits</h2></div></div></div><p>44 <a class="indexterm" name="id26 19755"></a>45 <a class="indexterm" name="id26 19762"></a>43 </p></div><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2625845"></a>Features and Benefits</h2></div></div></div><p> 44 <a class="indexterm" name="id2625853"></a> 45 <a class="indexterm" name="id2625859"></a> 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="id26 19775"></a>50 <a class="indexterm" name="id26 19782"></a>51 <a class="indexterm" name="id26 19789"></a>52 <a class="indexterm" name="id26 19796"></a>53 <a class="indexterm" name="id26 19803"></a>49 <a class="indexterm" name="id2625873"></a> 50 <a class="indexterm" name="id2625880"></a> 51 <a class="indexterm" name="id2625887"></a> 52 <a class="indexterm" name="id2625893"></a> 53 <a class="indexterm" name="id2625900"></a> 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="id2619819"></a>Trust Relationship Background</h2></div></div></div><p>60 <a class="indexterm" name="id26 19828"></a>61 <a class="indexterm" name="id26 19834"></a>62 <a class="indexterm" name="id26 19841"></a>63 <a class="indexterm" name="id26 19848"></a>64 <a class="indexterm" name="id26 19855"></a>65 <a class="indexterm" name="id26 19862"></a>59 </p></div><div class="sect1" title="Trust Relationship Background"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2625917"></a>Trust Relationship Background</h2></div></div></div><p> 60 <a class="indexterm" name="id2625925"></a> 61 <a class="indexterm" name="id2625932"></a> 62 <a class="indexterm" name="id2625939"></a> 63 <a class="indexterm" name="id2625946"></a> 64 <a class="indexterm" name="id2625953"></a> 65 <a class="indexterm" name="id2625959"></a> 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="id26 19879"></a>73 <a class="indexterm" name="id26 19886"></a>74 <a class="indexterm" name="id26 19892"></a>75 <a class="indexterm" name="id26 19899"></a>76 <a class="indexterm" name="id26 19906"></a>72 <a class="indexterm" name="id2625976"></a> 73 <a class="indexterm" name="id2625983"></a> 74 <a class="indexterm" name="id2625990"></a> 75 <a class="indexterm" name="id2625996"></a> 76 <a class="indexterm" name="id2626003"></a> 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="id26 19923"></a>84 <a class="indexterm" name="id26 19930"></a>85 <a class="indexterm" name="id26 19937"></a>86 <a class="indexterm" name="id26 19944"></a>87 <a class="indexterm" name="id26 19951"></a>88 <a class="indexterm" name="id26 19958"></a>89 <a class="indexterm" name="id26 19965"></a>83 <a class="indexterm" name="id2626021"></a> 84 <a class="indexterm" name="id2626028"></a> 85 <a class="indexterm" name="id2626034"></a> 86 <a class="indexterm" name="id2626041"></a> 87 <a class="indexterm" name="id2626048"></a> 88 <a class="indexterm" name="id2626055"></a> 89 <a class="indexterm" name="id2626062"></a> 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="id262 0002"></a>101 <a class="indexterm" name="id262 0009"></a>102 <a class="indexterm" name="id262 0016"></a>103 <a class="indexterm" name="id262 0023"></a>104 <a class="indexterm" name="id262 0030"></a>100 <a class="indexterm" name="id2626100"></a> 101 <a class="indexterm" name="id2626106"></a> 102 <a class="indexterm" name="id2626113"></a> 103 <a class="indexterm" name="id2626120"></a> 104 <a class="indexterm" name="id2626127"></a> 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="id262 0046"></a>111 <a class="indexterm" name="id262 0053"></a>112 <a class="indexterm" name="id262 0060"></a>113 <a class="indexterm" name="id262 0067"></a>114 <a class="indexterm" name="id262 0074"></a>115 <a class="indexterm" name="id262 0081"></a>116 <a class="indexterm" name="id262 0088"></a>110 <a class="indexterm" name="id2626144"></a> 111 <a class="indexterm" name="id2626150"></a> 112 <a class="indexterm" name="id2626157"></a> 113 <a class="indexterm" name="id2626164"></a> 114 <a class="indexterm" name="id2626171"></a> 115 <a class="indexterm" name="id2626178"></a> 116 <a class="indexterm" name="id2626185"></a> 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="id2620105"></a>Native MS Windows NT4 Trusts Configuration</h2></div></div></div><p>123 <a class="indexterm" name="id262 0112"></a>124 <a class="indexterm" name="id262 0122"></a>125 <a class="indexterm" name="id262 0129"></a>122 </p></div><div class="sect1" title="Native MS Windows NT4 Trusts Configuration"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2626202"></a>Native MS Windows NT4 Trusts Configuration</h2></div></div></div><p> 123 <a class="indexterm" name="id2626210"></a> 124 <a class="indexterm" name="id2626219"></a> 125 <a class="indexterm" name="id2626226"></a> 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="id2620141"></a>Creating an NT4 Domain Trust</h3></div></div></div><p>130 <a class="indexterm" name="id262 0149"></a>131 <a class="indexterm" name="id262 0156"></a>132 <a class="indexterm" name="id262 0163"></a>133 <a class="indexterm" name="id262 0170"></a>134 <a class="indexterm" name="id262 0177"></a>129 </p><div class="sect2" title="Creating an NT4 Domain Trust"><div class="titlepage"><div><div><h3 class="title"><a name="id2626238"></a>Creating an NT4 Domain Trust</h3></div></div></div><p> 130 <a class="indexterm" name="id2626247"></a> 131 <a class="indexterm" name="id2626254"></a> 132 <a class="indexterm" name="id2626260"></a> 133 <a class="indexterm" name="id2626268"></a> 134 <a class="indexterm" name="id2626275"></a> 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="id2620238"></a>Completing an NT4 Domain Trust</h3></div></div></div><p>146 <a class="indexterm" name="id262 0246"></a>147 <a class="indexterm" name="id262 0253"></a>148 <a class="indexterm" name="id262 0260"></a>149 <a class="indexterm" name="id262 0267"></a>150 <a class="indexterm" name="id262 0274"></a>151 <a class="indexterm" name="id262 0281"></a>145 </p></div><div class="sect2" title="Completing an NT4 Domain Trust"><div class="titlepage"><div><div><h3 class="title"><a name="id2626335"></a>Completing an NT4 Domain Trust</h3></div></div></div><p> 146 <a class="indexterm" name="id2626344"></a> 147 <a class="indexterm" name="id2626350"></a> 148 <a class="indexterm" name="id2626357"></a> 149 <a class="indexterm" name="id2626364"></a> 150 <a class="indexterm" name="id2626371"></a> 151 <a class="indexterm" name="id2626378"></a> 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="id2620323"></a>Interdomain Trust Facilities</h3></div></div></div><p>159 <a class="indexterm" name="id262 0331"></a>160 <a class="indexterm" name="id262 0338"></a>161 <a class="indexterm" name="id262 0345"></a>162 <a class="indexterm" name="id262 0352"></a>163 <a class="indexterm" name="id262 0359"></a>164 <a class="indexterm" name="id262 0366"></a>158 </p></div><div class="sect2" title="Interdomain Trust Facilities"><div class="titlepage"><div><div><h3 class="title"><a name="id2626421"></a>Interdomain Trust Facilities</h3></div></div></div><p> 159 <a class="indexterm" name="id2626429"></a> 160 <a class="indexterm" name="id2626436"></a> 161 <a class="indexterm" name="id2626443"></a> 162 <a class="indexterm" name="id2626450"></a> 163 <a class="indexterm" name="id2626456"></a> 164 <a class="indexterm" name="id2626463"></a> 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 167 167 DomA and DomB), the following facilities are created: 168 </p><div class="figure"><a name="trusts1"></a><p class="title"><b>Figure 19.1. Trusts overview.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/trusts1.png" alt="Trusts overview."></div></div></div><br class="figure-break"><div class="itemizedlist"><ul type="disc"><li><p>168 </p><div class="figure"><a name="trusts1"></a><p class="title"><b>Figure 19.1. Trusts overview.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/trusts1.png" alt="Trusts overview."></div></div></div><br class="figure-break"><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 169 169 DomA (completes the trust connection) <em class="parameter"><code>Trusts</code></em> DomB. 170 </p></li><li ><p>170 </p></li><li class="listitem"><p> 171 171 DomA is the <em class="parameter"><code>Trusting</code></em> domain. 172 </p></li><li ><p>172 </p></li><li class="listitem"><p> 173 173 DomB is the <em class="parameter"><code>Trusted</code></em> domain (originates the trust account). 174 </p></li><li ><p>174 </p></li><li class="listitem"><p> 175 175 Users in DomB can access resources in DomA. 176 </p></li><li ><p>176 </p></li><li class="listitem"><p> 177 177 Users in DomA cannot access resources in DomB. 178 </p></li><li ><p>178 </p></li><li class="listitem"><p> 179 179 Global groups from DomB can be used in DomA. 180 </p></li><li ><p>180 </p></li><li class="listitem"><p> 181 181 Global groups from DomA cannot be used in DomB. 182 </p></li><li ><p>182 </p></li><li class="listitem"><p> 183 183 DomB does appear in the logon dialog box on client workstations in DomA. 184 </p></li><li ><p>184 </p></li><li class="listitem"><p> 185 185 DomA does not appear in the logon dialog box on client workstations in DomB. 186 </p></li></ul></div><div class="itemizedlist"><ul type="disc"><li><p>186 </p></li></ul></div><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 187 187 Users and groups in a trusting domain cannot be granted rights, permissions, or access 188 188 to a trusted domain. 189 </p></li><li ><p>189 </p></li><li class="listitem"><p> 190 190 The trusting domain can access and use accounts (users/global groups) in the 191 191 trusted domain. 192 </p></li><li ><p>192 </p></li><li class="listitem"><p> 193 193 Administrators of the trusted domain can be granted administrative rights in the 194 194 trusting domain. 195 </p></li><li ><p>195 </p></li><li class="listitem"><p> 196 196 Users in a trusted domain can be given rights and privileges in the trusting 197 197 domain. 198 </p></li><li ><p>198 </p></li><li class="listitem"><p> 199 199 Trusted domain global groups can be given rights and permissions in the trusting 200 200 domain. 201 </p></li><li ><p>201 </p></li><li class="listitem"><p> 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="id2620532"></a>Configuring Samba NT-Style Domain Trusts</h2></div></div></div><p>205 <a class="indexterm" name="id262 0541"></a>204 </p></li></ul></div></div></div><div class="sect1" title="Configuring Samba NT-Style Domain Trusts"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2626630"></a>Configuring Samba NT-Style Domain Trusts</h2></div></div></div><p> 205 <a class="indexterm" name="id2626638"></a> 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="id262 0556"></a>211 <a class="indexterm" name="id262 0562"></a>212 <a class="indexterm" name="id262 0569"></a>213 <a class="indexterm" name="id262 0576"></a>210 <a class="indexterm" name="id2626653"></a> 211 <a class="indexterm" name="id2626660"></a> 212 <a class="indexterm" name="id2626667"></a> 213 <a class="indexterm" name="id2626674"></a> 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 216 216 seen, after reading this document, that combining Samba-specific parts of what's written in the following 217 217 sections leads to trust between domains in a purely Samba environment. 218 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="samba-trusted-domain"></a>Samba as the Trusted Domain</h3></div></div></div><p>219 <a class="indexterm" name="id262 0604"></a>220 <a class="indexterm" name="id262 0610"></a>221 <a class="indexterm" name="id262 0617"></a>222 <a class="indexterm" name="id262 0624"></a>223 <a class="indexterm" name="id262 0631"></a>218 </p><div class="sect2" title="Samba as the Trusted Domain"><div class="titlepage"><div><div><h3 class="title"><a name="samba-trusted-domain"></a>Samba as the Trusted Domain</h3></div></div></div><p> 219 <a class="indexterm" name="id2626701"></a> 220 <a class="indexterm" name="id2626708"></a> 221 <a class="indexterm" name="id2626715"></a> 222 <a class="indexterm" name="id2626722"></a> 223 <a class="indexterm" name="id2626728"></a> 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, … … 237 237 238 238 where <code class="option">-a</code> means to add a new account into the 239 passdb database and <code class="option">-i</code> means to “<span class="quote">create this240 account with the Interdomain trust flag</span>” .241 </p><p> 242 <a class="indexterm" name="id262 0700"></a>243 <a class="indexterm" name="id262 0707"></a>244 <a class="indexterm" name="id262 0714"></a>245 <a class="indexterm" name="id262 0721"></a>246 The account name will be “<span class="quote">rumba$</span>”(the name of the remote domain).239 passdb database and <code class="option">-i</code> means to <span class="quote">“<span class="quote">create this 240 account with the Interdomain trust flag</span>”</span>. 241 </p><p> 242 <a class="indexterm" name="id2626798"></a> 243 <a class="indexterm" name="id2626805"></a> 244 <a class="indexterm" name="id2626812"></a> 245 <a class="indexterm" name="id2626819"></a> 246 The account name will be <span class="quote">“<span class="quote">rumba$</span>”</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 248 248 password database (<code class="filename">/etc/passwd</code>). If it has not been added, you 249 249 can add it manually and then repeat the previous step. 250 250 </p><p> 251 <a class="indexterm" name="id262 0745"></a>252 <a class="indexterm" name="id262 0752"></a>253 <a class="indexterm" name="id262 0759"></a>254 <a class="indexterm" name="id262 0766"></a>251 <a class="indexterm" name="id2626842"></a> 252 <a class="indexterm" name="id2626849"></a> 253 <a class="indexterm" name="id2626856"></a> 254 <a class="indexterm" name="id2626863"></a> 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. 257 257 After the command returns successfully, you can look at the entry for the new account (in the standard way as 258 258 appropriate for your configuration) and see that the account's name is really RUMBA$ and it has the 259 “<span class="quote">I</span>”flag set in the flags field. Now you are ready to confirm the trust by establishing it from259 <span class="quote">“<span class="quote">I</span>”</span> flag set in the flags field. Now you are ready to confirm the trust by establishing it from 260 260 Windows NT Server. 261 261 </p><p> 262 <a class="indexterm" name="id262 0788"></a>263 <a class="indexterm" name="id262 0795"></a>264 <a class="indexterm" name="id262 0802"></a>265 <a class="indexterm" name="id262 0809"></a>266 <a class="indexterm" name="id262 0816"></a>262 <a class="indexterm" name="id2626886"></a> 263 <a class="indexterm" name="id2626892"></a> 264 <a class="indexterm" name="id2626899"></a> 265 <a class="indexterm" name="id2626906"></a> 266 <a class="indexterm" name="id2626913"></a> 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="id2620873"></a>Samba as the Trusting Domain</h3></div></div></div><p>274 <a class="indexterm" name="id262 0882"></a>275 <a class="indexterm" name="id262 0889"></a>273 </p></div><div class="sect2" title="Samba as the Trusting Domain"><div class="titlepage"><div><div><h3 class="title"><a name="id2626971"></a>Samba as the Trusting Domain</h3></div></div></div><p> 274 <a class="indexterm" name="id2626979"></a> 275 <a class="indexterm" name="id2626986"></a> 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="id262 0906"></a>282 <a class="indexterm" name="id262 0913"></a>283 <a class="indexterm" name="id262 0920"></a>281 <a class="indexterm" name="id2627003"></a> 282 <a class="indexterm" name="id2627010"></a> 283 <a class="indexterm" name="id2627017"></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="id262 0963"></a>291 <a class="indexterm" name="id262 0969"></a>290 <a class="indexterm" name="id2627060"></a> 291 <a class="indexterm" name="id2627067"></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="id262 0984"></a>296 <a class="indexterm" name="id2627082"></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="id262 1013"></a>301 <a class="indexterm" name="id262 1020"></a>302 <a class="indexterm" name="id262 1027"></a>300 <a class="indexterm" name="id2627110"></a> 301 <a class="indexterm" name="id2627117"></a> 302 <a class="indexterm" name="id2627124"></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> … … 309 309 the <code class="literal">Success</code> message. Congratulations! Your trust 310 310 relationship has just been established. 311 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>311 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 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="id2621070"></a>NT4-Style Domain Trusts with Windows 2000</h2></div></div></div><p>315 <a class="indexterm" name="id262 1078"></a>316 <a class="indexterm" name="id262 1085"></a>317 <a class="indexterm" name="id262 1092"></a>318 <a class="indexterm" name="id262 1099"></a>314 </p></div></div></div><div class="sect1" title="NT4-Style Domain Trusts with Windows 2000"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2627167"></a>NT4-Style Domain Trusts with Windows 2000</h2></div></div></div><p> 315 <a class="indexterm" name="id2627175"></a> 316 <a class="indexterm" name="id2627182"></a> 317 <a class="indexterm" name="id2627189"></a> 318 <a class="indexterm" name="id2627196"></a> 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="id262 1120"></a>325 <a class="indexterm" name="id262 1127"></a>326 <a class="indexterm" name="id262 1134"></a>327 <a class="indexterm" name="id262 1141"></a>324 <a class="indexterm" name="id2627217"></a> 325 <a class="indexterm" name="id2627224"></a> 326 <a class="indexterm" name="id2627231"></a> 327 <a class="indexterm" name="id2627238"></a> 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="id2621219"></a>Common Errors</h2></div></div></div><p>341 </p></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2627316"></a>Common Errors</h2></div></div></div><p> 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="id2621232"></a>Browsing of Trusted Domain Fails</h3></div></div></div><p>345 </p><div class="sect2" title="Browsing of Trusted Domain Fails"><div class="titlepage"><div><div><h3 class="title"><a name="id2627329"></a>Browsing of Trusted Domain Fails</h3></div></div></div><p> 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="id2621278"></a>Problems with LDAP ldapsam and Older Versions of smbldap-tools</h3></div></div></div><p>363 </p></div><div class="sect2" title="Problems with LDAP ldapsam and Older Versions of smbldap-tools"><div class="titlepage"><div><div><h3 class="title"><a name="id2627375"></a>Problems with LDAP ldapsam and Older Versions of smbldap-tools</h3></div></div></div><p> 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.3.x/docs/htmldocs/Samba3-HOWTO/IntroSMB.html
r274 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Introduction</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="TOSHpreface.html" title="Preface"><link rel="next" href="introduction.html" title="Part I. General Installation"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Introduction</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="TOSHpreface.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="introduction.html">Next</a></td></tr></table><hr></div><div class="preface" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="IntroSMB"></a>Introduction</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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">1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Introduction</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="TOSHpreface.html" title="Preface"><link rel="next" href="introduction.html" title="Part I. General Installation"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Introduction</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="TOSHpreface.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="introduction.html">Next</a></td></tr></table><hr></div><div class="preface" title="Introduction"><div class="titlepage"><div><div><h2 class="title"><a name="IntroSMB"></a>Introduction</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2557435">What Is Samba?</a></span></dt><dt><span class="sect1"><a href="IntroSMB.html#id2504941">Why This Book?</a></span></dt><dt><span class="sect1"><a href="IntroSMB.html#id2557731">Book Structure and Layout</a></span></dt></dl></div><p><span class="quote">“<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. 4 </span>” --- Anon.4 </span>”</span> --- Anon. 5 5 </p><p> 6 6 This is a book about Samba. It is a tool, a derived work of the labors … … 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="id2551378"></a>What Is Samba?</h2></div></div></div><p>18 </p><div class="sect1" title="What Is Samba?"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2557435"></a>What Is Samba?</h2></div></div></div><p> 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="id2498886"></a>Why This Book?</h2></div></div></div><p>48 </p></div><div class="sect1" title="Why This Book?"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2504941"></a>Why This Book?</h2></div></div></div><p> 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="id2551674"></a>Book Structure and Layout</h2></div></div></div><p>100 </p></div><div class="sect1" title="Book Structure and Layout"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2557731"></a>Book Structure and Layout</h2></div></div></div><p> 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.3.x/docs/htmldocs/Samba3-HOWTO/NT4Migration.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 36. Migration from NT4 PDC to Samba-3 PDC</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="migration.html" title="Part IV. Migration and Updating"><link rel="prev" href="upgrading-to-3.0.html" title="Chapter 35. Updating and Upgrading Samba"><link rel="next" href="SWAT.html" title="Chapter 37. SWAT: The Samba Web Administration Tool"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 36. Migration from NT4 PDC to Samba-3 PDC</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="upgrading-to-3.0.html">Prev</a> </td><th width="60%" align="center">Part IV. Migration and Updating</th><td width="20%" align="right"> <a accesskey="n" href="SWAT.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="NT4Migration"></a>Chapter 36. Migration from NT4 PDC to Samba-3 PDC</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2679090">Planning and Getting Started</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2679125">Objectives</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2680070">Steps in Migration Process</a></span></dt></dl></dd><dt><span class="sect1"><a href="NT4Migration.html#id2680306">Migration Options</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2680392">Planning for Success</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2680625">Samba-3 Implementation Choices</a></span></dt></dl></dd></dl></div><p>2 <a class="indexterm" name="id26 79074"></a>3 <a class="indexterm" name="id26 79080"></a>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 36. Migration from NT4 PDC to Samba-3 PDC</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="migration.html" title="Part IV. Migration and Updating"><link rel="prev" href="upgrading-to-3.0.html" title="Chapter 35. Updating and Upgrading Samba"><link rel="next" href="SWAT.html" title="Chapter 37. SWAT: The Samba Web Administration Tool"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 36. Migration from NT4 PDC to Samba-3 PDC</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="upgrading-to-3.0.html">Prev</a> </td><th width="60%" align="center">Part IV. Migration and Updating</th><td width="20%" align="right"> <a accesskey="n" href="SWAT.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 36. Migration from NT4 PDC to Samba-3 PDC"><div class="titlepage"><div><div><h2 class="title"><a name="NT4Migration"></a>Chapter 36. Migration from NT4 PDC to Samba-3 PDC</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2685152">Planning and Getting Started</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2685187">Objectives</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2686132">Steps in Migration Process</a></span></dt></dl></dd><dt><span class="sect1"><a href="NT4Migration.html#id2686367">Migration Options</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2686454">Planning for Success</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2686687">Samba-3 Implementation Choices</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2685135"></a> 3 <a class="indexterm" name="id2685142"></a> 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="id2679090"></a>Planning and Getting Started</h2></div></div></div><p>7 <a class="indexterm" name="id26 79098"></a>6 </p><div class="sect1" title="Planning and Getting Started"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2685152"></a>Planning and Getting Started</h2></div></div></div><p> 7 <a class="indexterm" name="id2685160"></a> 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="id26 79113"></a>12 <a class="indexterm" name="id2685175"></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="id2679125"></a>Objectives</h3></div></div></div><p>17 <a class="indexterm" name="id26 79133"></a>16 </p><div class="sect2" title="Objectives"><div class="titlepage"><div><div><h3 class="title"><a name="id2685187"></a>Objectives</h3></div></div></div><p> 17 <a class="indexterm" name="id2685194"></a> 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="id26 79150"></a>24 <a class="indexterm" name="id2685212"></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="id26 79166"></a><a class="indexterm" name="id2679173"></a><a class="indexterm" name="id2679180"></a><a class="indexterm" name="id2679187"></a><a class="indexterm" name="id2679194"></a><div class="itemizedlist"><ul type="disc"><li><p>Improve network manageability.</p></li><li><p>Obtain better user-level functionality.</p></li><li><p>Reduce network operating costs.</p></li><li><p>Reduce exposure caused by Microsoft withdrawal of NT4 support.</p></li><li><p>Avoid MS License 6 implications.</p></li><li><p>Reduce organization's dependency on Microsoft.</p></li></ul></div><p>29 <a class="indexterm" name="id26 79237"></a>30 <a class="indexterm" name="id26 79244"></a>31 <a class="indexterm" name="id26 79251"></a>32 <a class="indexterm" name="id26 79258"></a>33 <a class="indexterm" name="id26 79264"></a>34 <a class="indexterm" name="id26 79271"></a>28 </p><a class="indexterm" name="id2685228"></a><a class="indexterm" name="id2685235"></a><a class="indexterm" name="id2685242"></a><a class="indexterm" name="id2685249"></a><a class="indexterm" name="id2685256"></a><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Improve network manageability.</p></li><li class="listitem"><p>Obtain better user-level functionality.</p></li><li class="listitem"><p>Reduce network operating costs.</p></li><li class="listitem"><p>Reduce exposure caused by Microsoft withdrawal of NT4 support.</p></li><li class="listitem"><p>Avoid MS License 6 implications.</p></li><li class="listitem"><p>Reduce organization's dependency on Microsoft.</p></li></ul></div><p> 29 <a class="indexterm" name="id2685299"></a> 30 <a class="indexterm" name="id2685306"></a> 31 <a class="indexterm" name="id2685312"></a> 32 <a class="indexterm" name="id2685319"></a> 33 <a class="indexterm" name="id2685326"></a> 34 <a class="indexterm" name="id2685333"></a> 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="id26 79290"></a><a class="indexterm" name="id2679297"></a><a class="indexterm" name="id2679304"></a><a class="indexterm" name="id2679311"></a><a class="indexterm" name="id2679318"></a><div class="itemizedlist"><ul type="disc"><li><p>Active Directory Server.</p></li><li><p>Group Policy Objects (in Active Directory).</p></li><li><p>Machine Policy Objects.</p></li><li><p>Logon Scripts in Active Directory.</p></li><li><p>Software Application and Access Controls in Active Directory.</p></li></ul></div><p>42 </p><a class="indexterm" name="id2685351"></a><a class="indexterm" name="id2685358"></a><a class="indexterm" name="id2685366"></a><a class="indexterm" name="id2685373"></a><a class="indexterm" name="id2685380"></a><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Active Directory Server.</p></li><li class="listitem"><p>Group Policy Objects (in Active Directory).</p></li><li class="listitem"><p>Machine Policy Objects.</p></li><li class="listitem"><p>Logon Scripts in Active Directory.</p></li><li class="listitem"><p>Software Application and Access Controls in Active Directory.</p></li></ul></div><p> 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="id26 79358"></a><a class="indexterm" name="id2679365"></a><a class="indexterm" name="id2679372"></a><a class="indexterm" name="id2679379"></a><a class="indexterm" name="id2679386"></a><a class="indexterm" name="id2679393"></a><a class="indexterm" name="id2679400"></a><a class="indexterm" name="id2679407"></a><a class="indexterm" name="id2679413"></a><a class="indexterm" name="id2679420"></a><a class="indexterm" name="id2679427"></a><a class="indexterm" name="id2679434"></a><a class="indexterm" name="id2679441"></a><a class="indexterm" name="id2679448"></a><a class="indexterm" name="id2679455"></a><div class="itemizedlist"><ul type="disc"><li><p>Lower cost of ownership.</p></li><li><p>Global availability of support with no strings attached.</p></li><li><p>Dynamic SMB servers (can run more than one SMB/CIFS server per UNIX/Linux system).</p></li><li><p>Creation of on-the-fly logon scripts.</p></li><li><p>Creation of on-the-fly policy files.</p></li><li><p>Greater stability, reliability, performance, and availability.</p></li><li><p>Manageability via an SSH connection.</p></li><li><p>Flexible choices of backend authentication technologies (tdbsam, ldapsam).</p></li><li><p>Ability to implement a full single-sign-on architecture.</p></li><li><p>Ability to distribute authentication systems for absolute minimum wide-area network bandwidth demand.</p></li></ul></div><p>46 <a class="indexterm" name="id26 79521"></a>45 </p><a class="indexterm" name="id2685420"></a><a class="indexterm" name="id2685427"></a><a class="indexterm" name="id2685434"></a><a class="indexterm" name="id2685441"></a><a class="indexterm" name="id2685448"></a><a class="indexterm" name="id2685455"></a><a class="indexterm" name="id2685462"></a><a class="indexterm" name="id2685468"></a><a class="indexterm" name="id2685475"></a><a class="indexterm" name="id2685482"></a><a class="indexterm" name="id2685489"></a><a class="indexterm" name="id2685496"></a><a class="indexterm" name="id2685503"></a><a class="indexterm" name="id2685510"></a><a class="indexterm" name="id2685517"></a><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Lower cost of ownership.</p></li><li class="listitem"><p>Global availability of support with no strings attached.</p></li><li class="listitem"><p>Dynamic SMB servers (can run more than one SMB/CIFS server per UNIX/Linux system).</p></li><li class="listitem"><p>Creation of on-the-fly logon scripts.</p></li><li class="listitem"><p>Creation of on-the-fly policy files.</p></li><li class="listitem"><p>Greater stability, reliability, performance, and availability.</p></li><li class="listitem"><p>Manageability via an SSH connection.</p></li><li class="listitem"><p>Flexible choices of backend authentication technologies (tdbsam, ldapsam).</p></li><li class="listitem"><p>Ability to implement a full single-sign-on architecture.</p></li><li class="listitem"><p>Ability to distribute authentication systems for absolute minimum wide-area network bandwidth demand.</p></li></ul></div><p> 46 <a class="indexterm" name="id2685583"></a> 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="id2679535"></a>Domain Layout</h4></div></div></div><p>52 <a class="indexterm" name="id26 79543"></a>53 <a class="indexterm" name="id26 79550"></a>54 <a class="indexterm" name="id26 79557"></a>55 <a class="indexterm" name="id26 79564"></a>56 <a class="indexterm" name="id26 79571"></a>57 <a class="indexterm" name="id26 79578"></a>58 <a class="indexterm" name="id26 79584"></a>59 <a class="indexterm" name="id26 79591"></a>60 <a class="indexterm" name="id26 79598"></a>61 <a class="indexterm" name="id26 79605"></a>62 <a class="indexterm" name="id26 79612"></a>63 <a class="indexterm" name="id26 79619"></a>64 <a class="indexterm" name="id26 79626"></a>65 <a class="indexterm" name="id26 79633"></a>66 <a class="indexterm" name="id26 79640"></a>67 <a class="indexterm" name="id26 79646"></a>51 </p><div class="sect3" title="Domain Layout"><div class="titlepage"><div><div><h4 class="title"><a name="id2685596"></a>Domain Layout</h4></div></div></div><p> 52 <a class="indexterm" name="id2685604"></a> 53 <a class="indexterm" name="id2685611"></a> 54 <a class="indexterm" name="id2685618"></a> 55 <a class="indexterm" name="id2685625"></a> 56 <a class="indexterm" name="id2685632"></a> 57 <a class="indexterm" name="id2685639"></a> 58 <a class="indexterm" name="id2685646"></a> 59 <a class="indexterm" name="id2685653"></a> 60 <a class="indexterm" name="id2685660"></a> 61 <a class="indexterm" name="id2685666"></a> 62 <a class="indexterm" name="id2685673"></a> 63 <a class="indexterm" name="id2685680"></a> 64 <a class="indexterm" name="id2685687"></a> 65 <a class="indexterm" name="id2685694"></a> 66 <a class="indexterm" name="id2685701"></a> 67 <a class="indexterm" name="id2685708"></a> 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="id26 79670"></a>77 <a class="indexterm" name="id2685731"></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="id26 79683"></a>82 <a class="indexterm" name="id26 79690"></a>83 <a class="indexterm" name="id26 79697"></a>84 <a class="indexterm" name="id26 79704"></a>85 <a class="indexterm" name="id26 79711"></a>86 <a class="indexterm" name="id26 79717"></a>81 <a class="indexterm" name="id2685745"></a> 82 <a class="indexterm" name="id2685752"></a> 83 <a class="indexterm" name="id2685759"></a> 84 <a class="indexterm" name="id2685766"></a> 85 <a class="indexterm" name="id2685772"></a> 86 <a class="indexterm" name="id2685779"></a> 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="id2679736"></a>Server Share and Directory Layout</h4></div></div></div><p>94 <a class="indexterm" name="id26 79744"></a>95 <a class="indexterm" name="id26 79751"></a>93 </p></div><div class="sect3" title="Server Share and Directory Layout"><div class="titlepage"><div><div><h4 class="title"><a name="id2685798"></a>Server Share and Directory Layout</h4></div></div></div><p> 94 <a class="indexterm" name="id2685806"></a> 95 <a class="indexterm" name="id2685813"></a> 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="id26 79767"></a>102 <a class="indexterm" name="id26 79774"></a>103 <a class="indexterm" name="id26 79780"></a>104 <a class="indexterm" name="id26 79787"></a>105 <a class="indexterm" name="id26 79794"></a>106 <a class="indexterm" name="id26 79801"></a>101 <a class="indexterm" name="id2685828"></a> 102 <a class="indexterm" name="id2685835"></a> 103 <a class="indexterm" name="id2685842"></a> 104 <a class="indexterm" name="id2685849"></a> 105 <a class="indexterm" name="id2685856"></a> 106 <a class="indexterm" name="id2685863"></a> 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="id26 79830"></a>115 <a class="indexterm" name="id26 79838"></a>116 <a class="indexterm" name="id26 79844"></a>114 <a class="indexterm" name="id2685892"></a> 115 <a class="indexterm" name="id2685899"></a> 116 <a class="indexterm" name="id2685906"></a> 117 117 Users should be grouped according to data access control needs. File and directory access 118 is best controlled via group permissions, and the use of the “<span class="quote">sticky bit</span>”on group-controlled118 is best controlled via group permissions, and the use of the <span class="quote">“<span class="quote">sticky bit</span>”</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="id26 79862"></a>122 <a class="indexterm" name="id26 79870"></a>123 <a class="indexterm" name="id26 79876"></a>124 <a class="indexterm" name="id26 79884"></a>125 <a class="indexterm" name="id26 79890"></a>121 <a class="indexterm" name="id2685924"></a> 122 <a class="indexterm" name="id2685931"></a> 123 <a class="indexterm" name="id2685938"></a> 124 <a class="indexterm" name="id2685945"></a> 125 <a class="indexterm" name="id2685952"></a> 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="id2679910"></a>Logon Scripts</h4></div></div></div><p>135 <a class="indexterm" name="id26 79918"></a>134 </p></div><div class="sect3" title="Logon Scripts"><div class="titlepage"><div><div><h4 class="title"><a name="id2685972"></a>Logon Scripts</h4></div></div></div><p> 135 <a class="indexterm" name="id2685980"></a> 136 136 Logon scripts can help to ensure that all users gain the share and printer connections they need. 137 137 </p><p> … … 141 141 the <a class="link" href="smb.conf.5.html#ROOTPREEXEC" target="_top">root preexec</a> parameters to the <em class="parameter"><code>NETLOGON</code></em> share. 142 142 </p><p> 143 <a class="indexterm" name="id26 79957"></a>143 <a class="indexterm" name="id2686019"></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="id2679977"></a>Profile Migration/Creation</h4></div></div></div><p>148 </p></div><div class="sect3" title="Profile Migration/Creation"><div class="titlepage"><div><div><h4 class="title"><a name="id2686039"></a>Profile Migration/Creation</h4></div></div></div><p> 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="id26 79990"></a>153 <a class="indexterm" name="id26 79997"></a>152 <a class="indexterm" name="id2686052"></a> 153 <a class="indexterm" name="id2686059"></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="id2680021"></a>User and Group Accounts</h4></div></div></div><p>158 <a class="indexterm" name="id268 0029"></a>159 <a class="indexterm" name="id268 0036"></a>160 <a class="indexterm" name="id268 0043"></a>161 <a class="indexterm" name="id268 0050"></a>157 </p></div><div class="sect3" title="User and Group Accounts"><div class="titlepage"><div><div><h4 class="title"><a name="id2686083"></a>User and Group Accounts</h4></div></div></div><p> 158 <a class="indexterm" name="id2686091"></a> 159 <a class="indexterm" name="id2686098"></a> 160 <a class="indexterm" name="id2686105"></a> 161 <a class="indexterm" name="id2686112"></a> 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="id2680070"></a>Steps in Migration Process</h3></div></div></div><p>167 </p></div></div><div class="sect2" title="Steps in Migration Process"><div class="titlepage"><div><div><h3 class="title"><a name="id2686132"></a>Steps in Migration Process</h3></div></div></div><p> 168 168 The approximate migration process is described below. 169 </p><div class="itemizedlist"><ul type="disc"><li><p>169 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 170 170 You have an NT4 PDC that has the users, groups, policies, and profiles to be migrated. 171 </p></li><li ><p>172 <a class="indexterm" name="id268 0092"></a>173 <a class="indexterm" name="id268 0098"></a>174 <a class="indexterm" name="id268 0105"></a>171 </p></li><li class="listitem"><p> 172 <a class="indexterm" name="id2686153"></a> 173 <a class="indexterm" name="id2686160"></a> 174 <a class="indexterm" name="id2686167"></a> 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="id2680128"></a><p class="title"><b>Procedure 36.1. The Account Migration Process</b></p><a class="indexterm" name="id2680216"></a><ol type="1"><li><p>178 <a class="indexterm" name="id268 0140"></a>177 </p></li></ul></div><div class="procedure" title="Procedure 36.1. The Account Migration Process"><a name="id2686190"></a><p class="title"><b>Procedure 36.1. The Account Migration Process</b></p><a class="indexterm" name="id2686278"></a><ol class="procedure" type="1"><li class="step" title="Step 1"><p> 178 <a class="indexterm" name="id2686201"></a> 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 </p></li><li ><p>182 <a class="indexterm" name="id268 0158"></a>181 </p></li><li class="step" title="Step 2"><p> 182 <a class="indexterm" name="id2686220"></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 </p></li><li ><p>186 <a class="indexterm" name="id268 0192"></a>185 </p></li><li class="step" title="Step 3"><p> 186 <a class="indexterm" name="id2686254"></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 </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="id268 0244"></a>191 <a class="indexterm" name="id268 0253"></a>189 </p></li><li class="step" title="Step 4"><p><strong class="userinput"><code>pdbedit -L</code></strong></p><p>Note: Did the users migrate?</p></li><li class="step" title="Step 5"><p> 190 <a class="indexterm" name="id2686305"></a> 191 <a class="indexterm" name="id2686314"></a> 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>) … … 206 206 net groupmap add ntgroup="QA Team" unixgroup=qateam type=d 207 207 </pre><p> 208 </p></li><li ><p><strong class="userinput"><code>net groupmap list</code></strong></p><p>Check that all groups are recognized.208 </p></li><li class="step" title="Step 6"><p><strong class="userinput"><code>net groupmap list</code></strong></p><p>Check that all groups are recognized. 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="id2680306"></a>Migration Options</h2></div></div></div><p>211 </p></div></div><div class="sect1" title="Migration Options"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2686367"></a>Migration Options</h2></div></div></div><p> 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="id2680392"></a>Planning for Success</h3></div></div></div><p>215 Cross-departmental decision process. Local expertise in most areas.</p></td></tr></tbody></table></div></div><br class="table-break"><div class="sect2" title="Planning for Success"><div class="titlepage"><div><div><h3 class="title"><a name="id2686454"></a>Planning for Success</h3></div></div></div><p> 216 216 There are three basic choices for sites that intend to migrate from MS Windows NT4 217 217 to Samba-3: 218 </p><div class="itemizedlist"><ul type="disc"><li><p>218 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 219 219 Simple conversion (total replacement). 220 </p></li><li ><p>220 </p></li><li class="listitem"><p> 221 221 Upgraded conversion (could be one of integration). 222 </p></li><li ><p>222 </p></li><li class="listitem"><p> 223 223 Complete redesign (completely new solution). 224 224 </p></li></ul></div><p> 225 225 Minimize downstream problems by: 226 </p><div class="itemizedlist"><ul type="disc"><li><p>226 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 227 227 Taking sufficient time. 228 </p></li><li ><p>228 </p></li><li class="listitem"><p> 229 229 Avoiding panic. 230 </p></li><li ><p>230 </p></li><li class="listitem"><p> 231 231 Testing all assumptions. 232 </p></li><li ><p>232 </p></li><li class="listitem"><p> 233 233 Testing the full roll-out program, including workstation deployment. 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="id2680625"></a>Samba-3 Implementation Choices</h3></div></div></div><div class="variablelist"><dl><dt><span class="term">Authentication Database/Backend</span></dt><dd><p>236 </p><div class="table"><a name="natconchoices"></a><p class="title"><b>Table 36.2. Nature of the Conversion Choices</b></p><div class="table-contents"><table summary="Nature of the Conversion Choices" border="1"><colgroup><col align="justify"><col align="justify"><col align="justify"></colgroup><thead><tr><th align="justify">Simple Install</th><th align="justify">Upgrade Decisions</th><th align="justify">Redesign Decisions</th></tr></thead><tbody><tr><td align="justify"><p>Make use of minimal OS-specific features</p></td><td align="justify"><p>Translate NT4 features to new host OS features</p></td><td align="justify"><p>Improve on NT4 functionality, enhance management capabilities</p></td></tr><tr><td align="justify"><p>Move all accounts from NT4 into Samba-3</p></td><td align="justify"><p>Copy and improve</p></td><td align="justify"><p>Authentication regime (database location and access)</p></td></tr><tr><td align="justify"><p>Make least number of operational changes</p></td><td align="justify"><p>Make progressive improvements</p></td><td align="justify"><p>Desktop management methods</p></td></tr><tr><td align="justify"><p>Take least amount of time to migrate</p></td><td align="justify"><p>Minimize user impact</p></td><td align="justify"><p>Better control of Desktops/Users</p></td></tr><tr><td align="justify"><p>Live versus isolated conversion</p></td><td align="justify"><p>Maximize functionality</p></td><td align="justify"><p>Identify Needs for: <span class="emphasis"><em>Manageability, Scalability, Security, Availability</em></span></p></td></tr><tr><td align="justify"><p>Integrate Samba-3, then migrate while users are active, then change of control (swap out)</p></td><td align="justify"><p>Take advantage of lower maintenance opportunity</p></td><td align="justify"><p></p></td></tr></tbody></table></div></div><br class="table-break"></div><div class="sect2" title="Samba-3 Implementation Choices"><div class="titlepage"><div><div><h3 class="title"><a name="id2686687"></a>Samba-3 Implementation Choices</h3></div></div></div><div class="variablelist"><dl><dt><span class="term">Authentication Database/Backend</span></dt><dd><p> 237 237 Samba-3 can use an external authentication backend: 238 238 </p><p> 239 </p><div class="itemizedlist"><ul type="disc"><li><p>Winbind (external Samba or NT4/200x server).</p></li><li><p>External server could use Active Directory or NT4 domain.</p></li><li><p>Can use pam_mkhomedir.so to autocreate home directories.</p></li><li><p> Samba-3 can use a local authentication backend: <em class="parameter"><code>smbpasswd</code></em>,239 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Winbind (external Samba or NT4/200x server).</p></li><li class="listitem"><p>External server could use Active Directory or NT4 domain.</p></li><li class="listitem"><p>Can use pam_mkhomedir.so to autocreate home directories.</p></li><li class="listitem"><p> Samba-3 can use a local authentication backend: <em class="parameter"><code>smbpasswd</code></em>, 240 240 <em class="parameter"><code>tdbsam</code></em>, <em class="parameter"><code>ldapsam</code></em> 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="id268 0699"></a><a class="indexterm" name="id2680706"></a><a class="indexterm" name="id2680712"></a><a class="indexterm" name="id2680719"></a><div class="itemizedlist"><ul type="disc"><li><p>On the share itself using share ACLs.</p></li><li><p>On the file system using UNIX permissions on files and directories.</p><p>Note: Can enable Posix ACLs in file system also.</p></li><li><p>Through Samba share parameters not recommended except as last resort.</p></li></ul></div></dd><dt><span class="term">Policies (migrate or create new ones)</span></dt><dd><p>244 <a class="indexterm" name="id268 0767"></a>245 <a class="indexterm" name="id268 0774"></a>243 </p><a class="indexterm" name="id2686760"></a><a class="indexterm" name="id2686767"></a><a class="indexterm" name="id2686774"></a><a class="indexterm" name="id2686781"></a><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>On the share itself using share ACLs.</p></li><li class="listitem"><p>On the file system using UNIX permissions on files and directories.</p><p>Note: Can enable Posix ACLs in file system also.</p></li><li class="listitem"><p>Through Samba share parameters not recommended except as last resort.</p></li></ul></div></dd><dt><span class="term">Policies (migrate or create new ones)</span></dt><dd><p> 244 <a class="indexterm" name="id2686829"></a> 245 <a class="indexterm" name="id2686835"></a> 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="id268 0790"></a>250 <a class="indexterm" name="id268 0796"></a>251 <a class="indexterm" name="id268 0803"></a>252 </p><div class="itemizedlist"><ul type="disc"><li><p>Using Group Policy Editor (NT4).</p></li><li><p>Watch out for tattoo effect.</p></li></ul></div></dd><dt><span class="term">User and Group Profiles</span></dt><dd><p>253 <a class="indexterm" name="id268 0835"></a>254 <a class="indexterm" name="id268 0841"></a>249 <a class="indexterm" name="id2686851"></a> 250 <a class="indexterm" name="id2686858"></a> 251 <a class="indexterm" name="id2686865"></a> 252 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Using Group Policy Editor (NT4).</p></li><li class="listitem"><p>Watch out for tattoo effect.</p></li></ul></div></dd><dt><span class="term">User and Group Profiles</span></dt><dd><p> 253 <a class="indexterm" name="id2686896"></a> 254 <a class="indexterm" name="id2686903"></a> 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="id268 0880"></a>260 <a class="indexterm" name="id2686941"></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 263 263 the new password backend behavior and the new group mapping functionality. 264 </p><div class="itemizedlist"><ul type="disc"><li><p>The <em class="parameter"><code>username map</code></em> facility may be needed.</p></li><li><p>Use <code class="literal">net groupmap</code> to connect NT4 groups to UNIX groups.</p></li><li><p>264 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>The <em class="parameter"><code>username map</code></em> facility may be needed.</p></li><li class="listitem"><p>Use <code class="literal">net groupmap</code> to connect NT4 groups to UNIX groups.</p></li><li class="listitem"><p> 265 265 Use <code class="literal">pdbedit</code> to set/change user configuration. 266 266 </p><p> … … 271 271 that were based on the experience of the designer and may have side effects that were not 272 272 anticipated. Limitations that may bite the Windows network administrator include: 273 </p><div class="itemizedlist"><ul type="disc"><li><p>Add/Delete Users: Note OS limits on size of name274 (Linux 8 chars, NT4 up to 254 chars).</p></li><li ><p>Add/Delete Machines: Applied only to domain members275 (Note: machine names may be limited to 16 characters).</p></li><li ><p>Use <code class="literal">net groupmap</code> to connect NT4 groups to UNIX groups.</p></li><li><p>Add/Delete Groups: Note OS limits on size and nature.273 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Add/Delete Users: Note OS limits on size of name 274 (Linux 8 chars, NT4 up to 254 chars).</p></li><li class="listitem"><p>Add/Delete Machines: Applied only to domain members 275 (Note: machine names may be limited to 16 characters).</p></li><li class="listitem"><p>Use <code class="literal">net groupmap</code> to connect NT4 groups to UNIX groups.</p></li><li class="listitem"><p>Add/Delete Groups: Note OS limits on size and nature. 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="id268 0997"></a>277 <a class="indexterm" name="id2687059"></a> 278 278 Domain Control (NT4-Style) Profiles, Policies, Access Controls, Security 279 </p><div class="itemizedlist"><ul type="disc"><li><p>Samba: <code class="literal">net, rpcclient, smbpasswd, pdbedit, profiles</code></p></li><li><p>Windows: <code class="literal">NT4 Domain User Manager, Server Manager (NEXUS)</code></p></li></ul></div></dd></dl></div></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="upgrading-to-3.0.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="migration.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="SWAT.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 35. Updating and Upgrading Samba </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 37. SWAT: The Samba Web Administration Tool</td></tr></table></div></body></html>279 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Samba: <code class="literal">net, rpcclient, smbpasswd, pdbedit, profiles</code></p></li><li class="listitem"><p>Windows: <code class="literal">NT4 Domain User Manager, Server Manager (NEXUS)</code></p></li></ul></div></dd></dl></div></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="upgrading-to-3.0.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="migration.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="SWAT.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 35. Updating and Upgrading Samba </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 37. SWAT: The Samba Web Administration Tool</td></tr></table></div></body></html> -
branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/NetCommand.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 13. Remote and Local Management: The Net Command</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="groupmapping.html" title="Chapter 12. Group Mapping: MS Windows and UNIX"><link rel="next" href="idmapper.html" title="Chapter 14. Identity Mapping (IDMAP)"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 13. Remote and Local Management: The Net Command</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="groupmapping.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="idmapper.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="NetCommand"></a>Chapter 13. Remote and Local Management: The Net Command</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2599024">Overview</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2599319">Administrative Tasks and Methods</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2599400">UNIX and Windows Group Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2599558">Adding, Renaming, or Deletion of Group Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#grpmemshipchg">Manipulating Group Memberships</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#nestedgrpmgmgt">Nested Group Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2600928">UNIX and Windows User Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#sbeuseraddn">Adding User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2601139">Deletion of User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2601187">Managing User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2601256">User Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2601339">Administering User Rights and Privileges</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2601684">Managing Trust Relationships</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2601699">Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2602068">Interdomain Trusts</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2602302">Managing Security Identifiers (SIDS)</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2602524">Share Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2602569">Creating, Editing, and Removing Shares</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2602757">Creating and Changing Share ACLs</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2602787">Share, Directory, and File Migration</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2603410">Printer Migration</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2603661">Controlling Open Files</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2603680">Session and Connection Management</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2603746">Printers and ADS</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2603862">Manipulating the Samba Cache</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2603879">Managing IDMAP UID/SID Mappings</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2603923">Creating an IDMAP Database Dump File</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2603958">Restoring the IDMAP Database Dump File</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#netmisc1">Other Miscellaneous Operations</a></span></dt></dl></div><p>2 <a class="indexterm" name="id2 598886"></a>3 <a class="indexterm" name="id2 598892"></a>4 <a class="indexterm" name="id2 598899"></a>5 <a class="indexterm" name="id2 598906"></a>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 13. Remote and Local Management: The Net Command</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="groupmapping.html" title="Chapter 12. Group Mapping: MS Windows and UNIX"><link rel="next" href="idmapper.html" title="Chapter 14. Identity Mapping (IDMAP)"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 13. Remote and Local Management: The Net Command</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="groupmapping.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="idmapper.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 13. Remote and Local Management: The Net Command"><div class="titlepage"><div><div><h2 class="title"><a name="NetCommand"></a>Chapter 13. Remote and Local Management: The Net Command</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:gd@samba.org">gd@samba.org</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#id2605091">Overview</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2605385">Administrative Tasks and Methods</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2605466">UNIX and Windows Group Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2605625">Adding, Renaming, or Deletion of Group Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#grpmemshipchg">Manipulating Group Memberships</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#nestedgrpmgmgt">Nested Group Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2606994">UNIX and Windows User Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#sbeuseraddn">Adding User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2607206">Deletion of User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2607254">Managing User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2607322">User Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2607406">Administering User Rights and Privileges</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2607751">Managing Trust Relationships</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2607766">Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2608135">Interdomain Trusts</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2608369">Managing Security Identifiers (SIDS)</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2608591">Share Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2608636">Creating, Editing, and Removing Shares</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2608824">Creating and Changing Share ACLs</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2608854">Share, Directory, and File Migration</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2609477">Printer Migration</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2609728">Controlling Open Files</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2609747">Session and Connection Management</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2609812">Printers and ADS</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2609928">Manipulating the Samba Cache</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2609946">Managing IDMAP UID/SID Mappings</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2609990">Creating an IDMAP Database Dump File</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2610025">Restoring the IDMAP Database Dump File</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#netmisc1">Other Miscellaneous Operations</a></span></dt></dl></div><p> 2 <a class="indexterm" name="id2604952"></a> 3 <a class="indexterm" name="id2604959"></a> 4 <a class="indexterm" name="id2604966"></a> 5 <a class="indexterm" name="id2604973"></a> 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="id2 598932"></a>11 <a class="indexterm" name="id2 598939"></a>12 <a class="indexterm" name="id2 598946"></a>13 <a class="indexterm" name="id2 598953"></a>10 <a class="indexterm" name="id2604999"></a> 11 <a class="indexterm" name="id2605006"></a> 12 <a class="indexterm" name="id2605013"></a> 13 <a class="indexterm" name="id2605020"></a> 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="id2599024"></a>Overview</h2></div></div></div><p>26 <a class="indexterm" name="id2 599032"></a>27 <a class="indexterm" name="id2 599039"></a>28 <a class="indexterm" name="id2 599046"></a>29 <a class="indexterm" name="id2 599052"></a>30 <a class="indexterm" name="id2 599059"></a>31 <a class="indexterm" name="id2 599065"></a>25 </p><div class="sect1" title="Overview"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2605091"></a>Overview</h2></div></div></div><p> 26 <a class="indexterm" name="id2605099"></a> 27 <a class="indexterm" name="id2605106"></a> 28 <a class="indexterm" name="id2605113"></a> 29 <a class="indexterm" name="id2605119"></a> 30 <a class="indexterm" name="id2605126"></a> 31 <a class="indexterm" name="id2605132"></a> 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="id2 599083"></a>39 <a class="indexterm" name="id2 599090"></a>40 <a class="indexterm" name="id2 599097"></a>41 <a class="indexterm" name="id2 599104"></a>42 <a class="indexterm" name="id2 599111"></a>43 <a class="indexterm" name="id2 599117"></a>44 <a class="indexterm" name="id2 599124"></a>45 <a class="indexterm" name="id2 599131"></a>38 <a class="indexterm" name="id2605150"></a> 39 <a class="indexterm" name="id2605157"></a> 40 <a class="indexterm" name="id2605164"></a> 41 <a class="indexterm" name="id2605170"></a> 42 <a class="indexterm" name="id2605177"></a> 43 <a class="indexterm" name="id2605184"></a> 44 <a class="indexterm" name="id2605190"></a> 45 <a class="indexterm" name="id2605197"></a> 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="id2 599155"></a>54 <a class="indexterm" name="id2 599162"></a>55 <a class="indexterm" name="id2 599168"></a>56 <a class="indexterm" name="id2 599175"></a>57 <a class="indexterm" name="id2 599182"></a>58 <a class="indexterm" name="id2 599189"></a>59 <a class="indexterm" name="id2 599196"></a>53 <a class="indexterm" name="id2605222"></a> 54 <a class="indexterm" name="id2605229"></a> 55 <a class="indexterm" name="id2605235"></a> 56 <a class="indexterm" name="id2605242"></a> 57 <a class="indexterm" name="id2605249"></a> 58 <a class="indexterm" name="id2605256"></a> 59 <a class="indexterm" name="id2605263"></a> 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="id2 599216"></a>65 <a class="indexterm" name="id2 599223"></a>66 <a class="indexterm" name="id2 599229"></a>67 <a class="indexterm" name="id2 599236"></a>68 <a class="indexterm" name="id2 599243"></a>69 <a class="indexterm" name="id2 599250"></a>70 <a class="indexterm" name="id2 599257"></a>71 <a class="indexterm" name="id2 599264"></a>72 <a class="indexterm" name="id2 599271"></a>64 <a class="indexterm" name="id2605283"></a> 65 <a class="indexterm" name="id2605290"></a> 66 <a class="indexterm" name="id2605296"></a> 67 <a class="indexterm" name="id2605303"></a> 68 <a class="indexterm" name="id2605310"></a> 69 <a class="indexterm" name="id2605317"></a> 70 <a class="indexterm" name="id2605324"></a> 71 <a class="indexterm" name="id2605331"></a> 72 <a class="indexterm" name="id2605338"></a> 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="id2 599292"></a>78 <a class="indexterm" name="id2 599298"></a>77 <a class="indexterm" name="id2605358"></a> 78 <a class="indexterm" name="id2605365"></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="id2599319"></a>Administrative Tasks and Methods</h2></div></div></div><p>84 <a class="indexterm" name="id2 599327"></a>85 <a class="indexterm" name="id2 599333"></a>86 <a class="indexterm" name="id2 599340"></a>87 <a class="indexterm" name="id2 599349"></a>83 </p></div><div class="sect1" title="Administrative Tasks and Methods"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2605385"></a>Administrative Tasks and Methods</h2></div></div></div><p> 84 <a class="indexterm" name="id2605394"></a> 85 <a class="indexterm" name="id2605400"></a> 86 <a class="indexterm" name="id2605407"></a> 87 <a class="indexterm" name="id2605416"></a> 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="id2599400"></a>UNIX and Windows Group Management</h2></div></div></div><p>98 <a class="indexterm" name="id2 599408"></a>99 <a class="indexterm" name="id2 599415"></a>100 <a class="indexterm" name="id2 599423"></a>101 <a class="indexterm" name="id2 599432"></a>102 <a class="indexterm" name="id2 599441"></a>97 </p></div><div class="sect1" title="UNIX and Windows Group Management"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2605466"></a>UNIX and Windows Group Management</h2></div></div></div><p> 98 <a class="indexterm" name="id2605475"></a> 99 <a class="indexterm" name="id2605482"></a> 100 <a class="indexterm" name="id2605490"></a> 101 <a class="indexterm" name="id2605499"></a> 102 <a class="indexterm" name="id2605508"></a> 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="id2 599474"></a>110 <a class="indexterm" name="id2 599480"></a>111 <a class="indexterm" name="id2 599487"></a>109 <a class="indexterm" name="id2605541"></a> 110 <a class="indexterm" name="id2605547"></a> 111 <a class="indexterm" name="id2605554"></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="id2 599507"></a>117 <a class="indexterm" name="id2 599514"></a>118 <a class="indexterm" name="id2 599523"></a>119 <a class="indexterm" name="id2 599532"></a>116 <a class="indexterm" name="id2605574"></a> 117 <a class="indexterm" name="id2605581"></a> 118 <a class="indexterm" name="id2605590"></a> 119 <a class="indexterm" name="id2605599"></a> 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="id2599558"></a>Adding, Renaming, or Deletion of Group Accounts</h3></div></div></div><p>126 </p><div class="sect2" title="Adding, Renaming, or Deletion of Group Accounts"><div class="titlepage"><div><div><h3 class="title"><a name="id2605625"></a>Adding, Renaming, or Deletion of Group Accounts</h3></div></div></div><p> 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="id2599600"></a>Adding or Creating a New Group</h4></div></div></div><p>146 </p><div class="sect3" title="Adding or Creating a New Group"><div class="titlepage"><div><div><h4 class="title"><a name="id2605667"></a>Adding or Creating a New Group</h4></div></div></div><p> 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="id2 599610"></a>150 <a class="indexterm" name="id2 599621"></a>149 <a class="indexterm" name="id2605677"></a> 150 <a class="indexterm" name="id2605688"></a> 151 151 </p><pre class="screen"> 152 152 <code class="prompt">root# </code> net rpc group list -Uroot%not24get … … 162 162 </pre><p> 163 163 </p><p> 164 A Windows group account called “<span class="quote">SupportEngrs</span>”can be added by executing the following164 A Windows group account called <span class="quote">“<span class="quote">SupportEngrs</span>”</span> can be added by executing the following 165 165 command: 166 <a class="indexterm" name="id2 599657"></a>166 <a class="indexterm" name="id2605724"></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="id2 599700"></a>187 <a class="indexterm" name="id2 599707"></a>188 <a class="indexterm" name="id2 599714"></a>186 <a class="indexterm" name="id2605767"></a> 187 <a class="indexterm" name="id2605774"></a> 188 <a class="indexterm" name="id2605781"></a> 189 189 The following demonstrates that the POSIX (UNIX/Linux system account) group has been created by calling 190 190 the <a class="link" href="smb.conf.5.html#ADDGROUPSCRIPT" target="_top">add group script = /opt/IDEALX/sbin/smbldap-groupadd -p "%g"</a> interface … … 206 206 results in immediate mapping of the POSIX group that has been created to the Windows group account as shown 207 207 here: 208 <a class="indexterm" name="id2 599760"></a>208 <a class="indexterm" name="id2605827"></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="id2599802"></a>Mapping Windows Groups to UNIX Groups</h4></div></div></div><p>222 <a class="indexterm" name="id2 599809"></a>223 <a class="indexterm" name="id2 599816"></a>224 <a class="indexterm" name="id2 599823"></a>225 <a class="indexterm" name="id2 599830"></a>221 </p></div><div class="sect3" title="Mapping Windows Groups to UNIX Groups"><div class="titlepage"><div><div><h4 class="title"><a name="id2605869"></a>Mapping Windows Groups to UNIX Groups</h4></div></div></div><p> 222 <a class="indexterm" name="id2605876"></a> 223 <a class="indexterm" name="id2605883"></a> 224 <a class="indexterm" name="id2605890"></a> 225 <a class="indexterm" name="id2605897"></a> 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="id2 599844"></a>231 <a class="indexterm" name="id2 599851"></a>232 <a class="indexterm" name="id2 599858"></a>233 <a class="indexterm" name="id2 599864"></a>230 <a class="indexterm" name="id2605911"></a> 231 <a class="indexterm" name="id2605918"></a> 232 <a class="indexterm" name="id2605924"></a> 233 <a class="indexterm" name="id2605931"></a> 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="id2 599890"></a>242 <a class="indexterm" name="id2 599897"></a>243 <a class="indexterm" name="id2 599904"></a>244 <a class="indexterm" name="id2 599910"></a>245 <a class="indexterm" name="id2 599917"></a>246 <a class="indexterm" name="id2 599924"></a>247 <a class="indexterm" name="id2 599931"></a>241 <a class="indexterm" name="id2605956"></a> 242 <a class="indexterm" name="id2605963"></a> 243 <a class="indexterm" name="id2605970"></a> 244 <a class="indexterm" name="id2605977"></a> 245 <a class="indexterm" name="id2605984"></a> 246 <a class="indexterm" name="id2605991"></a> 247 <a class="indexterm" name="id2605998"></a> 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="id2 599955"></a>255 <a class="indexterm" name="id2 599966"></a>256 <a class="indexterm" name="id2 599977"></a>254 <a class="indexterm" name="id2606021"></a> 255 <a class="indexterm" name="id2606033"></a> 256 <a class="indexterm" name="id2606044"></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. 259 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>259 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 260 260 Commencing with Samba-3.0.23 Windows Domain Groups must be explicitly created. By default, all 261 261 UNIX groups are exposed to Windows networking as Windows local groups. … … 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="id2600110"></a>Deleting a Group Account</h4></div></div></div><p>294 <a class="indexterm" name="id260 0118"></a>293 </p></div><div class="sect3" title="Deleting a Group Account"><div class="titlepage"><div><div><h4 class="title"><a name="id2606176"></a>Deleting a Group Account</h4></div></div></div><p> 294 <a class="indexterm" name="id2606184"></a> 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="id2600150"></a>Rename Group Accounts</h4></div></div></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>301 </p></div><div class="sect3" title="Rename Group Accounts"><div class="titlepage"><div><div><h4 class="title"><a name="id2606216"></a>Rename Group Accounts</h4></div></div></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 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 … … 306 306 Sometimes it is necessary to rename a group account. Good administrators know how painful some managers' 307 307 demands can be if this simple request is ignored. The following command demonstrates how the Windows group 308 “<span class="quote">SupportEngrs</span>” can be renamed to “<span class="quote">CustomerSupport</span>”:309 <a class="indexterm" name="id260 0178"></a>308 <span class="quote">“<span class="quote">SupportEngrs</span>”</span> can be renamed to <span class="quote">“<span class="quote">CustomerSupport</span>”</span>: 309 <a class="indexterm" name="id2606245"></a> 310 310 </p><pre class="screen"> 311 311 <code class="prompt">root# </code> net rpc group rename SupportEngrs \ 312 312 CustomerSupport -Uroot%not24get 313 313 </pre><p> 314 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="grpmemshipchg"></a>Manipulating Group Memberships</h3></div></div></div><p>314 </p></div></div><div class="sect2" title="Manipulating Group Memberships"><div class="titlepage"><div><div><h3 class="title"><a name="grpmemshipchg"></a>Manipulating Group Memberships</h3></div></div></div><p> 315 315 Three operations can be performed regarding group membership. It is possible to (1) add Windows users 316 316 to a Windows group, to (2) delete Windows users from Windows groups, and to (3) list the Windows users that are … … 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="id260 0309"></a>352 <a class="indexterm" name="id2606376"></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="id260 0351"></a>362 <a class="indexterm" name="id2606418"></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="id260 0448"></a>386 <a class="indexterm" name="id2606515"></a> 387 387 </p><pre class="screen"> 388 388 <code class="prompt">root# </code> net rpc group members "Domain Users" -Uroot%not24get … … 403 403 MIDEARTH\vlendecke 404 404 </pre><p> 405 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>405 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 406 406 An attempt to specify the group name as <code class="constant">MIDEARTH\Domain Users</code> in place of 407 407 just simply <code class="constant">Domain Users</code> will fail. The default behavior of the net rpc group … … 409 409 If it is necessary to query another machine, its name can be specified using the <code class="constant">-S 410 410 servername</code> parameter to the <code class="literal">net</code> command. 411 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="nestedgrpmgmgt"></a>Nested Group Support</h3></div></div></div><p>411 </p></div></div><div class="sect2" title="Nested Group Support"><div class="titlepage"><div><div><h3 class="title"><a name="nestedgrpmgmgt"></a>Nested Group Support</h3></div></div></div><p> 412 412 It is possible in Windows (and now in Samba also) to create a local group that has members (contains), 413 413 domain users, and domain global groups. Creation of the local group <code class="constant">demo</code> is … … 422 422 Addition and removal of group members can be achieved using the <code class="constant">addmem</code> and 423 423 <code class="constant">delmem</code> subcommands of <code class="literal">net rpc group</code> command. For example, 424 addition of “<span class="quote">DOM\Domain Users</span>”to the local group <code class="constant">demo</code> would be424 addition of <span class="quote">“<span class="quote">DOM\Domain Users</span>”</span> to the local group <code class="constant">demo</code> would be 425 425 done by executing: 426 426 </p><pre class="screen"> … … 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="id2600629"></a>Managing Nest Groups on Workstations from the Samba Server</h4></div></div></div><p>443 </p><div class="sect3" title="Managing Nest Groups on Workstations from the Samba Server"><div class="titlepage"><div><div><h4 class="title"><a name="id2606695"></a>Managing Nest Groups on Workstations from the Samba Server</h4></div></div></div><p> 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="id260 0642"></a>447 <a class="indexterm" name="id2606709"></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="id2600674"></a><p class="title"><b>Procedure 13.1. Automating User Addition to the Workstation Power Users Group</b></p><div class="example"><a name="autopoweruserscript"></a><p class="title"><b>Example 13.1. Script to Auto-add Domain Users to Workstation Power Users Group</b></p><div class="example-contents"><pre class="screen">455 </p><div class="procedure" title="Procedure 13.1. Automating User Addition to the Workstation Power Users Group"><a name="id2606741"></a><p class="title"><b>Procedure 13.1. Automating User Addition to the Workstation Power Users Group</b></p><div class="example"><a name="autopoweruserscript"></a><p class="title"><b>Example 13.1. Script to Auto-add Domain Users to Workstation Power Users Group</b></p><div class="example-contents"><pre class="screen"> 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="id2600830"></a><em class="parameter"><code>comment = Netlogon Share</code></em></td></tr><tr><td><a class="indexterm" name="id2600841"></a><em class="parameter"><code>path = /var/lib/samba/netlogon</code></em></td></tr><tr><td><a class="indexterm" name="id2600853"></a><em class="parameter"><code>root preexec = /etc/samba/scripts/autopoweruser.sh %U %m</code></em></td></tr><tr><td><a class="indexterm" name="id2600865"></a><em class="parameter"><code>read only = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2600877"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr></table></div></div><br class="example-break"><ol type="1"><li><p>462 </pre></div></div><br class="example-break"><div class="example"><a name="magicnetlogon"></a><p class="title"><b>Example 13.2. A Magic Netlogon Share</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[netlogon]</code></em></td></tr><tr><td><a class="indexterm" name="id2606896"></a><em class="parameter"><code>comment = Netlogon Share</code></em></td></tr><tr><td><a class="indexterm" name="id2606908"></a><em class="parameter"><code>path = /var/lib/samba/netlogon</code></em></td></tr><tr><td><a class="indexterm" name="id2606920"></a><em class="parameter"><code>root preexec = /etc/samba/scripts/autopoweruser.sh %U %m</code></em></td></tr><tr><td><a class="indexterm" name="id2606932"></a><em class="parameter"><code>read only = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2606944"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr></table></div></div><br class="example-break"><ol class="procedure" type="1"><li class="step" title="Step 1"><p> 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="id260 0706"></a>466 <a class="indexterm" name="id260 0717"></a>467 <a class="indexterm" name="id260 0724"></a>468 </p></li><li ><p>465 <a class="indexterm" name="id2606773"></a> 466 <a class="indexterm" name="id2606784"></a> 467 <a class="indexterm" name="id2606791"></a> 468 </p></li><li class="step" title="Step 2"><p> 469 469 Set the permissions on this script to permit it to be executed as part of the logon process: 470 470 </p><pre class="screen"> … … 472 472 <code class="prompt">root# </code> chmod 755 /etc/samba/autopoweruser.sh 473 473 </pre><p> 474 </p></li><li ><p>474 </p></li><li class="step" title="Step 3"><p> 475 475 Modify the <code class="filename">smb.conf</code> file so the <code class="literal">NETLOGON</code> stanza contains the parameters 476 476 shown in <a class="link" href="NetCommand.html#magicnetlogon" title="Example 13.2. A Magic Netlogon Share">the Netlogon Example smb.conf file</a>. 477 </p></li><li ><p>477 </p></li><li class="step" title="Step 4"><p> 478 478 Ensure that every Windows workstation Administrator account has the same password that you 479 479 have used in the script shown in <a class="link" href="NetCommand.html#magicnetlogon" title="Example 13.2. A Magic Netlogon Share">the Netlogon Example smb.conf … … 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="id2600928"></a>UNIX and Windows User Management</h2></div></div></div><p>488 <a class="indexterm" name="id260 0936"></a>489 <a class="indexterm" name="id260 0942"></a>490 <a class="indexterm" name="id260 0949"></a>491 <a class="indexterm" name="id260 0956"></a>492 <a class="indexterm" name="id260 0963"></a>493 <a class="indexterm" name="id260 0970"></a>494 <a class="indexterm" name="id260 0977"></a>495 <a class="indexterm" name="id260 0983"></a>487 </p></div></div></div><div class="sect1" title="UNIX and Windows User Management"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2606994"></a>UNIX and Windows User Management</h2></div></div></div><p> 488 <a class="indexterm" name="id2607002"></a> 489 <a class="indexterm" name="id2607009"></a> 490 <a class="indexterm" name="id2607016"></a> 491 <a class="indexterm" name="id2607023"></a> 492 <a class="indexterm" name="id2607030"></a> 493 <a class="indexterm" name="id2607036"></a> 494 <a class="indexterm" name="id2607043"></a> 495 <a class="indexterm" name="id2607050"></a> 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 … … 504 504 different name. Refer to the man page for the <code class="filename">smb.conf</code> file for more information regarding this 505 505 facility. User name mappings cannot be managed using the <code class="literal">net</code> utility. 506 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="sbeuseraddn"></a>Adding User Accounts</h3></div></div></div><p>506 </p><div class="sect2" title="Adding User Accounts"><div class="titlepage"><div><div><h3 class="title"><a name="sbeuseraddn"></a>Adding User Accounts</h3></div></div></div><p> 507 507 The syntax for adding a user account via the <code class="literal">net</code> (according to the man page) is shown 508 508 here: … … 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="id260 1081"></a>520 <a class="indexterm" name="id260 1092"></a>519 <a class="indexterm" name="id2607148"></a> 520 <a class="indexterm" name="id2607159"></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="id2601139"></a>Deletion of User Accounts</h3></div></div></div><p>531 </p></div><div class="sect2" title="Deletion of User Accounts"><div class="titlepage"><div><div><h3 class="title"><a name="id2607206"></a>Deletion of User Accounts</h3></div></div></div><p> 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="id260 1162"></a>537 <a class="indexterm" name="id2607228"></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="id2601187"></a>Managing User Accounts</h3></div></div></div><p>542 </p></div><div class="sect2" title="Managing User Accounts"><div class="titlepage"><div><div><h3 class="title"><a name="id2607254"></a>Managing User Accounts</h3></div></div></div><p> 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="id260 1210"></a>548 <a class="indexterm" name="id2607277"></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="id260 1240"></a>oldusername newusername561 <a class="indexterm" name="id2607306"></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="id2601256"></a>User Mapping</h3></div></div></div><p>566 <a class="indexterm" name="id260 1264"></a>567 <a class="indexterm" name="id260 1270"></a>568 <a class="indexterm" name="id260 1277"></a>565 </p></div><div class="sect2" title="User Mapping"><div class="titlepage"><div><div><h3 class="title"><a name="id2607322"></a>User Mapping</h3></div></div></div><p> 566 <a class="indexterm" name="id2607330"></a> 567 <a class="indexterm" name="id2607337"></a> 568 <a class="indexterm" name="id2607344"></a> 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 … … 579 579 marygee: geeringm 580 580 </pre><p> 581 In this example the Windows user account “<span class="quote">William Parsons</span>”will be mapped to the UNIX user582 <code class="constant">parsonsw</code>, and the Windows user account “<span class="quote">geeringm</span>”will be mapped to the581 In this example the Windows user account <span class="quote">“<span class="quote">William Parsons</span>”</span> will be mapped to the UNIX user 582 <code class="constant">parsonsw</code>, and the Windows user account <span class="quote">“<span class="quote">geeringm</span>”</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="id2601339"></a>Administering User Rights and Privileges</h2></div></div></div><p>585 <a class="indexterm" name="id260 1347"></a>586 <a class="indexterm" name="id260 1354"></a>587 <a class="indexterm" name="id260 1361"></a>588 <a class="indexterm" name="id260 1368"></a>589 <a class="indexterm" name="id260 1375"></a>584 </p></div></div><div class="sect1" title="Administering User Rights and Privileges"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2607406"></a>Administering User Rights and Privileges</h2></div></div></div><p> 585 <a class="indexterm" name="id2607414"></a> 586 <a class="indexterm" name="id2607421"></a> 587 <a class="indexterm" name="id2607428"></a> 588 <a class="indexterm" name="id2607435"></a> 589 <a class="indexterm" name="id2607442"></a> 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="id260 1394"></a>596 <a class="indexterm" name="id260 1402"></a>597 <a class="indexterm" name="id260 1408"></a>598 <a class="indexterm" name="id260 1416"></a>599 <a class="indexterm" name="id260 1423"></a>595 <a class="indexterm" name="id2607461"></a> 596 <a class="indexterm" name="id2607468"></a> 597 <a class="indexterm" name="id2607475"></a> 598 <a class="indexterm" name="id2607482"></a> 599 <a class="indexterm" name="id2607489"></a> 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 602 602 in <a class="link" href="rights.html" title="Chapter 15. User Rights and Privileges">“User Rights and Privileges”</a>. Examples of use of the <code class="literal">net</code> for user rights and privilege 603 603 management is appropriate to this chapter. 604 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>604 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 605 605 When user rights and privileges are correctly set, there is no longer a need for a Windows 606 606 network account for the <code class="constant">root</code> user (nor for any synonym of it) with a UNIX UID=0. … … 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="id260 1496"></a>636 <a class="indexterm" name="id260 1503"></a>637 <a class="indexterm" name="id260 1510"></a>638 <a class="indexterm" name="id260 1517"></a>639 <a class="indexterm" name="id260 1524"></a>640 <a class="indexterm" name="id260 1531"></a>641 <a class="indexterm" name="id260 1538"></a>642 <a class="indexterm" name="id260 1545"></a>643 <a class="indexterm" name="id260 1552"></a>635 <a class="indexterm" name="id2607563"></a> 636 <a class="indexterm" name="id2607570"></a> 637 <a class="indexterm" name="id2607577"></a> 638 <a class="indexterm" name="id2607584"></a> 639 <a class="indexterm" name="id2607591"></a> 640 <a class="indexterm" name="id2607598"></a> 641 <a class="indexterm" name="id2607605"></a> 642 <a class="indexterm" name="id2607612"></a> 643 <a class="indexterm" name="id2607619"></a> 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="id260 1598"></a>662 <a class="indexterm" name="id2607665"></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="id260 1650"></a>681 <a class="indexterm" name="id2607716"></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="id2601684"></a>Managing Trust Relationships</h2></div></div></div><p>715 </p></div><div class="sect1" title="Managing Trust Relationships"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2607751"></a>Managing Trust Relationships</h2></div></div></div><p> 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="id2601699"></a>Machine Trust Accounts</h3></div></div></div><p>720 </p><div class="sect2" title="Machine Trust Accounts"><div class="titlepage"><div><div><h3 class="title"><a name="id2607766"></a>Machine Trust Accounts</h3></div></div></div><p> 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="id260 1726"></a>725 <a class="indexterm" name="id2607793"></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="id260 1764"></a>738 <a class="indexterm" name="id2607830"></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="id260 1809"></a>753 <a class="indexterm" name="id2607876"></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="id260 1853"></a>768 <a class="indexterm" name="id2607920"></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="id260 1894"></a>776 <a class="indexterm" name="id2607960"></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="id260 1929"></a>784 <a class="indexterm" name="id2607996"></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="id260 1969"></a>795 <a class="indexterm" name="id2608036"></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="id260 2002"></a>805 <a class="indexterm" name="id2608068"></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="id260 2030"></a>812 <a class="indexterm" name="id2608096"></a> 813 813 </p><pre class="screen"> 814 814 <code class="prompt">root# </code> net ads status 815 815 </pre><p> 816 The volume of information is extensive. Please refer to the book “<span class="quote">Samba-3 by Example</span>”,816 The volume of information is extensive. Please refer to the book <span class="quote">“<span class="quote">Samba-3 by Example</span>”</span>, 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="id2602068"></a>Interdomain Trusts</h3></div></div></div><p>819 </p></div><div class="sect2" title="Interdomain Trusts"><div class="titlepage"><div><div><h3 class="title"><a name="id2608135"></a>Interdomain Trusts</h3></div></div></div><p> 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="id260 2083"></a>824 <a class="indexterm" name="id2608150"></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="id260 2118"></a>840 <a class="indexterm" name="id2608184"></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="id260 2168"></a>853 <a class="indexterm" name="id2608235"></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="id260 2212"></a>879 <a class="indexterm" name="id2608279"></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="id260 2260"></a>900 <a class="indexterm" name="id2608327"></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="id2602302"></a>Managing Security Identifiers (SIDS)</h2></div></div></div><p>911 <a class="indexterm" name="id260 2310"></a>912 <a class="indexterm" name="id260 2317"></a>913 <a class="indexterm" name="id260 2324"></a>914 <a class="indexterm" name="id260 2331"></a>915 <a class="indexterm" name="id260 2338"></a>910 </p></div></div><div class="sect1" title="Managing Security Identifiers (SIDS)"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2608369"></a>Managing Security Identifiers (SIDS)</h2></div></div></div><p> 911 <a class="indexterm" name="id2608377"></a> 912 <a class="indexterm" name="id2608384"></a> 913 <a class="indexterm" name="id2608390"></a> 914 <a class="indexterm" name="id2608397"></a> 915 <a class="indexterm" name="id2608404"></a> 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="id260 2354"></a>922 <a class="indexterm" name="id260 2361"></a>923 <a class="indexterm" name="id260 2368"></a>924 <a class="indexterm" name="id260 2374"></a>921 <a class="indexterm" name="id2608421"></a> 922 <a class="indexterm" name="id2608428"></a> 923 <a class="indexterm" name="id2608434"></a> 924 <a class="indexterm" name="id2608441"></a> 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="id260 2400"></a>932 <a class="indexterm" name="id2608467"></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="id260 2462"></a>948 <a class="indexterm" name="id2608529"></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="id260 2494"></a>959 <a class="indexterm" name="id2608561"></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="id2602524"></a>Share Management</h2></div></div></div><p>967 </p></div><div class="sect1" title="Share Management"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2608591"></a>Share Management</h2></div></div></div><p> 968 968 Share management is central to all file serving operations. Typical share operations include: 969 </p><div class="itemizedlist"><ul type="disc"><li><p>Creation/change/deletion of shares</p></li><li><p>Setting/changing ACLs on shares</p></li><li><p>Moving shares from one server to another</p></li><li><p>Change of permissions of share contents</p></li></ul></div><p>969 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Creation/change/deletion of shares</p></li><li class="listitem"><p>Setting/changing ACLs on shares</p></li><li class="listitem"><p>Moving shares from one server to another</p></li><li class="listitem"><p>Change of permissions of share contents</p></li></ul></div><p> 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="id2602569"></a>Creating, Editing, and Removing Shares</h3></div></div></div><p>972 </p><div class="sect2" title="Creating, Editing, and Removing Shares"><div class="titlepage"><div><div><h3 class="title"><a name="id2608636"></a>Creating, Editing, and Removing Shares</h3></div></div></div><p> 973 973 A share can be added using the <code class="literal">net rpc share</code> command capabilities. 974 974 The target machine may be local or remote and is specified by the -S option. It must be noted … … 983 983 file system is the directory <code class="filename">/data</code>. The command that can be executed to perform the 984 984 addition of this share is shown here: 985 <a class="indexterm" name="id260 2665"></a>985 <a class="indexterm" name="id2608732"></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="id260 2717"></a>1006 <a class="indexterm" name="id2608783"></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="id2602757"></a>Creating and Changing Share ACLs</h3></div></div></div><p>1022 </p></div><div class="sect2" title="Creating and Changing Share ACLs"><div class="titlepage"><div><div><h3 class="title"><a name="id2608824"></a>Creating and Changing Share ACLs</h3></div></div></div><p> 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="id2602787"></a>Share, Directory, and File Migration</h3></div></div></div><p>1030 <a class="indexterm" name="id260 2795"></a>1029 </p></div><div class="sect2" title="Share, Directory, and File Migration"><div class="titlepage"><div><div><h3 class="title"><a name="id2608854"></a>Share, Directory, and File Migration</h3></div></div></div><p> 1030 <a class="indexterm" name="id2608862"></a> 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 … … 1059 1059 </p><p> 1060 1060 There are two known limitations to the migration process: 1061 </p><div class="orderedlist"><ol type="1"><li><p>1061 </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p> 1062 1062 The <code class="literal">net</code> command requires that the user credentials provided exist on both 1063 1063 the migration source and the migration target. 1064 </p></li><li ><p>1064 </p></li><li class="listitem"><p> 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="id2602897"></a>Share Migration</h4></div></div></div><p>1067 </p></li></ol></div><div class="sect3" title="Share Migration"><div class="titlepage"><div><div><h4 class="title"><a name="id2608964"></a>Share Migration</h4></div></div></div><p> 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="id260 3011"></a>1094 <a class="indexterm" name="id2609077"></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="id260 3065"></a>1107 <a class="indexterm" name="id2609132"></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="id2603094"></a>File and Directory Migration</h4></div></div></div><p>1113 </p></div><div class="sect3" title="File and Directory Migration"><div class="titlepage"><div><div><h4 class="title"><a name="id2609160"></a>File and Directory Migration</h4></div></div></div><p> 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 … … 1148 1148 <em class="parameter"><code>--timestamps</code></em> switch, and the DOS file attributes (i.e., hidden, archive, etc.) can 1149 1149 be preserved by specifying the <em class="parameter"><code>--attrs</code></em> switch. 1150 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>1150 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 1151 1151 The ability to preserve ACLs depends on appropriate support for ACLs as well as the general file system 1152 1152 semantics of the host operating system on the target server. A migration from one Windows file server to … … 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="id260 3269"></a>1164 <a class="indexterm" name="id2609336"></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="id2603309"></a>Share-ACL Migration</h4></div></div></div><p>1173 </p></div><div class="sect3" title="Share-ACL Migration"><div class="titlepage"><div><div><h4 class="title"><a name="id2609375"></a>Share-ACL Migration</h4></div></div></div><p> 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="id260 3320"></a>1177 <a class="indexterm" name="id2609387"></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="id2603351"></a>Simultaneous Share and File Migration</h4></div></div></div><p>1183 </p></div><div class="sect3" title="Simultaneous Share and File Migration"><div class="titlepage"><div><div><h4 class="title"><a name="id2609418"></a>Simultaneous Share and File Migration</h4></div></div></div><p> 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="id260 3376"></a>1192 <a class="indexterm" name="id2609443"></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="id2603410"></a>Printer Migration</h3></div></div></div><p>1197 </p></div></div><div class="sect2" title="Printer Migration"><div class="titlepage"><div><div><h3 class="title"><a name="id2609477"></a>Printer Migration</h3></div></div></div><p> 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 … … 1214 1214 </p><p> 1215 1215 The migration of an existing printing architecture involves the following: 1216 </p><div class="itemizedlist"><ul type="disc"><li><p>Establishment of print queues.</p></li><li><p>Installation of printer drivers (both for the print server and for Windows clients.</p></li><li><p>Configuration of printing forms.</p></li><li><p>Implementation of security settings.</p></li><li><p>Configuration of printer settings.</p></li></ul></div><p>1216 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Establishment of print queues.</p></li><li class="listitem"><p>Installation of printer drivers (both for the print server and for Windows clients.</p></li><li class="listitem"><p>Configuration of printing forms.</p></li><li class="listitem"><p>Implementation of security settings.</p></li><li class="listitem"><p>Configuration of printer settings.</p></li></ul></div><p> 1217 1217 The Samba <code class="literal">net</code> utility permits printer migration from one Windows print server 1218 1218 to another. When this tool is used to migrate printers to a Samba server <code class="literal">smbd</code>, … … 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="id260 3546"></a>1234 <a class="indexterm" name="id2609612"></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="id260 3566"></a>1240 <a class="indexterm" name="id2609632"></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="id260 3585"></a>1245 <a class="indexterm" name="id2609652"></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="id260 3605"></a>1250 <a class="indexterm" name="id2609672"></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="id260 3627"></a>1256 <a class="indexterm" name="id2609694"></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="id2603661"></a>Controlling Open Files</h2></div></div></div><p>1266 </p></div></div><div class="sect1" title="Controlling Open Files"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2609728"></a>Controlling Open Files</h2></div></div></div><p> 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="id2603680"></a>Session and Connection Management</h2></div></div></div><p>1270 </p></div><div class="sect1" title="Session and Connection Management"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2609747"></a>Session and Connection Management</h2></div></div></div><p> 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="id260 3696"></a>1273 <a class="indexterm" name="id2609763"></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="id2603746"></a>Printers and ADS</h2></div></div></div><p>1288 </p></div><div class="sect1" title="Printers and ADS"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2609812"></a>Printers and ADS</h2></div></div></div><p> 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="id260 3764"></a>1292 <a class="indexterm" name="id2609831"></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="id260 3790"></a>1300 <a class="indexterm" name="id2609857"></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="id260 3815"></a>1307 <a class="indexterm" name="id2609882"></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="id260 3840"></a>1313 <a class="indexterm" name="id2609907"></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="id2603862"></a>Manipulating the Samba Cache</h2></div></div></div><p>1317 </p></div><div class="sect1" title="Manipulating the Samba Cache"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2609928"></a>Manipulating the Samba Cache</h2></div></div></div><p> 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="id2603879"></a>Managing IDMAP UID/SID Mappings</h2></div></div></div><p>1319 </p></div><div class="sect1" title="Managing IDMAP UID/SID Mappings"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2609946"></a>Managing IDMAP UID/SID Mappings</h2></div></div></div><p> 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="id2603923"></a>Creating an IDMAP Database Dump File</h3></div></div></div><p>1330 </p><div class="sect2" title="Creating an IDMAP Database Dump File"><div class="titlepage"><div><div><h3 class="title"><a name="id2609990"></a>Creating an IDMAP Database Dump File</h3></div></div></div><p> 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="id2603958"></a>Restoring the IDMAP Database Dump File</h3></div></div></div><p>1340 </p></div><div class="sect2" title="Restoring the IDMAP Database Dump File"><div class="titlepage"><div><div><h3 class="title"><a name="id2610025"></a>Restoring the IDMAP Database Dump File</h3></div></div></div><p> 1341 1341 The IDMAP dump file can be restored using the following command: 1342 1342 </p><pre class="screen"> … … 1348 1348 net idmap restore /var/lib/samba/winbindd_idmap.tdb < idmap_dump.txt 1349 1349 </pre><p> 1350 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="netmisc1"></a>Other Miscellaneous Operations</h2></div></div></div><p>1350 </p></div></div><div class="sect1" title="Other Miscellaneous Operations"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="netmisc1"></a>Other Miscellaneous Operations</h2></div></div></div><p> 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="id26 04008"></a>1353 <a class="indexterm" name="id2610075"></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="id26 04044"></a>1366 <a class="indexterm" name="id2610111"></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="id26 04075"></a>1374 <a class="indexterm" name="id2610142"></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="id26 04100"></a>1380 <a class="indexterm" name="id2610167"></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="id26 04126"></a>1386 <a class="indexterm" name="id2610192"></a> 1387 1387 </p><pre class="screen"> 1388 1388 <code class="prompt">root# </code> net time zone -S SAURON -
branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/NetworkBrowsing.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 10. Network Browsing</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="ChangeNotes.html" title="Chapter 9. Important and Critical Change Notes for the Samba 3.x Series"><link rel="next" href="passdb.html" title="Chapter 11. Account Information Databases"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 10. Network Browsing</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ChangeNotes.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="passdb.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="NetworkBrowsing"></a>Chapter 10. Network Browsing</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2579539">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="NetworkBrowsing.html#id2579723">What Is Browsing?</a></span></dt><dt><span class="sect1"><a href="NetworkBrowsing.html#netdiscuss">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2580799">TCP/IP without NetBIOS</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#adsdnstech">DNS and Active Directory</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2581358">How Browsing Functions</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2582305">Domain Browsing Configuration</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2582910">Making Samba the Domain Master</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2583150">Note about Broadcast Addresses</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2583172">Multiple Interfaces</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2583358">Use of the Remote Announce Parameter</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2583498">Use of the Remote Browse Sync Parameter</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2583591">WINS: The Windows Internetworking Name Server</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2583862">WINS Server Configuration</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2584183">WINS Replication</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2584236">Static WINS Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2584468">Helpful Hints</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2584479">Windows Networking Protocols</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2584620">Name Resolution Order</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2584823">Technical Overview of Browsing</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2584910">Browsing Support in Samba</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2585107">Problem Resolution</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2585358">Cross-Subnet Browsing</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2586371">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586398">Flushing the Samba NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586471">Server Resources Cannot Be Listed</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586519">I Get an "Unable to browse the network" Error</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586566">Browsing of Shares and Directories is Very Slow</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586766">Invalid Cached Share References Affects Network Browsing</a></span></dt></dl></dd></dl></div><p>2 <a class="indexterm" name="id25 79449"></a>3 <a class="indexterm" name="id25 79456"></a>4 <a class="indexterm" name="id25 79464"></a>5 <a class="indexterm" name="id25 79471"></a>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 10. Network Browsing</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="ChangeNotes.html" title="Chapter 9. Important and Critical Change Notes for the Samba 3.x Series"><link rel="next" href="passdb.html" title="Chapter 11. Account Information Databases"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 10. Network Browsing</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ChangeNotes.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="passdb.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 10. Network Browsing"><div class="titlepage"><div><div><h2 class="title"><a name="NetworkBrowsing"></a>Chapter 10. Network Browsing</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2585610">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="NetworkBrowsing.html#id2585793">What Is Browsing?</a></span></dt><dt><span class="sect1"><a href="NetworkBrowsing.html#netdiscuss">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586870">TCP/IP without NetBIOS</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#adsdnstech">DNS and Active Directory</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2587429">How Browsing Functions</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2588376">Domain Browsing Configuration</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2588976">Making Samba the Domain Master</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2589216">Note about Broadcast Addresses</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2589238">Multiple Interfaces</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2589424">Use of the Remote Announce Parameter</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2589564">Use of the Remote Browse Sync Parameter</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2589657">WINS: The Windows Internetworking Name Server</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2589928">WINS Server Configuration</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2590249">WINS Replication</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2590302">Static WINS Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2590534">Helpful Hints</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2590545">Windows Networking Protocols</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2590686">Name Resolution Order</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2590890">Technical Overview of Browsing</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2590976">Browsing Support in Samba</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2591173">Problem Resolution</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2591424">Cross-Subnet Browsing</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2592438">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2592464">Flushing the Samba NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2592537">Server Resources Cannot Be Listed</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2592585">I Get an "<span class="errorname">Unable to browse the network</span>" Error</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2592632">Browsing of Shares and Directories is Very Slow</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2592832">Invalid Cached Share References Affects Network Browsing</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2585520"></a> 3 <a class="indexterm" name="id2585527"></a> 4 <a class="indexterm" name="id2585534"></a> 5 <a class="indexterm" name="id2585541"></a> 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). 8 8 WINS is the best tool for resolution of NetBIOS names to IP addresses; however, WINS is 9 9 not involved in browse list handling except by way of name-to-address resolution. 10 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>11 <a class="indexterm" name="id25 79487"></a>10 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 11 <a class="indexterm" name="id2585558"></a> 12 12 What is WINS? 13 13 </p><p> 14 14 WINS is a facility that provides resolution of a NetBIOS name to its IP address. WINS is like a 15 15 Dynamic-DNS service for NetBIOS networking names. 16 </p></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>17 <a class="indexterm" name="id25 79504"></a>18 <a class="indexterm" name="id25 79511"></a>19 <a class="indexterm" name="id25 79518"></a>20 <a class="indexterm" name="id25 79525"></a>16 </p></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 17 <a class="indexterm" name="id2585575"></a> 18 <a class="indexterm" name="id2585582"></a> 19 <a class="indexterm" name="id2585589"></a> 20 <a class="indexterm" name="id2585596"></a> 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="id2579539"></a>Features and Benefits</h2></div></div></div><p>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 it was the worst of times.</em></span></span>” The more we look back, the more we long for what was and26 </p></div><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2585610"></a>Features and Benefits</h2></div></div></div><p> 27 Charles Dickens once referred to the past in these words: <span class="quote">“<span class="quote"><span class="emphasis"><em>It was the best of times, 28 it was the worst of times.</em></span></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="id25 79558"></a>32 <a class="indexterm" name="id25 79565"></a>33 <a class="indexterm" name="id25 79572"></a>31 <a class="indexterm" name="id2585629"></a> 32 <a class="indexterm" name="id2585636"></a> 33 <a class="indexterm" name="id2585643"></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="id25 79602"></a>47 <a class="indexterm" name="id25 79611"></a>48 <a class="indexterm" name="id25 79618"></a>49 <a class="indexterm" name="id25 79624"></a>50 <a class="indexterm" name="id25 79631"></a>46 <a class="indexterm" name="id2585672"></a> 47 <a class="indexterm" name="id2585682"></a> 48 <a class="indexterm" name="id2585688"></a> 49 <a class="indexterm" name="id2585695"></a> 50 <a class="indexterm" name="id2585702"></a> 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="id25 79649"></a>58 <a class="indexterm" name="id25 79655"></a>57 <a class="indexterm" name="id2585719"></a> 58 <a class="indexterm" name="id2585726"></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="id25 79670"></a>64 <a class="indexterm" name="id25 79677"></a>65 <a class="indexterm" name="id25 79684"></a>63 <a class="indexterm" name="id2585740"></a> 64 <a class="indexterm" name="id2585747"></a> 65 <a class="indexterm" name="id2585754"></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="id25 79698"></a>71 <a class="indexterm" name="id25 79705"></a>72 <a class="indexterm" name="id25 79711"></a>70 <a class="indexterm" name="id2585769"></a> 71 <a class="indexterm" name="id2585776"></a> 72 <a class="indexterm" name="id2585782"></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="id2579723"></a>What Is Browsing?</h2></div></div></div><p>76 <a class="indexterm" name="id25 79730"></a>77 <a class="indexterm" name="id25 79737"></a>78 <a class="indexterm" name="id25 79744"></a>79 <a class="indexterm" name="id25 79751"></a>75 </p></div><div class="sect1" title="What Is Browsing?"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2585793"></a>What Is Browsing?</h2></div></div></div><p> 76 <a class="indexterm" name="id2585801"></a> 77 <a class="indexterm" name="id2585808"></a> 78 <a class="indexterm" name="id2585815"></a> 79 <a class="indexterm" name="id2585822"></a> 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 … … 84 84 What seems so simple is in fact a complex interaction of different technologies. 85 85 The technologies (or methods) employed in making all of this work include: 86 </p><div class="itemizedlist"><ul type="disc"><li><p>MS Windows machines register their presence to the network.</p></li><li><p>Machines announce themselves to other machines on the network.</p></li><li><p>One or more machines on the network collate the local announcements.</p></li><li><p>The client machine finds the machine that has the collated list of machines.</p></li><li><p>The client machine is able to resolve the machine names to IP addresses.</p></li><li><p>The client machine is able to connect to a target machine.</p></li></ul></div><p>87 <a class="indexterm" name="id25 79808"></a>88 <a class="indexterm" name="id25 79815"></a>89 <a class="indexterm" name="id25 79822"></a>86 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>MS Windows machines register their presence to the network.</p></li><li class="listitem"><p>Machines announce themselves to other machines on the network.</p></li><li class="listitem"><p>One or more machines on the network collate the local announcements.</p></li><li class="listitem"><p>The client machine finds the machine that has the collated list of machines.</p></li><li class="listitem"><p>The client machine is able to resolve the machine names to IP addresses.</p></li><li class="listitem"><p>The client machine is able to connect to a target machine.</p></li></ul></div><p> 87 <a class="indexterm" name="id2585879"></a> 88 <a class="indexterm" name="id2585886"></a> 89 <a class="indexterm" name="id2585893"></a> 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" target="_top">os level</a></li><li><a class="link" href="smb.conf.5.html#LMANNOUNCE" target="_top">lm announce</a></li><li><a class="link" href="smb.conf.5.html#LMINTERVAL" target="_top">lm interval</a></li><li><a class="link" href="smb.conf.5.html#PREFERREDMASTER" target="_top">preferred master</a>(*)</li><li><a class="link" href="smb.conf.5.html#LOCALMASTER" target="_top">local master</a>(*)</li><li><a class="link" href="smb.conf.5.html#DOMAINMASTER" target="_top">domain master</a>(*)</li><li><a class="link" href="smb.conf.5.html#BROWSELIST" target="_top">browse list</a></li><li><a class="link" href="smb.conf.5.html#ENHANCEDBROWSING" target="_top">enhanced browsing</a></li></ul></div><p>94 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><a class="link" href="smb.conf.5.html#OSLEVEL" target="_top">os level</a></li><li class="listitem"><a class="link" href="smb.conf.5.html#LMANNOUNCE" target="_top">lm announce</a></li><li class="listitem"><a class="link" href="smb.conf.5.html#LMINTERVAL" target="_top">lm interval</a></li><li class="listitem"><a class="link" href="smb.conf.5.html#PREFERREDMASTER" target="_top">preferred master</a>(*)</li><li class="listitem"><a class="link" href="smb.conf.5.html#LOCALMASTER" target="_top">local master</a>(*)</li><li class="listitem"><a class="link" href="smb.conf.5.html#DOMAINMASTER" target="_top">domain master</a>(*)</li><li class="listitem"><a class="link" href="smb.conf.5.html#BROWSELIST" target="_top">browse list</a></li><li class="listitem"><a class="link" href="smb.conf.5.html#ENHANCEDBROWSING" target="_top">enhanced browsing</a></li></ul></div><p> 95 95 Name Resolution Method: 96 </p><div class="itemizedlist"><ul type="disc"><li><a class="link" href="smb.conf.5.html#NAMERESOLVEORDER" target="_top">name resolve order</a>(*)</li></ul></div><p>96 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><a class="link" href="smb.conf.5.html#NAMERESOLVEORDER" target="_top">name resolve order</a>(*)</li></ul></div><p> 97 97 WINS options: 98 </p><div class="itemizedlist"><ul type="disc"><li><a class="link" href="smb.conf.5.html#DNSPROXY" target="_top">dns proxy</a></li><li><a class="link" href="smb.conf.5.html#WINSPROXY" target="_top">wins proxy</a></li><li><a class="link" href="smb.conf.5.html#WINSSERVER" target="_top">wins server</a>(*)</li><li><a class="link" href="smb.conf.5.html#WINSSUPPORT" target="_top">wins support</a>(*)</li><li><a class="link" href="smb.conf.5.html#WINSHOOK" target="_top">wins hook</a></li></ul></div><p>98 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><a class="link" href="smb.conf.5.html#DNSPROXY" target="_top">dns proxy</a></li><li class="listitem"><a class="link" href="smb.conf.5.html#WINSPROXY" target="_top">wins proxy</a></li><li class="listitem"><a class="link" href="smb.conf.5.html#WINSSERVER" target="_top">wins server</a>(*)</li><li class="listitem"><a class="link" href="smb.conf.5.html#WINSSUPPORT" target="_top">wins support</a>(*)</li><li class="listitem"><a class="link" href="smb.conf.5.html#WINSHOOK" target="_top">wins hook</a></li></ul></div><p> 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="id258 0060"></a>103 <a class="indexterm" name="id258 0067"></a>104 <a class="indexterm" name="id258 0074"></a>105 <a class="indexterm" name="id258 0081"></a>106 <a class="indexterm" name="id258 0088"></a>102 <a class="indexterm" name="id2586131"></a> 103 <a class="indexterm" name="id2586138"></a> 104 <a class="indexterm" name="id2586145"></a> 105 <a class="indexterm" name="id2586152"></a> 106 <a class="indexterm" name="id2586159"></a> 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> 109 109 understands that when it spawns an instance of itself to run as a WINS server that it has to use its own WINS 110 110 server also. 111 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="netdiscuss"></a>Discussion</h2></div></div></div><p>112 <a class="indexterm" name="id258 0130"></a>113 <a class="indexterm" name="id258 0137"></a>114 <a class="indexterm" name="id258 0144"></a>115 <a class="indexterm" name="id258 0151"></a>111 </p></div><div class="sect1" title="Discussion"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="netdiscuss"></a>Discussion</h2></div></div></div><p> 112 <a class="indexterm" name="id2586201"></a> 113 <a class="indexterm" name="id2586208"></a> 114 <a class="indexterm" name="id2586215"></a> 115 <a class="indexterm" name="id2586222"></a> 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="id2580163"></a>NetBIOS over TCP/IP</h3></div></div></div><p>120 <a class="indexterm" name="id258 0171"></a>121 <a class="indexterm" name="id258 0178"></a>122 <a class="indexterm" name="id258 0184"></a>123 <a class="indexterm" name="id258 0191"></a>119 </p><div class="sect2" title="NetBIOS over TCP/IP"><div class="titlepage"><div><div><h3 class="title"><a name="id2586234"></a>NetBIOS over TCP/IP</h3></div></div></div><p> 120 <a class="indexterm" name="id2586242"></a> 121 <a class="indexterm" name="id2586248"></a> 122 <a class="indexterm" name="id2586255"></a> 123 <a class="indexterm" name="id2586262"></a> 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="id258 0206"></a>128 <a class="indexterm" name="id2586277"></a> 129 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. … … 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="id258 0255"></a><a class="indexterm" name="id2580261"></a><a class="indexterm" name="id2580268"></a><a class="indexterm" name="id2580275"></a><a class="indexterm" name="id2580282"></a><a class="indexterm" name="id2580289"></a><a class="indexterm" name="id2580295"></a><a class="indexterm" name="id2580302"></a><div class="itemizedlist"><ul type="disc"><li><p><span class="emphasis"><em>b-node (type 0x01):</em></span> The Windows client will use only137 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-point138 (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 use136 </p><a class="indexterm" name="id2586325"></a><a class="indexterm" name="id2586332"></a><a class="indexterm" name="id2586339"></a><a class="indexterm" name="id2586346"></a><a class="indexterm" name="id2586353"></a><a class="indexterm" name="id2586359"></a><a class="indexterm" name="id2586366"></a><a class="indexterm" name="id2586373"></a><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p><span class="emphasis"><em>b-node (type 0x01):</em></span> The Windows client will use only 137 NetBIOS broadcast requests using UDP broadcast.</p></li><li class="listitem"><p><span class="emphasis"><em>p-node (type 0x02):</em></span> The Windows client will use point-to-point 138 (NetBIOS unicast) requests using UDP unicast directed to a WINS server.</p></li><li class="listitem"><p><span class="emphasis"><em>m-node (type 0x04):</em></span> The Windows client will first use 139 139 NetBIOS broadcast requests using UDP broadcast, then it will use (NetBIOS unicast) 140 requests using UDP unicast directed to a WINS server.</p></li><li ><p><span class="emphasis"><em>h-node (type 0x08):</em></span> The Windows client will use140 requests using UDP unicast directed to a WINS server.</p></li><li class="listitem"><p><span class="emphasis"><em>h-node (type 0x08):</em></span> The Windows client will use 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="id258 0351"></a>144 <a class="indexterm" name="id258 0358"></a>145 <a class="indexterm" name="id258 0365"></a>146 <a class="indexterm" name="id258 0372"></a>147 <a class="indexterm" name="id258 0379"></a>148 <a class="indexterm" name="id258 0386"></a>143 <a class="indexterm" name="id2586422"></a> 144 <a class="indexterm" name="id2586429"></a> 145 <a class="indexterm" name="id2586436"></a> 146 <a class="indexterm" name="id2586443"></a> 147 <a class="indexterm" name="id2586449"></a> 148 <a class="indexterm" name="id2586456"></a> 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="id258 0401"></a>154 <a class="indexterm" name="id258 0410"></a>155 <a class="indexterm" name="id258 0417"></a>156 <a class="indexterm" name="id258 0424"></a>157 <a class="indexterm" name="id258 0430"></a>158 <a class="indexterm" name="id258 0437"></a>159 <a class="indexterm" name="id258 0444"></a>153 <a class="indexterm" name="id2586472"></a> 154 <a class="indexterm" name="id2586481"></a> 155 <a class="indexterm" name="id2586488"></a> 156 <a class="indexterm" name="id2586494"></a> 157 <a class="indexterm" name="id2586501"></a> 158 <a class="indexterm" name="id2586508"></a> 159 <a class="indexterm" name="id2586515"></a> 160 160 In those networks where Samba is the only SMB server technology, wherever possible <code class="filename">nmbd</code> 161 161 should be configured on one machine as the WINS server. This makes it easy to manage the browsing environment. … … 163 163 browsing to work is by using the <a class="link" href="smb.conf.5.html#REMOTEANNOUNCE" 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 164 </p><p> 165 <a class="indexterm" name="id258 0495"></a>165 <a class="indexterm" name="id2586566"></a> 166 166 If only one WINS server is used for an entire multisegment network, then 167 167 the use of the <a class="link" href="smb.conf.5.html#REMOTEANNOUNCE" target="_top">remote announce</a> and the 168 168 <a class="link" href="smb.conf.5.html#REMOTEBROWSESYNC" target="_top">remote browse sync</a> parameters should not be necessary. 169 169 </p><p> 170 <a class="indexterm" name="id258 0530"></a>170 <a class="indexterm" name="id2586601"></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="id258 0549"></a>177 <a class="indexterm" name="id258 0556"></a>178 <a class="indexterm" name="id258 0563"></a>179 <a class="indexterm" name="id258 0570"></a>180 <a class="indexterm" name="id258 0576"></a>181 <a class="indexterm" name="id258 0583"></a>182 <a class="indexterm" name="id258 0590"></a>183 <a class="indexterm" name="id258 0597"></a>176 <a class="indexterm" name="id2586620"></a> 177 <a class="indexterm" name="id2586627"></a> 178 <a class="indexterm" name="id2586634"></a> 179 <a class="indexterm" name="id2586640"></a> 180 <a class="indexterm" name="id2586647"></a> 181 <a class="indexterm" name="id2586654"></a> 182 <a class="indexterm" name="id2586661"></a> 183 <a class="indexterm" name="id2586668"></a> 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 … … 189 189 configured to use DNS to resolve names on other subnets in order to resolve the IP addresses of the servers 190 190 they can see on other subnets. This setup is not recommended but is mentioned as a practical consideration 191 (i.e., an “<span class="quote">if all else fails</span>”scenario). NetBIOS over TCP/IP is an ugly and difficult to manage191 (i.e., an <span class="quote">“<span class="quote">if all else fails</span>”</span> scenario). NetBIOS over TCP/IP is an ugly and difficult to manage 192 192 protocol. Its replacement, NetBIOSless SMB over TCP/IP is not without its own manageability concerns. NetBIOS 193 193 based networking is a life of compromise and trade-offs. WINS stores information that cannot be stored in … … 195 195 clients are designed to use WINS. 196 196 </p><p> 197 <a class="indexterm" name="id258 0659"></a>198 <a class="indexterm" name="id258 0665"></a>199 <a class="indexterm" name="id258 0672"></a>197 <a class="indexterm" name="id2586729"></a> 198 <a class="indexterm" name="id2586736"></a> 199 <a class="indexterm" name="id2586743"></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="id258 0687"></a>205 <a class="indexterm" name="id2586758"></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 </p><div class="orderedlist"><ol type="1"><li><p>207 </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p> 208 208 Checks the <code class="filename">hosts</code> file. It is located in <code class="filename">%SystemRoot%\System32\Drivers\etc</code>. 209 </p></li><li ><p>209 </p></li><li class="listitem"><p> 210 210 Does a DNS lookup. 211 </p></li><li ><p>211 </p></li><li class="listitem"><p> 212 212 Checks the NetBIOS name cache. 213 </p></li><li ><p>213 </p></li><li class="listitem"><p> 214 214 Queries the WINS server. 215 </p></li><li ><p>215 </p></li><li class="listitem"><p> 216 216 Does a broadcast name lookup over UDP. 217 </p></li><li ><p>217 </p></li><li class="listitem"><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="id258 0754"></a>221 <a class="indexterm" name="id258 0761"></a>222 <a class="indexterm" name="id258 0768"></a>223 <a class="indexterm" name="id258 0775"></a>220 <a class="indexterm" name="id2586825"></a> 221 <a class="indexterm" name="id2586832"></a> 222 <a class="indexterm" name="id2586839"></a> 223 <a class="indexterm" name="id2586846"></a> 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="id2580799"></a>TCP/IP without NetBIOS</h3></div></div></div><p>231 <a class="indexterm" name="id258 0807"></a>232 <a class="indexterm" name="id258 0813"></a>233 <a class="indexterm" name="id258 0820"></a>230 </p></div><div class="sect2" title="TCP/IP without NetBIOS"><div class="titlepage"><div><div><h3 class="title"><a name="id2586870"></a>TCP/IP without NetBIOS</h3></div></div></div><p> 231 <a class="indexterm" name="id2586877"></a> 232 <a class="indexterm" name="id2586884"></a> 233 <a class="indexterm" name="id2586891"></a> 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="id258 0842"></a>241 <a class="indexterm" name="id258 0849"></a>242 <a class="indexterm" name="id258 0856"></a>243 <a class="indexterm" name="id258 0862"></a>240 <a class="indexterm" name="id2586913"></a> 241 <a class="indexterm" name="id2586920"></a> 242 <a class="indexterm" name="id2586926"></a> 243 <a class="indexterm" name="id2586933"></a> 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="id258 0884"></a>248 <a class="indexterm" name="id258 0890"></a>249 <a class="indexterm" name="id258 0897"></a>247 <a class="indexterm" name="id2586954"></a> 248 <a class="indexterm" name="id2586961"></a> 249 <a class="indexterm" name="id2586968"></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="id258 0912"></a>255 <a class="indexterm" name="id258 0919"></a>256 <a class="indexterm" name="id258 0926"></a>257 <a class="indexterm" name="id258 0932"></a>258 <a class="indexterm" name="id258 0940"></a>259 <a class="indexterm" name="id258 0946"></a>254 <a class="indexterm" name="id2586983"></a> 255 <a class="indexterm" name="id2586990"></a> 256 <a class="indexterm" name="id2586996"></a> 257 <a class="indexterm" name="id2587003"></a> 258 <a class="indexterm" name="id2587010"></a> 259 <a class="indexterm" name="id2587017"></a> 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 … … 265 265 appropriate DNS entries for the Samba DMS because they will not be automatically generated either by Samba, or 266 266 by the ADS environment. 267 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="adsdnstech"></a>DNS and Active Directory</h3></div></div></div><p>268 <a class="indexterm" name="id258 0981"></a>269 <a class="indexterm" name="id258 0990"></a>270 <a class="indexterm" name="id258 0997"></a>271 <a class="indexterm" name="id258 1003"></a>272 <a class="indexterm" name="id258 1010"></a>267 </p></div><div class="sect2" title="DNS and Active Directory"><div class="titlepage"><div><div><h3 class="title"><a name="adsdnstech"></a>DNS and Active Directory</h3></div></div></div><p> 268 <a class="indexterm" name="id2587052"></a> 269 <a class="indexterm" name="id2587061"></a> 270 <a class="indexterm" name="id2587068"></a> 271 <a class="indexterm" name="id2587074"></a> 272 <a class="indexterm" name="id2587081"></a> 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="id258 1032"></a>281 <a class="indexterm" name="id258 1038"></a>282 <a class="indexterm" name="id258 1045"></a>280 <a class="indexterm" name="id2587102"></a> 281 <a class="indexterm" name="id2587109"></a> 282 <a class="indexterm" name="id2587116"></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, … … 300 300 Specific entries used by Microsoft clients to locate essential services for an example domain 301 301 called <code class="constant">quenya.org</code> include: 302 </p><div class="itemizedlist"><ul type="disc"><li><p>302 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 303 303 _kerberos._udp.quenya.org Used to contact the KDC server via UDP. 304 304 This entry must list port 88 for each KDC. 305 </p></li><li ><p>305 </p></li><li class="listitem"><p> 306 306 _kpasswd._udp.quenya.org Used to locate the <code class="constant">kpasswd</code> server 307 307 when a user password change must be processed. This record must list port 464 on the 308 308 master KDC. 309 </p></li><li ><p>309 </p></li><li class="listitem"><p> 310 310 _kerberos._tcp.quenya.org Used to locate the KDC server via TCP. 311 311 This entry must list port 88 for each KDC. 312 </p></li><li ><p>312 </p></li><li class="listitem"><p> 313 313 _ldap._tcp.quenya.org Used to locate the LDAP service on the PDC. 314 314 This record must list port 389 for the PDC. 315 </p></li><li ><p>315 </p></li><li class="listitem"><p> 316 316 _kpasswd._tcp.quenya.org Used to locate the <code class="constant">kpasswd</code> server 317 317 to permit user password changes to be processed. This must list port 464. 318 </p></li><li ><p>318 </p></li><li class="listitem"><p> 319 319 _gc._tcp.quenya.org Used to locate the global catalog server for the 320 320 top of the domain. This must list port 3268. … … 322 322 The following records are also used by the Windows domain member client to locate vital 323 323 services on the Windows ADS domain controllers. 324 </p><div class="itemizedlist"><ul type="disc"><li><p>324 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 325 325 _ldap._tcp.pdc._msdcs.quenya.org 326 </p></li><li ><p>326 </p></li><li class="listitem"><p> 327 327 _ldap.gc._msdcs.quenya.org 328 </p></li><li ><p>328 </p></li><li class="listitem"><p> 329 329 _ldap.default-first-site-name._sites.gc._msdcs.quenya.org 330 </p></li><li ><p>330 </p></li><li class="listitem"><p> 331 331 _ldap.{SecID}.domains._msdcs.quenya.org 332 </p></li><li ><p>332 </p></li><li class="listitem"><p> 333 333 _ldap._tcp.dc._msdcs.quenya.org 334 </p></li><li ><p>334 </p></li><li class="listitem"><p> 335 335 _kerberos._tcp.dc._msdcs.quenya.org 336 </p></li><li ><p>336 </p></li><li class="listitem"><p> 337 337 _ldap.default-first-site-name._sites.dc._msdcs.quenya.org 338 </p></li><li ><p>338 </p></li><li class="listitem"><p> 339 339 _kerberos.default-first-site-name._sites.dc._msdcs.queyna.org 340 </p></li><li ><p>340 </p></li><li class="listitem"><p> 341 341 SecID._msdcs.quenya.org 342 342 </p></li></ul></div><p> … … 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="id2581358"></a>How Browsing Functions</h2></div></div></div><p>374 <a class="indexterm" name="id258 1366"></a>375 <a class="indexterm" name="id258 1373"></a>376 <a class="indexterm" name="id258 1380"></a>377 <a class="indexterm" name="id258 1386"></a>378 <a class="indexterm" name="id258 1393"></a>373 </p></div></div><div class="sect1" title="How Browsing Functions"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2587429"></a>How Browsing Functions</h2></div></div></div><p> 374 <a class="indexterm" name="id2587437"></a> 375 <a class="indexterm" name="id2587444"></a> 376 <a class="indexterm" name="id2587451"></a> 377 <a class="indexterm" name="id2587457"></a> 378 <a class="indexterm" name="id2587464"></a> 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="id258 1410"></a>385 <a class="indexterm" name="id258 1417"></a>386 <a class="indexterm" name="id258 1424"></a>384 <a class="indexterm" name="id2587481"></a> 385 <a class="indexterm" name="id2587488"></a> 386 <a class="indexterm" name="id2587495"></a> 387 387 In the case where there is no WINS server, all name registrations as well as name lookups are done by UDP 388 388 broadcast. This isolates name resolution to the local subnet, unless LMHOSTS is used to list all names and IP … … 391 391 parameter). 392 392 </p><p> 393 <a class="indexterm" name="id258 1453"></a>394 <a class="indexterm" name="id258 1459"></a>395 <a class="indexterm" name="id258 1466"></a>393 <a class="indexterm" name="id2587524"></a> 394 <a class="indexterm" name="id2587530"></a> 395 <a class="indexterm" name="id2587537"></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="id258 1480"></a>400 <a class="indexterm" name="id258 1486"></a>401 <a class="indexterm" name="id258 1495"></a>402 <a class="indexterm" name="id258 1502"></a>403 <a class="indexterm" name="id258 1509"></a>404 <a class="indexterm" name="id258 1515"></a>405 <a class="indexterm" name="id258 1522"></a>406 <a class="indexterm" name="id258 1529"></a>399 <a class="indexterm" name="id2587550"></a> 400 <a class="indexterm" name="id2587557"></a> 401 <a class="indexterm" name="id2587566"></a> 402 <a class="indexterm" name="id2587573"></a> 403 <a class="indexterm" name="id2587580"></a> 404 <a class="indexterm" name="id2587586"></a> 405 <a class="indexterm" name="id2587593"></a> 406 <a class="indexterm" name="id2587600"></a> 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="id258 1566"></a>417 <a class="indexterm" name="id258 1573"></a>418 <a class="indexterm" name="id258 1579"></a>419 <a class="indexterm" name="id258 1586"></a>420 <a class="indexterm" name="id258 1593"></a>421 <a class="indexterm" name="id258 1600"></a>422 <a class="indexterm" name="id258 1607"></a>423 <a class="indexterm" name="id258 1614"></a>416 <a class="indexterm" name="id2587637"></a> 417 <a class="indexterm" name="id2587644"></a> 418 <a class="indexterm" name="id2587650"></a> 419 <a class="indexterm" name="id2587657"></a> 420 <a class="indexterm" name="id2587664"></a> 421 <a class="indexterm" name="id2587671"></a> 422 <a class="indexterm" name="id2587678"></a> 423 <a class="indexterm" name="id2587685"></a> 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="id258 1650"></a>431 <a class="indexterm" name="id2587721"></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="id258 1663"></a>435 <a class="indexterm" name="id2587734"></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="id258 1676"></a>440 <a class="indexterm" name="id258 1683"></a>441 <a class="indexterm" name="id258 1690"></a>442 <a class="indexterm" name="id258 1697"></a>443 <a class="indexterm" name="id258 1704"></a>444 <a class="indexterm" name="id258 1710"></a>439 <a class="indexterm" name="id2587747"></a> 440 <a class="indexterm" name="id2587754"></a> 441 <a class="indexterm" name="id2587761"></a> 442 <a class="indexterm" name="id2587768"></a> 443 <a class="indexterm" name="id2587775"></a> 444 <a class="indexterm" name="id2587781"></a> 445 445 Samba supports a feature that allows forced synchronization of browse lists across routed networks using the 446 446 <a class="link" href="smb.conf.5.html#REMOTEBROWSESYNC" target="_top">remote browse sync</a> parameter in the <code class="filename">smb.conf</code> file. This causes Samba to contact the … … 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 </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="id258 1779"></a>455 <a class="indexterm" name="id258 1786"></a>456 <a class="indexterm" name="id258 1793"></a>457 <a class="indexterm" name="id258 1799"></a>458 <a class="indexterm" name="id258 1806"></a>459 <a class="indexterm" name="id258 1813"></a>453 </p><div class="sect2" title="Configuring Workgroup Browsing"><div class="titlepage"><div><div><h3 class="title"><a name="DMB"></a>Configuring Workgroup Browsing</h3></div></div></div><p> 454 <a class="indexterm" name="id2587850"></a> 455 <a class="indexterm" name="id2587857"></a> 456 <a class="indexterm" name="id2587864"></a> 457 <a class="indexterm" name="id2587870"></a> 458 <a class="indexterm" name="id2587877"></a> 459 <a class="indexterm" name="id2587884"></a> 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="id258 1833"></a>467 <a class="indexterm" name="id2587904"></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="id2581863"></a><em class="parameter"><code>domain master = yes</code></em></td></tr></table><p>473 </p><p> 474 <a class="indexterm" name="id258 1878"></a>475 <a class="indexterm" name="id258 1884"></a>472 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2587934"></a><em class="parameter"><code>domain master = yes</code></em></td></tr></table><p> 473 </p><p> 474 <a class="indexterm" name="id2587949"></a> 475 <a class="indexterm" name="id2587955"></a> 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="id2581939"></a><em class="parameter"><code>domain master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2581951"></a><em class="parameter"><code>local master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2581962"></a><em class="parameter"><code>preferred master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2581974"></a><em class="parameter"><code>os level = 65</code></em></td></tr></table></div></div><br class="example-break"><p>479 <a class="indexterm" name="id258 1989"></a>480 <a class="indexterm" name="id258 1996"></a>478 </p><div class="example"><a name="dmbexample"></a><p class="title"><b>Example 10.1. Domain Master Browser smb.conf</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2588010"></a><em class="parameter"><code>domain master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2588021"></a><em class="parameter"><code>local master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2588033"></a><em class="parameter"><code>preferred master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2588045"></a><em class="parameter"><code>os level = 65</code></em></td></tr></table></div></div><br class="example-break"><p> 479 <a class="indexterm" name="id2588060"></a> 480 <a class="indexterm" name="id2588066"></a> 481 481 The DMB may be the same machine as the WINS server, if necessary. 482 482 </p><p> 483 <a class="indexterm" name="id258 2007"></a>484 <a class="indexterm" name="id258 2014"></a>485 <a class="indexterm" name="id258 2020"></a>483 <a class="indexterm" name="id2588078"></a> 484 <a class="indexterm" name="id2588084"></a> 485 <a class="indexterm" name="id2588091"></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="id2582078"></a><em class="parameter"><code>domain master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2582090"></a><em class="parameter"><code>local master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2582101"></a><em class="parameter"><code>preferred master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2582113"></a><em class="parameter"><code>os level = 65</code></em></td></tr></table></div></div><br class="example-break"><p>492 <a class="indexterm" name="id258 2128"></a>491 </p><div class="example"><a name="lmbexample"></a><p class="title"><b>Example 10.2. Local master browser smb.conf</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2588149"></a><em class="parameter"><code>domain master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2588160"></a><em class="parameter"><code>local master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2588172"></a><em class="parameter"><code>preferred master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2588184"></a><em class="parameter"><code>os level = 65</code></em></td></tr></table></div></div><br class="example-break"><p> 492 <a class="indexterm" name="id2588199"></a> 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="id258 2140"></a>497 <a class="indexterm" name="id258 2146"></a>496 <a class="indexterm" name="id2588211"></a> 497 <a class="indexterm" name="id2588217"></a> 498 498 The <a class="link" href="smb.conf.5.html#LOCALMASTER" target="_top">local master</a> parameter allows Samba to act as a 499 499 LMB. The <a class="link" href="smb.conf.5.html#PREFERREDMASTER" target="_top">preferred master</a> causes <code class="literal">nmbd</code> … … 501 501 parameter sets Samba high enough so it should win any browser elections. 502 502 </p><p> 503 <a class="indexterm" name="id258 2200"></a>503 <a class="indexterm" name="id2588271"></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="id2582255"></a><em class="parameter"><code>domain master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2582267"></a><em class="parameter"><code>local master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2582278"></a><em class="parameter"><code>preferred master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2582290"></a><em class="parameter"><code>os level = 0</code></em></td></tr></table></div></div><p><br class="example-break">509 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2582305"></a>Domain Browsing Configuration</h3></div></div></div><p>510 <a class="indexterm" name="id258 2313"></a>511 <a class="indexterm" name="id258 2320"></a>512 <a class="indexterm" name="id258 2326"></a>513 <a class="indexterm" name="id258 2333"></a>508 </p><div class="example"><a name="nombexample"></a><p class="title"><b>Example 10.3. smb.conf for Not Being a Master Browser</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2588326"></a><em class="parameter"><code>domain master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2588338"></a><em class="parameter"><code>local master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2588349"></a><em class="parameter"><code>preferred master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2588361"></a><em class="parameter"><code>os level = 0</code></em></td></tr></table></div></div><p><br class="example-break"> 509 </p></div><div class="sect2" title="Domain Browsing Configuration"><div class="titlepage"><div><div><h3 class="title"><a name="id2588376"></a>Domain Browsing Configuration</h3></div></div></div><p> 510 <a class="indexterm" name="id2588384"></a> 511 <a class="indexterm" name="id2588391"></a> 512 <a class="indexterm" name="id2588397"></a> 513 <a class="indexterm" name="id2588404"></a> 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="id258 2352"></a>519 <a class="indexterm" name="id2588423"></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="id2582408"></a><em class="parameter"><code>domain master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2582420"></a><em class="parameter"><code>local master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2582431"></a><em class="parameter"><code>preferred master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2582443"></a><em class="parameter"><code>os level = 65</code></em></td></tr></table></div></div><br class="example-break"><p>524 <a class="indexterm" name="id258 2458"></a>525 <a class="indexterm" name="id258 2465"></a>523 </p><div class="example"><a name="remsmb"></a><p class="title"><b>Example 10.4. Local Master Browser smb.conf</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2588479"></a><em class="parameter"><code>domain master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2588490"></a><em class="parameter"><code>local master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2588502"></a><em class="parameter"><code>preferred master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2588514"></a><em class="parameter"><code>os level = 65</code></em></td></tr></table></div></div><br class="example-break"><p> 524 <a class="indexterm" name="id2588529"></a> 525 <a class="indexterm" name="id2588536"></a> 526 526 If you wish to have a Samba server fight the election with machines on the same subnet, you may set the 527 527 <a class="link" href="smb.conf.5.html#OSLEVEL" 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="id258 2500"></a>531 <a class="indexterm" name="id258 2506"></a>532 <a class="indexterm" name="id258 2513"></a>530 <a class="indexterm" name="id2588570"></a> 531 <a class="indexterm" name="id2588577"></a> 532 <a class="indexterm" name="id2588584"></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 … … 537 537 </p><p> 538 538 </p><div class="example"><a name="xremmb"></a><p class="title"><b>Example 10.5. <code class="filename">smb.conf</code> for Not Being a master browser</b></p><div class="example-contents"><em class="parameter"><code>[global]</code></em><a class="link" href="smb.conf.5.html#DOMAINMASTER" target="_top">domain master = no</a><a class="link" href="smb.conf.5.html#LOCALMASTER" target="_top">local master = no</a><a class="link" href="smb.conf.5.html#PREFERREDMASTER" target="_top">preferred master = no</a><a class="link" href="smb.conf.5.html#OSLEVEL" target="_top">os level = 0</a></div></div><p><br class="example-break"> 539 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="browse-force-master"></a>Forcing Samba to Be the Master</h3></div></div></div><p>540 <a class="indexterm" name="id258 2631"></a>541 <a class="indexterm" name="id258 2637"></a>542 <a class="indexterm" name="id258 2644"></a>543 <a class="indexterm" name="id258 2650"></a>544 <a class="indexterm" name="id258 2657"></a>545 <a class="indexterm" name="id258 2664"></a>546 <a class="indexterm" name="id258 2671"></a>539 </p></div><div class="sect2" title="Forcing Samba to Be the Master"><div class="titlepage"><div><div><h3 class="title"><a name="browse-force-master"></a>Forcing Samba to Be the Master</h3></div></div></div><p> 540 <a class="indexterm" name="id2588702"></a> 541 <a class="indexterm" name="id2588708"></a> 542 <a class="indexterm" name="id2588714"></a> 543 <a class="indexterm" name="id2588721"></a> 544 <a class="indexterm" name="id2588728"></a> 545 <a class="indexterm" name="id2588735"></a> 546 <a class="indexterm" name="id2588742"></a> 547 547 Who becomes the master browser is determined by an election process using broadcasts. Each election packet 548 548 contains a number of parameters that determine what precedence (bias) a host should have in the election. By … … 558 558 level is 255. 559 559 </p><p> 560 <a class="indexterm" name="id258 2728"></a>561 <a class="indexterm" name="id258 2734"></a>562 <a class="indexterm" name="id258 2742"></a>563 <a class="indexterm" name="id258 2748"></a>560 <a class="indexterm" name="id2588799"></a> 561 <a class="indexterm" name="id2588805"></a> 562 <a class="indexterm" name="id2588812"></a> 563 <a class="indexterm" name="id2588819"></a> 564 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 … … 569 569 they will force an election in order to become the LMB. 570 570 </p><p> 571 <a class="indexterm" name="id258 2806"></a>572 <a class="indexterm" name="id258 2812"></a>573 <a class="indexterm" name="id258 2819"></a>574 <a class="indexterm" name="id258 2826"></a>575 <a class="indexterm" name="id258 2833"></a>571 <a class="indexterm" name="id2588872"></a> 572 <a class="indexterm" name="id2588879"></a> 573 <a class="indexterm" name="id2588886"></a> 574 <a class="indexterm" name="id2588893"></a> 575 <a class="indexterm" name="id2588899"></a> 576 576 If you want Samba to be a <span class="emphasis"><em>DMB</em></span>, then it is recommended that you also set <a class="link" href="smb.conf.5.html#PREFERREDMASTER" 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="id258 2865"></a>580 <a class="indexterm" name="id258 2871"></a>581 <a class="indexterm" name="id258 2878"></a>582 <a class="indexterm" name="id258 2885"></a>583 <a class="indexterm" name="id258 2892"></a>579 <a class="indexterm" name="id2588931"></a> 580 <a class="indexterm" name="id2588938"></a> 581 <a class="indexterm" name="id2588945"></a> 582 <a class="indexterm" name="id2588951"></a> 583 <a class="indexterm" name="id2588958"></a> 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="id2582910"></a>Making Samba the Domain Master</h3></div></div></div><p>590 <a class="indexterm" name="id258 2917"></a>591 <a class="indexterm" name="id258 2924"></a>592 <a class="indexterm" name="id258 2931"></a>593 <a class="indexterm" name="id258 2938"></a>589 </p></div><div class="sect2" title="Making Samba the Domain Master"><div class="titlepage"><div><div><h3 class="title"><a name="id2588976"></a>Making Samba the Domain Master</h3></div></div></div><p> 590 <a class="indexterm" name="id2588984"></a> 591 <a class="indexterm" name="id2588990"></a> 592 <a class="indexterm" name="id2588997"></a> 593 <a class="indexterm" name="id2589004"></a> 594 594 The domain master browser is responsible for collating the browse lists of multiple subnets so browsing can 595 595 occur between subnets. You can make Samba act as the domain master browser by setting <a class="link" href="smb.conf.5.html#DOMAINMASTER" target="_top">domain master = yes</a> in <code class="filename">smb.conf</code>. By default it will not be a domain master browser. 596 596 </p><p> 597 <a class="indexterm" name="id258 2970"></a>598 <a class="indexterm" name="id258 2977"></a>597 <a class="indexterm" name="id2589036"></a> 598 <a class="indexterm" name="id2589043"></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="id258 2999"></a>607 <a class="indexterm" name="id258 3006"></a>606 <a class="indexterm" name="id2589066"></a> 607 <a class="indexterm" name="id2589072"></a> 608 608 If you want Samba to be the domain master, you should also set the <a class="link" href="smb.conf.5.html#OSLEVEL" target="_top">os level</a> high 609 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="id258 3045"></a>613 <a class="indexterm" name="id258 3052"></a>612 <a class="indexterm" name="id2589112"></a> 613 <a class="indexterm" name="id2589118"></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 </p><div class="orderedlist"><ol type="1"><li><p>617 <a class="indexterm" name="id258 3074"></a>618 <a class="indexterm" name="id258 3081"></a>616 </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p> 617 <a class="indexterm" name="id2589141"></a> 618 <a class="indexterm" name="id2589147"></a> 619 619 LMBs will be unable to find a DMB because they will be looking only on the local subnet. 620 </p></li><li ><p>621 <a class="indexterm" name="id258 3096"></a>620 </p></li><li class="listitem"><p> 621 <a class="indexterm" name="id2589162"></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="id258 3111"></a>625 <a class="indexterm" name="id2589177"></a> 626 626 If, however, both Samba and your clients are using a WINS server, then: 627 </p><div class="orderedlist"><ol type="1"><li><p>627 </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p> 628 628 LMBs will contact the WINS server and, as long as Samba has registered that it is a DMB with the WINS 629 629 server, the LMB will receive Samba's IP address as its DMB. 630 </p></li><li ><p>630 </p></li><li class="listitem"><p> 631 631 When a client receives a domain-wide browse list and a user attempts to access a host in that list, it will 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="id2583150"></a>Note about Broadcast Addresses</h3></div></div></div><p>635 <a class="indexterm" name="id258 3158"></a>634 </p></li></ol></div></div><div class="sect2" title="Note about Broadcast Addresses"><div class="titlepage"><div><div><h3 class="title"><a name="id2589216"></a>Note about Broadcast Addresses</h3></div></div></div><p> 635 <a class="indexterm" name="id2589224"></a> 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="id2583172"></a>Multiple Interfaces</h3></div></div></div><p>640 <a class="indexterm" name="id258 3180"></a>639 </p></div><div class="sect2" title="Multiple Interfaces"><div class="titlepage"><div><div><h3 class="title"><a name="id2589238"></a>Multiple Interfaces</h3></div></div></div><p> 640 <a class="indexterm" name="id2589246"></a> 641 641 Samba supports machines with multiple network interfaces. If you have multiple interfaces, you will 642 642 need to use the <a class="link" href="smb.conf.5.html#INTERFACES" target="_top">interfaces</a> option in <code class="filename">smb.conf</code> to configure them. For example, the … … 645 645 <code class="literal">eth4</code> should be used by Samba. In this case, the following <code class="filename">smb.conf</code> file entries would 646 646 permit that intent: 647 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2583256"></a><em class="parameter"><code>interfaces = eth1, eth4</code></em></td></tr><tr><td><a class="indexterm" name="id2583268"></a><em class="parameter"><code>bind interfaces only = Yes</code></em></td></tr></table><p>648 <a class="indexterm" name="id258 3280"></a>649 <a class="indexterm" name="id258 3287"></a>650 <a class="indexterm" name="id258 3293"></a>651 <a class="indexterm" name="id258 3300"></a>652 <a class="indexterm" name="id258 3307"></a>653 <a class="indexterm" name="id258 3314"></a>654 <a class="indexterm" name="id258 3320"></a>647 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2589322"></a><em class="parameter"><code>interfaces = eth1, eth4</code></em></td></tr><tr><td><a class="indexterm" name="id2589334"></a><em class="parameter"><code>bind interfaces only = Yes</code></em></td></tr></table><p> 648 <a class="indexterm" name="id2589346"></a> 649 <a class="indexterm" name="id2589353"></a> 650 <a class="indexterm" name="id2589360"></a> 651 <a class="indexterm" name="id2589366"></a> 652 <a class="indexterm" name="id2589373"></a> 653 <a class="indexterm" name="id2589380"></a> 654 <a class="indexterm" name="id2589387"></a> 655 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 … … 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="id2583358"></a>Use of the Remote Announce Parameter</h3></div></div></div><p>661 </p></div><div class="sect2" title="Use of the Remote Announce Parameter"><div class="titlepage"><div><div><h3 class="title"><a name="id2589424"></a>Use of the Remote Announce Parameter</h3></div></div></div><p> 662 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 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="id2583403"></a><em class="parameter"><code>remote announce = 192.168.12.23 [172.16.21.255] ...</code></em></td></tr></table><p>664 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2589469"></a><em class="parameter"><code>remote announce = 192.168.12.23 [172.16.21.255] ...</code></em></td></tr></table><p> 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="id2583424"></a><em class="parameter"><code>remote announce = 192.168.12.23/MIDEARTH [172.16.21.255/ELVINDORF] ...</code></em></td></tr></table><p>666 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2589490"></a><em class="parameter"><code>remote announce = 192.168.12.23/MIDEARTH [172.16.21.255/ELVINDORF] ...</code></em></td></tr></table><p> 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="id258 3451"></a>671 <a class="indexterm" name="id258 3461"></a>670 <a class="indexterm" name="id2589518"></a> 671 <a class="indexterm" name="id2589527"></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="id2583498"></a>Use of the Remote Browse Sync Parameter</h3></div></div></div><p>682 <a class="indexterm" name="id258 3505"></a>683 <a class="indexterm" name="id258 3512"></a>681 </p></div><div class="sect2" title="Use of the Remote Browse Sync Parameter"><div class="titlepage"><div><div><h3 class="title"><a name="id2589564"></a>Use of the Remote Browse Sync Parameter</h3></div></div></div><p> 682 <a class="indexterm" name="id2589572"></a> 683 <a class="indexterm" name="id2589578"></a> 684 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 … … 688 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="id2583562"></a></td></tr></table><p>691 <a class="indexterm" name="id258 3568"></a>692 <a class="indexterm" name="id258 3575"></a>690 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2589628"></a></td></tr></table><p> 691 <a class="indexterm" name="id2589634"></a> 692 <a class="indexterm" name="id2589641"></a> 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="id2583591"></a>WINS: The Windows Internetworking Name Server</h2></div></div></div><p>696 <a class="indexterm" name="id258 3599"></a>697 <a class="indexterm" name="id258 3606"></a>698 <a class="indexterm" name="id258 3613"></a>695 </p></div></div><div class="sect1" title="WINS: The Windows Internetworking Name Server"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2589657"></a>WINS: The Windows Internetworking Name Server</h2></div></div></div><p> 696 <a class="indexterm" name="id2589665"></a> 697 <a class="indexterm" name="id2589672"></a> 698 <a class="indexterm" name="id2589679"></a> 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="id258 3631"></a>708 <a class="indexterm" name="id258 3638"></a>707 <a class="indexterm" name="id2589697"></a> 708 <a class="indexterm" name="id2589704"></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="id258 3653"></a>716 <a class="indexterm" name="id258 3660"></a>717 <a class="indexterm" name="id258 3667"></a>718 <a class="indexterm" name="id258 3674"></a>715 <a class="indexterm" name="id2589720"></a> 716 <a class="indexterm" name="id2589726"></a> 717 <a class="indexterm" name="id2589733"></a> 718 <a class="indexterm" name="id2589740"></a> 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="id258 3698"></a>729 <a class="indexterm" name="id258 3705"></a>730 <a class="indexterm" name="id258 3712"></a>731 <a class="indexterm" name="id258 3718"></a>732 <a class="indexterm" name="id258 3725"></a>728 <a class="indexterm" name="id2589764"></a> 729 <a class="indexterm" name="id2589771"></a> 730 <a class="indexterm" name="id2589778"></a> 731 <a class="indexterm" name="id2589784"></a> 732 <a class="indexterm" name="id2589791"></a> 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="id258 3742"></a>740 <a class="indexterm" name="id258 3749"></a>741 <a class="indexterm" name="id258 3756"></a>742 <a class="indexterm" name="id258 3763"></a>739 <a class="indexterm" name="id2589809"></a> 740 <a class="indexterm" name="id2589816"></a> 741 <a class="indexterm" name="id2589823"></a> 742 <a class="indexterm" name="id2589830"></a> 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 … … 754 754 </p><p> 755 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 </p><div class="important" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Important</h3><p>756 </p><div class="important" title="Important" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Important</h3><p> 757 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="id2583862"></a>WINS Server Configuration</h3></div></div></div><p>760 <a class="indexterm" name="id258 3870"></a>759 </p></div><div class="sect2" title="WINS Server Configuration"><div class="titlepage"><div><div><h3 class="title"><a name="id2589928"></a>WINS Server Configuration</h3></div></div></div><p> 760 <a class="indexterm" name="id2589936"></a> 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="id2583901"></a><em class="parameter"><code>wins support = yes</code></em></td></tr></table><p>767 </p><p> 768 <a class="indexterm" name="id258 3916"></a>766 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2589967"></a><em class="parameter"><code>wins support = yes</code></em></td></tr></table><p> 767 </p><p> 768 <a class="indexterm" name="id2589982"></a> 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 771 771 strongly suggested you upgrade to a recent version, or at the very 772 least set the parameter to “<span class="quote">no</span>”on all these machines.772 least set the parameter to <span class="quote">“<span class="quote">no</span>”</span> on all these machines. 773 773 </p><p> 774 774 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 83950"></a>777 <a class="indexterm" name="id2590017"></a> 778 778 It is strongly recommended to set up only one WINS server. Do not set the <a class="link" href="smb.conf.5.html#WINSSUPPORT" target="_top">wins support = yes</a> option on more than one Samba server on a network. 779 779 </p><p> 780 <a class="indexterm" name="id25 83974"></a>781 <a class="indexterm" name="id25 83983"></a>782 <a class="indexterm" name="id25 83990"></a>783 <a class="indexterm" name="id25 83996"></a>784 <a class="indexterm" name="id25 84004"></a>780 <a class="indexterm" name="id2590040"></a> 781 <a class="indexterm" name="id2590049"></a> 782 <a class="indexterm" name="id2590056"></a> 783 <a class="indexterm" name="id2590063"></a> 784 <a class="indexterm" name="id2590070"></a> 785 785 To configure Windows NT/200x Server as a WINS server, install and configure the WINS service. See the Windows 786 786 NT/200x documentation for details. Windows NT/200x WINS servers can replicate to each other, allowing more … … 790 790 as a WINS server. Currently only one Samba server should have the <a class="link" href="smb.conf.5.html#WINSSUPPORT" target="_top">wins support = yes</a> parameter set. 791 791 </p><p> 792 <a class="indexterm" name="id25 84036"></a>793 <a class="indexterm" name="id25 84042"></a>792 <a class="indexterm" name="id2590102"></a> 793 <a class="indexterm" name="id2590108"></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="id2584086"></a><em class="parameter"><code>wins server = <name or IP address></code></em></td></tr></table><p>799 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2590153"></a><em class="parameter"><code>wins server = <name or IP address></code></em></td></tr></table><p> 800 800 where <name or IP address> is either the DNS name of the WINS server 801 801 machine or its IP address. … … 807 807 <code class="literal">nmbd</code> will fail to start. 808 808 </p><p> 809 <a class="indexterm" name="id25 84147"></a>810 <a class="indexterm" name="id25 84154"></a>811 <a class="indexterm" name="id25 84161"></a>812 <a class="indexterm" name="id25 84168"></a>809 <a class="indexterm" name="id2590214"></a> 810 <a class="indexterm" name="id2590221"></a> 811 <a class="indexterm" name="id2590228"></a> 812 <a class="indexterm" name="id2590234"></a> 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="id2584183"></a>WINS Replication</h3></div></div></div><p>819 <a class="indexterm" name="id25 84191"></a>820 <a class="indexterm" name="id25 84200"></a>818 </p></div><div class="sect2" title="WINS Replication"><div class="titlepage"><div><div><h3 class="title"><a name="id2590249"></a>WINS Replication</h3></div></div></div><p> 819 <a class="indexterm" name="id2590257"></a> 820 <a class="indexterm" name="id2590266"></a> 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="id2584236"></a>Static WINS Entries</h3></div></div></div><p>829 <a class="indexterm" name="id25 84244"></a>830 <a class="indexterm" name="id25 84251"></a>831 <a class="indexterm" name="id25 84258"></a>832 <a class="indexterm" name="id25 84265"></a>828 </p></div><div class="sect2" title="Static WINS Entries"><div class="titlepage"><div><div><h3 class="title"><a name="id2590302"></a>Static WINS Entries</h3></div></div></div><p> 829 <a class="indexterm" name="id2590310"></a> 830 <a class="indexterm" name="id2590317"></a> 831 <a class="indexterm" name="id2590324"></a> 832 <a class="indexterm" name="id2590331"></a> 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 84310"></a>841 <a class="indexterm" name="id25 84317"></a>840 <a class="indexterm" name="id2590377"></a> 841 <a class="indexterm" name="id2590384"></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 844 844 for the registration. 845 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>845 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 846 846 A change that has been made to the <code class="filename">wins.dat</code> will not take effect until <span class="application">nmbd</span> has been 847 847 restarted. It should be noted that since the <code class="filename">wins.dat</code> file changes dynamically, <span class="application">nmbd</span> … … 857 857 </pre><p> 858 858 </p><p> 859 <a class="indexterm" name="id25 84390"></a>860 <a class="indexterm" name="id25 84397"></a>861 <a class="indexterm" name="id25 84404"></a>862 <a class="indexterm" name="id25 84410"></a>863 <a class="indexterm" name="id25 84417"></a>864 <a class="indexterm" name="id25 84424"></a>865 <a class="indexterm" name="id25 84431"></a>859 <a class="indexterm" name="id2590456"></a> 860 <a class="indexterm" name="id2590463"></a> 861 <a class="indexterm" name="id2590470"></a> 862 <a class="indexterm" name="id2590477"></a> 863 <a class="indexterm" name="id2590484"></a> 864 <a class="indexterm" name="id2590490"></a> 865 <a class="indexterm" name="id2590497"></a> 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 84455"></a>872 <a class="indexterm" name="id2590521"></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="id2584468"></a>Helpful Hints</h2></div></div></div><p>875 </p></div></div><div class="sect1" title="Helpful Hints"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2590534"></a>Helpful Hints</h2></div></div></div><p> 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="id2584479"></a>Windows Networking Protocols</h3></div></div></div><p>879 <a class="indexterm" name="id25 84487"></a>880 <a class="indexterm" name="id25 84494"></a>878 </p><div class="sect2" title="Windows Networking Protocols"><div class="titlepage"><div><div><h3 class="title"><a name="id2590545"></a>Windows Networking Protocols</h3></div></div></div><p> 879 <a class="indexterm" name="id2590553"></a> 880 <a class="indexterm" name="id2590560"></a> 881 881 A common cause of browsing problems results from the installation of more than one protocol on an MS Windows 882 882 machine. 883 </p><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>883 </p><div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p> 884 884 Do not use more than one protocol on MS Windows clients. 885 885 </p></div><p> 886 <a class="indexterm" name="id25 84512"></a>887 <a class="indexterm" name="id25 84518"></a>886 <a class="indexterm" name="id2590578"></a> 887 <a class="indexterm" name="id2590584"></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 84534"></a>895 <a class="indexterm" name="id25 84541"></a>896 <a class="indexterm" name="id25 84547"></a>897 <a class="indexterm" name="id25 84554"></a>898 <a class="indexterm" name="id25 84561"></a>899 <a class="indexterm" name="id25 84568"></a>894 <a class="indexterm" name="id2590600"></a> 895 <a class="indexterm" name="id2590607"></a> 896 <a class="indexterm" name="id2590614"></a> 897 <a class="indexterm" name="id2590621"></a> 898 <a class="indexterm" name="id2590627"></a> 899 <a class="indexterm" name="id2590634"></a> 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 84592"></a>908 <a class="indexterm" name="id25 84599"></a>907 <a class="indexterm" name="id2590658"></a> 908 <a class="indexterm" name="id2590665"></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="id2584620"></a>Name Resolution Order</h3></div></div></div><p>917 <a class="indexterm" name="id25 84628"></a>918 <a class="indexterm" name="id25 84635"></a>916 </p></div><div class="sect2" title="Name Resolution Order"><div class="titlepage"><div><div><h3 class="title"><a name="id2590686"></a>Name Resolution Order</h3></div></div></div><p> 917 <a class="indexterm" name="id2590694"></a> 918 <a class="indexterm" name="id2590701"></a> 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 921 921 are: 922 </p><div class="itemizedlist"><ul type="disc"><li><p>WINS the best tool.</p></li><li><p>LMHOSTS static and hard to maintain.</p></li><li><p>Broadcast uses UDP and cannot resolve names across remote segments.</p></li></ul></div><p>922 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>WINS the best tool.</p></li><li class="listitem"><p>LMHOSTS static and hard to maintain.</p></li><li class="listitem"><p>Broadcast uses UDP and cannot resolve names across remote segments.</p></li></ul></div><p> 923 923 Alternative means of name resolution include: 924 </p><div class="itemizedlist"><ul type="disc"><li><p>Static <code class="filename">/etc/hosts</code> hard to maintain and lacks name_type info.</p></li><li><p>DNS is a good choice but lacks essential NetBIOS name_type information.</p></li></ul></div><p>925 <a class="indexterm" name="id25 84704"></a>926 <a class="indexterm" name="id25 84710"></a>924 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Static <code class="filename">/etc/hosts</code> hard to maintain and lacks name_type info.</p></li><li class="listitem"><p>DNS is a good choice but lacks essential NetBIOS name_type information.</p></li></ul></div><p> 925 <a class="indexterm" name="id2590770"></a> 926 <a class="indexterm" name="id2590776"></a> 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="id2584737"></a><em class="parameter"><code>name resolve order = wins lmhosts bcast host</code></em></td></tr></table><p>930 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2590804"></a><em class="parameter"><code>name resolve order = wins lmhosts bcast host</code></em></td></tr></table><p> 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="id2584758"></a><em class="parameter"><code>name resolve order = wins lmhosts (eliminates bcast and host)</code></em></td></tr></table><p>932 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2590825"></a><em class="parameter"><code>name resolve order = wins lmhosts (eliminates bcast and host)</code></em></td></tr></table><p> 933 933 The default is: 934 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2584777"></a><em class="parameter"><code>name resolve order = host lmhost wins bcast</code></em></td></tr></table><p>935 <a class="indexterm" name="id25 84789"></a>936 where “<span class="quote">host</span>”refers to the native methods used by the UNIX system to implement the934 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2590843"></a><em class="parameter"><code>name resolve order = host lmhost wins bcast</code></em></td></tr></table><p> 935 <a class="indexterm" name="id2590855"></a> 936 where <span class="quote">“<span class="quote">host</span>”</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="id2584823"></a>Technical Overview of Browsing</h2></div></div></div><p>940 <a class="indexterm" name="id25 84831"></a>939 </p></div></div><div class="sect1" title="Technical Overview of Browsing"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2590890"></a>Technical Overview of Browsing</h2></div></div></div><p> 940 <a class="indexterm" name="id2590898"></a> 941 941 SMB networking provides a mechanism by which clients can access a list 942 942 of machines in a network called <a class="link" href="smb.conf.5.html#BROWSELIST" target="_top">browse list</a>. This list … … 948 948 document. 949 949 </p><p> 950 <a class="indexterm" name="id25 84861"></a>951 <a class="indexterm" name="id25 84867"></a>952 <a class="indexterm" name="id25 84874"></a>950 <a class="indexterm" name="id2590927"></a> 951 <a class="indexterm" name="id2590934"></a> 952 <a class="indexterm" name="id2590941"></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 84890"></a>960 <a class="indexterm" name="id25 84897"></a>959 <a class="indexterm" name="id2590957"></a> 960 <a class="indexterm" name="id2590964"></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="id2584910"></a>Browsing Support in Samba</h3></div></div></div><p>966 <a class="indexterm" name="id25 84918"></a>967 <a class="indexterm" name="id25 84925"></a>968 <a class="indexterm" name="id25 84931"></a>969 <a class="indexterm" name="id25 84938"></a>965 </p><div class="sect2" title="Browsing Support in Samba"><div class="titlepage"><div><div><h3 class="title"><a name="id2590976"></a>Browsing Support in Samba</h3></div></div></div><p> 966 <a class="indexterm" name="id2590984"></a> 967 <a class="indexterm" name="id2590991"></a> 968 <a class="indexterm" name="id2590998"></a> 969 <a class="indexterm" name="id2591005"></a> 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 84963"></a>976 <a class="indexterm" name="id25 84970"></a>977 <a class="indexterm" name="id25 84976"></a>975 <a class="indexterm" name="id2591029"></a> 976 <a class="indexterm" name="id2591036"></a> 977 <a class="indexterm" name="id2591043"></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 84991"></a>984 <a class="indexterm" name="id2591058"></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 987 987 DMB per workgroup, regardless of whether it is NT, Samba, 988 988 or any other type of domain master that is providing this service. 989 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>990 <a class="indexterm" name="id25 85007"></a>991 <a class="indexterm" name="id25 85014"></a>989 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 990 <a class="indexterm" name="id2591074"></a> 991 <a class="indexterm" name="id2591080"></a> 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 85037"></a>1000 <a class="indexterm" name="id2591103"></a> 1001 1001 To get browsing to work, you need to run <code class="literal">nmbd</code> as usual, but must 1002 1002 use the <a class="link" href="smb.conf.5.html#WORKGROUP" 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 85073"></a>1005 <a class="indexterm" name="id2591139"></a> 1006 1006 Samba also has a useful option for a Samba server to offer itself for browsing on another subnet. It is 1007 recommended that this option is used only for “<span class="quote">unusual</span>”purposes: announcements over the1007 recommended that this option is used only for <span class="quote">“<span class="quote">unusual</span>”</span> purposes: announcements over the 1008 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="id2585107"></a>Problem Resolution</h3></div></div></div><p>1010 <a class="indexterm" name="id25 85115"></a>1011 <a class="indexterm" name="id25 85121"></a>1009 </p></div><div class="sect2" title="Problem Resolution"><div class="titlepage"><div><div><h3 class="title"><a name="id2591173"></a>Problem Resolution</h3></div></div></div><p> 1010 <a class="indexterm" name="id2591181"></a> 1011 <a class="indexterm" name="id2591188"></a> 1012 1012 If something does not work, the <code class="filename">log.nmbd</code> file will help 1013 1013 to track down the problem. Try a <a class="link" href="smb.conf.5.html#LOGLEVEL" target="_top">log level</a> of 2 or 3 for finding … … 1015 1015 in text form in a file called <code class="filename">browse.dat</code>. 1016 1016 </p><p> 1017 <a class="indexterm" name="id25 85157"></a>1018 <a class="indexterm" name="id25 85164"></a>1017 <a class="indexterm" name="id2591224"></a> 1018 <a class="indexterm" name="id2591230"></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 85194"></a>1024 <a class="indexterm" name="id25 85201"></a>1023 <a class="indexterm" name="id2591261"></a> 1024 <a class="indexterm" name="id2591268"></a> 1025 1025 Some people find browsing fails because they do not have the global 1026 1026 <a class="link" href="smb.conf.5.html#GUESTACCOUNT" 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 </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 85228"></a>1030 <a class="indexterm" name="id25 85235"></a>1031 <a class="indexterm" name="id25 85242"></a>1032 <a class="indexterm" name="id25 85249"></a>1033 <a class="indexterm" name="id25 85256"></a>1028 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 1029 <a class="indexterm" name="id2591295"></a> 1030 <a class="indexterm" name="id2591301"></a> 1031 <a class="indexterm" name="id2591308"></a> 1032 <a class="indexterm" name="id2591315"></a> 1033 <a class="indexterm" name="id2591322"></a> 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 85292"></a>1042 <a class="indexterm" name="id25 85299"></a>1043 <a class="indexterm" name="id25 85306"></a>1044 <a class="indexterm" name="id25 85313"></a>1041 <a class="indexterm" name="id2591358"></a> 1042 <a class="indexterm" name="id2591365"></a> 1043 <a class="indexterm" name="id2591372"></a> 1044 <a class="indexterm" name="id2591379"></a> 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 85330"></a>1052 <a class="indexterm" name="id2591396"></a> 1053 1053 The other big problem people have is that their broadcast address, 1054 1054 netmask, or IP address is wrong (specified with the <a class="link" href="smb.conf.5.html#INTERFACES" 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="id2585358"></a>Cross-Subnet Browsing</h3></div></div></div><p>1057 <a class="indexterm" name="id25 85366"></a>1058 <a class="indexterm" name="id25 85375"></a>1056 </p></div><div class="sect2" title="Cross-Subnet Browsing"><div class="titlepage"><div><div><h3 class="title"><a name="id2591424"></a>Cross-Subnet Browsing</h3></div></div></div><p> 1057 <a class="indexterm" name="id2591432"></a> 1058 <a class="indexterm" name="id2591442"></a> 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 85389"></a>1063 <a class="indexterm" name="id25 85396"></a>1064 <a class="indexterm" name="id25 85403"></a>1065 <a class="indexterm" name="id25 85409"></a>1066 <a class="indexterm" name="id25 85416"></a>1067 <a class="indexterm" name="id25 85423"></a>1062 <a class="indexterm" name="id2591455"></a> 1063 <a class="indexterm" name="id2591462"></a> 1064 <a class="indexterm" name="id2591469"></a> 1065 <a class="indexterm" name="id2591476"></a> 1066 <a class="indexterm" name="id2591483"></a> 1067 <a class="indexterm" name="id2591490"></a> 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 85460"></a>1080 <a class="indexterm" name="id25 85467"></a>1081 <a class="indexterm" name="id25 85474"></a>1082 <a class="indexterm" name="id25 85481"></a>1079 <a class="indexterm" name="id2591527"></a> 1080 <a class="indexterm" name="id2591533"></a> 1081 <a class="indexterm" name="id2591540"></a> 1082 <a class="indexterm" name="id2591547"></a> 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 85503"></a>1089 <a class="indexterm" name="id25 85510"></a>1090 <a class="indexterm" name="id25 85516"></a>1088 <a class="indexterm" name="id2591569"></a> 1089 <a class="indexterm" name="id2591576"></a> 1090 <a class="indexterm" name="id2591583"></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="id2585529"></a>Behavior of Cross-Subnet Browsing</h4></div></div></div><p>1095 <a class="indexterm" name="id25 85537"></a>1096 <a class="indexterm" name="id25 85544"></a>1094 </p><div class="sect3" title="Behavior of Cross-Subnet Browsing"><div class="titlepage"><div><div><h4 class="title"><a name="id2591595"></a>Behavior of Cross-Subnet Browsing</h4></div></div></div><p> 1095 <a class="indexterm" name="id2591604"></a> 1096 <a class="indexterm" name="id2591611"></a> 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 85612"></a>1104 <a class="indexterm" name="id25 85618"></a>1105 <a class="indexterm" name="id25 85625"></a>1103 <a class="indexterm" name="id2591678"></a> 1104 <a class="indexterm" name="id2591685"></a> 1105 <a class="indexterm" name="id2591691"></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 85644"></a>1114 <a class="indexterm" name="id25 85651"></a>1115 <a class="indexterm" name="id25 85658"></a>1113 <a class="indexterm" name="id2591711"></a> 1114 <a class="indexterm" name="id2591718"></a> 1115 <a class="indexterm" name="id2591724"></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 85673"></a>1124 <a class="indexterm" name="id25 85680"></a>1123 <a class="indexterm" name="id2591740"></a> 1124 <a class="indexterm" name="id2591746"></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 85697"></a>1132 <a class="indexterm" name="id25 85704"></a>1133 <a class="indexterm" name="id25 85711"></a>1134 <a class="indexterm" name="id25 85718"></a>1135 <a class="indexterm" name="id25 85724"></a>1131 <a class="indexterm" name="id2591764"></a> 1132 <a class="indexterm" name="id2591770"></a> 1133 <a class="indexterm" name="id2591777"></a> 1134 <a class="indexterm" name="id2591784"></a> 1135 <a class="indexterm" name="id2591791"></a> 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 85756"></a>1146 <a class="indexterm" name="id2591822"></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 85850"></a>1156 <a class="indexterm" name="id25 85857"></a>1157 <a class="indexterm" name="id25 85863"></a>1158 <a class="indexterm" name="id25 85870"></a>1155 <a class="indexterm" name="id2591916"></a> 1156 <a class="indexterm" name="id2591923"></a> 1157 <a class="indexterm" name="id2591930"></a> 1158 <a class="indexterm" name="id2591936"></a> 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 85896"></a>1165 <a class="indexterm" name="id25 85902"></a>1166 <a class="indexterm" name="id25 85909"></a>1167 <a class="indexterm" name="id25 85916"></a>1164 <a class="indexterm" name="id2591962"></a> 1165 <a class="indexterm" name="id2591969"></a> 1166 <a class="indexterm" name="id2591976"></a> 1167 <a class="indexterm" name="id2591983"></a> 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 86031"></a>1180 <a class="indexterm" name="id2592097"></a> 1181 1181 Servers with an (*) after them are non-authoritative names. 1182 1182 </p><p> 1183 <a class="indexterm" name="id25 86042"></a>1183 <a class="indexterm" name="id2592108"></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 86056"></a>1187 <a class="indexterm" name="id2592122"></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 86172"></a>1202 <a class="indexterm" name="id25 86179"></a>1203 <a class="indexterm" name="id25 86185"></a>1201 <a class="indexterm" name="id2592239"></a> 1202 <a class="indexterm" name="id2592245"></a> 1203 <a class="indexterm" name="id2592252"></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 … … 1221 1221 </p><p> 1222 1222 If either router R1 or R2 fails, the following will occur: 1223 </p><div class="orderedlist"><ol type="1"><li><p>1224 <a class="indexterm" name="id25 86315"></a>1223 </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p> 1224 <a class="indexterm" name="id2592382"></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 1227 1227 lists. 1228 </p></li><li ><p>1228 </p></li><li class="listitem"><p> 1229 1229 Attempts to connect to these inaccessible computers will fail, but the 1230 1230 names will not be removed from the Network Neighborhood lists. 1231 </p></li><li ><p>1232 <a class="indexterm" name="id25 86340"></a>1233 <a class="indexterm" name="id25 86347"></a>1234 <a class="indexterm" name="id25 86354"></a>1231 </p></li><li class="listitem"><p> 1232 <a class="indexterm" name="id2592406"></a> 1233 <a class="indexterm" name="id2592413"></a> 1234 <a class="indexterm" name="id2592420"></a> 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="id2586371"></a>Common Errors</h2></div></div></div><p>1240 <a class="indexterm" name="id25 86379"></a>1241 <a class="indexterm" name="id25 86386"></a>1239 </p></li></ol></div></div></div></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2592438"></a>Common Errors</h2></div></div></div><p> 1240 <a class="indexterm" name="id2592446"></a> 1241 <a class="indexterm" name="id2592452"></a> 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="id2586398"></a>Flushing the Samba NetBIOS Name Cache</h3></div></div></div><p>1245 </p><div class="sect2" title="Flushing the Samba NetBIOS Name Cache"><div class="titlepage"><div><div><h3 class="title"><a name="id2592464"></a>Flushing the Samba NetBIOS Name Cache</h3></div></div></div><p> 1246 1246 How Can One Flush the Samba NetBIOS Name Cache without Restarting Samba? 1247 1247 </p><p> 1248 <a class="indexterm" name="id25 86410"></a>1249 <a class="indexterm" name="id25 86417"></a>1250 <a class="indexterm" name="id25 86424"></a>1251 <a class="indexterm" name="id25 86431"></a>1248 <a class="indexterm" name="id2592477"></a> 1249 <a class="indexterm" name="id2592484"></a> 1250 <a class="indexterm" name="id2592490"></a> 1251 <a class="indexterm" name="id2592497"></a> 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="id2586471"></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" title="Server Resources Cannot Be Listed"><div class="titlepage"><div><div><h3 class="title"><a name="id2592537"></a>Server Resources Cannot Be Listed</h3></div></div></div><p><span class="quote">“<span class="quote">My Client Reports "<span class="quote">‘<span class="quote">This server is not configured to list shared resources."</span>’</span></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" target="_top">guest account</a> in the <code class="filename">smb.conf</code> man page.</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2586519"></a>I Get an "<span class="errorname">Unable to browse the network</span>" Error</h3></div></div></div><p>This error can have multiple causes:1266 <a class="indexterm" name="id25 86531"></a>1267 </p><div class="itemizedlist"><ul type="disc"><li><p>There is no LMB. Configure <span class="application">nmbd</span>1268 or any other machine to serve as LMB.</p></li><li ><p>You cannot log onto the machine that is the LMB.1269 Can you log on to it as a guest user? </p></li><li ><p>There is no IP connectivity to the LMB.1270 Can you reach it by broadcast?</p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2586566"></a>Browsing of Shares and Directories is Very Slow</h3></div></div></div><p>“<span class="quote">1271 <a class="indexterm" name="id25 86575"></a>1265 </p><p>Also see <a class="link" href="smb.conf.5.html#GUESTACCOUNT" target="_top">guest account</a> in the <code class="filename">smb.conf</code> man page.</p></div><div class="sect2" title='I Get an "Unable to browse the network" Error'><div class="titlepage"><div><div><h3 class="title"><a name="id2592585"></a>I Get an "<span class="errorname">Unable to browse the network</span>" Error</h3></div></div></div><p>This error can have multiple causes: 1266 <a class="indexterm" name="id2592597"></a> 1267 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>There is no LMB. Configure <span class="application">nmbd</span> 1268 or any other machine to serve as LMB.</p></li><li class="listitem"><p>You cannot log onto the machine that is the LMB. 1269 Can you log on to it as a guest user? </p></li><li class="listitem"><p>There is no IP connectivity to the LMB. 1270 Can you reach it by broadcast?</p></li></ul></div></div><div class="sect2" title="Browsing of Shares and Directories is Very Slow"><div class="titlepage"><div><div><h3 class="title"><a name="id2592632"></a>Browsing of Shares and Directories is Very Slow</h3></div></div></div><p><span class="quote">“<span class="quote"> 1271 <a class="indexterm" name="id2592642"></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 1274 1274 Windows XP client becomes unresponsive. Sometimes it does not respond for some minutes. Eventually, 1275 1275 Windows Explorer will respond and displays files and directories without problem. 1276 </span>” 1277 </p><p> “<span class="quote">1278 <a class="indexterm" name="id25 86594"></a>1276 </span>”</span> 1277 </p><p><span class="quote">“<span class="quote"> 1278 <a class="indexterm" name="id2592660"></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? 1281 </span>”</ p><p>1281 </span>”</span></p><p> 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 86626"></a>1285 <a class="indexterm" name="id25 86632"></a>1286 <a class="indexterm" name="id25 86639"></a>1287 <a class="indexterm" name="id25 86646"></a>1288 <a class="indexterm" name="id25 86653"></a>1284 <a class="indexterm" name="id2592692"></a> 1285 <a class="indexterm" name="id2592699"></a> 1286 <a class="indexterm" name="id2592706"></a> 1287 <a class="indexterm" name="id2592713"></a> 1288 <a class="indexterm" name="id2592720"></a> 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 86678"></a>1295 <a class="indexterm" name="id2592744"></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 86704"></a>1301 <a class="indexterm" name="id25 86710"></a>1300 <a class="indexterm" name="id2592770"></a> 1301 <a class="indexterm" name="id2592777"></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 86737"></a>1310 <a class="indexterm" name="id25 86744"></a>1309 <a class="indexterm" name="id2592804"></a> 1310 <a class="indexterm" name="id2592810"></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="id2586766"></a>Invalid Cached Share References Affects Network Browsing</h3></div></div></div><p>1315 <a class="indexterm" name="id25 86774"></a>1316 <a class="indexterm" name="id25 86781"></a>1314 </p></dd></dl></div></div><div class="sect2" title="Invalid Cached Share References Affects Network Browsing"><div class="titlepage"><div><div><h3 class="title"><a name="id2592832"></a>Invalid Cached Share References Affects Network Browsing</h3></div></div></div><p> 1315 <a class="indexterm" name="id2592840"></a> 1316 <a class="indexterm" name="id2592847"></a> 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 … … 1327 1327 and earlier). Remove all keys named <code class="literal">\\server\share</code> (where 'server' and 'share' refer to a 1328 1328 non-existent server or share). 1329 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>1329 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 1330 1330 Removal of stale network links needs to be done on a per-user basis. Alternately, you can delete the 1331 1331 shortcuts from the MS Windows Explorer in <code class="literal">My Network Places</code> just by right-clicking them and 1332 1332 selecting <span class="emphasis"><em>Delete.</em></span> 1333 1333 </p></div><p> 1334 <a class="indexterm" name="id25 86854"></a>1334 <a class="indexterm" name="id2592920"></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.3.x/docs/htmldocs/Samba3-HOWTO/Other-Clients.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 44. Samba and Other CIFS Clients</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="Appendix.html" title="Part VI. Reference Section"><link rel="prev" href="Portability.html" title="Chapter 43. Portability"><link rel="next" href="speed.html" title="Chapter 45. Samba Performance Tuning"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 44. Samba and Other CIFS Clients</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="Portability.html">Prev</a> </td><th width="60%" align="center">Part VI. Reference Section</th><td width="20%" align="right"> <a accesskey="n" href="speed.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="Other-Clients"></a>Chapter 44. Samba and Other CIFS Clients</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<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#id2689706">Macintosh Clients</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2689790">OS2 Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2689796">Configuring OS/2 Warp Connect or OS/2 Warp 4</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2689915">Configuring Other Versions of OS/2</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2689972">Printer Driver Download for OS/2 Clients</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2690065">Windows for Workgroups</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2690071">Latest TCP/IP Stack from Microsoft</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2690154">Delete .pwl Files After Password Change</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2690180">Configuring Windows for Workgroups Password Handling</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2690238">Password Case Sensitivity</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2690270">Use TCP/IP as Default Protocol</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#speedimpr">Speed Improvement</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2690327">Windows 95/98</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2690396">Speed Improvement</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2690417">Windows 2000 Service Pack 2</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2690613">Windows NT 3.1</a></span></dt></dl></div><p>This chapter contains client-specific information.</p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2689706"></a>Macintosh Clients</h2></div></div></div><p>2 <a class="indexterm" name="id26 89714"></a>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 44. Samba and Other CIFS Clients</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="Appendix.html" title="Part VI. Reference Section"><link rel="prev" href="Portability.html" title="Chapter 43. Portability"><link rel="next" href="speed.html" title="Chapter 45. Samba Performance Tuning"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 44. Samba and Other CIFS Clients</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="Portability.html">Prev</a> </td><th width="60%" align="center">Part VI. Reference Section</th><td width="20%" align="right"> <a accesskey="n" href="speed.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 44. Samba and Other CIFS Clients"><div class="titlepage"><div><div><h2 class="title"><a name="Other-Clients"></a>Chapter 44. Samba and Other CIFS Clients</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<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#id2695763">Macintosh Clients</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2695847">OS2 Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2695852">Configuring OS/2 Warp Connect or OS/2 Warp 4</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2695972">Configuring Other Versions of OS/2</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2696028">Printer Driver Download for OS/2 Clients</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2696122">Windows for Workgroups</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2696128">Latest TCP/IP Stack from Microsoft</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2696211">Delete .pwl Files After Password Change</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2696237">Configuring Windows for Workgroups Password Handling</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2696295">Password Case Sensitivity</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2696326">Use TCP/IP as Default Protocol</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#speedimpr">Speed Improvement</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2696384">Windows 95/98</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2696453">Speed Improvement</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2696474">Windows 2000 Service Pack 2</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2696670">Windows NT 3.1</a></span></dt></dl></div><p>This chapter contains client-specific information.</p><div class="sect1" title="Macintosh Clients"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2695763"></a>Macintosh Clients</h2></div></div></div><p> 2 <a class="indexterm" name="id2695770"></a> 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="id26 89741"></a>8 <a class="indexterm" name="id26 89748"></a>7 <a class="indexterm" name="id2695798"></a> 8 <a class="indexterm" name="id2695804"></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="id2689790"></a>OS2 Client</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2689796"></a>Configuring OS/2 Warp Connect or OS/2 Warp 4</h3></div></div></div><p>Basically, you need three components:</p><div class="itemizedlist"><ul type="disc"><li><p>The File and Print Client (IBM peer)</p></li><li><p>TCP/IP (Internet support) </p></li><li><p>The “<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" title="OS2 Client"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2695847"></a>OS2 Client</h2></div></div></div><div class="sect2" title="Configuring OS/2 Warp Connect or OS/2 Warp 4"><div class="titlepage"><div><div><h3 class="title"><a name="id2695852"></a>Configuring OS/2 Warp Connect or OS/2 Warp 4</h3></div></div></div><p>Basically, you need three components:</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>The File and Print Client (IBM peer)</p></li><li class="listitem"><p>TCP/IP (Internet support) </p></li><li class="listitem"><p>The <span class="quote">“<span class="quote">NetBIOS over TCP/IP</span>”</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 17 networking support, use the “<span class="quote">Selective Install for Networking</span>”18 object in the “<span class="quote">System Setup</span>” folder.</p><p>Adding the “<span class="quote">NetBIOS over TCP/IP</span>”driver is not described17 networking support, use the <span class="quote">“<span class="quote">Selective Install for Networking</span>”</span> 18 object in the <span class="quote">“<span class="quote">System Setup</span>”</span> folder.</p><p>Adding the <span class="quote">“<span class="quote">NetBIOS over TCP/IP</span>”</span> driver is not described 19 19 in the manual and just barely in the online documentation. Start 20 20 <code class="literal">MPTS.EXE</code>, click on <span class="guiicon">OK</span>, click on <span class="guimenu">Configure LAPS</span>, and click … … 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="id2689915"></a>Configuring Other Versions of OS/2</h3></div></div></div><p>This sections deals with configuring OS/2 Warp 3 (not Connect), OS/2 1.2, 1.3 or 2.x.</p><p>You can use the free Microsoft LAN Manager 2.2c Client for OS/2 that is29 the same level as Warp 4. See the IBM OS/2 Warp Web page</p></div><div class="sect2" title="Configuring Other Versions of OS/2"><div class="titlepage"><div><div><h3 class="title"><a name="id2695972"></a>Configuring Other Versions of OS/2</h3></div></div></div><p>This sections deals with configuring OS/2 Warp 3 (not Connect), OS/2 1.2, 1.3 or 2.x.</p><p>You can use the free Microsoft LAN Manager 2.2c Client for OS/2 that is 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="id2689972"></a>Printer Driver Download for OS/2 Clients</h3></div></div></div><p>Create a share called <em class="parameter"><code>[PRINTDRV]</code></em> that is40 </p></div><div class="sect2" title="Printer Driver Download for OS/2 Clients"><div class="titlepage"><div><div><h3 class="title"><a name="id2696028"></a>Printer Driver Download for OS/2 Clients</h3></div></div></div><p>Create a share called <em class="parameter"><code>[PRINTDRV]</code></em> that is 41 41 world-readable. Copy your OS/2 driver files there. The <code class="filename">.EA_</code> 42 42 files must still be separate, so you will need to use the original install files … … 51 51 will work. This is fixed simply by adding the device name 52 52 to the mapping, after which it will work on the first attempt. 53 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2690065"></a>Windows for Workgroups</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2690071"></a>Latest TCP/IP Stack from Microsoft</h3></div></div></div><p>Use the latest TCP/IP stack from Microsoft if you use Windows53 </p></div></div><div class="sect1" title="Windows for Workgroups"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2696122"></a>Windows for Workgroups</h2></div></div></div><div class="sect2" title="Latest TCP/IP Stack from Microsoft"><div class="titlepage"><div><div><h3 class="title"><a name="id2696128"></a>Latest TCP/IP Stack from Microsoft</h3></div></div></div><p>Use the latest TCP/IP stack from Microsoft if you use Windows 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="id2690154"></a>Delete .pwl Files After Password Change</h3></div></div></div><p>63 </p></div><div class="sect2" title="Delete .pwl Files After Password Change"><div class="titlepage"><div><div><h3 class="title"><a name="id2696211"></a>Delete .pwl Files After Password Change</h3></div></div></div><p> 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="id2690180"></a>Configuring Windows for Workgroups Password Handling</h3></div></div></div><p>74 <a class="indexterm" name="id269 0189"></a>73 </p></div><div class="sect2" title="Configuring Windows for Workgroups Password Handling"><div class="titlepage"><div><div><h3 class="title"><a name="id2696237"></a>Configuring Windows for Workgroups Password Handling</h3></div></div></div><p> 74 <a class="indexterm" name="id2696245"></a> 75 75 There is a program call <code class="filename">admincfg.exe</code> on the last disk (disk 8) of the WFW 3.11 disk set. 76 76 To install it, type <strong class="userinput"><code>EXPAND A:\ADMINCFG.EX_ C:\WINDOWS\ADMINCFG.EXE</code></strong>. Then add an icon 77 77 for it via the <span class="application">Program Manager</span> <span class="guimenu">New</span> menu. This program allows 78 78 you to control how WFW handles passwords, Disable Password Caching and so on, for use with <a class="link" href="smb.conf.5.html#SECURITY" target="_top">security = user</a>. 79 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2690238"></a>Password Case Sensitivity</h3></div></div></div><p>Windows for Workgroups uppercases the password before sending it to the server.79 </p></div><div class="sect2" title="Password Case Sensitivity"><div class="titlepage"><div><div><h3 class="title"><a name="id2696295"></a>Password Case Sensitivity</h3></div></div></div><p>Windows for Workgroups uppercases the password before sending it to the server. 80 80 UNIX passwords can be case-sensitive though. Check the <code class="filename">smb.conf</code> information on 81 81 <a class="link" href="smb.conf.5.html#PASSWORDLEVEL" target="_top">password level</a> to specify what characters 82 Samba should try to uppercase when checking.</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2690270"></a>Use TCP/IP as Default Protocol</h3></div></div></div><p>To support print queue reporting, you may find82 Samba should try to uppercase when checking.</p></div><div class="sect2" title="Use TCP/IP as Default Protocol"><div class="titlepage"><div><div><h3 class="title"><a name="id2696326"></a>Use TCP/IP as Default Protocol</h3></div></div></div><p>To support print queue reporting, you may find 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, 85 85 it may break the print queue reporting on some systems. 86 It is presumably a Windows for Workgroups bug.</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="speedimpr"></a>Speed Improvement</h3></div></div></div><p>86 It is presumably a Windows for Workgroups bug.</p></div><div class="sect2" title="Speed Improvement"><div class="titlepage"><div><div><h3 class="title"><a name="speedimpr"></a>Speed Improvement</h3></div></div></div><p> 87 87 Note that some people have found that setting <em class="parameter"><code>DefaultRcvWindow</code></em> in 88 88 the <em class="parameter"><code>[MSTCP]</code></em> section of the … … 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="id2690327"></a>Windows 95/98</h2></div></div></div><p>97 </p></div></div><div class="sect1" title="Windows 95/98"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2696384"></a>Windows 95/98</h2></div></div></div><p> 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 … … 104 104 Microsoft Web site for all currently available updates to your specific version 105 105 of Windows 95. 106 </p><table class="simplelist" border="0" summary="Simplelist"><tr><td>Kernel Update: KRNLUPD.EXE</td></tr><tr><td>Ping Fix: PINGUPD.EXE</td></tr><tr><td>RPC Update: RPCRTUPD.EXE</td></tr><tr><td>TCP/IP Update: VIPUPD.EXE</td></tr><tr><td>Redirector Update: VRDRUPD.EXE</td></tr></table><p>106 </p><table border="0" summary="Simple list" class="simplelist"><tr><td>Kernel Update: KRNLUPD.EXE</td></tr><tr><td>Ping Fix: PINGUPD.EXE</td></tr><tr><td>RPC Update: RPCRTUPD.EXE</td></tr><tr><td>TCP/IP Update: VIPUPD.EXE</td></tr><tr><td>Redirector Update: VRDRUPD.EXE</td></tr></table><p> 107 107 Also, if using <span class="application">MS Outlook,</span> it is desirable to 108 108 install the <code class="literal">OLEUPD.EXE</code> fix. This … … 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="id2690396"></a>Speed Improvement</h3></div></div></div><p>112 </p><div class="sect2" title="Speed Improvement"><div class="titlepage"><div><div><h3 class="title"><a name="id2696453"></a>Speed Improvement</h3></div></div></div><p> 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="id2690417"></a>Windows 2000 Service Pack 2</h2></div></div></div><p>116 </p></div></div><div class="sect1" title="Windows 2000 Service Pack 2"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2696474"></a>Windows 2000 Service Pack 2</h2></div></div></div><p> 117 117 There are several annoyances with Windows 2000 SP2, one of which 118 118 only appears when using a Samba server to host user profiles … … 134 134 </p><p> 135 135 <a class="link" href="Other-Clients.html#minimalprofile" title="Example 44.1. Minimal Profile Share">Following example</a> provides a minimal profile share. 136 </p><div class="example"><a name="minimalprofile"></a><p class="title"><b>Example 44.1. Minimal Profile Share</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[profile]</code></em></td></tr><tr><td><a class="indexterm" name="id2690508"></a><em class="parameter"><code>path = /export/profile</code></em></td></tr><tr><td><a class="indexterm" name="id2690520"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2690531"></a><em class="parameter"><code>directory mask = 0700</code></em></td></tr><tr><td><a class="indexterm" name="id2690543"></a><em class="parameter"><code>nt acl support = no</code></em></td></tr><tr><td><a class="indexterm" name="id2690555"></a><em class="parameter"><code>read only = no</code></em></td></tr></table></div></div><br class="example-break"><p>136 </p><div class="example"><a name="minimalprofile"></a><p class="title"><b>Example 44.1. Minimal Profile Share</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[profile]</code></em></td></tr><tr><td><a class="indexterm" name="id2696565"></a><em class="parameter"><code>path = /export/profile</code></em></td></tr><tr><td><a class="indexterm" name="id2696576"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2696588"></a><em class="parameter"><code>directory mask = 0700</code></em></td></tr><tr><td><a class="indexterm" name="id2696600"></a><em class="parameter"><code>nt acl support = no</code></em></td></tr><tr><td><a class="indexterm" name="id2696611"></a><em class="parameter"><code>read only = no</code></em></td></tr></table></div></div><br class="example-break"><p> 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 … … 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 </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 to148 create accounts on the Samba host for Domain users.</p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2690613"></a>Windows NT 3.1</h2></div></div></div><p>If you have problems communicating across routers with Windows147 </p><p><span class="emphasis"><em>DOMAIN\user <span class="quote">“<span class="quote">Full Control</span>”</span></em></span>></p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This bug does not occur when using Winbind to 148 create accounts on the Samba host for Domain users.</p></div></div><div class="sect1" title="Windows NT 3.1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2696670"></a>Windows NT 3.1</h2></div></div></div><p>If you have problems communicating across routers with Windows 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.3.x/docs/htmldocs/Samba3-HOWTO/PolicyMgmt.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 26. System and Account Policies</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="AdvancedNetworkManagement.html" title="Chapter 25. Advanced Network Management"><link rel="next" href="ProfileMgmt.html" title="Chapter 27. Desktop Profile Management"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 26. System and Account Policies</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="AdvancedNetworkManagement.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="ProfileMgmt.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="PolicyMgmt"></a>Chapter 26. System and Account Policies</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2658804">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2658910">Creating and Managing System Policies</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2659098">Windows 9x/ME Policies</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2659235">Windows NT4-Style Policy Files</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2659457">MS Windows 200x/XP Professional Policies</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2659906">Managing Account/User Policies</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2660133">Management Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2660146">Samba Editreg Toolset</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2660228">Windows NT4/200x</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2660268">Samba PDC</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2660333">System Startup and Logon Processing Overview</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2660490">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2660502">Policy Does Not Work</a></span></dt></dl></dd></dl></div><p>2 <a class="indexterm" name="id26 58790"></a>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 26. System and Account Policies</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="AdvancedNetworkManagement.html" title="Chapter 25. Advanced Network Management"><link rel="next" href="ProfileMgmt.html" title="Chapter 27. Desktop Profile Management"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 26. System and Account Policies</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="AdvancedNetworkManagement.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="ProfileMgmt.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 26. System and Account Policies"><div class="titlepage"><div><div><h2 class="title"><a name="PolicyMgmt"></a>Chapter 26. System and Account Policies</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2664856">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2664962">Creating and Managing System Policies</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2665151">Windows 9x/ME Policies</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2665288">Windows NT4-Style Policy Files</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2665509">MS Windows 200x/XP Professional Policies</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2665958">Managing Account/User Policies</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2666185">Management Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2666198">Samba Editreg Toolset</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2666280">Windows NT4/200x</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2666320">Samba PDC</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2666385">System Startup and Logon Processing Overview</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2666542">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2666554">Policy Does Not Work</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2664842"></a> 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="id2658804"></a>Features and Benefits</h2></div></div></div><p>9 <a class="indexterm" name="id26 58812"></a>10 <a class="indexterm" name="id26 58819"></a>11 <a class="indexterm" name="id26 58826"></a>8 </p><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2664856"></a>Features and Benefits</h2></div></div></div><p> 9 <a class="indexterm" name="id2664864"></a> 10 <a class="indexterm" name="id2664871"></a> 11 <a class="indexterm" name="id2664878"></a> 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 14 started to adopt this capability. How do we know that? By the number of “<span class="quote">boo-boos</span>”14 started to adopt this capability. How do we know that? By the number of <span class="quote">“<span class="quote">boo-boos</span>”</span> 15 15 (or mistakes) administrators made and then requested help to resolve. 16 16 </p><p> 17 <a class="indexterm" name="id26 58844"></a>18 <a class="indexterm" name="id26 58851"></a>19 <a class="indexterm" name="id26 58861"></a>20 <a class="indexterm" name="id26 58867"></a>21 <a class="indexterm" name="id26 58874"></a>17 <a class="indexterm" name="id2664897"></a> 18 <a class="indexterm" name="id2664904"></a> 19 <a class="indexterm" name="id2664913"></a> 20 <a class="indexterm" name="id2664920"></a> 21 <a class="indexterm" name="id2664926"></a> 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="id26 58896"></a>30 <a class="indexterm" name="id2664948"></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="id2658910"></a>Creating and Managing System Policies</h2></div></div></div><p>36 <a class="indexterm" name="id26 58918"></a>37 <a class="indexterm" name="id26 58925"></a>38 <a class="indexterm" name="id26 58932"></a>39 <a class="indexterm" name="id26 58938"></a>35 </p></div><div class="sect1" title="Creating and Managing System Policies"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2664962"></a>Creating and Managing System Policies</h2></div></div></div><p> 36 <a class="indexterm" name="id2664970"></a> 37 <a class="indexterm" name="id2664977"></a> 38 <a class="indexterm" name="id2664984"></a> 39 <a class="indexterm" name="id2664990"></a> 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="id26 58956"></a>48 <a class="indexterm" name="id26 58963"></a>49 <a class="indexterm" name="id26 58970"></a>47 <a class="indexterm" name="id2665008"></a> 48 <a class="indexterm" name="id2665015"></a> 49 <a class="indexterm" name="id2665022"></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="id26 58998"></a>57 <a class="indexterm" name="id2665050"></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="id26 59027"></a>62 <a class="indexterm" name="id2665079"></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="id26 59045"></a>71 <a class="indexterm" name="id26 59052"></a>72 <a class="indexterm" name="id26 59059"></a>73 <a class="indexterm" name="id26 59066"></a>70 <a class="indexterm" name="id2665097"></a> 71 <a class="indexterm" name="id2665104"></a> 72 <a class="indexterm" name="id2665111"></a> 73 <a class="indexterm" name="id2665118"></a> 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 … … 77 77 Implementing Profiles and Policies in Windows NT 4.0</a>. 78 78 There are a large number of documents in addition to this old one that should also 79 be read and understood. Try searching on the Microsoft Web site for “<span class="quote">Group Policies</span>”.79 be read and understood. Try searching on the Microsoft Web site for <span class="quote">“<span class="quote">Group Policies</span>”</span>. 80 80 </p><p> 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="id2659098"></a>Windows 9x/ME Policies</h3></div></div></div><p>84 <a class="indexterm" name="id26 59106"></a>85 <a class="indexterm" name="id26 59113"></a>83 </p><div class="sect2" title="Windows 9x/ME Policies"><div class="titlepage"><div><div><h3 class="title"><a name="id2665151"></a>Windows 9x/ME Policies</h3></div></div></div><p> 84 <a class="indexterm" name="id2665159"></a> 85 <a class="indexterm" name="id2665165"></a> 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="id26 59140"></a>92 <a class="indexterm" name="id26 59147"></a>91 <a class="indexterm" name="id2665192"></a> 92 <a class="indexterm" name="id2665199"></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="id26 59186"></a>102 <a class="indexterm" name="id2665238"></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="id26 59201"></a>109 <a class="indexterm" name="id26 59208"></a>108 <a class="indexterm" name="id2665253"></a> 109 <a class="indexterm" name="id2665260"></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="id2659235"></a>Windows NT4-Style Policy Files</h3></div></div></div><p>117 <a class="indexterm" name="id26 59244"></a>118 <a class="indexterm" name="id26 59250"></a>119 <a class="indexterm" name="id26 59257"></a>120 <a class="indexterm" name="id26 59264"></a>116 </p></div><div class="sect2" title="Windows NT4-Style Policy Files"><div class="titlepage"><div><div><h3 class="title"><a name="id2665288"></a>Windows NT4-Style Policy Files</h3></div></div></div><p> 117 <a class="indexterm" name="id2665296"></a> 118 <a class="indexterm" name="id2665303"></a> 119 <a class="indexterm" name="id2665309"></a> 120 <a class="indexterm" name="id2665316"></a> 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="id26 59294"></a>130 <a class="indexterm" name="id26 59301"></a>131 <a class="indexterm" name="id26 59308"></a>132 <a class="indexterm" name="id26 59314"></a>129 <a class="indexterm" name="id2665346"></a> 130 <a class="indexterm" name="id2665353"></a> 131 <a class="indexterm" name="id2665360"></a> 132 <a class="indexterm" name="id2665367"></a> 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> 135 135 directory, which is where the binary will look for them unless told otherwise. This 136 directory is normally “<span class="quote">hidden.</span>”137 </p><p> 138 <a class="indexterm" name="id26 59360"></a>139 <a class="indexterm" name="id26 59367"></a>140 <a class="indexterm" name="id26 59374"></a>141 <a class="indexterm" name="id26 59381"></a>136 directory is normally <span class="quote">“<span class="quote">hidden.</span>”</span> 137 </p><p> 138 <a class="indexterm" name="id2665413"></a> 139 <a class="indexterm" name="id2665420"></a> 140 <a class="indexterm" name="id2665426"></a> 141 <a class="indexterm" name="id2665433"></a> 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="id2659418"></a>Registry Spoiling</h4></div></div></div><p>150 <a class="indexterm" name="id26 59425"></a>151 <a class="indexterm" name="id26 59432"></a>149 </p><div class="sect3" title="Registry Spoiling"><div class="titlepage"><div><div><h4 class="title"><a name="id2665470"></a>Registry Spoiling</h4></div></div></div><p> 150 <a class="indexterm" name="id2665478"></a> 151 <a class="indexterm" name="id2665484"></a> 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="id2659457"></a>MS Windows 200x/XP Professional Policies</h3></div></div></div><p>159 <a class="indexterm" name="id26 59465"></a>158 </p></div></div><div class="sect2" title="MS Windows 200x/XP Professional Policies"><div class="titlepage"><div><div><h3 class="title"><a name="id2665509"></a>MS Windows 200x/XP Professional Policies</h3></div></div></div><p> 159 <a class="indexterm" name="id2665517"></a> 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="id26 59487"></a>169 <a class="indexterm" name="id26 59494"></a>168 <a class="indexterm" name="id2665540"></a> 169 <a class="indexterm" name="id2665546"></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="id26 59523"></a>179 <a class="indexterm" name="id26 59530"></a>180 <a class="indexterm" name="id26 59537"></a>178 <a class="indexterm" name="id2665575"></a> 179 <a class="indexterm" name="id2665582"></a> 180 <a class="indexterm" name="id2665589"></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="id26 59566"></a>188 <a class="indexterm" name="id26 59573"></a>189 <a class="indexterm" name="id26 59580"></a>190 <a class="indexterm" name="id26 59587"></a>191 <a class="indexterm" name="id26 59593"></a>192 <a class="indexterm" name="id26 59600"></a>193 <a class="indexterm" name="id26 59610"></a>194 <a class="indexterm" name="id26 59620"></a>187 <a class="indexterm" name="id2665619"></a> 188 <a class="indexterm" name="id2665625"></a> 189 <a class="indexterm" name="id2665632"></a> 190 <a class="indexterm" name="id2665639"></a> 191 <a class="indexterm" name="id2665646"></a> 192 <a class="indexterm" name="id2665652"></a> 193 <a class="indexterm" name="id2665662"></a> 194 <a class="indexterm" name="id2665672"></a> 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="id26 59639"></a>202 <a class="indexterm" name="id2665691"></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="id2659660"></a>Administration of Windows 200x/XP Policies</h4></div></div></div><p>211 <a class="indexterm" name="id26 59669"></a>212 <a class="indexterm" name="id26 59675"></a>213 <a class="indexterm" name="id26 59682"></a>214 <a class="indexterm" name="id26 59689"></a>215 <a class="indexterm" name="id26 59696"></a>210 </p><div class="sect3" title="Administration of Windows 200x/XP Policies"><div class="titlepage"><div><div><h4 class="title"><a name="id2665713"></a>Administration of Windows 200x/XP Policies</h4></div></div></div><p> 211 <a class="indexterm" name="id2665721"></a> 212 <a class="indexterm" name="id2665727"></a> 213 <a class="indexterm" name="id2665734"></a> 214 <a class="indexterm" name="id2665741"></a> 215 <a class="indexterm" name="id2665748"></a> 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 218 <span class="application">Microsoft Management Console</span> <acronym class="acronym">(MMC)</acronym> snap-in as follows:</p><div class="procedure"><ol type="1"><li><p>218 <span class="application">Microsoft Management Console</span> <acronym class="acronym">(MMC)</acronym> snap-in as follows:</p><div class="procedure"><ol class="procedure" type="1"><li class="step" title="Step 1"><p> 219 219 Go to the Windows 200x/XP menu <span class="guimenu">Start->Programs->Administrative Tools</span> 220 220 and select the MMC snap-in called <span class="guimenuitem">Active Directory Users and Computers</span> 221 </p></li><li ><p>222 <a class="indexterm" name="id26 59760"></a>221 </p></li><li class="step" title="Step 2"><p> 222 <a class="indexterm" name="id2665812"></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>. 225 </p></li><li ><p>225 </p></li><li class="step" title="Step 3"><p> 226 226 Left-click on the <span class="guilabel">Group Policy</span> tab, then 227 227 left-click on the New tab. Type a name 228 228 for the new policy you will create. 229 </p></li><li ><p>229 </p></li><li class="step" title="Step 4"><p> 230 230 Left-click on the <span class="guilabel">Edit</span> tab to commence the steps needed to create the GPO. 231 231 </p></li></ol></div><p> … … 237 237 refer to the Microsoft Windows Resource Kit for your particular 238 238 version of MS Windows. 239 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>240 <a class="indexterm" name="id26 59825"></a>241 <a class="indexterm" name="id26 59832"></a>242 <a class="indexterm" name="id26 59839"></a>239 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 240 <a class="indexterm" name="id2665878"></a> 241 <a class="indexterm" name="id2665884"></a> 242 <a class="indexterm" name="id2665891"></a> 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="id2659866"></a>Custom System Policy Templates</h4></div></div></div><p>246 </p></div></div><div class="sect3" title="Custom System Policy Templates"><div class="titlepage"><div><div><h4 class="title"><a name="id2665918"></a>Custom System Policy Templates</h4></div></div></div><p> 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="id2659906"></a>Managing Account/User Policies</h2></div></div></div><p>260 <a class="indexterm" name="id26 59914"></a>261 <a class="indexterm" name="id26 59921"></a>262 <a class="indexterm" name="id26 59928"></a>259 </p></div></div></div><div class="sect1" title="Managing Account/User Policies"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2665958"></a>Managing Account/User Policies</h2></div></div></div><p> 260 <a class="indexterm" name="id2665966"></a> 261 <a class="indexterm" name="id2665973"></a> 262 <a class="indexterm" name="id2665980"></a> 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="id26 59943"></a>267 <a class="indexterm" name="id2665995"></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="id26 59969"></a>276 <a class="indexterm" name="id26 59976"></a>275 <a class="indexterm" name="id2666021"></a> 276 <a class="indexterm" name="id2666028"></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="id26 59997"></a>282 <a class="indexterm" name="id266 0003"></a>283 <a class="indexterm" name="id266 0010"></a>284 <a class="indexterm" name="id266 0017"></a>281 <a class="indexterm" name="id2666049"></a> 282 <a class="indexterm" name="id2666056"></a> 283 <a class="indexterm" name="id2666062"></a> 284 <a class="indexterm" name="id2666069"></a> 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="id266 0043"></a>291 <a class="indexterm" name="id266 0050"></a>290 <a class="indexterm" name="id2666095"></a> 291 <a class="indexterm" name="id2666102"></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="id266 0066"></a>298 </p><div class="itemizedlist"><ul type="disc"><li><p>Logon hours</p></li><li><p>Password aging</p></li><li><p>Permitted logon from certain machines only</p></li><li><p>Account type (local or global)</p></li><li><p>User rights</p></li></ul></div><p>299 </p><p> 300 <a class="indexterm" name="id266 0103"></a>301 <a class="indexterm" name="id266 0110"></a>297 <a class="indexterm" name="id2666118"></a> 298 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Logon hours</p></li><li class="listitem"><p>Password aging</p></li><li class="listitem"><p>Permitted logon from certain machines only</p></li><li class="listitem"><p>Account type (local or global)</p></li><li class="listitem"><p>User rights</p></li></ul></div><p> 299 </p><p> 300 <a class="indexterm" name="id2666155"></a> 301 <a class="indexterm" name="id2666162"></a> 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="id2660133"></a>Management Tools</h2></div></div></div><p>307 </p></div><div class="sect1" title="Management Tools"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2666185"></a>Management Tools</h2></div></div></div><p> 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="id2660146"></a>Samba Editreg Toolset</h3></div></div></div><p>312 <a class="indexterm" name="id266 0154"></a>313 <a class="indexterm" name="id266 0160"></a>314 <a class="indexterm" name="id266 0167"></a>311 </p><div class="sect2" title="Samba Editreg Toolset"><div class="titlepage"><div><div><h3 class="title"><a name="id2666198"></a>Samba Editreg Toolset</h3></div></div></div><p> 312 <a class="indexterm" name="id2666206"></a> 313 <a class="indexterm" name="id2666212"></a> 314 <a class="indexterm" name="id2666219"></a> 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="id2660228"></a>Windows NT4/200x</h3></div></div></div><p>324 <a class="indexterm" name="id266 0236"></a>325 <a class="indexterm" name="id266 0242"></a>326 <a class="indexterm" name="id266 0249"></a>323 </p></div><div class="sect2" title="Windows NT4/200x"><div class="titlepage"><div><div><h3 class="title"><a name="id2666280"></a>Windows NT4/200x</h3></div></div></div><p> 324 <a class="indexterm" name="id2666288"></a> 325 <a class="indexterm" name="id2666295"></a> 326 <a class="indexterm" name="id2666302"></a> 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 “<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="id2660268"></a>Samba PDC</h3></div></div></div><p>332 <a class="indexterm" name="id266 0276"></a>333 <a class="indexterm" name="id266 0283"></a>334 <a class="indexterm" name="id266 0289"></a>335 <a class="indexterm" name="id266 0296"></a>330 <span class="quote">“<span class="quote">snap-ins,</span>”</span> the registry editor, and potentially also the NT4 System and Group Policy Editor. 331 </p></div><div class="sect2" title="Samba PDC"><div class="titlepage"><div><div><h3 class="title"><a name="id2666320"></a>Samba PDC</h3></div></div></div><p> 332 <a class="indexterm" name="id2666328"></a> 333 <a class="indexterm" name="id2666335"></a> 334 <a class="indexterm" name="id2666342"></a> 335 <a class="indexterm" name="id2666348"></a> 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="id2660333"></a>System Startup and Logon Processing Overview</h2></div></div></div><p>339 </p></div></div><div class="sect1" title="System Startup and Logon Processing Overview"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2666385"></a>System Startup and Logon Processing Overview</h2></div></div></div><p> 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 </p><div class="orderedlist"><ol type="1"><li><p>343 <a class="indexterm" name="id266 0354"></a>344 <a class="indexterm" name="id266 0364"></a>342 </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p> 343 <a class="indexterm" name="id2666407"></a> 344 <a class="indexterm" name="id2666416"></a> 345 345 Network starts, then Remote Procedure Call System Service (RPCSS) and multiple universal naming 346 346 convention provider (MUP) start. 347 </p></li><li ><p>348 <a class="indexterm" name="id266 0381"></a>349 <a class="indexterm" name="id266 0387"></a>347 </p></li><li class="listitem"><p> 348 <a class="indexterm" name="id2666433"></a> 349 <a class="indexterm" name="id2666440"></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: 352 </p><div class="itemizedlist"><ul type="disc"><li><p>Apply to the location of machines in a directory.</p></li><li><p>Apply only when settings have changed.</p></li><li><p>Depend on configuration of the scope of applicability: local,352 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Apply to the location of machines in a directory.</p></li><li class="listitem"><p>Apply only when settings have changed.</p></li><li class="listitem"><p>Depend on configuration of the scope of applicability: local, 353 353 site, domain, organizational unit, and so on.</p></li></ul></div><p> 354 354 No desktop user interface is presented until the above have been processed. 355 </p></li><li ><p>355 </p></li><li class="listitem"><p> 356 356 Execution of startup scripts (hidden and synchronous by default). 357 </p></li><li ><p>357 </p></li><li class="listitem"><p> 358 358 A keyboard action to effect start of logon (Ctrl-Alt-Del). 359 </p></li><li ><p>359 </p></li><li class="listitem"><p> 360 360 User credentials are validated, user profile is loaded (depends on policy settings). 361 </p></li><li ><p>361 </p></li><li class="listitem"><p> 362 362 An ordered list of user GPOs is obtained. The list contents depends on what is configured in respect of: 363 363 364 </p><div class="itemizedlist"><ul type="disc"><li><p>Is the user a domain member, thus subject to particular policies?</p></li><li><p>Loopback enablement, and the state of the loopback policy (merge or replace).</p></li><li><p>Location of the Active Directory itself.</p></li><li><p>Has the list of GPOs changed? No processing is needed if not changed.</p></li></ul></div><p>365 </p></li><li ><p>364 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Is the user a domain member, thus subject to particular policies?</p></li><li class="listitem"><p>Loopback enablement, and the state of the loopback policy (merge or replace).</p></li><li class="listitem"><p>Location of the Active Directory itself.</p></li><li class="listitem"><p>Has the list of GPOs changed? No processing is needed if not changed.</p></li></ul></div><p> 365 </p></li><li class="listitem"><p> 366 366 User policies are applied from Active Directory. Note: There are several types. 367 </p></li><li ><p>367 </p></li><li class="listitem"><p> 368 368 Logon scripts are run. New to Windows 200x and Active Directory, logon scripts may be obtained based on GPOs 369 369 (hidden and executed synchronously). NT4-style logon scripts are then run in a normal 370 370 window. 371 </p></li><li ><p>371 </p></li><li class="listitem"><p> 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="id2660490"></a>Common Errors</h2></div></div></div><p>374 </p></li></ol></div></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2666542"></a>Common Errors</h2></div></div></div><p> 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="id2660502"></a>Policy Does Not Work</h3></div></div></div><p>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.377 </p><div class="sect2" title="Policy Does Not Work"><div class="titlepage"><div><div><h3 class="title"><a name="id2666554"></a>Policy Does Not Work</h3></div></div></div><p> 378 <span class="quote">“<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 380 work any longer since we upgraded to Win XP Pro. Any hints?</span>” 380 work any longer since we upgraded to Win XP Pro. Any hints?</span>”</span> 381 381 </p><p> 382 382 Policy files are not portable between Windows 9x/Me and MS Windows NT4/200x/XP-based platforms. You need to -
branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/Portability.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 43. Portability</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="Appendix.html" title="Part VI. Reference Section"><link rel="prev" href="compiling.html" title="Chapter 42. How to Compile Samba"><link rel="next" href="Other-Clients.html" title="Chapter 44. Samba and Other CIFS Clients"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 43. Portability</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="compiling.html">Prev</a> </td><th width="60%" align="center">Part VI. Reference Section</th><td width="20%" align="right"> <a accesskey="n" href="Other-Clients.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="Portability"></a>Chapter 43. Portability</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<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#id2689135">HPUX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2689239">SCO UNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2689278">DNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2689420">Red Hat Linux</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2689463">AIX: Sequential Read Ahead</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2689525">Solaris</a></span></dt><dd><dl><dt><span class="sect2"><a href="Portability.html#id2689530">Locking Improvements</a></span></dt><dt><span class="sect2"><a href="Portability.html#winbind-solaris9">Winbind on Solaris 9</a></span></dt></dl></dd></dl></div><p>2 <a class="indexterm" name="id26 89117"></a>3 <a class="indexterm" name="id26 89124"></a>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 43. Portability</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="Appendix.html" title="Part VI. Reference Section"><link rel="prev" href="compiling.html" title="Chapter 42. How to Compile Samba"><link rel="next" href="Other-Clients.html" title="Chapter 44. Samba and Other CIFS Clients"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 43. Portability</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="compiling.html">Prev</a> </td><th width="60%" align="center">Part VI. Reference Section</th><td width="20%" align="right"> <a accesskey="n" href="Other-Clients.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 43. Portability"><div class="titlepage"><div><div><h2 class="title"><a name="Portability"></a>Chapter 43. Portability</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<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#id2695192">HPUX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2695296">SCO UNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2695335">DNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2695476">Red Hat Linux</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2695520">AIX: Sequential Read Ahead</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2695581">Solaris</a></span></dt><dd><dl><dt><span class="sect2"><a href="Portability.html#id2695587">Locking Improvements</a></span></dt><dt><span class="sect2"><a href="Portability.html#winbind-solaris9">Winbind on Solaris 9</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2695174"></a> 3 <a class="indexterm" name="id2695180"></a> 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="id2689135"></a>HPUX</h2></div></div></div><p>7 <a class="indexterm" name="id26 89143"></a>8 <a class="indexterm" name="id26 89150"></a>6 platform-specific information about compiling and using Samba.</p><div class="sect1" title="HPUX"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2695192"></a>HPUX</h2></div></div></div><p> 7 <a class="indexterm" name="id2695200"></a> 8 <a class="indexterm" name="id2695206"></a> 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="id26 89221"></a>27 <a class="indexterm" name="id26 89227"></a>26 <a class="indexterm" name="id2695277"></a> 27 <a class="indexterm" name="id2695284"></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="id2689239"></a>SCO UNIX</h2></div></div></div><p>30 </p></div><div class="sect1" title="SCO UNIX"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2695296"></a>SCO UNIX</h2></div></div></div><p> 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="id2689278"></a>DNIX</h2></div></div></div><p>46 </p></div><div class="sect1" title="DNIX"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2695335"></a>DNIX</h2></div></div></div><p> 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="id2689420"></a>Red Hat Linux</h2></div></div></div><p>103 </pre><p>from the DNIX section of <code class="filename">includes.h</code>.</p></div><div class="sect1" title="Red Hat Linux"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2695476"></a>Red Hat Linux</h2></div></div></div><p> 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="id26 89445"></a>110 <a class="indexterm" name="id2695501"></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="id2689463"></a>AIX: Sequential Read Ahead</h2></div></div></div><p>118 </p></div><div class="sect1" title="AIX: Sequential Read Ahead"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2695520"></a>AIX: Sequential Read Ahead</h2></div></div></div><p> 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="id2689525"></a>Solaris</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2689530"></a>Locking Improvements</h3></div></div></div><p>Some people have been experiencing problems with F_SETLKW64/fcntl137 </p></div><div class="sect1" title="Solaris"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2695581"></a>Solaris</h2></div></div></div><div class="sect2" title="Locking Improvements"><div class="titlepage"><div><div><h3 class="title"><a name="id2695587"></a>Locking Improvements</h3></div></div></div><p>Some people have been experiencing problems with F_SETLKW64/fcntl 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 … … 148 148 After the installation of these patches, it is recommended to reconfigure 149 149 and rebuild Samba. 150 </p><p>Thanks to Joe Meslovich for reporting this.</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="winbind-solaris9"></a>Winbind on Solaris 9</h3></div></div></div><p>150 </p><p>Thanks to Joe Meslovich for reporting this.</p></div><div class="sect2" title="Winbind on Solaris 9"><div class="titlepage"><div><div><h3 class="title"><a name="winbind-solaris9"></a>Winbind on Solaris 9</h3></div></div></div><p> 151 151 Nsswitch on Solaris 9 refuses to use the Winbind NSS module. This behavior 152 152 is fixed by Sun in patch <a class="ulink" href="http://sunsolve.sun.com/search/advsearch.do?collection=PATCH&type=collections&max=50&language=en&queryKey5=112960;rev=14&toDocument=yes" target="_top">112960-14</a>. -
branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/ProfileMgmt.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 27. Desktop Profile Management</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="PolicyMgmt.html" title="Chapter 26. System and Account Policies"><link rel="next" href="pam.html" title="Chapter 28. PAM-Based Distributed Authentication"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 27. Desktop Profile Management</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="PolicyMgmt.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="pam.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="ProfileMgmt"></a>Chapter 27. Desktop Profile Management</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2660587">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2660636">Roaming Profiles</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2660690">Samba Configuration for Profile Handling</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2661296">Windows Client Profile Configuration Information</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2662645">User Profile Hive Cleanup Service</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2662678">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2662777">Profile Migration from Windows NT4/200x Server to Samba</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2663129">Mandatory Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2663269">Creating and Managing Group Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2663347">Default Profile for Windows Users</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2663378">MS Windows 9x/Me</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2663529">MS Windows NT4 Workstation</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2664091">MS Windows 200x/XP</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2664596">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2664607">Configuring Roaming Profiles for a Few Users or Groups</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2664669">Cannot Use Roaming Profiles</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2664840">Changing the Default Profile</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2665004">Debugging Roaming Profiles and NT4-style Domain Policies</a></span></dt></dl></dd></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2660587"></a>Features and Benefits</h2></div></div></div><p>2 <a class="indexterm" name="id266 0595"></a>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 27. Desktop Profile Management</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="PolicyMgmt.html" title="Chapter 26. System and Account Policies"><link rel="next" href="pam.html" title="Chapter 28. PAM-Based Distributed Authentication"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 27. Desktop Profile Management</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="PolicyMgmt.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="pam.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 27. Desktop Profile Management"><div class="titlepage"><div><div><h2 class="title"><a name="ProfileMgmt"></a>Chapter 27. Desktop Profile Management</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2666639">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2666688">Roaming Profiles</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2666742">Samba Configuration for Profile Handling</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2667353">Windows Client Profile Configuration Information</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2668697">User Profile Hive Cleanup Service</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2668731">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2668829">Profile Migration from Windows NT4/200x Server to Samba</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2669181">Mandatory Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2669321">Creating and Managing Group Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2669400">Default Profile for Windows Users</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2669430">MS Windows 9x/Me</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2669587">MS Windows NT4 Workstation</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2670149">MS Windows 200x/XP</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2670655">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2670666">Configuring Roaming Profiles for a Few Users or Groups</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2670727">Cannot Use Roaming Profiles</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2670898">Changing the Default Profile</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2671062">Debugging Roaming Profiles and NT4-style Domain Policies</a></span></dt></dl></dd></dl></div><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2666639"></a>Features and Benefits</h2></div></div></div><p> 2 <a class="indexterm" name="id2666647"></a> 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="id266 0607"></a>6 <a class="indexterm" name="id2666659"></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="id266 0621"></a>11 <a class="indexterm" name="id2666673"></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="id2660636"></a>Roaming Profiles</h2></div></div></div><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>17 </p></div><div class="sect1" title="Roaming Profiles"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2666688"></a>Roaming Profiles</h2></div></div></div><div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p> 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="id266 0658"></a>23 <a class="indexterm" name="id2666710"></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="id266 0673"></a>30 <a class="indexterm" name="id266 0680"></a>29 <a class="indexterm" name="id2666725"></a> 30 <a class="indexterm" name="id2666732"></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="id2660690"></a>Samba Configuration for Profile Handling</h3></div></div></div><p>33 </p><div class="sect2" title="Samba Configuration for Profile Handling"><div class="titlepage"><div><div><h3 class="title"><a name="id2666742"></a>Samba Configuration for Profile Handling</h3></div></div></div><p> 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="id2660701"></a>NT4/200x User Profiles</h4></div></div></div><p>35 </p><div class="sect3" title="NT4/200x User Profiles"><div class="titlepage"><div><div><h4 class="title"><a name="id2666753"></a>NT4/200x User Profiles</h4></div></div></div><p> 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="id2660724"></a><em class="parameter"><code>logon path = \\profileserver\profileshare\profilepath\%U\moreprofilepath</code></em></td></tr></table><p>37 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2666776"></a><em class="parameter"><code>logon path = \\profileserver\profileshare\profilepath\%U\moreprofilepath</code></em></td></tr></table><p> 38 38 This is typically implemented like: 39 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2660745"></a><em class="parameter"><code>logon path = \\%L\Profiles\%U</code></em></td></tr></table><p>40 where “<span class="quote">%L</span>” translates to the name of the Samba server and “<span class="quote">%U</span>”translates to the username.39 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2666797"></a><em class="parameter"><code>logon path = \\%L\Profiles\%U</code></em></td></tr></table><p> 40 where <span class="quote">“<span class="quote">%L</span>”</span> translates to the name of the Samba server and <span class="quote">“<span class="quote">%U</span>”</span> translates to the username. 41 41 </p><p> 42 42 The default for this option is <code class="filename">\\%N\%U\profile</code>, namely, <code class="filename">\\sambaserver\username\profile</code>. … … 44 44 a Samba server for the profiles, you must make the share that is specified in the logon path 45 45 browseable. Please refer to the man page for <code class="filename">smb.conf</code> regarding the different 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 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>48 <a class="indexterm" name="id266 0816"></a>49 <a class="indexterm" name="id266 0822"></a>46 semantics of <span class="quote">“<span class="quote">%L</span>”</span> and <span class="quote">“<span class="quote">%N</span>”</span>, as well as <span class="quote">“<span class="quote">%U</span>”</span> and <span class="quote">“<span class="quote">%u</span>”</span>. 47 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 48 <a class="indexterm" name="id2666868"></a> 49 <a class="indexterm" name="id2666874"></a> 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="id2660841"></a>Windows 9x/Me User Profiles</h4></div></div></div><p>53 <a class="indexterm" name="id266 0849"></a>54 <a class="indexterm" name="id266 0856"></a>52 </p></div></div><div class="sect3" title="Windows 9x/Me User Profiles"><div class="titlepage"><div><div><h4 class="title"><a name="id2666893"></a>Windows 9x/Me User Profiles</h4></div></div></div><p> 53 <a class="indexterm" name="id2666901"></a> 54 <a class="indexterm" name="id2666908"></a> 55 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="id266 0891"></a>60 <a class="indexterm" name="id266 0898"></a>61 <a class="indexterm" name="id266 0905"></a>59 <a class="indexterm" name="id2666943"></a> 60 <a class="indexterm" name="id2666950"></a> 61 <a class="indexterm" name="id2666957"></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="id2660938"></a><em class="parameter"><code>logon home = \\%L\%U\.profiles</code></em></td></tr></table><p>65 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2666990"></a><em class="parameter"><code>logon home = \\%L\%U\.profiles</code></em></td></tr></table><p> 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="id266 0962"></a>69 <a class="indexterm" name="id2667014"></a> 70 70 Not only that, but <strong class="userinput"><code>net use /home</code></strong> will also work because of a feature in 71 71 Windows 9x/Me. It removes any directory stuff off the end of the home directory area 72 72 and only uses the server and share portion. That is, it looks like you 73 73 specified <code class="filename">\\%L\%U</code> for <a class="link" href="smb.conf.5.html#LOGONHOME" target="_top">logon home</a>. 74 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2660998"></a>Mixed Windows Windows 9x/Me and NT4/200x User Profiles</h4></div></div></div><p>74 </p></div><div class="sect3" title="Mixed Windows Windows 9x/Me and NT4/200x User Profiles"><div class="titlepage"><div><div><h4 class="title"><a name="id2667050"></a>Mixed Windows Windows 9x/Me and NT4/200x User Profiles</h4></div></div></div><p> 75 75 You can support profiles for Windows 9x and Windows NT clients by setting both the 76 76 <a class="link" href="smb.conf.5.html#LOGONHOME" target="_top">logon home</a> and <a class="link" href="smb.conf.5.html#LOGONPATH" target="_top">logon path</a> parameters. For example, 77 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2661038"></a><em class="parameter"><code>logon home = \\%L\%U\.profiles</code></em></td></tr><tr><td><a class="indexterm" name="id2661050"></a><em class="parameter"><code>logon path = \\%L\profiles\%U</code></em></td></tr></table><p>78 <a class="indexterm" name="id266 1064"></a>77 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2667090"></a><em class="parameter"><code>logon home = \\%L\%U\.profiles</code></em></td></tr><tr><td><a class="indexterm" name="id2667102"></a><em class="parameter"><code>logon path = \\%L\profiles\%U</code></em></td></tr></table><p> 78 <a class="indexterm" name="id2667116"></a> 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="id2661076"></a>Disabling Roaming Profile Support</h4></div></div></div><p>82 <a class="indexterm" name="id266 1084"></a>83 The question often asked is, “<span class="quote">How may I enforce use of local profiles?</span>”or84 “<span class="quote">How do I disable roaming profiles?</span>” 85 </p><p> 86 <a class="indexterm" name="id266 1102"></a>81 </p></div><div class="sect3" title="Disabling Roaming Profile Support"><div class="titlepage"><div><div><h4 class="title"><a name="id2667128"></a>Disabling Roaming Profile Support</h4></div></div></div><p> 82 <a class="indexterm" name="id2667136"></a> 83 The question often asked is, <span class="quote">“<span class="quote">How may I enforce use of local profiles?</span>”</span> or 84 <span class="quote">“<span class="quote">How do I disable roaming profiles?</span>”</span> 85 </p><p> 86 <a class="indexterm" name="id2667154"></a> 87 87 There are three ways of doing this: 88 </p><a class="indexterm" name="id266 1111"></a><div class="variablelist"><dl><dt><span class="term">In <code class="filename">smb.conf</code></span></dt><dd><p>88 </p><a class="indexterm" name="id2667163"></a><div class="variablelist"><dl><dt><span class="term">In <code class="filename">smb.conf</code></span></dt><dd><p> 89 89 Affect the following settings and ALL clients will be forced to use a local profile: 90 90 <a class="link" href="smb.conf.5.html#LOGONHOME" target="_top">logon home = </a> and <a class="link" href="smb.conf.5.html#LOGONPATH" target="_top">logon path = </a> … … 93 93 to specifically assign the empty value. 94 94 </p></dd><dt><span class="term">MS Windows Registry:</span></dt><dd><p> 95 <a class="indexterm" name="id266 1181"></a>96 <a class="indexterm" name="id266 1188"></a>95 <a class="indexterm" name="id2667233"></a> 96 <a class="indexterm" name="id2667240"></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 … … 116 116 Consult the MS Windows registry guide for your particular MS Windows version for more information 117 117 about which registry keys to change to enforce use of only local user profiles. 118 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>119 <a class="indexterm" name="id266 1281"></a>118 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 119 <a class="indexterm" name="id2667333"></a> 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="id2661296"></a>Windows Client Profile Configuration Information</h3></div></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2661302"></a>Windows 9x/Me Profile Setup</h4></div></div></div><p>123 </p></div></div></div><div class="sect2" title="Windows Client Profile Configuration Information"><div class="titlepage"><div><div><h3 class="title"><a name="id2667353"></a>Windows Client Profile Configuration Information</h3></div></div></div><div class="sect3" title="Windows 9x/Me Profile Setup"><div class="titlepage"><div><div><h4 class="title"><a name="id2667359"></a>Windows 9x/Me Profile Setup</h4></div></div></div><p> 124 124 When a user first logs in on Windows 9x, the file user.DAT is created, as are folders <code class="filename">Start 125 125 Menu</code>, <code class="filename">Desktop</code>, <code class="filename">Programs</code>, and … … 129 129 profile folders. 130 130 </p><p> 131 <a class="indexterm" name="id266 1392"></a>132 <a class="indexterm" name="id266 1398"></a>131 <a class="indexterm" name="id2667448"></a> 132 <a class="indexterm" name="id2667455"></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. 135 </p><div class="orderedlist"><ol type="1"><li><p>135 </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p> 136 136 On the Windows 9x/Me machine, go to <span class="guimenu">Control Panel</span> -> 137 137 <span class="guimenuitem">Passwords</span> and select the <span class="guilabel">User Profiles</span> tab. 138 138 Select the required level of roaming preferences. Press <span class="guibutton">OK</span>, but do not 139 139 allow the computer to reboot. 140 </p></li><li ><p>140 </p></li><li class="listitem"><p> 141 141 On the Windows 9x/Me machine, go to <span class="guimenu">Control Panel</span> -> 142 142 <span class="guimenuitem">Network</span> -> <span class="guimenuitem">Client for Microsoft Networks</span> … … 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="id266 1520"></a>148 <a class="indexterm" name="id266 1526"></a>149 <a class="indexterm" name="id266 1534"></a>150 <a class="indexterm" name="id266 1540"></a>147 <a class="indexterm" name="id2667576"></a> 148 <a class="indexterm" name="id2667583"></a> 149 <a class="indexterm" name="id2667590"></a> 150 <a class="indexterm" name="id2667597"></a> 151 151 Under Windows 9x/Me, profiles are downloaded from the Primary Logon. If you have the Primary Logon 152 as “<span class="quote">Client for Novell Networks</span>”, then the profiles and logon script will be downloaded from153 your Novell server. If you have the Primary Logon as “<span class="quote">Windows Logon</span>”, then the profiles will152 as <span class="quote">“<span class="quote">Client for Novell Networks</span>”</span>, then the profiles and logon script will be downloaded from 153 your Novell server. If you have the Primary Logon as <span class="quote">“<span class="quote">Windows Logon</span>”</span>, then the profiles will 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="id266 1567"></a>156 <a class="indexterm" name="id2667624"></a> 157 157 You will now find that the Microsoft Networks Login box contains <code class="constant">[user, password, domain]</code> instead 158 158 of just <code class="constant">[user, password]</code>. Type in the Samba server's domain name (or any other domain known to exist, … … 169 169 <code class="filename">Programs</code>, and <code class="filename">Nethood</code> folders have been created. 170 170 </p><p> 171 <a class="indexterm" name="id266 1658"></a>172 <a class="indexterm" name="id266 1665"></a>173 <a class="indexterm" name="id266 1672"></a>171 <a class="indexterm" name="id2667710"></a> 172 <a class="indexterm" name="id2667717"></a> 173 <a class="indexterm" name="id2667724"></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="id266 1689"></a>180 <a class="indexterm" name="id266 1696"></a>181 <a class="indexterm" name="id266 1702"></a>182 <a class="indexterm" name="id266 1709"></a>179 <a class="indexterm" name="id2667741"></a> 180 <a class="indexterm" name="id2667748"></a> 181 <a class="indexterm" name="id2667755"></a> 182 <a class="indexterm" name="id2667762"></a> 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="id266 1726"></a>189 <a class="indexterm" name="id266 1733"></a>190 <a class="indexterm" name="id266 1740"></a>191 <a class="indexterm" name="id266 1747"></a>192 <a class="indexterm" name="id266 1754"></a>188 <a class="indexterm" name="id2667778"></a> 189 <a class="indexterm" name="id2667785"></a> 190 <a class="indexterm" name="id2667792"></a> 191 <a class="indexterm" name="id2667799"></a> 192 <a class="indexterm" name="id2667806"></a> 193 193 If you have problems creating user profiles, you can reset the user's local desktop cache, as shown below. 194 When this user next logs in, the user will be told that he/she is logging in “<span class="quote">for the first195 time</span>” .196 </p><div class="orderedlist"><ol type="1"><li><p>194 When this user next logs in, the user will be told that he/she is logging in <span class="quote">“<span class="quote">for the first 195 time</span>”</span>. 196 </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p> 197 197 Instead of logging in under the [user, password, domain] dialog, press <span class="guibutton">escape</span>. 198 </p></li><li ><p>198 </p></li><li class="listitem"><p> 199 199 Run the <code class="literal">regedit.exe</code> program, and look in: 200 200 </p><p> … … 204 204 (likely to be <code class="filename">c:\windows\profiles\username</code>), then delete the key 205 205 <em class="parameter"><code>ProfilePath</code></em> for the required user. 206 </p></li><li ><p>206 </p></li><li class="listitem"><p> 207 207 Exit the registry editor. 208 </p></li><li ><p>208 </p></li><li class="listitem"><p> 209 209 Search for the user's .PWL password-caching file in the <code class="filename">c:\windows</code> directory, and delete it. 210 </p></li><li ><p>210 </p></li><li class="listitem"><p> 211 211 Log off the Windows 9x/Me client. 212 </p></li><li ><p>212 </p></li><li class="listitem"><p> 213 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 </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="id266 1885"></a>216 </p></li></ol></div><div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p> 217 <a class="indexterm" name="id2667937"></a> 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 … … 222 222 </p><p> 223 223 This will have the effect of removing the local (read-only hidden system file) <code class="filename">user.DAT</code> 224 in their profile directory, as well as the local “<span class="quote">desktop,</span>” “<span class="quote">nethood,</span>”225 “<span class="quote">start menu,</span>” and “<span class="quote">programs</span>”folders.224 in their profile directory, as well as the local <span class="quote">“<span class="quote">desktop,</span>”</span> <span class="quote">“<span class="quote">nethood,</span>”</span> 225 <span class="quote">“<span class="quote">start menu,</span>”</span> and <span class="quote">“<span class="quote">programs</span>”</span> folders. 226 226 </p></div><p> 227 <a class="indexterm" name="id266 1943"></a>228 <a class="indexterm" name="id266 1950"></a>229 <a class="indexterm" name="id266 1957"></a>230 <a class="indexterm" name="id266 1964"></a>227 <a class="indexterm" name="id2667996"></a> 228 <a class="indexterm" name="id2668002"></a> 229 <a class="indexterm" name="id2668009"></a> 230 <a class="indexterm" name="id2668016"></a> 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="id266 1982"></a>235 <a class="indexterm" name="id266 1989"></a>234 <a class="indexterm" name="id2668035"></a> 235 <a class="indexterm" name="id2668042"></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="id2662004"></a>Windows NT4 Workstation</h4></div></div></div><p>239 </p></div><div class="sect3" title="Windows NT4 Workstation"><div class="titlepage"><div><div><h4 class="title"><a name="id2668056"></a>Windows NT4 Workstation</h4></div></div></div><p> 240 240 When a user first logs in to a Windows NT workstation, the profile NTuser.DAT is created. The profile 241 241 location can be now specified through the <a class="link" href="smb.conf.5.html#LOGONPATH" target="_top">logon path</a> parameter. … … 245 245 the new <a class="link" href="smb.conf.5.html#LOGONHOME" target="_top">logon home</a> parameter. 246 246 </p><p> 247 <a class="indexterm" name="id266 2064"></a>248 <a class="indexterm" name="id266 2070"></a>247 <a class="indexterm" name="id2668116"></a> 248 <a class="indexterm" name="id2668123"></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="id266 2086"></a>254 <a class="indexterm" name="id2668138"></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="id266 2135"></a>262 <a class="indexterm" name="id266 2142"></a>261 <a class="indexterm" name="id2668187"></a> 262 <a class="indexterm" name="id2668194"></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="id2662195"></a>Windows 2000/XP Professional</h4></div></div></div><p>270 </p></div><div class="sect3" title="Windows 2000/XP Professional"><div class="titlepage"><div><div><h4 class="title"><a name="id2668248"></a>Windows 2000/XP Professional</h4></div></div></div><p> 271 271 You must first convert the profile from a local profile to a domain profile on the MS Windows 272 workstation as follows: </p><div class="procedure"><ol type="1"><li><p> Log on as the <span class="emphasis"><em>local</em></span> workstation administrator. </p></li><li><p> Right-click on the <span class="guiicon">My Computer</span> icon, and select273 <span class="guimenuitem">Properties</span>.</p></li><li ><p> Click on the <span class="guilabel">User Profiles</span> tab.</p></li><li><p> Select the profile you wish to convert (click it once).</p></li><li><p> Click on the <span class="guibutton">Copy To</span> button.</p></li><li><p> In the <span class="guilabel">Permitted to use</span> box, click on the274 <span class="guibutton">Change</span> button. </p></li><li ><p> Click on the <span class="guilabel">Look in</span> area that lists the machine name. When you click here, it will275 open up a selection box. Click on the domain to which the profile must be accessible. </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>You will need to log on if a logon box opens up.272 workstation as follows: </p><div class="procedure"><ol class="procedure" type="1"><li class="step" title="Step 1"><p> Log on as the <span class="emphasis"><em>local</em></span> workstation administrator. </p></li><li class="step" title="Step 2"><p> Right-click on the <span class="guiicon">My Computer</span> icon, and select 273 <span class="guimenuitem">Properties</span>.</p></li><li class="step" title="Step 3"><p> Click on the <span class="guilabel">User Profiles</span> tab.</p></li><li class="step" title="Step 4"><p> Select the profile you wish to convert (click it once).</p></li><li class="step" title="Step 5"><p> Click on the <span class="guibutton">Copy To</span> button.</p></li><li class="step" title="Step 6"><p> In the <span class="guilabel">Permitted to use</span> box, click on the 274 <span class="guibutton">Change</span> button. </p></li><li class="step" title="Step 7"><p> Click on the <span class="guilabel">Look in</span> area that lists the machine name. When you click here, it will 275 open up a selection box. Click on the domain to which the profile must be accessible. </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>You will need to log on if a logon box opens up. 276 276 For example, connect as <em class="replaceable"><code>DOMAIN</code></em>\root, password: 277 <em class="replaceable"><code>mypassword</code></em>.</p></div></li><li ><p> To make the profile capable of being used by anyone, select “<span class="quote">Everyone</span>”. </p></li><li><p> Click on <span class="guibutton">OK</span> and the Selection box will close. </p></li><li><p> Now click on <span class="guibutton">OK</span> to create the profile in the path277 <em class="replaceable"><code>mypassword</code></em>.</p></div></li><li class="step" title="Step 8"><p> To make the profile capable of being used by anyone, select <span class="quote">“<span class="quote">Everyone</span>”</span>. </p></li><li class="step" title="Step 9"><p> Click on <span class="guibutton">OK</span> and the Selection box will close. </p></li><li class="step" title="Step 10"><p> Now click on <span class="guibutton">OK</span> to create the profile in the path 278 278 you nominated. </p></li></ol></div><p> 279 279 Done. You now have a profile that can be edited using the Samba <code class="literal">profiles</code> tool. 280 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>280 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 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="id2662378"></a>Windows XP Service Pack 1</h5></div></div></div><p>283 </p></div><div class="sect4" title="Windows XP Service Pack 1"><div class="titlepage"><div><div><h5 class="title"><a name="id2668430"></a>Windows XP Service Pack 1</h5></div></div></div><p> 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: … … 294 294 </p><p>If you cannot set group policies in Samba, then you may be able to set the policy locally on 295 295 each machine. If you want to try this, then do the following: 296 </p><div class="procedure"><ol type="1"><li><p>On the XP workstation, log in with an administrative account.</p></li><li><p>Click on <span class="guimenu">Start</span> -> <span class="guimenuitem">Run</span>.</p></li><li><p>Type <code class="literal">mmc</code>.</p></li><li><p>Click on <span class="guibutton">OK</span>.</p></li><li><p>A Microsoft Management Console should appear.</p></li><li><p>Click on <span class="guimenu">File</span> -> <span class="guimenuitem">Add/Remove Snap-in</span> -> <span class="guimenuitem">Add</span>.</p></li><li><p>Double-click on <span class="guiicon">Group Policy</span>.</p></li><li><p>Click on <span class="guibutton">Finish</span> -> <span class="guibutton">Close</span>.</p></li><li><p>Click on <span class="guibutton">OK</span>.</p></li><li><p>In the “<span class="quote">Console Root</span>”window expand <span class="guiicon">Local Computer Policy</span> ->296 </p><div class="procedure"><ol class="procedure" type="1"><li class="step" title="Step 1"><p>On the XP workstation, log in with an administrative account.</p></li><li class="step" title="Step 2"><p>Click on <span class="guimenu">Start</span> -> <span class="guimenuitem">Run</span>.</p></li><li class="step" title="Step 3"><p>Type <code class="literal">mmc</code>.</p></li><li class="step" title="Step 4"><p>Click on <span class="guibutton">OK</span>.</p></li><li class="step" title="Step 5"><p>A Microsoft Management Console should appear.</p></li><li class="step" title="Step 6"><p>Click on <span class="guimenu">File</span> -> <span class="guimenuitem">Add/Remove Snap-in</span> -> <span class="guimenuitem">Add</span>.</p></li><li class="step" title="Step 7"><p>Double-click on <span class="guiicon">Group Policy</span>.</p></li><li class="step" title="Step 8"><p>Click on <span class="guibutton">Finish</span> -> <span class="guibutton">Close</span>.</p></li><li class="step" title="Step 9"><p>Click on <span class="guibutton">OK</span>.</p></li><li class="step" title="Step 10"><p>In the <span class="quote">“<span class="quote">Console Root</span>”</span> window expand <span class="guiicon">Local Computer Policy</span> -> 297 297 <span class="guiicon">Computer Configuration</span> -> <span class="guiicon">Administrative Templates</span> -> 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 the299 console settings rather than the policies you have changed).</p></li><li ><p>Reboot.</p></li></ol></div></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2662645"></a>User Profile Hive Cleanup Service</h3></div></div></div><p>298 <span class="guiicon">System</span> -> <span class="guiicon">User Profiles</span>.</p></li><li class="step" title="Step 11"><p>Double-click on <span class="guilabel">Do not check for user ownership of Roaming Profile Folders</span>.</p></li><li class="step" title="Step 12"><p>Select <span class="guilabel">Enabled</span>.</p></li><li class="step" title="Step 13"><p>Click on <span class="guibutton">OK</span>.</p></li><li class="step" title="Step 14"><p>Close the whole console. You do not need to save the settings (this refers to the 299 console settings rather than the policies you have changed).</p></li><li class="step" title="Step 15"><p>Reboot.</p></li></ol></div></div></div></div><div class="sect2" title="User Profile Hive Cleanup Service"><div class="titlepage"><div><div><h3 class="title"><a name="id2668697"></a>User Profile Hive Cleanup Service</h3></div></div></div><p> 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="id266 2670" href="#ftn.id2662670" class="footnote">7</a>]</sup>306 Service<sup>[<a name="id2668722" href="#ftn.id2668722" 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="id2662678"></a>Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</h3></div></div></div><p>309 <a class="indexterm" name="id266 2687"></a>310 <a class="indexterm" name="id266 2694"></a>308 </p></div><div class="sect2" title="Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations"><div class="titlepage"><div><div><h3 class="title"><a name="id2668731"></a>Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</h3></div></div></div><p> 309 <a class="indexterm" name="id2668739"></a> 310 <a class="indexterm" name="id2668746"></a> 311 311 Sharing of desktop profiles between Windows versions is not recommended. Desktop profiles are an 312 312 evolving phenomenon, and profiles for later versions of MS Windows clients add features that may interfere … … 320 320 <a class="link" href="smb.conf.5.html#LOGONPATH" target="_top">logon path</a> and <a class="link" href="smb.conf.5.html#LOGONHOME" target="_top">logon home</a>. 321 321 </p><p> 322 <a class="indexterm" name="id266 2749"></a>323 <a class="indexterm" name="id266 2755"></a>322 <a class="indexterm" name="id2668801"></a> 323 <a class="indexterm" name="id2668808"></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="id2662777"></a>Profile Migration from Windows NT4/200x Server to Samba</h3></div></div></div><p>327 <a class="indexterm" name="id266 2786"></a>326 </p></div><div class="sect2" title="Profile Migration from Windows NT4/200x Server to Samba"><div class="titlepage"><div><div><h3 class="title"><a name="id2668829"></a>Profile Migration from Windows NT4/200x Server to Samba</h3></div></div></div><p> 327 <a class="indexterm" name="id2668838"></a> 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 </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="id266 2810"></a>331 </p><div class="sect3" title="Windows NT4 Profile Management Tools"><div class="titlepage"><div><div><h4 class="title"><a name="profilemigrn"></a>Windows NT4 Profile Management Tools</h4></div></div></div><p> 332 <a class="indexterm" name="id2668863"></a> 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="id2662824"></a><p class="title"><b>Procedure 27.1. Profile Migration Procedure</b></p><ol type="1"><li><p> On your NT4 domain controller, right-click on <span class="guiicon">My Computer</span>, then select336 <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 group335 </p><p>Here is a quick guide:</p><div class="procedure" title="Procedure 27.1. Profile Migration Procedure"><a name="id2668877"></a><p class="title"><b>Procedure 27.1. Profile Migration Procedure</b></p><ol class="procedure" type="1"><li class="step" title="Step 1"><p> On your NT4 domain controller, right-click on <span class="guiicon">My Computer</span>, then select 336 <span class="guilabel">Properties</span>, then the tab labeled <span class="guilabel">User Profiles</span>. </p></li><li class="step" title="Step 2"><p> Select a user profile you want to migrate and click on it. </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>I am using the term <span class="quote">“<span class="quote">migrate</span>”</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 338 338 is what you need to do, since your Samba domain is not a member of a trust relationship with your NT4 339 PDC.</p></div></li><li ><p>Click on the <span class="guibutton">Copy To</span> button.</p></li><li><p>In the box labeled <span class="guilabel">Copy Profile to</span> add your new path, such as,340 <code class="filename">c:\temp\foobar</code></p></li><li ><p>Click on <span class="guibutton">Change</span> in the <span class="guilabel">Permitted to use</span> box.</p></li><li><p>Click on the group “<span class="quote">Everyone</span>”, click on <span class="guibutton">OK</span>. This341 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>339 PDC.</p></div></li><li class="step" title="Step 3"><p>Click on the <span class="guibutton">Copy To</span> button.</p></li><li class="step" title="Step 4"><p>In the box labeled <span class="guilabel">Copy Profile to</span> add your new path, such as, 340 <code class="filename">c:\temp\foobar</code></p></li><li class="step" title="Step 5"><p>Click on <span class="guibutton">Change</span> in the <span class="guilabel">Permitted to use</span> box.</p></li><li class="step" title="Step 6"><p>Click on the group <span class="quote">“<span class="quote">Everyone</span>”</span>, click on <span class="guibutton">OK</span>. This 341 closes the <span class="quote">“<span class="quote">choose user</span>”</span> box.</p></li><li class="step" title="Step 7"><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="id2662971"></a>Side Bar Notes</h4></div></div></div><p>344 <a class="indexterm" name="id266 2979"></a>345 <a class="indexterm" name="id266 2986"></a>343 </p></div><div class="sect3" title="Side Bar Notes"><div class="titlepage"><div><div><h4 class="title"><a name="id2669023"></a>Side Bar Notes</h4></div></div></div><p> 344 <a class="indexterm" name="id2669031"></a> 345 <a class="indexterm" name="id2669038"></a> 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="id2663022"></a>moveuser.exe</h4></div></div></div><p>349 <a class="indexterm" name="id266 3030"></a>348 </p></div><div class="sect3" title="moveuser.exe"><div class="titlepage"><div><div><h4 class="title"><a name="id2669074"></a>moveuser.exe</h4></div></div></div><p> 349 <a class="indexterm" name="id2669082"></a> 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="id2663064"></a>Get SID</h4></div></div></div><p>356 <a class="indexterm" name="id266 3071"></a>357 <a class="indexterm" name="id266 3078"></a>355 </p></div><div class="sect3" title="Get SID"><div class="titlepage"><div><div><h4 class="title"><a name="id2669116"></a>Get SID</h4></div></div></div><p> 356 <a class="indexterm" name="id2669124"></a> 357 <a class="indexterm" name="id2669130"></a> 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="id2663129"></a>Mandatory Profiles</h2></div></div></div><p>368 <a class="indexterm" name="id266 3136"></a>367 </p></div></div></div><div class="sect1" title="Mandatory Profiles"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2669181"></a>Mandatory Profiles</h2></div></div></div><p> 368 <a class="indexterm" name="id2669189"></a> 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 … … 372 372 then this must be done through policy settings. See <a class="link" href="PolicyMgmt.html" title="Chapter 26. System and Account Policies">System and Account 373 373 Policies</a>. 374 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>375 <a class="indexterm" name="id266 3161"></a>376 <a class="indexterm" name="id266 3168"></a>377 <a class="indexterm" name="id266 3175"></a>374 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 375 <a class="indexterm" name="id2669213"></a> 376 <a class="indexterm" name="id2669220"></a> 377 <a class="indexterm" name="id2669227"></a> 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="id266 3206"></a>384 <a class="indexterm" name="id266 3212"></a>383 <a class="indexterm" name="id2669258"></a> 384 <a class="indexterm" name="id2669264"></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="id266 3246"></a>390 <a class="indexterm" name="id2669299"></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="id2663269"></a>Creating and Managing Group Profiles</h2></div></div></div><p>394 <a class="indexterm" name="id266 3277"></a>395 <a class="indexterm" name="id266 3284"></a>396 <a class="indexterm" name="id266 3290"></a>397 <a class="indexterm" name="id266 3297"></a>393 </p></div><div class="sect1" title="Creating and Managing Group Profiles"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2669321"></a>Creating and Managing Group Profiles</h2></div></div></div><p> 394 <a class="indexterm" name="id2669329"></a> 395 <a class="indexterm" name="id2669336"></a> 396 <a class="indexterm" name="id2669343"></a> 397 <a class="indexterm" name="id2669350"></a> 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="id266 3325"></a>404 <a class="indexterm" name="id2669377"></a> 405 405 The next step is rather important. Instead of assigning a group profile to users (Using User Manager) 406 on a “<span class="quote">per-user</span>”basis, the group itself is assigned the now modified profile.407 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>406 on a <span class="quote">“<span class="quote">per-user</span>”</span> basis, the group itself is assigned the now modified profile. 407 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 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="id2663347"></a>Default Profile for Windows Users</h2></div></div></div><p>411 <a class="indexterm" name="id266 3355"></a>412 <a class="indexterm" name="id266 3362"></a>410 </p></div></div><div class="sect1" title="Default Profile for Windows Users"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2669400"></a>Default Profile for Windows Users</h2></div></div></div><p> 411 <a class="indexterm" name="id2669408"></a> 412 <a class="indexterm" name="id2669415"></a> 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="id2663378"></a>MS Windows 9x/Me</h3></div></div></div><p>419 <a class="indexterm" name="id266 3386"></a>420 <a class="indexterm" name="id266 3393"></a>418 </p><div class="sect2" title="MS Windows 9x/Me"><div class="titlepage"><div><div><h3 class="title"><a name="id2669430"></a>MS Windows 9x/Me</h3></div></div></div><p> 419 <a class="indexterm" name="id2669438"></a> 420 <a class="indexterm" name="id2669445"></a> 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="id266 3454"></a>430 <a class="indexterm" name="id2669506"></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 Now add a DWORD type key with the name “<span class="quote">User Profiles.</span>”To enable user profiles to set the value433 Now add a DWORD type key with the name <span class="quote">“<span class="quote">User Profiles.</span>”</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="id2663487"></a>User Profile Handling with Windows 9x/Me</h4></div></div></div><p>435 </p><div class="sect3" title="User Profile Handling with Windows 9x/Me"><div class="titlepage"><div><div><h4 class="title"><a name="id2669539"></a>User Profile Handling with Windows 9x/Me</h4></div></div></div><p> 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="id2663529"></a>MS Windows NT4 Workstation</h3></div></div></div><p>451 </p></div></div><div class="sect2" title="MS Windows NT4 Workstation"><div class="titlepage"><div><div><h3 class="title"><a name="id2669587"></a>MS Windows NT4 Workstation</h3></div></div></div><p> 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 … … 462 462 </p><p> 463 463 When a new user first logs onto an MS Windows NT4 machine, a new profile is created from: 464 </p><div class="itemizedlist"><ul type="disc"><li><p>All Users settings.</p></li><li><p>Default User settings (contains the default <code class="filename">NTUser.DAT</code> file).</p></li></ul></div><p>465 <a class="indexterm" name="id266 3616"></a>464 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>All Users settings.</p></li><li class="listitem"><p>Default User settings (contains the default <code class="filename">NTUser.DAT</code> file).</p></li></ul></div><p> 465 <a class="indexterm" name="id2669675"></a> 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: 468 </p><div class="procedure"><ol type="1"><li><p> The user's account information that is obtained during the logon process468 </p><div class="procedure"><ol class="procedure" type="1"><li class="step" title="Step 1"><p> The user's account information that is obtained during the logon process 469 469 contains the location of the user's desktop profile. The profile path may be local to 470 470 the machine or it may be located on a network share. If there exists a profile at the … … 472 472 <code class="filename">%SystemRoot%\Profiles\%USERNAME%</code>. This profile then inherits the settings 473 473 in the <code class="filename">All Users</code> profile in the <code class="filename">%SystemRoot%\Profiles</code> 474 location. </p></li><li ><p> If the user account has a profile path, but at its location a profile does not474 location. </p></li><li class="step" title="Step 2"><p> If the user account has a profile path, but at its location a profile does not 475 475 exist, then a new profile is created in the <code class="filename">%SystemRoot%\Profiles\%USERNAME%</code> 476 directory from reading the <code class="filename">Default User</code> profile. </p></li><li ><p>477 <a class="indexterm" name="id266 3694"></a>478 <a class="indexterm" name="id266 3701"></a>479 <a class="indexterm" name="id266 3707"></a>480 <a class="indexterm" name="id266 3714"></a>481 <a class="indexterm" name="id266 3721"></a>476 directory from reading the <code class="filename">Default User</code> profile. </p></li><li class="step" title="Step 3"><p> 477 <a class="indexterm" name="id2669752"></a> 478 <a class="indexterm" name="id2669759"></a> 479 <a class="indexterm" name="id2669766"></a> 480 <a class="indexterm" name="id2669773"></a> 481 <a class="indexterm" name="id2669780"></a> 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 484 484 <code class="filename">NTUser.DAT</code>, which is applied to the <code class="filename">HKEY_CURRENT_USER</code> 485 485 part of the registry. 486 </p></li><li ><p> When the user logs out, if the profile is set to be a roaming profile, it will be486 </p></li><li class="step" title="Step 4"><p> When the user logs out, if the profile is set to be a roaming profile, it will be 487 487 written out to the location of the profile. The <code class="filename">NTuser.DAT</code> file is then 488 488 re-created from the contents of the <code class="filename">HKEY_CURRENT_USER</code> contents. Thus, … … 501 501 on logout. 502 502 </p><p> 503 <a class="indexterm" name="id266 3829"></a>503 <a class="indexterm" name="id2669887"></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="id266 3869"></a>522 <a class="indexterm" name="id2669927"></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="id2664091"></a>MS Windows 200x/XP</h3></div></div></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>533 <a class="indexterm" name="id26 64100"></a>534 <a class="indexterm" name="id26 64107"></a>535 <a class="indexterm" name="id26 64114"></a>536 <a class="indexterm" name="id26 64121"></a>532 </p><div class="table"><a name="regkeys"></a><p class="title"><b>Table 27.2. Defaults of Profile Settings Registry Keys</b></p><div class="table-contents"><table summary="Defaults of Profile Settings Registry Keys" border="1"><colgroup><col align="left"><col align="left"></colgroup><tbody><tr><td align="left">Common Desktop</td><td align="left">%SystemRoot%\Profiles\All Users\Desktop</td></tr><tr><td align="left">Common Programs</td><td align="left">%SystemRoot%\Profiles\All Users\Programs</td></tr><tr><td align="left">Common Start Menu</td><td align="left">%SystemRoot%\Profiles\All Users\Start Menu</td></tr><tr><td align="left">Common Startup</td><td align="left">%SystemRoot%\Profiles\All Users\Start Menu\Programs\Startup</td></tr></tbody></table></div></div><br class="table-break"></div><div class="sect2" title="MS Windows 200x/XP"><div class="titlepage"><div><div><h3 class="title"><a name="id2670149"></a>MS Windows 200x/XP</h3></div></div></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 533 <a class="indexterm" name="id2670158"></a> 534 <a class="indexterm" name="id2670165"></a> 535 <a class="indexterm" name="id2670172"></a> 536 <a class="indexterm" name="id2670179"></a> 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 64138"></a>543 <a class="indexterm" name="id2670197"></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 64161"></a>549 <a class="indexterm" name="id2670219"></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. … … 553 553 and if one exists there, it will copy this to the workstation in the <code class="filename">C:\Documents and 554 554 Settings\</code> under the Windows login name of the use. 555 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> This path translates, in Samba parlance, to the <code class="filename">smb.conf</code>555 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> This path translates, in Samba parlance, to the <code class="filename">smb.conf</code> 556 556 <em class="parameter"><code>[NETLOGON]</code></em> share. The directory should be created at the root 557 557 of this share and must be called <code class="filename">Default User</code>. … … 560 560 settings that pertain to the user. If no specific policies have been created or passed to the client 561 561 during the login process (as Samba does automatically), then the user's profile is written to the 562 local machine only under the path <code class="filename">C:\Documents and Settings\%USERNAME%</code>. </p><p> Those wishing to modify the default behavior can do so through these three methods: </p><div class="itemizedlist"><ul type="disc"><li><p> Modify the registry keys on the local machine manually and place the new562 local machine only under the path <code class="filename">C:\Documents and Settings\%USERNAME%</code>. </p><p> Those wishing to modify the default behavior can do so through these three methods: </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> Modify the registry keys on the local machine manually and place the new 563 563 default profile in the NETLOGON share root. This is not recommended because it is maintenance intensive. 564 </p></li><li ><p> Create an NT4-style NTConfig.POL file that specifies this behavior and locate565 this file in the root of the NETLOGON share along with the new default profile. </p></li><li ><p> Create a GPO that enforces this through Active Directory, and place the new564 </p></li><li class="listitem"><p> Create an NT4-style NTConfig.POL file that specifies this behavior and locate 565 this file in the root of the NETLOGON share along with the new default profile. </p></li><li class="listitem"><p> Create a GPO that enforces this through Active Directory, and place the new 566 566 default profile in the NETLOGON share. </p></li></ul></div><p>The registry hive key that affects the behavior of folders that are part of the default user 567 567 profile are controlled by entries on Windows 200x/XP is: </p><p> <code class="filename">HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell … … 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 64298"></a>572 </p><div class="table"><a name="defregpthkeys"></a><p class="title"><b>Table 27.3. Defaults of Default User Profile Paths Registry Keys</b></p><div class="table-contents"><table summary="Defaults of Default User Profile Paths Registry Keys" border="1"><colgroup><col align="left"><col align="left"></colgroup><thead><tr><th align="left">Name</th><th align="left">Default Value</th></tr></thead><tbody><tr><td align="left">AppData</td><td align="left">%USERPROFILE%\Application Data</td></tr><tr><td align="left">Cache</td><td align="left">%USERPROFILE%\Local Settings\Temporary Internet Files</td></tr><tr><td align="left">Cookies</td><td align="left">%USERPROFILE%\Cookies</td></tr><tr><td align="left">Desktop</td><td align="left">%USERPROFILE%\Desktop</td></tr><tr><td align="left">Favorites</td><td align="left">%USERPROFILE%\Favorites</td></tr><tr><td align="left">History</td><td align="left">%USERPROFILE%\Local Settings\History</td></tr><tr><td align="left">Local AppData</td><td align="left">%USERPROFILE%\Local Settings\Application Data</td></tr><tr><td align="left">Local Settings</td><td align="left">%USERPROFILE%\Local Settings</td></tr><tr><td align="left">My Pictures</td><td align="left">%USERPROFILE%\My Documents\My Pictures</td></tr><tr><td align="left">NetHood</td><td align="left">%USERPROFILE%\NetHood</td></tr><tr><td align="left">Personal</td><td align="left">%USERPROFILE%\My Documents</td></tr><tr><td align="left">PrintHood</td><td align="left">%USERPROFILE%\PrintHood</td></tr><tr><td align="left">Programs</td><td align="left">%USERPROFILE%\Start Menu\Programs</td></tr><tr><td align="left">Recent</td><td align="left">%USERPROFILE%\Recent</td></tr><tr><td align="left">SendTo</td><td align="left">%USERPROFILE%\SendTo</td></tr><tr><td align="left">Start Menu</td><td align="left">%USERPROFILE%\Start Menu</td></tr><tr><td align="left">Startup</td><td align="left">%USERPROFILE%\Start Menu\Programs\Startup</td></tr><tr><td align="left">Templates</td><td align="left">%USERPROFILE%\Templates</td></tr></tbody></table></div></div><br class="table-break"><p> There is also an entry called “<span class="quote">Default</span>”that has no value set. The default entry is571 <a class="indexterm" name="id2670356"></a> 572 </p><div class="table"><a name="defregpthkeys"></a><p class="title"><b>Table 27.3. Defaults of Default User Profile Paths Registry Keys</b></p><div class="table-contents"><table summary="Defaults of Default User Profile Paths Registry Keys" border="1"><colgroup><col align="left"><col align="left"></colgroup><thead><tr><th align="left">Name</th><th align="left">Default Value</th></tr></thead><tbody><tr><td align="left">AppData</td><td align="left">%USERPROFILE%\Application Data</td></tr><tr><td align="left">Cache</td><td align="left">%USERPROFILE%\Local Settings\Temporary Internet Files</td></tr><tr><td align="left">Cookies</td><td align="left">%USERPROFILE%\Cookies</td></tr><tr><td align="left">Desktop</td><td align="left">%USERPROFILE%\Desktop</td></tr><tr><td align="left">Favorites</td><td align="left">%USERPROFILE%\Favorites</td></tr><tr><td align="left">History</td><td align="left">%USERPROFILE%\Local Settings\History</td></tr><tr><td align="left">Local AppData</td><td align="left">%USERPROFILE%\Local Settings\Application Data</td></tr><tr><td align="left">Local Settings</td><td align="left">%USERPROFILE%\Local Settings</td></tr><tr><td align="left">My Pictures</td><td align="left">%USERPROFILE%\My Documents\My Pictures</td></tr><tr><td align="left">NetHood</td><td align="left">%USERPROFILE%\NetHood</td></tr><tr><td align="left">Personal</td><td align="left">%USERPROFILE%\My Documents</td></tr><tr><td align="left">PrintHood</td><td align="left">%USERPROFILE%\PrintHood</td></tr><tr><td align="left">Programs</td><td align="left">%USERPROFILE%\Start Menu\Programs</td></tr><tr><td align="left">Recent</td><td align="left">%USERPROFILE%\Recent</td></tr><tr><td align="left">SendTo</td><td align="left">%USERPROFILE%\SendTo</td></tr><tr><td align="left">Start Menu</td><td align="left">%USERPROFILE%\Start Menu</td></tr><tr><td align="left">Startup</td><td align="left">%USERPROFILE%\Start Menu\Programs\Startup</td></tr><tr><td align="left">Templates</td><td align="left">%USERPROFILE%\Templates</td></tr></tbody></table></div></div><br class="table-break"><p> There is also an entry called <span class="quote">“<span class="quote">Default</span>”</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 574 574 stored on a dedicated location on a network server. This means that it will not be necessary to write … … 590 590 A roaming profile is cached locally unless the following registry key is created: 591 591 592 <a class="indexterm" name="id26 64572"></a>592 <a class="indexterm" name="id2670630"></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="id2664596"></a>Common Errors</h2></div></div></div><p>596 </p></div></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2670655"></a>Common Errors</h2></div></div></div><p> 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="id2664607"></a>Configuring Roaming Profiles for a Few Users or Groups</h3></div></div></div><p>598 </p><div class="sect2" title="Configuring Roaming Profiles for a Few Users or Groups"><div class="titlepage"><div><div><h3 class="title"><a name="id2670666"></a>Configuring Roaming Profiles for a Few Users or Groups</h3></div></div></div><p> 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="id2664669"></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 class="itemizedlist" type="disc"><li class="listitem"><p>A profile unique to that user.</p></li><li class="listitem"><p>A mandatory profile (one the user cannot change).</p></li><li class="listitem"><p>A group profile (really should be mandatory that is, unchangable).</p></li></ul></div></div><div class="sect2" title="Cannot Use Roaming Profiles"><div class="titlepage"><div><div><h3 class="title"><a name="id2670727"></a>Cannot Use Roaming Profiles</h3></div></div></div><p> A user requested the following: <span class="quote">“<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 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 allow610 two days I tried everything, I googled around but found no useful pointers. Please help me. </span>”</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 611 611 autodeletion of LOCAL profiles on log out.</p></dd><dt><span class="term">Roaming profiles</span></dt><dd><p> As a user logs onto the network, a centrally 612 612 stored profile is copied to the workstation to form a local profile. This local profile … … 624 624 workstation, but they harvest the fruits of folly (and ignorance). </p><p> The point of this discussion is to show that roaming profiles and good controls of how they can be 625 625 changed as well as good discipline make for a problem-free site. </p><p> Microsoft's answer to the PST problem is to store all email in an MS Exchange Server backend. This 626 removes the need for a PST file. </p><p>Local profiles mean: </p><div class="itemizedlist"><ul type="disc"><li><p>If each machine is used by many users, then much local disk storage is needed627 for local profiles.</p></li><li ><p>Every workstation the user logs into has628 its own profile; these can be very different from machine to machine.</p></li></ul></div><p> On the other hand, use of roaming profiles means: </p><div class="itemizedlist"><ul type="disc"><li><p>The network administrator can control the desktop environment of all users.</p></li><li><p>Use of mandatory profiles drastically reduces network management overheads.</p></li><li><p>In the long run, users will experience fewer problems.</p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2664840"></a>Changing the Default Profile</h3></div></div></div><p>“<span class="quote">When the client logs onto the domain controller, it searches629 for a profile to download. Where do I put this default profile?</span>”</ p><p>630 <a class="indexterm" name="id26 64855"></a>626 removes the need for a PST file. </p><p>Local profiles mean: </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>If each machine is used by many users, then much local disk storage is needed 627 for local profiles.</p></li><li class="listitem"><p>Every workstation the user logs into has 628 its own profile; these can be very different from machine to machine.</p></li></ul></div><p> On the other hand, use of roaming profiles means: </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>The network administrator can control the desktop environment of all users.</p></li><li class="listitem"><p>Use of mandatory profiles drastically reduces network management overheads.</p></li><li class="listitem"><p>In the long run, users will experience fewer problems.</p></li></ul></div></div><div class="sect2" title="Changing the Default Profile"><div class="titlepage"><div><div><h3 class="title"><a name="id2670898"></a>Changing the Default Profile</h3></div></div></div><p><span class="quote">“<span class="quote">When the client logs onto the domain controller, it searches 629 for a profile to download. Where do I put this default profile?</span>”</span></p><p> 630 <a class="indexterm" name="id2670913"></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="id2664876"></a><em class="parameter"><code>security = user</code></em></td></tr><tr><td><a class="indexterm" name="id2664887"></a><em class="parameter"><code>os level = 32 (or more)</code></em></td></tr><tr><td><a class="indexterm" name="id2664899"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr></table><p> There must be a <em class="parameter"><code>[netlogon]</code></em> share that is world readable. It is632 setting in <code class="filename">smb.conf</code>: </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2670934"></a><em class="parameter"><code>security = user</code></em></td></tr><tr><td><a class="indexterm" name="id2670945"></a><em class="parameter"><code>os level = 32 (or more)</code></em></td></tr><tr><td><a class="indexterm" name="id2670957"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr></table><p> There must be a <em class="parameter"><code>[netlogon]</code></em> share that is world readable. It is 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 635 thing to do). </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> To invoke autodeletion of roaming profiles from the local workstation cache (disk storage), use635 thing to do). </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> To invoke autodeletion of roaming profiles from the local workstation cache (disk storage), use 636 636 the <span class="application">Group Policy Editor</span> to create a file called <code class="filename">NTConfig.POL</code> 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="id2664971"></a><em class="parameter"><code>logon path = \\%N\profiles\%U</code></em></td></tr><tr><td># Default logon drive is Z:</td></tr><tr><td><a class="indexterm" name="id2664987"></a><em class="parameter"><code>logon drive = H:</code></em></td></tr><tr><td># This requires a PROFILES share that is world writable.</td></tr></table></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2665004"></a>Debugging Roaming Profiles and NT4-style Domain Policies</h3></div></div></div><p>639 so they do not interoperate with domain profiles. </p><p> For roaming profiles, add to <code class="filename">smb.conf</code>: </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2671029"></a><em class="parameter"><code>logon path = \\%N\profiles\%U</code></em></td></tr><tr><td># Default logon drive is Z:</td></tr><tr><td><a class="indexterm" name="id2671045"></a><em class="parameter"><code>logon drive = H:</code></em></td></tr><tr><td># This requires a PROFILES share that is world writable.</td></tr></table></div><div class="sect2" title="Debugging Roaming Profiles and NT4-style Domain Policies"><div class="titlepage"><div><div><h3 class="title"><a name="id2671062"></a>Debugging Roaming Profiles and NT4-style Domain Policies</h3></div></div></div><p> 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.3.x/docs/htmldocs/Samba3-HOWTO/SWAT.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 37. SWAT: The Samba Web Administration Tool</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="migration.html" title="Part IV. Migration and Updating"><link rel="prev" href="NT4Migration.html" title="Chapter 36. Migration from NT4 PDC to Samba-3 PDC"><link rel="next" href="troubleshooting.html" title="Part V. Troubleshooting"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 37. SWAT: The Samba Web Administration Tool</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="NT4Migration.html">Prev</a> </td><th width="60%" align="center">Part IV. Migration and Updating</th><td width="20%" align="right"> <a accesskey="n" href="troubleshooting.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="SWAT"></a>Chapter 37. SWAT: The Samba Web Administration Tool</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2681115">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SWAT.html#id2681245">Guidelines and Technical Tips</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2681264">Validate SWAT Installation</a></span></dt><dt><span class="sect2"><a href="SWAT.html#xinetd">Enabling SWAT for Use</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2681902">Securing SWAT through SSL</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682054">Enabling SWAT Internationalization Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="SWAT.html#id2682252">Overview and Quick Tour</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2682265">The SWAT Home Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682326">Global Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682428">Share Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682483">Printers Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682540">The SWAT Wizard</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682603">The Status Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682647">The View Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682666">The Password Change Page</a></span></dt></dl></dd></dl></div><p>2 <a class="indexterm" name="id268 1079"></a>3 <a class="indexterm" name="id268 1086"></a>4 <a class="indexterm" name="id268 1093"></a>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 37. SWAT: The Samba Web Administration Tool</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="migration.html" title="Part IV. Migration and Updating"><link rel="prev" href="NT4Migration.html" title="Chapter 36. Migration from NT4 PDC to Samba-3 PDC"><link rel="next" href="troubleshooting.html" title="Part V. Troubleshooting"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 37. SWAT: The Samba Web Administration Tool</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="NT4Migration.html">Prev</a> </td><th width="60%" align="center">Part IV. Migration and Updating</th><td width="20%" align="right"> <a accesskey="n" href="troubleshooting.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 37. SWAT: The Samba Web Administration Tool"><div class="titlepage"><div><div><h2 class="title"><a name="SWAT"></a>Chapter 37. SWAT: The Samba Web Administration Tool</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2687177">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SWAT.html#id2687302">Guidelines and Technical Tips</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2687321">Validate SWAT Installation</a></span></dt><dt><span class="sect2"><a href="SWAT.html#xinetd">Enabling SWAT for Use</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2687958">Securing SWAT through SSL</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688110">Enabling SWAT Internationalization Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="SWAT.html#id2688308">Overview and Quick Tour</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2688322">The SWAT Home Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688382">Global Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688484">Share Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688540">Printers Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688596">The SWAT Wizard</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688659">The Status Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688703">The View Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688722">The Password Change Page</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2687141"></a> 3 <a class="indexterm" name="id2687148"></a> 4 <a class="indexterm" name="id2687154"></a> 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="id2681115"></a>Features and Benefits</h2></div></div></div><p>11 <a class="indexterm" name="id268 1123"></a>10 </p><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2687177"></a>Features and Benefits</h2></div></div></div><p> 11 <a class="indexterm" name="id2687185"></a> 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="id268 1151"></a>16 <a class="indexterm" name="id2687212"></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="id268 1172"></a>23 <a class="indexterm" name="id268 1178"></a>24 <a class="indexterm" name="id268 1185"></a>22 <a class="indexterm" name="id2687233"></a> 23 <a class="indexterm" name="id2687240"></a> 24 <a class="indexterm" name="id2687247"></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 … … 30 30 as well as parameters that are no longer supported, will be lost from the <code class="filename">smb.conf</code> file. 31 31 Additionally, the parameters will be written back in internal ordering. 32 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>33 <a class="indexterm" name="id268 1223"></a>32 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 33 <a class="indexterm" name="id2687280"></a> 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="id2681245"></a>Guidelines and Technical Tips</h2></div></div></div><p>38 <a class="indexterm" name="id268 1253"></a>37 </p></div></div><div class="sect1" title="Guidelines and Technical Tips"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2687302"></a>Guidelines and Technical Tips</h2></div></div></div><p> 38 <a class="indexterm" name="id2687310"></a> 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="id2681264"></a>Validate SWAT Installation</h3></div></div></div><p>42 <a class="indexterm" name="id268 1272"></a>41 </p><div class="sect2" title="Validate SWAT Installation"><div class="titlepage"><div><div><h3 class="title"><a name="id2687321"></a>Validate SWAT Installation</h3></div></div></div><p> 42 <a class="indexterm" name="id2687329"></a> 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="id268 1288"></a>49 <a class="indexterm" name="id2687345"></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="id268 1316"></a>57 <a class="indexterm" name="id268 1323"></a>56 <a class="indexterm" name="id2687372"></a> 57 <a class="indexterm" name="id2687379"></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="id2681334"></a>Locating the <code class="literal">SWAT</code> File</h4></div></div></div><p>62 <a class="indexterm" name="id268 1348"></a>63 <a class="indexterm" name="id268 1355"></a>64 <a class="indexterm" name="id268 1362"></a>61 </p><div class="sect3" title="Locating the SWAT File"><div class="titlepage"><div><div><h4 class="title"><a name="id2687391"></a>Locating the <code class="literal">SWAT</code> File</h4></div></div></div><p> 62 <a class="indexterm" name="id2687405"></a> 63 <a class="indexterm" name="id2687412"></a> 64 <a class="indexterm" name="id2687419"></a> 65 65 To validate that SWAT is installed, first locate the <code class="literal">swat</code> binary 66 file on the system. It may be found under the following directories:</p><table class="simplelist" border="0" summary="Simplelist"><tr><td><code class="filename">/usr/local/samba/bin</code> the default Samba location</td></tr><tr><td><code class="filename">/usr/sbin</code> the default location on most Linux systems</td></tr><tr><td><code class="filename">/opt/samba/bin</code></td></tr></table><p>66 file on the system. It may be found under the following directories:</p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename">/usr/local/samba/bin</code> the default Samba location</td></tr><tr><td><code class="filename">/usr/sbin</code> the default location on most Linux systems</td></tr><tr><td><code class="filename">/opt/samba/bin</code></td></tr></table><p> 67 67 </p><p> 68 68 The actual location is much dependent on the choice of the operating system vendor or as determined … … 72 72 The following methods may be helpful. 73 73 </p><p> 74 <a class="indexterm" name="id268 1434"></a>75 <a class="indexterm" name="id268 1441"></a>76 <a class="indexterm" name="id268 1448"></a>74 <a class="indexterm" name="id2687491"></a> 75 <a class="indexterm" name="id2687498"></a> 76 <a class="indexterm" name="id2687505"></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="id2681487"></a>Locating the SWAT Support Files</h4></div></div></div><p>94 </p></div><div class="sect3" title="Locating the SWAT Support Files"><div class="titlepage"><div><div><h4 class="title"><a name="id2687543"></a>Locating the SWAT Support Files</h4></div></div></div><p> 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: … … 163 163 If the files needed are not available, it is necessary to obtain and install them 164 164 before SWAT can be used. 165 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="xinetd"></a>Enabling SWAT for Use</h3></div></div></div><p>165 </p></div></div><div class="sect2" title="Enabling SWAT for Use"><div class="titlepage"><div><div><h3 class="title"><a name="xinetd"></a>Enabling SWAT for Use</h3></div></div></div><p> 166 166 SWAT should be installed to run via the network super-daemon. Depending on which system 167 167 your UNIX/Linux system has, you will have either an <code class="literal">inetd</code>- or … … 174 174 </p><p> 175 175 The control entry for the older style file might be: 176 <a class="indexterm" name="id268 1679"></a>176 <a class="indexterm" name="id2687736"></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="id268 1735"></a>205 <a class="indexterm" name="id268 1741"></a>206 <a class="indexterm" name="id268 1748"></a>207 <a class="indexterm" name="id268 1755"></a>204 <a class="indexterm" name="id2687791"></a> 205 <a class="indexterm" name="id2687798"></a> 206 <a class="indexterm" name="id2687805"></a> 207 <a class="indexterm" name="id2687812"></a> 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="id268 1796"></a>216 <a class="indexterm" name="id268 1803"></a>215 <a class="indexterm" name="id2687852"></a> 216 <a class="indexterm" name="id2687859"></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="id2681902"></a>Securing SWAT through SSL</h3></div></div></div><p>229 <a class="indexterm" name="id268 1910"></a>230 <a class="indexterm" name="id268 1917"></a>228 </p></div><div class="sect2" title="Securing SWAT through SSL"><div class="titlepage"><div><div><h3 class="title"><a name="id2687958"></a>Securing SWAT through SSL</h3></div></div></div><p> 229 <a class="indexterm" name="id2687966"></a> 230 <a class="indexterm" name="id2687973"></a> 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. 233 233 </p><p> 234 234 Modifications to the SWAT setup are as follows: 235 </p><div class="procedure"><ol type="1"><li><p>236 <a class="indexterm" name="id268 1942"></a>235 </p><div class="procedure"><ol class="procedure" type="1"><li class="step" title="Step 1"><p> 236 <a class="indexterm" name="id2687998"></a> 237 237 Install OpenSSL. 238 </p></li><li ><p>239 <a class="indexterm" name="id268 1956"></a>240 <a class="indexterm" name="id268 1962"></a>238 </p></li><li class="step" title="Step 2"><p> 239 <a class="indexterm" name="id2688012"></a> 240 <a class="indexterm" name="id2688019"></a> 241 241 Generate certificate and private key. 242 <a class="indexterm" name="id268 1970"></a>242 <a class="indexterm" name="id2688027"></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 \ 245 245 /usr/share/doc/packages/stunnel/stunnel.cnf \ 246 246 -out /etc/stunnel/stunnel.pem -keyout /etc/stunnel/stunnel.pem</code></strong> 247 </pre></li><li ><p>247 </pre></li><li class="step" title="Step 3"><p> 248 248 Remove SWAT entry from [x]inetd. 249 </p></li><li ><p>250 <a class="indexterm" name="id268 2008"></a>249 </p></li><li class="step" title="Step 4"><p> 250 <a class="indexterm" name="id2688065"></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="id2682054"></a>Enabling SWAT Internationalization Support</h3></div></div></div><p>258 </p></div><div class="sect2" title="Enabling SWAT Internationalization Support"><div class="titlepage"><div><div><h3 class="title"><a name="id2688110"></a>Enabling SWAT Internationalization Support</h3></div></div></div><p> 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 … … 262 262 </p><p> 263 263 To enable this feature: 264 </p><div class="itemizedlist"><ul type="disc"><li><p>264 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 265 265 Install the proper <code class="literal">msg</code> files from the Samba 266 266 <code class="filename">source/po</code> directory into $LIBDIR. 267 </p></li><li ><p>267 </p></li><li class="listitem"><p> 268 268 Set your browsers language setting. 269 269 </p></li></ul></div><p> 270 <a class="indexterm" name="id268 2098"></a>271 <a class="indexterm" name="id268 2105"></a>272 <a class="indexterm" name="id268 2111"></a>273 <a class="indexterm" name="id268 2118"></a>270 <a class="indexterm" name="id2688154"></a> 271 <a class="indexterm" name="id2688161"></a> 272 <a class="indexterm" name="id2688168"></a> 273 <a class="indexterm" name="id2688175"></a> 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="id268 2147"></a>277 <a class="indexterm" name="id2688204"></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 280 to the directory for “<span class="quote">your language ID.msg</span>”and filling in proper strings281 to each “<span class="quote">msgstr</span>”. For example, in <code class="filename">it.msg</code>, the280 to the directory for <span class="quote">“<span class="quote">your language ID.msg</span>”</span> and filling in proper strings 281 to each <span class="quote">“<span class="quote">msgstr</span>”</span>. For example, in <code class="filename">it.msg</code>, the 282 282 <code class="literal">msg</code> file for the Italian locale, just set: 283 283 </p><pre class="screen"> … … 285 285 msgstr "Imposta Default" 286 286 </pre><p> 287 <a class="indexterm" name="id268 2195"></a>287 <a class="indexterm" name="id2688252"></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="id268 2219"></a>291 <a class="indexterm" name="id2688276"></a> 292 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="id2682252"></a>Overview and Quick Tour</h2></div></div></div><p>296 </p></div></div><div class="sect1" title="Overview and Quick Tour"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2688308"></a>Overview and Quick Tour</h2></div></div></div><p> 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="id2682265"></a>The SWAT Home Page</h3></div></div></div><p>300 </p><div class="sect2" title="The SWAT Home Page"><div class="titlepage"><div><div><h3 class="title"><a name="id2688322"></a>The SWAT Home Page</h3></div></div></div><p> 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 303 document) as well as the O'Reilly book “<span class="quote">Using Samba.</span>”303 document) as well as the O'Reilly book <span class="quote">“<span class="quote">Using Samba.</span>”</span> 304 304 </p><p> 305 305 Administrators who wish to validate their Samba configuration may obtain useful information … … 307 307 also. One diagnostic tool that is not mentioned on this page but that is particularly 308 308 useful is <a class="ulink" href="http://www.ethereal.com/" target="_top"><code class="literal">ethereal</code></a>. 309 </p><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>309 </p><div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p> 310 310 SWAT can be configured to run in <span class="emphasis"><em>demo</em></span> mode. This is not recommended 311 311 because it runs SWAT without authentication and with full administrative ability. It allows … … 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="id2682326"></a>Global Settings</h3></div></div></div><p>315 </p></div></div><div class="sect2" title="Global Settings"><div class="titlepage"><div><div><h3 class="title"><a name="id2688382"></a>Global Settings</h3></div></div></div><p> 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: 318 </p><div class="itemizedlist"><ul type="disc"><li><p>318 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 319 319 <span class="guibutton">Basic</span> exposes common configuration options. 320 </p></li><li ><p>320 </p></li><li class="listitem"><p> 321 321 <span class="guibutton">Advanced</span> exposes configuration options needed in more 322 322 complex environments. … … 329 329 <span class="guibutton">Commit Changes</span> button before moving to another area; otherwise, 330 330 your changes will be lost. 331 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>331 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 332 332 SWAT has context-sensitive help. To find out what each parameter is 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="id2682428"></a>Share Settings</h3></div></div></div><p>335 </p></div></div><div class="sect2" title="Share Settings"><div class="titlepage"><div><div><h3 class="title"><a name="id2688484"></a>Share Settings</h3></div></div></div><p> 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="id2682483"></a>Printers Settings</h3></div></div></div><p>346 </p></div><div class="sect2" title="Printers Settings"><div class="titlepage"><div><div><h3 class="title"><a name="id2688540"></a>Printers Settings</h3></div></div></div><p> 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="id2682540"></a>The SWAT Wizard</h3></div></div></div><p>357 </p></div><div class="sect2" title="The SWAT Wizard"><div class="titlepage"><div><div><h3 class="title"><a name="id2688596"></a>The SWAT Wizard</h3></div></div></div><p> 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="id2682603"></a>The Status Page</h3></div></div></div><p>373 </p></div><div class="sect2" title="The Status Page"><div class="titlepage"><div><div><h3 class="title"><a name="id2688659"></a>The Status Page</h3></div></div></div><p> 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="id2682647"></a>The View Page</h3></div></div></div><p>384 </p></div><div class="sect2" title="The View Page"><div class="titlepage"><div><div><h3 class="title"><a name="id2688703"></a>The View Page</h3></div></div></div><p> 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="id2682666"></a>The Password Change Page</h3></div></div></div><p>388 </p></div><div class="sect2" title="The Password Change Page"><div class="titlepage"><div><div><h3 class="title"><a name="id2688722"></a>The Password Change Page</h3></div></div></div><p> 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.3.x/docs/htmldocs/Samba3-HOWTO/SambaHA.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 32. High Availability</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="Backup.html" title="Chapter 31. Backup Techniques"><link rel="next" href="largefile.html" title="Chapter 33. Handling Large Directories"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 32. High Availability</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="Backup.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="largefile.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="SambaHA"></a>Chapter 32. High Availability</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2672036">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SambaHA.html#id2672157">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="SambaHA.html#id2672191">The Ultimate Goal</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2672321">Why Is This So Hard?</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2673034">A Simple Solution</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2673115">High-Availability Server Products</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2673255">MS-DFS: The Poor Man's Cluster</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2673292">Conclusions</a></span></dt></dl></dd></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2672036"></a>Features and Benefits</h2></div></div></div><p>2 <a class="indexterm" name="id267 2044"></a>3 <a class="indexterm" name="id267 2051"></a>4 <a class="indexterm" name="id267 2058"></a>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 32. High Availability</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="Backup.html" title="Chapter 31. Backup Techniques"><link rel="next" href="largefile.html" title="Chapter 33. Handling Large Directories"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 32. High Availability</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="Backup.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="largefile.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 32. High Availability"><div class="titlepage"><div><div><h2 class="title"><a name="SambaHA"></a>Chapter 32. High Availability</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2678091">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SambaHA.html#id2678212">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="SambaHA.html#id2678246">The Ultimate Goal</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2678376">Why Is This So Hard?</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2679095">A Simple Solution</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2679176">High-Availability Server Products</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2679316">MS-DFS: The Poor Man's Cluster</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2679353">Conclusions</a></span></dt></dl></dd></dl></div><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2678091"></a>Features and Benefits</h2></div></div></div><p> 2 <a class="indexterm" name="id2678099"></a> 3 <a class="indexterm" name="id2678106"></a> 4 <a class="indexterm" name="id2678113"></a> 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="id267 2079"></a>12 <a class="indexterm" name="id267 2085"></a>13 <a class="indexterm" name="id267 2092"></a>14 <a class="indexterm" name="id267 2099"></a>11 <a class="indexterm" name="id2678134"></a> 12 <a class="indexterm" name="id2678140"></a> 13 <a class="indexterm" name="id2678147"></a> 14 <a class="indexterm" name="id2678154"></a> 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="id267 2123"></a>25 <a class="indexterm" name="id267 2130"></a>26 <a class="indexterm" name="id267 2137"></a>24 <a class="indexterm" name="id2678178"></a> 25 <a class="indexterm" name="id2678185"></a> 26 <a class="indexterm" name="id2678192"></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="id2672157"></a>Technical Discussion</h2></div></div></div><p>36 <a class="indexterm" name="id267 2165"></a>37 <a class="indexterm" name="id267 2172"></a>38 <a class="indexterm" name="id267 2179"></a>35 </p></div><div class="sect1" title="Technical Discussion"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2678212"></a>Technical Discussion</h2></div></div></div><p> 36 <a class="indexterm" name="id2678220"></a> 37 <a class="indexterm" name="id2678227"></a> 38 <a class="indexterm" name="id2678234"></a> 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="id2672191"></a>The Ultimate Goal</h3></div></div></div><p>43 <a class="indexterm" name="id267 2199"></a>44 <a class="indexterm" name="id267 2206"></a>45 <a class="indexterm" name="id267 2213"></a>42 </p><div class="sect2" title="The Ultimate Goal"><div class="titlepage"><div><div><h3 class="title"><a name="id2678246"></a>The Ultimate Goal</h3></div></div></div><p> 43 <a class="indexterm" name="id2678254"></a> 44 <a class="indexterm" name="id2678261"></a> 45 <a class="indexterm" name="id2678268"></a> 46 46 All clustering technologies aim to achieve one or more of the following: 47 </p><div class="itemizedlist"><ul type="disc"><li><p>Obtain the maximum affordable computational power.</p></li><li><p>Obtain faster program execution.</p></li><li><p>Deliver unstoppable services.</p></li><li><p>Avert points of failure.</p></li><li><p>Exact most effective utilization of resources.</p></li></ul></div><p>47 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Obtain the maximum affordable computational power.</p></li><li class="listitem"><p>Obtain faster program execution.</p></li><li class="listitem"><p>Deliver unstoppable services.</p></li><li class="listitem"><p>Avert points of failure.</p></li><li class="listitem"><p>Exact most effective utilization of resources.</p></li></ul></div><p> 48 48 A clustered file server ideally has the following properties: 49 <a class="indexterm" name="id267 2254"></a>50 <a class="indexterm" name="id267 2261"></a>51 <a class="indexterm" name="id267 2268"></a>52 <a class="indexterm" name="id267 2275"></a>53 </p><div class="itemizedlist"><ul type="disc"><li><p>All clients can connect transparently to any server.</p></li><li><p>A server can fail and clients are transparently reconnected to another server.</p></li><li><p>All servers serve out the same set of files.</p></li><li><p>All file changes are immediately seen on all servers.</p><div class="itemizedlist"><ul type="circle"><li><p>Requires a distributed file system.</p></li></ul></div></li><li><p>Infinite ability to scale by adding more servers or disks.</p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2672321"></a>Why Is This So Hard?</h3></div></div></div><p>49 <a class="indexterm" name="id2678309"></a> 50 <a class="indexterm" name="id2678316"></a> 51 <a class="indexterm" name="id2678323"></a> 52 <a class="indexterm" name="id2678330"></a> 53 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>All clients can connect transparently to any server.</p></li><li class="listitem"><p>A server can fail and clients are transparently reconnected to another server.</p></li><li class="listitem"><p>All servers serve out the same set of files.</p></li><li class="listitem"><p>All file changes are immediately seen on all servers.</p><div class="itemizedlist"><ul class="itemizedlist" type="circle"><li class="listitem"><p>Requires a distributed file system.</p></li></ul></div></li><li class="listitem"><p>Infinite ability to scale by adding more servers or disks.</p></li></ul></div></div><div class="sect2" title="Why Is This So Hard?"><div class="titlepage"><div><div><h3 class="title"><a name="id2678376"></a>Why Is This So Hard?</h3></div></div></div><p> 54 54 In short, the problem is one of <span class="emphasis"><em>state</em></span>. 55 </p><div class="itemizedlist"><ul type="disc"><li><p>56 <a class="indexterm" name="id267 2340"></a>55 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 56 <a class="indexterm" name="id2678395"></a> 57 57 All TCP/IP connections are dependent on state information. 58 58 </p><p> 59 <a class="indexterm" name="id267 2352"></a>59 <a class="indexterm" name="id2678406"></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 </p></li><li ><p>64 <a class="indexterm" name="id267 2368"></a>65 <a class="indexterm" name="id267 2375"></a>63 </p></li><li class="listitem"><p> 64 <a class="indexterm" name="id2678423"></a> 65 <a class="indexterm" name="id2678430"></a> 66 66 CIFS/SMB (the Windows networking protocols) uses TCP connections. 67 67 </p><p> 68 68 This means that from a basic design perspective, failover is not 69 69 seriously considered. 70 </p><div class="itemizedlist"><ul type="circle"><li><p>70 </p><div class="itemizedlist"><ul class="itemizedlist" type="circle"><li class="listitem"><p> 71 71 All current SMB clusters are failover solutions 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="id267 2400"></a>74 <a class="indexterm" name="id2678455"></a> 75 75 </p></li></ul></div><p> 76 </p></li><li ><p>76 </p></li><li class="listitem"><p> 77 77 Servers keep state information about client connections. 78 </p><div class="itemizedlist"><a class="indexterm" name="id267 2418"></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="id2678473"></a><ul class="itemizedlist" type="circle"><li class="listitem"><p>CIFS/SMB involves a lot of state.</p></li><li class="listitem"><p>Every file open must be compared with other open files 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="id2672440"></a>The Front-End Challenge</h4></div></div></div><p>81 <a class="indexterm" name="id267 2448"></a>82 <a class="indexterm" name="id267 2454"></a>83 <a class="indexterm" name="id267 2461"></a>84 <a class="indexterm" name="id267 2468"></a>85 <a class="indexterm" name="id267 2475"></a>86 <a class="indexterm" name="id267 2482"></a>87 <a class="indexterm" name="id267 2489"></a>80 </p></li></ul></div><div class="sect3" title="The Front-End Challenge"><div class="titlepage"><div><div><h4 class="title"><a name="id2678494"></a>The Front-End Challenge</h4></div></div></div><p> 81 <a class="indexterm" name="id2678502"></a> 82 <a class="indexterm" name="id2678509"></a> 83 <a class="indexterm" name="id2678516"></a> 84 <a class="indexterm" name="id2678523"></a> 85 <a class="indexterm" name="id2678530"></a> 86 <a class="indexterm" name="id2678537"></a> 87 <a class="indexterm" name="id2678544"></a> 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="id267 2505"></a>94 <a class="indexterm" name="id267 2512"></a>93 <a class="indexterm" name="id2678560"></a> 94 <a class="indexterm" name="id2678567"></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="id2672534"></a>Demultiplexing SMB Requests</h4></div></div></div><p>102 <a class="indexterm" name="id267 2542"></a>103 <a class="indexterm" name="id267 2548"></a>104 <a class="indexterm" name="id267 2556"></a>105 <a class="indexterm" name="id267 2563"></a>101 </p></div><div class="sect3" title="Demultiplexing SMB Requests"><div class="titlepage"><div><div><h4 class="title"><a name="id2678589"></a>Demultiplexing SMB Requests</h4></div></div></div><p> 102 <a class="indexterm" name="id2678596"></a> 103 <a class="indexterm" name="id2678603"></a> 104 <a class="indexterm" name="id2678610"></a> 105 <a class="indexterm" name="id2678618"></a> 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="id267 2580"></a>111 <a class="indexterm" name="id267 2587"></a>112 <a class="indexterm" name="id267 2593"></a>110 <a class="indexterm" name="id2678635"></a> 111 <a class="indexterm" name="id2678642"></a> 112 <a class="indexterm" name="id2678648"></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="id267 2607"></a>118 <a class="indexterm" name="id267 2614"></a>117 <a class="indexterm" name="id2678662"></a> 118 <a class="indexterm" name="id2678669"></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="id267 2628"></a>124 <a class="indexterm" name="id2678683"></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="id2672640"></a>The Distributed File System Challenge</h4></div></div></div><p>128 <a class="indexterm" name="id267 2648"></a>127 </p></div><div class="sect3" title="The Distributed File System Challenge"><div class="titlepage"><div><div><h4 class="title"><a name="id2678695"></a>The Distributed File System Challenge</h4></div></div></div><p> 128 <a class="indexterm" name="id2678703"></a> 129 129 There exists many distributed file systems for UNIX and Linux. 130 130 </p><p> 131 <a class="indexterm" name="id267 2660"></a>132 <a class="indexterm" name="id267 2666"></a>133 <a class="indexterm" name="id267 2673"></a>134 <a class="indexterm" name="id267 2680"></a>135 <a class="indexterm" name="id267 2687"></a>136 <a class="indexterm" name="id267 2694"></a>131 <a class="indexterm" name="id2678714"></a> 132 <a class="indexterm" name="id2678721"></a> 133 <a class="indexterm" name="id2678728"></a> 134 <a class="indexterm" name="id2678735"></a> 135 <a class="indexterm" name="id2678742"></a> 136 <a class="indexterm" name="id2678749"></a> 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="id267 2704"></a>141 <a class="indexterm" name="id267 2711"></a>142 <a class="indexterm" name="id267 2718"></a>143 <a class="indexterm" name="id267 2725"></a>144 </p><div class="itemizedlist"><ul type="disc"><li><p>NFS</p></li><li><p>AFS</p></li><li><p>OpenGFS</p></li><li><p>Lustre</p></li></ul></div><p>145 <a class="indexterm" name="id267 2755"></a>140 <a class="indexterm" name="id2678759"></a> 141 <a class="indexterm" name="id2678766"></a> 142 <a class="indexterm" name="id2678773"></a> 143 <a class="indexterm" name="id2678780"></a> 144 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>NFS</p></li><li class="listitem"><p>AFS</p></li><li class="listitem"><p>OpenGFS</p></li><li class="listitem"><p>Lustre</p></li></ul></div><p> 145 <a class="indexterm" name="id2678810"></a> 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="id2672767"></a>Restrictive Constraints on Distributed File Systems</h4></div></div></div><p>149 <a class="indexterm" name="id267 2775"></a>150 <a class="indexterm" name="id267 2782"></a>151 <a class="indexterm" name="id267 2789"></a>152 <a class="indexterm" name="id267 2796"></a>148 </p></div><div class="sect3" title="Restrictive Constraints on Distributed File Systems"><div class="titlepage"><div><div><h4 class="title"><a name="id2678822"></a>Restrictive Constraints on Distributed File Systems</h4></div></div></div><p> 149 <a class="indexterm" name="id2678830"></a> 150 <a class="indexterm" name="id2678837"></a> 151 <a class="indexterm" name="id2678844"></a> 152 <a class="indexterm" name="id2678851"></a> 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="id267 2809"></a>158 <a class="indexterm" name="id267 2816"></a>157 <a class="indexterm" name="id2678864"></a> 158 <a class="indexterm" name="id2678871"></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="id2672836"></a>Server Pool Communications</h4></div></div></div><p>167 <a class="indexterm" name="id267 2844"></a>168 <a class="indexterm" name="id267 2851"></a>169 <a class="indexterm" name="id267 2858"></a>170 <a class="indexterm" name="id267 2864"></a>166 </p></div><div class="sect3" title="Server Pool Communications"><div class="titlepage"><div><div><h4 class="title"><a name="id2678898"></a>Server Pool Communications</h4></div></div></div><p> 167 <a class="indexterm" name="id2678906"></a> 168 <a class="indexterm" name="id2678913"></a> 169 <a class="indexterm" name="id2678919"></a> 170 <a class="indexterm" name="id2678926"></a> 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="id267 2878"></a>176 <a class="indexterm" name="id267 2885"></a>177 <a class="indexterm" name="id267 2891"></a>175 <a class="indexterm" name="id2678940"></a> 176 <a class="indexterm" name="id2678946"></a> 177 <a class="indexterm" name="id2678953"></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="id2672922"></a>Server Pool Communications Demands</h4></div></div></div><p>181 </p></div><div class="sect3" title="Server Pool Communications Demands"><div class="titlepage"><div><div><h4 class="title"><a name="id2678983"></a>Server Pool Communications Demands</h4></div></div></div><p> 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="id267 2936"></a><a class="indexterm" name="id2672942"></a><ul type="disc"><li><p>184 </p><div class="itemizedlist"><a class="indexterm" name="id2678997"></a><a class="indexterm" name="id2679004"></a><ul class="itemizedlist" type="disc"><li class="listitem"><p> 185 185 Proprietary shared memory bus (example: Myrinet or SCI [scalable coherent interface]). 186 186 These are high-cost items. 187 </p></li><li ><p>187 </p></li><li class="listitem"><p> 188 188 Gigabit Ethernet (now quite affordable). 189 </p></li><li ><p>189 </p></li><li class="listitem"><p> 190 190 Raw Ethernet framing (to bypass TCP and UDP overheads). 191 191 </p></li></ul></div><p> 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="id2672976"></a>Required Modifications to Samba</h4></div></div></div><p>194 </p></div><div class="sect3" title="Required Modifications to Samba"><div class="titlepage"><div><div><h4 class="title"><a name="id2679038"></a>Required Modifications to Samba</h4></div></div></div><p> 195 195 Samba needs to be significantly modified to work with a high-speed server interconnect 196 196 system to permit transparent failover clustering. 197 197 </p><p> 198 198 Particular functions inside Samba that will be affected include: 199 </p><div class="itemizedlist"><ul type="disc"><li><p>199 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 200 200 The locking database, oplock notifications, 201 201 and the share mode database. 202 </p></li><li ><p>203 <a class="indexterm" name="id267 3004"></a>204 <a class="indexterm" name="id267 3011"></a>202 </p></li><li class="listitem"><p> 203 <a class="indexterm" name="id2679065"></a> 204 <a class="indexterm" name="id2679072"></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 207 207 potentially dangerous in a clustered environment. So how should interserver 208 208 pool failure semantics function, and how should such functionality be implemented? 209 </p></li><li ><p>209 </p></li><li class="listitem"><p> 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="id2673034"></a>A Simple Solution</h3></div></div></div><p>213 <a class="indexterm" name="id267 3042"></a>214 <a class="indexterm" name="id267 3049"></a>215 <a class="indexterm" name="id267 3056"></a>212 </p></li></ul></div></div></div><div class="sect2" title="A Simple Solution"><div class="titlepage"><div><div><h3 class="title"><a name="id2679095"></a>A Simple Solution</h3></div></div></div><p> 213 <a class="indexterm" name="id2679103"></a> 214 <a class="indexterm" name="id2679110"></a> 215 <a class="indexterm" name="id2679117"></a> 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="id267 3069"></a>220 <a class="indexterm" name="id267 3076"></a>219 <a class="indexterm" name="id2679130"></a> 220 <a class="indexterm" name="id2679138"></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="id267 3100"></a>227 <a class="indexterm" name="id2679162"></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="id2673115"></a>High-Availability Server Products</h3></div></div></div><p>231 <a class="indexterm" name="id267 3123"></a>232 <a class="indexterm" name="id267 3130"></a>233 <a class="indexterm" name="id267 3137"></a>234 <a class="indexterm" name="id267 3144"></a>235 <a class="indexterm" name="id267 3150"></a>230 </p></div><div class="sect2" title="High-Availability Server Products"><div class="titlepage"><div><div><h3 class="title"><a name="id2679176"></a>High-Availability Server Products</h3></div></div></div><p> 231 <a class="indexterm" name="id2679184"></a> 232 <a class="indexterm" name="id2679191"></a> 233 <a class="indexterm" name="id2679198"></a> 234 <a class="indexterm" name="id2679205"></a> 235 <a class="indexterm" name="id2679212"></a> 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="id267 3165"></a>242 <a class="indexterm" name="id267 3172"></a>243 <a class="indexterm" name="id267 3179"></a>244 <a class="indexterm" name="id267 3186"></a>245 <a class="indexterm" name="id267 3193"></a>241 <a class="indexterm" name="id2679227"></a> 242 <a class="indexterm" name="id2679234"></a> 243 <a class="indexterm" name="id2679241"></a> 244 <a class="indexterm" name="id2679248"></a> 245 <a class="indexterm" name="id2679255"></a> 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="id267 3215"></a>251 <a class="indexterm" name="id2679277"></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="id267 3235"></a>257 <a class="indexterm" name="id267 3242"></a>256 <a class="indexterm" name="id2679297"></a> 257 <a class="indexterm" name="id2679304"></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="id2673255"></a>MS-DFS: The Poor Man's Cluster</h3></div></div></div><p>262 <a class="indexterm" name="id267 3263"></a>263 <a class="indexterm" name="id267 3270"></a>261 </p></div><div class="sect2" title="MS-DFS: The Poor Man's Cluster"><div class="titlepage"><div><div><h3 class="title"><a name="id2679316"></a>MS-DFS: The Poor Man's Cluster</h3></div></div></div><p> 262 <a class="indexterm" name="id2679324"></a> 263 <a class="indexterm" name="id2679331"></a> 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="id2673292"></a>Conclusions</h3></div></div></div><div class="itemizedlist"><ul type="disc"><li><p>Transparent SMB clustering is hard to do!</p></li><li><p>Client failover is the best we can do today.</p></li><li><p>Much more work is needed before a practical and manageable high-availability transparent cluster solution will be possible.</p></li><li><p>MS-DFS can be used to create the illusion of a single transparent cluster.</p></li></ul></div></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="Backup.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="optional.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="largefile.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 31. Backup Techniques </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 33. Handling Large Directories</td></tr></table></div></body></html>271 </p></div><div class="sect2" title="Conclusions"><div class="titlepage"><div><div><h3 class="title"><a name="id2679353"></a>Conclusions</h3></div></div></div><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Transparent SMB clustering is hard to do!</p></li><li class="listitem"><p>Client failover is the best we can do today.</p></li><li class="listitem"><p>Much more work is needed before a practical and manageable high-availability transparent cluster solution will be possible.</p></li><li class="listitem"><p>MS-DFS can be used to create the illusion of a single transparent cluster.</p></li></ul></div></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="Backup.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="optional.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="largefile.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 31. Backup Techniques </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 33. Handling Large Directories</td></tr></table></div></body></html> -
branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/ServerType.html
r274 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 3. Server Types and Security Modes</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="type.html" title="Part II. Server Configuration Basics"><link rel="prev" href="type.html" title="Part II. Server Configuration Basics"><link rel="next" href="samba-pdc.html" title="Chapter 4. Domain Control"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 3. Server Types and Security Modes</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="type.html">Prev</a> </td><th width="60%" align="center">Part II. Server Configuration Basics</th><td width="20%" align="right"> <a accesskey="n" href="samba-pdc.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="ServerType"></a>Chapter 3. Server Types and Security Modes</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Andrew</span> <span class="orgname">Samba Team</span> <span class="surname">Tridgell</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2558832">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2558991">Server Types</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2559136">Samba Security Modes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2559298">User Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2559461">Share-Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2559653">Domain Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560148">ADS Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560291">Server Security (User Level Security)</a></span></dt></dl></dd><dt><span class="sect1"><a href="ServerType.html#id2560566">Password Checking</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2560753">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2560783">What Makes Samba a Server?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560815">What Makes Samba a Domain Controller?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560852">What Makes Samba a Domain Member?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560879">Constantly Losing Connections to Password Server</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560937">Stand-alone Server is converted to Domain Controller Now User accounts don't work</a></span></dt></dl></dd></dl></div><p>2 <a class="indexterm" name="id25 58793"></a>3 <a class="indexterm" name="id25 58799"></a>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 3. Server Types and Security Modes</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="type.html" title="Part II. Server Configuration Basics"><link rel="prev" href="type.html" title="Part II. Server Configuration Basics"><link rel="next" href="samba-pdc.html" title="Chapter 4. Domain Control"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 3. Server Types and Security Modes</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="type.html">Prev</a> </td><th width="60%" align="center">Part II. Server Configuration Basics</th><td width="20%" align="right"> <a accesskey="n" href="samba-pdc.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 3. Server Types and Security Modes"><div class="titlepage"><div><div><h2 class="title"><a name="ServerType"></a>Chapter 3. Server Types and Security Modes</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Andrew</span> <span class="surname">Tridgell</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2564889">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2565049">Server Types</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2565193">Samba Security Modes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2565355">User Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2565518">Share-Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2565710">Domain Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2566205">ADS Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2566348">Server Security (User Level Security)</a></span></dt></dl></dd><dt><span class="sect1"><a href="ServerType.html#id2566623">Password Checking</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2566810">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2566840">What Makes Samba a Server?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2566873">What Makes Samba a Domain Controller?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2566910">What Makes Samba a Domain Member?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2566937">Constantly Losing Connections to Password Server</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2566995">Stand-alone Server is converted to Domain Controller Now User accounts don't work</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2564850"></a> 3 <a class="indexterm" name="id2564856"></a> 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 … … 11 11 Windows servers and clients. 12 12 </p><p> 13 A question often asked is, “<span class="quote">Why would I want to use Samba?</span>”Most chapters contain a section that13 A question often asked is, <span class="quote">“<span class="quote">Why would I want to use Samba?</span>”</span> Most chapters contain a section that 14 14 highlights features and benefits. We hope that the information provided will help to answer this question. Be 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="id2558832"></a>Features and Benefits</h2></div></div></div><p>17 </p><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2564889"></a>Features and Benefits</h2></div></div></div><p> 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 20 and fury befitting his anguish. The other looked at the stone and said, “<span class="quote">This is a garnet.21 I can turn that into a precious gem and some day it will make a princess very happy!</span>” 20 and fury befitting his anguish. The other looked at the stone and said, <span class="quote">“<span class="quote">This is a garnet. 21 I can turn that into a precious gem and some day it will make a princess very happy!</span>”</span> 22 22 </p><p> 23 23 The moral of this tale: Two men, two very different perspectives regarding the same stone. … … 26 26 a source of discomfort. 27 27 </p><p> 28 <a class="indexterm" name="id25 58860"></a>29 <a class="indexterm" name="id25 58869"></a>28 <a class="indexterm" name="id2564918"></a> 29 <a class="indexterm" name="id2564926"></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 … … 34 34 </p><p> 35 35 So, what are the benefits of the features mentioned in this chapter? 36 </p><div class="itemizedlist"><ul type="disc"><li><p>37 <a class="indexterm" name="id25 58891"></a>36 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 37 <a class="indexterm" name="id2564949"></a> 38 38 Samba-3 can replace an MS Windows NT4 domain controller. 39 </p></li><li ><p>40 <a class="indexterm" name="id25 58905"></a>39 </p></li><li class="listitem"><p> 40 <a class="indexterm" name="id2564962"></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 </p></li><li ><p>44 <a class="indexterm" name="id25 58918"></a>43 </p></li><li class="listitem"><p> 44 <a class="indexterm" name="id2564976"></a> 45 45 Samba-3 permits full NT4-style interdomain trusts. 46 </p></li><li ><p>47 <a class="indexterm" name="id25 58932"></a>48 <a class="indexterm" name="id25 58938"></a>46 </p></li><li class="listitem"><p> 47 <a class="indexterm" name="id2564989"></a> 48 <a class="indexterm" name="id2564996"></a> 49 49 Samba has security modes that permit more flexible authentication 50 50 than is possible with MS Windows NT4 domain controllers. 51 </p></li><li ><p>52 <a class="indexterm" name="id25 58953"></a>53 <a class="indexterm" name="id25 58964"></a>51 </p></li><li class="listitem"><p> 52 <a class="indexterm" name="id2565010"></a> 53 <a class="indexterm" name="id2565021"></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 </p></li><li ><p>58 <a class="indexterm" name="id25 58978"></a>57 </p></li><li class="listitem"><p> 58 <a class="indexterm" name="id2565035"></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="id2558991"></a>Server Types</h2></div></div></div><p>65 <a class="indexterm" name="id25 58999"></a>64 </p></li></ul></div></div><div class="sect1" title="Server Types"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2565049"></a>Server Types</h2></div></div></div><p> 65 <a class="indexterm" name="id2565056"></a> 66 66 Administrators of Microsoft networks often refer to three different types of servers: 67 </p><div class="itemizedlist"><ul type="disc"><li><p>Domain Controller</p><div class="itemizedlist"><ul type="circle"><li><p>Primary Domain Controller (PDC)</p></li><li><p>Backup Domain Controller (BDC)</p></li><li><p>ADS Domain Controller</p></li></ul></div></li><li><p>Domain Member Server</p><div class="itemizedlist"><ul type="circle"><li><p>Active Directory Domain Server</p></li><li><p>NT4 Style Domain Domain Server</p></li></ul></div></li><li><p>Standalone Server</p></li></ul></div><p>68 <a class="indexterm" name="id25 59058"></a>69 <a class="indexterm" name="id25 59067"></a>70 <a class="indexterm" name="id25 59075"></a>71 <a class="indexterm" name="id25 59084"></a>67 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Domain Controller</p><div class="itemizedlist"><ul class="itemizedlist" type="circle"><li class="listitem"><p>Primary Domain Controller (PDC)</p></li><li class="listitem"><p>Backup Domain Controller (BDC)</p></li><li class="listitem"><p>ADS Domain Controller</p></li></ul></div></li><li class="listitem"><p>Domain Member Server</p><div class="itemizedlist"><ul class="itemizedlist" type="circle"><li class="listitem"><p>Active Directory Domain Server</p></li><li class="listitem"><p>NT4 Style Domain Domain Server</p></li></ul></div></li><li class="listitem"><p>Standalone Server</p></li></ul></div><p> 68 <a class="indexterm" name="id2565116"></a> 69 <a class="indexterm" name="id2565124"></a> 70 <a class="indexterm" name="id2565133"></a> 71 <a class="indexterm" name="id2565141"></a> 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="id25 59116"></a>79 <a class="indexterm" name="id2565173"></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="id2559136"></a>Samba Security Modes</h2></div></div></div><p>84 <a class="indexterm" name="id25 59143"></a>85 <a class="indexterm" name="id25 59150"></a>83 </p></div><div class="sect1" title="Samba Security Modes"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2565193"></a>Samba Security Modes</h2></div></div></div><p> 84 <a class="indexterm" name="id2565201"></a> 85 <a class="indexterm" name="id2565207"></a> 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="id25 59164"></a>91 <a class="indexterm" name="id25 59172"></a>90 <a class="indexterm" name="id2565221"></a> 91 <a class="indexterm" name="id2565230"></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="id25 59188"></a>97 <a class="indexterm" name="id25 59194"></a>98 <a class="indexterm" name="id25 59201"></a>99 <a class="indexterm" name="id25 59207"></a>96 <a class="indexterm" name="id2565245"></a> 97 <a class="indexterm" name="id2565252"></a> 98 <a class="indexterm" name="id2565258"></a> 99 <a class="indexterm" name="id2565264"></a> 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="id2559298"></a>User Level Security</h3></div></div></div><p>120 <a class="indexterm" name="id25 59306"></a>119 </p><div class="sect2" title="User Level Security"><div class="titlepage"><div><div><h3 class="title"><a name="id2565355"></a>User Level Security</h3></div></div></div><p> 120 <a class="indexterm" name="id2565363"></a> 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 … … 124 124 what share the client will eventually try to connect to, so it can't base the 125 125 <span class="emphasis"><em>accept/reject</em></span> on anything other than: 126 </p><div class="orderedlist"><ol type="1"><li><p>the username/password.</p></li><li><p>the name of the client machine.</p></li></ol></div><p>127 <a class="indexterm" name="id25 59342"></a>126 </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>the username/password.</p></li><li class="listitem"><p>the name of the client machine.</p></li></ol></div><p> 127 <a class="indexterm" name="id2565399"></a> 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="id25 59362"></a>133 <a class="indexterm" name="id2565420"></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="id25 59383"></a>140 <a class="indexterm" name="id25 59390"></a>141 <a class="indexterm" name="id25 59396"></a>142 <a class="indexterm" name="id25 59402"></a>143 <a class="indexterm" name="id25 59408"></a>139 <a class="indexterm" name="id2565441"></a> 140 <a class="indexterm" name="id2565447"></a> 141 <a class="indexterm" name="id2565453"></a> 142 <a class="indexterm" name="id2565459"></a> 143 <a class="indexterm" name="id2565466"></a> 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="id2559423"></a>Example Configuration</h4></div></div></div><p>149 </p><div class="sect3" title="Example Configuration"><div class="titlepage"><div><div><h4 class="title"><a name="id2565481"></a>Example Configuration</h4></div></div></div><p> 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="id2559444"></a><em class="parameter"><code>security = user</code></em></td></tr></table><p>151 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2565502"></a><em class="parameter"><code>security = user</code></em></td></tr></table><p> 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="id2559461"></a>Share-Level Security</h3></div></div></div><p>154 <a class="indexterm" name="id25 59468"></a>155 <a class="indexterm" name="id25 59475"></a>153 </p></div></div><div class="sect2" title="Share-Level Security"><div class="titlepage"><div><div><h3 class="title"><a name="id2565518"></a>Share-Level Security</h3></div></div></div><p> 154 <a class="indexterm" name="id2565526"></a> 155 <a class="indexterm" name="id2565532"></a> 156 156 In share-level security, the client authenticates itself separately for each share. It sends a password along 157 157 with each tree connection request (share mount), but it does not explicitly send a username with this … … 172 172 authenticated as that user. 173 173 </p><p> 174 <a class="indexterm" name="id25 59541"></a>175 <a class="indexterm" name="id25 59549"></a>176 <a class="indexterm" name="id25 59556"></a>174 <a class="indexterm" name="id2565598"></a> 175 <a class="indexterm" name="id2565607"></a> 176 <a class="indexterm" name="id2565613"></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="id25 59587"></a>188 <a class="indexterm" name="id25 59593"></a>189 <a class="indexterm" name="id25 59599"></a>187 <a class="indexterm" name="id2565644"></a> 188 <a class="indexterm" name="id2565650"></a> 189 <a class="indexterm" name="id2565657"></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="id2559620"></a>Example Configuration</h4></div></div></div><p>193 </p><div class="sect3" title="Example Configuration"><div class="titlepage"><div><div><h4 class="title"><a name="id2565677"></a>Example Configuration</h4></div></div></div><p> 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="id2559641"></a><em class="parameter"><code>security = share</code></em></td></tr></table></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2559653"></a>Domain Security Mode (User-Level Security)</h3></div></div></div><p>196 <a class="indexterm" name="id25 59661"></a>197 <a class="indexterm" name="id25 59669"></a>198 <a class="indexterm" name="id25 59677"></a>199 <a class="indexterm" name="id25 59684"></a>200 <a class="indexterm" name="id25 59690"></a>201 <a class="indexterm" name="id25 59696"></a>195 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2565698"></a><em class="parameter"><code>security = share</code></em></td></tr></table></div></div><div class="sect2" title="Domain Security Mode (User-Level Security)"><div class="titlepage"><div><div><h3 class="title"><a name="id2565710"></a>Domain Security Mode (User-Level Security)</h3></div></div></div><p> 196 <a class="indexterm" name="id2565718"></a> 197 <a class="indexterm" name="id2565726"></a> 198 <a class="indexterm" name="id2565735"></a> 199 <a class="indexterm" name="id2565741"></a> 200 <a class="indexterm" name="id2565747"></a> 201 <a class="indexterm" name="id2565754"></a> 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="id25 59728"></a>211 <a class="indexterm" name="id25 59734"></a>212 <a class="indexterm" name="id25 59740"></a>213 <a class="indexterm" name="id25 59749"></a>214 <a class="indexterm" name="id25 59757"></a>210 <a class="indexterm" name="id2565785"></a> 211 <a class="indexterm" name="id2565792"></a> 212 <a class="indexterm" name="id2565798"></a> 213 <a class="indexterm" name="id2565806"></a> 214 <a class="indexterm" name="id2565815"></a> 215 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 … … 219 219 have a machine account in the security database. 220 220 </p><p> 221 <a class="indexterm" name="id25 59785"></a>222 <a class="indexterm" name="id25 59794"></a>223 <a class="indexterm" name="id25 59802"></a>224 <a class="indexterm" name="id25 59810"></a>221 <a class="indexterm" name="id2565842"></a> 222 <a class="indexterm" name="id2565851"></a> 223 <a class="indexterm" name="id2565859"></a> 224 <a class="indexterm" name="id2565868"></a> 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 … … 231 231 </p><p> 232 232 There are three possible domain member configurations: 233 </p><div class="orderedlist"><ol type="1"><li><p>Primary domain controller (PDC) - of which there is one per domain.</p></li><li><p>Backup domain controller (BDC) - of which there can be any number per domain.</p></li><li><p>Domain member server (DMS) - of which there can be any number per domain.</p></li></ol></div><p>234 <a class="indexterm" name="id25 59859"></a>233 </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>Primary domain controller (PDC) - of which there is one per domain.</p></li><li class="listitem"><p>Backup domain controller (BDC) - of which there can be any number per domain.</p></li><li class="listitem"><p>Domain member server (DMS) - of which there can be any number per domain.</p></li></ol></div><p> 234 <a class="indexterm" name="id2565916"></a> 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="id2559868"></a>Example Configuration</h4></div></div></div><p><span class="emphasis"><em>237 </p><div class="sect3" title="Example Configuration"><div class="titlepage"><div><div><h4 class="title"><a name="id2565925"></a>Example Configuration</h4></div></div></div><p><span class="emphasis"><em> 238 238 Samba as a Domain Member Server 239 239 </em></span></p><p> 240 <a class="indexterm" name="id25 59880"></a>240 <a class="indexterm" name="id2565937"></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="id2559900"></a><em class="parameter"><code>security = domain</code></em></td></tr><tr><td><a class="indexterm" name="id2559910"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr></table><p>242 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2565957"></a><em class="parameter"><code>security = domain</code></em></td></tr><tr><td><a class="indexterm" name="id2565968"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr></table><p> 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="id25 59926"></a>247 <a class="indexterm" name="id25 59934"></a>248 </p><div class="procedure"><ol type="1"><li><p>On the MS Windows NT domain controller, using246 <a class="indexterm" name="id2565983"></a> 247 <a class="indexterm" name="id2565992"></a> 248 </p><div class="procedure"><ol class="procedure" type="1"><li class="step" title="Step 1"><p>On the MS Windows NT domain controller, using 249 249 the Server Manager, add a machine account for the Samba server. 250 </p></li><li ><p>On the UNIX/Linux system execute:</p><pre class="screen"><code class="prompt">root# </code><strong class="userinput"><code>net rpc join -U administrator%password</code></strong></pre></li></ol></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>251 <a class="indexterm" name="id25 59981"></a>250 </p></li><li class="step" title="Step 2"><p>On the UNIX/Linux system execute:</p><pre class="screen"><code class="prompt">root# </code><strong class="userinput"><code>net rpc join -U administrator%password</code></strong></pre></li></ol></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 251 <a class="indexterm" name="id2566038"></a> 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="id256 0012"></a>257 <a class="indexterm" name="id2566070"></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="id256 0058"></a>266 <a class="indexterm" name="id256 0064"></a>267 <a class="indexterm" name="id256 0070"></a>265 <a class="indexterm" name="id2566115"></a> 266 <a class="indexterm" name="id2566121"></a> 267 <a class="indexterm" name="id2566127"></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="id256 0097"></a>275 <a class="indexterm" name="id256 0104"></a>274 <a class="indexterm" name="id2566155"></a> 275 <a class="indexterm" name="id2566161"></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="id2560148"></a>ADS Security Mode (User-Level Security)</h3></div></div></div><p>283 <a class="indexterm" name="id256 0156"></a>284 <a class="indexterm" name="id256 0163"></a>282 </p></div></div><div class="sect2" title="ADS Security Mode (User-Level Security)"><div class="titlepage"><div><div><h3 class="title"><a name="id2566205"></a>ADS Security Mode (User-Level Security)</h3></div></div></div><p> 283 <a class="indexterm" name="id2566214"></a> 284 <a class="indexterm" name="id2566220"></a> 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="id256 0187"></a>296 <a class="indexterm" name="id256 0194"></a>295 <a class="indexterm" name="id2566245"></a> 296 <a class="indexterm" name="id2566251"></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="id2560220"></a>Example Configuration</h4></div></div></div><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2560232"></a><em class="parameter"><code>realm = your.kerberos.REALM</code></em></td></tr><tr><td><a class="indexterm" name="id2560242"></a><em class="parameter"><code>security = ADS</code></em></td></tr></table><p>301 </p><div class="sect3" title="Example Configuration"><div class="titlepage"><div><div><h4 class="title"><a name="id2566278"></a>Example Configuration</h4></div></div></div><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2566289"></a><em class="parameter"><code>realm = your.kerberos.REALM</code></em></td></tr><tr><td><a class="indexterm" name="id2566300"></a><em class="parameter"><code>security = ADS</code></em></td></tr></table><p> 302 302 The following parameter may be required: 303 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2560263"></a><em class="parameter"><code>password server = your.kerberos.server</code></em></td></tr></table><p>303 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2566320"></a><em class="parameter"><code>password server = your.kerberos.server</code></em></td></tr></table><p> 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="id2560291"></a>Server Security (User Level Security)</h3></div></div></div><p>306 </p></div></div><div class="sect2" title="Server Security (User Level Security)"><div class="titlepage"><div><div><h3 class="title"><a name="id2566348"></a>Server Security (User Level Security)</h3></div></div></div><p> 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 </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="id256 0344"></a>312 <a class="indexterm" name="id256 0351"></a>310 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Potential account lockout on MS Windows NT4/200x password servers.</p></li><li class="listitem"><p>Lack of assurance that the password server is the one specified.</p></li><li class="listitem"><p>Does not work with Winbind, which is particularly needed when storing profiles remotely.</p></li><li class="listitem"><p>This mode may open connections to the password server and keep them open for extended periods.</p></li><li class="listitem"><p>Security on the Samba server breaks badly when the remote password server suddenly shuts down.</p></li><li class="listitem"><p>With this mode there is NO security account in the domain that the password server belongs to for the Samba server.</p></li></ul></div><p> 311 <a class="indexterm" name="id2566402"></a> 312 <a class="indexterm" name="id2566408"></a> 313 313 In server security mode the Samba server reports to the client that it is in user-level security. The client 314 314 then does a session setup as described earlier. The Samba server takes the username/password that the client … … 318 318 SMB server as the <a class="link" href="smb.conf.5.html#PASSWORDSERVER" target="_top">password server</a>. 319 319 </p><p> 320 <a class="indexterm" name="id256 0387"></a>321 <a class="indexterm" name="id256 0393"></a>320 <a class="indexterm" name="id2566444"></a> 321 <a class="indexterm" name="id2566450"></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 … … 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 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>333 <a class="indexterm" name="id256 0439"></a>334 <a class="indexterm" name="id256 0445"></a>332 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 333 <a class="indexterm" name="id2566496"></a> 334 <a class="indexterm" name="id2566503"></a> 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="id2560468"></a>Example Configuration</h4></div></div></div><p><span class="emphasis"><em>340 </p></div><div class="sect3" title="Example Configuration"><div class="titlepage"><div><div><h4 class="title"><a name="id2566526"></a>Example Configuration</h4></div></div></div><p><span class="emphasis"><em> 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="id2560495"></a><em class="parameter"><code>encrypt passwords = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2560505"></a><em class="parameter"><code>security = server</code></em></td></tr><tr><td><a class="indexterm" name="id2560516"></a><em class="parameter"><code>password server = "NetBIOS_name_of_a_DC"</code></em></td></tr></table><p>344 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2566552"></a><em class="parameter"><code>encrypt passwords = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2566562"></a><em class="parameter"><code>security = server</code></em></td></tr><tr><td><a class="indexterm" name="id2566573"></a><em class="parameter"><code>password server = "NetBIOS_name_of_a_DC"</code></em></td></tr></table><p> 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="id256 0536"></a>350 <a class="indexterm" name="id256 0542"></a>349 <a class="indexterm" name="id2566593"></a> 350 <a class="indexterm" name="id2566599"></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="id2560566"></a>Password Checking</h2></div></div></div><p>359 </p></div></div></div><div class="sect1" title="Password Checking"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2566623"></a>Password Checking</h2></div></div></div><p> 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="id256 0583"></a>367 <a class="indexterm" name="id256 0589"></a>366 <a class="indexterm" name="id2566640"></a> 367 <a class="indexterm" name="id2566646"></a> 368 368 When encrypted passwords are used, a password that has been entered by the user 369 369 is encrypted in two ways: 370 </p><div class="itemizedlist"><ul type="disc"><li><p>An MD4 hash of the unicode of the password370 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>An MD4 hash of the unicode of the password 371 371 string. This is known as the NT hash. 372 </p></li><li ><p>The password is converted to uppercase,372 </p></li><li class="listitem"><p>The password is converted to uppercase, 373 373 and then padded or truncated to 14 bytes. This string is 374 374 then appended with 5 bytes of NULL characters and split to … … 376 376 The resulting 16 bytes form the LanMan hash. 377 377 </p></li></ul></div><p> 378 <a class="indexterm" name="id256 0619"></a>378 <a class="indexterm" name="id2566676"></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="id256 0635"></a>383 <a class="indexterm" name="id2566692"></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="id2560675"></a></td></tr><tr><td><a class="indexterm" name="id2560681"></a></td></tr></table><p>399 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2566732"></a></td></tr><tr><td><a class="indexterm" name="id2566739"></a></td></tr></table><p> 400 400 By default Samba will convert to lowercase the username before attempting to lookup the user 401 401 in the database of local system accounts. Because UNIX usernames conventionally … … 403 403 is rarely needed. 404 404 </p><p> 405 <a class="indexterm" name="id256 0706"></a>405 <a class="indexterm" name="id2566763"></a> 406 406 However, passwords on UNIX systems often make use of mixed-case characters. This means that in order for a 407 407 user on a Windows 9x/Me client to connect to a Samba server using clear-text authentication, the … … 415 415 Samba is used. Most attempts to apply the registry change to re-enable plaintext 416 416 passwords will eventually lead to user complaints and unhappiness. 417 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2560753"></a>Common Errors</h2></div></div></div><p>417 </p></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2566810"></a>Common Errors</h2></div></div></div><p> 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="id2560783"></a>What Makes Samba a Server?</h3></div></div></div><p>427 </p><div class="sect2" title="What Makes Samba a Server?"><div class="titlepage"><div><div><h3 class="title"><a name="id2566840"></a>What Makes Samba a Server?</h3></div></div></div><p> 428 428 To some, the nature of the Samba security mode is obvious, but entirely 429 429 wrong all the same. It is assumed that <a class="link" href="smb.conf.5.html#SECURITY" target="_top">security = server</a> means that Samba … … 434 434 context, it is best to leave the security mode at the default setting. By default Samba-3 uses user-mode 435 435 security. 436 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2560815"></a>What Makes Samba a Domain Controller?</h3></div></div></div><p>437 <a class="indexterm" name="id256 0823"></a>436 </p></div><div class="sect2" title="What Makes Samba a Domain Controller?"><div class="titlepage"><div><div><h3 class="title"><a name="id2566873"></a>What Makes Samba a Domain Controller?</h3></div></div></div><p> 437 <a class="indexterm" name="id2566880"></a> 438 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="id2560852"></a>What Makes Samba a Domain Member?</h3></div></div></div><p>440 </p></div><div class="sect2" title="What Makes Samba a Domain Member?"><div class="titlepage"><div><div><h3 class="title"><a name="id2566910"></a>What Makes Samba a Domain Member?</h3></div></div></div><p> 441 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="id2560879"></a>Constantly Losing Connections to Password Server</h3></div></div></div><p>“<span class="quote">444 </p></div><div class="sect2" title="Constantly Losing Connections to Password Server"><div class="titlepage"><div><div><h3 class="title"><a name="id2566937"></a>Constantly Losing Connections to Password Server</h3></div></div></div><p><span class="quote">“<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 … … 448 448 server, which means the password hashes submitted by the client would not work on a subsequent 449 449 connection whose session key would be different. So server_validate() must give up. 450 </span>”</ p><p>450 </span>”</span></p><p> 451 451 Indeed. That's why <a class="link" href="smb.conf.5.html#SECURITY" target="_top">security = server</a> 452 452 is at best a nasty hack. Please use <a class="link" href="smb.conf.5.html#SECURITY" target="_top">security = domain</a>; 453 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="id2560937"></a>Stand-alone Server is converted to Domain Controller Now User accounts don't work</h3></div></div></div><p>“<span class="quote">454 </p></div><div class="sect2" title="Stand-alone Server is converted to Domain Controller Now User accounts don't work"><div class="titlepage"><div><div><h3 class="title"><a name="id2566995"></a>Stand-alone Server is converted to Domain Controller Now User accounts don't work</h3></div></div></div><p><span class="quote">“<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> 457 </span>”</ p><p>457 </span>”</span></p><p> 458 458 Usually this is due to a user or machine account being created before the Samba server is configured to be a 459 459 domain controller. Accounts created before the server becomes a domain controller will be -
branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/StandAloneServer.html
r274 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 7. Standalone Servers</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="type.html" title="Part II. Server Configuration Basics"><link rel="prev" href="domain-member.html" title="Chapter 6. Domain Membership"><link rel="next" href="ClientConfig.html" title="Chapter 8. MS Windows Network Configuration Guide"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 7. Standalone Servers</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="domain-member.html">Prev</a> </td><th width="60%" align="center">Part II. Server Configuration Basics</th><td width="20%" align="right"> <a accesskey="n" href="ClientConfig.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="StandAloneServer"></a>Chapter 7. Standalone Servers</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2574163">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2574257">Background</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2574458">Example Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a></span></dt><dt><span class="sect2"><a href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></span></dt></dl></dd><dt><span class="sect1"><a href="StandAloneServer.html#id2575441">Common Errors</a></span></dt></dl></div><p>2 <a class="indexterm" name="id25 74136"></a>3 <a class="indexterm" name="id25 74143"></a>4 <a class="indexterm" name="id25 74150"></a>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 7. Standalone Servers</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="type.html" title="Part II. Server Configuration Basics"><link rel="prev" href="domain-member.html" title="Chapter 6. Domain Membership"><link rel="next" href="ClientConfig.html" title="Chapter 8. MS Windows Network Configuration Guide"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 7. Standalone Servers</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="domain-member.html">Prev</a> </td><th width="60%" align="center">Part II. Server Configuration Basics</th><td width="20%" align="right"> <a accesskey="n" href="ClientConfig.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 7. Standalone Servers"><div class="titlepage"><div><div><h2 class="title"><a name="StandAloneServer"></a>Chapter 7. Standalone Servers</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2580234">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2580328">Background</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2580529">Example Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a></span></dt><dt><span class="sect2"><a href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></span></dt></dl></dd><dt><span class="sect1"><a href="StandAloneServer.html#id2581512">Common Errors</a></span></dt></dl></div><p> 2 <a class="indexterm" name="id2580206"></a> 3 <a class="indexterm" name="id2580213"></a> 4 <a class="indexterm" name="id2580220"></a> 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="id2574163"></a>Features and Benefits</h2></div></div></div><p>10 <a class="indexterm" name="id25 74171"></a>11 <a class="indexterm" name="id25 74178"></a>9 </p><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2580234"></a>Features and Benefits</h2></div></div></div><p> 10 <a class="indexterm" name="id2580242"></a> 11 <a class="indexterm" name="id2580248"></a> 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 74191"></a>17 <a class="indexterm" name="id25 74198"></a>18 <a class="indexterm" name="id25 74205"></a>19 <a class="indexterm" name="id25 74212"></a>16 <a class="indexterm" name="id2580262"></a> 17 <a class="indexterm" name="id2580269"></a> 18 <a class="indexterm" name="id2580276"></a> 19 <a class="indexterm" name="id2580283"></a> 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 74229"></a>28 <a class="indexterm" name="id25 74235"></a>29 <a class="indexterm" name="id25 74242"></a>27 <a class="indexterm" name="id2580299"></a> 28 <a class="indexterm" name="id2580306"></a> 29 <a class="indexterm" name="id2580313"></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="id2574257"></a>Background</h2></div></div></div><p>36 <a class="indexterm" name="id25 74265"></a>37 <a class="indexterm" name="id25 74272"></a>38 <a class="indexterm" name="id25 74279"></a>35 </p></div><div class="sect1" title="Background"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2580328"></a>Background</h2></div></div></div><p> 36 <a class="indexterm" name="id2580336"></a> 37 <a class="indexterm" name="id2580342"></a> 38 <a class="indexterm" name="id2580350"></a> 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 74305"></a>45 <a class="indexterm" name="id25 74312"></a>46 <a class="indexterm" name="id25 74319"></a>44 <a class="indexterm" name="id2580376"></a> 45 <a class="indexterm" name="id2580383"></a> 46 <a class="indexterm" name="id2580390"></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 74346"></a>56 <a class="indexterm" name="id25 74354"></a>57 <a class="indexterm" name="id25 74360"></a>55 <a class="indexterm" name="id2580417"></a> 56 <a class="indexterm" name="id2580424"></a> 57 <a class="indexterm" name="id2580431"></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 74375"></a>64 <a class="indexterm" name="id25 74381"></a>65 <a class="indexterm" name="id25 74388"></a>66 <a class="indexterm" name="id25 74395"></a>67 <a class="indexterm" name="id25 74402"></a>68 <a class="indexterm" name="id25 74408"></a>69 <a class="indexterm" name="id25 74416"></a>70 <a class="indexterm" name="id25 74422"></a>63 <a class="indexterm" name="id2580446"></a> 64 <a class="indexterm" name="id2580452"></a> 65 <a class="indexterm" name="id2580459"></a> 66 <a class="indexterm" name="id2580466"></a> 67 <a class="indexterm" name="id2580472"></a> 68 <a class="indexterm" name="id2580479"></a> 69 <a class="indexterm" name="id2580486"></a> 70 <a class="indexterm" name="id2580493"></a> 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="id2574458"></a>Example Configuration</h2></div></div></div><p>78 <a class="indexterm" name="id25 74466"></a>79 <a class="indexterm" name="id25 74473"></a>77 </p></div><div class="sect1" title="Example Configuration"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2580529"></a>Example Configuration</h2></div></div></div><p> 78 <a class="indexterm" name="id2580537"></a> 79 <a class="indexterm" name="id2580544"></a> 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 </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 74510"></a>84 <a class="indexterm" name="id25 74517"></a>85 <a class="indexterm" name="id25 74523"></a>86 <a class="indexterm" name="id25 74530"></a>82 </p><div class="sect2" title="Reference Documentation Server"><div class="titlepage"><div><div><h3 class="title"><a name="RefDocServer"></a>Reference Documentation Server</h3></div></div></div><p> 83 <a class="indexterm" name="id2580581"></a> 84 <a class="indexterm" name="id2580588"></a> 85 <a class="indexterm" name="id2580594"></a> 86 <a class="indexterm" name="id2580601"></a> 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="id2574604"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2574616"></a><em class="parameter"><code>netbios name = GANDALF</code></em></td></tr><tr><td><a class="indexterm" name="id2574628"></a><em class="parameter"><code>security = SHARE</code></em></td></tr><tr><td><a class="indexterm" name="id2574639"></a><em class="parameter"><code>passdb backend = guest</code></em></td></tr><tr><td><a class="indexterm" name="id2574651"></a><em class="parameter"><code>wins server = 192.168.1.1</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[data]</code></em></td></tr><tr><td><a class="indexterm" name="id2574672"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2574683"></a><em class="parameter"><code>path = /export</code></em></td></tr><tr><td><a class="indexterm" name="id2574695"></a><em class="parameter"><code>guest only = Yes</code></em></td></tr></table></div></div><br class="example-break"><div class="blockquote"><table border="0" width="100%" cellspacing="0" cellpadding="0" class="blockquote" summary="Block quote"><tr><td width="10%" valign="top"> </td><td width="80%" valign="top"><p>93 </p><div class="example"><a name="simplynice"></a><p class="title"><b>Example 7.1. smb.conf for Reference Documentation Server</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td># Global parameters</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2580675"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2580686"></a><em class="parameter"><code>netbios name = GANDALF</code></em></td></tr><tr><td><a class="indexterm" name="id2580698"></a><em class="parameter"><code>security = SHARE</code></em></td></tr><tr><td><a class="indexterm" name="id2580710"></a><em class="parameter"><code>passdb backend = guest</code></em></td></tr><tr><td><a class="indexterm" name="id2580722"></a><em class="parameter"><code>wins server = 192.168.1.1</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[data]</code></em></td></tr><tr><td><a class="indexterm" name="id2580742"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2580754"></a><em class="parameter"><code>path = /export</code></em></td></tr><tr><td><a class="indexterm" name="id2580766"></a><em class="parameter"><code>guest only = Yes</code></em></td></tr></table></div></div><br class="example-break"><div class="blockquote"><table border="0" width="100%" cellspacing="0" cellpadding="0" class="blockquote" summary="Block quote"><tr><td width="10%" valign="top"> </td><td width="80%" valign="top"><p> 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 74721"></a>97 <a class="indexterm" name="id25 74728"></a>98 <a class="indexterm" name="id25 74735"></a>99 <a class="indexterm" name="id25 74742"></a>96 <a class="indexterm" name="id2580792"></a> 97 <a class="indexterm" name="id2580799"></a> 98 <a class="indexterm" name="id2580805"></a> 99 <a class="indexterm" name="id2580812"></a> 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 102 with systems with which users are familiar. The only password backend required is the “<span class="quote">guest</span>”102 with systems with which users are familiar. The only password backend required is the <span class="quote">“<span class="quote">guest</span>”</span> 103 103 backend to allow default unprivileged account names to be used. As there is a WINS server on this network, we 104 104 of course make use of it. 105 105 </p><p> 106 A US Air Force Colonel was renowned for saying: “<span class="quote">Better is the enemy of good enough!</span>”There are often106 A US Air Force Colonel was renowned for saying: <span class="quote">“<span class="quote">Better is the enemy of good enough!</span>”</span> There are often 107 107 sound reasons for avoiding complexity as well as for avoiding a technically perfect solution. Unfortunately, 108 108 many network administrators still need to learn the art of doing just enough to keep out of trouble. 109 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="SimplePrintServer"></a>Central Print Serving</h3></div></div></div><p>110 <a class="indexterm" name="id25 74791"></a>111 <a class="indexterm" name="id25 74798"></a>109 </p></div><div class="sect2" title="Central Print Serving"><div class="titlepage"><div><div><h3 class="title"><a name="SimplePrintServer"></a>Central Print Serving</h3></div></div></div><p> 110 <a class="indexterm" name="id2580862"></a> 111 <a class="indexterm" name="id2580868"></a> 112 112 Configuration of a simple print server is easy if you have all the right tools on your system. 113 </p><div class="orderedlist" ><p class="title"><b> Assumptions</b></p><ol type="1"><li><p>113 </p><div class="orderedlist" title="Assumptions"><p class="title"><b> Assumptions</b></p><ol class="orderedlist" type="1"><li class="listitem"><p> 114 114 The print server must require no administration. 115 </p></li><li ><p>115 </p></li><li class="listitem"><p> 116 116 The print spooling and processing system on our print server will be CUPS. 117 117 (Please refer to <a class="link" href="CUPS-printing.html" title="Chapter 22. CUPS Printing Support">CUPS Printing Support</a>, for more information). 118 </p></li><li ><p>118 </p></li><li class="listitem"><p> 119 119 The print server will service only network printers. The network administrator 120 120 will correctly configure the CUPS environment to support the printers. 121 </p></li><li ><p>121 </p></li><li class="listitem"><p> 122 122 All workstations will use only PostScript drivers. The printer driver 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 74854"></a>126 <a class="indexterm" name="id25 74861"></a>127 <a class="indexterm" name="id25 74868"></a>125 <a class="indexterm" name="id2580925"></a> 126 <a class="indexterm" name="id2580932"></a> 127 <a class="indexterm" name="id2580938"></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 130 130 Samba to the CUPS print processor. Since all incoming connections will be as 131 131 the anonymous (guest) user, two things will be required to enable anonymous printing. 132 </p><div class="itemizedlist" ><p class="title"><b>Enabling Anonymous Printing</b></p><ul type="disc"><li><p>133 <a class="indexterm" name="id25 74895"></a>134 <a class="indexterm" name="id25 74902"></a>135 <a class="indexterm" name="id25 74909"></a>132 </p><div class="itemizedlist" title="Enabling Anonymous Printing"><p class="title"><b>Enabling Anonymous Printing</b></p><ul class="itemizedlist" type="disc"><li class="listitem"><p> 133 <a class="indexterm" name="id2580966"></a> 134 <a class="indexterm" name="id2580973"></a> 135 <a class="indexterm" name="id2580980"></a> 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 74947"></a>143 <a class="indexterm" name="id2581018"></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 74964"></a>148 <a class="indexterm" name="id25 74971"></a>149 <a class="indexterm" name="id25 74978"></a>147 <a class="indexterm" name="id2581035"></a> 148 <a class="indexterm" name="id2581042"></a> 149 <a class="indexterm" name="id2581049"></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>, … … 155 155 </pre><p> 156 156 The exact command may vary depending on your UNIX/Linux distribution. 157 </p></li><li ><p>158 <a class="indexterm" name="id25 75011"></a>159 <a class="indexterm" name="id25 75018"></a>160 <a class="indexterm" name="id25 75025"></a>161 <a class="indexterm" name="id25 75032"></a>162 <a class="indexterm" name="id25 75038"></a>163 <a class="indexterm" name="id25 75045"></a>157 </p></li><li class="listitem"><p> 158 <a class="indexterm" name="id2581082"></a> 159 <a class="indexterm" name="id2581089"></a> 160 <a class="indexterm" name="id2581096"></a> 161 <a class="indexterm" name="id2581102"></a> 162 <a class="indexterm" name="id2581109"></a> 163 <a class="indexterm" name="id2581116"></a> 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="id2575145"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2575157"></a><em class="parameter"><code>netbios name = GANDALF</code></em></td></tr><tr><td><a class="indexterm" name="id2575168"></a><em class="parameter"><code>security = SHARE</code></em></td></tr><tr><td><a class="indexterm" name="id2575180"></a><em class="parameter"><code>passdb backend = guest</code></em></td></tr><tr><td><a class="indexterm" name="id2575192"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2575204"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[printers]</code></em></td></tr><tr><td><a class="indexterm" name="id2575224"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2575236"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2575248"></a><em class="parameter"><code>printer admin = root</code></em></td></tr><tr><td><a class="indexterm" name="id2575260"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2575271"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2575283"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2575295"></a><em class="parameter"><code>browseable = No</code></em></td></tr></table></div></div><br class="example-break"><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>175 <a class="indexterm" name="id25 75311"></a>176 <a class="indexterm" name="id25 75320"></a>177 <a class="indexterm" name="id25 75326"></a>178 <a class="indexterm" name="id25 75333"></a>179 <a class="indexterm" name="id25 75340"></a>174 </p><div class="example"><a name="AnonPtrSvr"></a><p class="title"><b>Example 7.2. <code class="filename">smb.conf</code> for Anonymous Printing</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td># Global parameters</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2581216"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2581227"></a><em class="parameter"><code>netbios name = GANDALF</code></em></td></tr><tr><td><a class="indexterm" name="id2581239"></a><em class="parameter"><code>security = SHARE</code></em></td></tr><tr><td><a class="indexterm" name="id2581251"></a><em class="parameter"><code>passdb backend = guest</code></em></td></tr><tr><td><a class="indexterm" name="id2581263"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2581274"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[printers]</code></em></td></tr><tr><td><a class="indexterm" name="id2581295"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2581307"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2581319"></a><em class="parameter"><code>printer admin = root</code></em></td></tr><tr><td><a class="indexterm" name="id2581330"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2581342"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2581354"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2581366"></a><em class="parameter"><code>browseable = No</code></em></td></tr></table></div></div><br class="example-break"><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 175 <a class="indexterm" name="id2581381"></a> 176 <a class="indexterm" name="id2581390"></a> 177 <a class="indexterm" name="id2581397"></a> 178 <a class="indexterm" name="id2581404"></a> 179 <a class="indexterm" name="id2581411"></a> 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 rawPrinting 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 75383"></a>187 <a class="indexterm" name="id25 75390"></a>188 <a class="indexterm" name="id25 75397"></a>189 <a class="indexterm" name="id25 75403"></a>186 <a class="indexterm" name="id2581454"></a> 187 <a class="indexterm" name="id2581460"></a> 188 <a class="indexterm" name="id2581467"></a> 189 <a class="indexterm" name="id2581474"></a> 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="id2575441"></a>Common Errors</h2></div></div></div><p>197 <a class="indexterm" name="id25 75449"></a>198 <a class="indexterm" name="id25 75456"></a>196 </p></div></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2581512"></a>Common Errors</h2></div></div></div><p> 197 <a class="indexterm" name="id2581520"></a> 198 <a class="indexterm" name="id2581527"></a> 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.3.x/docs/htmldocs/Samba3-HOWTO/TOSHpreface.html
r274 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Preface</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="pr03.html" title="Foreword"><link rel="next" href="IntroSMB.html" title="Introduction"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Preface</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="pr03.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="IntroSMB.html">Next</a></td></tr></table><hr></div><div class="preface" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="TOSHpreface"></a>Preface</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="TOSHpreface.html#id2551195">Conventions Used</a></span></dt></dl></div><p>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Preface</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="pr03.html" title="Foreword"><link rel="next" href="IntroSMB.html" title="Introduction"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Preface</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="pr03.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="IntroSMB.html">Next</a></td></tr></table><hr></div><div class="preface" title="Preface"><div class="titlepage"><div><div><h2 class="title"><a name="TOSHpreface"></a>Preface</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="TOSHpreface.html#id2557252">Conventions Used</a></span></dt></dl></div><p> 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 … … 19 19 The most recent electronic versions of this document can be found at 20 20 <a class="ulink" href="http://www.samba.org/" target="_top">http://www.samba.org/</a> 21 on the “<span class="quote">Documentation</span>”page.21 on the <span class="quote">“<span class="quote">Documentation</span>”</span> page. 22 22 </p><p> 23 23 Updates, patches and corrections are most welcome. Please email your contributions 24 24 to any one of the following: 25 25 </p><p> 26 </p><table class="simplelist" border="0" summary="Simplelist"><tr><td><a class="ulink" href="mailto:jelmer@samba.org" target="_top">Jelmer Vernooij (jelmer@samba.org)</a></td></tr><tr><td><a class="ulink" href="mailto:jht@samba.org" target="_top">John H. Terpstra (jht@samba.org)</a></td></tr><tr><td><a class="ulink" href="mailto:jerry@samba.org" target="_top">Gerald (Jerry) Carter (jerry@samba.org)</a></td></tr></table><p>26 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="ulink" href="mailto:jelmer@samba.org" target="_top">Jelmer Vernooij (jelmer@samba.org)</a></td></tr><tr><td><a class="ulink" href="mailto:jht@samba.org" target="_top">John H. Terpstra (jht@samba.org)</a></td></tr><tr><td><a class="ulink" href="mailto:jerry@samba.org" target="_top">Gerald (Jerry) Carter (jerry@samba.org)</a></td></tr></table><p> 27 27 </p><p> 28 28 We wish to advise that only original and unencumbered material can be published. Please do not submit 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="id2551195"></a>Conventions Used</h2></div></div></div><p>31 </p><div class="sect1" title="Conventions Used"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2557252"></a>Conventions Used</h2></div></div></div><p> 32 32 The following notation conventions are used throughout this book: 33 </p><div class="itemizedlist"><ul type="disc"><li><p>34 TOSHARG2 is used as an abbreviation for the book, “<span class="quote">The Official Samba-335 HOWTO and Reference Guide, Second Edition</span>” Editors: John H. Terpstra and Jelmer R. Vernooij,33 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 34 TOSHARG2 is used as an abbreviation for the book, <span class="quote">“<span class="quote">The Official Samba-3 35 HOWTO and Reference Guide, Second Edition</span>”</span> Editors: John H. Terpstra and Jelmer R. Vernooij, 36 36 Publisher: Prentice Hall, ISBN: 0131882228. 37 </p></li><li ><p>38 S3bE2 is used as an abbreviation for the book, “<span class="quote">Samba-3 by Example, Second Edition</span>”37 </p></li><li class="listitem"><p> 38 S3bE2 is used as an abbreviation for the book, <span class="quote">“<span class="quote">Samba-3 by Example, Second Edition</span>”</span> 39 39 Editors: John H. Terpstra, Publisher: Prentice Hall, ISBN: 013188221X. 40 </p></li><li ><p>40 </p></li><li class="listitem"><p> 41 41 Directories and filenames appear in mono-font. For example, 42 42 <code class="filename">/etc/pam.conf</code>. 43 </p></li><li ><p>43 </p></li><li class="listitem"><p> 44 44 Executable names are bolded. For example, <code class="literal">smbd</code>. 45 </p></li><li ><p>45 </p></li><li class="listitem"><p> 46 46 Menu items and buttons appear in bold. For example, click <span class="guibutton">Next</span>. 47 </p></li><li ><p>47 </p></li><li class="listitem"><p> 48 48 Selecting a menu item is indicated as: 49 49 <span class="guimenu">Start</span> → <span class="guimenuitem">Control Panel</span> → <span class="guimenuitem">Administrative Tools</span> → <span class="guimenuitem">Active Directory Users and Computers</span> -
branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/VFS.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 23. Stackable VFS modules</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="CUPS-printing.html" title="Chapter 22. CUPS Printing Support"><link rel="next" href="winbind.html" title="Chapter 24. Winbind: Use of Domain Accounts"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 23. Stackable VFS modules</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="CUPS-printing.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="winbind.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="VFS"></a>Chapter 23. Stackable VFS modules</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<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#id2650356">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2650394">Discussion</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2650789">Included Modules</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2650795">audit</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2650836">default_quota</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2651054">extd_audit</a></span></dt><dt><span class="sect2"><a href="VFS.html#fakeperms">fake_perms</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2651380">recycle</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2651777">netatalk</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2651827">shadow_copy</a></span></dt></dl></dd><dt><span class="sect1"><a href="VFS.html#id2652729">VFS Modules Available Elsewhere</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2652755">DatabaseFS</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2652814">vscan</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2652854">vscan-clamav</a></span></dt></dl></dd></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2650356"></a>Features and Benefits</h2></div></div></div><p>2 <a class="indexterm" name="id265 0364"></a>3 <a class="indexterm" name="id265 0373"></a>4 <a class="indexterm" name="id265 0380"></a>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 23. Stackable VFS modules</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="CUPS-printing.html" title="Chapter 22. CUPS Printing Support"><link rel="next" href="winbind.html" title="Chapter 24. Winbind: Use of Domain Accounts"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 23. Stackable VFS modules</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="CUPS-printing.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="winbind.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 23. Stackable VFS modules"><div class="titlepage"><div><div><h2 class="title"><a name="VFS"></a>Chapter 23. Stackable VFS modules</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<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#id2656448">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2656487">Discussion</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2656882">Included Modules</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2656888">audit</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2656928">default_quota</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2657146">extd_audit</a></span></dt><dt><span class="sect2"><a href="VFS.html#fakeperms">fake_perms</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2657472">recycle</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2657868">netatalk</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2657919">shadow_copy</a></span></dt></dl></dd><dt><span class="sect1"><a href="VFS.html#id2658822">VFS Modules Available Elsewhere</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2658847">DatabaseFS</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2658907">vscan</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2658946">vscan-clamav</a></span></dt></dl></dd></dl></div><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2656448"></a>Features and Benefits</h2></div></div></div><p> 2 <a class="indexterm" name="id2656456"></a> 3 <a class="indexterm" name="id2656466"></a> 4 <a class="indexterm" name="id2656472"></a> 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="id2650394"></a>Discussion</h2></div></div></div><p>9 <a class="indexterm" name="id265 0402"></a>10 <a class="indexterm" name="id265 0409"></a>8 </p></div><div class="sect1" title="Discussion"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2656487"></a>Discussion</h2></div></div></div><p> 9 <a class="indexterm" name="id2656494"></a> 10 <a class="indexterm" name="id2656501"></a> 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="id265 0423"></a>16 <a class="indexterm" name="id265 0430"></a>17 <a class="indexterm" name="id265 0437"></a>15 <a class="indexterm" name="id2656516"></a> 16 <a class="indexterm" name="id2656522"></a> 17 <a class="indexterm" name="id2656529"></a> 18 18 To use the VFS modules, create a share similar to the one below. The important parameter is the <a class="link" href="smb.conf.5.html#VFSOBJECTS" 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="id2650492"></a><em class="parameter"><code>comment = Audited /data directory</code></em></td></tr><tr><td><a class="indexterm" name="id2650504"></a><em class="parameter"><code>path = /data</code></em></td></tr><tr><td><a class="indexterm" name="id2650516"></a><em class="parameter"><code>vfs objects = audit recycle</code></em></td></tr><tr><td><a class="indexterm" name="id2650527"></a><em class="parameter"><code>writeable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2650539"></a><em class="parameter"><code>browseable = yes</code></em></td></tr></table></div></div><br class="example-break"><p>22 <a class="indexterm" name="id265 0554"></a>23 <a class="indexterm" name="id265 0561"></a>24 <a class="indexterm" name="id265 0568"></a>21 </p><div class="example"><a name="vfsrecyc"></a><p class="title"><b>Example 23.1. smb.conf with VFS modules</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[audit]</code></em></td></tr><tr><td><a class="indexterm" name="id2656584"></a><em class="parameter"><code>comment = Audited /data directory</code></em></td></tr><tr><td><a class="indexterm" name="id2656596"></a><em class="parameter"><code>path = /data</code></em></td></tr><tr><td><a class="indexterm" name="id2656608"></a><em class="parameter"><code>vfs objects = audit recycle</code></em></td></tr><tr><td><a class="indexterm" name="id2656620"></a><em class="parameter"><code>writeable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2656631"></a><em class="parameter"><code>browseable = yes</code></em></td></tr></table></div></div><br class="example-break"><p> 22 <a class="indexterm" name="id2656646"></a> 23 <a class="indexterm" name="id2656653"></a> 24 <a class="indexterm" name="id2656660"></a> 25 25 The modules are used in the order in which they are specified. Let's say that you want to both have a virus 26 26 scanner module and a recycle bin module. It is wise to put the virus scanner module as the first one so that … … 28 28 <a class="link" href="smb.conf.5.html#VFSOBJECTS" target="_top">vfs objects = vscan-clamav recycle</a> 29 29 </p><p> 30 <a class="indexterm" name="id265 0596"></a>31 <a class="indexterm" name="id265 0602"></a>30 <a class="indexterm" name="id2656688"></a> 31 <a class="indexterm" name="id2656695"></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="id265 0632"></a>37 <a class="indexterm" name="id265 0639"></a>38 <a class="indexterm" name="id265 0646"></a>39 <a class="indexterm" name="id265 0653"></a>36 <a class="indexterm" name="id2656725"></a> 37 <a class="indexterm" name="id2656732"></a> 38 <a class="indexterm" name="id2656738"></a> 39 <a class="indexterm" name="id2656745"></a> 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="id2650692"></a><em class="parameter"><code>comment = VFS TEST</code></em></td></tr><tr><td><a class="indexterm" name="id2650704"></a><em class="parameter"><code>path = /data</code></em></td></tr><tr><td><a class="indexterm" name="id2650715"></a><em class="parameter"><code>writeable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2650727"></a><em class="parameter"><code>browseable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2650738"></a><em class="parameter"><code>vfs objects = example:example1 example example:test</code></em></td></tr><tr><td><a class="indexterm" name="id2650751"></a><em class="parameter"><code>example1: parameter = 1</code></em></td></tr><tr><td><a class="indexterm" name="id2650762"></a><em class="parameter"><code>example: parameter = 5</code></em></td></tr><tr><td><a class="indexterm" name="id2650774"></a><em class="parameter"><code>test: parameter = 7</code></em></td></tr></table></div></div><p><br class="example-break">44 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2650789"></a>Included Modules</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2650795"></a>audit</h3></div></div></div><p>45 <a class="indexterm" name="id265 0803"></a>43 </p><div class="example"><a name="multimodule"></a><p class="title"><b>Example 23.2. smb.conf with multiple VFS modules</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[test]</code></em></td></tr><tr><td><a class="indexterm" name="id2656784"></a><em class="parameter"><code>comment = VFS TEST</code></em></td></tr><tr><td><a class="indexterm" name="id2656796"></a><em class="parameter"><code>path = /data</code></em></td></tr><tr><td><a class="indexterm" name="id2656808"></a><em class="parameter"><code>writeable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2656819"></a><em class="parameter"><code>browseable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2656831"></a><em class="parameter"><code>vfs objects = example:example1 example example:test</code></em></td></tr><tr><td><a class="indexterm" name="id2656843"></a><em class="parameter"><code>example1: parameter = 1</code></em></td></tr><tr><td><a class="indexterm" name="id2656855"></a><em class="parameter"><code>example: parameter = 5</code></em></td></tr><tr><td><a class="indexterm" name="id2656867"></a><em class="parameter"><code>test: parameter = 7</code></em></td></tr></table></div></div><p><br class="example-break"> 44 </p></div><div class="sect1" title="Included Modules"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2656882"></a>Included Modules</h2></div></div></div><div class="sect2" title="audit"><div class="titlepage"><div><div><h3 class="title"><a name="id2656888"></a>audit</h3></div></div></div><p> 45 <a class="indexterm" name="id2656895"></a> 46 46 A simple module to audit file access to the syslog facility. The following operations are logged: 47 </p><div class="itemizedlist"><ul type="disc"><li><p>share</p></li><li><p>connect/disconnect</p></li><li><p>directory opens/create/remove</p></li><li><p>file open/close/rename/unlink/chmod</p></li></ul></div><p>48 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2650836"></a>default_quota</h3></div></div></div><p>47 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>share</p></li><li class="listitem"><p>connect/disconnect</p></li><li class="listitem"><p>directory opens/create/remove</p></li><li class="listitem"><p>file open/close/rename/unlink/chmod</p></li></ul></div><p> 48 </p></div><div class="sect2" title="default_quota"><div class="titlepage"><div><div><h3 class="title"><a name="id2656928"></a>default_quota</h3></div></div></div><p> 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. … … 55 55 </p><p> 56 56 This module takes 2 parametric entries in the <code class="filename">smb.conf</code> file. The default prefix for each is the 57 “<span class="quote">default_quota</span>”. This can be overwrittem when you load the module in the <span class="emphasis"><em>vfs57 <span class="quote">“<span class="quote">default_quota</span>”</span>. This can be overwrittem when you load the module in the <span class="emphasis"><em>vfs 58 58 modules</em></span> parameter like this: 59 59 </p><pre class="screen"> … … 118 118 ... 119 119 </pre><p> 120 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2651054"></a>extd_audit</h3></div></div></div><p>121 <a class="indexterm" name="id265 1061"></a>122 <a class="indexterm" name="id265 1068"></a>123 <a class="indexterm" name="id265 1075"></a>120 </p></div><div class="sect2" title="extd_audit"><div class="titlepage"><div><div><h3 class="title"><a name="id2657146"></a>extd_audit</h3></div></div></div><p> 121 <a class="indexterm" name="id2657154"></a> 122 <a class="indexterm" name="id2657161"></a> 123 <a class="indexterm" name="id2657168"></a> 124 124 This module is identical with the <code class="literal">audit</code> module above except 125 125 that it sends audit logs to both syslog as well as the <code class="literal">smbd</code> log files. The … … 127 127 </p><p> 128 128 Valid settings and the information that will be recorded are shown in <a class="link" href="VFS.html#xtdaudit" title="Table 23.1. Extended Auditing Log Information">the next table</a>. 129 </p><div class="table"><a name="xtdaudit"></a><p class="title"><b>Table 23.1. Extended Auditing Log Information</b></p><div class="table-contents"><table summary="Extended Auditing Log Information" border="1"><colgroup><col><col></colgroup><thead><tr><th align="center">Log Level</th><th align="center">Log Details - File and Directory Operations</th></tr></thead><tbody><tr><td align="center">0</td><td align="left">Make Directory, Remove Directory, Unlink</td></tr><tr><td align="center">1</td><td align="left">Open Directory, Rename File, Change Permissions/ACLs</td></tr><tr><td align="center">2</td><td align="left">Open & Close File</td></tr><tr><td align="center">10</td><td align="left">Maximum Debug Level</td></tr></tbody></table></div></div><br class="table-break"><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2651211"></a>Configuration of Auditing</h4></div></div></div><p>130 <a class="indexterm" name="id265 1219"></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" title="Configuration of Auditing"><div class="titlepage"><div><div><h4 class="title"><a name="id2657303"></a>Configuration of Auditing</h4></div></div></div><p> 130 <a class="indexterm" name="id2657311"></a> 131 131 This auditing tool is more flexible than most people will readily recognize. There are a number of ways 132 132 by which useful logging information can be recorded. 133 </p><div class="itemizedlist"><ul type="disc"><li><p>Syslog can be used to record all transaction. This can be disabled by setting134 in the <code class="filename">smb.conf</code> file <em class="parameter"><code>syslog = 0</code></em>.</p></li><li ><p>Logging can take place to the default log file (<code class="filename">log.smbd</code>)133 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Syslog can be used to record all transaction. This can be disabled by setting 134 in the <code class="filename">smb.conf</code> file <em class="parameter"><code>syslog = 0</code></em>.</p></li><li class="listitem"><p>Logging can take place to the default log file (<code class="filename">log.smbd</code>) 135 135 for all loaded VFS modules just by setting in the <code class="filename">smb.conf</code> file 136 136 <em class="parameter"><code>log level = 0 vfs:x</code></em>, where x is the log level. 137 137 This will disable general logging while activating all logging of VFS 138 module activity at the log level specified.</p></li><li ><p>Detailed logging can be obtained per user, per client machine, etc.138 module activity at the log level specified.</p></li><li class="listitem"><p>Detailed logging can be obtained per user, per client machine, etc. 139 139 This requires the above together with the creative use of the 140 140 <em class="parameter"><code>log file</code></em> settings.</p><p>An example of detailed per-user and per-machine logging can … … 145 145 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 </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="id265 1344"></a>149 <a class="indexterm" name="id265 1351"></a>150 <a class="indexterm" name="id265 1358"></a>151 <a class="indexterm" name="id265 1364"></a>147 </p></div></div><div class="sect2" title="fake_perms"><div class="titlepage"><div><div><h3 class="title"><a name="fakeperms"></a>fake_perms</h3></div></div></div><p> 148 <a class="indexterm" name="id2657436"></a> 149 <a class="indexterm" name="id2657443"></a> 150 <a class="indexterm" name="id2657450"></a> 151 <a class="indexterm" name="id2657457"></a> 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="id2651380"></a>recycle</h3></div></div></div><p>157 <a class="indexterm" name="id265 1388"></a>158 <a class="indexterm" name="id265 1394"></a>159 <a class="indexterm" name="id265 1401"></a>156 </p></div><div class="sect2" title="recycle"><div class="titlepage"><div><div><h3 class="title"><a name="id2657472"></a>recycle</h3></div></div></div><p> 157 <a class="indexterm" name="id2657480"></a> 158 <a class="indexterm" name="id2657487"></a> 159 <a class="indexterm" name="id2657494"></a> 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="id265 1421"></a>165 <a class="indexterm" name="id265 1428"></a>166 <a class="indexterm" name="id265 1435"></a>167 <a class="indexterm" name="id265 1442"></a>164 <a class="indexterm" name="id2657513"></a> 165 <a class="indexterm" name="id2657520"></a> 166 <a class="indexterm" name="id2657527"></a> 167 <a class="indexterm" name="id2657534"></a> 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="id265 1519"></a>182 <a class="indexterm" name="id2657612"></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="id265 1539"></a>185 <a class="indexterm" name="id2657631"></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="id265 1574"></a>194 <a class="indexterm" name="id2657666"></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="id265 1608"></a>202 <a class="indexterm" name="id2657700"></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="id265 1630"></a>206 <a class="indexterm" name="id2657722"></a> 207 207 If this option is set, two files 208 208 with the same name that are deleted will both 209 209 be kept in the recycle bin. Newer deleted versions 210 of a file will be called “<span class="quote">Copy #x of <em class="replaceable"><code>filename</code></em></span>”.210 of a file will be called <span class="quote">“<span class="quote">Copy #x of <em class="replaceable"><code>filename</code></em></span>”</span>. 211 211 </p></dd><dt><span class="term">recycle:touch</span></dt><dd><p> 212 <a class="indexterm" name="id265 1657"></a>212 <a class="indexterm" name="id2657749"></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="id265 1677"></a>215 <a class="indexterm" name="id2657769"></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="id265 1697"></a>218 <a class="indexterm" name="id2657789"></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="id265 1717"></a>221 <a class="indexterm" name="id2657809"></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="id265 1737"></a>224 <a class="indexterm" name="id2657829"></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="id265 1758"></a>230 <a class="indexterm" name="id2657850"></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="id2651777"></a>netatalk</h3></div></div></div><p>235 <a class="indexterm" name="id265 1784"></a>234 </p></div><div class="sect2" title="netatalk"><div class="titlepage"><div><div><h3 class="title"><a name="id2657868"></a>netatalk</h3></div></div></div><p> 235 <a class="indexterm" name="id2657876"></a> 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="id265 1799"></a><ul type="disc"><li><p>Does not care about creating .AppleDouble forks, just keeps them in sync.</p></li><li><p>If a share in <code class="filename">smb.conf</code> does not contain .AppleDouble item in hide or veto list, it will be added automatically.</p></li></ul></div><p>239 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2651827"></a>shadow_copy</h3></div></div></div><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>240 <a class="indexterm" name="id265 1836"></a>238 </p><div class="itemizedlist"><a class="indexterm" name="id2657891"></a><ul class="itemizedlist" type="disc"><li class="listitem"><p>Does not care about creating .AppleDouble forks, just keeps them in sync.</p></li><li class="listitem"><p>If a share in <code class="filename">smb.conf</code> does not contain .AppleDouble item in hide or veto list, it will be added automatically.</p></li></ul></div><p> 239 </p></div><div class="sect2" title="shadow_copy"><div class="titlepage"><div><div><h3 class="title"><a name="id2657919"></a>shadow_copy</h3></div></div></div><div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p> 240 <a class="indexterm" name="id2657927"></a> 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="id265 1850"></a>243 <a class="indexterm" name="id2657942"></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="id265 1895"></a>255 <a class="indexterm" name="id265 1901"></a>256 <a class="indexterm" name="id265 1908"></a>257 <a class="indexterm" name="id265 1915"></a>258 <a class="indexterm" name="id265 1922"></a>259 <a class="indexterm" name="id265 1929"></a>254 <a class="indexterm" name="id2657987"></a> 255 <a class="indexterm" name="id2657994"></a> 256 <a class="indexterm" name="id2658000"></a> 257 <a class="indexterm" name="id2658007"></a> 258 <a class="indexterm" name="id2658014"></a> 259 <a class="indexterm" name="id2658021"></a> 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 … … 265 265 </p><p> 266 266 Here are some common resources for LVM and EVMS: 267 </p><div class="itemizedlist"><ul type="disc"><li><p><a class="ulink" href="http://www.sistina.com/products_lvm_download.htm" target="_top">Sistina's268 LVM1 and LVM2</a></p></li><li ><p><a class="ulink" href="http://evms.sourceforge.net/" target="_top">Enterprise Volume Management System (EVMS)</a></p></li><li><p><a class="ulink" href="http://tldp.org/HOWTO/LVM-HOWTO/" target="_top">The LVM HOWTO</a></p></li><li><p>267 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p><a class="ulink" href="http://www.sistina.com/products_lvm_download.htm" target="_top">Sistina's 268 LVM1 and LVM2</a></p></li><li class="listitem"><p><a class="ulink" href="http://evms.sourceforge.net/" target="_top">Enterprise Volume Management System (EVMS)</a></p></li><li class="listitem"><p><a class="ulink" href="http://tldp.org/HOWTO/LVM-HOWTO/" target="_top">The LVM HOWTO</a></p></li><li class="listitem"><p> 269 269 See <a class="ulink" href="http://www-106.ibm.com/developerworks/linux/library/l-lvm/" target="_top">Learning 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="id2652015"></a>Shadow Copy Setup</h4></div></div></div><p>273 <a class="indexterm" name="id265 2023"></a>274 <a class="indexterm" name="id265 2030"></a>272 source code and reiserfs.</p></li></ul></div><div class="sect3" title="Shadow Copy Setup"><div class="titlepage"><div><div><h4 class="title"><a name="id2658108"></a>Shadow Copy Setup</h4></div></div></div><p> 273 <a class="indexterm" name="id2658116"></a> 274 <a class="indexterm" name="id2658123"></a> 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 … … 278 278 you use this as a solution without doing your own due diligence with regard to all the components presented 279 279 here. That said, following is an basic outline of how I got things going. 280 </p><div class="orderedlist"><ol type="1"><li><p><b>Installed Operating System . </b>280 </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p title="Installed Operating System"><b>Installed Operating System . </b> 281 281 In my tests, I used <a class="ulink" href="http://www.debian.org/devel/debian-installer/" target="_top">Debian 282 282 Sarge</a> (i.e., testing) on an XFS file system. Setting up the OS is a bit beyond the scope of this 283 283 document. It is assumed that you have a working OS capable of running Samba. 284 </p></li><li ><p><b>Install & Configure Samba. </b>284 </p></li><li class="listitem"><p title="Install & Configure Samba"><b>Install & Configure Samba. </b> 285 285 See the <a class="link" href="introduction.html" title="Part I. General Installation">installation section</a> of this HOWTO for more detail on this. 286 286 It doesn't matter if it is a Domain Controller or Member File Server, but it is assumed that you have a 287 287 working Samba 3.0.3 or later server running. 288 </p></li><li ><p><b>Install & Configure LVM. </b>289 <a class="indexterm" name="id265 2110"></a>290 <a class="indexterm" name="id265 2116"></a>288 </p></li><li class="listitem"><p title="Install & Configure LVM"><b>Install & Configure LVM. </b> 289 <a class="indexterm" name="id2658202"></a> 290 <a class="indexterm" name="id2658209"></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 … … 295 295 The following is provided as an example and will be most helpful for Debian users. Again, this was tested 296 296 using the "testing" or "Sarge" distribution. 297 </p><ul type="disc"><li><p>298 <a class="indexterm" name="id265 2141"></a>299 <a class="indexterm" name="id265 2148"></a>300 <a class="indexterm" name="id265 2155"></a>301 <a class="indexterm" name="id265 2162"></a>302 <a class="indexterm" name="id265 2169"></a>297 </p><ul class="itemizedlist" type="disc"><li class="listitem"><p> 298 <a class="indexterm" name="id2658234"></a> 299 <a class="indexterm" name="id2658241"></a> 300 <a class="indexterm" name="id2658248"></a> 301 <a class="indexterm" name="id2658254"></a> 302 <a class="indexterm" name="id2658261"></a> 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 </p></li><li ><p>307 <a class="indexterm" name="id265 2192"></a>308 <a class="indexterm" name="id265 2199"></a>309 <a class="indexterm" name="id265 2206"></a>310 <a class="indexterm" name="id265 2213"></a>311 <a class="indexterm" name="id265 2220"></a>306 </p></li><li class="listitem"><p> 307 <a class="indexterm" name="id2658285"></a> 308 <a class="indexterm" name="id2658292"></a> 309 <a class="indexterm" name="id2658298"></a> 310 <a class="indexterm" name="id2658305"></a> 311 <a class="indexterm" name="id2658312"></a> 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="id265 2235"></a>317 <a class="indexterm" name="id265 2242"></a>318 <a class="indexterm" name="id265 2248"></a>316 <a class="indexterm" name="id2658327"></a> 317 <a class="indexterm" name="id2658334"></a> 318 <a class="indexterm" name="id2658341"></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 321 321 load the kernel module with something like <code class="literal">modprobe lvm-mod</code> and set your system up to load 322 322 it on reboot by adding it to (<code class="filename">/etc/modules</code>). 323 </p></li><li ><p>324 <a class="indexterm" name="id265 2277"></a>323 </p></li><li class="listitem"><p> 324 <a class="indexterm" name="id2658370"></a> 325 325 Create the physical volume with <code class="literal">pvcreate /dev/hdb1</code> 326 </p></li><li ><p>327 <a class="indexterm" name="id265 2295"></a>328 <a class="indexterm" name="id265 2302"></a>326 </p></li><li class="listitem"><p> 327 <a class="indexterm" name="id2658388"></a> 328 <a class="indexterm" name="id2658394"></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="id265 2319"></a>331 <a class="indexterm" name="id2658412"></a> 332 332 You can use <code class="literal">vgdisplay</code> to review information about the volume group. 333 </p></li><li ><p>334 <a class="indexterm" name="id265 2337"></a>333 </p></li><li class="listitem"><p> 334 <a class="indexterm" name="id2658430"></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="id265 2355"></a>337 <a class="indexterm" name="id2658447"></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 </p></li><li ><p>341 <a class="indexterm" name="id265 2375"></a>340 </p></li><li class="listitem"><p> 341 <a class="indexterm" name="id2658467"></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="id265 2392"></a>346 <a class="indexterm" name="id265 2399"></a>347 <a class="indexterm" name="id265 2406"></a>348 <a class="indexterm" name="id265 2413"></a>349 <a class="indexterm" name="id265 2420"></a>345 <a class="indexterm" name="id2658485"></a> 346 <a class="indexterm" name="id2658492"></a> 347 <a class="indexterm" name="id2658498"></a> 348 <a class="indexterm" name="id2658505"></a> 349 <a class="indexterm" name="id2658512"></a> 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="id265 2434"></a>354 <a class="indexterm" name="id265 2440"></a>355 <a class="indexterm" name="id265 2447"></a>353 <a class="indexterm" name="id2658526"></a> 354 <a class="indexterm" name="id2658533"></a> 355 <a class="indexterm" name="id2658540"></a> 356 356 Now we have an LVM volume where we can play with the shadow_copy VFS module. 357 </p></li><li ><p>358 <a class="indexterm" name="id265 2460"></a>359 <a class="indexterm" name="id265 2467"></a>360 <a class="indexterm" name="id265 2473"></a>357 </p></li><li class="listitem"><p> 358 <a class="indexterm" name="id2658552"></a> 359 <a class="indexterm" name="id2658559"></a> 360 <a class="indexterm" name="id2658566"></a> 361 361 Now we need to prepare the directory with something like 362 362 </p><pre class="screen"> … … 366 366 you can use it. If in doubt, use <code class="literal">chmod 777 /data/shadow_share</code> and tighten the permissions 367 367 once you get things working. 368 </p></li><li ><p>369 <a class="indexterm" name="id265 2508"></a>368 </p></li><li class="listitem"><p> 369 <a class="indexterm" name="id2658600"></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="id265 2525"></a>372 <a class="indexterm" name="id2658618"></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 </p></li></ul></div></li><li ><p><b>Install & Configure the shadow_copy VFS Module. </b>374 </p></li></ul></div></li><li class="listitem"><p title="Install & Configure the shadow_copy VFS Module"><b>Install & Configure the shadow_copy VFS Module. </b> 375 375 Finally we get to the actual shadow_copy VFS module. The shadow_copy VFS module should be available in Samba 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="id2652582"></a><em class="parameter"><code>comment = Shadow Copy Enabled Share</code></em></td></tr><tr><td><a class="indexterm" name="id2652594"></a><em class="parameter"><code>path = /data/shadow_share</code></em></td></tr><tr><td><a class="indexterm" name="id2652606"></a><em class="parameter"><code>vfs objects = shadow_copy</code></em></td></tr><tr><td><a class="indexterm" name="id2652618"></a><em class="parameter"><code>writeable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2652629"></a><em class="parameter"><code>browseable = yes</code></em></td></tr></table></div></div><br class="example-break"></li><li><p><b>Create Snapshots and Make Them Available to shadow_copy.so. </b>379 <a class="indexterm" name="id265 2653"></a>380 <a class="indexterm" name="id265 2660"></a>381 <a class="indexterm" name="id265 2666"></a>378 </p><div class="example"><a name="vfsshadow"></a><p class="title"><b>Example 23.3. Share With shadow_copy VFS</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[shadow_share]</code></em></td></tr><tr><td><a class="indexterm" name="id2658675"></a><em class="parameter"><code>comment = Shadow Copy Enabled Share</code></em></td></tr><tr><td><a class="indexterm" name="id2658687"></a><em class="parameter"><code>path = /data/shadow_share</code></em></td></tr><tr><td><a class="indexterm" name="id2658699"></a><em class="parameter"><code>vfs objects = shadow_copy</code></em></td></tr><tr><td><a class="indexterm" name="id2658710"></a><em class="parameter"><code>writeable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2658722"></a><em class="parameter"><code>browseable = yes</code></em></td></tr></table></div></div><br class="example-break"></li><li class="listitem"><p title="Create Snapshots and Make Them Available to shadow_copy.so"><b>Create Snapshots and Make Them Available to shadow_copy.so. </b> 379 <a class="indexterm" name="id2658745"></a> 380 <a class="indexterm" name="id2658752"></a> 381 <a class="indexterm" name="id2658759"></a> 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 … … 399 399 </pre><p> 400 400 Note that the script does not handle other things like remounting snapshots on reboot. 401 </p></li><li ><p><b>Test From Client. </b>401 </p></li><li class="listitem"><p title="Test From Client"><b>Test From Client. </b> 402 402 To test, you will need to install the shadow copy client which you can obtain from the <a class="ulink" href="http://www.microsoft.com/windowsserver2003/downloads/shadowcopyclient.mspx" target="_top">Microsoft web site.</a> I 403 403 only tested this with an XP client so your results may vary with other pre-XP clients. Once installed, with … … 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="id2652729"></a>VFS Modules Available Elsewhere</h2></div></div></div><p>408 <a class="indexterm" name="id265 2738"></a>407 </p></li></ol></div></div></div></div><div class="sect1" title="VFS Modules Available Elsewhere"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2658822"></a>VFS Modules Available Elsewhere</h2></div></div></div><p> 408 <a class="indexterm" name="id2658830"></a> 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="id2652755"></a>DatabaseFS</h3></div></div></div><p>415 <a class="indexterm" name="id265 2762"></a>414 </p><div class="sect2" title="DatabaseFS"><div class="titlepage"><div><div><h3 class="title"><a name="id2658847"></a>DatabaseFS</h3></div></div></div><p> 415 <a class="indexterm" name="id2658855"></a> 416 416 URL: <a class="ulink" href="http://www.css.tayloru.edu/~elorimer/databasefs/index.php" target="_top"> 417 417 Taylors University DatabaeFS</a> … … 419 419 I have created a VFS module that implements a fairly complete read-only filesystem. It presents information 420 420 from a database as a filesystem in a modular and generic way to allow different databases to be used. 421 (Originally designed for organizing MP3s under directories such as “<span class="quote">Artists,</span>”“<span class="quote">Song422 Keywords,</span>” and so on. I have since easily applied it to a student roster database.) The directory421 (Originally designed for organizing MP3s under directories such as <span class="quote">“<span class="quote">Artists,</span>”</span> <span class="quote">“<span class="quote">Song 422 Keywords,</span>”</span> and so on. I have since easily applied it to a student roster database.) The directory 423 423 structure is stored in the database itself and the module makes no assumptions about the database structure 424 424 beyond the table it requires to run. … … 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="id2652814"></a>vscan</h3></div></div></div><a class="indexterm" name="id2652820"></a><p>URL: <a class="ulink" href="http://www.openantivirus.org/projects.php#samba-vscan" target="_top">428 </p></div><div class="sect2" title="vscan"><div class="titlepage"><div><div><h3 class="title"><a name="id2658907"></a>vscan</h3></div></div></div><a class="indexterm" name="id2658912"></a><p>URL: <a class="ulink" href="http://www.openantivirus.org/projects.php#samba-vscan" target="_top"> 429 429 Open Anti-Virus vscan</a> 430 430 </p><p> 431 <a class="indexterm" name="id265 2841"></a>431 <a class="indexterm" name="id2658934"></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="id2652854"></a>vscan-clamav</h3></div></div></div><p>434 </p></div><div class="sect2" title="vscan-clamav"><div class="titlepage"><div><div><h3 class="title"><a name="id2658946"></a>vscan-clamav</h3></div></div></div><p> 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.3.x/docs/htmldocs/Samba3-HOWTO/apa.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Appendix A. GNU General Public License version 3</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.74.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="DNSDHCP.html" title="Chapter 48. DNS and DHCP Configuration Guide"><link rel="next" href="go01.html" title="Glossary"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Appendix A. 2 GNU General Public License version 3 3 </th></tr><tr><td width="20%" align="left"><a accesskey="p" href="DNSDHCP.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="go01.html">Next</a></td></tr></table><hr></div><div class="appendix" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="id2693431"></a>Appendix A. 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Appendix A. GNU General Public License version 3</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="DNSDHCP.html" title="Chapter 48. DNS and DHCP Configuration Guide"><link rel="next" href="go01.html" title="Glossary"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Appendix A. 4 2 <acronym class="acronym">GNU</acronym> General Public License version 3 5 </h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="bridgehead"><a href="apa.html#id2693460">A. 3 </th></tr><tr><td width="20%" align="left"><a accesskey="p" href="DNSDHCP.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="go01.html">Next</a></td></tr></table><hr></div><div class="appendix" title="Appendix A. GNU General Public License version 3"><div class="titlepage"><div><div><h2 class="title"><a name="id2699488"></a>Appendix A. 4 <acronym class="acronym">GNU</acronym> General Public License version 3 5 </h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="bridgehead"><a href="apa.html#id2699516">A. 6 6 Preamble 7 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id269 3605">A.7 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2699661">A. 8 8 TERMS AND CONDITIONS 9 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id269 3609">A.9 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2699665">A. 10 10 0. Definitions. 11 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id269 3701">A.11 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2699758">A. 12 12 1. Source Code. 13 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id269 3799">A.13 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2699856">A. 14 14 2. Basic Permissions. 15 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id269 3838">A.15 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2699895">A. 16 16 3. Protecting Users’ Legal Rights From Anti-Circumvention Law. 17 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id269 3874">A.17 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2699930">A. 18 18 4. Conveying Verbatim Copies. 19 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id269 3900">A.19 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2699957">A. 20 20 5. Conveying Modified Source Versions. 21 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2 693996">A.21 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700053">A. 22 22 6. Conveying Non-Source Forms. 23 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2 694186">A.23 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700242">A. 24 24 7. Additional Terms. 25 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2 694321">A.25 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700378">A. 26 26 8. Termination. 27 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2 694365">A.27 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700422">A. 28 28 9. Acceptance Not Required for Having Copies. 29 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2 694385">A.29 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700441">A. 30 30 10. Automatic Licensing of Downstream Recipients. 31 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2 694437">A.31 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700493">A. 32 32 11. Patents. 33 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2 694582">A.33 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700639">A. 34 34 12. No Surrender of Others’ Freedom. 35 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2 694604">A.35 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700661">A. 36 36 13. Use with the ???TITLE??? Affero General Public License. 37 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2 694633">A.37 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700690">A. 38 38 14. Revised Versions of this License. 39 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2 694695">A.39 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700752">A. 40 40 15. Disclaimer of Warranty. 41 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2 694721">A.41 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700778">A. 42 42 16. Limitation of Liability. 43 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2 694742">A.43 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700798">A. 44 44 17. Interpretation of Sections 15 and 16. 45 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2 694758">A.45 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700815">A. 46 46 END OF TERMS AND CONDITIONS 47 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2 694762">A.47 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700819">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="id269 3460"></a>57 </p><h2><a name="id2699516"></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="id269 3605"></a>121 </p><h2><a name="id2699661"></a> 122 122 TERMS AND CONDITIONS 123 </h2><h2><a name="id269 3609"></a>123 </h2><h2><a name="id2699665"></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="id269 3701"></a>165 </p><h2><a name="id2699758"></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="id269 3799"></a>205 </p><h2><a name="id2699856"></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="id269 3838"></a>230 </p><h2><a name="id2699895"></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="id269 3874"></a>245 </p><h2><a name="id2699930"></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="id269 3900"></a>258 </p><h2><a name="id2699957"></a> 259 259 5. Conveying Modified Source Versions. 260 260 </h2><p> … … 262 262 it from the Program, in the form of source code under the terms of section 263 263 4, provided that you also meet all of these conditions: 264 </p><div class="orderedlist"><ol type="a"><li><p>264 </p><div class="orderedlist"><ol class="orderedlist" type="a"><li class="listitem"><p> 265 265 The work must carry prominent notices stating that you modified it, and 266 266 giving a relevant date. 267 </p></li><li ><p>267 </p></li><li class="listitem"><p> 268 268 The work must carry prominent notices stating that it is released under 269 269 this License and any conditions added under section 7. This requirement 270 270 modifies the requirement in section 4 to “keep intact all 271 271 notices”. 272 </p></li><li ><p>272 </p></li><li class="listitem"><p> 273 273 You must license the entire work, as a whole, under this License to 274 274 anyone who comes into possession of a copy. This License will therefore … … 278 278 other way, but it does not invalidate such permission if you have 279 279 separately received it. 280 </p></li><li ><p>280 </p></li><li class="listitem"><p> 281 281 If the work has interactive user interfaces, each must display 282 282 Appropriate Legal Notices; however, if the Program has interactive … … 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="id2 693996"></a>294 </p><h2><a name="id2700053"></a> 295 295 6. Conveying Non-Source Forms. 296 296 </h2><p> … … 298 298 sections 4 and 5, provided that you also convey the machine-readable 299 299 Corresponding Source under the terms of this License, in one of these ways: 300 </p><div class="orderedlist"><ol type="a"><li><p>300 </p><div class="orderedlist"><ol class="orderedlist" type="a"><li class="listitem"><p> 301 301 Convey the object code in, or embodied in, a physical product (including 302 302 a physical distribution medium), accompanied by the Corresponding Source 303 303 fixed on a durable physical medium customarily used for software 304 304 interchange. 305 </p></li><li ><p>305 </p></li><li class="listitem"><p> 306 306 Convey the object code in, or embodied in, a physical product (including 307 307 a physical distribution medium), accompanied by a written offer, valid … … 314 314 conveying of source, or (2) access to copy the Corresponding Source from 315 315 a network server at no charge. 316 </p></li><li ><p>316 </p></li><li class="listitem"><p> 317 317 Convey individual copies of the object code with a copy of the written 318 318 offer to provide the Corresponding Source. This alternative is allowed 319 319 only occasionally and noncommercially, and only if you received the 320 320 object code with such an offer, in accord with subsection 6b. 321 </p></li><li ><p>321 </p></li><li class="listitem"><p> 322 322 Convey the object code by offering access from a designated place 323 323 (gratis or for a charge), and offer equivalent access to the … … 332 332 obligated to ensure that it is available for as long as needed to 333 333 satisfy these requirements. 334 </p></li><li ><p>334 </p></li><li class="listitem"><p> 335 335 Convey the object code using peer-to-peer transmission, provided you 336 336 inform other peers where the object code and Corresponding Source of the … … 387 387 and must require no special password or key for unpacking, reading or 388 388 copying. 389 </p><h2><a name="id2 694186"></a>389 </p><h2><a name="id2700242"></a> 390 390 7. Additional Terms. 391 391 </h2><p> … … 409 409 to a covered work, you may (if authorized by the copyright holders of that 410 410 material) supplement the terms of this License with terms: 411 </p><div class="orderedlist"><ol type="a"><li><p>411 </p><div class="orderedlist"><ol class="orderedlist" type="a"><li class="listitem"><p> 412 412 Disclaiming warranty or limiting liability differently from the terms 413 413 of sections 15 and 16 of this License; or 414 </p></li><li ><p>414 </p></li><li class="listitem"><p> 415 415 Requiring preservation of specified reasonable legal notices or author 416 416 attributions in that material or in the Appropriate Legal Notices 417 417 displayed by works containing it; or 418 </p></li><li ><p>418 </p></li><li class="listitem"><p> 419 419 Prohibiting misrepresentation of the origin of that material, or 420 420 requiring that modified versions of such material be marked in 421 421 reasonable ways as different from the original version; or 422 </p></li><li ><p>422 </p></li><li class="listitem"><p> 423 423 Limiting the use for publicity purposes of names of licensors or 424 424 authors of the material; or 425 </p></li><li ><p>425 </p></li><li class="listitem"><p> 426 426 Declining to grant rights under trademark law for use of some trade 427 427 names, trademarks, or service marks; or 428 </p></li><li ><p>428 </p></li><li class="listitem"><p> 429 429 Requiring indemnification of licensors and authors of that material by 430 430 anyone who conveys the material (or modified versions of it) with … … 451 451 of a separately written license, or stated as exceptions; the above 452 452 requirements apply either way. 453 </p><h2><a name="id2 694321"></a>453 </p><h2><a name="id2700378"></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="id2 694365"></a>479 </p><h2><a name="id2700422"></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="id2 694385"></a>490 </p><h2><a name="id2700441"></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="id2 694437"></a>515 </p><h2><a name="id2700493"></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="id2 694582"></a>582 </p><h2><a name="id2700639"></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="id2 694604"></a>594 </p><h2><a name="id2700661"></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="id2 694633"></a>605 </p><h2><a name="id2700690"></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="id2 694695"></a>630 </p><h2><a name="id2700752"></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="id2 694721"></a>641 </p><h2><a name="id2700778"></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="id2 694742"></a>653 </p><h2><a name="id2700798"></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="id2 694758"></a>662 </p><h2><a name="id2700815"></a> 663 663 END OF TERMS AND CONDITIONS 664 </h2><h2><a name="id2 694762"></a>664 </h2><h2><a name="id2700819"></a> 665 665 How to Apply These Terms to Your New Programs 666 666 </h2><p> -
branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/bugreport.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 40. Reporting Bugs</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="troubleshooting.html" title="Part V. Troubleshooting"><link rel="prev" href="problems.html" title="Chapter 39. Analyzing and Solving Samba Problems"><link rel="next" href="tdb.html" title="Chapter 41. Managing TDB Files"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 40. Reporting Bugs</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="problems.html">Prev</a> </td><th width="60%" align="center">Part V. Troubleshooting</th><td width="20%" align="right"> <a accesskey="n" href="tdb.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="bugreport"></a>Chapter 40. Reporting Bugs</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2686050">Introduction</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2686140">General Information</a></span></dt><dt><span class="sect1"><a href="bugreport.html#dbglvl">Debug Levels</a></span></dt><dd><dl><dt><span class="sect2"><a href="bugreport.html#id2686375">Debugging-Specific Operations</a></span></dt></dl></dd><dt><span class="sect1"><a href="bugreport.html#id2686577">Internal Errors</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2686710">Attaching to a Running Process</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2686836">Patches</a></span></dt></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2686050"></a>Introduction</h2></div></div></div><p>2 <a class="indexterm" name="id26 86058"></a>3 <a class="indexterm" name="id26 86065"></a>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 40. Reporting Bugs</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="troubleshooting.html" title="Part V. Troubleshooting"><link rel="prev" href="problems.html" title="Chapter 39. Analyzing and Solving Samba Problems"><link rel="next" href="tdb.html" title="Chapter 41. Managing TDB Files"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 40. Reporting Bugs</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="problems.html">Prev</a> </td><th width="60%" align="center">Part V. Troubleshooting</th><td width="20%" align="right"> <a accesskey="n" href="tdb.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 40. Reporting Bugs"><div class="titlepage"><div><div><h2 class="title"><a name="bugreport"></a>Chapter 40. Reporting Bugs</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2692107">Introduction</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2692196">General Information</a></span></dt><dt><span class="sect1"><a href="bugreport.html#dbglvl">Debug Levels</a></span></dt><dd><dl><dt><span class="sect2"><a href="bugreport.html#id2692432">Debugging-Specific Operations</a></span></dt></dl></dd><dt><span class="sect1"><a href="bugreport.html#id2692634">Internal Errors</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2692767">Attaching to a Running Process</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2692892">Patches</a></span></dt></dl></div><div class="sect1" title="Introduction"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2692107"></a>Introduction</h2></div></div></div><p> 2 <a class="indexterm" name="id2692115"></a> 3 <a class="indexterm" name="id2692122"></a> 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 … … 10 10 their time, skills, and efforts. We receive far more mail than 11 11 we can possibly answer, so you have a much higher chance of a response 12 and a fix if you send us a “<span class="quote">developer-friendly</span>”bug report that lets12 and a fix if you send us a <span class="quote">“<span class="quote">developer-friendly</span>”</span> bug report that lets 13 13 us fix it fast. 14 14 </p><p> 15 <a class="indexterm" name="id26 86098"></a>16 <a class="indexterm" name="id26 86105"></a>17 <a class="indexterm" name="id26 86111"></a>15 <a class="indexterm" name="id2692154"></a> 16 <a class="indexterm" name="id2692161"></a> 17 <a class="indexterm" name="id2692168"></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="id2686140"></a>General Information</h2></div></div></div><p>27 </p></div><div class="sect1" title="General Information"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2692196"></a>General Information</h2></div></div></div><p> 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 … … 36 36 annotate it with exactly what you were doing on the client at the 37 37 time and exactly what the results were. 38 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="dbglvl"></a>Debug Levels</h2></div></div></div><p>38 </p></div><div class="sect1" title="Debug Levels"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="dbglvl"></a>Debug Levels</h2></div></div></div><p> 39 39 If the bug has anything to do with Samba behaving incorrectly as a 40 40 server (like refusing to open a file), then the log files will probably … … 43 43 detail but may use too much disk space. 44 44 </p><p> 45 <a class="indexterm" name="id26 86191"></a>46 <a class="indexterm" name="id26 86198"></a>45 <a class="indexterm" name="id2692248"></a> 46 <a class="indexterm" name="id2692255"></a> 47 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="id2686238"></a><em class="parameter"><code>log level = 10</code></em></td></tr><tr><td><a class="indexterm" name="id2686250"></a><em class="parameter"><code>log file = /usr/local/samba/lib/log.%m</code></em></td></tr><tr><td><a class="indexterm" name="id2686261"></a><em class="parameter"><code>include = /usr/local/samba/lib/smb.conf.%m</code></em></td></tr></table><p>51 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2692295"></a><em class="parameter"><code>log level = 10</code></em></td></tr><tr><td><a class="indexterm" name="id2692307"></a><em class="parameter"><code>log file = /usr/local/samba/lib/log.%m</code></em></td></tr><tr><td><a class="indexterm" name="id2692318"></a><em class="parameter"><code>include = /usr/local/samba/lib/smb.conf.%m</code></em></td></tr></table><p> 52 52 and create a file <code class="filename">/usr/local/samba/lib/smb.conf.<em class="replaceable"><code>machine</code></em></code> where 53 53 <em class="replaceable"><code>machine</code></em> is the name of the client you wish to debug. In that file put any … … 62 62 <code class="constant">3</code>. Nearly all bugs can be tracked at a setting of <code class="constant">10</code>, but be 63 63 prepared for a large volume of log data. 64 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2686375"></a>Debugging-Specific Operations</h3></div></div></div><p>65 <a class="indexterm" name="id26 86383"></a>66 <a class="indexterm" name="id26 86390"></a>67 <a class="indexterm" name="id26 86397"></a>68 <a class="indexterm" name="id26 86404"></a>64 </p><div class="sect2" title="Debugging-Specific Operations"><div class="titlepage"><div><div><h3 class="title"><a name="id2692432"></a>Debugging-Specific Operations</h3></div></div></div><p> 65 <a class="indexterm" name="id2692440"></a> 66 <a class="indexterm" name="id2692446"></a> 67 <a class="indexterm" name="id2692453"></a> 68 <a class="indexterm" name="id2692460"></a> 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="id2686423"></a><em class="parameter"><code>log level = 0 tdb:3 passdb:5 auth:4 vfs:2</code></em></td></tr><tr><td><a class="indexterm" name="id2686434"></a><em class="parameter"><code>max log size = 0</code></em></td></tr><tr><td><a class="indexterm" name="id2686446"></a><em class="parameter"><code>log file = /var/log/samba/%U.%m.log</code></em></td></tr></table><p>73 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2692480"></a><em class="parameter"><code>log level = 0 tdb:3 passdb:5 auth:4 vfs:2</code></em></td></tr><tr><td><a class="indexterm" name="id2692491"></a><em class="parameter"><code>max log size = 0</code></em></td></tr><tr><td><a class="indexterm" name="id2692502"></a><em class="parameter"><code>log file = /var/log/samba/%U.%m.log</code></em></td></tr></table><p> 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="id2686577"></a>Internal Errors</h2></div></div></div><p>81 If you get the message “<span class="quote"><span class="errorname">INTERNAL ERROR</span></span>”in your log files,80 </p><div class="table"><a name="dbgclass"></a><p class="title"><b>Table 40.1. Debuggable Functions</b></p><div class="table-contents"><table summary="Debuggable Functions" border="1"><colgroup><col><col></colgroup><thead><tr><th align="center">Function Name</th><th align="center">Function Name</th></tr></thead><tbody><tr><td align="center">all</td><td align="center">passdb</td></tr><tr><td align="center">tdb</td><td align="center">sam</td></tr><tr><td align="center">printdrivers</td><td align="center">auth</td></tr><tr><td align="center">lanman</td><td align="center">winbind</td></tr><tr><td align="center">smb</td><td align="center">vfs</td></tr><tr><td align="center">rpc_parse</td><td align="center">idmap</td></tr><tr><td align="center">rpc_srv</td><td align="center">quota</td></tr><tr><td align="center">rpc_cli</td><td align="center">acls</td></tr></tbody></table></div></div><br class="table-break"></div></div><div class="sect1" title="Internal Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2692634"></a>Internal Errors</h2></div></div></div><p> 81 If you get the message <span class="quote">“<span class="quote"><span class="errorname">INTERNAL ERROR</span></span>”</span> in your log files, 82 82 it means that Samba got an unexpected signal while running. It is probably a 83 83 segmentation fault and almost certainly means a bug in Samba (unless … … 92 92 possible. Please make this reasonably detailed. 93 93 </p><p> 94 <a class="indexterm" name="id26 86610"></a>94 <a class="indexterm" name="id2692666"></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 86626"></a>100 <a class="indexterm" name="id26 86632"></a>99 <a class="indexterm" name="id2692682"></a> 100 <a class="indexterm" name="id2692689"></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 86658"></a>106 <a class="indexterm" name="id26 86665"></a>105 <a class="indexterm" name="id2692715"></a> 106 <a class="indexterm" name="id2692721"></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 86690"></a>112 <a class="indexterm" name="id2692747"></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="id2686710"></a>Attaching to a Running Process</h2></div></div></div><p>120 <a class="indexterm" name="id26 86719"></a>121 <a class="indexterm" name="id26 86726"></a>122 <a class="indexterm" name="id26 86732"></a>119 </p></div><div class="sect1" title="Attaching to a Running Process"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2692767"></a>Attaching to a Running Process</h2></div></div></div><p> 120 <a class="indexterm" name="id2692775"></a> 121 <a class="indexterm" name="id2692782"></a> 122 <a class="indexterm" name="id2692789"></a> 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 86818"></a>149 then “<span class="quote">attach `pid'</span>” (of the spinning process), then type “<span class="quote">bt</span>”to148 <a class="indexterm" name="id2692874"></a> 149 then <span class="quote">“<span class="quote">attach `pid'</span>”</span> (of the spinning process), then type <span class="quote">“<span class="quote">bt</span>”</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="id2686836"></a>Patches</h2></div></div></div><p>152 <a class="indexterm" name="id26 86843"></a>153 <a class="indexterm" name="id26 86850"></a>151 </p></div><div class="sect1" title="Patches"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2692892"></a>Patches</h2></div></div></div><p> 152 <a class="indexterm" name="id2692900"></a> 153 <a class="indexterm" name="id2692907"></a> 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.3.x/docs/htmldocs/Samba3-HOWTO/cfgsmarts.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 34. Advanced Configuration Techniques</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="largefile.html" title="Chapter 33. Handling Large Directories"><link rel="next" href="migration.html" title="Part IV. Migration and Updating"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 34. Advanced Configuration Techniques</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="largefile.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="migration.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="cfgsmarts"></a>Chapter 34. Advanced Configuration Techniques</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2673923">Implementation</a></span></dt><dd><dl><dt><span class="sect2"><a href="cfgsmarts.html#id2673932">Multiple Server Hosting</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2675343">Multiple Virtual Server Hosting</a></span></dt></dl></dd></dl></div><p>2 <a class="indexterm" name="id267 3766"></a>3 <a class="indexterm" name="id267 3773"></a>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 34. Advanced Configuration Techniques</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="largefile.html" title="Chapter 33. Handling Large Directories"><link rel="next" href="migration.html" title="Part IV. Migration and Updating"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 34. Advanced Configuration Techniques</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="largefile.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="migration.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 34. Advanced Configuration Techniques"><div class="titlepage"><div><div><h2 class="title"><a name="cfgsmarts"></a>Chapter 34. Advanced Configuration Techniques</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2679984">Implementation</a></span></dt><dd><dl><dt><span class="sect2"><a href="cfgsmarts.html#id2679993">Multiple Server Hosting</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2681404">Multiple Virtual Server Hosting</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2679828"></a> 3 <a class="indexterm" name="id2679835"></a> 4 4 Since the release of the first edition of this book there have been repeated requests to better document 5 5 configuration techniques that may help a network administrator to get more out of Samba. Some users have asked 6 6 for documentation regarding the use of the <a class="link" href="smb.conf.5.html#INCLUDE" target="_top">include = file-name</a> parameter. 7 7 </p><p> 8 <a class="indexterm" name="id267 3801"></a>9 <a class="indexterm" name="id267 3808"></a>8 <a class="indexterm" name="id2679863"></a> 9 <a class="indexterm" name="id2679870"></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="id267 3822"></a>15 <a class="indexterm" name="id267 3829"></a>14 <a class="indexterm" name="id2679884"></a> 15 <a class="indexterm" name="id2679890"></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="id267 3844"></a>21 <a class="indexterm" name="id267 3851"></a>22 <a class="indexterm" name="id267 3858"></a>20 <a class="indexterm" name="id2679906"></a> 21 <a class="indexterm" name="id2679912"></a> 22 <a class="indexterm" name="id2679919"></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="id267 3873"></a>28 <a class="indexterm" name="id267 3880"></a>29 <a class="indexterm" name="id267 3886"></a>27 <a class="indexterm" name="id2679934"></a> 28 <a class="indexterm" name="id2679941"></a> 29 <a class="indexterm" name="id2679948"></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="id267 3904"></a>37 <a class="indexterm" name="id267 3911"></a>36 <a class="indexterm" name="id2679966"></a> 37 <a class="indexterm" name="id2679973"></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="id2673923"></a>Implementation</h2></div></div></div><p>42 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2673932"></a>Multiple Server Hosting</h3></div></div></div><p>43 <a class="indexterm" name="id26 73940"></a>44 <a class="indexterm" name="id26 73947"></a>45 <a class="indexterm" name="id26 73954"></a>46 <a class="indexterm" name="id26 73960"></a>47 <a class="indexterm" name="id26 73967"></a>48 <a class="indexterm" name="id26 73974"></a>49 <a class="indexterm" name="id26 73981"></a>41 </p><div class="sect1" title="Implementation"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2679984"></a>Implementation</h2></div></div></div><p> 42 </p><div class="sect2" title="Multiple Server Hosting"><div class="titlepage"><div><div><h3 class="title"><a name="id2679993"></a>Multiple Server Hosting</h3></div></div></div><p> 43 <a class="indexterm" name="id2680001"></a> 44 <a class="indexterm" name="id2680008"></a> 45 <a class="indexterm" name="id2680015"></a> 46 <a class="indexterm" name="id2680022"></a> 47 <a class="indexterm" name="id2680029"></a> 48 <a class="indexterm" name="id2680036"></a> 49 <a class="indexterm" name="id2680042"></a> 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 74064"></a>58 <a class="indexterm" name="id26 74070"></a>59 <a class="indexterm" name="id26 74077"></a>60 <a class="indexterm" name="id26 74084"></a>57 <a class="indexterm" name="id2680125"></a> 58 <a class="indexterm" name="id2680132"></a> 59 <a class="indexterm" name="id2680139"></a> 60 <a class="indexterm" name="id2680146"></a> 61 61 Each instance should operate on its own IP address (that independent IP address can be an IP Alias). 62 62 Each instance of <span class="application">nmbd</span>, <span class="application">smbd</span> and <span class="application">winbindd</span> should listen only on its own IP socket. This can be secured … … 64 64 own SID also, this means that the servers are discrete and independent of each other. 65 65 </p><p> 66 <a class="indexterm" name="id26 74130"></a>67 <a class="indexterm" name="id26 74137"></a>68 <a class="indexterm" name="id26 74144"></a>69 <a class="indexterm" name="id26 74151"></a>70 <a class="indexterm" name="id26 74158"></a>71 <a class="indexterm" name="id26 74164"></a>72 <a class="indexterm" name="id26 74171"></a>73 <a class="indexterm" name="id26 74178"></a>74 <a class="indexterm" name="id26 74185"></a>66 <a class="indexterm" name="id2680192"></a> 67 <a class="indexterm" name="id2680199"></a> 68 <a class="indexterm" name="id2680205"></a> 69 <a class="indexterm" name="id2680212"></a> 70 <a class="indexterm" name="id2680219"></a> 71 <a class="indexterm" name="id2680226"></a> 72 <a class="indexterm" name="id2680233"></a> 73 <a class="indexterm" name="id2680240"></a> 74 <a class="indexterm" name="id2680247"></a> 75 75 The user of multiple server hosting is non-trivial, and requires careful configuration of each aspect of 76 76 process management and start up. The <code class="filename">smb.conf</code> parameters that must be carefully configured includes: 77 77 <a class="link" href="smb.conf.5.html#PRIVATEDIR" 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 74297"></a>80 <a class="indexterm" name="id26 74304"></a>81 <a class="indexterm" name="id26 74310"></a>79 <a class="indexterm" name="id2680359"></a> 80 <a class="indexterm" name="id2680365"></a> 81 <a class="indexterm" name="id2680371"></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="id2674328"></a>Multiple Virtual Server Personalities</h3></div></div></div><p>88 <a class="indexterm" name="id26 74336"></a>89 <a class="indexterm" name="id26 74343"></a>90 <a class="indexterm" name="id26 74350"></a>87 </p></div><div class="sect2" title="Multiple Virtual Server Personalities"><div class="titlepage"><div><div><h3 class="title"><a name="id2680389"></a>Multiple Virtual Server Personalities</h3></div></div></div><p> 88 <a class="indexterm" name="id2680398"></a> 89 <a class="indexterm" name="id2680405"></a> 90 <a class="indexterm" name="id2680412"></a> 91 91 Samba has the ability to host multiple virtual servers, each of which have their own personality. This is 92 92 achieved by configuring an <code class="filename">smb.conf</code> file that is common to all personalities hosted. Each server … … 94 94 <a class="link" href="smb.conf.5.html#%5BGLOBAL%5D" 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 74398"></a>97 <a class="indexterm" name="id26 74404"></a>98 <a class="indexterm" name="id26 74411"></a>96 <a class="indexterm" name="id2680459"></a> 97 <a class="indexterm" name="id2680466"></a> 98 <a class="indexterm" name="id2680473"></a> 99 99 When hosting multiple virtual servers, each with their own personality, each can be in a different workgroup. 100 100 Only the primary server can be a domain member or a domain controller. The personality is defined by the 101 101 combination of the <a class="link" href="smb.conf.5.html#SECURITY" 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 74460"></a>104 <a class="indexterm" name="id26 74467"></a>105 <a class="indexterm" name="id26 74474"></a>106 <a class="indexterm" name="id26 74481"></a>107 <a class="indexterm" name="id26 74488"></a>108 <a class="indexterm" name="id26 74495"></a>103 <a class="indexterm" name="id2680522"></a> 104 <a class="indexterm" name="id2680529"></a> 105 <a class="indexterm" name="id2680536"></a> 106 <a class="indexterm" name="id2680542"></a> 107 <a class="indexterm" name="id2680549"></a> 108 <a class="indexterm" name="id2680556"></a> 109 109 This configuration style can be used either with NetBIOS names, or using NetBIOS-less SMB over TCP services. 110 110 If run using NetBIOS mode (the most common method) it is important that the parameter <a class="link" href="smb.conf.5.html#SMBPORTS" 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 … … 115 115 is not serviceable. 116 116 </p><p> 117 <a class="indexterm" name="id26 74573"></a>118 <a class="indexterm" name="id26 74580"></a>119 <a class="indexterm" name="id26 74587"></a>120 <a class="indexterm" name="id26 74594"></a>117 <a class="indexterm" name="id2680635"></a> 118 <a class="indexterm" name="id2680642"></a> 119 <a class="indexterm" name="id2680649"></a> 120 <a class="indexterm" name="id2680656"></a> 121 121 It is possible to host multiple servers, each with their own personality, using port 445 (the NetBIOS-less SMB 122 122 port), in which case the <code class="literal">%i</code> macro can be used to provide separate server identities (by … … 126 126 more complex than that using NetBIOS names only using TCP port 139. 127 127 </p><p> 128 <a class="indexterm" name="id26 74662"></a>128 <a class="indexterm" name="id2680723"></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 74706"></a>139 <a class="indexterm" name="id26 74713"></a>140 <a class="indexterm" name="id26 74720"></a>141 <a class="indexterm" name="id26 74726"></a>138 <a class="indexterm" name="id2680768"></a> 139 <a class="indexterm" name="id2680774"></a> 140 <a class="indexterm" name="id2680781"></a> 141 <a class="indexterm" name="id2680788"></a> 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="id2674817"></a><em class="parameter"><code>workgroup = ROBINSNEST</code></em></td></tr><tr><td><a class="indexterm" name="id2674828"></a><em class="parameter"><code>netbios name = ELASTIC</code></em></td></tr><tr><td><a class="indexterm" name="id2674840"></a><em class="parameter"><code>netbios aliases = CDSERVER</code></em></td></tr><tr><td><a class="indexterm" name="id2674852"></a><em class="parameter"><code>smb ports = 139</code></em></td></tr><tr><td><a class="indexterm" name="id2674864"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2674876"></a><em class="parameter"><code>disable spoolss = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2674888"></a><em class="parameter"><code>show add printer wizard = No</code></em></td></tr><tr><td><a class="indexterm" name="id2674900"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2674911"></a><em class="parameter"><code>include = /etc/samba/smb-%L.conf</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[homes]</code></em></td></tr><tr><td><a class="indexterm" name="id2674932"></a><em class="parameter"><code>comment = Home Directories</code></em></td></tr><tr><td><a class="indexterm" name="id2674944"></a><em class="parameter"><code>valid users = %S</code></em></td></tr><tr><td><a class="indexterm" name="id2674955"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2674967"></a><em class="parameter"><code>browseable = No</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[office]</code></em></td></tr><tr><td><a class="indexterm" name="id2674988"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2674999"></a><em class="parameter"><code>path = /data</code></em></td></tr><tr><td><a class="indexterm" name="id2675011"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[printers]</code></em></td></tr><tr><td><a class="indexterm" name="id2675031"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2675043"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2675055"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2675066"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2675078"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2675090"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2675101"></a><em class="parameter"><code>browseable = No</code></em></td></tr></table></div></div><br class="example-break"><p>149 <a class="indexterm" name="id26 75116"></a>148 </p><div class="example"><a name="elastic"></a><p class="title"><b>Example 34.1. Elastic smb.conf File</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td># Global parameters</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2680878"></a><em class="parameter"><code>workgroup = ROBINSNEST</code></em></td></tr><tr><td><a class="indexterm" name="id2680890"></a><em class="parameter"><code>netbios name = ELASTIC</code></em></td></tr><tr><td><a class="indexterm" name="id2680902"></a><em class="parameter"><code>netbios aliases = CDSERVER</code></em></td></tr><tr><td><a class="indexterm" name="id2680914"></a><em class="parameter"><code>smb ports = 139</code></em></td></tr><tr><td><a class="indexterm" name="id2680926"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2680937"></a><em class="parameter"><code>disable spoolss = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2680949"></a><em class="parameter"><code>show add printer wizard = No</code></em></td></tr><tr><td><a class="indexterm" name="id2680961"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2680973"></a><em class="parameter"><code>include = /etc/samba/smb-%L.conf</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[homes]</code></em></td></tr><tr><td><a class="indexterm" name="id2680994"></a><em class="parameter"><code>comment = Home Directories</code></em></td></tr><tr><td><a class="indexterm" name="id2681006"></a><em class="parameter"><code>valid users = %S</code></em></td></tr><tr><td><a class="indexterm" name="id2681017"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2681029"></a><em class="parameter"><code>browseable = No</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[office]</code></em></td></tr><tr><td><a class="indexterm" name="id2681049"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2681061"></a><em class="parameter"><code>path = /data</code></em></td></tr><tr><td><a class="indexterm" name="id2681072"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[printers]</code></em></td></tr><tr><td><a class="indexterm" name="id2681093"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2681105"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2681116"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2681128"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2681140"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2681151"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2681163"></a><em class="parameter"><code>browseable = No</code></em></td></tr></table></div></div><br class="example-break"><p> 149 <a class="indexterm" name="id2681178"></a> 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="id2675182"></a><em class="parameter"><code>workgroup = ARTSDEPT</code></em></td></tr><tr><td><a class="indexterm" name="id2675194"></a><em class="parameter"><code>netbios name = CDSERVER</code></em></td></tr><tr><td><a class="indexterm" name="id2675205"></a><em class="parameter"><code>map to guest = Bad User</code></em></td></tr><tr><td><a class="indexterm" name="id2675217"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[carousel]</code></em></td></tr><tr><td><a class="indexterm" name="id2675238"></a><em class="parameter"><code>comment = CDROM Share</code></em></td></tr><tr><td><a class="indexterm" name="id2675250"></a><em class="parameter"><code>path = /export/cddata</code></em></td></tr><tr><td><a class="indexterm" name="id2675261"></a><em class="parameter"><code>read only = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2675273"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr></table></div></div><br class="example-break"><p>155 <a class="indexterm" name="id26 75288"></a>156 <a class="indexterm" name="id26 75295"></a>157 <a class="indexterm" name="id26 75302"></a>158 <a class="indexterm" name="id26 75308"></a>154 </p><div class="example"><a name="cdserver"></a><p class="title"><b>Example 34.2. CDROM Server smb-cdserver.conf file</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td># Global parameters</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2681244"></a><em class="parameter"><code>workgroup = ARTSDEPT</code></em></td></tr><tr><td><a class="indexterm" name="id2681255"></a><em class="parameter"><code>netbios name = CDSERVER</code></em></td></tr><tr><td><a class="indexterm" name="id2681267"></a><em class="parameter"><code>map to guest = Bad User</code></em></td></tr><tr><td><a class="indexterm" name="id2681279"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[carousel]</code></em></td></tr><tr><td><a class="indexterm" name="id2681300"></a><em class="parameter"><code>comment = CDROM Share</code></em></td></tr><tr><td><a class="indexterm" name="id2681311"></a><em class="parameter"><code>path = /export/cddata</code></em></td></tr><tr><td><a class="indexterm" name="id2681323"></a><em class="parameter"><code>read only = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2681335"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr></table></div></div><br class="example-break"><p> 155 <a class="indexterm" name="id2681349"></a> 156 <a class="indexterm" name="id2681356"></a> 157 <a class="indexterm" name="id2681363"></a> 158 <a class="indexterm" name="id2681370"></a> 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="id2675343"></a>Multiple Virtual Server Hosting</h3></div></div></div><p>165 <a class="indexterm" name="id26 75351"></a>166 <a class="indexterm" name="id26 75358"></a>167 <a class="indexterm" name="id26 75365"></a>164 </p></div><div class="sect2" title="Multiple Virtual Server Hosting"><div class="titlepage"><div><div><h3 class="title"><a name="id2681404"></a>Multiple Virtual Server Hosting</h3></div></div></div><p> 165 <a class="indexterm" name="id2681412"></a> 166 <a class="indexterm" name="id2681420"></a> 167 <a class="indexterm" name="id2681426"></a> 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 75397"></a>174 <a class="indexterm" name="id26 75404"></a>175 <a class="indexterm" name="id26 75411"></a>173 <a class="indexterm" name="id2681459"></a> 174 <a class="indexterm" name="id2681466"></a> 175 <a class="indexterm" name="id2681472"></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="id2675486"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2675498"></a><em class="parameter"><code>netbios name = MERLIN</code></em></td></tr><tr><td><a class="indexterm" name="id2675510"></a><em class="parameter"><code>netbios aliases = SAURON</code></em></td></tr><tr><td><a class="indexterm" name="id2675521"></a><em class="parameter"><code>passdb backend = tdbsam</code></em></td></tr><tr><td><a class="indexterm" name="id2675533"></a><em class="parameter"><code>smb ports = 139</code></em></td></tr><tr><td><a class="indexterm" name="id2675545"></a><em class="parameter"><code>syslog = 0</code></em></td></tr><tr><td><a class="indexterm" name="id2675556"></a><em class="parameter"><code>printcap name = CUPS</code></em></td></tr><tr><td><a class="indexterm" name="id2675568"></a><em class="parameter"><code>show add printer wizard = No</code></em></td></tr><tr><td><a class="indexterm" name="id2675580"></a><em class="parameter"><code>add user script = /usr/sbin/useradd -m '%u'</code></em></td></tr><tr><td><a class="indexterm" name="id2675592"></a><em class="parameter"><code>delete user script = /usr/sbin/userdel -r '%u'</code></em></td></tr><tr><td><a class="indexterm" name="id2675605"></a><em class="parameter"><code>add group script = /usr/sbin/groupadd '%g'</code></em></td></tr><tr><td><a class="indexterm" name="id2675617"></a><em class="parameter"><code>delete group script = /usr/sbin/groupdel '%g'</code></em></td></tr><tr><td><a class="indexterm" name="id2675629"></a><em class="parameter"><code>add user to group script = /usr/sbin/usermod -G '%g' '%u'</code></em></td></tr><tr><td><a class="indexterm" name="id2675642"></a><em class="parameter"><code>add machine script = /usr/sbin/useradd -s /bin/false -d /var/lib/nobody '%u'</code></em></td></tr><tr><td><a class="indexterm" name="id2675654"></a><em class="parameter"><code>logon script = scripts\login.bat</code></em></td></tr><tr><td><a class="indexterm" name="id2675666"></a><em class="parameter"><code>logon path = </code></em></td></tr><tr><td><a class="indexterm" name="id2675678"></a><em class="parameter"><code>logon drive = X:</code></em></td></tr><tr><td><a class="indexterm" name="id2675690"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2675701"></a><em class="parameter"><code>preferred master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2675713"></a><em class="parameter"><code>wins support = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2675725"></a><em class="parameter"><code>printing = CUPS</code></em></td></tr><tr><td><a class="indexterm" name="id2675737"></a><em class="parameter"><code>include = /etc/samba/smb-%L.conf</code></em></td></tr></table></div></div><br class="example-break"><div class="example"><a name="merlinsmbc"></a><p class="title"><b>Example 34.4. MERLIN smb-merlin.conf File Share Section</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td># Global parameters</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2675777"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2675789"></a><em class="parameter"><code>netbios name = MERLIN</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[homes]</code></em></td></tr><tr><td><a class="indexterm" name="id2675810"></a><em class="parameter"><code>comment = Home Directories</code></em></td></tr><tr><td><a class="indexterm" name="id2675822"></a><em class="parameter"><code>valid users = %S</code></em></td></tr><tr><td><a class="indexterm" name="id2675833"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2675845"></a><em class="parameter"><code>browseable = No</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[office]</code></em></td></tr><tr><td><a class="indexterm" name="id2675865"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2675877"></a><em class="parameter"><code>path = /data</code></em></td></tr><tr><td><a class="indexterm" name="id2675888"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[netlogon]</code></em></td></tr><tr><td><a class="indexterm" name="id2675909"></a><em class="parameter"><code>comment = NETLOGON</code></em></td></tr><tr><td><a class="indexterm" name="id2675921"></a><em class="parameter"><code>path = /var/lib/samba/netlogon</code></em></td></tr><tr><td><a class="indexterm" name="id2675932"></a><em class="parameter"><code>read only = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2675944"></a><em class="parameter"><code>browseable = No</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[printers]</code></em></td></tr><tr><td><a class="indexterm" name="id2675965"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2675976"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2675988"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2676000"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2676012"></a><em class="parameter"><code>browseable = No</code></em></td></tr></table></div></div><br class="example-break"><div class="example"><a name="sauronsmbc"></a><p class="title"><b>Example 34.5. SAURON smb-sauron.conf File Share Section</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td># Global parameters</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2676052"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2676064"></a><em class="parameter"><code>netbios name = SAURON</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[www]</code></em></td></tr><tr><td><a class="indexterm" name="id2676084"></a><em class="parameter"><code>comment = Web Pages</code></em></td></tr><tr><td><a class="indexterm" name="id2676096"></a><em class="parameter"><code>path = /srv/www/htdocs</code></em></td></tr><tr><td><a class="indexterm" name="id2676108"></a><em class="parameter"><code>read only = No</code></em></td></tr></table></div></div><br class="example-break"></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="largefile.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="optional.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="migration.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 33. Handling Large Directories </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Part IV. Migration and Updating</td></tr></table></div></body></html>180 </p><div class="example"><a name="mastersmbc"></a><p class="title"><b>Example 34.3. Master smb.conf File Global Section</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td># Global parameters</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2681548"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2681559"></a><em class="parameter"><code>netbios name = MERLIN</code></em></td></tr><tr><td><a class="indexterm" name="id2681571"></a><em class="parameter"><code>netbios aliases = SAURON</code></em></td></tr><tr><td><a class="indexterm" name="id2681583"></a><em class="parameter"><code>passdb backend = tdbsam</code></em></td></tr><tr><td><a class="indexterm" name="id2681595"></a><em class="parameter"><code>smb ports = 139</code></em></td></tr><tr><td><a class="indexterm" name="id2681607"></a><em class="parameter"><code>syslog = 0</code></em></td></tr><tr><td><a class="indexterm" name="id2681618"></a><em class="parameter"><code>printcap name = CUPS</code></em></td></tr><tr><td><a class="indexterm" name="id2681630"></a><em class="parameter"><code>show add printer wizard = No</code></em></td></tr><tr><td><a class="indexterm" name="id2681642"></a><em class="parameter"><code>add user script = /usr/sbin/useradd -m '%u'</code></em></td></tr><tr><td><a class="indexterm" name="id2681654"></a><em class="parameter"><code>delete user script = /usr/sbin/userdel -r '%u'</code></em></td></tr><tr><td><a class="indexterm" name="id2681666"></a><em class="parameter"><code>add group script = /usr/sbin/groupadd '%g'</code></em></td></tr><tr><td><a class="indexterm" name="id2681679"></a><em class="parameter"><code>delete group script = /usr/sbin/groupdel '%g'</code></em></td></tr><tr><td><a class="indexterm" name="id2681691"></a><em class="parameter"><code>add user to group script = /usr/sbin/usermod -G '%g' '%u'</code></em></td></tr><tr><td><a class="indexterm" name="id2681703"></a><em class="parameter"><code>add machine script = /usr/sbin/useradd -s /bin/false -d /var/lib/nobody '%u'</code></em></td></tr><tr><td><a class="indexterm" name="id2681716"></a><em class="parameter"><code>logon script = scripts\login.bat</code></em></td></tr><tr><td><a class="indexterm" name="id2681728"></a><em class="parameter"><code>logon path = </code></em></td></tr><tr><td><a class="indexterm" name="id2681740"></a><em class="parameter"><code>logon drive = X:</code></em></td></tr><tr><td><a class="indexterm" name="id2681751"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2681763"></a><em class="parameter"><code>preferred master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2681775"></a><em class="parameter"><code>wins support = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2681787"></a><em class="parameter"><code>printing = CUPS</code></em></td></tr><tr><td><a class="indexterm" name="id2681798"></a><em class="parameter"><code>include = /etc/samba/smb-%L.conf</code></em></td></tr></table></div></div><br class="example-break"><div class="example"><a name="merlinsmbc"></a><p class="title"><b>Example 34.4. MERLIN smb-merlin.conf File Share Section</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td># Global parameters</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2681839"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2681851"></a><em class="parameter"><code>netbios name = MERLIN</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[homes]</code></em></td></tr><tr><td><a class="indexterm" name="id2681872"></a><em class="parameter"><code>comment = Home Directories</code></em></td></tr><tr><td><a class="indexterm" name="id2681883"></a><em class="parameter"><code>valid users = %S</code></em></td></tr><tr><td><a class="indexterm" name="id2681895"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td><a class="indexterm" name="id2681906"></a><em class="parameter"><code>browseable = No</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[office]</code></em></td></tr><tr><td><a class="indexterm" name="id2681927"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2681939"></a><em class="parameter"><code>path = /data</code></em></td></tr><tr><td><a class="indexterm" name="id2681950"></a><em class="parameter"><code>read only = No</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[netlogon]</code></em></td></tr><tr><td><a class="indexterm" name="id2681971"></a><em class="parameter"><code>comment = NETLOGON</code></em></td></tr><tr><td><a class="indexterm" name="id2681982"></a><em class="parameter"><code>path = /var/lib/samba/netlogon</code></em></td></tr><tr><td><a class="indexterm" name="id2681994"></a><em class="parameter"><code>read only = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2682006"></a><em class="parameter"><code>browseable = No</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[printers]</code></em></td></tr><tr><td><a class="indexterm" name="id2682026"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2682038"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2682050"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2682061"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2682073"></a><em class="parameter"><code>browseable = No</code></em></td></tr></table></div></div><br class="example-break"><div class="example"><a name="sauronsmbc"></a><p class="title"><b>Example 34.5. SAURON smb-sauron.conf File Share Section</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td># Global parameters</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2682114"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2682125"></a><em class="parameter"><code>netbios name = SAURON</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[www]</code></em></td></tr><tr><td><a class="indexterm" name="id2682146"></a><em class="parameter"><code>comment = Web Pages</code></em></td></tr><tr><td><a class="indexterm" name="id2682158"></a><em class="parameter"><code>path = /srv/www/htdocs</code></em></td></tr><tr><td><a class="indexterm" name="id2682170"></a><em class="parameter"><code>read only = No</code></em></td></tr></table></div></div><br class="example-break"></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="largefile.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="optional.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="migration.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 33. Handling Large Directories </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Part IV. Migration and Updating</td></tr></table></div></body></html> -
branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/ch-ldap-tls.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 46. LDAP and Transport Layer Security</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="Appendix.html" title="Part VI. Reference Section"><link rel="prev" href="speed.html" title="Chapter 45. Samba Performance Tuning"><link rel="next" href="ch47.html" title="Chapter 47. Samba Support"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 46. LDAP and Transport Layer Security</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="speed.html">Prev</a> </td><th width="60%" align="center">Part VI. Reference Section</th><td width="20%" align="right"> <a accesskey="n" href="ch47.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="ch-ldap-tls"></a>Chapter 46. LDAP and Transport Layer Security</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Gavin</span> <span class="orgname">Suretec Systems Limited, UK</span> <span class="surname">Henry</span></h3><div class="affiliation"><span class="orgname">Suretec Systems Limited, UK<br></span><div class="address"><p><code class="email"><<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="id269 1453"></a>3 <a class="indexterm" name="id269 1462"></a>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 46. LDAP and Transport Layer Security</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="Appendix.html" title="Part VI. Reference Section"><link rel="prev" href="speed.html" title="Chapter 45. Samba Performance Tuning"><link rel="next" href="ch47.html" title="Chapter 47. Samba Support"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 46. LDAP and Transport Layer Security</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="speed.html">Prev</a> </td><th width="60%" align="center">Part VI. Reference Section</th><td width="20%" align="right"> <a accesskey="n" href="ch47.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 46. LDAP and Transport Layer Security"><div class="titlepage"><div><div><h2 class="title"><a name="ch-ldap-tls"></a>Chapter 46. LDAP and Transport Layer Security</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Gavin</span> <span class="surname">Henry</span></h3><div class="affiliation"><span class="orgname">Suretec Systems Limited, UK<br></span><div class="address"><p><code class="email"><<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" title="Introduction"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="s1-intro-ldap-tls"></a>Introduction</h2></div></div></div><p> 2 <a class="indexterm" name="id2697509"></a> 3 <a class="indexterm" name="id2697519"></a> 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="id269 1486"></a>9 <a class="indexterm" name="id2697543"></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="id269 1516"></a>14 <a class="indexterm" name="id2697572"></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 </p><div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Tip</h3><p>18 <a class="indexterm" name="id269 1530"></a>19 <a class="indexterm" name="id269 1536"></a>20 <a class="indexterm" name="id269 1543"></a>17 </p><div class="tip" title="Tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Tip</h3><p> 18 <a class="indexterm" name="id2697587"></a> 19 <a class="indexterm" name="id2697593"></a> 20 <a class="indexterm" name="id2697600"></a> 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 … … 24 24 </p></div><p> 25 25 We will discuss this more in the next sections. 26 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="s1-config-ldap-tls"></a>Configuring</h2></div></div></div><p>27 <a class="indexterm" name="id269 1583"></a>26 </p></div><div class="sect1" title="Configuring"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="s1-config-ldap-tls"></a>Configuring</h2></div></div></div><p> 27 <a class="indexterm" name="id2697640"></a> 28 28 Now on to the good bit. 29 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="s1-config-ldap-tls-certs"></a>Generating the Certificate Authority</h3></div></div></div><p>30 <a class="indexterm" name="id269 1606"></a>29 </p><div class="sect2" title="Generating the Certificate Authority"><div class="titlepage"><div><div><h3 class="title"><a name="s1-config-ldap-tls-certs"></a>Generating the Certificate Authority</h3></div></div></div><p> 30 <a class="indexterm" name="id2697662"></a> 31 31 In order to create the relevant certificates, we need to become our own Certificate Authority (CA). 32 <sup>[<a name="id269 1617" href="#ftn.id2691617" class="footnote">8</a>]</sup> This is necessary, so we can sign the server certificate.33 </p><p> 34 <a class="indexterm" name="id269 1646"></a>35 We will be using the <a class="ulink" href="http://www.openssl.org" target="_top">OpenSSL</a> <sup>[<a name="id269 1659" href="#ftn.id2691659" class="footnote">9</a>]</sup> software for this, which is included with every great <span class="trademark">Linux</span>® distribution.36 </p><p> 37 TLS is used for many types of servers, but the instructions<sup>[<a name="id269 1678" href="#ftn.id2691678" class="footnote">10</a>]</sup> presented here, are tailored for <span class="application">OpenLDAP</span>.38 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>32 <sup>[<a name="id2697673" href="#ftn.id2697673" class="footnote">8</a>]</sup> This is necessary, so we can sign the server certificate. 33 </p><p> 34 <a class="indexterm" name="id2697703"></a> 35 We will be using the <a class="ulink" href="http://www.openssl.org" target="_top">OpenSSL</a> <sup>[<a name="id2697716" href="#ftn.id2697716" class="footnote">9</a>]</sup> software for this, which is included with every great <span class="trademark">Linux</span>® distribution. 36 </p><p> 37 TLS is used for many types of servers, but the instructions<sup>[<a name="id2697734" href="#ftn.id2697734" class="footnote">10</a>]</sup> presented here, are tailored for <span class="application">OpenLDAP</span>. 38 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 39 39 The <span class="emphasis"><em>Common Name (CN)</em></span>, in the following example, <span class="emphasis"><em>MUST</em></span> be 40 40 the fully qualified domain name (FQDN) of your ldap server. 41 41 </p></div><p> 42 42 First we need to generate the CA: 43 </p><pre class="screen" >43 </p><pre class="screen" width="90"> 44 44 <code class="computeroutput"> 45 45 <code class="prompt">root# </code> mkdir myCA … … 47 47 </pre><p> 48 48 Move into that directory: 49 </p><pre class="screen" >49 </p><pre class="screen" width="90"> 50 50 <code class="computeroutput"> 51 51 <code class="prompt">root# </code> cd myCA 52 52 </code> 53 53 </pre><p> 54 Now generate the CA:<sup>[<a name="id269 1754" href="#ftn.id2691754" class="footnote">11</a>]</sup>55 </p><pre class="screen" >54 Now generate the CA:<sup>[<a name="id2697811" href="#ftn.id2697811" class="footnote">11</a>]</sup> 55 </p><pre class="screen" width="90"> 56 56 <code class="computeroutput"> 57 57 <code class="prompt">root# </code> /usr/share/ssl/misc/CA.pl -newca … … 84 84 </p><p> 85 85 There are some things to note here. 86 </p><div class="orderedlist"><ol type="1"><li><p>86 </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p> 87 87 You <span class="emphasis"><em>MUST</em></span> remember the password, as we will need 88 88 it to sign the server certificate.. 89 </p></li><li ><p>89 </p></li><li class="listitem"><p> 90 90 The <span class="emphasis"><em>Common Name (CN)</em></span>, <span class="emphasis"><em>MUST</em></span> be the 91 91 fully qualified domain name (FQDN) of your ldap server. 92 </p></li></ol></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="s1-config-ldap-tls-server"></a>Generating the Server Certificate</h3></div></div></div><p>92 </p></li></ol></div></div><div class="sect2" title="Generating the Server Certificate"><div class="titlepage"><div><div><h3 class="title"><a name="s1-config-ldap-tls-server"></a>Generating the Server Certificate</h3></div></div></div><p> 93 93 Now we need to generate the server certificate: 94 </p><pre class="screen" >94 </p><pre class="screen" width="90"> 95 95 <code class="computeroutput"> 96 96 <code class="prompt">root# </code> openssl req -new -nodes -keyout newreq.pem -out newreq.pem … … 123 123 </p><p> 124 124 Again, there are some things to note here. 125 </p><div class="orderedlist"><ol type="1"><li><p>125 </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p> 126 126 You should <span class="emphasis"><em>NOT</em></span> enter a password. 127 </p></li><li ><p>127 </p></li><li class="listitem"><p> 128 128 The <span class="emphasis"><em>Common Name (CN)</em></span>, <span class="emphasis"><em>MUST</em></span> be 129 129 the fully qualified domain name (FQDN) of your ldap server. 130 130 </p></li></ol></div><p> 131 131 Now we sign the certificate with the new CA: 132 </p><pre class="screen" >132 </p><pre class="screen" width="90"> 133 133 <code class="computeroutput"> 134 134 <code class="prompt">root# </code> /usr/share/ssl/misc/CA.pl -sign … … 175 175 </p><p> 176 176 That completes the server certificate generation. 177 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="s1-config-ldap-tls-install"></a>Installing the Certificates</h3></div></div></div><p>177 </p></div><div class="sect2" title="Installing the Certificates"><div class="titlepage"><div><div><h3 class="title"><a name="s1-config-ldap-tls-install"></a>Installing the Certificates</h3></div></div></div><p> 178 178 Now we need to copy the certificates to the right configuration directories, 179 179 rename them at the same time (for convenience), change the ownership and 180 180 finally the permissions: 181 </p><pre class="screen" >181 </p><pre class="screen" width="90"> 182 182 <code class="computeroutput"> 183 183 <code class="prompt">root# </code> cp demoCA/cacert.pem /etc/openldap/ … … 192 192 Now we just need to add these locations to <code class="filename">slapd.conf</code>, 193 193 anywhere before the <code class="option">database</code> declaration as shown here: 194 </p><pre class="screen" >194 </p><pre class="screen" width="90"> 195 195 <code class="computeroutput"> 196 196 TLSCertificateFile /etc/openldap/servercrt.pem … … 202 202 Here is the declaration and <code class="filename">ldap.conf</code>: 203 203 <code class="filename">ldap.conf</code> 204 </p><pre class="screen" >204 </p><pre class="screen" width="90"> 205 205 <code class="computeroutput"> 206 206 TLS_CACERT /etc/openldap/cacert.pem … … 209 209 </p><p> 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 </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="id269 2162"></a>211 </p></div></div><div class="sect1" title="Testing"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="s1-test-ldap-tls"></a>Testing</h2></div></div></div><p> 212 <a class="indexterm" name="id2698219"></a> 213 213 This is the easy part. Restart the server: 214 </p><pre class="screen" >214 </p><pre class="screen" width="90"> 215 215 <code class="computeroutput"> 216 216 <code class="prompt">root# </code> /etc/init.d/ldap restart … … 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="id269 2204" href="#ftn.id2692204" class="footnote">12</a>]</sup> option:224 </p><pre class="screen" >223 <code class="option">-ZZ</code><sup>[<a name="id2698261" href="#ftn.id2698261" class="footnote">12</a>]</sup> option: 224 </p><pre class="screen" width="90"> 225 225 <code class="computeroutput"> 226 226 <code class="prompt">root# </code> ldapsearch -x -b "dc=ldap,dc=abmas,dc=biz" \ … … 229 229 </pre><p> 230 230 Your results should be the same as before you restarted the server, for example: 231 </p><pre class="screen" >231 </p><pre class="screen" width="90"> 232 232 <code class="computeroutput"> 233 233 <code class="prompt">root# </code> ldapsearch -x -b "dc=ldap,dc=abmas,dc=biz" \ … … 265 265 </pre><p> 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 </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="id269 2302"></a>267 </p></div><div class="sect1" title="Troubleshooting"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="s1-int-ldap-tls"></a>Troubleshooting</h2></div></div></div><p> 268 <a class="indexterm" name="id2698359"></a> 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.id269 1617" href="#id2691617" class="para">8</a>] </sup>We could however, get our generated server certificate signed by proper CAs, like <a class="ulink" href="http://www.thawte.com/" target="_top">Thawte</a> and <a class="ulink" href="http://www.verisign.com/" target="_top">VeriSign</a>, which278 </p></div><div class="footnotes"><br><hr width="100" align="left"><div class="footnote"><p><sup>[<a name="ftn.id2697673" href="#id2697673" class="para">8</a>] </sup>We could however, get our generated server certificate signed by proper CAs, like <a class="ulink" href="http://www.thawte.com/" target="_top">Thawte</a> and <a class="ulink" href="http://www.verisign.com/" target="_top">VeriSign</a>, which 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.id269 1659" href="#id2691659" class="para">9</a>] </sup>The downside to280 </p></div><div class="footnote"><p><sup>[<a name="ftn.id2697716" href="#id2697716" 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.id269 1678" href="#id2691678" class="para">10</a>] </sup>For information straight from the282 ones are.</p></div><div class="footnote"><p><sup>[<a name="ftn.id2697734" href="#id2697734" class="para">10</a>] </sup>For information straight from the 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.id269 1754" href="#id2691754" 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.id2697811" href="#id2697811" class="para">11</a>] </sup>Your <code class="filename">CA.pl</code> or <code class="filename">CA.sh</code> might not be 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.id269 2204" href="#id2692204" class="para">12</a>] </sup>See <code class="literal">man ldapsearch</code></p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="speed.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="Appendix.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch47.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 45. Samba Performance Tuning </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 47. Samba Support</td></tr></table></div></body></html>287 <code class="literal">updatedb</code> as <span class="emphasis"><em>root</em></span> to update it.</p></div><div class="footnote"><p><sup>[<a name="ftn.id2698261" href="#id2698261" class="para">12</a>] </sup>See <code class="literal">man ldapsearch</code></p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="speed.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="Appendix.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch47.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 45. Samba Performance Tuning </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 47. Samba Support</td></tr></table></div></body></html> -
branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/ch47.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 47. Samba Support</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="Appendix.html" title="Part VI. Reference Section"><link rel="prev" href="ch-ldap-tls.html" title="Chapter 46. LDAP and Transport Layer Security"><link rel="next" href="DNSDHCP.html" title="Chapter 48. DNS and DHCP Configuration Guide"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 47. Samba Support</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch-ldap-tls.html">Prev</a> </td><th width="60%" align="center">Part VI. Reference Section</th><td width="20%" align="right"> <a accesskey="n" href="DNSDHCP.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en-US"><div class="titlepage"><div><div><h2 class="title"><a name="id2692383"></a>Chapter 47. Samba Support</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="ch47.html#id2692514">Free Support</a></span></dt><dt><span class="sect1"><a href="ch47.html#id2692732">Commercial Support</a></span></dt></dl></div><p>2 <a class="indexterm" name="id269 2393"></a>3 One of the most difficult to answer questions in the information technology industry is, “<span class="quote">What is4 support?</span>” . That question irritates some folks, as much as common answers may annoy others.1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 47. Samba Support</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="Appendix.html" title="Part VI. Reference Section"><link rel="prev" href="ch-ldap-tls.html" title="Chapter 46. LDAP and Transport Layer Security"><link rel="next" href="DNSDHCP.html" title="Chapter 48. DNS and DHCP Configuration Guide"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 47. Samba Support</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch-ldap-tls.html">Prev</a> </td><th width="60%" align="center">Part VI. Reference Section</th><td width="20%" align="right"> <a accesskey="n" href="DNSDHCP.html">Next</a></td></tr></table><hr></div><div lang="en-US" class="chapter" title="Chapter 47. Samba Support"><div class="titlepage"><div><div><h2 class="title"><a name="id2698440"></a>Chapter 47. Samba Support</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="ch47.html#id2698571">Free Support</a></span></dt><dt><span class="sect1"><a href="ch47.html#id2698789">Commercial Support</a></span></dt></dl></div><p> 2 <a class="indexterm" name="id2698450"></a> 3 One of the most difficult to answer questions in the information technology industry is, <span class="quote">“<span class="quote">What is 4 support?</span>”</span>. That question irritates some folks, as much as common answers may annoy others. 5 5 </p><p> 6 <a class="indexterm" name="id269 2410"></a>6 <a class="indexterm" name="id2698466"></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: 9 “<span class="quote">Oh, Linux? We do not support Linux!</span>”. It has happened to me, and similar situations happen9 <span class="quote">“<span class="quote">Oh, Linux? We do not support Linux!</span>”</span>. It has happened to me, and similar situations happen 10 10 through-out the IT industry. Answers like that are designed to inform us that there are some customers 11 11 that a business just does not want to deal with, and well may we feel the anguish of the rejection that … … 16 16 inconvenience, loss of productivity, disorientation, uncertainty, and real or perceived risk. 17 17 </p><p> 18 <a class="indexterm" name="id269 2440"></a>19 <a class="indexterm" name="id269 2447"></a>20 <a class="indexterm" name="id269 2454"></a>18 <a class="indexterm" name="id2698497"></a> 19 <a class="indexterm" name="id2698504"></a> 20 <a class="indexterm" name="id2698511"></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="id269 2468"></a>26 <a class="indexterm" name="id269 2475"></a>25 <a class="indexterm" name="id2698525"></a> 26 <a class="indexterm" name="id2698532"></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="id269 2490"></a>32 <a class="indexterm" name="id269 2497"></a>33 <a class="indexterm" name="id269 2504"></a>31 <a class="indexterm" name="id2698547"></a> 32 <a class="indexterm" name="id2698554"></a> 33 <a class="indexterm" name="id2698561"></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="id2692514"></a>Free Support</h2></div></div></div><p>37 <a class="indexterm" name="id269 2521"></a>38 <a class="indexterm" name="id269 2528"></a>39 <a class="indexterm" name="id269 2535"></a>40 <a class="indexterm" name="id269 2542"></a>41 <a class="indexterm" name="id269 2549"></a>42 <a class="indexterm" name="id269 2556"></a>36 </p><div class="sect1" title="Free Support"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2698571"></a>Free Support</h2></div></div></div><p> 37 <a class="indexterm" name="id2698579"></a> 38 <a class="indexterm" name="id2698585"></a> 39 <a class="indexterm" name="id2698592"></a> 40 <a class="indexterm" name="id2698599"></a> 41 <a class="indexterm" name="id2698606"></a> 42 <a class="indexterm" name="id2698613"></a> 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="id269 2570"></a>48 <a class="indexterm" name="id269 2577"></a>49 <a class="indexterm" name="id269 2584"></a>50 <a class="indexterm" name="id269 2591"></a>51 <a class="indexterm" name="id269 2598"></a>47 <a class="indexterm" name="id2698627"></a> 48 <a class="indexterm" name="id2698634"></a> 49 <a class="indexterm" name="id2698641"></a> 50 <a class="indexterm" name="id2698648"></a> 51 <a class="indexterm" name="id2698655"></a> 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="id269 2639"></a>59 <a class="indexterm" name="id269 2646"></a>60 <a class="indexterm" name="id269 2653"></a>61 <a class="indexterm" name="id269 2660"></a>58 <a class="indexterm" name="id2698696"></a> 59 <a class="indexterm" name="id2698703"></a> 60 <a class="indexterm" name="id2698710"></a> 61 <a class="indexterm" name="id2698717"></a> 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="id269 2680"></a>70 <a class="indexterm" name="id269 2686"></a>71 <a class="indexterm" name="id269 2693"></a>69 <a class="indexterm" name="id2698736"></a> 70 <a class="indexterm" name="id2698743"></a> 71 <a class="indexterm" name="id2698750"></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="id269 2718"></a>79 <a class="indexterm" name="id2698774"></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="id2692732"></a>Commercial Support</h2></div></div></div><p>84 </p></div><div class="sect1" title="Commercial Support"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2698789"></a>Commercial Support</h2></div></div></div><p> 85 85 There are six basic support oriented services that are most commonly sought by Samba sites: 86 </p><div class="itemizedlist"><ul type="disc"><li><p>Assistance with network design</p></li><li><p>Staff Training</p></li><li><p>Assistance with Samba network deployment and installation</p></li><li><p>Priority telephone or email Samba configuration assistance</p></li><li><p>Trouble-shooting and diagnostic assistance</p></li><li><p>Provision of quality assured ready-to-install Samba binary packages</p></li></ul></div><p>87 <a class="indexterm" name="id269 2779"></a>88 <a class="indexterm" name="id269 2786"></a>86 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Assistance with network design</p></li><li class="listitem"><p>Staff Training</p></li><li class="listitem"><p>Assistance with Samba network deployment and installation</p></li><li class="listitem"><p>Priority telephone or email Samba configuration assistance</p></li><li class="listitem"><p>Trouble-shooting and diagnostic assistance</p></li><li class="listitem"><p>Provision of quality assured ready-to-install Samba binary packages</p></li></ul></div><p> 87 <a class="indexterm" name="id2698836"></a> 88 <a class="indexterm" name="id2698843"></a> 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="id269 2818"></a>96 <a class="indexterm" name="id2698875"></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="id269 2835"></a>102 <a class="indexterm" name="id2698892"></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.3.x/docs/htmldocs/Samba3-HOWTO/classicalprinting.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 21. Classical Printing Support</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="msdfs.html" title="Chapter 20. Hosting a Microsoft Distributed File System Tree"><link rel="next" href="CUPS-printing.html" title="Chapter 22. CUPS Printing Support"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 21. Classical Printing Support</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="msdfs.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="CUPS-printing.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="classicalprinting"></a>Chapter 21. Classical Printing Support</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Kurt</span> <span class="orgname">Danka Deutschland GmbH</span> <span class="surname">Pfeifle</span></h3><div class="affiliation"><span class="orgname">Danka Deutschland GmbH<br></span><div class="address"><p><code class="email"><<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#id2622106">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2622330">Technical Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2622481">Client to Samba Print Job Processing</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2622540">Printing-Related Configuration Parameters</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2622641">Simple Print Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2622925">Verifying Configuration with testparm</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2623122">Rapid Configuration Validation</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2623522">Extended Printing Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2623977">Detailed Explanation Settings</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2626693">Point'n'Print Client Drivers on Samba Servers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2626862">The Obsoleted [printer$] Section</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2626984">Creating the [print$] Share</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2627200">[print$] Stanza Parameters</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2627521">The [print$] Share Directory</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2627663">Installing Drivers into [print$]</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2627756">Add Printer Wizard Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#inst-rpc">Installing Print Drivers Using rpcclient</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2629689">Client Driver Installation Procedure</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2629706">First Client Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#prt-modeset">Setting Device Modes on New Printers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2630271">Additional Client Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2630390">Always Make First Client Connection as root or printer admin</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2630563">Other Gotchas</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2630584">Setting Default Print Options for Client Drivers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2630951">Supporting Large Numbers of Printers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2631207">Adding New Printers with the Windows NT APW</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2631467">Error Message: Cannot connect under a different Name</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2631581">Take Care When Assembling Driver Files</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2631890">Samba and Printer Ports</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2631999">Avoiding Common Client Driver Misconfiguration</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2632036">The Imprints Toolset</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2632082">What Is Imprints?</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2632117">Creating Printer Driver Packages</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2632132">The Imprints Server</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2632150">The Installation Client</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2632283">Adding Network Printers without User Interaction</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2632557">The addprinter Command</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2632596">Migration of Classical Printing to Samba</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2632744">Publishing Printer Information in Active Directory or LDAP</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2632774">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2632780">I Give My Root Password but I Do Not Get Access</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2632821">My Print Jobs Get Spooled into the Spooling Directory, but Then Get Lost</a></span></dt></dl></dd></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2622106"></a>Features and Benefits</h2></div></div></div><p>2 <a class="indexterm" name="id262 2114"></a>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 21. Classical Printing Support</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="msdfs.html" title="Chapter 20. Hosting a Microsoft Distributed File System Tree"><link rel="next" href="CUPS-printing.html" title="Chapter 22. CUPS Printing Support"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 21. Classical Printing Support</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="msdfs.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="CUPS-printing.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 21. Classical Printing Support"><div class="titlepage"><div><div><h2 class="title"><a name="classicalprinting"></a>Chapter 21. Classical Printing Support</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Kurt</span> <span class="surname">Pfeifle</span></h3><div class="affiliation"><span class="orgname">Danka Deutschland GmbH<br></span><div class="address"><p><code class="email"><<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#id2628204">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2628427">Technical Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2628578">Client to Samba Print Job Processing</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2628638">Printing-Related Configuration Parameters</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2628739">Simple Print Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2629022">Verifying Configuration with <code class="literal">testparm</code></a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2629220">Rapid Configuration Validation</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2629619">Extended Printing Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2630075">Detailed Explanation Settings</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2632790">Point'n'Print Client Drivers on Samba Servers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2632959">The Obsoleted [printer$] Section</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2633081">Creating the [print$] Share</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2633298">[print$] Stanza Parameters</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2633618">The [print$] Share Directory</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2633761">Installing Drivers into [print$]</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2633854">Add Printer Wizard Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#inst-rpc">Installing Print Drivers Using <code class="literal">rpcclient</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2635786">Client Driver Installation Procedure</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2635803">First Client Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#prt-modeset">Setting Device Modes on New Printers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2636368">Additional Client Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2636487">Always Make First Client Connection as root or <span class="quote">“<span class="quote">printer admin</span>”</span></a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2636660">Other Gotchas</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2636681">Setting Default Print Options for Client Drivers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2637048">Supporting Large Numbers of Printers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2637304">Adding New Printers with the Windows NT APW</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2637564">Error Message: <span class="quote">“<span class="quote">Cannot connect under a different Name</span>”</span></a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2637678">Take Care When Assembling Driver Files</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2637988">Samba and Printer Ports</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2638097">Avoiding Common Client Driver Misconfiguration</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2638134">The Imprints Toolset</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2638180">What Is Imprints?</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2638214">Creating Printer Driver Packages</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2638230">The Imprints Server</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2638247">The Installation Client</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2638381">Adding Network Printers without User Interaction</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2638654">The <code class="literal">addprinter</code> Command</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2638693">Migration of Classical Printing to Samba</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2638842">Publishing Printer Information in Active Directory or LDAP</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2638871">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2638877">I Give My Root Password but I Do Not Get Access</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2638918">My Print Jobs Get Spooled into the Spooling Directory, but Then Get Lost</a></span></dt></dl></dd></dl></div><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2628204"></a>Features and Benefits</h2></div></div></div><p> 2 <a class="indexterm" name="id2628212"></a> 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="id262 2128"></a>7 <a class="indexterm" name="id262 2134"></a>8 <a class="indexterm" name="id262 2142"></a>9 <a class="indexterm" name="id262 2148"></a>10 <a class="indexterm" name="id262 2155"></a>11 <a class="indexterm" name="id262 2162"></a>12 <a class="indexterm" name="id262 2169"></a>13 <a class="indexterm" name="id262 2176"></a>14 <a class="indexterm" name="id262 2183"></a>15 <a class="indexterm" name="id262 2190"></a>16 <a class="indexterm" name="id262 2197"></a>17 <a class="indexterm" name="id262 2204"></a>18 <a class="indexterm" name="id262 2211"></a>19 <a class="indexterm" name="id262 2218"></a>6 <a class="indexterm" name="id2628225"></a> 7 <a class="indexterm" name="id2628232"></a> 8 <a class="indexterm" name="id2628239"></a> 9 <a class="indexterm" name="id2628246"></a> 10 <a class="indexterm" name="id2628253"></a> 11 <a class="indexterm" name="id2628260"></a> 12 <a class="indexterm" name="id2628267"></a> 13 <a class="indexterm" name="id2628274"></a> 14 <a class="indexterm" name="id2628281"></a> 15 <a class="indexterm" name="id2628288"></a> 16 <a class="indexterm" name="id2628294"></a> 17 <a class="indexterm" name="id2628301"></a> 18 <a class="indexterm" name="id2628308"></a> 19 <a class="indexterm" name="id2628315"></a> 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="id262 2269"></a>34 <a class="indexterm" name="id262 2275"></a>33 <a class="indexterm" name="id2628366"></a> 34 <a class="indexterm" name="id2628372"></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 37 37 you use CUPS, you may be tempted to jump to the next chapter, but you will certainly miss a few things if you 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 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>40 <a class="indexterm" name="id262 2301"></a>41 <a class="indexterm" name="id262 2308"></a>42 <a class="indexterm" name="id262 2315"></a>39 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 40 <a class="indexterm" name="id2628398"></a> 41 <a class="indexterm" name="id2628405"></a> 42 <a class="indexterm" name="id2628412"></a> 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="id2622330"></a>Technical Introduction</h2></div></div></div><p>47 <a class="indexterm" name="id262 2338"></a>48 <a class="indexterm" name="id262 2344"></a>49 <a class="indexterm" name="id262 2351"></a>46 </p></div></div><div class="sect1" title="Technical Introduction"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2628427"></a>Technical Introduction</h2></div></div></div><p> 47 <a class="indexterm" name="id2628435"></a> 48 <a class="indexterm" name="id2628442"></a> 49 <a class="indexterm" name="id2628449"></a> 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="id262 2377"></a>58 <a class="indexterm" name="id262 2384"></a>57 <a class="indexterm" name="id2628474"></a> 58 <a class="indexterm" name="id2628481"></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 </p><div class="important" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Important</h3><p>62 <a class="indexterm" name="id262 2397"></a>61 </p><div class="important" title="Important" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Important</h3><p> 62 <a class="indexterm" name="id2628494"></a> 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="id262 2409"></a>66 <a class="indexterm" name="id262 2416"></a>67 <a class="indexterm" name="id262 2423"></a>68 <a class="indexterm" name="id262 2430"></a>65 <a class="indexterm" name="id2628507"></a> 66 <a class="indexterm" name="id2628514"></a> 67 <a class="indexterm" name="id2628520"></a> 68 <a class="indexterm" name="id2628527"></a> 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="id262 2446"></a>75 <a class="indexterm" name="id262 2453"></a>76 <a class="indexterm" name="id262 2460"></a>77 <a class="indexterm" name="id262 2467"></a>74 <a class="indexterm" name="id2628544"></a> 75 <a class="indexterm" name="id2628550"></a> 76 <a class="indexterm" name="id2628557"></a> 77 <a class="indexterm" name="id2628564"></a> 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="id2622481"></a>Client to Samba Print Job Processing</h3></div></div></div><p>82 </p><div class="sect2" title="Client to Samba Print Job Processing"><div class="titlepage"><div><div><h3 class="title"><a name="id2628578"></a>Client to Samba Print Job Processing</h3></div></div></div><p> 83 83 Successful printing from a Windows client via a Samba print server to a UNIX 84 84 printer involves six (potentially seven) stages: 85 </p><div class="orderedlist"><ol type="1"><li><p>Windows opens a connection to the printer share.</p></li><li><p>Samba must authenticate the user.</p></li><li><p>Windows sends a copy of the print file over the network86 into Samba's spooling area.</p></li><li ><p>Windows closes the connection.</p></li><li><p>Samba invokes the print command to hand the file over87 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 deleted85 </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>Windows opens a connection to the printer share.</p></li><li class="listitem"><p>Samba must authenticate the user.</p></li><li class="listitem"><p>Windows sends a copy of the print file over the network 86 into Samba's spooling area.</p></li><li class="listitem"><p>Windows closes the connection.</p></li><li class="listitem"><p>Samba invokes the print command to hand the file over 87 to the UNIX print subsystem's spooling area.</p></li><li class="listitem"><p>The UNIX print subsystem processes the print job.</p></li><li class="listitem"><p>The print file may need to be explicitly deleted 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="id2622540"></a>Printing-Related Configuration Parameters</h3></div></div></div><p>90 <a class="indexterm" name="id262 2549"></a>91 <a class="indexterm" name="id262 2556"></a>92 <a class="indexterm" name="id262 2562"></a>89 configuration settings.</p></li></ol></div></div><div class="sect2" title="Printing-Related Configuration Parameters"><div class="titlepage"><div><div><h3 class="title"><a name="id2628638"></a>Printing-Related Configuration Parameters</h3></div></div></div><p> 90 <a class="indexterm" name="id2628646"></a> 91 <a class="indexterm" name="id2628653"></a> 92 <a class="indexterm" name="id2628660"></a> 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="id2622641"></a>Simple Print Configuration</h2></div></div></div><p>107 <a class="indexterm" name="id262 2649"></a>108 <a class="indexterm" name="id262 2656"></a>109 <a class="indexterm" name="id262 2663"></a>110 <a class="indexterm" name="id262 2670"></a>106 </p></dd></dl></div></div></div><div class="sect1" title="Simple Print Configuration"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2628739"></a>Simple Print Configuration</h2></div></div></div><p> 107 <a class="indexterm" name="id2628747"></a> 108 <a class="indexterm" name="id2628754"></a> 109 <a class="indexterm" name="id2628760"></a> 110 <a class="indexterm" name="id2628768"></a> 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="id2622722"></a><em class="parameter"><code>printing = bsd</code></em></td></tr><tr><td><a class="indexterm" name="id2622733"></a><em class="parameter"><code>load printers = yes</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[printers]</code></em></td></tr><tr><td><a class="indexterm" name="id2622754"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2622766"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2622777"></a><em class="parameter"><code>public = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2622789"></a><em class="parameter"><code>writable = no</code></em></td></tr></table></div></div><br class="example-break"><p>117 <a class="indexterm" name="id262 2804"></a>118 <a class="indexterm" name="id262 2810"></a>119 <a class="indexterm" name="id262 2818"></a>116 </p><div class="example"><a name="simpleprc"></a><p class="title"><b>Example 21.1. Simple Configuration with BSD Printing</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2628819"></a><em class="parameter"><code>printing = bsd</code></em></td></tr><tr><td><a class="indexterm" name="id2628831"></a><em class="parameter"><code>load printers = yes</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[printers]</code></em></td></tr><tr><td><a class="indexterm" name="id2628851"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2628863"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2628875"></a><em class="parameter"><code>public = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2628886"></a><em class="parameter"><code>writable = no</code></em></td></tr></table></div></div><br class="example-break"><p> 117 <a class="indexterm" name="id2628901"></a> 118 <a class="indexterm" name="id2628908"></a> 119 <a class="indexterm" name="id2628915"></a> 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="id262 2860"></a>128 <a class="indexterm" name="id262 2867"></a>129 <a class="indexterm" name="id262 2874"></a>127 <a class="indexterm" name="id2628957"></a> 128 <a class="indexterm" name="id2628964"></a> 129 <a class="indexterm" name="id2628971"></a> 130 130 The syntax for the configuration file is easy to grasp. You should know that is not very picky about its 131 131 syntax. As has been explained elsewhere in this book, Samba tolerates some spelling errors (such as … … 133 133 case-insensitive. It is permissible to use <em class="parameter"><code>Yes/No</code></em> or <em class="parameter"><code>True/False</code></em> 134 134 for Boolean settings. Lists of names may be separated by commas, spaces, or tabs. 135 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2622925"></a>Verifying Configuration with <code class="literal">testparm</code></h3></div></div></div><p>136 <a class="indexterm" name="id262 2938"></a>137 <a class="indexterm" name="id262 2945"></a>138 <a class="indexterm" name="id262 2951"></a>139 <a class="indexterm" name="id262 2958"></a>140 <a class="indexterm" name="id262 2965"></a>141 <a class="indexterm" name="id262 2972"></a>142 <a class="indexterm" name="id262 2979"></a>143 <a class="indexterm" name="id262 2985"></a>144 <a class="indexterm" name="id262 2992"></a>145 <a class="indexterm" name="id262 2999"></a>146 <a class="indexterm" name="id262 3006"></a>135 </p><div class="sect2" title="Verifying Configuration with testparm"><div class="titlepage"><div><div><h3 class="title"><a name="id2629022"></a>Verifying Configuration with <code class="literal">testparm</code></h3></div></div></div><p> 136 <a class="indexterm" name="id2629035"></a> 137 <a class="indexterm" name="id2629042"></a> 138 <a class="indexterm" name="id2629049"></a> 139 <a class="indexterm" name="id2629056"></a> 140 <a class="indexterm" name="id2629062"></a> 141 <a class="indexterm" name="id2629069"></a> 142 <a class="indexterm" name="id2629076"></a> 143 <a class="indexterm" name="id2629083"></a> 144 <a class="indexterm" name="id2629090"></a> 145 <a class="indexterm" name="id2629096"></a> 146 <a class="indexterm" name="id2629103"></a> 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>, … … 191 191 You can easily verify which settings were implicitly added by Samba's default behavior. <span class="emphasis"><em>Remember: it 192 192 may be important in your future dealings with Samba.</em></span> 193 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>193 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 194 194 The <code class="literal">testparm</code> in Samba-3 behaves differently from that in 2.2.x: used without the 195 “<span class="quote">-v</span>”switch, it only shows you the settings actually written into! To see the complete196 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="id2623122"></a>Rapid Configuration Validation</h3></div></div></div><p>198 <a class="indexterm" name="id262 3131"></a>199 <a class="indexterm" name="id262 3138"></a>200 <a class="indexterm" name="id262 3144"></a>201 <a class="indexterm" name="id262 3151"></a>195 <span class="quote">“<span class="quote">-v</span>”</span> switch, it only shows you the settings actually written into! To see the complete 196 configuration used, add the <span class="quote">“<span class="quote">-v</span>”</span> parameter to testparm. 197 </p></div></div><div class="sect2" title="Rapid Configuration Validation"><div class="titlepage"><div><div><h3 class="title"><a name="id2629220"></a>Rapid Configuration Validation</h3></div></div></div><p> 198 <a class="indexterm" name="id2629228"></a> 199 <a class="indexterm" name="id2629235"></a> 200 <a class="indexterm" name="id2629242"></a> 201 <a class="indexterm" name="id2629249"></a> 202 202 Should you need to troubleshoot at any stage, please always come back to this point first and verify if 203 203 <code class="literal">testparm</code> shows the parameters you expect. To give you a warning from personal experience, … … 212 212 load printers = Yes 213 213 </pre><p> 214 <a class="indexterm" name="id262 3207"></a>215 <a class="indexterm" name="id262 3214"></a>214 <a class="indexterm" name="id2629304"></a> 215 <a class="indexterm" name="id2629312"></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="id262 3258"></a>229 <a class="indexterm" name="id2629355"></a> 230 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 </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 to233 behave.</p></li><li ><p>Use <code class="literal">testparm</code> to uncover hidden232 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Never rely on commented-out parameters.</p></li><li class="listitem"><p>Always set parameters explicitly as you intend them to 233 behave.</p></li><li class="listitem"><p>Use <code class="literal">testparm</code> to uncover hidden 234 234 settings that might not reflect your intentions.</p></li></ul></div><p> 235 235 The following is the most minimal configuration file: … … 238 238 [printers] 239 239 </pre><p> 240 <a class="indexterm" name="id262 3326"></a>241 <a class="indexterm" name="id262 3333"></a>240 <a class="indexterm" name="id2629424"></a> 241 <a class="indexterm" name="id2629430"></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 … … 276 276 </pre><p> 277 277 <code class="literal">testparm</code> issued two warnings: 278 </p><div class="itemizedlist"><ul type="disc"><li><p>We did not specify the <em class="parameter"><code>[printers]</code></em> section as printable.</p></li><li><p>We did not tell Samba which spool directory to use.</p></li></ul></div><p>279 <a class="indexterm" name="id262 3437"></a>280 <a class="indexterm" name="id262 3444"></a>281 <a class="indexterm" name="id262 3450"></a>282 <a class="indexterm" name="id262 3455"></a>278 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>We did not specify the <em class="parameter"><code>[printers]</code></em> section as printable.</p></li><li class="listitem"><p>We did not tell Samba which spool directory to use.</p></li></ul></div><p> 279 <a class="indexterm" name="id2629534"></a> 280 <a class="indexterm" name="id2629542"></a> 281 <a class="indexterm" name="id2629547"></a> 282 <a class="indexterm" name="id2629552"></a> 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="id2623495"></a><em class="parameter"><code>printing = lprng</code></em></td></tr></table><p>291 </p><table border="0" summary="Simple list" class="simplelist"><tr><td># This defines LPRng as the printing system</td></tr><tr><td><a class="indexterm" name="id2629593"></a><em class="parameter"><code>printing = lprng</code></em></td></tr></table><p> 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="id2623522"></a>Extended Printing Configuration</h2></div></div></div><p>296 <a class="indexterm" name="id262 3530"></a>297 <a class="indexterm" name="id262 3537"></a>298 <a class="indexterm" name="id262 3544"></a>299 <a class="indexterm" name="id262 3551"></a>295 </p></div></div><div class="sect1" title="Extended Printing Configuration"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2629619"></a>Extended Printing Configuration</h2></div></div></div><p> 296 <a class="indexterm" name="id2629628"></a> 297 <a class="indexterm" name="id2629635"></a> 298 <a class="indexterm" name="id2629642"></a> 299 <a class="indexterm" name="id2629648"></a> 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="id2623625"></a><em class="parameter"><code>printing = bsd</code></em></td></tr><tr><td><a class="indexterm" name="id2623636"></a><em class="parameter"><code>load printers = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2623648"></a><em class="parameter"><code>show add printer wizard = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2623660"></a><em class="parameter"><code>printcap name = /etc/printcap</code></em></td></tr><tr><td><a class="indexterm" name="id2623672"></a><em class="parameter"><code>printer admin = @ntadmin, root</code></em></td></tr><tr><td><a class="indexterm" name="id2623684"></a><em class="parameter"><code>max print jobs = 100</code></em></td></tr><tr><td><a class="indexterm" name="id2623696"></a><em class="parameter"><code>lpq cache time = 20</code></em></td></tr><tr><td><a class="indexterm" name="id2623708"></a><em class="parameter"><code>use client driver = no</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[printers]</code></em></td></tr><tr><td><a class="indexterm" name="id2623729"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2623740"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2623752"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2623764"></a><em class="parameter"><code>browseable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2623775"></a><em class="parameter"><code>guest ok = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2623787"></a><em class="parameter"><code>public = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2623799"></a><em class="parameter"><code>read only = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2623810"></a><em class="parameter"><code>writable = no </code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[my_printer_name]</code></em></td></tr><tr><td><a class="indexterm" name="id2623831"></a><em class="parameter"><code>comment = Printer with Restricted Access</code></em></td></tr><tr><td><a class="indexterm" name="id2623843"></a><em class="parameter"><code>path = /var/spool/samba_my_printer</code></em></td></tr><tr><td><a class="indexterm" name="id2623855"></a><em class="parameter"><code>printer admin = kurt</code></em></td></tr><tr><td><a class="indexterm" name="id2623867"></a><em class="parameter"><code>browseable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2623878"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2623890"></a><em class="parameter"><code>writable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2623902"></a><em class="parameter"><code>hosts allow = 0.0.0.0</code></em></td></tr><tr><td><a class="indexterm" name="id2623913"></a><em class="parameter"><code>hosts deny = turbo_xp, 10.160.50.23, 10.160.51.60</code></em></td></tr><tr><td><a class="indexterm" name="id2623925"></a><em class="parameter"><code>guest ok = no</code></em></td></tr></table></div></div><br class="example-break"><p>308 <a class="indexterm" name="id26 23939"></a>309 <a class="indexterm" name="id26 23945"></a>310 <a class="indexterm" name="id26 23950"></a>307 </p><div class="example"><a name="extbsdpr"></a><p class="title"><b>Example 21.2. Extended BSD Printing Configuration</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2629722"></a><em class="parameter"><code>printing = bsd</code></em></td></tr><tr><td><a class="indexterm" name="id2629734"></a><em class="parameter"><code>load printers = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2629746"></a><em class="parameter"><code>show add printer wizard = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2629758"></a><em class="parameter"><code>printcap name = /etc/printcap</code></em></td></tr><tr><td><a class="indexterm" name="id2629770"></a><em class="parameter"><code>printer admin = @ntadmin, root</code></em></td></tr><tr><td><a class="indexterm" name="id2629782"></a><em class="parameter"><code>max print jobs = 100</code></em></td></tr><tr><td><a class="indexterm" name="id2629794"></a><em class="parameter"><code>lpq cache time = 20</code></em></td></tr><tr><td><a class="indexterm" name="id2629805"></a><em class="parameter"><code>use client driver = no</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[printers]</code></em></td></tr><tr><td><a class="indexterm" name="id2629826"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2629838"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2629849"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2629861"></a><em class="parameter"><code>browseable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2629873"></a><em class="parameter"><code>guest ok = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2629884"></a><em class="parameter"><code>public = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2629896"></a><em class="parameter"><code>read only = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2629908"></a><em class="parameter"><code>writable = no </code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[my_printer_name]</code></em></td></tr><tr><td><a class="indexterm" name="id2629928"></a><em class="parameter"><code>comment = Printer with Restricted Access</code></em></td></tr><tr><td><a class="indexterm" name="id2629940"></a><em class="parameter"><code>path = /var/spool/samba_my_printer</code></em></td></tr><tr><td><a class="indexterm" name="id2629952"></a><em class="parameter"><code>printer admin = kurt</code></em></td></tr><tr><td><a class="indexterm" name="id2629964"></a><em class="parameter"><code>browseable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2629976"></a><em class="parameter"><code>printable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2629987"></a><em class="parameter"><code>writable = no</code></em></td></tr><tr><td><a class="indexterm" name="id2629999"></a><em class="parameter"><code>hosts allow = 0.0.0.0</code></em></td></tr><tr><td><a class="indexterm" name="id2630011"></a><em class="parameter"><code>hosts deny = turbo_xp, 10.160.50.23, 10.160.51.60</code></em></td></tr><tr><td><a class="indexterm" name="id2630023"></a><em class="parameter"><code>guest ok = no</code></em></td></tr></table></div></div><br class="example-break"><p> 308 <a class="indexterm" name="id2630036"></a> 309 <a class="indexterm" name="id2630042"></a> 310 <a class="indexterm" name="id2630047"></a> 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="id2623977"></a>Detailed Explanation Settings</h3></div></div></div><p>315 </p><div class="sect2" title="Detailed Explanation Settings"><div class="titlepage"><div><div><h3 class="title"><a name="id2630075"></a>Detailed Explanation Settings</h3></div></div></div><p> 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="id2624002"></a>The [global] Section</h4></div></div></div><p>319 <a class="indexterm" name="id26 24010"></a>320 <a class="indexterm" name="id26 24017"></a>321 <a class="indexterm" name="id26 24024"></a>322 <a class="indexterm" name="id26 24030"></a>318 </p><div class="sect3" title="The [global] Section"><div class="titlepage"><div><div><h4 class="title"><a name="id2630099"></a>The [global] Section</h4></div></div></div><p> 319 <a class="indexterm" name="id2630107"></a> 320 <a class="indexterm" name="id2630114"></a> 321 <a class="indexterm" name="id2630121"></a> 322 <a class="indexterm" name="id2630128"></a> 323 323 The <em class="parameter"><code>[global]</code></em> section is one of four special sections (along with <em class="parameter"><code>[homes]</code></em>, <em class="parameter"><code>[printers]</code></em>, and <em class="parameter"><code>[print$]</code></em>). The 324 324 <em class="parameter"><code>[global]</code></em> contains all parameters that apply to the server as a whole. It is the place … … 328 328 globally set share settings and specify other values). 329 329 </p><div class="variablelist"><dl><dt><span class="term"><a class="link" href="smb.conf.5.html#PRINTING" target="_top">printing = bsd </a></span></dt><dd><p> 330 <a class="indexterm" name="id26 24098"></a>331 <a class="indexterm" name="id26 24104"></a>332 <a class="indexterm" name="id26 24111"></a>333 <a class="indexterm" name="id26 24118"></a>334 <a class="indexterm" name="id26 24125"></a>335 <a class="indexterm" name="id26 24132"></a>336 <a class="indexterm" name="id26 24138"></a>337 <a class="indexterm" name="id26 24145"></a>338 <a class="indexterm" name="id26 24152"></a>339 <a class="indexterm" name="id26 24158"></a>340 <a class="indexterm" name="id26 24165"></a>341 <a class="indexterm" name="id26 24172"></a>330 <a class="indexterm" name="id2630195"></a> 331 <a class="indexterm" name="id2630202"></a> 332 <a class="indexterm" name="id2630208"></a> 333 <a class="indexterm" name="id2630215"></a> 334 <a class="indexterm" name="id2630222"></a> 335 <a class="indexterm" name="id2630229"></a> 336 <a class="indexterm" name="id2630236"></a> 337 <a class="indexterm" name="id2630242"></a> 338 <a class="indexterm" name="id2630249"></a> 339 <a class="indexterm" name="id2630256"></a> 340 <a class="indexterm" name="id2630263"></a> 341 <a class="indexterm" name="id2630270"></a> 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 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 </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 24208"></a>348 <a class="indexterm" name="id26 24215"></a>346 </p><div class="caution" title="Caution" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Caution</h3><p> 347 <a class="indexterm" name="id2630306"></a> 348 <a class="indexterm" name="id2630312"></a> 349 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 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="id26 24263"></a>354 <a class="indexterm" name="id26 24269"></a>355 <a class="indexterm" name="id26 24276"></a>356 <a class="indexterm" name="id26 24283"></a>353 <a class="indexterm" name="id2630360"></a> 354 <a class="indexterm" name="id2630367"></a> 355 <a class="indexterm" name="id2630373"></a> 356 <a class="indexterm" name="id2630380"></a> 357 357 Tells Samba to create automatically all available printer shares. Available printer shares are discovered by 358 358 scanning the printcap file. All created printer shares are also loaded for browsing. If you use this … … 362 362 share separately, leaving out some you do not want to be publicly visible and available). 363 363 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#SHOWADDPRINTERWIZARD" target="_top">show add printer wizard = yes </a></span></dt><dd><p> 364 <a class="indexterm" name="id26 24331"></a>365 <a class="indexterm" name="id26 24338"></a>366 <a class="indexterm" name="id26 24344"></a>367 <a class="indexterm" name="id26 24351"></a>368 <a class="indexterm" name="id26 24358"></a>364 <a class="indexterm" name="id2630428"></a> 365 <a class="indexterm" name="id2630435"></a> 366 <a class="indexterm" name="id2630442"></a> 367 <a class="indexterm" name="id2630448"></a> 368 <a class="indexterm" name="id2630455"></a> 369 369 Setting is normally enabled by default (even if the parameter is not specified in <code class="filename">smb.conf</code>). It causes the 370 370 <span class="guiicon">Add Printer Wizard</span> icon to appear in the <span class="guiicon">Printers</span> folder of the Samba … … 375 375 before the action), or exchange a printer's driver for any other previously uploaded driver. 376 376 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#MAXPRINTJOBS" target="_top">max print jobs = 100 </a></span></dt><dd><p> 377 <a class="indexterm" name="id26 24440"></a>377 <a class="indexterm" name="id2630538"></a> 378 378 Sets the upper limit to 100 print jobs being active on the Samba server at any one time. Should a client 379 379 submit a job that exceeds this number, a "no more space available on server" type of error message will be … … 381 381 at all. 382 382 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#PRINTCAPNAME" target="_top">printcap name = /etc/printcap </a></span></dt><dd><p> 383 <a class="indexterm" name="id26 24476"></a>384 <a class="indexterm" name="id26 24482"></a>385 <a class="indexterm" name="id26 24489"></a>383 <a class="indexterm" name="id2630573"></a> 384 <a class="indexterm" name="id2630580"></a> 385 <a class="indexterm" name="id2630586"></a> 386 386 Tells Samba where to look for a list of available printer names. Where CUPS is used, make sure that a printcap 387 387 file is written. This is controlled by the <code class="constant">Printcap</code> directive in the 388 388 <code class="filename">cupsd.conf</code> file. 389 389 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#PRINTERADMIN" target="_top">printer admin = @ntadmin </a></span></dt><dd><p> 390 <a class="indexterm" name="id26 24527"></a>391 <a class="indexterm" name="id26 24533"></a>392 <a class="indexterm" name="id26 24540"></a>393 <a class="indexterm" name="id26 24547"></a>390 <a class="indexterm" name="id2630624"></a> 391 <a class="indexterm" name="id2630631"></a> 392 <a class="indexterm" name="id2630638"></a> 393 <a class="indexterm" name="id2630644"></a> 394 394 Members of the ntadmin group should be able to add drivers and set printer properties 395 395 (<code class="constant">ntadmin</code> is only an example name; it needs to be a valid UNIX group name); root is … … 400 400 per-share parameter. This permits different groups to administer each printer share. 401 401 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#LPQCACHETIME" target="_top">lpq cache time = 20 </a></span></dt><dd><p> 402 <a class="indexterm" name="id26 24628"></a>403 <a class="indexterm" name="id26 24634"></a>402 <a class="indexterm" name="id2630725"></a> 403 <a class="indexterm" name="id2630731"></a> 404 404 Controls the cache time for the results of the lpq command. It prevents the lpq command being called too often 405 405 and reduces the load on a heavily used print server. 406 406 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#USECLIENTDRIVER" target="_top">use client driver = no </a></span></dt><dd><p> 407 <a class="indexterm" name="id26 24663"></a>407 <a class="indexterm" name="id2630760"></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 … … 411 411 <code class="constant">true</code> setting) that have valid drivers installed on the Samba server. For more detailed 412 412 explanations, see the <code class="filename">smb.conf</code> man page. 413 </p></dd></dl></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="ptrsect"></a>The [printers] Section</h4></div></div></div><p>414 <a class="indexterm" name="id26 24715"></a>415 <a class="indexterm" name="id26 24721"></a>413 </p></dd></dl></div></div><div class="sect3" title="The [printers] Section"><div class="titlepage"><div><div><h4 class="title"><a name="ptrsect"></a>The [printers] Section</h4></div></div></div><p> 414 <a class="indexterm" name="id2630812"></a> 415 <a class="indexterm" name="id2630819"></a> 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 … … 456 456 Is a synonym for <a class="link" href="smb.conf.5.html#GUESTOK" target="_top">guest ok = yes</a>. 457 457 Since we have <a class="link" href="smb.conf.5.html#GUESTOK" target="_top">guest ok = yes</a>, it 458 really does not need to be here. (This leads to the interesting question, “<span class="quote">What if I459 by accident have two contradictory settings for the same share?</span>” The answer is that the458 really does not need to be here. (This leads to the interesting question, <span class="quote">“<span class="quote">What if I 459 by accident have two contradictory settings for the same share?</span>”</span> The answer is that the 460 460 last one encountered by Samba wins. <code class="literal">testparm</code> does not complain about different settings 461 461 of the same parameter for the same share. You can test this by setting up multiple … … 469 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 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="id2625108"></a>Any [my_printer_name] Section</h4></div></div></div><p>472 <a class="indexterm" name="id26 25116"></a>473 <a class="indexterm" name="id26 25123"></a>471 </p></dd></dl></div></div><div class="sect3" title="Any [my_printer_name] Section"><div class="titlepage"><div><div><h4 class="title"><a name="id2631206"></a>Any [my_printer_name] Section</h4></div></div></div><p> 472 <a class="indexterm" name="id2631214"></a> 473 <a class="indexterm" name="id2631220"></a> 474 474 If a <em class="parameter"><code>[my_printer_name]</code></em> section appears in the <code class="filename">smb.conf</code> file, which includes the 475 475 parameter <a class="link" href="smb.conf.5.html#PRINTABLE" target="_top">printable = yes</a> Samba will configure it as a printer share. … … 503 503 </p></dd><dt><span class="term"><a class="link" href="smb.conf.5.html#GUESTOK" 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="id2625403"></a>Print Commands</h4></div></div></div><p>506 <a class="indexterm" name="id26 25410"></a>507 <a class="indexterm" name="id26 25417"></a>508 <a class="indexterm" name="id26 25424"></a>509 <a class="indexterm" name="id26 25431"></a>505 </p></dd></dl></div></div><div class="sect3" title="Print Commands"><div class="titlepage"><div><div><h4 class="title"><a name="id2631500"></a>Print Commands</h4></div></div></div><p> 506 <a class="indexterm" name="id2631508"></a> 507 <a class="indexterm" name="id2631514"></a> 508 <a class="indexterm" name="id2631521"></a> 509 <a class="indexterm" name="id2631528"></a> 510 510 In each section defining a printer (or in the <em class="parameter"><code>[printers]</code></em> section), 511 511 a <em class="parameter"><code>print command</code></em> parameter may be defined. It sets a command to process the files … … 519 519 make sure you pay attention to the need to remove the files from the Samba spool directory. Otherwise, 520 520 your hard disk may soon suffer from shortage of free space. 521 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2625479"></a>Default UNIX System Printing Commands</h4></div></div></div><p>522 <a class="indexterm" name="id26 25486"></a>521 </p></div><div class="sect3" title="Default UNIX System Printing Commands"><div class="titlepage"><div><div><h4 class="title"><a name="id2631576"></a>Default UNIX System Printing Commands</h4></div></div></div><p> 522 <a class="indexterm" name="id2631584"></a> 523 523 You learned earlier that Samba, in most cases, uses its built-in settings for many parameters if it cannot 524 524 find an explicitly stated one in its configuration file. The same is true for the <a class="link" href="smb.conf.5.html#PRINTCOMMAND" 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 … … 529 529 of key printing options but excludes the special case of CUPS, is discussed in <a class="link" href="CUPS-printing.html" title="Chapter 22. CUPS Printing Support">CUPS Printing Support</a>. 530 530 </p><div class="table"><a name="printOptions"></a><p class="title"><b>Table 21.1. Default Printing Settings</b></p><div class="table-contents"><table summary="Default Printing Settings" border="1"><colgroup><col align="left"><col align="left"></colgroup><thead><tr><th align="left">Setting</th><th align="left">Default Printing Commands</th></tr></thead><tbody><tr><td align="left"><a class="link" href="smb.conf.5.html#PRINTING" 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="id26 25951"></a>532 <a class="indexterm" name="id26 25957"></a>533 <a class="indexterm" name="id26 25964"></a>534 <a class="indexterm" name="id26 25971"></a>531 <a class="indexterm" name="id2632048"></a> 532 <a class="indexterm" name="id2632054"></a> 533 <a class="indexterm" name="id2632061"></a> 534 <a class="indexterm" name="id2632068"></a> 535 535 For <em class="parameter"><code>printing = CUPS</code></em>, if Samba is compiled against libcups, it uses the CUPS API to 536 536 submit jobs. (It is a good idea also to set <a class="link" href="smb.conf.5.html#PRINTCAP" target="_top">printcap = cups</a> in case your … … 539 539 <code class="literal">lp -c -d%p -oraw; rm %s</code>. With <em class="parameter"><code>printing = cups</code></em>, and if Samba is 540 540 compiled against libcups, any manually set print command will be ignored! 541 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2626023"></a>Custom Print Commands</h4></div></div></div><p>542 <a class="indexterm" name="id26 26031"></a>543 <a class="indexterm" name="id26 26038"></a>541 </p></div><div class="sect3" title="Custom Print Commands"><div class="titlepage"><div><div><h4 class="title"><a name="id2632121"></a>Custom Print Commands</h4></div></div></div><p> 542 <a class="indexterm" name="id2632129"></a> 543 <a class="indexterm" name="id2632135"></a> 544 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 … … 548 548 that the spool file is deleted after it has been processed. 549 549 </p><p> 550 <a class="indexterm" name="id26 26068"></a>551 <a class="indexterm" name="id26 26074"></a>552 <a class="indexterm" name="id26 26081"></a>553 <a class="indexterm" name="id26 26088"></a>550 <a class="indexterm" name="id2632165"></a> 551 <a class="indexterm" name="id2632172"></a> 552 <a class="indexterm" name="id2632179"></a> 553 <a class="indexterm" name="id2632186"></a> 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 … … 560 560 appropriate value automatically. Print commands can handle all Samba macro substitutions. In regard to 561 561 printing, the following ones do have special relevance: 562 </p><div class="itemizedlist"><ul type="disc"><li><p><em class="parameter"><code>%s, %f</code></em> the path to the spool file name.</p></li><li><p><em class="parameter"><code>%p</code></em> the appropriate printer name.</p></li><li><p><em class="parameter"><code>%J</code></em> the job name as transmitted by the client.</p></li><li><p><em class="parameter"><code>%c</code></em> the number of printed pages of the spooled job (if known).</p></li><li><p><em class="parameter"><code>%z</code></em> the size of the spooled print job (in bytes).</p></li></ul></div><p>563 <a class="indexterm" name="id26 26188"></a>562 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p><em class="parameter"><code>%s, %f</code></em> the path to the spool file name.</p></li><li class="listitem"><p><em class="parameter"><code>%p</code></em> the appropriate printer name.</p></li><li class="listitem"><p><em class="parameter"><code>%J</code></em> the job name as transmitted by the client.</p></li><li class="listitem"><p><em class="parameter"><code>%c</code></em> the number of printed pages of the spooled job (if known).</p></li><li class="listitem"><p><em class="parameter"><code>%z</code></em> the size of the spooled print job (in bytes).</p></li></ul></div><p> 563 <a class="indexterm" name="id2632285"></a> 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 26223"></a>570 <a class="indexterm" name="id26 26230"></a>569 <a class="indexterm" name="id2632321"></a> 570 <a class="indexterm" name="id2632328"></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 26253"></a>577 <a class="indexterm" name="id26 26260"></a>576 <a class="indexterm" name="id2632350"></a> 577 <a class="indexterm" name="id2632357"></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 26289"></a>583 <a class="indexterm" name="id26 26296"></a>584 <a class="indexterm" name="id26 26303"></a>582 <a class="indexterm" name="id2632386"></a> 583 <a class="indexterm" name="id2632393"></a> 584 <a class="indexterm" name="id2632400"></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 … … 588 588 in the Samba print command is <em class="parameter"><code>%$variable</code></em>.) To give you a working 589 589 <a class="link" href="smb.conf.5.html#PRINTCOMMAND" target="_top">print command</a> example, the following will log a print job 590 to <code class="filename">/tmp/print.log</code>, print the file, then remove it. The semicolon ( “<span class="quote">;</span>”590 to <code class="filename">/tmp/print.log</code>, print the file, then remove it. The semicolon (<span class="quote">“<span class="quote">;</span>”</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="id2626358"></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 border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2632456"></a><em class="parameter"><code>print command = echo Printing %s >> /tmp/print.log; lpr -P %p %s; rm %s</code></em></td></tr></table><p> 593 593 You may have to vary your own command considerably from this example depending on how you normally print 594 594 files on your system. The default for the <a class="link" href="smb.conf.5.html#PRINTCOMMAND" target="_top">print command</a> 595 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="id2626409"></a><em class="parameter"><code>print command = /usr/local/samba/bin/myprintscript %p %s</code></em></td></tr></table></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="cups-msrpc"></a>Printing Developments Since Samba-2.2</h2></div></div></div><p>598 <a class="indexterm" name="id26 26435"></a>599 <a class="indexterm" name="id26 26442"></a>600 <a class="indexterm" name="id26 26449"></a>597 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2632506"></a><em class="parameter"><code>print command = /usr/local/samba/bin/myprintscript %p %s</code></em></td></tr></table></div></div></div><div class="sect1" title="Printing Developments Since Samba-2.2"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="cups-msrpc"></a>Printing Developments Since Samba-2.2</h2></div></div></div><p> 598 <a class="indexterm" name="id2632533"></a> 599 <a class="indexterm" name="id2632539"></a> 600 <a class="indexterm" name="id2632546"></a> 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. … … 606 606 </p><p> 607 607 The additional functionality provided by the new SPOOLSS support includes: 608 </p><div class="itemizedlist"><ul type="disc"><li><p>609 <a class="indexterm" name="id26 26484"></a>608 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 609 <a class="indexterm" name="id2632581"></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 </p></li><li ><p>613 <a class="indexterm" name="id26 26501"></a>612 </p></li><li class="listitem"><p> 613 <a class="indexterm" name="id2632598"></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 </p></li><li ><p>617 <a class="indexterm" name="id26 26524"></a>618 <a class="indexterm" name="id26 26531"></a>619 <a class="indexterm" name="id26 26538"></a>620 <a class="indexterm" name="id26 26544"></a>621 <a class="indexterm" name="id26 26551"></a>616 </p></li><li class="listitem"><p> 617 <a class="indexterm" name="id2632621"></a> 618 <a class="indexterm" name="id2632628"></a> 619 <a class="indexterm" name="id2632635"></a> 620 <a class="indexterm" name="id2632642"></a> 621 <a class="indexterm" name="id2632649"></a> 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 </p></li><li ><p>626 <a class="indexterm" name="id26 26572"></a>627 <a class="indexterm" name="id26 26578"></a>625 </p></li><li class="listitem"><p> 626 <a class="indexterm" name="id2632669"></a> 627 <a class="indexterm" name="id2632675"></a> 628 628 Support for NT Access Control Lists (ACL) on printer objects. 629 </p></li><li ><p>630 <a class="indexterm" name="id26 26590"></a>629 </p></li><li class="listitem"><p> 630 <a class="indexterm" name="id2632688"></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 26610"></a>635 <a class="indexterm" name="id26 26617"></a>634 <a class="indexterm" name="id2632708"></a> 635 <a class="indexterm" name="id2632714"></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 26629"></a>638 <a class="indexterm" name="id2632726"></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 26646"></a>645 <a class="indexterm" name="id26 26652"></a>646 <a class="indexterm" name="id26 26659"></a>647 <a class="indexterm" name="id26 26666"></a>648 <a class="indexterm" name="id26 26673"></a>644 <a class="indexterm" name="id2632743"></a> 645 <a class="indexterm" name="id2632750"></a> 646 <a class="indexterm" name="id2632756"></a> 647 <a class="indexterm" name="id2632763"></a> 648 <a class="indexterm" name="id2632770"></a> 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="id2626693"></a>Point'n'Print Client Drivers on Samba Servers</h3></div></div></div><p>656 <a class="indexterm" name="id26 26701"></a>657 There is much confusion about what all this means. The question is often asked, “<span class="quote">Is it or is655 </p><div class="sect2" title="Point'n'Print Client Drivers on Samba Servers"><div class="titlepage"><div><div><h3 class="title"><a name="id2632790"></a>Point'n'Print Client Drivers on Samba Servers</h3></div></div></div><p> 656 <a class="indexterm" name="id2632799"></a> 657 There is much confusion about what all this means. The question is often asked, <span class="quote">“<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 Windows clients?</span>” The answer to this is no, it is not necessary.660 </p><p> 661 <a class="indexterm" name="id26 26719"></a>662 <a class="indexterm" name="id26 26726"></a>659 Windows clients?</span>”</span> The answer to this is no, it is not necessary. 660 </p><p> 661 <a class="indexterm" name="id2632817"></a> 662 <a class="indexterm" name="id2632824"></a> 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 26746"></a>669 <a class="indexterm" name="id26 26753"></a>668 <a class="indexterm" name="id2632843"></a> 669 <a class="indexterm" name="id2632850"></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 … … 674 674 <em class="parameter"><code>[print$]</code></em> share and the following binding of this driver to an existing 675 675 Samba printer share can be achieved by different means: 676 </p><div class="itemizedlist"><ul type="disc"><li><p>676 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 677 677 Running the <span class="emphasis"><em>APW</em></span> on an NT/200x/XP Professional client (this does not work from 95/98/ME clients). 678 </p></li><li ><p>678 </p></li><li class="listitem"><p> 679 679 Using the <span class="emphasis"><em>Imprints</em></span> toolset. 680 </p></li><li ><p>680 </p></li><li class="listitem"><p> 681 681 Using the <span class="emphasis"><em>smbclient</em></span> and <span class="emphasis"><em>rpcclient</em></span> command-line tools. 682 </p></li><li ><p>682 </p></li><li class="listitem"><p> 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 26835"></a>686 <a class="indexterm" name="id26 26842"></a>685 <a class="indexterm" name="id2632932"></a> 686 <a class="indexterm" name="id2632939"></a> 687 687 Samba does not use these uploaded drivers in any way to process spooled files. These drivers are utilized 688 entirely by the clients who download and install them via the “<span class="quote">Point'n'Print</span>”mechanism688 entirely by the clients who download and install them via the <span class="quote">“<span class="quote">Point'n'Print</span>”</span> mechanism 689 689 supported by Samba. The clients use these drivers to generate print files in the format the printer 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="id2626862"></a>The Obsoleted [printer$] Section</h3></div></div></div><p>693 <a class="indexterm" name="id26 26870"></a>694 <a class="indexterm" name="id26 26877"></a>692 </p></div><div class="sect2" title="The Obsoleted [printer$] Section"><div class="titlepage"><div><div><h3 class="title"><a name="id2632959"></a>The Obsoleted [printer$] Section</h3></div></div></div><p> 693 <a class="indexterm" name="id2632967"></a> 694 <a class="indexterm" name="id2632974"></a> 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 26922"></a>705 <a class="indexterm" name="id26 26929"></a>706 <a class="indexterm" name="id26 26936"></a>704 <a class="indexterm" name="id2633019"></a> 705 <a class="indexterm" name="id2633026"></a> 706 <a class="indexterm" name="id2633033"></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="id2626984"></a>Creating the [print$] Share</h3></div></div></div><p>717 <a class="indexterm" name="id26 26992"></a>716 </p></div><div class="sect2" title="Creating the [print$] Share"><div class="titlepage"><div><div><h3 class="title"><a name="id2633081"></a>Creating the [print$] Share</h3></div></div></div><p> 717 <a class="indexterm" name="id2633089"></a> 718 718 In order to support the uploading and downloading of printer driver files, you must first configure a 719 719 file share named <em class="parameter"><code>[print$]</code></em>. The public name of this share is hard coded … … 725 725 as <a class="link" href="smb.conf.5.html#PATH" 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="id2627076"></a><em class="parameter"><code>printer admin = @ntadmin</code></em></td></tr><tr><td># ...</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[printers]</code></em></td></tr><tr><td># ...</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[print$]</code></em></td></tr><tr><td><a class="indexterm" name="id2627112"></a><em class="parameter"><code>comment = Printer Driver Download Area</code></em></td></tr><tr><td><a class="indexterm" name="id2627124"></a><em class="parameter"><code>path = /etc/samba/drivers</code></em></td></tr><tr><td><a class="indexterm" name="id2627135"></a><em class="parameter"><code>browseable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2627147"></a><em class="parameter"><code>guest ok = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2627158"></a><em class="parameter"><code>read only = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2627170"></a><em class="parameter"><code>write list = @ntadmin, root</code></em></td></tr></table></div></div><br class="example-break"><p>727 </p><div class="example"><a name="prtdollar"></a><p class="title"><b>Example 21.3. [print$] Example</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td># members of the ntadmin group should be able to add drivers and set</td></tr><tr><td># printer properties. root is implicitly always a 'printer admin'.</td></tr><tr><td><a class="indexterm" name="id2633173"></a><em class="parameter"><code>printer admin = @ntadmin</code></em></td></tr><tr><td># ...</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[printers]</code></em></td></tr><tr><td># ...</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[print$]</code></em></td></tr><tr><td><a class="indexterm" name="id2633210"></a><em class="parameter"><code>comment = Printer Driver Download Area</code></em></td></tr><tr><td><a class="indexterm" name="id2633221"></a><em class="parameter"><code>path = /etc/samba/drivers</code></em></td></tr><tr><td><a class="indexterm" name="id2633233"></a><em class="parameter"><code>browseable = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2633244"></a><em class="parameter"><code>guest ok = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2633256"></a><em class="parameter"><code>read only = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2633267"></a><em class="parameter"><code>write list = @ntadmin, root</code></em></td></tr></table></div></div><br class="example-break"><p> 728 728 Of course, you also need to ensure that the directory named by the 729 729 <a class="link" href="smb.conf.5.html#PATH" target="_top">path</a> parameter exists on the UNIX file system. 730 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2627200"></a>[print$] Stanza Parameters</h3></div></div></div><p>731 <a class="indexterm" name="id26 27208"></a>732 <a class="indexterm" name="id26 27215"></a>733 <a class="indexterm" name="id26 27222"></a>734 <a class="indexterm" name="id26 27229"></a>735 <a class="indexterm" name="id26 27236"></a>730 </p></div><div class="sect2" title="[print$] Stanza Parameters"><div class="titlepage"><div><div><h3 class="title"><a name="id2633298"></a>[print$] Stanza Parameters</h3></div></div></div><p> 731 <a class="indexterm" name="id2633306"></a> 732 <a class="indexterm" name="id2633312"></a> 733 <a class="indexterm" name="id2633319"></a> 734 <a class="indexterm" name="id2633326"></a> 735 <a class="indexterm" name="id2633333"></a> 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. … … 756 756 = yes</code></em> depends on how your site is configured. If users will be guaranteed 757 757 to have an account on the Samba host, then this is a non-issue. 758 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>758 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 759 759 If all your Windows NT users are guaranteed to be authenticated by the Samba server 760 760 (for example, if Samba authenticates via an NT domain server and the user has already been … … 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 773 groups are denoted with a leading “<span class="quote">@</span>”character. Users listed here are allowed773 groups are denoted with a leading <span class="quote">“<span class="quote">@</span>”</span> character. Users listed here are allowed 774 774 write-access (as an exception to the general public's read-only access), which they need to 775 775 update files on the share. Normally, you will want to name only administrative-level user … … 778 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="id2627521"></a>The [print$] Share Directory</h3></div></div></div><p>780 </p></dd></dl></div></div><div class="sect2" title="The [print$] Share Directory"><div class="titlepage"><div><div><h3 class="title"><a name="id2633618"></a>The [print$] Share Directory</h3></div></div></div><p> 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> … … 798 798 |--W32PPC # serves drivers to Windows NT PowerPC 799 799 </pre><p> 800 </p><div class="important" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Required Permissions</h3><p>800 </p><div class="important" title="Required Permissions" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Required Permissions</h3><p> 801 801 In order to add a new driver to your Samba host, one of two conditions must hold true: 802 </p><div class="itemizedlist"><ul type="disc"><li><p>802 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 803 803 The account used to connect to the Samba host must have a UID of 0 (i.e., a root account). 804 </p></li><li ><p>804 </p></li><li class="listitem"><p> 805 805 The account used to connect to the Samba host must be named in the <span class="emphasis"><em>printer admin</em></span> list. 806 806 </p></li></ul></div><p> 807 807 Of course, the connected account must still have write access to add files to the subdirectories beneath 808 <em class="parameter"><code>[print$]</code></em>. Remember that all file shares are set to “<span class="quote">read-only</span>”by default.808 <em class="parameter"><code>[print$]</code></em>. Remember that all file shares are set to <span class="quote">“<span class="quote">read-only</span>”</span> by default. 809 809 </p></div><p> 810 810 Once you have created the required <em class="parameter"><code>[print$]</code></em> service and … … 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="id2627663"></a>Installing Drivers into [print$]</h2></div></div></div><p>815 </p></div></div><div class="sect1" title="Installing Drivers into [print$]"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2633761"></a>Installing Drivers into [print$]</h2></div></div></div><p> 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 … … 821 821 requested from MS Windows clients. And that is a bit tricky, to say the least. We now discuss two alternative 822 822 ways to install the drivers into <em class="parameter"><code>[print$]</code></em>: 823 </p><div class="itemizedlist"><ul type="disc"><li><p>823 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 824 824 Using the Samba command-line utility <code class="literal">rpcclient</code> with its various subcommands (here, 825 825 <code class="literal">adddriver</code> and <code class="literal">setdriver</code>) from any UNIX workstation. 826 </p></li><li ><p>826 </p></li><li class="listitem"><p> 827 827 Running a GUI (<span class="guiicon">Printer Properties</span> and <span class="guiicon">Add Printer Wizard</span>) 828 828 from any Windows NT/200x/XP client workstation. 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="id2627756"></a>Add Printer Wizard Driver Installation</h3></div></div></div><p>831 </p><div class="sect2" title="Add Printer Wizard Driver Installation"><div class="titlepage"><div><div><h3 class="title"><a name="id2633854"></a>Add Printer Wizard Driver Installation</h3></div></div></div><p> 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 … … 840 840 on the printer icon, and select <span class="guimenu">Properties...</span>. You are now trying to view printer and 841 841 driver properties for a queue that has this default <code class="constant">NULL</code> driver assigned. This will 842 result in the following error message: “<span class="quote"> Device settings cannot be displayed. The driver for the842 result in the following error message: <span class="quote">“<span class="quote"> Device settings cannot be displayed. The driver for the 843 843 specified printer is not installed, only spooler properties will be displayed. Do you want to install the 844 driver now?</span>” 844 driver now?</span>”</span> 845 845 </p><p> 846 846 Do <span class="emphasis"><em>not</em></span> click on <span class="guibutton">Yes</span>! Instead, click on <span class="guibutton">No</span> 847 847 in the error dialog. Now you will be presented with the printer properties window. From here, the way to 848 848 assign a driver to a printer is open. You now have the choice of: 849 </p><div class="itemizedlist"><ul type="disc"><li><p>849 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 850 850 Select a driver from the pop-up list of installed drivers. Initially this list will be empty. 851 </p></li><li ><p>851 </p></li><li class="listitem"><p> 852 852 Click on <span class="guibutton">New Driver</span> to install a new printer driver (which will 853 853 start up the APW). … … 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 866 866 Print Drivers Using <code class="literal">rpcclient</code></a>. 867 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="inst-rpc"></a>Installing Print Drivers Using <code class="literal">rpcclient</code></h3></div></div></div><p>867 </p></div><div class="sect2" title="Installing Print Drivers Using rpcclient"><div class="titlepage"><div><div><h3 class="title"><a name="inst-rpc"></a>Installing Print Drivers Using <code class="literal">rpcclient</code></h3></div></div></div><p> 868 868 The second way to install printer drivers into <em class="parameter"><code>[print$]</code></em> and set them 869 869 up in a valid way is to do it from the UNIX command line. This involves four distinct steps: 870 </p><div class="orderedlist"><ol type="1"><li><p>870 </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p> 871 871 Gather information about required driver files and collect the files. 872 </p></li><li ><p>872 </p></li><li class="listitem"><p> 873 873 Deposit the driver files into the <em class="parameter"><code>[print$]</code></em> share's correct subdirectories 874 874 (possibly by using <code class="literal">smbclient</code>). 875 </p></li><li ><p>875 </p></li><li class="listitem"><p> 876 876 Run the <code class="literal">rpcclient</code> command-line utility once with the <code class="literal">adddriver</code> 877 877 subcommand. 878 </p></li><li ><p>878 </p></li><li class="listitem"><p> 879 879 Run <code class="literal">rpcclient</code> a second time with the <code class="literal">setdriver</code> subcommand. 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="id2628032"></a>Identifying Driver Files</h4></div></div></div><p>883 <a class="indexterm" name="id26 28040"></a>884 <a class="indexterm" name="id26 28047"></a>885 <a class="indexterm" name="id26 28054"></a>882 </p><div class="sect3" title="Identifying Driver Files"><div class="titlepage"><div><div><h4 class="title"><a name="id2634130"></a>Identifying Driver Files</h4></div></div></div><p> 883 <a class="indexterm" name="id2634138"></a> 884 <a class="indexterm" name="id2634145"></a> 885 <a class="indexterm" name="id2634152"></a> 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="id26 28085"></a>893 <a class="indexterm" name="id2634182"></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="id26 28107"></a>900 <a class="indexterm" name="id2634204"></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="id26 28164"></a>909 <a class="indexterm" name="id26 28171"></a>910 <a class="indexterm" name="id26 28177"></a>908 <a class="indexterm" name="id2634261"></a> 909 <a class="indexterm" name="id2634268"></a> 910 <a class="indexterm" name="id2634275"></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="id26 28293"></a>952 <a class="indexterm" name="id26 28300"></a>953 <a class="indexterm" name="id26 28307"></a>954 <a class="indexterm" name="id26 28314"></a>951 <a class="indexterm" name="id2634391"></a> 952 <a class="indexterm" name="id2634397"></a> 953 <a class="indexterm" name="id2634404"></a> 954 <a class="indexterm" name="id2634411"></a> 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="id26 28362"></a>965 <a class="indexterm" name="id26 28369"></a>966 <a class="indexterm" name="id26 28376"></a>964 <a class="indexterm" name="id2634459"></a> 965 <a class="indexterm" name="id2634466"></a> 966 <a class="indexterm" name="id2634473"></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 969 969 9x/Me driver files will end up in subdirectory <code class="filename">0</code> of the <code class="filename">WIN40</code> 970 970 directory. The full path to access them is <code class="filename">\\WINDOWSHOST\print$\WIN40\0\</code>. 971 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>972 More recent drivers on Windows 2000 and Windows XP are installed into the “<span class="quote">3</span>”subdirectory973 instead of the “<span class="quote">2</span>”. The version 2 of drivers, as used in Windows NT, were running in kernel971 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 972 More recent drivers on Windows 2000 and Windows XP are installed into the <span class="quote">“<span class="quote">3</span>”</span> subdirectory 973 instead of the <span class="quote">“<span class="quote">2</span>”</span>. The version 2 of drivers, as used in Windows NT, were running in kernel 974 974 mode. Windows 2000 changed this. While it still can use the kernel mode drivers (if this is enabled by 975 975 the Admin), its native mode for printer drivers is user mode execution. This requires drivers designed 976 for this purpose. These types of drivers install into the “<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="id2628439"></a>Obtaining Driver Files from Windows Client [print$] Shares</h4></div></div></div><p>976 for this purpose. These types of drivers install into the <span class="quote">“<span class="quote">3</span>”</span> subdirectory. 977 </p></div></div><div class="sect3" title="Obtaining Driver Files from Windows Client [print$] Shares"><div class="titlepage"><div><div><h4 class="title"><a name="id2634537"></a>Obtaining Driver Files from Windows Client [print$] Shares</h4></div></div></div><p> 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="id26 28548"></a>1002 <a class="indexterm" name="id2634645"></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="id2628585"></a>Installing Driver Files into [print$]</h4></div></div></div><p>1007 </p></div><div class="sect3" title="Installing Driver Files into [print$]"><div class="titlepage"><div><div><h4 class="title"><a name="id2634683"></a>Installing Driver Files into [print$]</h4></div></div></div><p> 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 … … 1011 1011 <em class="parameter"><code>[print$]</code></em> share maps to the UNIX path <code class="filename">/etc/samba/drivers/</code>, your 1012 1012 driver files should now go here: 1013 </p><div class="itemizedlist"><ul type="disc"><li><p>1013 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 1014 1014 For all Windows NT, 2000, and XP clients, <code class="filename">/etc/samba/drivers/W32X86/</code> but 1015 1015 not (yet) into the <code class="filename">2</code> subdirectory. 1016 </p></li><li ><p>1016 </p></li><li class="listitem"><p> 1017 1017 For all Windows 95, 98, and Me clients, <code class="filename">/etc/samba/drivers/WIN40/</code> but not 1018 1018 (yet) into the <code class="filename">0</code> subdirectory. 1019 1019 </p></li></ul></div><p> 1020 <a class="indexterm" name="id26 28664"></a>1021 <a class="indexterm" name="id26 28671"></a>1020 <a class="indexterm" name="id2634762"></a> 1021 <a class="indexterm" name="id2634768"></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="id26 28744"></a>1059 <a class="indexterm" name="id26 28751"></a>1060 <a class="indexterm" name="id26 28758"></a>1058 <a class="indexterm" name="id2634841"></a> 1059 <a class="indexterm" name="id2634848"></a> 1060 <a class="indexterm" name="id2634855"></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="id2628804"></a><code class="literal">smbclient</code> to Confirm Driver Installation</h4></div></div></div><p>1068 <a class="indexterm" name="id26 28817"></a>1069 <a class="indexterm" name="id26 28823"></a>1067 </p></div><div class="sect3" title="smbclient to Confirm Driver Installation"><div class="titlepage"><div><div><h4 class="title"><a name="id2634901"></a><code class="literal">smbclient</code> to Confirm Driver Installation</h4></div></div></div><p> 1068 <a class="indexterm" name="id2634914"></a> 1069 <a class="indexterm" name="id2634921"></a> 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="id26 28898"></a>1111 <a class="indexterm" name="id26 28905"></a>1112 <a class="indexterm" name="id26 28912"></a>1110 <a class="indexterm" name="id2634995"></a> 1111 <a class="indexterm" name="id2635002"></a> 1112 <a class="indexterm" name="id2635009"></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="id2628941"></a>Running <code class="literal">rpcclient</code> with <code class="literal">adddriver</code></h4></div></div></div><p>1121 <a class="indexterm" name="id26 28959"></a>1122 <a class="indexterm" name="id26 28966"></a>1123 <a class="indexterm" name="id26 28973"></a>1120 </p></div><div class="sect3" title="Running rpcclient with adddriver"><div class="titlepage"><div><div><h4 class="title"><a name="id2635038"></a>Running <code class="literal">rpcclient</code> with <code class="literal">adddriver</code></h4></div></div></div><p> 1121 <a class="indexterm" name="id2635056"></a> 1122 <a class="indexterm" name="id2635063"></a> 1123 <a class="indexterm" name="id2635070"></a> 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="id26 29028"></a>1148 <a class="indexterm" name="id26 29035"></a>1149 <a class="indexterm" name="id26 29042"></a>1147 <a class="indexterm" name="id2635125"></a> 1148 <a class="indexterm" name="id2635132"></a> 1149 <a class="indexterm" name="id2635139"></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="id2629065"></a>Checking <code class="literal">adddriver</code> Completion</h4></div></div></div><p>1156 </p></div><div class="sect3" title="Checking adddriver Completion"><div class="titlepage"><div><div><h4 class="title"><a name="id2635162"></a>Checking <code class="literal">adddriver</code> Completion</h4></div></div></div><p> 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="id2629206"></a>Check Samba for Driver Recognition</h4></div></div></div><p>1202 <a class="indexterm" name="id26 29215"></a>1201 </p></div><div class="sect3" title="Check Samba for Driver Recognition"><div class="titlepage"><div><div><h4 class="title"><a name="id2635304"></a>Check Samba for Driver Recognition</h4></div></div></div><p> 1202 <a class="indexterm" name="id2635312"></a> 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 </p><div class="itemizedlist"><ul type="disc"><li><p>1207 <a class="indexterm" name="id26 29232"></a>1208 <a class="indexterm" name="id26 29239"></a>1209 <a class="indexterm" name="id26 29246"></a>1210 <a class="indexterm" name="id26 29253"></a>1211 <a class="indexterm" name="id26 29260"></a>1206 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 1207 <a class="indexterm" name="id2635329"></a> 1208 <a class="indexterm" name="id2635336"></a> 1209 <a class="indexterm" name="id2635343"></a> 1210 <a class="indexterm" name="id2635350"></a> 1211 <a class="indexterm" name="id2635357"></a> 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 … … 1218 1218 see only its own architecture's list. If you do not have every driver installed for each platform, 1219 1219 the list will differ if you look at it from Windows95/98/ME or Windows NT/2000/XP.) 1220 </p></li><li ><p>1221 <a class="indexterm" name="id26 29300"></a>1220 </p></li><li class="listitem"><p> 1221 <a class="indexterm" name="id2635397"></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, … … 1232 1232 <strong class="userinput"><code>rundll32 printui.dll,PrintUIEntry /s /t2 /n\\<em class="replaceable"><code>SAMBA-CUPS</code></em></code></strong> 1233 1233 </pre><p> 1234 </p></li><li ><p>1234 </p></li><li class="listitem"><p> 1235 1235 From a UNIX prompt, run this command (or a variant thereof), where 1236 1236 <em class="replaceable"><code>SAMBA-CUPS</code></em> is the name of the Samba host and xxxx represents the … … 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="id2629434"></a>Specific Driver Name Flexibility</h4></div></div></div><p>1251 <a class="indexterm" name="id26 29442"></a>1250 </p></li></ul></div></div><div class="sect3" title="Specific Driver Name Flexibility"><div class="titlepage"><div><div><h4 class="title"><a name="id2635531"></a>Specific Driver Name Flexibility</h4></div></div></div><p> 1251 <a class="indexterm" name="id2635539"></a> 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="id26 29490"></a>1275 <a class="indexterm" name="id26 29496"></a>1276 <a class="indexterm" name="id26 29503"></a>1274 <a class="indexterm" name="id2635587"></a> 1275 <a class="indexterm" name="id2635594"></a> 1276 <a class="indexterm" name="id2635601"></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="id2629548"></a>Running <code class="literal">rpcclient</code> with <code class="literal">setdriver</code></h4></div></div></div><p>1284 <a class="indexterm" name="id26 29567"></a>1285 <a class="indexterm" name="id26 29574"></a>1283 </p></div><div class="sect3" title="Running rpcclient with setdriver"><div class="titlepage"><div><div><h4 class="title"><a name="id2635646"></a>Running <code class="literal">rpcclient</code> with <code class="literal">setdriver</code></h4></div></div></div><p> 1284 <a class="indexterm" name="id2635664"></a> 1285 <a class="indexterm" name="id2635671"></a> 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 … … 1305 1305 </pre><p> 1306 1306 Now we have done most of the work, but not all of it. 1307 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>1307 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 1308 1308 The <code class="literal">setdriver</code> command will only succeed if the printer is already known to Samba. A 1309 1309 bug in 2.2.x prevented Samba from recognizing freshly installed printers. You had to restart Samba, 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="id2629689"></a>Client Driver Installation Procedure</h2></div></div></div><p>1313 As Don Quixote said, “<span class="quote">The proof of the pudding is in the eating.</span>”The proof1312 </p></div></div></div></div><div class="sect1" title="Client Driver Installation Procedure"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2635786"></a>Client Driver Installation Procedure</h2></div></div></div><p> 1313 As Don Quixote said, <span class="quote">“<span class="quote">The proof of the pudding is in the eating.</span>”</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="id2629706"></a>First Client Driver Installation</h3></div></div></div><p>1316 </p><div class="sect2" title="First Client Driver Installation"><div class="titlepage"><div><div><h3 class="title"><a name="id2635803"></a>First Client Driver Installation</h3></div></div></div><p> 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 … … 1331 1331 as a printer admin user (you can check this with the <code class="literal">smbstatus</code> command on Samba), 1332 1332 do this from the Windows workstation: 1333 </p><div class="procedure"><ol type="1"><li><p>1333 </p><div class="procedure"><ol class="procedure" type="1"><li class="step" title="Step 1"><p> 1334 1334 Open <span class="guiicon">Network Neighborhood</span>. 1335 </p></li><li ><p>1335 </p></li><li class="step" title="Step 2"><p> 1336 1336 Browse to Samba server. 1337 </p></li><li ><p>1337 </p></li><li class="step" title="Step 3"><p> 1338 1338 Open its <span class="guiicon">Printers and Faxes</span> folder. 1339 </p></li><li ><p>1339 </p></li><li class="step" title="Step 4"><p> 1340 1340 Highlight and right-click on the printer. 1341 </p></li><li ><p>1341 </p></li><li class="step" title="Step 5"><p> 1342 1342 Select <span class="guimenuitem">Connect</span> (for Windows NT4/200x 1343 1343 it is possibly <span class="guimenuitem">Install</span>). … … 1348 1348 and Faxes</span>). 1349 1349 </p><p> 1350 <a class="indexterm" name="id26 29877"></a>1350 <a class="indexterm" name="id2635974"></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 1353 1353 chances are that you get an error message saying "<code class="literal">Unable to print Test Page</code>." The 1354 reason might be that there is not yet a valid device mode set for the driver or that the “<span class="quote">printer1355 driver data</span>” set is still incomplete.1354 reason might be that there is not yet a valid device mode set for the driver or that the <span class="quote">“<span class="quote">printer 1355 driver data</span>”</span> set is still incomplete. 1356 1356 </p><p> 1357 1357 You must make sure that a valid <em class="parameter"><code>device mode</code></em> is set for the 1358 1358 driver. We now explain what that means. 1359 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="prt-modeset"></a>Setting Device Modes on New Printers</h3></div></div></div><p>1359 </p></div><div class="sect2" title="Setting Device Modes on New Printers"><div class="titlepage"><div><div><h3 class="title"><a name="prt-modeset"></a>Setting Device Modes on New Printers</h3></div></div></div><p> 1360 1360 For a printer to be truly usable by a Windows NT/200x/XP client, it must possess: 1361 </p><div class="itemizedlist"><ul type="disc"><li><p>1362 <a class="indexterm" name="id26 29937"></a>1361 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 1362 <a class="indexterm" name="id2636035"></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 </p></li><li ><p>1366 <a class="indexterm" name="id26 29954"></a>1365 </p></li><li class="listitem"><p> 1366 <a class="indexterm" name="id2636051"></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="id26 29970"></a>1370 <a class="indexterm" name="id26 29977"></a>1371 <a class="indexterm" name="id26 29984"></a>1372 <a class="indexterm" name="id26 29991"></a>1373 <a class="indexterm" name="id26 29997"></a>1369 <a class="indexterm" name="id2636067"></a> 1370 <a class="indexterm" name="id2636074"></a> 1371 <a class="indexterm" name="id2636081"></a> 1372 <a class="indexterm" name="id2636088"></a> 1373 <a class="indexterm" name="id2636095"></a> 1374 1374 If either of these is incomplete, the clients can produce less than optimal output at best. In the 1375 1375 worst cases, unreadable garbage or nothing at all comes from the printer, or it produces a harvest of … … 1397 1397 effect to happen and feeds back the new device mode to our Samba server. You can use the native Windows 1398 1398 NT/200x/XP printer properties page from a Window client for this: 1399 </p><div class="procedure" ><a name="id2630096"></a><p class="title"><b>Procedure 21.1. Procedure to Initialize the Printer Driver Settings</b></p><ol type="1"><li><p>1399 </p><div class="procedure" title="Procedure 21.1. Procedure to Initialize the Printer Driver Settings"><a name="id2636193"></a><p class="title"><b>Procedure 21.1. Procedure to Initialize the Printer Driver Settings</b></p><ol class="procedure" type="1"><li class="step" title="Step 1"><p> 1400 1400 Browse the <span class="guiicon">Network Neighborhood</span>. 1401 </p></li><li ><p>1401 </p></li><li class="step" title="Step 2"><p> 1402 1402 Find the Samba server. 1403 </p></li><li ><p>1403 </p></li><li class="step" title="Step 3"><p> 1404 1404 Open the Samba server's <span class="guiicon">Printers and Faxes</span> folder. 1405 </p></li><li ><p>1405 </p></li><li class="step" title="Step 4"><p> 1406 1406 Highlight the shared printer in question. 1407 </p></li><li ><p>1407 </p></li><li class="step" title="Step 5"><p> 1408 1408 Right-click on the printer (you may already be here if you followed the last section's description). 1409 </p></li><li ><p>1409 </p></li><li class="step" title="Step 6"><p> 1410 1410 At the bottom of the context menu select <span class="guimenu">Properties</span> (if the menu still offers the 1411 1411 <span class="guimenuitem">Connect</span> entry further above, you 1412 1412 need to click on that one first to achieve the driver 1413 1413 installation, as shown in the last section). 1414 </p></li><li ><p>1414 </p></li><li class="step" title="Step 7"><p> 1415 1415 Go to the <span class="guilabel">Advanced</span> tab; click on <span class="guibutton">Printing Defaults</span>. 1416 </p></li><li ><p>1416 </p></li><li class="step" title="Step 8"><p> 1417 1417 Change the <span class="guimenuitem">Portrait</span> page setting to <span class="guimenuitem">Landscape</span> (and back). 1418 </p></li><li ><p>1418 </p></li><li class="step" title="Step 9"><p> 1419 1419 Make sure to apply changes between swapping the page orientation to cause the change to actually take effect. 1420 </p></li><li ><p>1420 </p></li><li class="step" title="Step 10"><p> 1421 1421 While you are at it, you may also want to set the desired printing defaults here, which then apply to all future 1422 1422 client driver installations. … … 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="id263 0250"></a>1429 <a class="indexterm" name="id2636347"></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="id2630271"></a>Additional Client Driver Installation</h3></div></div></div><p>1435 <a class="indexterm" name="id263 0279"></a>1434 </p></div><div class="sect2" title="Additional Client Driver Installation"><div class="titlepage"><div><div><h3 class="title"><a name="id2636368"></a>Additional Client Driver Installation</h3></div></div></div><p> 1435 <a class="indexterm" name="id2636376"></a> 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="id263 0346"></a>1448 <a class="indexterm" name="id2636443"></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="id2630390"></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" title="Always Make First Client Connection as root or “printer admin”"><div class="titlepage"><div><div><h3 class="title"><a name="id2636487"></a>Always Make First Client Connection as root or <span class="quote">“<span class="quote">printer admin</span>”</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 1458 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 </p><div class="itemizedlist"><ul type="disc"><li><p>1460 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 1461 1461 A first valid <span class="emphasis"><em>device mode</em></span> is really initialized (see above <a class="link" href="classicalprinting.html#prt-modeset" title="Setting Device Modes on New Printers">Setting Device Modes on New Printers</a>) for more explanation details). 1462 </p></li><li ><p>1462 </p></li><li class="listitem"><p> 1463 1463 The default print settings of your printer for all further client installations are as you want them. 1464 1464 </p></li></ul></div><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="id263 0484"></a>1470 <a class="indexterm" name="id2636581"></a> 1471 1471 To connect as root to a Samba printer, try this command from a Windows 200x/XP DOS box command prompt: 1472 1472 </p><pre class="screen"> … … 1482 1482 <code class="literal">Point'n'Print</code>) will have the same defaults set for them. If you miss this step, you'll get a 1483 1483 lot of help desk calls from your users, but maybe you like to talk to people. 1484 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2630563"></a>Other Gotchas</h2></div></div></div><p>1484 </p></div></div><div class="sect1" title="Other Gotchas"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2636660"></a>Other Gotchas</h2></div></div></div><p> 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 1487 1487 few tips and tricks you may find useful. For example, suppose you did not set the defaults on the printer, as 1488 advised in the preceding paragraphs. Your users complain about various issues (such as, “<span class="quote">We need to set1489 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="id2630584"></a>Setting Default Print Options for Client Drivers</h3></div></div></div><p>1488 advised in the preceding paragraphs. Your users complain about various issues (such as, <span class="quote">“<span class="quote">We need to set 1489 the paper size for each job from Letter to A4 and it will not store it</span>”</span>). 1490 </p><div class="sect2" title="Setting Default Print Options for Client Drivers"><div class="titlepage"><div><div><h3 class="title"><a name="id2636681"></a>Setting Default Print Options for Client Drivers</h3></div></div></div><p> 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 … … 1495 1495 they help you to set printer options in three different ways. Here is the definitive answer to the Samba 1496 1496 default driver setting FAQ: 1497 </p><p ><b>“<span class="quote">I can not set and save default print options1498 for all users on Windows 200x/XP. Why not?</span>” . </b>1497 </p><p title="“I can not set and save default print options for all users on Windows 200x/XP. Why not?”"><b><span class="quote">“<span class="quote">I can not set and save default print options 1498 for all users on Windows 200x/XP. Why not?</span>”</span>. </b> 1499 1499 How are you doing it? I bet the wrong way. (It is not easy to find out, though.) There are three different 1500 1500 ways to bring you to a dialog that seems to set everything. All three dialogs look the same, but only one of 1501 1501 them does what you intend. You need to be Administrator or Print Administrator to do this for all users. Here 1502 1502 is how I reproduce it in an XP Professional: 1503 </p><div class="orderedlist"><ol type="A"><li><p>The first “<span class="quote">wrong</span>”way:1504 </p><div class="orderedlist"><ol type="1"><li><p>Open the <span class="guiicon">Printers</span> folder.</p></li><li><p>Right-click on the printer (<span class="emphasis"><em>remoteprinter on cupshost</em></span>) and1505 select in context menu <span class="guimenu">Printing Preferences...</span>.</p></li><li ><p>Look at this dialog closely and remember what it looks like.</p></li></ol></div></li><li><p>The second “<span class="quote">wrong</span>”way:1506 </p><div class="orderedlist"><ol type="1"><li><p>Open the <span class="guimenu">Printers</span> folder.</p></li><li><p>Right-click on the printer (<span class="emphasis"><em>remoteprinter on1503 </p><div class="orderedlist"><ol class="orderedlist" type="A"><li class="listitem"><p>The first <span class="quote">“<span class="quote">wrong</span>”</span> way: 1504 </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>Open the <span class="guiicon">Printers</span> folder.</p></li><li class="listitem"><p>Right-click on the printer (<span class="emphasis"><em>remoteprinter on cupshost</em></span>) and 1505 select in context menu <span class="guimenu">Printing Preferences...</span>.</p></li><li class="listitem"><p>Look at this dialog closely and remember what it looks like.</p></li></ol></div></li><li class="listitem"><p>The second <span class="quote">“<span class="quote">wrong</span>”</span> way: 1506 </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>Open the <span class="guimenu">Printers</span> folder.</p></li><li class="listitem"><p>Right-click on the printer (<span class="emphasis"><em>remoteprinter on 1507 1507 cupshost</em></span>) and select in the context menu 1508 <span class="guimenuitem">Properties</span></p></li><li ><p>Click on the <span class="guilabel">General</span>1509 tab.</p></li><li ><p>Click on the <span class="guibutton">Printing1510 Preferences...</span> button.</p></li><li ><p>A new dialog opens. Keep this dialog open and go back1508 <span class="guimenuitem">Properties</span></p></li><li class="listitem"><p>Click on the <span class="guilabel">General</span> 1509 tab.</p></li><li class="listitem"><p>Click on the <span class="guibutton">Printing 1510 Preferences...</span> button.</p></li><li class="listitem"><p>A new dialog opens. Keep this dialog open and go back 1511 1511 to the parent dialog.</p></li></ol></div><p> 1512 </p></li><li ><p>1512 </p></li><li class="listitem"><p> 1513 1513 The third and correct way (should you do this from the beginning, just carry out steps 1 1514 1514 and 2 from the second method above): 1515 </p><div class="orderedlist"><ol type="1"><li><p>Click on the <span class="guilabel">Advanced</span>1516 tab. (If everything is “<span class="quote">grayed out,</span>”then you are not logged1517 in as a user with enough privileges.)</p></li><li ><p>Click on the <span class="guibutton">Printing1518 Defaults</span> button.</p></li><li ><p>On any of the two new tabs,1515 </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>Click on the <span class="guilabel">Advanced</span> 1516 tab. (If everything is <span class="quote">“<span class="quote">grayed out,</span>”</span> then you are not logged 1517 in as a user with enough privileges.)</p></li><li class="listitem"><p>Click on the <span class="guibutton">Printing 1518 Defaults</span> button.</p></li><li class="listitem"><p>On any of the two new tabs, 1519 1519 click on the 1520 <span class="guilabel">Advanced</span> button.</p></li><li ><p>A new dialog opens. Compare1520 <span class="guilabel">Advanced</span> button.</p></li><li class="listitem"><p>A new dialog opens. Compare 1521 1521 this one to the other. Are they 1522 1522 identical when you compare one from 1523 “<span class="quote">B.5</span>” and one from A.3?</p></li></ol></div></li></ol></div><p>1523 <span class="quote">“<span class="quote">B.5</span>”</span> and one from A.3?</p></li></ol></div></li></ol></div><p title="“I can not set and save default print options for all users on Windows 200x/XP. Why not?”"> 1524 1524 Do you see any difference in the two settings dialogs? I do not either. However, only the last one, which you 1525 1525 arrived at with steps C.1 through C.6 will permanently save any settings which will then become the defaults … … 1530 1530 identical-looking dialogs have a slight difference in their window names; one is called 1531 1531 <code class="computeroutput">Default Print Values for Printer Foo on Server Bar</code> (which is the one you 1532 need) and the other is called “<span class="quote"><code class="computeroutput">Print Settings for Printer Foo on Server1533 Bar</code></span>” . The last one is the one you arrive at when you right-click on the printer and1532 need) and the other is called <span class="quote">“<span class="quote"><code class="computeroutput">Print Settings for Printer Foo on Server 1533 Bar</code></span>”</span>. The last one is the one you arrive at when you right-click on the printer and 1534 1534 select <span class="guimenuitem">Print Settings...</span>. This is the one that you were taught to use back in the 1535 1535 days of Windows NT, so it is only natural to try the same way with Windows 200x/XP. You would not dream that 1536 1536 there is now a different path to arrive at an identical-looking, but functionally different, dialog to set 1537 1537 defaults for all users. 1538 </p><div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Tip</h3><p>Try (on Windows 200x/XP) to run this command (as a user with the right privileges):1539 <a class="indexterm" name="id263 0877"></a>1538 </p><div class="tip" title="Tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Tip</h3><p>Try (on Windows 200x/XP) to run this command (as a user with the right privileges): 1539 <a class="indexterm" name="id2636975"></a> 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="id2630951"></a>Supporting Large Numbers of Printers</h3></div></div></div><p>1550 </p></div></div><div class="sect2" title="Supporting Large Numbers of Printers"><div class="titlepage"><div><div><h3 class="title"><a name="id2637048"></a>Supporting Large Numbers of Printers</h3></div></div></div><p> 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 … … 1628 1628 </pre><p> 1629 1629 It may not be easy to recognize that the first call to <code class="literal">enumprinters</code> showed the 1630 “<span class="quote">dm9110</span>”printer with an empty string where the driver should have been listed (between1630 <span class="quote">“<span class="quote">dm9110</span>”</span> printer with an empty string where the driver should have been listed (between 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="id2631207"></a>Adding New Printers with the Windows NT APW</h3></div></div></div><p>1633 </p></div><div class="sect2" title="Adding New Printers with the Windows NT APW"><div class="titlepage"><div><div><h3 class="title"><a name="id2637304"></a>Adding New Printers with the Windows NT APW</h3></div></div></div><p> 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 </p><div class="itemizedlist"><ul type="disc"><li><p>1636 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 1637 1637 The connected user is able to successfully execute an <code class="literal">OpenPrinterEx(\\server)</code> with 1638 1638 administrative privileges (i.e., root or <a class="link" href="smb.conf.5.html#PRINTERADMIN" target="_top">printer admin</a>). 1639 </p><div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Tip</h3><p> Try this from a Windows 200x/XP DOS box command prompt:1639 </p><div class="tip" title="Tip" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Tip</h3><p> Try this from a Windows 200x/XP DOS box command prompt: 1640 1640 </p><p><strong class="userinput"><code> 1641 1641 runas /netonly /user:root rundll32 printui.dll,PrintUIEntry /p /t0 /n \\<em class="replaceable"><code>SAMBA-SERVER</code></em>\<em class="replaceable"><code>printersharename</code></em> 1642 1642 </code></strong></p><p> 1643 1643 Click on <span class="guibutton">Printing Preferences</span>. 1644 </p></div></li><li ><p>... contains the setting1644 </p></div></li><li class="listitem"><p>... contains the setting 1645 1645 <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: 1648 </p><div class="itemizedlist"><ul type="disc"><li><p>1648 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 1649 1649 Upload a new driver to the Samba <em class="parameter"><code>[print$]</code></em> share. 1650 </p></li><li ><p>1650 </p></li><li class="listitem"><p> 1651 1651 Associate an uploaded driver with an existing (but still driverless) print queue. 1652 </p></li><li ><p>1652 </p></li><li class="listitem"><p> 1653 1653 Exchange the currently used driver for an existing print queue with one that has been uploaded before. 1654 </p></li><li ><p>1654 </p></li><li class="listitem"><p> 1655 1655 Add an entirely new printer to the Samba host (only in conjunction with a working 1656 1656 <a class="link" href="smb.conf.5.html#ADDPRINTERCOMMAND" target="_top">add printer command</a>. A corresponding … … 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="id2631467"></a>Error Message: “<span class="quote">Cannot connect under a different Name</span>”</h3></div></div></div><p>1673 </p></div><div class="sect2" title="Error Message: “Cannot connect under a different Name”"><div class="titlepage"><div><div><h3 class="title"><a name="id2637564"></a>Error Message: <span class="quote">“<span class="quote">Cannot connect under a different Name</span>”</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 </p><div class="itemizedlist"><ul type="disc"><li><p>1677 <a class="indexterm" name="id263 1486"></a>1676 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 1677 <a class="indexterm" name="id2637584"></a> 1678 1678 The <code class="literal">net use \\SAMBA-SERVER\sharename /user:root</code> gives you an error message: 1679 “<span class="quote">Multiple connections to a server or a shared resource by the same user utilizing1679 <span class="quote">“<span class="quote">Multiple connections to a server or a shared resource by the same user utilizing 1680 1680 several user names are not allowed. Disconnect all previous connections to the server, 1681 esp. the shared resource, and try again.</span>” 1682 </p></li><li ><p>1683 Every attempt to “<span class="quote">connect a network drive</span>”to <code class="filename">\\SAMBASERVER\\print$</code>1684 to <code class="constant">z:</code> is countered by the pertinacious message: “<span class="quote">This1681 esp. the shared resource, and try again.</span>”</span> 1682 </p></li><li class="listitem"><p> 1683 Every attempt to <span class="quote">“<span class="quote">connect a network drive</span>”</span> to <code class="filename">\\SAMBASERVER\\print$</code> 1684 to <code class="constant">z:</code> is countered by the pertinacious message: <span class="quote">“<span class="quote">This 1685 1685 network folder is currently connected under different credentials (username and password). 1686 1686 Disconnect first any existing connection to this network share in order to connect again under 1687 a different username and password</span>” .1687 a different username and password</span>”</span>. 1688 1688 </p></li></ul></div><p> 1689 1689 So you close all connections. You try again. You get the same message. You check from the Samba side, using … … 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="id2631581"></a>Take Care When Assembling Driver Files</h3></div></div></div><p>1703 </p></div><div class="sect2" title="Take Care When Assembling Driver Files"><div class="titlepage"><div><div><h3 class="title"><a name="id2637678"></a>Take Care When Assembling Driver Files</h3></div></div></div><p> 1704 1704 You need to be extremely careful when you take notes about the files belonging to a particular 1705 driver. Don't confuse the files for driver version “<span class="quote">0</span>”(for Windows 9x/Me, going into1705 driver. Don't confuse the files for driver version <span class="quote">“<span class="quote">0</span>”</span> (for Windows 9x/Me, going into 1706 1706 <code class="filename">[print$]/WIN/0/</code>), driver version <code class="filename">2</code> (kernel mode driver for Windows NT, 1707 1707 going into <code class="filename">[print$]/W32X86/2/</code>; may be used on Windows 200x/XP also), and 1708 driver version “<span class="quote">3</span>”(non-kernel mode driver going into <code class="filename">[print$]/W32X86/3/</code>;1708 driver version <span class="quote">“<span class="quote">3</span>”</span> (non-kernel mode driver going into <code class="filename">[print$]/W32X86/3/</code>; 1709 1709 cannot be used on Windows NT). Quite often these different driver versions contain 1710 1710 files that have the same name but actually are very different. If you look at them from … … 1778 1778 1779 1779 </pre><p> 1780 If we write the “<span class="quote">version 2</span>” files and the “<span class="quote">version 3</span>”files1780 If we write the <span class="quote">“<span class="quote">version 2</span>”</span> files and the <span class="quote">“<span class="quote">version 3</span>”</span> files 1781 1781 into different text files and compare the result, we see this 1782 1782 picture: … … 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="id2631890"></a>Samba and Printer Ports</h3></div></div></div><p>1835 <a class="indexterm" name="id263 1898"></a>1836 <a class="indexterm" name="id263 1905"></a>1837 <a class="indexterm" name="id263 1912"></a>1838 <a class="indexterm" name="id263 1918"></a>1834 </p></div><div class="sect2" title="Samba and Printer Ports"><div class="titlepage"><div><div><h3 class="title"><a name="id2637988"></a>Samba and Printer Ports</h3></div></div></div><p> 1835 <a class="indexterm" name="id2637996"></a> 1836 <a class="indexterm" name="id2638002"></a> 1837 <a class="indexterm" name="id2638009"></a> 1838 <a class="indexterm" name="id2638016"></a> 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 1841 support the concept of ports associated with a printer. By default, only one printer port, named “<span class="quote">Samba1842 Printer Port</span>” , exists on a system. Samba does not really need such a “<span class="quote">port</span>”in order to1841 support the concept of ports associated with a printer. By default, only one printer port, named <span class="quote">“<span class="quote">Samba 1842 Printer Port</span>”</span>, exists on a system. Samba does not really need such a <span class="quote">“<span class="quote">port</span>”</span> in order to 1843 1843 print; rather it is a requirement of Windows clients. They insist on being told about an available port when 1844 1844 they request this information; otherwise, they throw an error message at you. So Samba fakes the port 1845 1845 information to keep the Windows clients happy. 1846 1846 </p><p> 1847 <a class="indexterm" name="id263 1963"></a>1847 <a class="indexterm" name="id2638060"></a> 1848 1848 Samba does not support the concept of <code class="constant">Printer Pooling</code> internally either. Printer 1849 1849 pooling assigns a logical printer to multiple ports as a form of load balancing or failover. … … 1852 1852 that they are working with Samba), configure the <a class="link" href="smb.conf.5.html#ENUMPORTSCOMMAND" 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="id2631999"></a>Avoiding Common Client Driver Misconfiguration</h3></div></div></div><p>1854 </p></div><div class="sect2" title="Avoiding Common Client Driver Misconfiguration"><div class="titlepage"><div><div><h3 class="title"><a name="id2638097"></a>Avoiding Common Client Driver Misconfiguration</h3></div></div></div><p> 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 1857 1857 are dead-slow. We cannot cover it all, but we want to encourage you to read the brief paragraph about 1858 “<span class="quote">Avoiding the Wrong PostScript Driver Settings</span>”in <a class="link" href="CUPS-printing.html" title="Chapter 22. CUPS Printing Support">CUPS Printing1858 <span class="quote">“<span class="quote">Avoiding the Wrong PostScript Driver Settings</span>”</span> in <a class="link" href="CUPS-printing.html" title="Chapter 22. CUPS Printing Support">CUPS Printing 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="id2632036"></a>The Imprints Toolset</h2></div></div></div><p>1862 <a class="indexterm" name="id263 2044"></a>1861 </p></div></div><div class="sect1" title="The Imprints Toolset"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2638134"></a>The Imprints Toolset</h2></div></div></div><p> 1862 <a class="indexterm" name="id2638142"></a> 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="id2632082"></a>What Is Imprints?</h3></div></div></div><p>1874 </p><div class="sect2" title="What Is Imprints?"><div class="titlepage"><div><div><h3 class="title"><a name="id2638180"></a>What Is Imprints?</h3></div></div></div><p> 1875 1875 Imprints is a collection of tools for supporting these goals: 1876 </p><div class="itemizedlist"><ul type="disc"><li><p>1876 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 1877 1877 Providing a central repository of information regarding Windows NT and 95/98 printer driver packages. 1878 </p></li><li ><p>1878 </p></li><li class="listitem"><p> 1879 1879 Providing the tools necessary for creating the Imprints printer driver packages. 1880 </p></li><li ><p>1880 </p></li><li class="listitem"><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="id2632117"></a>Creating Printer Driver Packages</h3></div></div></div><p>1883 </p></li></ul></div></div><div class="sect2" title="Creating Printer Driver Packages"><div class="titlepage"><div><div><h3 class="title"><a name="id2638214"></a>Creating Printer Driver Packages</h3></div></div></div><p> 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="id2632132"></a>The Imprints Server</h3></div></div></div><p>1888 </p></div><div class="sect2" title="The Imprints Server"><div class="titlepage"><div><div><h3 class="title"><a name="id2638230"></a>The Imprints Server</h3></div></div></div><p> 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="id2632150"></a>The Installation Client</h3></div></div></div><p>1895 </p></div><div class="sect2" title="The Installation Client"><div class="titlepage"><div><div><h3 class="title"><a name="id2638247"></a>The Installation Client</h3></div></div></div><p> 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 1898 1898 installation client comes in two forms: 1899 </p><div class="itemizedlist"><ul type="disc"><li><p>A set of command-line Perl scripts.</p></li><li><p>A GTK+-based graphical interface to the command-line Perl scripts.</p></li></ul></div><p>1899 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>A set of command-line Perl scripts.</p></li><li class="listitem"><p>A GTK+-based graphical interface to the command-line Perl scripts.</p></li></ul></div><p> 1900 1900 The installation client (in both forms) provides a means of querying the Imprints database server for 1901 1901 a matching list of known printer model names as well as a means to download and install the drivers on … … 1903 1903 </p><p> 1904 1904 The basic installation process is in four steps, and Perl code is wrapped around smbclient and rpcclient. 1905 </p><div class="itemizedlist"><ul type="disc"><li><p>1905 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 1906 1906 For each supported architecture for a given driver: 1907 </p><div class="orderedlist"><ol type="1"><li><p>rpcclient: Get the appropriate upload directory on the remote server.</p></li><li><p>smbclient: Upload the driver files.</p></li><li><p>rpcclient: Issues an AddPrinterDriver() MS-RPC.</p></li></ol></div><p>1908 </p></li><li ><p>rpcclient: Issues an AddPrinterEx() MS-RPC to actually create the printer.</p></li></ul></div><p>1907 </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>rpcclient: Get the appropriate upload directory on the remote server.</p></li><li class="listitem"><p>smbclient: Upload the driver files.</p></li><li class="listitem"><p>rpcclient: Issues an AddPrinterDriver() MS-RPC.</p></li></ol></div><p> 1908 </p></li><li class="listitem"><p>rpcclient: Issues an AddPrinterEx() MS-RPC to actually create the printer.</p></li></ul></div><p> 1909 1909 One of the problems encountered when implementing the Imprints tool set was the namespace issues between 1910 various supported client architectures. For example, Windows NT includes a driver named “<span class="quote">Apple LaserWriter1911 II NTX v51.8</span>” , and Windows 95 calls its version of this driver “<span class="quote">Apple LaserWriter II NTX</span>”.1910 various supported client architectures. For example, Windows NT includes a driver named <span class="quote">“<span class="quote">Apple LaserWriter 1911 II NTX v51.8</span>”</span>, and Windows 95 calls its version of this driver <span class="quote">“<span class="quote">Apple LaserWriter II NTX</span>”</span>. 1912 1912 </p><p> 1913 1913 The problem is how to know what client drivers have been uploaded for a printer. An astute reader will … … 1919 1919 will reveal that Windows NT always uses the NT driver name. This is okay because Windows NT always requires 1920 1920 that at least the Windows NT version of the printer driver is present. Samba does not have the 1921 requirement internally; therefore, “<span class="quote">How can you use the NT driver name if it has not already been installed?</span>”1921 requirement internally; therefore, <span class="quote">“<span class="quote">How can you use the NT driver name if it has not already been installed?</span>”</span> 1922 1922 </p><p> 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="id2632283"></a>Adding Network Printers without User Interaction</h2></div></div></div><p>1925 </p></div></div><div class="sect1" title="Adding Network Printers without User Interaction"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2638381"></a>Adding Network Printers without User Interaction</h2></div></div></div><p> 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 … … 1942 1942 </pre><p> 1943 1943 Here is a list of the used command-line parameters: 1944 </p><div class="variablelist"><dl><dt><span class="term">/dn</span></dt><dd><p>deletes a network printer.</p></dd><dt><span class="term">/q</span></dt><dd><p>quiet modus.</p></dd><dt><span class="term">/n</span></dt><dd><p>names a printer.</p></dd><dt><span class="term">/in</span></dt><dd><p>adds a network printer connection.</p></dd><dt><span class="term">/y</span></dt><dd><p>sets printer as default printer.</p></dd></dl></div><div class="itemizedlist"><ul type="disc"><li><p>1944 </p><div class="variablelist"><dl><dt><span class="term">/dn</span></dt><dd><p>deletes a network printer.</p></dd><dt><span class="term">/q</span></dt><dd><p>quiet modus.</p></dd><dt><span class="term">/n</span></dt><dd><p>names a printer.</p></dd><dt><span class="term">/in</span></dt><dd><p>adds a network printer connection.</p></dd><dt><span class="term">/y</span></dt><dd><p>sets printer as default printer.</p></dd></dl></div><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 1945 1945 Line 1 deletes a possibly existing previous network printer <span class="emphasis"><em>infotec2105-IPDS</em></span> 1946 1946 (which had used native Windows drivers with LPRng that were removed from the server that was 1947 1947 converted to CUPS). The <code class="literal">/q</code> at the end prevents confirm 1948 1948 or error dialog boxes from popping up. They should not be presented to the user logging on. 1949 </p></li><li ><p>1949 </p></li><li class="listitem"><p> 1950 1950 Line 2 adds the new printer 1951 1951 <span class="emphasis"><em>infotec2105-PS</em></span> (which actually is the same … … 1955 1955 <code class="literal">cupsaddsmb</code>). The driver is now autodownloaded to the client PC where the 1956 1956 user is about to log in. 1957 </p></li><li ><p>1957 </p></li><li class="listitem"><p> 1958 1958 Line 3 sets the default printer to this new network printer (there might be several other 1959 1959 printers installed with this same method, and some may be local as well, so we decide for a … … 1973 1973 </p><p> 1974 1974 The additional benefits for this are: 1975 </p><div class="itemizedlist"><ul type="disc"><li><p>1975 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 1976 1976 It puts in place any printer default setup changes automatically at every user logon. 1977 </p></li><li ><p>1978 It allows for “<span class="quote">roaming</span>”users' login to the domain from different workstations.1977 </p></li><li class="listitem"><p> 1978 It allows for <span class="quote">“<span class="quote">roaming</span>”</span> users' login to the domain from different workstations. 1979 1979 </p></li></ul></div><p> 1980 1980 Since network printers are installed per user, this much simplifies the process of keeping the installation … … 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="id2632557"></a>The <code class="literal">addprinter</code> Command</h2></div></div></div><p>1984 </p></div><div class="sect1" title="The addprinter Command"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2638654"></a>The <code class="literal">addprinter</code> Command</h2></div></div></div><p> 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="id2632596"></a>Migration of Classical Printing to Samba</h2></div></div></div><p>1992 </p></div><div class="sect1" title="Migration of Classical Printing to Samba"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2638693"></a>Migration of Classical Printing to Samba</h2></div></div></div><p> 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 … … 1997 1997 an effort. Please read the appropriate release notes and the HOWTO Collection for Samba-2.2.x. You can 1998 1998 follow several paths. Here are possible scenarios for migration: 1999 </p><div class="itemizedlist"><ul type="disc"><li><p>1999 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 2000 2000 You need to study and apply the new Windows NT printer and driver support. Previously used 2001 2001 parameters <em class="parameter"><code>printer driver file</code></em>, <em class="parameter"><code>printer driver</code></em>, 2002 2002 and <em class="parameter"><code>printer driver location</code></em> are no longer supported. 2003 </p></li><li ><p>2003 </p></li><li class="listitem"><p> 2004 2004 If you want to take advantage of Windows NT printer driver support, you also need to migrate the 2005 2005 Windows 9x/Me drivers to the new setup. 2006 </p></li><li ><p>2006 </p></li><li class="listitem"><p> 2007 2007 An existing <code class="filename">printers.def</code> file (the one specified in the now removed parameter 2008 2008 <em class="parameter"><code>printer driver file</code></em>) will no longer work with Samba-3. In 3.0, smbd attempts … … 2011 2011 (as 2.2.x used to do) drop down to using a <code class="filename">printers.def</code> (and all associated 2012 2012 parameters). The make_printerdef tool is removed and there is no backward compatibility for this. 2013 </p></li><li ><p>You need to install a Windows 9x/Me driver into the2013 </p></li><li class="listitem"><p>You need to install a Windows 9x/Me driver into the 2014 2014 <em class="parameter"><code>[print$]</code></em> share for a printer on your Samba 2015 host. The driver files will be stored in the “<span class="quote">WIN40/0</span>”subdirectory of2015 host. The driver files will be stored in the <span class="quote">“<span class="quote">WIN40/0</span>”</span> subdirectory of 2016 2016 <em class="parameter"><code>[print$]</code></em>, and some other settings and information go 2017 into the printing-related TDBs.</p></li><li ><p>2017 into the printing-related TDBs.</p></li><li class="listitem"><p> 2018 2018 If you want to migrate an existing <code class="filename">printers.def</code> file into the new setup, the only current 2019 2019 solution is to use the Windows NT APW to install the NT drivers and the 9x/Me drivers. This can be scripted 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="id2632744"></a>Publishing Printer Information in Active Directory or LDAP</h2></div></div></div><p>2022 </p></li></ul></div></div><div class="sect1" title="Publishing Printer Information in Active Directory or LDAP"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2638842"></a>Publishing Printer Information in Active Directory or LDAP</h2></div></div></div><p> 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="id2632774"></a>Common Errors</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2632780"></a>I Give My Root Password but I Do Not Get Access</h3></div></div></div><p>2026 </p></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2638871"></a>Common Errors</h2></div></div></div><div class="sect2" title="I Give My Root Password but I Do Not Get Access"><div class="titlepage"><div><div><h3 class="title"><a name="id2638877"></a>I Give My Root Password but I Do Not Get Access</h3></div></div></div><p> 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="id2632821"></a>My Print Jobs Get Spooled into the Spooling Directory, but Then Get Lost</h3></div></div></div><p>2037 </p></div><div class="sect2" title="My Print Jobs Get Spooled into the Spooling Directory, but Then Get Lost"><div class="titlepage"><div><div><h3 class="title"><a name="id2638918"></a>My Print Jobs Get Spooled into the Spooling Directory, but Then Get Lost</h3></div></div></div><p> 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.3.x/docs/htmldocs/Samba3-HOWTO/compiling.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 42. How to Compile Samba</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="Appendix.html" title="Part VI. Reference Section"><link rel="prev" href="Appendix.html" title="Part VI. Reference Section"><link rel="next" href="Portability.html" title="Chapter 43. Portability"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 42. How to Compile Samba</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="Appendix.html">Prev</a> </td><th width="60%" align="center">Part VI. Reference Section</th><td width="20%" align="right"> <a accesskey="n" href="Portability.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="compiling"></a>Chapter 42. How to Compile Samba</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<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#id2687571">Access Samba Source Code via Subversion</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2687577">Introduction</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2687618">Subversion Access to samba.org</a></span></dt></dl></dd><dt><span class="sect1"><a href="compiling.html#id2687810">Accessing the Samba Sources via rsync and ftp</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2687884">Verifying Samba's PGP Signature</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2688022">Building the Binaries</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2688260">Compiling Samba with Active Directory Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="compiling.html#startingSamba">Starting the smbd nmbd and winbindd</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2688531">Starting from inetd.conf</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2688751">Alternative: Starting smbdas a Daemon</a></span></dt></dl></dd></dl></div><p>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 42. How to Compile Samba</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="Appendix.html" title="Part VI. Reference Section"><link rel="prev" href="Appendix.html" title="Part VI. Reference Section"><link rel="next" href="Portability.html" title="Chapter 43. Portability"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 42. How to Compile Samba</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="Appendix.html">Prev</a> </td><th width="60%" align="center">Part VI. Reference Section</th><td width="20%" align="right"> <a accesskey="n" href="Portability.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 42. How to Compile Samba"><div class="titlepage"><div><div><h2 class="title"><a name="compiling"></a>Chapter 42. How to Compile Samba</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<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#id2693628">Access Samba Source Code via Subversion</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2693634">Introduction</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2693675">Subversion Access to samba.org</a></span></dt></dl></dd><dt><span class="sect1"><a href="compiling.html#id2693866">Accessing the Samba Sources via rsync and ftp</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2693941">Verifying Samba's PGP Signature</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2694079">Building the Binaries</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2694316">Compiling Samba with Active Directory Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="compiling.html#startingSamba">Starting the <span class="application">smbd</span> <span class="application">nmbd</span> and <span class="application">winbindd</span></a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2694587">Starting from inetd.conf</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2694807">Alternative: Starting <span class="application">smbd</span> as a Daemon</a></span></dt></dl></dd></dl></div><p> 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="id2687571"></a>Access Samba Source Code via Subversion</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2687577"></a>Introduction</h3></div></div></div><p>6 <a class="indexterm" name="id26 87585"></a>5 </p><div class="sect1" title="Access Samba Source Code via Subversion"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2693628"></a>Access Samba Source Code via Subversion</h2></div></div></div><div class="sect2" title="Introduction"><div class="titlepage"><div><div><h3 class="title"><a name="id2693634"></a>Introduction</h3></div></div></div><p> 6 <a class="indexterm" name="id2693642"></a> 7 7 Samba is developed in an open environment. Developers use a 8 Subversion to “<span class="quote">checkin</span>”(also known as9 “<span class="quote">commit</span>”) new source code. Samba's various Subversion branches can8 Subversion to <span class="quote">“<span class="quote">checkin</span>”</span> (also known as 9 <span class="quote">“<span class="quote">commit</span>”</span>) new source code. Samba's various Subversion branches can 10 10 be accessed via anonymous Subversion using the instructions 11 11 detailed in this chapter. … … 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="id2687618"></a>Subversion Access to samba.org</h3></div></div></div><p>15 </p></div><div class="sect2" title="Subversion Access to samba.org"><div class="titlepage"><div><div><h3 class="title"><a name="id2693675"></a>Subversion Access to samba.org</h3></div></div></div><p> 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="id2687632"></a>Access via ViewCVS</h4></div></div></div><p>21 <a class="indexterm" name="id26 87640"></a>20 </p><div class="sect3" title="Access via ViewCVS"><div class="titlepage"><div><div><h4 class="title"><a name="id2693689"></a>Access via ViewCVS</h4></div></div></div><p> 21 <a class="indexterm" name="id2693696"></a> 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="id2687668"></a>Access via Subversion</h4></div></div></div><p>30 <a class="indexterm" name="id26 87676"></a>29 </p></div><div class="sect3" title="Access via Subversion"><div class="titlepage"><div><div><h4 class="title"><a name="id2693724"></a>Access via Subversion</h4></div></div></div><p> 30 <a class="indexterm" name="id2693732"></a> 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="id2687709"></a><p class="title"><b>Procedure 42.1. Retrieving Samba using Subversion</b></p><ol type="1"><li><p>40 </p><div class="procedure" title="Procedure 42.1. Retrieving Samba using Subversion"><a name="id2693765"></a><p class="title"><b>Procedure 42.1. Retrieving Samba using Subversion</b></p><ol class="procedure" type="1"><li class="step" title="Step 1"><p> 41 41 Install a recent copy of Subversion. All you really need is a 42 42 copy of the Subversion client binary. 43 </p></li><li ><p>43 </p></li><li class="step" title="Step 2"><p> 44 44 Run the command 45 45 </p><pre class="screen"> … … 52 52 </p><p> 53 53 Subversion branches other then trunk can be obtained by adding branches/BRANCH_NAME to the URL you check 54 out. A list of branch names can be found on the “<span class="quote">Development</span>”page of the Samba Web site. A54 out. A list of branch names can be found on the <span class="quote">“<span class="quote">Development</span>”</span> page of the Samba Web site. A 55 55 common request is to obtain the latest 3.0 release code. This could be done by using the following command: 56 56 </p><pre class="screen"> 57 57 <strong class="userinput"><code>svn co svn://svnanon.samba.org/samba/branches/SAMBA_3_0 samba_3</code></strong>. 58 58 </pre><p> 59 </p></li><li ><p>59 </p></li><li class="step" title="Step 3"><p> 60 60 Whenever you want to merge in the latest code changes, use the following command from within the Samba 61 61 directory: … … 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="id2687810"></a>Accessing the Samba Sources via rsync and ftp</h2></div></div></div><p>66 <a class="indexterm" name="id26 87818"></a>67 <a class="indexterm" name="id26 87825"></a>65 </p></li></ol></div></div></div></div><div class="sect1" title="Accessing the Samba Sources via rsync and ftp"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2693866"></a>Accessing the Samba Sources via rsync and ftp</h2></div></div></div><p> 66 <a class="indexterm" name="id2693875"></a> 67 <a class="indexterm" name="id2693882"></a> 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="id2687884"></a>Verifying Samba's PGP Signature</h2></div></div></div><p>78 <a class="indexterm" name="id26 87892"></a>79 <a class="indexterm" name="id26 87899"></a>77 </p></div><div class="sect1" title="Verifying Samba's PGP Signature"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2693941"></a>Verifying Samba's PGP Signature</h2></div></div></div><p> 78 <a class="indexterm" name="id2693949"></a> 79 <a class="indexterm" name="id2693956"></a> 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="id26 87947"></a>90 <a class="indexterm" name="id2694004"></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: … … 100 100 </pre><p> 101 101 </p><p> 102 If you receive a message like, “<span class="quote">Good signature from Samba Distribution Verification Key...,</span>”102 If you receive a message like, <span class="quote">“<span class="quote">Good signature from Samba Distribution Verification Key...,</span>”</span> 103 103 then all is well. The warnings about trust relationships can be ignored. An 104 104 example of what you would not want to see would be: 105 105 </p><pre class="screen"> 106 gpg: BAD signature from “<span class="quote">Samba Distribution Verification Key</span>”107 </pre><p> 108 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2688022"></a>Building the Binaries</h2></div></div></div><p>109 <a class="indexterm" name="id26 88030"></a>110 <a class="indexterm" name="id26 88037"></a>106 gpg: BAD signature from <span class="quote">“<span class="quote">Samba Distribution Verification Key</span>”</span> 107 </pre><p> 108 </p></div><div class="sect1" title="Building the Binaries"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2694079"></a>Building the Binaries</h2></div></div></div><p> 109 <a class="indexterm" name="id2694087"></a> 110 <a class="indexterm" name="id2694094"></a> 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="id26 88079"></a>123 <a class="indexterm" name="id2694136"></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="id26 88144"></a>138 <a class="indexterm" name="id2694201"></a> 139 139 Execute the following create the binaries: 140 140 </p><pre class="screen"> … … 158 158 </p><p> 159 159 Note that if you are upgrading from a previous version of Samba the old 160 versions of the binaries will be renamed with an “<span class="quote">.old</span>”extension.160 versions of the binaries will be renamed with an <span class="quote">“<span class="quote">.old</span>”</span> extension. 161 161 You can go back to the previous version by executing: 162 162 </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="id2688260"></a>Compiling Samba with Active Directory Support</h3></div></div></div><p>167 </p><div class="sect2" title="Compiling Samba with Active Directory Support"><div class="titlepage"><div><div><h3 class="title"><a name="id2694316"></a>Compiling Samba with Active Directory Support</h3></div></div></div><p> 168 168 In order to compile Samba with ADS support, you need to have installed 169 169 on your system: 170 </p><div class="itemizedlist"><ul type="disc"><li><p>170 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 171 171 The MIT or Heimdal Kerberos development libraries 172 172 (either install from the sources or use a package). 173 </p></li><li ><p>173 </p></li><li class="listitem"><p> 174 174 The OpenLDAP development libraries. 175 175 </p></li></ul></div><p> … … 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="id2688326"></a>Installing the Required Packages for Debian</h4></div></div></div><p>On Debian, you need to install the following packages:</p><p>191 </p><div class="itemizedlist"><ul type="disc"><li><p>libkrb5-dev</p></li><li><p>krb5-user</p></li></ul></div><p>192 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2688352"></a>Installing the Required Packages for Red Hat Linux</h4></div></div></div><p>On Red Hat Linux, this means you should have at least: </p><p>193 </p><div class="itemizedlist"><ul type="disc"><li><p>krb5-workstation (for kinit)</p></li><li><p>krb5-libs (for linking with)</p></li><li><p>krb5-devel (because you are compiling from source)</p></li></ul></div><p>190 </p><div class="sect3" title="Installing the Required Packages for Debian"><div class="titlepage"><div><div><h4 class="title"><a name="id2694382"></a>Installing the Required Packages for Debian</h4></div></div></div><p>On Debian, you need to install the following packages:</p><p> 191 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>libkrb5-dev</p></li><li class="listitem"><p>krb5-user</p></li></ul></div><p> 192 </p></div><div class="sect3" title="Installing the Required Packages for Red Hat Linux"><div class="titlepage"><div><div><h4 class="title"><a name="id2694409"></a>Installing the Required Packages for Red Hat Linux</h4></div></div></div><p>On Red Hat Linux, this means you should have at least: </p><p> 193 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>krb5-workstation (for kinit)</p></li><li class="listitem"><p>krb5-libs (for linking with)</p></li><li class="listitem"><p>krb5-devel (because you are compiling from source)</p></li></ul></div><p> 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="id2688397"></a>SuSE Linux Package Requirements</h4></div></div></div><p>196 about what tool to use, refer to the Red Hat Linux documentation.</p></div><div class="sect3" title="SuSE Linux Package Requirements"><div class="titlepage"><div><div><h4 class="title"><a name="id2694454"></a>SuSE Linux Package Requirements</h4></div></div></div><p> 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 … … 204 204 the maximum capabilities that are available. You should consider using SuSE-provided 205 205 packages where they are available. 206 </p></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="startingSamba"></a>Starting the <span class="application">smbd</span> <span class="application">nmbd</span> and <span class="application">winbindd</span></h2></div></div></div><p>207 <a class="indexterm" name="id26 88451"></a>206 </p></div></div></div><div class="sect1" title="Starting the smbd nmbd and winbindd"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="startingSamba"></a>Starting the <span class="application">smbd</span> <span class="application">nmbd</span> and <span class="application">winbindd</span></h2></div></div></div><p> 207 <a class="indexterm" name="id2694508"></a> 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="id2688531"></a>Starting from inetd.conf</h3></div></div></div><a class="indexterm" name="id2688536"></a><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>The following will be different if219 </p><div class="sect2" title="Starting from inetd.conf"><div class="titlepage"><div><div><h3 class="title"><a name="id2694587"></a>Starting from inetd.conf</h3></div></div></div><a class="indexterm" name="id2694593"></a><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>The following will be different if 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="id26 88599"></a><p>228 </p><a class="indexterm" name="id2694656"></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="id26 88619"></a>233 <a class="indexterm" name="id2694676"></a> 234 234 Some distributions use xinetd instead of inetd. Consult the 235 235 xinetd manual for configuration information. 236 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>Some UNIXes already have entries like netbios_ns236 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>Some UNIXes already have entries like netbios_ns 237 237 (note the underscore) in <code class="filename">/etc/services</code>. 238 238 You must edit <code class="filename">/etc/services</code> or 239 239 <code class="filename">/etc/inetd.conf</code> to make them consistent. 240 </p></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>241 <a class="indexterm" name="id26 88657"></a>240 </p></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 241 <a class="indexterm" name="id2694714"></a> 242 242 On many systems you may need to use the 243 243 <a class="link" href="smb.conf.5.html#INTERFACES" target="_top">interfaces</a> option in <code class="filename">smb.conf</code> to specify … … 246 246 not know what the broadcast is for your net. <span class="application">nmbd</span> tries 247 247 to determine it at runtime, but fails on some UNIXes. 248 </p></div><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>248 </p></div><div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p> 249 249 Many UNIXes only accept around five parameters on the command 250 250 line in <code class="filename">inetd.conf</code>. This means you shouldn't … … 254 254 Restart <span class="application">inetd</span>, perhaps just send it a HUP, 255 255 like this: 256 <a class="indexterm" name="id26 88726"></a>256 <a class="indexterm" name="id2694782"></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="id2688751"></a>Alternative: Starting <span class="application">smbd</span> as a Daemon</h3></div></div></div><p>261 <a class="indexterm" name="id26 88765"></a>262 <a class="indexterm" name="id26 88772"></a>260 </p></div><div class="sect2" title="Alternative: Starting smbd as a Daemon"><div class="titlepage"><div><div><h3 class="title"><a name="id2694807"></a>Alternative: Starting <span class="application">smbd</span> as a Daemon</h3></div></div></div><p> 261 <a class="indexterm" name="id2694821"></a> 262 <a class="indexterm" name="id2694828"></a> 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>. … … 275 275 </p><p> 276 276 To kill it, send a kill signal to the processes <span class="application">nmbd</span> and <span class="application">smbd</span>. 277 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>277 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 278 278 If you use the SVR4-style init system, you may like to look at the 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="id2688849"></a>Starting Samba for Red Hat Linux</h4></div></div></div><p>281 </p></div><div class="sect3" title="Starting Samba for Red Hat Linux"><div class="titlepage"><div><div><h4 class="title"><a name="id2694906"></a>Starting Samba for Red Hat Linux</h4></div></div></div><p> 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="id2688972"></a>Starting Samba for Novell SUSE Linux</h4></div></div></div><p>314 </p></div><div class="sect3" title="Starting Samba for Novell SUSE Linux"><div class="titlepage"><div><div><h4 class="title"><a name="id2695029"></a>Starting Samba for Novell SUSE Linux</h4></div></div></div><p> 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.3.x/docs/htmldocs/Samba3-HOWTO/diagnosis.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 38. The Samba Checklist</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="troubleshooting.html" title="Part V. Troubleshooting"><link rel="prev" href="troubleshooting.html" title="Part V. Troubleshooting"><link rel="next" href="problems.html" title="Chapter 39. Analyzing and Solving Samba Problems"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 38. The Samba Checklist</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="troubleshooting.html">Prev</a> </td><th width="60%" align="center">Part V. Troubleshooting</th><td width="20%" align="right"> <a accesskey="n" href="problems.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="diagnosis"></a>Chapter 38. The Samba Checklist</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Andrew</span> <span class="orgname">Samba Team</span> <span class="surname">Tridgell</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2682800">Introduction</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2682839">Assumptions</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2683132">The Tests</a></span></dt></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2682800"></a>Introduction</h2></div></div></div><p>2 <a class="indexterm" name="id268 2808"></a>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 38. The Samba Checklist</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="troubleshooting.html" title="Part V. Troubleshooting"><link rel="prev" href="troubleshooting.html" title="Part V. Troubleshooting"><link rel="next" href="problems.html" title="Chapter 39. Analyzing and Solving Samba Problems"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 38. The Samba Checklist</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="troubleshooting.html">Prev</a> </td><th width="60%" align="center">Part V. Troubleshooting</th><td width="20%" align="right"> <a accesskey="n" href="problems.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 38. The Samba Checklist"><div class="titlepage"><div><div><h2 class="title"><a name="diagnosis"></a>Chapter 38. The Samba Checklist</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Andrew</span> <span class="surname">Tridgell</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2688857">Introduction</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2688896">Assumptions</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2689189">The Tests</a></span></dt></dl></div><div class="sect1" title="Introduction"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2688857"></a>Introduction</h2></div></div></div><p> 2 <a class="indexterm" name="id2688865"></a> 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 … … 12 12 to solve a problem. 13 13 </p><p> 14 If you send one of the Samba mailing lists an email saying, “<span class="quote">It does not work,</span>”14 If you send one of the Samba mailing lists an email saying, <span class="quote">“<span class="quote">It does not work,</span>”</span> 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="id2682839"></a>Assumptions</h2></div></div></div><p>17 </p></div><div class="sect1" title="Assumptions"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2688896"></a>Assumptions</h2></div></div></div><p> 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="id2682910"></a><em class="parameter"><code>comment = temporary files </code></em></td></tr><tr><td><a class="indexterm" name="id2682922"></a><em class="parameter"><code>path = /tmp</code></em></td></tr><tr><td><a class="indexterm" name="id2682933"></a><em class="parameter"><code>read only = yes</code></em></td></tr></table></div></div><br class="example-break"><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>27 </p><div class="example"><a name="tmpshare"></a><p class="title"><b>Example 38.1. smb.conf with [tmp] Share</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[tmp]</code></em></td></tr><tr><td><a class="indexterm" name="id2688967"></a><em class="parameter"><code>comment = temporary files </code></em></td></tr><tr><td><a class="indexterm" name="id2688979"></a><em class="parameter"><code>path = /tmp</code></em></td></tr><tr><td><a class="indexterm" name="id2688990"></a><em class="parameter"><code>read only = yes</code></em></td></tr></table></div></div><br class="example-break"><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 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="id268 2955"></a>32 <a class="indexterm" name="id268 2962"></a>33 <a class="indexterm" name="id268 2968"></a>31 <a class="indexterm" name="id2689011"></a> 32 <a class="indexterm" name="id2689018"></a> 33 <a class="indexterm" name="id2689025"></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="id268 2989"></a>40 <a class="indexterm" name="id268 2996"></a>41 <a class="indexterm" name="id268 3003"></a>42 <a class="indexterm" name="id268 3010"></a>39 <a class="indexterm" name="id2689046"></a> 40 <a class="indexterm" name="id2689053"></a> 41 <a class="indexterm" name="id2689060"></a> 42 <a class="indexterm" name="id2689066"></a> 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="id268 3040"></a>48 <a class="indexterm" name="id268 3047"></a>49 <a class="indexterm" name="id268 3054"></a>50 <a class="indexterm" name="id268 3061"></a>51 <a class="indexterm" name="id268 3068"></a>47 <a class="indexterm" name="id2689097"></a> 48 <a class="indexterm" name="id2689104"></a> 49 <a class="indexterm" name="id2689111"></a> 50 <a class="indexterm" name="id2689118"></a> 51 <a class="indexterm" name="id2689125"></a> 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="id2683132"></a>The Tests</h2></div></div></div><div class="procedure"><a name="id2683138"></a><p class="title"><b>Procedure 38.1. Diagnosing Your Samba Server</b></p><ol type="1"><li><p>63 <a class="indexterm" name="id268 3150"></a>62 </p></div><div class="sect1" title="The Tests"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2689189"></a>The Tests</h2></div></div></div><div class="procedure" title="Procedure 38.1. Diagnosing Your Samba Server"><a name="id2689194"></a><p class="title"><b>Procedure 38.1. Diagnosing Your Samba Server</b></p><ol class="procedure" type="1"><li class="step" title="Step 1"><p> 63 <a class="indexterm" name="id2689207"></a> 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 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>68 <a class="indexterm" name="id268 3181"></a>69 <a class="indexterm" name="id268 3188"></a>67 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 68 <a class="indexterm" name="id2689238"></a> 69 <a class="indexterm" name="id2689245"></a> 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 </p></div></li><li ><p>73 <a class="indexterm" name="id268 3222"></a>72 </p></div></li><li class="step" title="Step 2"><p> 73 <a class="indexterm" name="id2689279"></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, 76 76 then your TCP/IP software is not correctly installed. 77 77 </p><p> 78 You will need to start a “<span class="quote">DOS prompt</span>”window on the PC to run ping.79 </p><p> 80 <a class="indexterm" name="id268 3255"></a>81 <a class="indexterm" name="id268 3262"></a>82 <a class="indexterm" name="id268 3268"></a>83 If you get a message saying “<span class="quote"><span class="errorname">host not found</span></span>”or a similar message, then78 You will need to start a <span class="quote">“<span class="quote">DOS prompt</span>”</span> window on the PC to run ping. 79 </p><p> 80 <a class="indexterm" name="id2689311"></a> 81 <a class="indexterm" name="id2689318"></a> 82 <a class="indexterm" name="id2689325"></a> 83 If you get a message saying <span class="quote">“<span class="quote"><span class="errorname">host not found</span></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 85 85 the <code class="filename">/etc/resolv.conf</code> has correct, current, entries in it. It is possible to run … … 87 87 remainder of these tests. 88 88 </p><p> 89 <a class="indexterm" name="id268 3301"></a>90 <a class="indexterm" name="id268 3307"></a>91 <a class="indexterm" name="id268 3314"></a>89 <a class="indexterm" name="id2689357"></a> 90 <a class="indexterm" name="id2689364"></a> 91 <a class="indexterm" name="id2689371"></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 … … 95 95 this is done via the appropriate firewall maintenance commands <code class="literal">ipchains</code> 96 96 or <code class="literal">iptables</code>). 97 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>97 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 98 98 Modern Linux distributions install ipchains/iptables by default. 99 99 This is a common problem that is often overlooked. 100 100 </p></div><p> 101 <a class="indexterm" name="id268 3349"></a>102 <a class="indexterm" name="id268 3356"></a>101 <a class="indexterm" name="id2689406"></a> 102 <a class="indexterm" name="id2689413"></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, … … 130 130 pkts bytes target prot opt in out source destination 131 131 </pre><p> 132 </p></li><li ><p>132 </p></li><li class="step" title="Step 3"><p> 133 133 Run the command <code class="literal">smbclient -L BIGSERVER</code> 134 134 on the UNIX box. You should get back a list of available shares. 135 135 </p><p> 136 <a class="indexterm" name="id268 3431"></a>137 <a class="indexterm" name="id268 3438"></a>138 <a class="indexterm" name="id268 3445"></a>139 <a class="indexterm" name="id268 3452"></a>140 <a class="indexterm" name="id268 3458"></a>141 <a class="indexterm" name="id268 3465"></a>142 If you get an error message containing the string “<span class="quote">bad password</span>”, then136 <a class="indexterm" name="id2689488"></a> 137 <a class="indexterm" name="id2689495"></a> 138 <a class="indexterm" name="id2689502"></a> 139 <a class="indexterm" name="id2689508"></a> 140 <a class="indexterm" name="id2689515"></a> 141 <a class="indexterm" name="id2689522"></a> 142 If you get an error message containing the string <span class="quote">“<span class="quote">bad password</span>”</span>, then 143 143 you probably have either an incorrect <em class="parameter"><code>hosts allow</code></em>, 144 144 <em class="parameter"><code>hosts deny</code></em>, or <em class="parameter"><code>valid users</code></em> line in your … … 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="id268 3536"></a>149 <a class="indexterm" name="id2689593"></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 … … 153 153 it is running and check that the netbios-ssn port is in a LISTEN 154 154 state using <code class="literal">netstat -a</code>. 155 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>156 <a class="indexterm" name="id268 3575"></a>157 <a class="indexterm" name="id268 3582"></a>155 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 156 <a class="indexterm" name="id2689632"></a> 157 <a class="indexterm" name="id2689639"></a> 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 … … 162 162 </p></div><p> 163 163 If you get a message saying <code class="literal">session request failed,</code> the server refused the 164 connection. If it says “<span class="quote">Your server software is being unfriendly,</span>”then164 connection. If it says <span class="quote">“<span class="quote">Your server software is being unfriendly,</span>”</span> then 165 165 it's probably because you have invalid command line parameters to <span class="application">smbd</span>, 166 166 or a similar fatal problem with the initial startup of <span class="application">smbd</span>. Also … … 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="id2683694"></a><em class="parameter"><code>hosts deny = ALL</code></em></td></tr><tr><td><a class="indexterm" name="id2683706"></a><em class="parameter"><code>hosts allow = xxx.xxx.xxx.xxx/yy</code></em></td></tr><tr><td><a class="indexterm" name="id2683718"></a><em class="parameter"><code>interfaces = eth0</code></em></td></tr><tr><td><a class="indexterm" name="id2683730"></a><em class="parameter"><code>bind interfaces only = Yes</code></em></td></tr></table></div></div><br class="example-break"><p>175 <a class="indexterm" name="id268 3745"></a>174 </p><div class="example"><a name="modif1"></a><p class="title"><b>Example 38.2. Configuration for Allowing Connections Only from a Certain Subnet</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[globals]</code></em></td></tr><tr><td><a class="indexterm" name="id2689751"></a><em class="parameter"><code>hosts deny = ALL</code></em></td></tr><tr><td><a class="indexterm" name="id2689763"></a><em class="parameter"><code>hosts allow = xxx.xxx.xxx.xxx/yy</code></em></td></tr><tr><td><a class="indexterm" name="id2689775"></a><em class="parameter"><code>interfaces = eth0</code></em></td></tr><tr><td><a class="indexterm" name="id2689786"></a><em class="parameter"><code>bind interfaces only = Yes</code></em></td></tr></table></div></div><br class="example-break"><p> 175 <a class="indexterm" name="id2689801"></a> 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="id2683797"></a><em class="parameter"><code>hosts deny = ALL</code></em></td></tr><tr><td><a class="indexterm" name="id2683808"></a><em class="parameter"><code>hosts allow = xxx.xxx.xxx.xxx/yy 127.</code></em></td></tr><tr><td><a class="indexterm" name="id2683820"></a><em class="parameter"><code>interfaces = eth0 lo</code></em></td></tr></table></div></div><br class="example-break"><p>181 <a class="indexterm" name="id268 3835"></a>182 <a class="indexterm" name="id268 3842"></a>180 </p><div class="example"><a name="modif2"></a><p class="title"><b>Example 38.3. Configuration for Allowing Connections from a Certain Subnet and localhost</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[globals]</code></em></td></tr><tr><td><a class="indexterm" name="id2689854"></a><em class="parameter"><code>hosts deny = ALL</code></em></td></tr><tr><td><a class="indexterm" name="id2689865"></a><em class="parameter"><code>hosts allow = xxx.xxx.xxx.xxx/yy 127.</code></em></td></tr><tr><td><a class="indexterm" name="id2689877"></a><em class="parameter"><code>interfaces = eth0 lo</code></em></td></tr></table></div></div><br class="example-break"><p> 181 <a class="indexterm" name="id2689892"></a> 182 <a class="indexterm" name="id2689899"></a> 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="id268 3887"></a>189 <a class="indexterm" name="id268 3893"></a>190 <a class="indexterm" name="id268 3900"></a>191 <a class="indexterm" name="id268 3907"></a>192 <a class="indexterm" name="id268 3914"></a>188 <a class="indexterm" name="id2689944"></a> 189 <a class="indexterm" name="id2689950"></a> 190 <a class="indexterm" name="id2689957"></a> 191 <a class="indexterm" name="id2689964"></a> 192 <a class="indexterm" name="id2689971"></a> 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 </p></li><li ><p>197 <a class="indexterm" name="id268 3940"></a>196 </p></li><li class="step" title="Step 4"><p> 197 <a class="indexterm" name="id2689997"></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 83958"></a>202 <a class="indexterm" name="id26 83965"></a>203 <a class="indexterm" name="id26 83971"></a>201 <a class="indexterm" name="id2690014"></a> 202 <a class="indexterm" name="id2690021"></a> 203 <a class="indexterm" name="id2690028"></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. … … 209 209 one-line script that contains the right parameters and run that from 210 210 inetd. 211 </p></li><li ><p>212 <a class="indexterm" name="id26 84008"></a>211 </p></li><li class="step" title="Step 5"><p> 212 <a class="indexterm" name="id2690065"></a> 213 213 Run the command <code class="literal">nmblookup -B ACLIENT `*'</code>. 214 214 </p><p> … … 219 219 If ACLIENT does not resolve via DNS, then use the IP address of the 220 220 client in the above test. 221 </p></li><li ><p>221 </p></li><li class="step" title="Step 6"><p> 222 222 Run the command <code class="literal">nmblookup -d 2 `*'</code>. 223 223 </p><p> … … 229 229 messages from several hosts. 230 230 </p><p> 231 <a class="indexterm" name="id26 84066"></a>231 <a class="indexterm" name="id2690122"></a> 232 232 If this does not give a result similar to the previous test, then nmblookup isn't correctly getting your 233 233 broadcast address through its automatic mechanism. In this case you should experiment with the <a class="link" href="smb.conf.5.html#INTERFACES" target="_top">interfaces</a> option in <code class="filename">smb.conf</code> to manually configure your IP address, broadcast, and netmask. … … 238 238 This test will probably fail if your subnet mask and broadcast address are 239 239 not correct. (Refer to test 3 notes above). 240 </p></li><li ><p>241 <a class="indexterm" name="id26 84118"></a>240 </p></li><li class="step" title="Step 7"><p> 241 <a class="indexterm" name="id2690175"></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 … … 245 245 another account, then add the <code class="option">-U accountname</code> option to the end of 246 246 the command line for example, <code class="literal">smbclient //bigserver/tmp -Ujohndoe</code>. 247 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>247 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 248 248 It is possible to specify the password along with the username as follows: 249 249 <code class="literal">smbclient //bigserver/tmp -Ujohndoe%secret</code>. 250 250 </p></div><p> 251 251 Once you enter the password, you should get the <code class="prompt">smb></code> prompt. If you 252 do not, then look at the error message. If it says “<span class="quote"><span class="errorname">invalid network253 name,</span></span>” then the service <em class="parameter"><code>tmp</code></em> is not correctly set up in your <code class="filename">smb.conf</code>.254 </p><p> 255 If it says “<span class="quote"><span class="errorname">bad password,</span></span>”then the likely causes are:256 </p><div class="orderedlist"><ol type="1"><li><p>252 do not, then look at the error message. If it says <span class="quote">“<span class="quote"><span class="errorname">invalid network 253 name,</span></span>”</span> then the service <em class="parameter"><code>tmp</code></em> is not correctly set up in your <code class="filename">smb.conf</code>. 254 </p><p> 255 If it says <span class="quote">“<span class="quote"><span class="errorname">bad password,</span></span>”</span> then the likely causes are: 256 </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p> 257 257 You have shadow passwords (or some other password system) but didn't 258 258 compile in support for them in <span class="application">smbd</span>. 259 </p></li><li ><p>259 </p></li><li class="listitem"><p> 260 260 Your <a class="link" href="smb.conf.5.html#VALIDUSERS" target="_top">valid users</a> configuration is incorrect. 261 </p></li><li ><p>261 </p></li><li class="listitem"><p> 262 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 </p></li><li ><p>263 </p></li><li class="listitem"><p> 264 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 </p></li><li ><p>265 </p></li><li class="listitem"><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 84303"></a>270 <a class="indexterm" name="id26 84309"></a>271 <a class="indexterm" name="id26 84316"></a>272 <a class="indexterm" name="id26 84323"></a>269 <a class="indexterm" name="id2690360"></a> 270 <a class="indexterm" name="id2690366"></a> 271 <a class="indexterm" name="id2690373"></a> 272 <a class="indexterm" name="id2690380"></a> 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 </p></li><li ><p>277 <a class="indexterm" name="id26 84370"></a>276 </p></li><li class="step" title="Step 8"><p> 277 <a class="indexterm" name="id2690426"></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 84389"></a>282 <a class="indexterm" name="id2690445"></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>. 285 285 To overcome it, you could do one of the following (you only need to choose one of them): 286 </p><div class="orderedlist"><ol type="1"><li><p>286 </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p> 287 287 Fix the <span class="application">nmbd</span> installation. 288 </p></li><li ><p>288 </p></li><li class="listitem"><p> 289 289 Add the IP address of BIGSERVER to the <code class="literal">wins server</code> box in the 290 290 advanced TCP/IP setup on the PC. 291 </p></li><li ><p>291 </p></li><li class="listitem"><p> 292 292 Enable Windows name resolution via DNS in the advanced section of the TCP/IP setup. 293 </p></li><li ><p>293 </p></li><li class="listitem"><p> 294 294 Add BIGSERVER to your lmhosts file on the PC. 295 295 </p></li></ol></div><p> 296 If you get a message “<span class="quote"><span class="errorname">invalid network name</span></span>”or297 “<span class="quote"><span class="errorname">bad password error,</span></span>”then apply the296 If you get a message <span class="quote">“<span class="quote"><span class="errorname">invalid network name</span></span>”</span> or 297 <span class="quote">“<span class="quote"><span class="errorname">bad password error,</span></span>”</span> then apply the 298 298 same fixes as for the <code class="literal">smbclient -L</code> test. In 299 299 particular, make sure your <code class="literal">hosts allow</code> line is correct (see the man pages). … … 305 305 name and password. 306 306 </p><p> 307 If you get a message “<span class="quote"><span class="errorname">specified computer is not receiving requests</span></span>”or similar error,307 If you get a message <span class="quote">“<span class="quote"><span class="errorname">specified computer is not receiving requests</span></span>”</span> or similar error, 308 308 it probably means that the host is not contactable via TCP services. 309 309 Check to see if the host is running TCP wrappers, and if so, add an entry in 310 310 the <code class="filename">hosts.allow</code> file for your client (or subnet, and so on.) 311 </p></li><li ><p>311 </p></li><li class="step" title="Step 9"><p> 312 312 Run the command <code class="literal">net use x: \\BIGSERVER\TMP</code>. You should 313 313 be prompted for a password, then you should get a <code class="computeroutput">command completed … … 327 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 </p></li><li ><p>329 </p></li><li class="step" title="Step 10"><p> 330 330 Run the command <code class="literal">nmblookup -M <em class="parameter"><code>testgroup</code></em></code> where 331 331 <em class="parameter"><code>testgroup</code></em> is the name of the workgroup that your Samba server and … … 338 338 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 </p></li><li ><p>340 </p></li><li class="step" title="Step 11"><p> 341 341 From file manager, try to browse the server. Your Samba server should 342 342 appear in the browse list of your local workgroup (or the one you 343 343 specified in <code class="filename">smb.conf</code>). You should be able to double-click on the name 344 of the server and get a list of shares. If you get the error message “<span class="quote">invalid password,</span>”344 of the server and get a list of shares. If you get the error message <span class="quote">“<span class="quote">invalid password,</span>”</span> 345 345 you are probably running Windows NT and it 346 346 is refusing to browse a server that has no encrypted password … … 349 349 <a class="link" href="smb.conf.5.html#PASSWORDSERVER" target="_top">password server = Windows_NT_Machine</a> in your 350 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 set to “<span class="quote">yes</span>”.351 set to <span class="quote">“<span class="quote">yes</span>”</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.3.x/docs/htmldocs/Samba3-HOWTO/domain-member.html
r274 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 6. Domain Membership</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="type.html" title="Part II. Server Configuration Basics"><link rel="prev" href="samba-bdc.html" title="Chapter 5. Backup Domain Control"><link rel="next" href="StandAloneServer.html" title="Chapter 7. Standalone Servers"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 6. Domain Membership</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="samba-bdc.html">Prev</a> </td><th width="60%" align="center">Part II. Server Configuration Basics</th><td width="20%" align="right"> <a accesskey="n" href="StandAloneServer.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="domain-member"></a>Chapter 6. Domain Membership</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2569122">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2570246">Managing Domain Machine Accounts using NT4 Server Manager</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2570526">On-the-Fly Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2570632">Making an MS Windows Workstation or Server a Domain Member</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#domain-member-server">Domain Member Server</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2571833">Why Is This Better Than security = server?</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#ads-member">Samba ADS Domain Membership</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2572115">Configure smb.conf</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2572306">Configure /etc/krb5.conf</a></span></dt><dt><span class="sect2"><a href="domain-member.html#ads-create-machine-account">Create the Computer Account</a></span></dt><dt><span class="sect2"><a href="domain-member.html#ads-test-server">Testing Server Setup</a></span></dt><dt><span class="sect2"><a href="domain-member.html#ads-test-smbclient">Testing with smbclient</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2573400">Notes</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#id2573472">Sharing User ID Mappings between Samba Domain Members</a></span></dt><dt><span class="sect1"><a href="domain-member.html#id2573679">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2573719">Cannot Add Machine Back to Domain</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2573794">Adding Machine to Domain Fails</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2574030">I Can't Join a Windows 2003 PDC</a></span></dt></dl></dd></dl></div><p>2 <a class="indexterm" name="id25 69070"></a>3 <a class="indexterm" name="id25 69077"></a>4 <a class="indexterm" name="id25 69084"></a>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 6. Domain Membership</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="type.html" title="Part II. Server Configuration Basics"><link rel="prev" href="samba-bdc.html" title="Chapter 5. Backup Domain Control"><link rel="next" href="StandAloneServer.html" title="Chapter 7. Standalone Servers"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 6. Domain Membership</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="samba-bdc.html">Prev</a> </td><th width="60%" align="center">Part II. Server Configuration Basics</th><td width="20%" align="right"> <a accesskey="n" href="StandAloneServer.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 6. Domain Membership"><div class="titlepage"><div><div><h2 class="title"><a name="domain-member"></a>Chapter 6. Domain Membership</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:gd@samba.org">gd@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="domain-member.html#id2575193">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2576317">Managing Domain Machine Accounts using NT4 Server Manager</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2576597">On-the-Fly Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2576703">Making an MS Windows Workstation or Server a Domain Member</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#domain-member-server">Domain Member Server</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2577904">Why Is This Better Than <em class="parameter"><code>security = server</code></em>?</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#ads-member">Samba ADS Domain Membership</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2578186">Configure <code class="filename">smb.conf</code></a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2578377">Configure <code class="filename">/etc/krb5.conf</code></a></span></dt><dt><span class="sect2"><a href="domain-member.html#ads-create-machine-account">Create the Computer Account</a></span></dt><dt><span class="sect2"><a href="domain-member.html#ads-test-server">Testing Server Setup</a></span></dt><dt><span class="sect2"><a href="domain-member.html#ads-test-smbclient">Testing with <span class="application">smbclient</span></a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2579471">Notes</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#id2579543">Sharing User ID Mappings between Samba Domain Members</a></span></dt><dt><span class="sect1"><a href="domain-member.html#id2579750">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2579789">Cannot Add Machine Back to Domain</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2579865">Adding Machine to Domain Fails</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2580101">I Can't Join a Windows 2003 PDC</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2575136"></a> 3 <a class="indexterm" name="id2575143"></a> 4 <a class="indexterm" name="id2575150"></a> 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="id25 69099"></a>11 <a class="indexterm" name="id25 69106"></a>10 <a class="indexterm" name="id2575170"></a> 11 <a class="indexterm" name="id2575177"></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="id2569122"></a>Features and Benefits</h2></div></div></div><p>20 <a class="indexterm" name="id25 69130"></a>21 <a class="indexterm" name="id25 69137"></a>22 <a class="indexterm" name="id25 69144"></a>19 </p><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2575193"></a>Features and Benefits</h2></div></div></div><p> 20 <a class="indexterm" name="id2575201"></a> 21 <a class="indexterm" name="id2575208"></a> 22 <a class="indexterm" name="id2575215"></a> 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="id25 69176"></a>31 <a class="indexterm" name="id25 69183"></a>32 <a class="indexterm" name="id25 69190"></a>33 <a class="indexterm" name="id25 69196"></a>30 <a class="indexterm" name="id2575247"></a> 31 <a class="indexterm" name="id2575254"></a> 32 <a class="indexterm" name="id2575260"></a> 33 <a class="indexterm" name="id2575267"></a> 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 </p><div class="itemizedlist"><ul type="disc"><li><p>38 <a class="indexterm" name="id25 69216"></a>37 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 38 <a class="indexterm" name="id2575287"></a> 39 39 MS Windows workstation users get the benefit of SSO. 40 </p></li><li ><p>41 <a class="indexterm" name="id25 69228"></a>42 <a class="indexterm" name="id25 69235"></a>43 <a class="indexterm" name="id25 69242"></a>44 <a class="indexterm" name="id25 69249"></a>40 </p></li><li class="listitem"><p> 41 <a class="indexterm" name="id2575299"></a> 42 <a class="indexterm" name="id2575306"></a> 43 <a class="indexterm" name="id2575312"></a> 44 <a class="indexterm" name="id2575319"></a> 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 47 47 (works with domain member servers as well as with MS Windows workstations 48 48 that are domain members). 49 </p></li><li ><p>50 <a class="indexterm" name="id25 69264"></a>51 <a class="indexterm" name="id25 69270"></a>49 </p></li><li class="listitem"><p> 50 <a class="indexterm" name="id2575334"></a> 51 <a class="indexterm" name="id2575341"></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 </p></li><li ><p>55 <a class="indexterm" name="id25 69289"></a>56 <a class="indexterm" name="id25 69296"></a>57 <a class="indexterm" name="id25 69303"></a>58 <a class="indexterm" name="id25 69310"></a>54 </p></li><li class="listitem"><p> 55 <a class="indexterm" name="id2575360"></a> 56 <a class="indexterm" name="id2575367"></a> 57 <a class="indexterm" name="id2575374"></a> 58 <a class="indexterm" name="id2575381"></a> 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 </p></li><li ><p>62 <a class="indexterm" name="id25 69329"></a>63 <a class="indexterm" name="id25 69336"></a>64 <a class="indexterm" name="id25 69343"></a>61 </p></li><li class="listitem"><p> 62 <a class="indexterm" name="id2575400"></a> 63 <a class="indexterm" name="id2575407"></a> 64 <a class="indexterm" name="id2575414"></a> 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 </p></li><li ><p>68 <a class="indexterm" name="id25 69357"></a>69 <a class="indexterm" name="id25 69364"></a>70 <a class="indexterm" name="id25 69370"></a>71 <a class="indexterm" name="id25 69377"></a>67 </p></li><li class="listitem"><p> 68 <a class="indexterm" name="id2575428"></a> 69 <a class="indexterm" name="id2575435"></a> 70 <a class="indexterm" name="id2575441"></a> 71 <a class="indexterm" name="id2575448"></a> 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 … … 75 75 (either NT4/Samba SAM-style domain, NT4 domain that is backend-ed with an 76 76 LDAP directory, or via an Active Directory infrastructure). 77 </p></li></ul></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="machine-trust-accounts"></a>MS Windows Workstation/Server Machine Trust Accounts</h2></div></div></div><p>78 <a class="indexterm" name="id25 69406"></a>79 <a class="indexterm" name="id25 69412"></a>80 <a class="indexterm" name="id25 69419"></a>81 <a class="indexterm" name="id25 69426"></a>77 </p></li></ul></div></div><div class="sect1" title="MS Windows Workstation/Server Machine Trust Accounts"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="machine-trust-accounts"></a>MS Windows Workstation/Server Machine Trust Accounts</h2></div></div></div><p> 78 <a class="indexterm" name="id2575476"></a> 79 <a class="indexterm" name="id2575483"></a> 80 <a class="indexterm" name="id2575490"></a> 81 <a class="indexterm" name="id2575497"></a> 82 82 A Machine Trust Account is an account that is used to authenticate a client machine (rather than a user) to 83 the domain controller server. In Windows terminology, this is known as a “<span class="quote">computer account.</span>”The83 the domain controller server. In Windows terminology, this is known as a <span class="quote">“<span class="quote">computer account.</span>”</span> The 84 84 purpose of the machine trust account is to prevent a rogue user and domain controller from colluding to gain 85 85 access to a domain member workstation. 86 86 </p><p> 87 <a class="indexterm" name="id25 69446"></a>88 <a class="indexterm" name="id25 69455"></a>89 <a class="indexterm" name="id25 69462"></a>90 <a class="indexterm" name="id25 69469"></a>91 <a class="indexterm" name="id25 69476"></a>87 <a class="indexterm" name="id2575516"></a> 88 <a class="indexterm" name="id2575526"></a> 89 <a class="indexterm" name="id2575533"></a> 90 <a class="indexterm" name="id2575540"></a> 91 <a class="indexterm" name="id2575547"></a> 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="id25 69497"></a>100 <a class="indexterm" name="id25 69504"></a>101 <a class="indexterm" name="id25 69510"></a>102 <a class="indexterm" name="id25 69517"></a>99 <a class="indexterm" name="id2575568"></a> 100 <a class="indexterm" name="id2575575"></a> 101 <a class="indexterm" name="id2575581"></a> 102 <a class="indexterm" name="id2575588"></a> 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, … … 107 107 as follows: 108 108 109 </p><div class="itemizedlist"><ul type="disc"><li><p>110 <a class="indexterm" name="id25 69534"></a>111 <a class="indexterm" name="id25 69541"></a>112 <a class="indexterm" name="id25 69548"></a>109 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 110 <a class="indexterm" name="id2575605"></a> 111 <a class="indexterm" name="id2575612"></a> 112 <a class="indexterm" name="id2575619"></a> 113 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="id25 69580"></a>118 <a class="indexterm" name="id25 69587"></a>119 <a class="indexterm" name="id25 69594"></a>120 <a class="indexterm" name="id25 69600"></a>121 <a class="indexterm" name="id25 69607"></a>122 <a class="indexterm" name="id25 69614"></a>117 <a class="indexterm" name="id2575651"></a> 118 <a class="indexterm" name="id2575658"></a> 119 <a class="indexterm" name="id2575664"></a> 120 <a class="indexterm" name="id2575671"></a> 121 <a class="indexterm" name="id2575678"></a> 122 <a class="indexterm" name="id2575685"></a> 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="id25 69636"></a>129 <a class="indexterm" name="id25 69643"></a>130 <a class="indexterm" name="id25 69650"></a>131 <a class="indexterm" name="id25 69656"></a>128 <a class="indexterm" name="id2575707"></a> 129 <a class="indexterm" name="id2575714"></a> 130 <a class="indexterm" name="id2575720"></a> 131 <a class="indexterm" name="id2575727"></a> 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 </p></li><li ><p>136 <a class="indexterm" name="id25 69677"></a>137 <a class="indexterm" name="id25 69684"></a>135 </p></li><li class="listitem"><p> 136 <a class="indexterm" name="id2575748"></a> 137 <a class="indexterm" name="id2575755"></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="id25 69710"></a>143 <a class="indexterm" name="id2575781"></a> 144 144 There are three ways to create Machine Trust Accounts: 145 </p><div class="itemizedlist"><ul type="disc"><li><p>146 <a class="indexterm" name="id25 69726"></a>145 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 146 <a class="indexterm" name="id2575797"></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 </p></li><li ><p>150 <a class="indexterm" name="id25 69740"></a>151 <a class="indexterm" name="id25 69747"></a>149 </p></li><li class="listitem"><p> 150 <a class="indexterm" name="id2575811"></a> 151 <a class="indexterm" name="id2575818"></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. 154 154 This tool can be run from any MS Windows machine as long as the user is 155 155 logged on as the administrator account. 156 </p></li><li ><p>157 <a class="indexterm" name="id25 69763"></a>158 <a class="indexterm" name="id25 69770"></a>159 “<span class="quote">On-the-fly</span>”creation. The Samba Machine Trust Account is automatically156 </p></li><li class="listitem"><p> 157 <a class="indexterm" name="id2575833"></a> 158 <a class="indexterm" name="id2575840"></a> 159 <span class="quote">“<span class="quote">On-the-fly</span>”</span> creation. The Samba Machine Trust Account is automatically 160 160 created by Samba at the time the client is joined to the domain. 161 161 (For security, this is the recommended method.) The corresponding UNIX 162 162 account may be created automatically or manually. 163 163 </p></li></ul></div><p> 164 <a class="indexterm" name="id25 69789"></a>165 <a class="indexterm" name="id25 69795"></a>164 <a class="indexterm" name="id2575859"></a> 165 <a class="indexterm" name="id2575866"></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="id2569809"></a>Manual Creation of Machine Trust Accounts</h3></div></div></div><p>169 <a class="indexterm" name="id25 69817"></a>170 <a class="indexterm" name="id25 69824"></a>171 <a class="indexterm" name="id25 69830"></a>172 <a class="indexterm" name="id25 69836"></a>168 </p><div class="sect2" title="Manual Creation of Machine Trust Accounts"><div class="titlepage"><div><div><h3 class="title"><a name="id2575880"></a>Manual Creation of Machine Trust Accounts</h3></div></div></div><p> 169 <a class="indexterm" name="id2575888"></a> 170 <a class="indexterm" name="id2575895"></a> 171 <a class="indexterm" name="id2575900"></a> 172 <a class="indexterm" name="id2575907"></a> 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>. 175 This can be done using <code class="literal">vipw</code> or another “<span class="quote">adduser</span>”command175 This can be done using <code class="literal">vipw</code> or another <span class="quote">“<span class="quote">adduser</span>”</span> command 176 176 that is normally used to create new UNIX accounts. The following is an example for 177 177 a Linux-based Samba server: … … 184 184 </pre><p> 185 185 </p><p> 186 <a class="indexterm" name="id25 69905"></a>187 <a class="indexterm" name="id25 69912"></a>188 <a class="indexterm" name="id25 69919"></a>189 In the example above there is an existing system group “<span class="quote">machines</span>”which is used190 as the primary group for all machine accounts. In the following examples the “<span class="quote">machines</span>”group186 <a class="indexterm" name="id2575976"></a> 187 <a class="indexterm" name="id2575983"></a> 188 <a class="indexterm" name="id2575989"></a> 189 In the example above there is an existing system group <span class="quote">“<span class="quote">machines</span>”</span> which is used 190 as the primary group for all machine accounts. In the following examples the <span class="quote">“<span class="quote">machines</span>”</span> group 191 191 numeric GID is 100. 192 192 </p><p> 193 <a class="indexterm" name="id25 69939"></a>194 <a class="indexterm" name="id25 69946"></a>193 <a class="indexterm" name="id2576010"></a> 194 <a class="indexterm" name="id2576017"></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="id25 69987"></a>202 <a class="indexterm" name="id25 69994"></a>203 <a class="indexterm" name="id257 0000"></a>204 <a class="indexterm" name="id257 0007"></a>201 <a class="indexterm" name="id2576058"></a> 202 <a class="indexterm" name="id2576064"></a> 203 <a class="indexterm" name="id2576071"></a> 204 <a class="indexterm" name="id2576078"></a> 205 205 The <code class="filename">/etc/passwd</code> entry will list the machine name 206 with a “<span class="quote">$</span>”appended, and will not have a password, will have a null shell and no207 home directory. For example, a machine named “<span class="quote">doppy</span>”would have an206 with a <span class="quote">“<span class="quote">$</span>”</span> appended, and will not have a password, will have a null shell and no 207 home directory. For example, a machine named <span class="quote">“<span class="quote">doppy</span>”</span> would have an 208 208 <code class="filename">/etc/passwd</code> entry like this: 209 209 </p><pre class="programlisting"> … … 211 211 </pre><p> 212 212 </p><p> 213 <a class="indexterm" name="id257 0049"></a>214 <a class="indexterm" name="id257 0056"></a>215 <a class="indexterm" name="id257 0063"></a>213 <a class="indexterm" name="id2576120"></a> 214 <a class="indexterm" name="id2576127"></a> 215 <a class="indexterm" name="id2576134"></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. 218 218 <em class="replaceable"><code>machine_name</code></em> absolutely must be the NetBIOS 219 name of the client to be joined to the domain. The “<span class="quote">$</span>”must be219 name of the client to be joined to the domain. The <span class="quote">“<span class="quote">$</span>”</span> must be 220 220 appended to the NetBIOS name of the client or Samba will not recognize 221 221 this as a Machine Trust Account. 222 222 </p><p> 223 <a class="indexterm" name="id257 0089"></a>224 <a class="indexterm" name="id257 0096"></a>225 <a class="indexterm" name="id257 0103"></a>223 <a class="indexterm" name="id2576160"></a> 224 <a class="indexterm" name="id2576167"></a> 225 <a class="indexterm" name="id2576174"></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="id257 0144"></a>236 <a class="indexterm" name="id257 0151"></a>237 <a class="indexterm" name="id257 0158"></a>238 <a class="indexterm" name="id257 0165"></a>235 <a class="indexterm" name="id2576215"></a> 236 <a class="indexterm" name="id2576222"></a> 237 <a class="indexterm" name="id2576229"></a> 238 <a class="indexterm" name="id2576235"></a> 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 </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="id257 0187"></a>244 <a class="indexterm" name="id257 0194"></a>245 <a class="indexterm" name="id257 0200"></a>246 <a class="indexterm" name="id257 0207"></a>247 <a class="indexterm" name="id257 0214"></a>242 </p><div class="warning" title="Join the client to the domain immediately" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Join the client to the domain immediately</h3><p> 243 <a class="indexterm" name="id2576257"></a> 244 <a class="indexterm" name="id2576264"></a> 245 <a class="indexterm" name="id2576271"></a> 246 <a class="indexterm" name="id2576278"></a> 247 <a class="indexterm" name="id2576285"></a> 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="id257 0224"></a>250 <a class="indexterm" name="id2576294"></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="id2570246"></a>Managing Domain Machine Accounts using NT4 Server Manager</h3></div></div></div><p>258 <a class="indexterm" name="id257 0254"></a>259 <a class="indexterm" name="id257 0262"></a>260 <a class="indexterm" name="id257 0269"></a>257 </p></div></div><div class="sect2" title="Managing Domain Machine Accounts using NT4 Server Manager"><div class="titlepage"><div><div><h3 class="title"><a name="id2576317"></a>Managing Domain Machine Accounts using NT4 Server Manager</h3></div></div></div><p> 258 <a class="indexterm" name="id2576325"></a> 259 <a class="indexterm" name="id2576332"></a> 260 <a class="indexterm" name="id2576339"></a> 261 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="id257 0294"></a>266 <a class="indexterm" name="id257 0301"></a>267 <a class="indexterm" name="id257 0308"></a>268 <a class="indexterm" name="id257 0314"></a>265 <a class="indexterm" name="id2576365"></a> 266 <a class="indexterm" name="id2576372"></a> 267 <a class="indexterm" name="id2576378"></a> 268 <a class="indexterm" name="id2576385"></a> 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="id257 0353"></a>276 <a class="indexterm" name="id257 0360"></a>275 <a class="indexterm" name="id2576424"></a> 276 <a class="indexterm" name="id2576430"></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="id257 0404"></a>287 <a class="indexterm" name="id257 0411"></a>286 <a class="indexterm" name="id2576475"></a> 287 <a class="indexterm" name="id2576481"></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="id2570426"></a><p class="title"><b>Procedure 6.1. Server Manager Account Machine Account Management</b></p><ol type="1"><li><p>289 </p><div class="procedure" title="Procedure 6.1. Server Manager Account Machine Account Management"><a name="id2576497"></a><p class="title"><b>Procedure 6.1. Server Manager Account Machine Account Management</b></p><ol class="procedure" type="1"><li class="step" title="Step 1"><p> 290 290 From the menu select <span class="guimenu">Computer</span>. 291 </p></li><li ><p>291 </p></li><li class="step" title="Step 2"><p> 292 292 Click <span class="guimenuitem">Select Domain</span>. 293 </p></li><li ><p>293 </p></li><li class="step" title="Step 3"><p> 294 294 Click the name of the domain you wish to administer in the 295 295 <span class="guilabel">Select Domain</span> panel and then click 296 296 <span class="guibutton">OK</span>. 297 </p></li><li ><p>297 </p></li><li class="step" title="Step 4"><p> 298 298 Again from the menu select <span class="guimenu">Computer</span>. 299 </p></li><li ><p>299 </p></li><li class="step" title="Step 5"><p> 300 300 Select <span class="guimenuitem">Add to Domain</span>. 301 </p></li><li ><p>301 </p></li><li class="step" title="Step 6"><p> 302 302 In the dialog box, click the radio button to 303 303 <span class="guilabel">Add NT Workstation of Server</span>, then 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="id2570526"></a>On-the-Fly Creation of Machine Trust Accounts</h3></div></div></div><p>307 <a class="indexterm" name="id257 0535"></a>306 </p></li></ol></div></div><div class="sect2" title="On-the-Fly Creation of Machine Trust Accounts"><div class="titlepage"><div><div><h3 class="title"><a name="id2576597"></a>On-the-Fly Creation of Machine Trust Accounts</h3></div></div></div><p> 307 <a class="indexterm" name="id2576606"></a> 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="id257 0550"></a>312 <a class="indexterm" name="id257 0560"></a>313 <a class="indexterm" name="id257 0567"></a>311 <a class="indexterm" name="id2576621"></a> 312 <a class="indexterm" name="id2576631"></a> 313 <a class="indexterm" name="id2576638"></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="id257 0588"></a>320 <a class="indexterm" name="id257 0595"></a>319 <a class="indexterm" name="id2576659"></a> 320 <a class="indexterm" name="id2576666"></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="id2570617"></a><em class="parameter"><code>add machine script = /usr/sbin/useradd -d /var/lib/nobody -g 100 -s /bin/false -M %u</code></em></td></tr></table><p>323 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2570632"></a>Making an MS Windows Workstation or Server a Domain Member</h3></div></div></div><p>322 </p><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2576688"></a><em class="parameter"><code>add machine script = /usr/sbin/useradd -d /var/lib/nobody -g 100 -s /bin/false -M %u</code></em></td></tr></table><p> 323 </p></div><div class="sect2" title="Making an MS Windows Workstation or Server a Domain Member"><div class="titlepage"><div><div><h3 class="title"><a name="id2576703"></a>Making an MS Windows Workstation or Server a Domain Member</h3></div></div></div><p> 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="id2570643"></a>Windows 200x/XP Professional Client</h4></div></div></div><p>327 <a class="indexterm" name="id257 0651"></a>328 <a class="indexterm" name="id257 0658"></a>329 <a class="indexterm" name="id257 0668"></a>330 <a class="indexterm" name="id257 0675"></a>326 </p><div class="sect3" title="Windows 200x/XP Professional Client"><div class="titlepage"><div><div><h4 class="title"><a name="id2576714"></a>Windows 200x/XP Professional Client</h4></div></div></div><p> 327 <a class="indexterm" name="id2576722"></a> 328 <a class="indexterm" name="id2576729"></a> 329 <a class="indexterm" name="id2576739"></a> 330 <a class="indexterm" name="id2576745"></a> 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="id257 0694"></a>338 <a class="indexterm" name="id257 0701"></a>337 <a class="indexterm" name="id2576765"></a> 338 <a class="indexterm" name="id2576772"></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="id257 0720"></a>343 <a class="indexterm" name="id257 0726"></a>344 <a class="indexterm" name="id257 0733"></a>345 <a class="indexterm" name="id257 0740"></a>342 <a class="indexterm" name="id2576790"></a> 343 <a class="indexterm" name="id2576797"></a> 344 <a class="indexterm" name="id2576804"></a> 345 <a class="indexterm" name="id2576811"></a> 346 346 The name of the account that is used to create domain member machine trust accounts can be 347 347 anything the network administrator may choose. If it is other than <code class="constant">root</code>, … … 349 349 <a class="link" href="smb.conf.5.html#USERNAMEMAP" target="_top">username map = /etc/samba/smbusers</a>. 350 350 </p><p> 351 <a class="indexterm" name="id257 0780"></a>352 <a class="indexterm" name="id257 0787"></a>353 <a class="indexterm" name="id257 0793"></a>351 <a class="indexterm" name="id2576851"></a> 352 <a class="indexterm" name="id2576858"></a> 353 <a class="indexterm" name="id2576865"></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="id2570806"></a>Windows NT4 Client</h4></div></div></div><p>357 <a class="indexterm" name="id257 0814"></a>358 <a class="indexterm" name="id257 0821"></a>359 <a class="indexterm" name="id257 0828"></a>356 </p></div><div class="sect3" title="Windows NT4 Client"><div class="titlepage"><div><div><h4 class="title"><a name="id2576878"></a>Windows NT4 Client</h4></div></div></div><p> 357 <a class="indexterm" name="id2576886"></a> 358 <a class="indexterm" name="id2576893"></a> 359 <a class="indexterm" name="id2576900"></a> 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="id257 0849"></a>367 <a class="indexterm" name="id257 0856"></a>368 <a class="indexterm" name="id257 0862"></a>369 <a class="indexterm" name="id257 0869"></a>366 <a class="indexterm" name="id2576919"></a> 367 <a class="indexterm" name="id2576926"></a> 368 <a class="indexterm" name="id2576933"></a> 369 <a class="indexterm" name="id2576940"></a> 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="id2570890"></a>Samba Client</h4></div></div></div><p>375 <a class="indexterm" name="id257 0898"></a>374 </p></div><div class="sect3" title="Samba Client"><div class="titlepage"><div><div><h4 class="title"><a name="id2576961"></a>Samba Client</h4></div></div></div><p> 375 <a class="indexterm" name="id2576968"></a> 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 </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="id257 0928"></a>379 <a class="indexterm" name="id257 0935"></a>380 <a class="indexterm" name="id257 0942"></a>381 <a class="indexterm" name="id257 0949"></a>377 </p></div></div></div><div class="sect1" title="Domain Member Server"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="domain-member-server"></a>Domain Member Server</h2></div></div></div><p> 378 <a class="indexterm" name="id2576999"></a> 379 <a class="indexterm" name="id2577006"></a> 380 <a class="indexterm" name="id2577013"></a> 381 <a class="indexterm" name="id2577020"></a> 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="id257 0968"></a>391 <a class="indexterm" name="id257 0978"></a>392 <a class="indexterm" name="id257 0985"></a>393 <a class="indexterm" name="id257 0991"></a>394 <a class="indexterm" name="id257 0998"></a>395 <a class="indexterm" name="id257 1005"></a>396 <a class="indexterm" name="id257 1012"></a>397 <a class="indexterm" name="id257 1018"></a>390 <a class="indexterm" name="id2577039"></a> 391 <a class="indexterm" name="id2577048"></a> 392 <a class="indexterm" name="id2577055"></a> 393 <a class="indexterm" name="id2577062"></a> 394 <a class="indexterm" name="id2577069"></a> 395 <a class="indexterm" name="id2577076"></a> 396 <a class="indexterm" name="id2577082"></a> 397 <a class="indexterm" name="id2577089"></a> 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. … … 401 401 Server, and so on. 402 402 </em></span> 403 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>404 <a class="indexterm" name="id257 1035"></a>405 <a class="indexterm" name="id257 1042"></a>406 <a class="indexterm" name="id257 1048"></a>403 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 404 <a class="indexterm" name="id2577106"></a> 405 <a class="indexterm" name="id2577112"></a> 406 <a class="indexterm" name="id2577119"></a> 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="id257 1064"></a>413 <a class="indexterm" name="id257 1071"></a>414 <a class="indexterm" name="id257 1078"></a>412 <a class="indexterm" name="id2577134"></a> 413 <a class="indexterm" name="id2577142"></a> 414 <a class="indexterm" name="id2577149"></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="id2571097"></a>Joining an NT4-type Domain with Samba-3</h3></div></div></div><p><a class="link" href="domain-member.html#assumptions" title="Table 6.1. Assumptions">Assumptions</a> lists names that are used in the remainder of this chapter.</p><div class="table"><a name="assumptions"></a><p class="title"><b>Table 6.1. Assumptions</b></p><div class="table-contents"><table summary="Assumptions" border="1"><colgroup><col align="right"><col align="left"></colgroup><tbody><tr><td align="right">Samba DMS NetBIOS name:</td><td align="left">SERV1</td></tr><tr><td align="right">Windows 200x/NT domain name:</td><td align="left">MIDEARTH</td></tr><tr><td align="right">Domain's PDC NetBIOS name:</td><td align="left">DOMPDC</td></tr><tr><td align="right">Domain's BDC NetBIOS names:</td><td align="left">DOMBDC1 and DOMBDC2</td></tr></tbody></table></div></div><br class="table-break"><p>420 <a class="indexterm" name="id257 1182"></a>419 </p><div class="sect2" title="Joining an NT4-type Domain with Samba-3"><div class="titlepage"><div><div><h3 class="title"><a name="id2577168"></a>Joining an NT4-type Domain with Samba-3</h3></div></div></div><p><a class="link" href="domain-member.html#assumptions" title="Table 6.1. Assumptions">Assumptions</a> lists names that are used in the remainder of this chapter.</p><div class="table"><a name="assumptions"></a><p class="title"><b>Table 6.1. Assumptions</b></p><div class="table-contents"><table summary="Assumptions" border="1"><colgroup><col align="right"><col align="left"></colgroup><tbody><tr><td align="right">Samba DMS NetBIOS name:</td><td align="left">SERV1</td></tr><tr><td align="right">Windows 200x/NT domain name:</td><td align="left">MIDEARTH</td></tr><tr><td align="right">Domain's PDC NetBIOS name:</td><td align="left">DOMPDC</td></tr><tr><td align="right">Domain's BDC NetBIOS names:</td><td align="left">DOMBDC1 and DOMBDC2</td></tr></tbody></table></div></div><br class="table-break"><p> 420 <a class="indexterm" name="id2577252"></a> 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="id257 1198"></a>424 <a class="indexterm" name="id257 1205"></a>425 <a class="indexterm" name="id257 1212"></a>426 <a class="indexterm" name="id257 1219"></a>423 <a class="indexterm" name="id2577268"></a> 424 <a class="indexterm" name="id2577275"></a> 425 <a class="indexterm" name="id2577282"></a> 426 <a class="indexterm" name="id2577289"></a> 427 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="id2571249"></a><em class="parameter"><code>security = domain</code></em></td></tr></table><p>429 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2577320"></a><em class="parameter"><code>security = domain</code></em></td></tr></table><p> 430 430 Note that if the parameter <em class="parameter"><code>security = user</code></em> is used, this machine would function as a 431 431 standalone server and not as a domain member server. Domain security mode causes Samba to work within the … … 434 434 Next change the <a class="link" href="smb.conf.5.html#WORKGROUP" 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="id2571297"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr></table><p>436 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2577368"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr></table><p> 437 437 This is the name of the domain we are joining. 438 438 </p><p> 439 <a class="indexterm" name="id257 1313"></a>440 <a class="indexterm" name="id257 1320"></a>439 <a class="indexterm" name="id2577384"></a> 440 <a class="indexterm" name="id2577391"></a> 441 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. … … 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="id257 1359"></a>447 <a class="indexterm" name="id257 1366"></a>448 <a class="indexterm" name="id257 1372"></a>449 <a class="indexterm" name="id257 1379"></a>446 <a class="indexterm" name="id2577430"></a> 447 <a class="indexterm" name="id2577437"></a> 448 <a class="indexterm" name="id2577443"></a> 449 <a class="indexterm" name="id2577450"></a> 450 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="id2571404"></a><em class="parameter"><code>password server = DOMPDC DOMBDC1 DOMBDC2</code></em></td></tr></table><p>452 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2577475"></a><em class="parameter"><code>password server = DOMPDC DOMBDC1 DOMBDC2</code></em></td></tr></table><p> 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="id257 1423"></a>460 <a class="indexterm" name="id257 1430"></a>461 <a class="indexterm" name="id257 1437"></a>462 <a class="indexterm" name="id257 1444"></a>459 <a class="indexterm" name="id2577494"></a> 460 <a class="indexterm" name="id2577501"></a> 461 <a class="indexterm" name="id2577508"></a> 462 <a class="indexterm" name="id2577515"></a> 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="id2571459"></a><em class="parameter"><code>password server = *</code></em></td></tr></table><p>466 <a class="indexterm" name="id257 1471"></a>465 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2577530"></a><em class="parameter"><code>password server = *</code></em></td></tr></table><p> 466 <a class="indexterm" name="id2577542"></a> 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="id257 1487"></a>473 <a class="indexterm" name="id2577558"></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="id257 1520"></a>479 <a class="indexterm" name="id257 1527"></a>480 <a class="indexterm" name="id257 1534"></a>481 <a class="indexterm" name="id257 1540"></a>478 <a class="indexterm" name="id2577591"></a> 479 <a class="indexterm" name="id2577598"></a> 480 <a class="indexterm" name="id2577604"></a> 481 <a class="indexterm" name="id2577611"></a> 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="id257 1563"></a>487 <a class="indexterm" name="id257 1570"></a>488 <a class="indexterm" name="id257 1577"></a>489 <a class="indexterm" name="id257 1584"></a>486 <a class="indexterm" name="id2577634"></a> 487 <a class="indexterm" name="id2577641"></a> 488 <a class="indexterm" name="id2577648"></a> 489 <a class="indexterm" name="id2577655"></a> 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="id257 1620"></a>501 <a class="indexterm" name="id257 1632"></a>502 <a class="indexterm" name="id257 1638"></a>500 <a class="indexterm" name="id2577691"></a> 501 <a class="indexterm" name="id2577703"></a> 502 <a class="indexterm" name="id2577709"></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="id257 1696"></a>516 <a class="indexterm" name="id257 1702"></a>517 <a class="indexterm" name="id257 1710"></a>515 <a class="indexterm" name="id2577767"></a> 516 <a class="indexterm" name="id2577773"></a> 517 <a class="indexterm" name="id2577780"></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="id257 1722"></a>522 <a class="indexterm" name="id257 1731"></a>523 <a class="indexterm" name="id257 1738"></a>524 <a class="indexterm" name="id257 1746"></a>521 <a class="indexterm" name="id2577792"></a> 522 <a class="indexterm" name="id2577802"></a> 523 <a class="indexterm" name="id2577809"></a> 524 <a class="indexterm" name="id2577817"></a> 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="id257 1774"></a>531 <a class="indexterm" name="id257 1781"></a>530 <a class="indexterm" name="id2577845"></a> 531 <a class="indexterm" name="id2577852"></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="id257 1795"></a>537 <a class="indexterm" name="id257 1802"></a>538 <a class="indexterm" name="id257 1809"></a>536 <a class="indexterm" name="id2577866"></a> 537 <a class="indexterm" name="id2577873"></a> 538 <a class="indexterm" name="id2577880"></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="id2571833"></a>Why Is This Better Than <em class="parameter"><code>security = server</code></em>?</h3></div></div></div><p>546 <a class="indexterm" name="id257 1847"></a>547 <a class="indexterm" name="id257 1854"></a>548 <a class="indexterm" name="id257 1861"></a>545 </p></div><div class="sect2" title="Why Is This Better Than security = server?"><div class="titlepage"><div><div><h3 class="title"><a name="id2577904"></a>Why Is This Better Than <em class="parameter"><code>security = server</code></em>?</h3></div></div></div><p> 546 <a class="indexterm" name="id2577918"></a> 547 <a class="indexterm" name="id2577925"></a> 548 <a class="indexterm" name="id2577932"></a> 549 549 Currently, domain security in Samba does not free you from having to create local UNIX users to represent the 550 550 users attaching to your server. This means that if domain user <code class="constant">DOM\fred</code> attaches to your … … 553 553 NT server in the same way as a Windows 95 or Windows 98 server would. 554 554 </p><p> 555 <a class="indexterm" name="id257 1896"></a>556 <a class="indexterm" name="id257 1902"></a>557 <a class="indexterm" name="id257 1908"></a>555 <a class="indexterm" name="id2577966"></a> 556 <a class="indexterm" name="id2577973"></a> 557 <a class="indexterm" name="id2577979"></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="id257 1928"></a>562 <a class="indexterm" name="id257 1934"></a>563 <a class="indexterm" name="id257 1941"></a>561 <a class="indexterm" name="id2577999"></a> 562 <a class="indexterm" name="id2578005"></a> 563 <a class="indexterm" name="id2578012"></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="id257 1959"></a>571 <a class="indexterm" name="id257 1966"></a>572 <a class="indexterm" name="id257 1972"></a>570 <a class="indexterm" name="id2578030"></a> 571 <a class="indexterm" name="id2578036"></a> 572 <a class="indexterm" name="id2578043"></a> 573 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 … … 578 578 connection resources. 579 579 </p><p> 580 <a class="indexterm" name="id257 2012"></a>581 <a class="indexterm" name="id257 2019"></a>582 <a class="indexterm" name="id257 2026"></a>583 <a class="indexterm" name="id257 2032"></a>580 <a class="indexterm" name="id2578083"></a> 581 <a class="indexterm" name="id2578090"></a> 582 <a class="indexterm" name="id2578096"></a> 583 <a class="indexterm" name="id2578103"></a> 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 586 586 of NT groups the user belongs to, and so on. 587 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>587 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 588 588 Much of the text of this document was first published in the Web magazine 589 589 <a class="ulink" href="http://www.linuxworld.com" target="_top"><span class="emphasis"><em>LinuxWorld</em></span></a> as the article <a class="ulink" href="http://www.linuxworld.com/linuxworld/lw-1998-10/lw-10-samba.html" target="_top">http://www.linuxworld.com/linuxworld/lw-1998-10/lw-10-samba.html</a> 590 590 <span class="emphasis"><em>Doing the NIS/NT Samba</em></span>. 591 </p></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="ads-member"></a>Samba ADS Domain Membership</h2></div></div></div><p>592 <a class="indexterm" name="id257 2082"></a>593 <a class="indexterm" name="id257 2089"></a>594 <a class="indexterm" name="id257 2098"></a>595 <a class="indexterm" name="id257 2105"></a>591 </p></div></div></div><div class="sect1" title="Samba ADS Domain Membership"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="ads-member"></a>Samba ADS Domain Membership</h2></div></div></div><p> 592 <a class="indexterm" name="id2578153"></a> 593 <a class="indexterm" name="id2578160"></a> 594 <a class="indexterm" name="id2578169"></a> 595 <a class="indexterm" name="id2578176"></a> 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="id2572115"></a>Configure <code class="filename">smb.conf</code></h3></div></div></div><p>598 </p><div class="sect2" title="Configure smb.conf"><div class="titlepage"><div><div><h3 class="title"><a name="id2578186"></a>Configure <code class="filename">smb.conf</code></h3></div></div></div><p> 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="id2572141"></a><em class="parameter"><code>realm = your.kerberos.REALM</code></em></td></tr><tr><td><a class="indexterm" name="id2572153"></a><em class="parameter"><code>security = ADS</code></em></td></tr><tr><td># The following parameter need only be specified if present.</td></tr><tr><td># The default setting if not present is Yes.</td></tr><tr><td><a class="indexterm" name="id2572173"></a><em class="parameter"><code>encrypt passwords = yes</code></em></td></tr></table><p>601 <a class="indexterm" name="id257 2187"></a>602 <a class="indexterm" name="id257 2193"></a>603 <a class="indexterm" name="id257 2200"></a>604 <a class="indexterm" name="id257 2207"></a>605 <a class="indexterm" name="id257 2214"></a>600 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2578212"></a><em class="parameter"><code>realm = your.kerberos.REALM</code></em></td></tr><tr><td><a class="indexterm" name="id2578224"></a><em class="parameter"><code>security = ADS</code></em></td></tr><tr><td># The following parameter need only be specified if present.</td></tr><tr><td># The default setting if not present is Yes.</td></tr><tr><td><a class="indexterm" name="id2578244"></a><em class="parameter"><code>encrypt passwords = yes</code></em></td></tr></table><p> 601 <a class="indexterm" name="id2578258"></a> 602 <a class="indexterm" name="id2578264"></a> 603 <a class="indexterm" name="id2578271"></a> 604 <a class="indexterm" name="id2578278"></a> 605 <a class="indexterm" name="id2578284"></a> 606 606 In case samba cannot correctly identify the appropriate ADS server using the realm name, use the 607 607 <a class="link" href="smb.conf.5.html#PASSWORDSERVER" target="_top">password server</a> option in <code class="filename">smb.conf</code>: 608 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2572245"></a><em class="parameter"><code>password server = your.kerberos.server</code></em></td></tr></table><p>608 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2578316"></a><em class="parameter"><code>password server = your.kerberos.server</code></em></td></tr></table><p> 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 611 611 infrastructure. There is no harm in specifying a preferred ADS domain controller using the <em class="parameter"><code>password 612 612 server</code></em>. 613 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>614 <a class="indexterm" name="id257 2272"></a>615 <a class="indexterm" name="id257 2278"></a>613 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 614 <a class="indexterm" name="id2578342"></a> 615 <a class="indexterm" name="id2578349"></a> 616 616 You do <span class="emphasis"><em>not</em></span> need an smbpasswd file, and older clients will be authenticated as 617 617 if <a class="link" href="smb.conf.5.html#SECURITY" 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="id2572306"></a>Configure <code class="filename">/etc/krb5.conf</code></h3></div></div></div><p>620 <a class="indexterm" name="id257 2318"></a>621 <a class="indexterm" name="id257 2325"></a>622 <a class="indexterm" name="id257 2334"></a>623 <a class="indexterm" name="id257 2341"></a>619 </p></div></div><div class="sect2" title="Configure /etc/krb5.conf"><div class="titlepage"><div><div><h3 class="title"><a name="id2578377"></a>Configure <code class="filename">/etc/krb5.conf</code></h3></div></div></div><p> 620 <a class="indexterm" name="id2578389"></a> 621 <a class="indexterm" name="id2578396"></a> 622 <a class="indexterm" name="id2578405"></a> 623 <a class="indexterm" name="id2578412"></a> 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="id257 2359"></a>628 <a class="indexterm" name="id257 2366"></a>629 <a class="indexterm" name="id257 2372"></a>630 <a class="indexterm" name="id257 2379"></a>631 <a class="indexterm" name="id257 2386"></a>627 <a class="indexterm" name="id2578430"></a> 628 <a class="indexterm" name="id2578436"></a> 629 <a class="indexterm" name="id2578443"></a> 630 <a class="indexterm" name="id2578450"></a> 631 <a class="indexterm" name="id2578456"></a> 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="id257 2407"></a>639 <a class="indexterm" name="id257 2414"></a>640 <a class="indexterm" name="id257 2421"></a>641 <a class="indexterm" name="id257 2428"></a>642 <a class="indexterm" name="id257 2435"></a>643 <a class="indexterm" name="id257 2442"></a>638 <a class="indexterm" name="id2578478"></a> 639 <a class="indexterm" name="id2578485"></a> 640 <a class="indexterm" name="id2578492"></a> 641 <a class="indexterm" name="id2578499"></a> 642 <a class="indexterm" name="id2578506"></a> 643 <a class="indexterm" name="id2578512"></a> 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="id257 2473"></a>652 <a class="indexterm" name="id257 2480"></a>653 <a class="indexterm" name="id257 2486"></a>654 <a class="indexterm" name="id257 2493"></a>655 <a class="indexterm" name="id257 2500"></a>656 <a class="indexterm" name="id257 2507"></a>651 <a class="indexterm" name="id2578544"></a> 652 <a class="indexterm" name="id2578550"></a> 653 <a class="indexterm" name="id2578557"></a> 654 <a class="indexterm" name="id2578564"></a> 655 <a class="indexterm" name="id2578571"></a> 656 <a class="indexterm" name="id2578578"></a> 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="id257 2528"></a>662 <a class="indexterm" name="id2578599"></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="id257 2554"></a>677 <a class="indexterm" name="id2578624"></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="id257 2576"></a>695 <a class="indexterm" name="id257 2582"></a>694 <a class="indexterm" name="id2578646"></a> 695 <a class="indexterm" name="id2578653"></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="id257 2606"></a>701 <a class="indexterm" name="id257 2613"></a>702 <a class="indexterm" name="id257 2619"></a>703 <a class="indexterm" name="id257 2626"></a>700 <a class="indexterm" name="id2578677"></a> 701 <a class="indexterm" name="id2578683"></a> 702 <a class="indexterm" name="id2578690"></a> 703 <a class="indexterm" name="id2578696"></a> 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 … … 708 708 (and no default etypes in krb5.conf). Unfortunately, this whole area is still 709 709 in a state of flux. 710 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>711 <a class="indexterm" name="id257 2647"></a>712 <a class="indexterm" name="id257 2654"></a>713 <a class="indexterm" name="id257 2661"></a>714 The realm must be in uppercase or you will get a “<span class="quote"><span class="errorname">Cannot find KDC for715 requested realm while getting initial credentials</span></span>” error (Kerberos710 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 711 <a class="indexterm" name="id2578718"></a> 712 <a class="indexterm" name="id2578725"></a> 713 <a class="indexterm" name="id2578732"></a> 714 The realm must be in uppercase or you will get a <span class="quote">“<span class="quote"><span class="errorname">Cannot find KDC for 715 requested realm while getting initial credentials</span></span>”</span> error (Kerberos 716 716 is case-sensitive!). 717 </p></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>718 <a class="indexterm" name="id257 2678"></a>719 <a class="indexterm" name="id257 2685"></a>720 <a class="indexterm" name="id257 2692"></a>721 <a class="indexterm" name="id257 2699"></a>722 Time between the two servers must be synchronized. You will get a “<span class="quote"><span class="errorname">kinit(v5): Clock skew too723 great while getting initial credentials</span></span>” if the time difference (clock skew) is more than five minutes.717 </p></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 718 <a class="indexterm" name="id2578749"></a> 719 <a class="indexterm" name="id2578756"></a> 720 <a class="indexterm" name="id2578762"></a> 721 <a class="indexterm" name="id2578769"></a> 722 Time between the two servers must be synchronized. You will get a <span class="quote">“<span class="quote"><span class="errorname">kinit(v5): Clock skew too 723 great while getting initial credentials</span></span>”</span> if the time difference (clock skew) is more than five minutes. 724 724 </p></div><p> 725 <a class="indexterm" name="id257 2716"></a>726 <a class="indexterm" name="id257 2723"></a>725 <a class="indexterm" name="id2578787"></a> 726 <a class="indexterm" name="id2578794"></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="id257 2735"></a>730 <a class="indexterm" name="id257 2742"></a>731 <a class="indexterm" name="id257 2748"></a>732 <a class="indexterm" name="id257 2755"></a>729 <a class="indexterm" name="id2578806"></a> 730 <a class="indexterm" name="id2578812"></a> 731 <a class="indexterm" name="id2578819"></a> 732 <a class="indexterm" name="id2578826"></a> 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="id257 2770"></a>738 <a class="indexterm" name="id257 2777"></a>739 <a class="indexterm" name="id257 2783"></a>737 <a class="indexterm" name="id2578841"></a> 738 <a class="indexterm" name="id2578847"></a> 739 <a class="indexterm" name="id2578854"></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="id257 2806"></a>745 <a class="indexterm" name="id257 2813"></a>746 <a class="indexterm" name="id257 2820"></a>747 <a class="indexterm" name="id257 2827"></a>744 <a class="indexterm" name="id2578877"></a> 745 <a class="indexterm" name="id2578884"></a> 746 <a class="indexterm" name="id2578891"></a> 747 <a class="indexterm" name="id2578898"></a> 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 </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="id257 2898"></a>752 <a class="indexterm" name="id257 2904"></a>753 <a class="indexterm" name="id257 2911"></a>754 <a class="indexterm" name="id257 2918"></a>750 </p></div><div class="sect2" title="Create the Computer Account"><div class="titlepage"><div><div><h3 class="title"><a name="ads-create-machine-account"></a>Create the Computer Account</h3></div></div></div><p> 751 <a class="indexterm" name="id2578968"></a> 752 <a class="indexterm" name="id2578975"></a> 753 <a class="indexterm" name="id2578982"></a> 754 <a class="indexterm" name="id2578989"></a> 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="id257 2953"></a>764 <a class="indexterm" name="id257 2959"></a>765 <a class="indexterm" name="id257 2966"></a>766 <a class="indexterm" name="id257 2973"></a>767 <a class="indexterm" name="id257 2980"></a>768 <a class="indexterm" name="id257 2987"></a>763 <a class="indexterm" name="id2579024"></a> 764 <a class="indexterm" name="id2579030"></a> 765 <a class="indexterm" name="id2579037"></a> 766 <a class="indexterm" name="id2579044"></a> 767 <a class="indexterm" name="id2579051"></a> 768 <a class="indexterm" name="id2579058"></a> 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="id257 3037"></a>779 <a class="indexterm" name="id257 3044"></a>780 <a class="indexterm" name="id257 3051"></a>781 <a class="indexterm" name="id257 3058"></a>782 For example, you may want to create the machine trust account in a container called “<span class="quote">Servers</span>”783 under the organizational directory “<span class="quote">Computers/BusinessUnit/Department,</span>”like this:778 <a class="indexterm" name="id2579108"></a> 779 <a class="indexterm" name="id2579115"></a> 780 <a class="indexterm" name="id2579122"></a> 781 <a class="indexterm" name="id2579129"></a> 782 For example, you may want to create the machine trust account in a container called <span class="quote">“<span class="quote">Servers</span>”</span> 783 under the organizational directory <span class="quote">“<span class="quote">Computers/BusinessUnit/Department,</span>”</span> like this: 784 784 </p><pre class="screen"> 785 785 <code class="prompt">root# </code> <strong class="userinput"><code>net ads join "Computers/BusinessUnit/Department/Servers"</code></strong> … … 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="id2573107"></a>Possible Errors</h4></div></div></div><p>792 </p><div class="sect3" title="Possible Errors"><div class="titlepage"><div><div><h4 class="title"><a name="id2579178"></a>Possible Errors</h4></div></div></div><p> 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="id257 3126"></a>795 <a class="indexterm" name="id257 3133"></a>796 <a class="indexterm" name="id257 3140"></a>794 <a class="indexterm" name="id2579197"></a> 795 <a class="indexterm" name="id2579204"></a> 796 <a class="indexterm" name="id2579211"></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="id257 3160"></a>801 <a class="indexterm" name="id257 3167"></a>800 <a class="indexterm" name="id2579231"></a> 801 <a class="indexterm" name="id2579237"></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="id257 3200"></a>807 <a class="indexterm" name="id257 3207"></a>808 <a class="indexterm" name="id257 3214"></a>806 <a class="indexterm" name="id2579271"></a> 807 <a class="indexterm" name="id2579278"></a> 808 <a class="indexterm" name="id2579285"></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 </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="id257 3246"></a>814 <a class="indexterm" name="id257 3252"></a>815 <a class="indexterm" name="id257 3259"></a>812 </p></div></div><div class="sect2" title="Testing Server Setup"><div class="titlepage"><div><div><h3 class="title"><a name="ads-test-server"></a>Testing Server Setup</h3></div></div></div><p> 813 <a class="indexterm" name="id2579316"></a> 814 <a class="indexterm" name="id2579323"></a> 815 <a class="indexterm" name="id2579330"></a> 816 816 If the join was successful, you will see a new computer account with the 817 NetBIOS name of your Samba server in Active Directory (in the “<span class="quote">Computers</span>”817 NetBIOS name of your Samba server in Active Directory (in the <span class="quote">“<span class="quote">Computers</span>”</span> 818 818 folder under Users and Computers. 819 819 </p><p> 820 <a class="indexterm" name="id257 3275"></a>821 <a class="indexterm" name="id257 3282"></a>822 <a class="indexterm" name="id257 3291"></a>820 <a class="indexterm" name="id2579346"></a> 821 <a class="indexterm" name="id2579353"></a> 822 <a class="indexterm" name="id2579362"></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 825 825 <strong class="userinput"><code>klist tickets</code></strong>. Did you get a ticket for the server? Does it have 826 826 an encryption type of DES-CBC-MD5? 827 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>828 <a class="indexterm" name="id257 3318"></a>829 <a class="indexterm" name="id257 3325"></a>830 <a class="indexterm" name="id257 3332"></a>827 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 828 <a class="indexterm" name="id2579389"></a> 829 <a class="indexterm" name="id2579396"></a> 830 <a class="indexterm" name="id2579403"></a> 831 831 Samba can use both DES-CBC-MD5 encryption as well as ARCFOUR-HMAC-MD5 encoding. 832 </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="ads-test-smbclient"></a>Testing with <span class="application">smbclient</span></h3></div></div></div><p>833 <a class="indexterm" name="id257 3359"></a>834 <a class="indexterm" name="id257 3366"></a>835 <a class="indexterm" name="id257 3373"></a>832 </p></div></div><div class="sect2" title="Testing with smbclient"><div class="titlepage"><div><div><h3 class="title"><a name="ads-test-smbclient"></a>Testing with <span class="application">smbclient</span></h3></div></div></div><p> 833 <a class="indexterm" name="id2579430"></a> 834 <a class="indexterm" name="id2579437"></a> 835 <a class="indexterm" name="id2579443"></a> 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="id2573400"></a>Notes</h3></div></div></div><p>840 <a class="indexterm" name="id257 3408"></a>841 <a class="indexterm" name="id257 3415"></a>842 <a class="indexterm" name="id257 3422"></a>839 </p></div><div class="sect2" title="Notes"><div class="titlepage"><div><div><h3 class="title"><a name="id2579471"></a>Notes</h3></div></div></div><p> 840 <a class="indexterm" name="id2579479"></a> 841 <a class="indexterm" name="id2579486"></a> 842 <a class="indexterm" name="id2579493"></a> 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="id257 3434"></a>847 <a class="indexterm" name="id257 3441"></a>848 <a class="indexterm" name="id257 3448"></a>846 <a class="indexterm" name="id2579505"></a> 847 <a class="indexterm" name="id2579512"></a> 848 <a class="indexterm" name="id2579519"></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="id2573472"></a>Sharing User ID Mappings between Samba Domain Members</h2></div></div></div><p>852 <a class="indexterm" name="id257 3481"></a>853 <a class="indexterm" name="id257 3488"></a>854 <a class="indexterm" name="id257 3495"></a>855 <a class="indexterm" name="id257 3501"></a>851 </p></div></div><div class="sect1" title="Sharing User ID Mappings between Samba Domain Members"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2579543"></a>Sharing User ID Mappings between Samba Domain Members</h2></div></div></div><p> 852 <a class="indexterm" name="id2579552"></a> 853 <a class="indexterm" name="id2579559"></a> 854 <a class="indexterm" name="id2579565"></a> 855 <a class="indexterm" name="id2579572"></a> 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="id257 3520"></a>860 <a class="indexterm" name="id257 3526"></a>861 <a class="indexterm" name="id257 3533"></a>859 <a class="indexterm" name="id2579590"></a> 860 <a class="indexterm" name="id2579597"></a> 861 <a class="indexterm" name="id2579604"></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="id257 3551"></a>867 <a class="indexterm" name="id257 3557"></a>866 <a class="indexterm" name="id2579621"></a> 867 <a class="indexterm" name="id2579628"></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="id2573581"></a><em class="parameter"><code>ldap idmap suffix = ou=Idmap</code></em></td></tr></table><p>869 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2579652"></a><em class="parameter"><code>ldap idmap suffix = ou=Idmap</code></em></td></tr></table><p> 870 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="id257 3617"></a>874 <a class="indexterm" name="id257 3624"></a>875 <a class="indexterm" name="id257 3631"></a>873 <a class="indexterm" name="id2579688"></a> 874 <a class="indexterm" name="id2579694"></a> 875 <a class="indexterm" name="id2579702"></a> 876 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: … … 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="id2573679"></a>Common Errors</h2></div></div></div><p>884 <a class="indexterm" name="id257 3687"></a>885 <a class="indexterm" name="id257 3694"></a>883 </p></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2579750"></a>Common Errors</h2></div></div></div><p> 884 <a class="indexterm" name="id2579757"></a> 885 <a class="indexterm" name="id2579764"></a> 886 886 In the process of adding/deleting/re-adding domain member machine trust accounts, there are 887 many traps for the unwary player and many “<span class="quote">little</span>”things that can go wrong.887 many traps for the unwary player and many <span class="quote">“<span class="quote">little</span>”</span> things that can go wrong. 888 888 It is particularly interesting how often subscribers on the Samba mailing list have concluded 889 after repeated failed attempts to add a machine account that it is necessary to “<span class="quote">reinstall</span>”889 after repeated failed attempts to add a machine account that it is necessary to <span class="quote">“<span class="quote">reinstall</span>”</span> 890 890 MS Windows on the machine. In truth, it is seldom necessary to reinstall because of this type 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="id2573719"></a>Cannot Add Machine Back to Domain</h3></div></div></div><p>894 <a class="indexterm" name="id257 3727"></a>895 <a class="indexterm" name="id257 3734"></a>896 “<span class="quote">A Windows workstation was reinstalled. The original domain machine trust893 </p><div class="sect2" title="Cannot Add Machine Back to Domain"><div class="titlepage"><div><div><h3 class="title"><a name="id2579789"></a>Cannot Add Machine Back to Domain</h3></div></div></div><p> 894 <a class="indexterm" name="id2579798"></a> 895 <a class="indexterm" name="id2579805"></a> 896 <span class="quote">“<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 898 898 the same machine name. Attempts to add the machine fail with a message that the machine already 899 exists on the network I know it does not. Why is this failing?</span>” 900 </p><p> 901 <a class="indexterm" name="id257 3755"></a>902 <a class="indexterm" name="id257 3761"></a>899 exists on the network I know it does not. Why is this failing?</span>”</span> 900 </p><p> 901 <a class="indexterm" name="id2579826"></a> 902 <a class="indexterm" name="id2579832"></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="id2573794"></a>Adding Machine to Domain Fails</h3></div></div></div><p>911 <a class="indexterm" name="id257 3802"></a>912 <a class="indexterm" name="id257 3809"></a>913 “<span class="quote">Adding a Windows 200x or XP Professional machine to the Samba PDC Domain fails with a910 </p></div><div class="sect2" title="Adding Machine to Domain Fails"><div class="titlepage"><div><div><h3 class="title"><a name="id2579865"></a>Adding Machine to Domain Fails</h3></div></div></div><p> 911 <a class="indexterm" name="id2579873"></a> 912 <a class="indexterm" name="id2579880"></a> 913 <span class="quote">“<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 Please try again later."</span> Why?</span>” 916 </p><p> 917 <a class="indexterm" name="id257 3829"></a>915 Please try again later."</span> Why?</span>”</span> 916 </p><p> 917 <a class="indexterm" name="id2579900"></a> 918 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 … … 923 923 </p><p> 924 924 Possible causes include: 925 </p><div class="itemizedlist"><ul type="disc"><li><p>926 <a class="indexterm" name="id257 3887"></a>927 <a class="indexterm" name="id257 3894"></a>925 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 926 <a class="indexterm" name="id2579958"></a> 927 <a class="indexterm" name="id2579965"></a> 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="id257 3906"></a>931 <a class="indexterm" name="id257 3912"></a>930 <a class="indexterm" name="id2579976"></a> 931 <a class="indexterm" name="id2579983"></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 </p></li><li ><p>935 <a class="indexterm" name="id25 73929"></a>936 <a class="indexterm" name="id25 73936"></a>934 </p></li><li class="listitem"><p> 935 <a class="indexterm" name="id2580000"></a> 936 <a class="indexterm" name="id2580007"></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 73953"></a>940 <a class="indexterm" name="id25 73960"></a>939 <a class="indexterm" name="id2580024"></a> 940 <a class="indexterm" name="id2580031"></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 73992"></a>948 <a class="indexterm" name="id25 73999"></a>949 <a class="indexterm" name="id25 74006"></a>947 <a class="indexterm" name="id2580063"></a> 948 <a class="indexterm" name="id2580070"></a> 949 <a class="indexterm" name="id2580076"></a> 950 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="id2574030"></a>I Can't Join a Windows 2003 PDC</h3></div></div></div><p>954 <a class="indexterm" name="id25 74038"></a>955 <a class="indexterm" name="id25 74044"></a>956 <a class="indexterm" name="id25 74051"></a>957 <a class="indexterm" name="id25 74058"></a>953 </p></div><div class="sect2" title="I Can't Join a Windows 2003 PDC"><div class="titlepage"><div><div><h3 class="title"><a name="id2580101"></a>I Can't Join a Windows 2003 PDC</h3></div></div></div><p> 954 <a class="indexterm" name="id2580109"></a> 955 <a class="indexterm" name="id2580115"></a> 956 <a class="indexterm" name="id2580122"></a> 957 <a class="indexterm" name="id2580129"></a> 958 958 Windows 2003 requires SMB signing. Client-side SMB signing has been implemented in Samba-3.0. 959 959 Set <a class="link" href="smb.conf.5.html#CLIENTUSESPNEGO" target="_top">client use spnego = yes</a> when communicating -
branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/go01.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Glossary</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="apa.html" title="Appendix A. GNU General Public License version 3"><link rel="next" href="ix01.html" title="Index"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Glossary</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="apa.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="ix01.html">Next</a></td></tr></table><hr></div><div class="glossary"><div class="titlepage"><div><div><h2 class="title"><a name="id2694950"></a>Glossary</h2></div></div></div><dl><dt>Access Control List</dt><dd><p>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Glossary</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="apa.html" title="Appendix A. GNU General Public License version 3"><link rel="next" href="ix01.html" title="Index"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Glossary</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="apa.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="ix01.html">Next</a></td></tr></table><hr></div><div class="glossary" title="Glossary"><div class="titlepage"><div><div><h2 class="title"><a name="id2701006"></a>Glossary</h2></div></div></div><dl><dt>Access Control List</dt><dd><p> 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>, … … 14 14 The need for the deployment of the NetBIOS layer was also 15 15 removed, thus paving the way for use of the SMB protocol natively 16 over TCP/IP (known as NetBIOS-less SMB or “<span class="quote">naked</span>”TCP transport).16 over TCP/IP (known as NetBIOS-less SMB or <span class="quote">“<span class="quote">naked</span>”</span> TCP transport). 17 17 </p></dd><dt>Common UNIX Printing System</dt><dd><p> 18 18 A recent implementation of a high capability printing system for UNIX developed by … … 66 66 A highly compressed document format, based on PostScript, used as a document distribution format 67 67 that is supported by Web browsers as well as many applications. Adobe also distributes an application 68 called “<span class="quote">Acrobat,</span>”which is a PDF reader.68 called <span class="quote">“<span class="quote">Acrobat,</span>”</span> which is a PDF reader. 69 69 </p></dd><dt>Page Description Language</dt><dd><p>A language for describing the layout and contents of a printed page. 70 70 The best-known PDLs are Adobe PostScript and Hewlett-Packard PCL (Printer Control Language), … … 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 GNUGeneral Public License version 399 <acronym class="acronym">GNU</acronym> 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.3.x/docs/htmldocs/Samba3-HOWTO/groupmapping.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 12. Group Mapping: MS Windows and UNIX</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="passdb.html" title="Chapter 11. Account Information Databases"><link rel="next" href="NetCommand.html" title="Chapter 13. Remote and Local Management: The Net Command"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 12. Group Mapping: MS Windows and UNIX</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="passdb.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="NetCommand.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="groupmapping"></a>Chapter 12. Group Mapping: MS Windows and UNIX</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2595891">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="groupmapping.html#id2596307">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2596644">Warning: User Private Group Problems</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2597278">Important Administrative Information</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2597518">Default Users, Groups, and Relative Identifiers</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2598143">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2598220">Configuration Scripts</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2598231">Sample smb.conf Add Group Script</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2598403">Script to Configure Group Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2598530">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2598543">Adding Groups Fails</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2598630">Adding Domain Users to the Workstation Power Users Group</a></span></dt></dl></dd></dl></div><p>2 <a class="indexterm" name="id2 595765"></a>3 <a class="indexterm" name="id2 595774"></a>4 <a class="indexterm" name="id2 595781"></a>5 <a class="indexterm" name="id2 595788"></a>6 <a class="indexterm" name="id2 595794"></a>7 <a class="indexterm" name="id2 595801"></a>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 12. Group Mapping: MS Windows and UNIX</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="passdb.html" title="Chapter 11. Account Information Databases"><link rel="next" href="NetCommand.html" title="Chapter 13. Remote and Local Management: The Net Command"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 12. Group Mapping: MS Windows and UNIX</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="passdb.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="NetCommand.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 12. Group Mapping: MS Windows and UNIX"><div class="titlepage"><div><div><h2 class="title"><a name="groupmapping"></a>Chapter 12. Group Mapping: MS Windows and UNIX</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2601958">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="groupmapping.html#id2602374">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2602711">Warning: User Private Group Problems</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2603344">Important Administrative Information</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2603585">Default Users, Groups, and Relative Identifiers</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2604210">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2604286">Configuration Scripts</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2604298">Sample <code class="filename">smb.conf</code> Add Group Script</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2604470">Script to Configure Group Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2604597">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2604610">Adding Groups Fails</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2604697">Adding Domain Users to the Workstation Power Users Group</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2601832"></a> 3 <a class="indexterm" name="id2601841"></a> 4 <a class="indexterm" name="id2601847"></a> 5 <a class="indexterm" name="id2601854"></a> 6 <a class="indexterm" name="id2601861"></a> 7 <a class="indexterm" name="id2601868"></a> 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="id2 595826"></a>13 <a class="indexterm" name="id2 595833"></a>12 <a class="indexterm" name="id2601893"></a> 13 <a class="indexterm" name="id2601900"></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 16 16 to a UNIX group that has a value other than the default (<code class="constant">-1</code>) will be exposed 17 17 in group selection lists in tools that access domain users and groups. 18 </p><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>19 <a class="indexterm" name="id2 595855"></a>20 <a class="indexterm" name="id2 595862"></a>18 </p><div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p> 19 <a class="indexterm" name="id2601922"></a> 20 <a class="indexterm" name="id2601929"></a> 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="id2595891"></a>Features and Benefits</h2></div></div></div><p>25 </p></div><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2601958"></a>Features and Benefits</h2></div></div></div><p> 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="id2 595905"></a>30 <a class="indexterm" name="id2 595912"></a>31 <a class="indexterm" name="id2 595918"></a>32 <a class="indexterm" name="id2 595925"></a>33 <a class="indexterm" name="id2 595931"></a>34 <a class="indexterm" name="id2 595938"></a>35 <a class="indexterm" name="id2 595945"></a>29 <a class="indexterm" name="id2601972"></a> 30 <a class="indexterm" name="id2601978"></a> 31 <a class="indexterm" name="id2601985"></a> 32 <a class="indexterm" name="id2601992"></a> 33 <a class="indexterm" name="id2601998"></a> 34 <a class="indexterm" name="id2602005"></a> 35 <a class="indexterm" name="id2602012"></a> 36 36 Group accounts can be managed using the MS Windows NT4 or MS Windows 200x/XP Professional MMC tools. 37 37 Appropriate interface scripts should be provided in <code class="filename">smb.conf</code> if it is desired that UNIX/Linux system … … 42 42 parameters in the <code class="filename">smb.conf</code> file. 43 43 </p><div class="figure"><a name="idmap-sid2gid"></a><p class="title"><b>Figure 12.1. IDMAP: Group SID-to-GID Resolution.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/idmap-sid2gid.png" width="270" alt="IDMAP: Group SID-to-GID Resolution."></div></div></div><br class="figure-break"><div class="figure"><a name="idmap-gid2sid"></a><p class="title"><b>Figure 12.2. IDMAP: GID Resolution to Matching SID.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/idmap-gid2sid.png" width="270" alt="IDMAP: GID Resolution to Matching SID."></div></div></div><br class="figure-break"><p> 44 <a class="indexterm" name="id2 596088"></a>45 <a class="indexterm" name="id2 596095"></a>46 <a class="indexterm" name="id2 596102"></a>47 <a class="indexterm" name="id2 596110"></a>44 <a class="indexterm" name="id2602155"></a> 45 <a class="indexterm" name="id2602161"></a> 46 <a class="indexterm" name="id2602168"></a> 47 <a class="indexterm" name="id2602177"></a> 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="id2 596197"></a>54 <a class="indexterm" name="id2 596203"></a>55 <a class="indexterm" name="id2 596210"></a>56 <a class="indexterm" name="id2 596217"></a>53 <a class="indexterm" name="id2602263"></a> 54 <a class="indexterm" name="id2602270"></a> 55 <a class="indexterm" name="id2602277"></a> 56 <a class="indexterm" name="id2602283"></a> 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="id2 596265"></a>66 <a class="indexterm" name="id2 596271"></a>65 <a class="indexterm" name="id2602331"></a> 66 <a class="indexterm" name="id2602338"></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="id2 596287"></a>72 <a class="indexterm" name="id2602354"></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="id2596307"></a>Discussion</h2></div></div></div><p>77 <a class="indexterm" name="id2 596315"></a>78 <a class="indexterm" name="id2 596322"></a>76 </p></div><div class="sect1" title="Discussion"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2602374"></a>Discussion</h2></div></div></div><p> 77 <a class="indexterm" name="id2602382"></a> 78 <a class="indexterm" name="id2602389"></a> 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="id2 596347"></a>85 <a class="indexterm" name="id2602414"></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="id2 596386"></a>92 <a class="indexterm" name="id2 596393"></a>93 <a class="indexterm" name="id2 596400"></a>94 <a class="indexterm" name="id2 596407"></a>95 When an MS Windows NT4/200x/XP machine is made a domain member, the “<span class="quote">Domain Admins</span>”group of the91 <a class="indexterm" name="id2602452"></a> 92 <a class="indexterm" name="id2602459"></a> 93 <a class="indexterm" name="id2602466"></a> 94 <a class="indexterm" name="id2602473"></a> 95 When an MS Windows NT4/200x/XP machine is made a domain member, the <span class="quote">“<span class="quote">Domain Admins</span>”</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 97 97 <code class="constant">Domain Admins</code> group inherits the rights of the local <code class="constant">Administrators</code> group when 98 98 logging on the workstation. 99 99 </p><p> 100 <a class="indexterm" name="id2 596435"></a>101 <a class="indexterm" name="id2 596442"></a>100 <a class="indexterm" name="id2602502"></a> 101 <a class="indexterm" name="id2602509"></a> 102 102 The following steps describe how to make Samba PDC users members of the <code class="constant">Domain Admins</code> group. 103 </p><div class="orderedlist"><ol type="1"><li><p>103 </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p> 104 104 Create a UNIX group (usually in <code class="filename">/etc/group</code>); let's call it <code class="constant">domadm</code>. 105 </p></li><li ><p>106 <a class="indexterm" name="id2 596480"></a>107 Add to this group the users that must be “<span class="quote">Administrators</span>”. For example,105 </p></li><li class="listitem"><p> 106 <a class="indexterm" name="id2602546"></a> 107 Add to this group the users that must be <span class="quote">“<span class="quote">Administrators</span>”</span>. For example, 108 108 if you want <code class="constant">joe, john</code>, and <code class="constant">mary</code> to be administrators, 109 109 your entry in <code class="filename">/etc/group</code> will look like this: … … 111 111 domadm:x:502:joe,john,mary 112 112 </pre><p> 113 </p></li><li ><p>114 Map this domadm group to the “<span class="quote">Domain Admins</span>”group by executing the command:113 </p></li><li class="listitem"><p> 114 Map this domadm group to the <span class="quote">“<span class="quote">Domain Admins</span>”</span> group by executing the command: 115 115 </p><p> 116 116 </p><pre class="screen"> … … 118 118 </pre><p> 119 119 </p><p> 120 <a class="indexterm" name="id2 596547"></a>121 The quotes around “<span class="quote">Domain Admins</span>”are necessary due to the space in the group name.120 <a class="indexterm" name="id2602614"></a> 121 The quotes around <span class="quote">“<span class="quote">Domain Admins</span>”</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 (=). 123 123 </p></li></ol></div><p> 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="id2 596576"></a>126 <a class="indexterm" name="id2602643"></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="id2 596623"></a>139 <a class="indexterm" name="id2 596630"></a>138 <a class="indexterm" name="id2602690"></a> 139 <a class="indexterm" name="id2602696"></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="id2596644"></a>Warning: User Private Group Problems</h3></div></div></div><p>146 <a class="indexterm" name="id2 596652"></a>147 <a class="indexterm" name="id2 596659"></a>148 <a class="indexterm" name="id2 596666"></a>145 </p><div class="sect2" title="Warning: User Private Group Problems"><div class="titlepage"><div><div><h3 class="title"><a name="id2602711"></a>Warning: User Private Group Problems</h3></div></div></div><p> 146 <a class="indexterm" name="id2602719"></a> 147 <a class="indexterm" name="id2602726"></a> 148 <a class="indexterm" name="id2602733"></a> 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="id2 596682"></a>156 <a class="indexterm" name="id2 596689"></a>155 <a class="indexterm" name="id2602749"></a> 156 <a class="indexterm" name="id2602756"></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="id2596702"></a>Nested Groups: Adding Windows Domain Groups to Windows Local Groups</h3></div></div></div><a class="indexterm" name="id2596708"></a><p>161 <a class="indexterm" name="id2 596719"></a>160 </p></div><div class="sect2" title="Nested Groups: Adding Windows Domain Groups to Windows Local Groups"><div class="titlepage"><div><div><h3 class="title"><a name="id2602768"></a>Nested Groups: Adding Windows Domain Groups to Windows Local Groups</h3></div></div></div><a class="indexterm" name="id2602775"></a><p> 161 <a class="indexterm" name="id2602786"></a> 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="id2 596735"></a>165 <a class="indexterm" name="id2602801"></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="id2 596748"></a>171 <a class="indexterm" name="id2 596755"></a>172 <a class="indexterm" name="id2 596762"></a>173 <a class="indexterm" name="id2 596769"></a>174 <a class="indexterm" name="id2 596776"></a>175 <a class="indexterm" name="id2 596783"></a>176 <a class="indexterm" name="id2 596790"></a>170 <a class="indexterm" name="id2602815"></a> 171 <a class="indexterm" name="id2602822"></a> 172 <a class="indexterm" name="id2602829"></a> 173 <a class="indexterm" name="id2602836"></a> 174 <a class="indexterm" name="id2602843"></a> 175 <a class="indexterm" name="id2602850"></a> 176 <a class="indexterm" name="id2602857"></a> 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="id2 596808"></a>184 <a class="indexterm" name="id2 596815"></a>185 <a class="indexterm" name="id2 596822"></a>183 <a class="indexterm" name="id2602875"></a> 184 <a class="indexterm" name="id2602882"></a> 185 <a class="indexterm" name="id2602889"></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="id2 596842"></a>194 <a class="indexterm" name="id2 596849"></a>195 <a class="indexterm" name="id2 596856"></a>196 <a class="indexterm" name="id2 596862"></a>193 <a class="indexterm" name="id2602908"></a> 194 <a class="indexterm" name="id2602916"></a> 195 <a class="indexterm" name="id2602922"></a> 196 <a class="indexterm" name="id2602929"></a> 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="id2 596886"></a>205 <a class="indexterm" name="id2 596893"></a>206 <a class="indexterm" name="id2 596900"></a>207 <a class="indexterm" name="id2 596907"></a>208 <a class="indexterm" name="id2 596914"></a>209 <a class="indexterm" name="id2 596921"></a>210 <a class="indexterm" name="id2 596928"></a>211 <a class="indexterm" name="id2 596935"></a>204 <a class="indexterm" name="id2602953"></a> 205 <a class="indexterm" name="id2602960"></a> 206 <a class="indexterm" name="id2602967"></a> 207 <a class="indexterm" name="id2602974"></a> 208 <a class="indexterm" name="id2602981"></a> 209 <a class="indexterm" name="id2602988"></a> 210 <a class="indexterm" name="id2602994"></a> 211 <a class="indexterm" name="id2603001"></a> 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="id2 596963"></a>221 <a class="indexterm" name="id2 596970"></a>222 <a class="indexterm" name="id2 596977"></a>223 <a class="indexterm" name="id2 596983"></a>220 <a class="indexterm" name="id2603029"></a> 221 <a class="indexterm" name="id2603036"></a> 222 <a class="indexterm" name="id2603043"></a> 223 <a class="indexterm" name="id2603050"></a> 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="id2 597014"></a>232 <a class="indexterm" name="id2 597021"></a>233 <a class="indexterm" name="id2 597028"></a>234 <a class="indexterm" name="id2 597035"></a>235 <a class="indexterm" name="id2 597042"></a>231 <a class="indexterm" name="id2603081"></a> 232 <a class="indexterm" name="id2603087"></a> 233 <a class="indexterm" name="id2603094"></a> 234 <a class="indexterm" name="id2603101"></a> 235 <a class="indexterm" name="id2603108"></a> 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="id2 597088"></a>246 <a class="indexterm" name="id2 597095"></a>247 <a class="indexterm" name="id2 597102"></a>248 <a class="indexterm" name="id2 597108"></a>249 <a class="indexterm" name="id2 597115"></a>250 <a class="indexterm" name="id2 597122"></a>251 <a class="indexterm" name="id2 597129"></a>245 <a class="indexterm" name="id2603154"></a> 246 <a class="indexterm" name="id2603161"></a> 247 <a class="indexterm" name="id2603168"></a> 248 <a class="indexterm" name="id2603175"></a> 249 <a class="indexterm" name="id2603182"></a> 250 <a class="indexterm" name="id2603188"></a> 251 <a class="indexterm" name="id2603195"></a> 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="id2 597172"></a>260 <a class="indexterm" name="id2 597179"></a>259 <a class="indexterm" name="id2603239"></a> 260 <a class="indexterm" name="id2603246"></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 263 263 group members can be done via the <code class="constant">addmem</code> and <code class="constant">delmem</code> subcommands of 264 <code class="literal">net rpc group</code> command. For example, addition of “<span class="quote">DOM\Domain Users</span>”to the264 <code class="literal">net rpc group</code> command. For example, addition of <span class="quote">“<span class="quote">DOM\Domain Users</span>”</span> to the 265 265 local group <code class="constant">demo</code> is done by executing: 266 266 </p><pre class="screen"> 267 267 net rpc group addmem demo "DOM\Domain Users" 268 268 </pre><p> 269 <a class="indexterm" name="id2 597219"></a>270 <a class="indexterm" name="id2 597226"></a>271 <a class="indexterm" name="id2 597233"></a>272 <a class="indexterm" name="id2 597240"></a>269 <a class="indexterm" name="id2603285"></a> 270 <a class="indexterm" name="id2603292"></a> 271 <a class="indexterm" name="id2603299"></a> 272 <a class="indexterm" name="id2603306"></a> 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="id2597278"></a>Important Administrative Information</h3></div></div></div><p>280 </p></div><div class="sect2" title="Important Administrative Information"><div class="titlepage"><div><div><h3 class="title"><a name="id2603344"></a>Important Administrative Information</h3></div></div></div><p> 281 281 Administrative rights are necessary in two specific forms: 282 </p><div class="orderedlist"><ol type="1"><li><p>For Samba-3 domain controllers and domain member servers/clients.</p></li><li><p>To manage domain member Windows workstations.</p></li></ol></div><p>283 <a class="indexterm" name="id2 597309"></a>284 <a class="indexterm" name="id2 597316"></a>285 <a class="indexterm" name="id2 597323"></a>282 </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>For Samba-3 domain controllers and domain member servers/clients.</p></li><li class="listitem"><p>To manage domain member Windows workstations.</p></li></ol></div><p> 283 <a class="indexterm" name="id2603375"></a> 284 <a class="indexterm" name="id2603382"></a> 285 <a class="indexterm" name="id2603389"></a> 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="id2 597340"></a>292 <a class="indexterm" name="id2 597347"></a>293 <a class="indexterm" name="id2 597354"></a>291 <a class="indexterm" name="id2603407"></a> 292 <a class="indexterm" name="id2603414"></a> 293 <a class="indexterm" name="id2603420"></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="id2 597375"></a>299 <a class="indexterm" name="id2 597382"></a>298 <a class="indexterm" name="id2603442"></a> 299 <a class="indexterm" name="id2603448"></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="id2597396"></a>Applicable Only to Versions Earlier than 3.0.11</h4></div></div></div><p>303 <a class="indexterm" name="id2 597405"></a>302 </p><div class="sect3" title="Applicable Only to Versions Earlier than 3.0.11"><div class="titlepage"><div><div><h4 class="title"><a name="id2603463"></a>Applicable Only to Versions Earlier than 3.0.11</h4></div></div></div><p> 303 <a class="indexterm" name="id2603471"></a> 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="id2 597422"></a>309 <a class="indexterm" name="id2 597429"></a>308 <a class="indexterm" name="id2603489"></a> 309 <a class="indexterm" name="id2603496"></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="id2 597448"></a>315 <a class="indexterm" name="id2 597454"></a>316 <a class="indexterm" name="id2 597461"></a>317 <a class="indexterm" name="id2 597468"></a>318 <a class="indexterm" name="id2 597475"></a>319 <a class="indexterm" name="id2 597482"></a>314 <a class="indexterm" name="id2603514"></a> 315 <a class="indexterm" name="id2603521"></a> 316 <a class="indexterm" name="id2603528"></a> 317 <a class="indexterm" name="id2603535"></a> 318 <a class="indexterm" name="id2603542"></a> 319 <a class="indexterm" name="id2603549"></a> 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="id2597518"></a>Default Users, Groups, and Relative Identifiers</h3></div></div></div><p>328 <a class="indexterm" name="id2 597526"></a>329 <a class="indexterm" name="id2 597536"></a>330 <a class="indexterm" name="id2 597542"></a>331 <a class="indexterm" name="id2 597549"></a>332 <a class="indexterm" name="id2 597556"></a>333 <a class="indexterm" name="id2 597563"></a>334 <a class="indexterm" name="id2 597570"></a>335 <a class="indexterm" name="id2 597576"></a>327 </p></div></div><div class="sect2" title="Default Users, Groups, and Relative Identifiers"><div class="titlepage"><div><div><h3 class="title"><a name="id2603585"></a>Default Users, Groups, and Relative Identifiers</h3></div></div></div><p> 328 <a class="indexterm" name="id2603593"></a> 329 <a class="indexterm" name="id2603602"></a> 330 <a class="indexterm" name="id2603609"></a> 331 <a class="indexterm" name="id2603616"></a> 332 <a class="indexterm" name="id2603623"></a> 333 <a class="indexterm" name="id2603630"></a> 334 <a class="indexterm" name="id2603636"></a> 335 <a class="indexterm" name="id2603643"></a> 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="id2 597598"></a>344 <a class="indexterm" name="id2 597605"></a>345 <a class="indexterm" name="id2 597612"></a>346 <a class="indexterm" name="id2 597619"></a>343 <a class="indexterm" name="id2603665"></a> 344 <a class="indexterm" name="id2603672"></a> 345 <a class="indexterm" name="id2603679"></a> 346 <a class="indexterm" name="id2603686"></a> 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 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>350 <a class="indexterm" name="id2 597641"></a>351 <a class="indexterm" name="id2 597647"></a>352 <a class="indexterm" name="id2 597654"></a>353 <a class="indexterm" name="id2 597661"></a>354 <a class="indexterm" name="id2 597668"></a>349 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 350 <a class="indexterm" name="id2603707"></a> 351 <a class="indexterm" name="id2603714"></a> 352 <a class="indexterm" name="id2603721"></a> 353 <a class="indexterm" name="id2603728"></a> 354 <a class="indexterm" name="id2603734"></a> 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="id2 597680"></a>359 <a class="indexterm" name="id2 597687"></a>358 <a class="indexterm" name="id2603746"></a> 359 <a class="indexterm" name="id2603753"></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="id2598143"></a>Example Configuration</h3></div></div></div><p>369 <a class="indexterm" name="id2 598151"></a>368 </p></div><div class="sect2" title="Example Configuration"><div class="titlepage"><div><div><h3 class="title"><a name="id2604210"></a>Example Configuration</h3></div></div></div><p> 369 <a class="indexterm" name="id2604218"></a> 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="id2 598173"></a>373 <a class="indexterm" name="id2604240"></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="id2598220"></a>Configuration Scripts</h2></div></div></div><p>382 </p></div></div><div class="sect1" title="Configuration Scripts"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2604286"></a>Configuration Scripts</h2></div></div></div><p> 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="id2598231"></a>Sample <code class="filename">smb.conf</code> Add Group Script</h3></div></div></div><p>386 <a class="indexterm" name="id2 598245"></a>387 <a class="indexterm" name="id2 598252"></a>388 <a class="indexterm" name="id2 598259"></a>389 <a class="indexterm" name="id2 598266"></a>390 <a class="indexterm" name="id2 598273"></a>385 </p><div class="sect2" title="Sample smb.conf Add Group Script"><div class="titlepage"><div><div><h3 class="title"><a name="id2604298"></a>Sample <code class="filename">smb.conf</code> Add Group Script</h3></div></div></div><p> 386 <a class="indexterm" name="id2604312"></a> 387 <a class="indexterm" name="id2604319"></a> 388 <a class="indexterm" name="id2604326"></a> 389 <a class="indexterm" name="id2604333"></a> 390 <a class="indexterm" name="id2604340"></a> 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="id2598388"></a><em class="parameter"><code>add group script = /path_to_tool/smbgrpadd.sh "%g"</code></em></td></tr></table></div></div><p><br class="example-break">419 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2598403"></a>Script to Configure Group Mapping</h3></div></div></div><p>420 <a class="indexterm" name="id2 598411"></a>418 </p><div class="example"><a name="smbgrpadd"></a><p class="title"><b>Example 12.2. Configuration of <code class="filename">smb.conf</code> for the add group Script</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2604454"></a><em class="parameter"><code>add group script = /path_to_tool/smbgrpadd.sh "%g"</code></em></td></tr></table></div></div><p><br class="example-break"> 419 </p></div><div class="sect2" title="Script to Configure Group Mapping"><div class="titlepage"><div><div><h3 class="title"><a name="id2604470"></a>Script to Configure Group Mapping</h3></div></div></div><p> 420 <a class="indexterm" name="id2604478"></a> 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="id2 598461"></a>426 <a class="indexterm" name="id2604528"></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 … … 444 444 For information regarding the use of the <code class="literal">net groupmap</code> tool please 445 445 refer to the man page. 446 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>446 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 447 447 Versions of Samba-3 prior to 3.0.23 automatically create default group mapping for the 448 448 <code class="literal">Domain Admins, Domain Users</code> and <code class="literal">Domain Guests</code> Windows … … 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="id2598530"></a>Common Errors</h2></div></div></div><p>453 </p></div></div></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2604597"></a>Common Errors</h2></div></div></div><p> 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="id2598543"></a>Adding Groups Fails</h3></div></div></div><p>458 <a class="indexterm" name="id2 598551"></a>457 </p><div class="sect2" title="Adding Groups Fails"><div class="titlepage"><div><div><h3 class="title"><a name="id2604610"></a>Adding Groups Fails</h3></div></div></div><p> 458 <a class="indexterm" name="id2604618"></a> 459 459 This is a common problem when the <code class="literal">groupadd</code> is called directly 460 460 by the Samba interface script for the <a class="link" href="smb.conf.5.html#ADDGROUPSCRIPT" 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="id2 598588"></a>464 <a class="indexterm" name="id2 598595"></a>463 <a class="indexterm" name="id2604655"></a> 464 <a class="indexterm" name="id2604662"></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="id2 598608"></a>468 <a class="indexterm" name="id2604675"></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="id2598630"></a>Adding Domain Users to the Workstation Power Users Group</h3></div></div></div><p>“<span class="quote">475 </p></div><div class="sect2" title="Adding Domain Users to the Workstation Power Users Group"><div class="titlepage"><div><div><h3 class="title"><a name="id2604697"></a>Adding Domain Users to the Workstation Power Users Group</h3></div></div></div><p><span class="quote">“<span class="quote"> 476 476 What must I do to add domain users to the Power Users group? 477 </span>”</ p><p>478 <a class="indexterm" name="id2 598644"></a>477 </span>”</span></p><p> 478 <a class="indexterm" name="id2604711"></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 481 481 each workstation by logging in as the local workstation <span class="emphasis"><em>administrator</em></span> and 482 482 then using the following procedure: 483 </p><div class="procedure"><ol type="1"><li><p>483 </p><div class="procedure"><ol class="procedure" type="1"><li class="step" title="Step 1"><p> 484 484 Click <span class="guimenu">Start -> Control Panel -> Users and Passwords</span>. 485 </p></li><li ><p>485 </p></li><li class="step" title="Step 2"><p> 486 486 Click the <span class="guimenuitem">Advanced</span> tab. 487 </p></li><li ><p>487 </p></li><li class="step" title="Step 3"><p> 488 488 Click the <span class="guibutton">Advanced</span> button. 489 </p></li><li ><p>489 </p></li><li class="step" title="Step 4"><p> 490 490 Click <code class="constant">Groups</code>. 491 </p></li><li ><p>491 </p></li><li class="step" title="Step 5"><p> 492 492 Double-click <code class="constant">Power Users</code>. This will launch the panel to add users or groups 493 493 to the local machine <code class="constant">Power Users</code> group. 494 </p></li><li ><p>494 </p></li><li class="step" title="Step 6"><p> 495 495 Click the <span class="guibutton">Add</span> button. 496 </p></li><li ><p>496 </p></li><li class="step" title="Step 7"><p> 497 497 Select the domain from which the <code class="constant">Domain Users</code> group is to be added. 498 </p></li><li ><p>498 </p></li><li class="step" title="Step 8"><p> 499 499 Double-click the <code class="constant">Domain Users</code> group. 500 </p></li><li ><p>500 </p></li><li class="step" title="Step 9"><p> 501 501 Click the <span class="guibutton">OK</span> button. If a logon box is presented during this process, 502 502 please remember to enter the connect as <code class="constant">DOMAIN\UserName</code>, that is, for the -
branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/idmapper.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 14. Identity Mapping (IDMAP)</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="NetCommand.html" title="Chapter 13. Remote and Local Management: The Net Command"><link rel="next" href="rights.html" title="Chapter 15. User Rights and Privileges"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 14. Identity Mapping (IDMAP)</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="NetCommand.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="rights.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="idmapper"></a>Chapter 14. Identity Mapping (IDMAP)</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2604468">Samba Server Deployment Types and IDMAP</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2604493">Standalone Samba Server</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2605507">Primary Domain Controller</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2605741">Backup Domain Controller</a></span></dt></dl></dd><dt><span class="sect1"><a href="idmapper.html#id2605813">Examples of IDMAP Backend Usage</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2605876">Default Winbind TDB</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2606598">IDMAP_RID with Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2607189">IDMAP Storage in LDAP Using Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2607774">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></span></dt></dl></dd></dl></div><p>2 <a class="indexterm" name="id26 04193"></a>3 <a class="indexterm" name="id26 04200"></a>4 <a class="indexterm" name="id26 04207"></a>5 <a class="indexterm" name="id26 04214"></a>6 <a class="indexterm" name="id26 04223"></a>7 <a class="indexterm" name="id26 04230"></a>8 <a class="indexterm" name="id26 04236"></a>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 14. Identity Mapping (IDMAP)</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="NetCommand.html" title="Chapter 13. Remote and Local Management: The Net Command"><link rel="next" href="rights.html" title="Chapter 15. User Rights and Privileges"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 14. Identity Mapping (IDMAP)</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="NetCommand.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="rights.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 14. Identity Mapping (IDMAP)"><div class="titlepage"><div><div><h2 class="title"><a name="idmapper"></a>Chapter 14. Identity Mapping (IDMAP)</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2610535">Samba Server Deployment Types and IDMAP</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2610560">Standalone Samba Server</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2611579">Primary Domain Controller</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2611813">Backup Domain Controller</a></span></dt></dl></dd><dt><span class="sect1"><a href="idmapper.html#id2611885">Examples of IDMAP Backend Usage</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2611948">Default Winbind TDB</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2612670">IDMAP_RID with Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2613261">IDMAP Storage in LDAP Using Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2613846">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2610260"></a> 3 <a class="indexterm" name="id2610267"></a> 4 <a class="indexterm" name="id2610274"></a> 5 <a class="indexterm" name="id2610281"></a> 6 <a class="indexterm" name="id2610290"></a> 7 <a class="indexterm" name="id2610297"></a> 8 <a class="indexterm" name="id2610303"></a> 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="id26 04260"></a>20 <a class="indexterm" name="id26 04267"></a>21 <a class="indexterm" name="id26 04274"></a>22 <a class="indexterm" name="id26 04281"></a>19 <a class="indexterm" name="id2610327"></a> 20 <a class="indexterm" name="id2610334"></a> 21 <a class="indexterm" name="id2610341"></a> 22 <a class="indexterm" name="id2610348"></a> 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="id26 04302"></a>30 <a class="indexterm" name="id26 04308"></a>31 <a class="indexterm" name="id26 04314"></a>32 <a class="indexterm" name="id26 04321"></a>33 <a class="indexterm" name="id26 04328"></a>34 <a class="indexterm" name="id26 04334"></a>35 <a class="indexterm" name="id26 04341"></a>36 <a class="indexterm" name="id26 04348"></a>29 <a class="indexterm" name="id2610368"></a> 30 <a class="indexterm" name="id2610375"></a> 31 <a class="indexterm" name="id2610381"></a> 32 <a class="indexterm" name="id2610388"></a> 33 <a class="indexterm" name="id2610394"></a> 34 <a class="indexterm" name="id2610401"></a> 35 <a class="indexterm" name="id2610408"></a> 36 <a class="indexterm" name="id2610415"></a> 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="id26 04377" href="#ftn.id2604377" class="footnote">4</a>]</sup> free from inadvertent cross-over, close attention should be given44 <code class="literal">FRANCISCUS\FJones</code><sup>[<a name="id2610444" href="#ftn.id2610444" class="footnote">4</a>]</sup> free from inadvertent cross-over, close attention should be given 45 45 to the way that the IDMAP facility is configured. 46 46 </p><p> 47 <a class="indexterm" name="id26 04405"></a>48 <a class="indexterm" name="id26 04411"></a>49 <a class="indexterm" name="id26 04418"></a>50 <a class="indexterm" name="id26 04425"></a>51 <a class="indexterm" name="id26 04431"></a>52 <a class="indexterm" name="id26 04438"></a>47 <a class="indexterm" name="id2610471"></a> 48 <a class="indexterm" name="id2610478"></a> 49 <a class="indexterm" name="id2610485"></a> 50 <a class="indexterm" name="id2610492"></a> 51 <a class="indexterm" name="id2610498"></a> 52 <a class="indexterm" name="id2610505"></a> 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="id26 04452"></a>57 <a class="indexterm" name="id2610519"></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="id2604468"></a>Samba Server Deployment Types and IDMAP</h2></div></div></div><p>60 <a class="indexterm" name="id26 04476"></a>59 </p><div class="sect1" title="Samba Server Deployment Types and IDMAP"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2610535"></a>Samba Server Deployment Types and IDMAP</h2></div></div></div><p> 60 <a class="indexterm" name="id2610543"></a> 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="id2604493"></a>Standalone Samba Server</h3></div></div></div><p>64 <a class="indexterm" name="id26 04501"></a>65 <a class="indexterm" name="id26 04508"></a>66 <a class="indexterm" name="id26 04514"></a>63 </p><div class="sect2" title="Standalone Samba Server"><div class="titlepage"><div><div><h3 class="title"><a name="id2610560"></a>Standalone Samba Server</h3></div></div></div><p> 64 <a class="indexterm" name="id2610568"></a> 65 <a class="indexterm" name="id2610574"></a> 66 <a class="indexterm" name="id2610581"></a> 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="id26 04527"></a>71 <a class="indexterm" name="id26 04534"></a>72 <a class="indexterm" name="id26 04541"></a>70 <a class="indexterm" name="id2610594"></a> 71 <a class="indexterm" name="id2610601"></a> 72 <a class="indexterm" name="id2610608"></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="id2604555"></a>Domain Member Server or Domain Member Client</h3></div></div></div><p>78 <a class="indexterm" name="id26 04564"></a>79 <a class="indexterm" name="id26 04570"></a>80 <a class="indexterm" name="id26 04577"></a>81 <a class="indexterm" name="id26 04584"></a>82 <a class="indexterm" name="id26 04590"></a>77 </p></div><div class="sect2" title="Domain Member Server or Domain Member Client"><div class="titlepage"><div><div><h3 class="title"><a name="id2610622"></a>Domain Member Server or Domain Member Client</h3></div></div></div><p> 78 <a class="indexterm" name="id2610630"></a> 79 <a class="indexterm" name="id2610637"></a> 80 <a class="indexterm" name="id2610644"></a> 81 <a class="indexterm" name="id2610650"></a> 82 <a class="indexterm" name="id2610657"></a> 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="id26 04606"></a>89 <a class="indexterm" name="id26 04613"></a>90 <a class="indexterm" name="id26 04619"></a>88 <a class="indexterm" name="id2610678"></a> 89 <a class="indexterm" name="id2610685"></a> 90 <a class="indexterm" name="id2610691"></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="id26 04634"></a>96 <a class="indexterm" name="id26 04640"></a>95 <a class="indexterm" name="id2610706"></a> 96 <a class="indexterm" name="id2610712"></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="id26 04671"></a>103 <a class="indexterm" name="id26 04678"></a>104 <a class="indexterm" name="id26 04684"></a>105 <a class="indexterm" name="id26 04691"></a>106 <a class="indexterm" name="id26 04698"></a>107 <a class="indexterm" name="id26 04705"></a>108 <a class="indexterm" name="id26 04712"></a>109 <a class="indexterm" name="id26 04718"></a>110 <a class="indexterm" name="id26 04725"></a>111 <a class="indexterm" name="id26 04732"></a>112 <a class="indexterm" name="id26 04739"></a>102 <a class="indexterm" name="id2610743"></a> 103 <a class="indexterm" name="id2610750"></a> 104 <a class="indexterm" name="id2610756"></a> 105 <a class="indexterm" name="id2610763"></a> 106 <a class="indexterm" name="id2610770"></a> 107 <a class="indexterm" name="id2610777"></a> 108 <a class="indexterm" name="id2610784"></a> 109 <a class="indexterm" name="id2610790"></a> 110 <a class="indexterm" name="id2610797"></a> 111 <a class="indexterm" name="id2610804"></a> 112 <a class="indexterm" name="id2610811"></a> 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="id26 04781"></a>123 <a class="indexterm" name="id26 04788"></a>122 <a class="indexterm" name="id2610853"></a> 123 <a class="indexterm" name="id2610860"></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="id26 04819"></a>130 <a class="indexterm" name="id26 04826"></a>131 <a class="indexterm" name="id26 04833"></a>132 <a class="indexterm" name="id26 04840"></a>133 <a class="indexterm" name="id26 04846"></a>134 <a class="indexterm" name="id26 04853"></a>135 <a class="indexterm" name="id26 04859"></a>136 <a class="indexterm" name="id26 04866"></a>129 <a class="indexterm" name="id2610891"></a> 130 <a class="indexterm" name="id2610898"></a> 131 <a class="indexterm" name="id2610905"></a> 132 <a class="indexterm" name="id2610912"></a> 133 <a class="indexterm" name="id2610918"></a> 134 <a class="indexterm" name="id2610925"></a> 135 <a class="indexterm" name="id2610931"></a> 136 <a class="indexterm" name="id2610938"></a> 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="id26 04889"></a>142 <a class="indexterm" name="id26 04896"></a>143 <a class="indexterm" name="id26 04903"></a>144 <a class="indexterm" name="id26 04910"></a>145 <a class="indexterm" name="id26 04917"></a>146 <a class="indexterm" name="id26 04924"></a>141 <a class="indexterm" name="id2610961"></a> 142 <a class="indexterm" name="id2610968"></a> 143 <a class="indexterm" name="id2610975"></a> 144 <a class="indexterm" name="id2610982"></a> 145 <a class="indexterm" name="id2610989"></a> 146 <a class="indexterm" name="id2610996"></a> 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="id26 04939"></a>153 <a class="indexterm" name="id26 04946"></a>154 <a class="indexterm" name="id26 04953"></a>155 <a class="indexterm" name="id26 04960"></a>156 <a class="indexterm" name="id26 04966"></a>157 <a class="indexterm" name="id26 04973"></a>158 <a class="indexterm" name="id26 04979"></a>152 <a class="indexterm" name="id2611011"></a> 153 <a class="indexterm" name="id2611018"></a> 154 <a class="indexterm" name="id2611025"></a> 155 <a class="indexterm" name="id2611032"></a> 156 <a class="indexterm" name="id2611038"></a> 157 <a class="indexterm" name="id2611045"></a> 158 <a class="indexterm" name="id2611051"></a> 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="id26 05002"></a>164 <a class="indexterm" name="id26 05009"></a>165 <a class="indexterm" name="id26 05016"></a>166 <a class="indexterm" name="id26 05023"></a>163 <a class="indexterm" name="id2611074"></a> 164 <a class="indexterm" name="id2611081"></a> 165 <a class="indexterm" name="id2611088"></a> 166 <a class="indexterm" name="id2611095"></a> 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="id26 05041"></a>175 <a class="indexterm" name="id26 05047"></a>176 <a class="indexterm" name="id26 05054"></a>177 <a class="indexterm" name="id26 05061"></a>178 <a class="indexterm" name="id26 05068"></a>174 <a class="indexterm" name="id2611113"></a> 175 <a class="indexterm" name="id2611119"></a> 176 <a class="indexterm" name="id2611126"></a> 177 <a class="indexterm" name="id2611133"></a> 178 <a class="indexterm" name="id2611140"></a> 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="id26 05102"></a>186 <a class="indexterm" name="id26 05108"></a>187 <a class="indexterm" name="id26 05115"></a>188 <a class="indexterm" name="id26 05122"></a>185 <a class="indexterm" name="id2611174"></a> 186 <a class="indexterm" name="id2611180"></a> 187 <a class="indexterm" name="id2611187"></a> 188 <a class="indexterm" name="id2611194"></a> 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="id26 05150"></a>198 <a class="indexterm" name="id26 05157"></a>199 <a class="indexterm" name="id26 05164"></a>200 <a class="indexterm" name="id26 05170"></a>197 <a class="indexterm" name="id2611222"></a> 198 <a class="indexterm" name="id2611229"></a> 199 <a class="indexterm" name="id2611236"></a> 200 <a class="indexterm" name="id2611242"></a> 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="id26 05189"></a>209 <a class="indexterm" name="id26 05196"></a>210 <a class="indexterm" name="id26 05203"></a>211 <a class="indexterm" name="id26 05210"></a>212 <a class="indexterm" name="id26 05216"></a>213 <a class="indexterm" name="id26 05223"></a>214 <a class="indexterm" name="id26 05229"></a>215 <a class="indexterm" name="id26 05236"></a>208 <a class="indexterm" name="id2611261"></a> 209 <a class="indexterm" name="id2611268"></a> 210 <a class="indexterm" name="id2611275"></a> 211 <a class="indexterm" name="id2611282"></a> 212 <a class="indexterm" name="id2611288"></a> 213 <a class="indexterm" name="id2611295"></a> 214 <a class="indexterm" name="id2611301"></a> 215 <a class="indexterm" name="id2611308"></a> 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="id26 05304"></a>226 <a class="indexterm" name="id26 05311"></a>227 <a class="indexterm" name="id26 05318"></a>228 <a class="indexterm" name="id26 05325"></a>229 <a class="indexterm" name="id26 05331"></a>230 <a class="indexterm" name="id26 05338"></a>231 <a class="indexterm" name="id26 05344"></a>232 <a class="indexterm" name="id26 05351"></a>225 <a class="indexterm" name="id2611376"></a> 226 <a class="indexterm" name="id2611383"></a> 227 <a class="indexterm" name="id2611390"></a> 228 <a class="indexterm" name="id2611397"></a> 229 <a class="indexterm" name="id2611403"></a> 230 <a class="indexterm" name="id2611410"></a> 231 <a class="indexterm" name="id2611416"></a> 232 <a class="indexterm" name="id2611423"></a> 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="id26 05390"></a>240 <a class="indexterm" name="id26 05397"></a>241 <a class="indexterm" name="id26 05404"></a>239 <a class="indexterm" name="id2611462"></a> 240 <a class="indexterm" name="id2611469"></a> 241 <a class="indexterm" name="id2611476"></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="id26 05445"></a>251 <a class="indexterm" name="id26 05452"></a>250 <a class="indexterm" name="id2611517"></a> 251 <a class="indexterm" name="id2611524"></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="id26 05470"></a>259 <a class="indexterm" name="id26 05477"></a>260 <a class="indexterm" name="id26 05483"></a>258 <a class="indexterm" name="id2611542"></a> 259 <a class="indexterm" name="id2611549"></a> 260 <a class="indexterm" name="id2611555"></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="id2605507"></a>Primary Domain Controller</h3></div></div></div><p>270 <a class="indexterm" name="id26 05515"></a>271 <a class="indexterm" name="id26 05522"></a>272 <a class="indexterm" name="id26 05528"></a>273 <a class="indexterm" name="id26 05535"></a>269 </p></dd></dl></div></div><div class="sect2" title="Primary Domain Controller"><div class="titlepage"><div><div><h3 class="title"><a name="id2611579"></a>Primary Domain Controller</h3></div></div></div><p> 270 <a class="indexterm" name="id2611587"></a> 271 <a class="indexterm" name="id2611594"></a> 272 <a class="indexterm" name="id2611600"></a> 273 <a class="indexterm" name="id2611607"></a> 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, … … 277 277 of producing a unique SID for each user and group. Samba generates a machine and a domain SID to which it 278 278 adds an RID that is calculated algorithmically from a base value that can be specified 279 in the <code class="filename">smb.conf</code> file, plus twice (2x) the UID or GID. This method is called “<span class="quote">algorithmic mapping</span>”.280 </p><p> 281 <a class="indexterm" name="id26 05564"></a>279 in the <code class="filename">smb.conf</code> file, plus twice (2x) the UID or GID. This method is called <span class="quote">“<span class="quote">algorithmic mapping</span>”</span>. 280 </p><p> 281 <a class="indexterm" name="id2611636"></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="id26 05596"></a>288 <a class="indexterm" name="id26 05602"></a>289 <a class="indexterm" name="id26 05609"></a>290 <a class="indexterm" name="id26 05616"></a>287 <a class="indexterm" name="id2611668"></a> 288 <a class="indexterm" name="id2611674"></a> 289 <a class="indexterm" name="id2611681"></a> 290 <a class="indexterm" name="id2611688"></a> 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="id26 05636"></a>296 <a class="indexterm" name="id26 05643"></a>297 <a class="indexterm" name="id26 05649"></a>298 <a class="indexterm" name="id26 05656"></a>299 <a class="indexterm" name="id26 05663"></a>300 <a class="indexterm" name="id26 05670"></a>301 <a class="indexterm" name="id26 05676"></a>302 <a class="indexterm" name="id26 05683"></a>303 <a class="indexterm" name="id26 05690"></a>295 <a class="indexterm" name="id2611708"></a> 296 <a class="indexterm" name="id2611715"></a> 297 <a class="indexterm" name="id2611721"></a> 298 <a class="indexterm" name="id2611728"></a> 299 <a class="indexterm" name="id2611735"></a> 300 <a class="indexterm" name="id2611742"></a> 301 <a class="indexterm" name="id2611748"></a> 302 <a class="indexterm" name="id2611755"></a> 303 <a class="indexterm" name="id2611762"></a> 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="id26 05706"></a>310 <a class="indexterm" name="id26 05713"></a>311 <a class="indexterm" name="id26 05720"></a>312 <a class="indexterm" name="id26 05726"></a>309 <a class="indexterm" name="id2611778"></a> 310 <a class="indexterm" name="id2611785"></a> 311 <a class="indexterm" name="id2611792"></a> 312 <a class="indexterm" name="id2611798"></a> 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="id2605741"></a>Backup Domain Controller</h3></div></div></div><p>318 <a class="indexterm" name="id26 05749"></a>319 <a class="indexterm" name="id26 05756"></a>320 <a class="indexterm" name="id26 05763"></a>321 <a class="indexterm" name="id26 05770"></a>322 <a class="indexterm" name="id26 05777"></a>323 <a class="indexterm" name="id26 05784"></a>324 <a class="indexterm" name="id26 05790"></a>317 </p></div><div class="sect2" title="Backup Domain Controller"><div class="titlepage"><div><div><h3 class="title"><a name="id2611813"></a>Backup Domain Controller</h3></div></div></div><p> 318 <a class="indexterm" name="id2611821"></a> 319 <a class="indexterm" name="id2611828"></a> 320 <a class="indexterm" name="id2611835"></a> 321 <a class="indexterm" name="id2611842"></a> 322 <a class="indexterm" name="id2611849"></a> 323 <a class="indexterm" name="id2611856"></a> 324 <a class="indexterm" name="id2611862"></a> 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="id2605813"></a>Examples of IDMAP Backend Usage</h2></div></div></div><p>334 <a class="indexterm" name="id26 05821"></a>335 <a class="indexterm" name="id26 05830"></a>336 <a class="indexterm" name="id26 05840"></a>337 <a class="indexterm" name="id26 05846"></a>338 <a class="indexterm" name="id26 05853"></a>333 </p></div></div><div class="sect1" title="Examples of IDMAP Backend Usage"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2611885"></a>Examples of IDMAP Backend Usage</h2></div></div></div><p> 334 <a class="indexterm" name="id2611893"></a> 335 <a class="indexterm" name="id2611902"></a> 336 <a class="indexterm" name="id2611912"></a> 337 <a class="indexterm" name="id2611918"></a> 338 <a class="indexterm" name="id2611925"></a> 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="id2605876"></a>Default Winbind TDB</h3></div></div></div><p>342 </p><div class="sect2" title="Default Winbind TDB"><div class="titlepage"><div><div><h3 class="title"><a name="id2611948"></a>Default Winbind TDB</h3></div></div></div><p> 343 343 Two common configurations are used: 344 </p><div class="itemizedlist"><ul type="disc"><li><p>344 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 345 345 Networks that have an NT4 PDC (with or without BDCs) or a Samba PDC (with or without BDCs). 346 </p></li><li ><p>346 </p></li><li class="listitem"><p> 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="id2605900"></a>NT4-Style Domains (Includes Samba Domains)</h4></div></div></div><p>348 </p></li></ul></div><div class="sect3" title="NT4-Style Domains (Includes Samba Domains)"><div class="titlepage"><div><div><h4 class="title"><a name="id2611972"></a>NT4-Style Domains (Includes Samba Domains)</h4></div></div></div><p> 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="id2605953"></a><em class="parameter"><code>workgroup = MEGANET2</code></em></td></tr><tr><td><a class="indexterm" name="id2605965"></a><em class="parameter"><code>security = DOMAIN</code></em></td></tr><tr><td><a class="indexterm" name="id2605976"></a><em class="parameter"><code>idmap uid = 10000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2605988"></a><em class="parameter"><code>idmap gid = 10000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2606000"></a><em class="parameter"><code>template primary group = "Domain Users"</code></em></td></tr><tr><td><a class="indexterm" name="id2606012"></a><em class="parameter"><code>template shell = /bin/bash</code></em></td></tr></table></div></div><br class="example-break"><p>352 <a class="indexterm" name="id26 06027"></a>353 <a class="indexterm" name="id26 06034"></a>351 </p><div class="example"><a name="idmapnt4dms"></a><p class="title"><b>Example 14.1. NT4 Domain Member Server smb.conf</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td># Global parameters</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2612025"></a><em class="parameter"><code>workgroup = MEGANET2</code></em></td></tr><tr><td><a class="indexterm" name="id2612037"></a><em class="parameter"><code>security = DOMAIN</code></em></td></tr><tr><td><a class="indexterm" name="id2612048"></a><em class="parameter"><code>idmap uid = 10000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2612060"></a><em class="parameter"><code>idmap gid = 10000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2612072"></a><em class="parameter"><code>template primary group = "Domain Users"</code></em></td></tr><tr><td><a class="indexterm" name="id2612084"></a><em class="parameter"><code>template shell = /bin/bash</code></em></td></tr></table></div></div><br class="example-break"><p> 352 <a class="indexterm" name="id2612099"></a> 353 <a class="indexterm" name="id2612106"></a> 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: … … 366 366 </p><p> 367 367 The creation of the DMS requires the following steps: 368 </p><div class="procedure"><ol type="1"><li><p>368 </p><div class="procedure"><ol class="procedure" type="1"><li class="step" title="Step 1"><p> 369 369 Create or install an <code class="filename">smb.conf</code> file with the above configuration. 370 </p></li><li ><p>370 </p></li><li class="step" title="Step 2"><p> 371 371 Execute: 372 372 </p><pre class="screen"> … … 374 374 Joined domain MEGANET2. 375 375 </pre><p> 376 <a class="indexterm" name="id26 06103"></a>376 <a class="indexterm" name="id2612175"></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="id26 06125"></a>383 <a class="indexterm" name="id2612197"></a> 384 384 </p><pre class="screen"> 385 385 <code class="prompt">root# </code> net rpc testjoin … … 387 387 Join to domain 'MEGANET2' is not valid 388 388 </pre><p> 389 </p></li><li ><p>390 <a class="indexterm" name="id26 06151"></a>391 <a class="indexterm" name="id26 06158"></a>392 <a class="indexterm" name="id26 06165"></a>389 </p></li><li class="step" title="Step 3"><p> 390 <a class="indexterm" name="id2612223"></a> 391 <a class="indexterm" name="id2612230"></a> 392 <a class="indexterm" name="id2612237"></a> 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="id2606188"></a>ADS Domains</h4></div></div></div><p>395 <a class="indexterm" name="id26 06196"></a>396 <a class="indexterm" name="id26 06202"></a>394 </p></li></ol></div></div><div class="sect3" title="ADS Domains"><div class="titlepage"><div><div><h4 class="title"><a name="id2612260"></a>ADS Domains</h4></div></div></div><p> 395 <a class="indexterm" name="id2612268"></a> 396 <a class="indexterm" name="id2612274"></a> 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="id2606254"></a><em class="parameter"><code>workgroup = BUTTERNET</code></em></td></tr><tr><td><a class="indexterm" name="id2606266"></a><em class="parameter"><code>netbios name = GARGOYLE</code></em></td></tr><tr><td><a class="indexterm" name="id2606278"></a><em class="parameter"><code>realm = BUTTERNET.BIZ</code></em></td></tr><tr><td><a class="indexterm" name="id2606289"></a><em class="parameter"><code>security = ADS</code></em></td></tr><tr><td><a class="indexterm" name="id2606301"></a><em class="parameter"><code>template shell = /bin/bash</code></em></td></tr><tr><td><a class="indexterm" name="id2606313"></a><em class="parameter"><code>idmap uid = 500-10000000</code></em></td></tr><tr><td><a class="indexterm" name="id2606325"></a><em class="parameter"><code>idmap gid = 500-10000000</code></em></td></tr><tr><td><a class="indexterm" name="id2606336"></a><em class="parameter"><code>winbind use default domain = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2606348"></a><em class="parameter"><code>winbind nested groups = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2606360"></a><em class="parameter"><code>printer admin = "BUTTERNET\Domain Admins"</code></em></td></tr></table></div></div><br class="example-break"><p>400 <a class="indexterm" name="id26 06376"></a>401 <a class="indexterm" name="id26 06383"></a>402 <a class="indexterm" name="id26 06390"></a>403 <a class="indexterm" name="id26 06396"></a>404 <a class="indexterm" name="id26 06403"></a>405 <a class="indexterm" name="id26 06410"></a>406 <a class="indexterm" name="id26 06417"></a>399 </p><div class="example"><a name="idmapadsdms"></a><p class="title"><b>Example 14.2. ADS Domain Member Server smb.conf</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td># Global parameters</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2612326"></a><em class="parameter"><code>workgroup = BUTTERNET</code></em></td></tr><tr><td><a class="indexterm" name="id2612338"></a><em class="parameter"><code>netbios name = GARGOYLE</code></em></td></tr><tr><td><a class="indexterm" name="id2612350"></a><em class="parameter"><code>realm = BUTTERNET.BIZ</code></em></td></tr><tr><td><a class="indexterm" name="id2612361"></a><em class="parameter"><code>security = ADS</code></em></td></tr><tr><td><a class="indexterm" name="id2612373"></a><em class="parameter"><code>template shell = /bin/bash</code></em></td></tr><tr><td><a class="indexterm" name="id2612385"></a><em class="parameter"><code>idmap uid = 500-10000000</code></em></td></tr><tr><td><a class="indexterm" name="id2612397"></a><em class="parameter"><code>idmap gid = 500-10000000</code></em></td></tr><tr><td><a class="indexterm" name="id2612408"></a><em class="parameter"><code>winbind use default domain = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2612420"></a><em class="parameter"><code>winbind nested groups = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2612432"></a><em class="parameter"><code>printer admin = "BUTTERNET\Domain Admins"</code></em></td></tr></table></div></div><br class="example-break"><p> 400 <a class="indexterm" name="id2612448"></a> 401 <a class="indexterm" name="id2612455"></a> 402 <a class="indexterm" name="id2612462"></a> 403 <a class="indexterm" name="id2612468"></a> 404 <a class="indexterm" name="id2612475"></a> 405 <a class="indexterm" name="id2612482"></a> 406 <a class="indexterm" name="id2612489"></a> 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 … … 411 411 </p><p> 412 412 The creation of the DMS requires the following steps: 413 </p><div class="procedure"><ol type="1"><li><p>413 </p><div class="procedure"><ol class="procedure" type="1"><li class="step" title="Step 1"><p> 414 414 Create or install an <code class="filename">smb.conf</code> file with the above configuration. 415 </p></li><li ><p>415 </p></li><li class="step" title="Step 2"><p> 416 416 Edit the <code class="filename">/etc/nsswitch.conf</code> file as shown above. 417 </p></li><li ><p>417 </p></li><li class="step" title="Step 3"><p> 418 418 Execute: 419 <a class="indexterm" name="id26 06475"></a>419 <a class="indexterm" name="id2612547"></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="id26 06532"></a>440 <a class="indexterm" name="id26 06538"></a>441 <a class="indexterm" name="id26 06545"></a>442 <a class="indexterm" name="id26 06552"></a>439 <a class="indexterm" name="id2612604"></a> 440 <a class="indexterm" name="id2612610"></a> 441 <a class="indexterm" name="id2612617"></a> 442 <a class="indexterm" name="id2612624"></a> 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, 445 445 and then examine the log files produced to identify the nature of the failure. 446 </p></li><li ><p>446 </p></li><li class="step" title="Step 4"><p> 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="id2606598"></a>IDMAP_RID with Winbind</h3></div></div></div><p>449 <a class="indexterm" name="id26 06606"></a>450 <a class="indexterm" name="id26 06613"></a>451 <a class="indexterm" name="id26 06620"></a>452 <a class="indexterm" name="id26 06626"></a>448 </p></li></ol></div></div></div><div class="sect2" title="IDMAP_RID with Winbind"><div class="titlepage"><div><div><h3 class="title"><a name="id2612670"></a>IDMAP_RID with Winbind</h3></div></div></div><p> 449 <a class="indexterm" name="id2612678"></a> 450 <a class="indexterm" name="id2612685"></a> 451 <a class="indexterm" name="id2612692"></a> 452 <a class="indexterm" name="id2612698"></a> 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="id26 06649"></a>460 <a class="indexterm" name="id26 06656"></a>461 <a class="indexterm" name="id26 06663"></a>462 <a class="indexterm" name="id26 06670"></a>459 <a class="indexterm" name="id2612721"></a> 460 <a class="indexterm" name="id2612728"></a> 461 <a class="indexterm" name="id2612735"></a> 462 <a class="indexterm" name="id2612742"></a> 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 465 465 RID to a base value specified. This utility requires that the parameter 466 “<span class="quote">allow trusted domains = No</span>”be specified, as it is not compatible466 <span class="quote">“<span class="quote">allow trusted domains = No</span>”</span> be specified, as it is not compatible 467 467 with multiple domain environments. The <em class="parameter"><code>idmap uid</code></em> and 468 468 <em class="parameter"><code>idmap gid</code></em> ranges must be specified. 469 469 </p><p> 470 <a class="indexterm" name="id26 06702"></a>471 <a class="indexterm" name="id26 06709"></a>470 <a class="indexterm" name="id2612774"></a> 471 <a class="indexterm" name="id2612781"></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="id2606776"></a><em class="parameter"><code>workgroup = KPAK</code></em></td></tr><tr><td><a class="indexterm" name="id2606788"></a><em class="parameter"><code>netbios name = BIGJOE</code></em></td></tr><tr><td><a class="indexterm" name="id2606800"></a><em class="parameter"><code>realm = CORP.KPAK.COM</code></em></td></tr><tr><td><a class="indexterm" name="id2606811"></a><em class="parameter"><code>server string = Office Server</code></em></td></tr><tr><td><a class="indexterm" name="id2606823"></a><em class="parameter"><code>security = ADS</code></em></td></tr><tr><td><a class="indexterm" name="id2606835"></a><em class="parameter"><code>allow trusted domains = No</code></em></td></tr><tr><td><a class="indexterm" name="id2606847"></a><em class="parameter"><code>idmap backend = idmap_rid:KPAK=500-100000000</code></em></td></tr><tr><td><a class="indexterm" name="id2606859"></a><em class="parameter"><code>idmap uid = 500-100000000</code></em></td></tr><tr><td><a class="indexterm" name="id2606871"></a><em class="parameter"><code>idmap gid = 500-100000000</code></em></td></tr><tr><td><a class="indexterm" name="id2606883"></a><em class="parameter"><code>template shell = /bin/bash</code></em></td></tr><tr><td><a class="indexterm" name="id2606895"></a><em class="parameter"><code>winbind use default domain = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2606907"></a><em class="parameter"><code>winbind enum users = No</code></em></td></tr><tr><td><a class="indexterm" name="id2606919"></a><em class="parameter"><code>winbind enum groups = No</code></em></td></tr><tr><td><a class="indexterm" name="id2606930"></a><em class="parameter"><code>winbind nested groups = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2606942"></a><em class="parameter"><code>printer admin = "Domain Admins"</code></em></td></tr></table></div></div><br class="example-break"><p>479 <a class="indexterm" name="id26 06958"></a>480 <a class="indexterm" name="id26 06965"></a>481 <a class="indexterm" name="id26 06972"></a>482 <a class="indexterm" name="id26 06978"></a>478 </p><div class="example"><a name="idmapadsridDMS"></a><p class="title"><b>Example 14.3. ADS Domain Member smb.conf using idmap_rid</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td># Global parameters</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2612848"></a><em class="parameter"><code>workgroup = KPAK</code></em></td></tr><tr><td><a class="indexterm" name="id2612860"></a><em class="parameter"><code>netbios name = BIGJOE</code></em></td></tr><tr><td><a class="indexterm" name="id2612872"></a><em class="parameter"><code>realm = CORP.KPAK.COM</code></em></td></tr><tr><td><a class="indexterm" name="id2612883"></a><em class="parameter"><code>server string = Office Server</code></em></td></tr><tr><td><a class="indexterm" name="id2612895"></a><em class="parameter"><code>security = ADS</code></em></td></tr><tr><td><a class="indexterm" name="id2612907"></a><em class="parameter"><code>allow trusted domains = No</code></em></td></tr><tr><td><a class="indexterm" name="id2612919"></a><em class="parameter"><code>idmap backend = idmap_rid:KPAK=500-100000000</code></em></td></tr><tr><td><a class="indexterm" name="id2612931"></a><em class="parameter"><code>idmap uid = 500-100000000</code></em></td></tr><tr><td><a class="indexterm" name="id2612943"></a><em class="parameter"><code>idmap gid = 500-100000000</code></em></td></tr><tr><td><a class="indexterm" name="id2612955"></a><em class="parameter"><code>template shell = /bin/bash</code></em></td></tr><tr><td><a class="indexterm" name="id2612967"></a><em class="parameter"><code>winbind use default domain = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2612979"></a><em class="parameter"><code>winbind enum users = No</code></em></td></tr><tr><td><a class="indexterm" name="id2612991"></a><em class="parameter"><code>winbind enum groups = No</code></em></td></tr><tr><td><a class="indexterm" name="id2613002"></a><em class="parameter"><code>winbind nested groups = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2613014"></a><em class="parameter"><code>printer admin = "Domain Admins"</code></em></td></tr></table></div></div><br class="example-break"><p> 479 <a class="indexterm" name="id2613030"></a> 480 <a class="indexterm" name="id2613037"></a> 481 <a class="indexterm" name="id2613044"></a> 482 <a class="indexterm" name="id2613050"></a> 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="id26 07016"></a>492 <a class="indexterm" name="id26 07022"></a>491 <a class="indexterm" name="id2613088"></a> 492 <a class="indexterm" name="id2613094"></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: … … 504 504 </p><p> 505 505 The following procedure can use the idmap_rid facility: 506 </p><div class="procedure"><ol type="1"><li><p>506 </p><div class="procedure"><ol class="procedure" type="1"><li class="step" title="Step 1"><p> 507 507 Create or install an <code class="filename">smb.conf</code> file with the above configuration. 508 </p></li><li ><p>508 </p></li><li class="step" title="Step 2"><p> 509 509 Edit the <code class="filename">/etc/nsswitch.conf</code> file as shown above. 510 </p></li><li ><p>510 </p></li><li class="step" title="Step 3"><p> 511 511 Execute: 512 512 </p><pre class="screen"> … … 516 516 </pre><p> 517 517 </p><p> 518 <a class="indexterm" name="id26 07102"></a>518 <a class="indexterm" name="id2613174"></a> 519 519 An invalid or failed join can be detected by executing: 520 520 </p><pre class="screen"> … … 528 528 may have occurred. Increase the <em class="parameter"><code>log level</code></em> to 10, repeat the test, 529 529 and then examine the log files produced to identify the nature of the failure. 530 </p></li><li ><p>530 </p></li><li class="step" title="Step 4"><p> 531 531 Start the <code class="literal">nmbd</code>, <code class="literal">winbind</code>, and <code class="literal">smbd</code> daemons in the order shown. 532 </p></li><li ><p>532 </p></li><li class="step" title="Step 5"><p> 533 533 Validate the operation of this configuration by executing: 534 <a class="indexterm" name="id26 07167"></a>534 <a class="indexterm" name="id2613239"></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="id2607189"></a>IDMAP Storage in LDAP Using Winbind</h3></div></div></div><p>540 <a class="indexterm" name="id26 07197"></a>541 <a class="indexterm" name="id26 07204"></a>539 </p></li></ol></div></div><div class="sect2" title="IDMAP Storage in LDAP Using Winbind"><div class="titlepage"><div><div><h3 class="title"><a name="id2613261"></a>IDMAP Storage in LDAP Using Winbind</h3></div></div></div><p> 540 <a class="indexterm" name="id2613269"></a> 541 <a class="indexterm" name="id2613276"></a> 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="id2607257"></a><em class="parameter"><code>workgroup = SNOWSHOW</code></em></td></tr><tr><td><a class="indexterm" name="id2607269"></a><em class="parameter"><code>netbios name = GOODELF</code></em></td></tr><tr><td><a class="indexterm" name="id2607281"></a><em class="parameter"><code>realm = SNOWSHOW.COM</code></em></td></tr><tr><td><a class="indexterm" name="id2607293"></a><em class="parameter"><code>server string = Samba Server</code></em></td></tr><tr><td><a class="indexterm" name="id2607305"></a><em class="parameter"><code>security = ADS</code></em></td></tr><tr><td><a class="indexterm" name="id2607316"></a><em class="parameter"><code>log level = 1 ads:10 auth:10 sam:10 rpc:10</code></em></td></tr><tr><td><a class="indexterm" name="id2607328"></a><em class="parameter"><code>ldap admin dn = cn=Manager,dc=SNOWSHOW,dc=COM</code></em></td></tr><tr><td><a class="indexterm" name="id2607341"></a><em class="parameter"><code>ldap idmap suffix = ou=Idmap</code></em></td></tr><tr><td><a class="indexterm" name="id2607353"></a><em class="parameter"><code>ldap suffix = dc=SNOWSHOW,dc=COM</code></em></td></tr><tr><td><a class="indexterm" name="id2607364"></a><em class="parameter"><code>idmap backend = ldap:ldap://ldap.snowshow.com</code></em></td></tr><tr><td><a class="indexterm" name="id2607377"></a><em class="parameter"><code>idmap uid = 150000-550000</code></em></td></tr><tr><td><a class="indexterm" name="id2607388"></a><em class="parameter"><code>idmap gid = 150000-550000</code></em></td></tr><tr><td><a class="indexterm" name="id2607400"></a><em class="parameter"><code>template shell = /bin/bash</code></em></td></tr><tr><td><a class="indexterm" name="id2607412"></a><em class="parameter"><code>winbind use default domain = Yes</code></em></td></tr></table></div></div><br class="example-break"><p>551 <a class="indexterm" name="id26 07427"></a>550 </p><div class="example"><a name="idmapldapDMS"></a><p class="title"><b>Example 14.4. ADS Domain Member Server using LDAP</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td># Global parameters</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2613329"></a><em class="parameter"><code>workgroup = SNOWSHOW</code></em></td></tr><tr><td><a class="indexterm" name="id2613341"></a><em class="parameter"><code>netbios name = GOODELF</code></em></td></tr><tr><td><a class="indexterm" name="id2613353"></a><em class="parameter"><code>realm = SNOWSHOW.COM</code></em></td></tr><tr><td><a class="indexterm" name="id2613365"></a><em class="parameter"><code>server string = Samba Server</code></em></td></tr><tr><td><a class="indexterm" name="id2613377"></a><em class="parameter"><code>security = ADS</code></em></td></tr><tr><td><a class="indexterm" name="id2613388"></a><em class="parameter"><code>log level = 1 ads:10 auth:10 sam:10 rpc:10</code></em></td></tr><tr><td><a class="indexterm" name="id2613400"></a><em class="parameter"><code>ldap admin dn = cn=Manager,dc=SNOWSHOW,dc=COM</code></em></td></tr><tr><td><a class="indexterm" name="id2613413"></a><em class="parameter"><code>ldap idmap suffix = ou=Idmap</code></em></td></tr><tr><td><a class="indexterm" name="id2613425"></a><em class="parameter"><code>ldap suffix = dc=SNOWSHOW,dc=COM</code></em></td></tr><tr><td><a class="indexterm" name="id2613436"></a><em class="parameter"><code>idmap backend = ldap:ldap://ldap.snowshow.com</code></em></td></tr><tr><td><a class="indexterm" name="id2613449"></a><em class="parameter"><code>idmap uid = 150000-550000</code></em></td></tr><tr><td><a class="indexterm" name="id2613460"></a><em class="parameter"><code>idmap gid = 150000-550000</code></em></td></tr><tr><td><a class="indexterm" name="id2613472"></a><em class="parameter"><code>template shell = /bin/bash</code></em></td></tr><tr><td><a class="indexterm" name="id2613484"></a><em class="parameter"><code>winbind use default domain = Yes</code></em></td></tr></table></div></div><br class="example-break"><p> 551 <a class="indexterm" name="id2613499"></a> 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="id26 07461"></a>557 <a class="indexterm" name="id26 07468"></a>558 <a class="indexterm" name="id26 07475"></a>556 <a class="indexterm" name="id2613533"></a> 557 <a class="indexterm" name="id2613540"></a> 558 <a class="indexterm" name="id2613547"></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: … … 595 595 .snowshow.com = SNOWSHOW.COM 596 596 </pre><p> 597 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>597 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 598 598 Samba cannot use the Heimdal libraries if there is no <code class="filename">/etc/krb5.conf</code> file. 599 599 So long as there is an empty file, the Heimdal kerberos libraries will be usable. There is no … … 611 611 </pre><p> 612 612 </p><p> 613 <a class="indexterm" name="id26 07558"></a>614 <a class="indexterm" name="id26 07565"></a>613 <a class="indexterm" name="id2613630"></a> 614 <a class="indexterm" name="id2613637"></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 … … 631 631 </p><p> 632 632 The following procedure may be followed to effect a working configuration: 633 </p><div class="procedure"><ol type="1"><li><p>633 </p><div class="procedure"><ol class="procedure" type="1"><li class="step" title="Step 1"><p> 634 634 Configure the <code class="filename">smb.conf</code> file as shown above. 635 </p></li><li ><p>635 </p></li><li class="step" title="Step 2"><p> 636 636 Create the <code class="filename">/etc/krb5.conf</code> file as shown above. 637 </p></li><li ><p>637 </p></li><li class="step" title="Step 3"><p> 638 638 Configure the <code class="filename">/etc/nsswitch.conf</code> file as shown above. 639 </p></li><li ><p>639 </p></li><li class="step" title="Step 4"><p> 640 640 Download, build, and install the PADL nss_ldap tool set. Configure the 641 641 <code class="filename">/etc/ldap.conf</code> file as shown above. 642 </p></li><li ><p>642 </p></li><li class="step" title="Step 5"><p> 643 643 Configure an LDAP server and initialize the directory with the top-level entries needed by IDMAP, 644 644 shown in the following LDIF file: … … 660 660 ou: idmap 661 661 </pre><p> 662 </p></li><li ><p>662 </p></li><li class="step" title="Step 6"><p> 663 663 Execute the command to join the Samba DMS to the ADS domain as shown here: 664 664 </p><pre class="screen"> … … 667 667 Joined 'GOODELF' to realm 'SNOWSHOW.COM' 668 668 </pre><p> 669 </p></li><li ><p>669 </p></li><li class="step" title="Step 7"><p> 670 670 Store the LDAP server access password in the Samba <code class="filename">secrets.tdb</code> file as follows: 671 671 </p><pre class="screen"> 672 672 <code class="prompt">root# </code> smbpasswd -w not24get 673 673 </pre><p> 674 </p></li><li ><p>674 </p></li><li class="step" title="Step 8"><p> 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="id26 07761"></a>677 <a class="indexterm" name="id2613833"></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="id2607774"></a>IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</h3></div></div></div><p>682 <a class="indexterm" name="id26 07783"></a>683 <a class="indexterm" name="id26 07789"></a>681 </p></div><div class="sect2" title="IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension"><div class="titlepage"><div><div><h3 class="title"><a name="id2613846"></a>IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</h3></div></div></div><p> 682 <a class="indexterm" name="id2613855"></a> 683 <a class="indexterm" name="id2613861"></a> 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="id2607849"></a><em class="parameter"><code>workgroup = BOBBY</code></em></td></tr><tr><td><a class="indexterm" name="id2607861"></a><em class="parameter"><code>realm = BOBBY.COM</code></em></td></tr><tr><td><a class="indexterm" name="id2607872"></a><em class="parameter"><code>security = ADS</code></em></td></tr><tr><td><a class="indexterm" name="id2607884"></a><em class="parameter"><code>idmap uid = 150000-550000</code></em></td></tr><tr><td><a class="indexterm" name="id2607896"></a><em class="parameter"><code>idmap gid = 150000-550000</code></em></td></tr><tr><td><a class="indexterm" name="id2607907"></a><em class="parameter"><code>template shell = /bin/bash</code></em></td></tr><tr><td><a class="indexterm" name="id2607919"></a><em class="parameter"><code>winbind cache time = 5</code></em></td></tr><tr><td><a class="indexterm" name="id2607931"></a><em class="parameter"><code>winbind use default domain = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2607943"></a><em class="parameter"><code>winbind trusted domains only = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2607956"></a><em class="parameter"><code>winbind nested groups = Yes</code></em></td></tr></table></div></div><br class="example-break"><p>691 <a class="indexterm" name="id26 07971"></a>690 </p><div class="example"><a name="idmaprfc2307"></a><p class="title"><b>Example 14.5. ADS Domain Member Server using RFC2307bis Schema Extension Date via NSS</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td># Global parameters</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2613921"></a><em class="parameter"><code>workgroup = BOBBY</code></em></td></tr><tr><td><a class="indexterm" name="id2613933"></a><em class="parameter"><code>realm = BOBBY.COM</code></em></td></tr><tr><td><a class="indexterm" name="id2613944"></a><em class="parameter"><code>security = ADS</code></em></td></tr><tr><td><a class="indexterm" name="id2613956"></a><em class="parameter"><code>idmap uid = 150000-550000</code></em></td></tr><tr><td><a class="indexterm" name="id2613968"></a><em class="parameter"><code>idmap gid = 150000-550000</code></em></td></tr><tr><td><a class="indexterm" name="id2613979"></a><em class="parameter"><code>template shell = /bin/bash</code></em></td></tr><tr><td><a class="indexterm" name="id2613991"></a><em class="parameter"><code>winbind cache time = 5</code></em></td></tr><tr><td><a class="indexterm" name="id2614003"></a><em class="parameter"><code>winbind use default domain = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2614015"></a><em class="parameter"><code>winbind trusted domains only = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2614028"></a><em class="parameter"><code>winbind nested groups = Yes</code></em></td></tr></table></div></div><br class="example-break"><p> 691 <a class="indexterm" name="id2614043"></a> 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="id26 07991"></a>700 <a class="indexterm" name="id2614063"></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="id26 08015"></a>713 <a class="indexterm" name="id26 08022"></a>712 <a class="indexterm" name="id2614087"></a> 713 <a class="indexterm" name="id2614094"></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="id2608044"></a>IDMAP, Active Directory, and MS Services for UNIX 3.5</h4></div></div></div><p>720 <a class="indexterm" name="id26 08052"></a>719 </p><div class="sect3" title="IDMAP, Active Directory, and MS Services for UNIX 3.5"><div class="titlepage"><div><div><h4 class="title"><a name="id2614116"></a>IDMAP, Active Directory, and MS Services for UNIX 3.5</h4></div></div></div><p> 720 <a class="indexterm" name="id2614124"></a> 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="id2608071"></a>IDMAP, Active Directory and AD4UNIX</h4></div></div></div><p>725 </p></div><div class="sect3" title="IDMAP, Active Directory and AD4UNIX"><div class="titlepage"><div><div><h4 class="title"><a name="id2614143"></a>IDMAP, Active Directory and AD4UNIX</h4></div></div></div><p> 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.id26 04377" href="#id2604377" class="literal">4</a>] </sup>DOMINICUS\FJones</code><code class="literal">FRANCISCUS\FJones</code><code class="literal">FJones</code></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="NetCommand.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="optional.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="rights.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 13. Remote and Local Management: The Net Command </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 15. User Rights and Privileges</td></tr></table></div></body></html>729 </p></div></div></div><div class="footnotes"><br><hr width="100" align="left"><div class="footnote"><code class="literal"><sup>[<a name="ftn.id2610444" href="#id2610444" class="literal">4</a>] </sup>DOMINICUS\FJones</code><code class="literal">FRANCISCUS\FJones</code><code class="literal">FJones</code></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="NetCommand.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="optional.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="rights.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 13. Remote and Local Management: The Net Command </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 15. User Rights and Privileges</td></tr></table></div></body></html> -
branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/index.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>The Official Samba 3.3.x HOWTO and Reference Guide</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="next" href="pr01.html" title="About the Cover Artwork"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">The Official Samba 3.3.x HOWTO and Reference Guide</th></tr><tr><td width="20%" align="left"> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="pr01.html">Next</a></td></tr></table><hr></div><div class="book" lang="en"><div class="titlepage"><div><div><h1 class="title"><a name="Samba-HOWTO-Collection"></a>The Official Samba 3.3.x HOWTO and Reference Guide</h1></div><div><div class="authorgroup"><div class="editor"><h4 class="editedby">Edited by</h4><h3 class="editor"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<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#id2553562">List Shares Available on the Server</a></span></dt><dt><span class="sect1"><a href="install.html#id2553614">Connect with a UNIX Client</a></span></dt><dt><span class="sect1"><a href="install.html#id2553705">Connect from a Remote SMB Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2553786">What If Things Don't Work?</a></span></dt><dt><span class="sect2"><a href="install.html#id2553827">Still Stuck?</a></span></dt></dl></dd><dt><span class="sect1"><a href="install.html#id2553859">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2553870">Large Number of smbd Processes</a></span></dt><dt><span class="sect2"><a href="install.html#id2553957">Error Message: open_oplock_ipc</a></span></dt><dt><span class="sect2"><a href="install.html#id2553989">The network name cannot be found</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="FastStart.html">2. Fast Start: Cure for Impatience</a></span></dt><dd><dl><dt><span class="sect1"><a href="FastStart.html#id2554132">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2554155">Description of Example Sites</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2554224">Worked Examples</a></span></dt><dd><dl><dt><span class="sect2"><a href="FastStart.html#id2554243">Standalone Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2555984">Domain Member Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2556827">Domain Controller</a></span></dt></dl></dd></dl></dd></dl></dd><dt><span class="part"><a href="type.html">II. Server Configuration Basics</a></span></dt><dd><dl><dt><span class="chapter"><a href="ServerType.html">3. Server Types and Security Modes</a></span></dt><dd><dl><dt><span class="sect1"><a href="ServerType.html#id2558832">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2558991">Server Types</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2559136">Samba Security Modes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2559298">User Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2559461">Share-Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2559653">Domain Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560148">ADS Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560291">Server Security (User Level Security)</a></span></dt></dl></dd><dt><span class="sect1"><a href="ServerType.html#id2560566">Password Checking</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2560753">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2560783">What Makes Samba a Server?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560815">What Makes Samba a Domain Controller?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560852">What Makes Samba a Domain Member?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560879">Constantly Losing Connections to Password Server</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560937">Stand-alone Server is converted to Domain Controller Now User accounts don't work</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="samba-pdc.html">4. Domain Control</a></span></dt><dd><dl><dt><span class="sect1"><a href="samba-pdc.html#id2561262">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2562485">Basics of Domain Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2562505">Domain Controller Types</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2563009">Preparing for Domain Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2564263">Samba ADS Domain Control</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2564316">Domain and Network Logon Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2564335">Domain Network Logon Service</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2564926">Security Mode and Master Browsers</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2565206">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2565212">$ Cannot Be Included in Machine Name</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565312">Joining Domain Fails Because of Existing Machine Account</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565377">The System Cannot Log You On (C000019B)</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565454">The Machine Trust Account Is Not Accessible</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565573">Account Disabled</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565600">Domain Controller Unavailable</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565619">Cannot Log onto Domain Member Workstation After Joining Domain</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="samba-bdc.html">5. Backup Domain Control</a></span></dt><dd><dl><dt><span class="sect1"><a href="samba-bdc.html#id2565803">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-bdc.html#id2566209">Essential Background Information</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2566966">LDAP Configuration Notes</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2567331">Active Directory Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2567390">What Qualifies a Domain Controller on the Network?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2567481">How Does a Workstation find its Domain Controller?</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2568163">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2568620">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2568664">Machine Accounts Keep Expiring</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2568719">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2568774">How Do I Replicate the smbpasswd File?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2568879">Can I Do This All with LDAP?</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="domain-member.html">6. Domain Membership</a></span></dt><dd><dl><dt><span class="sect1"><a href="domain-member.html#id2569122">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2570246">Managing Domain Machine Accounts using NT4 Server Manager</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2570526">On-the-Fly Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2570632">Making an MS Windows Workstation or Server a Domain Member</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#domain-member-server">Domain Member Server</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2571833">Why Is This Better Than security = server?</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#ads-member">Samba ADS Domain Membership</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2572115">Configure smb.conf</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2572306">Configure /etc/krb5.conf</a></span></dt><dt><span class="sect2"><a href="domain-member.html#ads-create-machine-account">Create the Computer Account</a></span></dt><dt><span class="sect2"><a href="domain-member.html#ads-test-server">Testing Server Setup</a></span></dt><dt><span class="sect2"><a href="domain-member.html#ads-test-smbclient">Testing with smbclient</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2573400">Notes</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#id2573472">Sharing User ID Mappings between Samba Domain Members</a></span></dt><dt><span class="sect1"><a href="domain-member.html#id2573679">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2573719">Cannot Add Machine Back to Domain</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2573794">Adding Machine to Domain Fails</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2574030">I Can't Join a Windows 2003 PDC</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="StandAloneServer.html">7. Standalone Servers</a></span></dt><dd><dl><dt><span class="sect1"><a href="StandAloneServer.html#id2574163">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2574257">Background</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2574458">Example Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a></span></dt><dt><span class="sect2"><a href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></span></dt></dl></dd><dt><span class="sect1"><a href="StandAloneServer.html#id2575441">Common Errors</a></span></dt></dl></dd><dt><span class="chapter"><a href="ClientConfig.html">8. MS Windows Network Configuration Guide</a></span></dt><dd><dl><dt><span class="sect1"><a href="ClientConfig.html#id2575509">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ClientConfig.html#id2575569">Technical Details</a></span></dt><dd><dl><dt><span class="sect2"><a href="ClientConfig.html#id2575613">TCP/IP Configuration</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2577384">Joining a Domain: Windows 2000/XP Professional</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2577911">Domain Logon Configuration: Windows 9x/Me</a></span></dt></dl></dd><dt><span class="sect1"><a href="ClientConfig.html#id2578354">Common Errors</a></span></dt></dl></dd></dl></dd><dt><span class="part"><a href="optional.html">III. Advanced Configuration</a></span></dt><dd><dl><dt><span class="chapter"><a href="ChangeNotes.html">9. Important and Critical Change Notes for the Samba 3.x Series</a></span></dt><dd><dl><dt><span class="sect1"><a href="ChangeNotes.html#id2578591">Important Samba-3.2.x Change Notes</a></span></dt><dt><span class="sect1"><a href="ChangeNotes.html#id2578603">Important Samba-3.0.x Change Notes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ChangeNotes.html#id2578662">User and Group Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2578974">Essential Group Mappings</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2579095">Passdb Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2579156">Group Mapping Changes in Samba-3.0.23</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2579276">LDAP Changes in Samba-3.0.23</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="NetworkBrowsing.html">10. Network Browsing</a></span></dt><dd><dl><dt><span class="sect1"><a href="NetworkBrowsing.html#id2579539">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="NetworkBrowsing.html#id2579723">What Is Browsing?</a></span></dt><dt><span class="sect1"><a href="NetworkBrowsing.html#netdiscuss">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2580799">TCP/IP without NetBIOS</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#adsdnstech">DNS and Active Directory</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2581358">How Browsing Functions</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2582305">Domain Browsing Configuration</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2582910">Making Samba the Domain Master</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2583150">Note about Broadcast Addresses</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2583172">Multiple Interfaces</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2583358">Use of the Remote Announce Parameter</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2583498">Use of the Remote Browse Sync Parameter</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2583591">WINS: The Windows Internetworking Name Server</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2583862">WINS Server Configuration</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2584183">WINS Replication</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2584236">Static WINS Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2584468">Helpful Hints</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2584479">Windows Networking Protocols</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2584620">Name Resolution Order</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2584823">Technical Overview of Browsing</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2584910">Browsing Support in Samba</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2585107">Problem Resolution</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2585358">Cross-Subnet Browsing</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2586371">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586398">Flushing the Samba NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586471">Server Resources Cannot Be Listed</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586519">I Get an "Unable to browse the network" Error</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586566">Browsing of Shares and Directories is Very Slow</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586766">Invalid Cached Share References Affects Network Browsing</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="passdb.html">11. Account Information Databases</a></span></dt><dd><dl><dt><span class="sect1"><a href="passdb.html#id2587249">Features and Benefits</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2587285">Backward Compatibility Account Storage Systems</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2587476">New Account Storage Systems</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#passdbtech">Technical Information</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2588044">Important Notes About Security</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2588564">Mapping User Identifiers between MS Windows and UNIX</a></span></dt><dt><span class="sect2"><a href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2589112">Comments Regarding LDAP</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#acctmgmttools">Account Management Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2589966">The smbpasswd Tool</a></span></dt><dt><span class="sect2"><a href="passdb.html#pdbeditthing">The pdbedit Tool</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#id2592519">Password Backends</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2592572">Plaintext</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2592915">tdbsam</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2593072">ldapsam</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#id2595597">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2595602">Users Cannot Logon</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2595640">Configuration of auth methods</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="groupmapping.html">12. Group Mapping: MS Windows and UNIX</a></span></dt><dd><dl><dt><span class="sect1"><a href="groupmapping.html#id2595891">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="groupmapping.html#id2596307">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2596644">Warning: User Private Group Problems</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2597278">Important Administrative Information</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2597518">Default Users, Groups, and Relative Identifiers</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2598143">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2598220">Configuration Scripts</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2598231">Sample smb.conf Add Group Script</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2598403">Script to Configure Group Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2598530">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2598543">Adding Groups Fails</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2598630">Adding Domain Users to the Workstation Power Users Group</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="NetCommand.html">13. Remote and Local Management: The Net Command</a></span></dt><dd><dl><dt><span class="sect1"><a href="NetCommand.html#id2599024">Overview</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2599319">Administrative Tasks and Methods</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2599400">UNIX and Windows Group Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2599558">Adding, Renaming, or Deletion of Group Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#grpmemshipchg">Manipulating Group Memberships</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#nestedgrpmgmgt">Nested Group Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2600928">UNIX and Windows User Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#sbeuseraddn">Adding User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2601139">Deletion of User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2601187">Managing User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2601256">User Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2601339">Administering User Rights and Privileges</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2601684">Managing Trust Relationships</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2601699">Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2602068">Interdomain Trusts</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2602302">Managing Security Identifiers (SIDS)</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2602524">Share Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2602569">Creating, Editing, and Removing Shares</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2602757">Creating and Changing Share ACLs</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2602787">Share, Directory, and File Migration</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2603410">Printer Migration</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2603661">Controlling Open Files</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2603680">Session and Connection Management</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2603746">Printers and ADS</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2603862">Manipulating the Samba Cache</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2603879">Managing IDMAP UID/SID Mappings</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2603923">Creating an IDMAP Database Dump File</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2603958">Restoring the IDMAP Database Dump File</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#netmisc1">Other Miscellaneous Operations</a></span></dt></dl></dd><dt><span class="chapter"><a href="idmapper.html">14. Identity Mapping (IDMAP)</a></span></dt><dd><dl><dt><span class="sect1"><a href="idmapper.html#id2604468">Samba Server Deployment Types and IDMAP</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2604493">Standalone Samba Server</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2605507">Primary Domain Controller</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2605741">Backup Domain Controller</a></span></dt></dl></dd><dt><span class="sect1"><a href="idmapper.html#id2605813">Examples of IDMAP Backend Usage</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2605876">Default Winbind TDB</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2606598">IDMAP_RID with Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2607189">IDMAP Storage in LDAP Using Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2607774">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="rights.html">15. User Rights and Privileges</a></span></dt><dd><dl><dt><span class="sect1"><a href="rights.html#id2608451">Rights Management Capabilities</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2608726">Using the net rpc rights Utility</a></span></dt><dt><span class="sect2"><a href="rights.html#id2609072">Description of Privileges</a></span></dt><dt><span class="sect2"><a href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></span></dt></dl></dd><dt><span class="sect1"><a href="rights.html#id2609893">The Administrator Domain SID</a></span></dt><dt><span class="sect1"><a href="rights.html#id2610070">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2610076">What Rights and Privileges Will Permit Windows Client Administration?</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="AccessControls.html">16. File, Directory, and Share Access Controls</a></span></dt><dd><dl><dt><span class="sect1"><a href="AccessControls.html#id2610573">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AccessControls.html#id2610760">File System Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2610774">MS Windows NTFS Comparison with UNIX File Systems</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2611116">Managing Directories</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2611240">File and Directory Access Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2611906">Share Definition Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2611939">User- and Group-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2612307">File and Directory Permissions-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2612644">Miscellaneous Controls</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2612982">Access Controls on Shares</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2613130">Share Permissions Management</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2613477">MS Windows Access Control Lists and UNIX Interoperability</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2613483">Managing UNIX Permissions Using NT Security Dialogs</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2613530">Viewing File Security on a Samba Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2613601">Viewing File Ownership</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2613745">Viewing File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2613960">Modifying File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2614117">Interaction with the Standard Samba create mask Parameters</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2614486">Interaction with the Standard Samba File Attribute Mapping</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2614559">Windows NT/200X ACLs and POSIX ACLs Limitations</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2614978">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2614990">Users Cannot Write to a Public Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2615312">File Operations Done as root with force user Set</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2615358">MS Word with Samba Changes Owner of File</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="locking.html">17. File and Record Locking</a></span></dt><dd><dl><dt><span class="sect1"><a href="locking.html#id2615585">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="locking.html#id2615682">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2615940">Opportunistic Locking Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2616938">Samba Oplocks Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2617033">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2617446">MS Windows Oplocks and Caching Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2617633">Workstation Service Entries</a></span></dt><dt><span class="sect2"><a href="locking.html#id2617655">Server Service Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2617721">Persistent Data Corruption</a></span></dt><dt><span class="sect1"><a href="locking.html#id2617747">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2617814">locking.tdb Error Messages</a></span></dt><dt><span class="sect2"><a href="locking.html#id2617845">Problems Saving Files in MS Office on Windows XP</a></span></dt><dt><span class="sect2"><a href="locking.html#id2617869">Long Delays Deleting Files over Network with XP SP1</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2617901">Additional Reading</a></span></dt></dl></dd><dt><span class="chapter"><a href="securing-samba.html">18. Securing Samba</a></span></dt><dd><dl><dt><span class="sect1"><a href="securing-samba.html#id2618075">Introduction</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2618174">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2618320">Technical Discussion of Protective Measures and Issues</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2618336">Using Host-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2618490">User-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2618550">Using Interface Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#firewallports">Using a Firewall</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2618900">Using IPC$ Share-Based Denials </a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2619044">NTLMv2 Security</a></span></dt></dl></dd><dt><span class="sect1"><a href="securing-samba.html#id2619099">Upgrading Samba</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2619142">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2619158">Smbclient Works on Localhost, but the Network Is Dead</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2619187">Why Can Users Access Other Users' Home Directories?</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="InterdomainTrusts.html">19. Interdomain Trust Relationships</a></span></dt><dd><dl><dt><span class="sect1"><a href="InterdomainTrusts.html#id2619747">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2620105">Native MS Windows NT4 Trusts Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2620141">Creating an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2620238">Completing an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2620323">Interdomain Trust Facilities</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2620532">Configuring Samba NT-Style Domain Trusts</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2620873">Samba as the Trusting Domain</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2621070">NT4-Style Domain Trusts with Windows 2000</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2621219">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2621232">Browsing of Trusted Domain Fails</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2621278">Problems with LDAP ldapsam and Older Versions of smbldap-tools</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="msdfs.html">20. Hosting a Microsoft Distributed File System Tree</a></span></dt><dd><dl><dt><span class="sect1"><a href="msdfs.html#id2621456">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="msdfs.html#id2621875">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="msdfs.html#id2621908">MSDFS UNIX Path Is Case-Critical</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="classicalprinting.html">21. Classical Printing Support</a></span></dt><dd><dl><dt><span class="sect1"><a href="classicalprinting.html#id2622106">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2622330">Technical Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2622481">Client to Samba Print Job Processing</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2622540">Printing-Related Configuration Parameters</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2622641">Simple Print Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2622925">Verifying Configuration with testparm</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2623122">Rapid Configuration Validation</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2623522">Extended Printing Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2623977">Detailed Explanation Settings</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2626693">Point'n'Print Client Drivers on Samba Servers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2626862">The Obsoleted [printer$] Section</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2626984">Creating the [print$] Share</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2627200">[print$] Stanza Parameters</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2627521">The [print$] Share Directory</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2627663">Installing Drivers into [print$]</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2627756">Add Printer Wizard Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#inst-rpc">Installing Print Drivers Using rpcclient</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2629689">Client Driver Installation Procedure</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2629706">First Client Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#prt-modeset">Setting Device Modes on New Printers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2630271">Additional Client Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2630390">Always Make First Client Connection as root or printer admin</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2630563">Other Gotchas</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2630584">Setting Default Print Options for Client Drivers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2630951">Supporting Large Numbers of Printers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2631207">Adding New Printers with the Windows NT APW</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2631467">Error Message: Cannot connect under a different Name</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2631581">Take Care When Assembling Driver Files</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2631890">Samba and Printer Ports</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2631999">Avoiding Common Client Driver Misconfiguration</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2632036">The Imprints Toolset</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2632082">What Is Imprints?</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2632117">Creating Printer Driver Packages</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2632132">The Imprints Server</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2632150">The Installation Client</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2632283">Adding Network Printers without User Interaction</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2632557">The addprinter Command</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2632596">Migration of Classical Printing to Samba</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2632744">Publishing Printer Information in Active Directory or LDAP</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2632774">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2632780">I Give My Root Password but I Do Not Get Access</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2632821">My Print Jobs Get Spooled into the Spooling Directory, but Then Get Lost</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="CUPS-printing.html">22. CUPS Printing Support</a></span></dt><dd><dl><dt><span class="sect1"><a href="CUPS-printing.html#id2632968">Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2632974">Features and Benefits</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633034">Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2633153">Basic CUPS Support Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2633268">Linking smbd with libcups.so</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633517">Simple smb.conf Settings for CUPS</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633762">More Complex CUPS smb.conf Settings</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2634138">Advanced Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2634156">Central Spooling vs. Peer-to-Peer Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634206">Raw Print Serving: Vendor Drivers on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634441">Installation of Windows Client Drivers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#cups-raw">Explicitly Enable raw Printing for application/octet-stream</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634728">Driver Upload Methods</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2634850">Advanced Intelligent Printing with PostScript Driver Download</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#gdipost">GDI on Windows, PostScript on UNIX</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635042">Windows Drivers, GDI, and EMF</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635220">UNIX Printfile Conversion and GUI Basics</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#post-and-ghost">PostScript and Ghostscript</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635579">Ghostscript: The Software RIP for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635733">PostScript Printer Description (PPD) Specification</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635816">Using Windows-Formatted Vendor PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635936">CUPS Also Uses PPDs for Non-PostScript Printers</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2635975">The CUPS Filtering Architecture</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636640">MIME Type Conversion Rules</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636848">Filtering Overview</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637005">Prefilters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637193">pstops</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637361">pstoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637630">imagetops and imagetoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637715">rasterto [printers specific]</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637934">CUPS Backends</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638273">The Role of cupsomatic/foomatic</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638508">The Complete Picture</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638521">mime.convs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638590">Raw Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638698">application/octet-stream Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638977">PostScript Printer Descriptions for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639260">cupsomatic/foomatic-rip Versus Native CUPS Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639597">Examples for Filtering Chains</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640025">Sources of CUPS Drivers/PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640148">Printing with Interface Scripts</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640243">Network Printing (Purely Windows)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2640259">From Windows Clients to an NT Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640321">Driver Execution on the Client</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640393">Driver Execution on the Server</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640498">Network Printing (Windows Clients and UNIX/Samba Print2 Servers)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id264 0516">From Windows Clients to a CUPS/Samba Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640706">Samba Receiving Job-Files and Passing Them to CUPS</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640785">Network PostScript RIP</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2640876">PPDs for Non-PS Printers on UNIX</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640920">PPDs for Non-PS Printers on Windows</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640988">Windows Terminal Servers (WTS) as CUPS Clients</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2641003">Printer Drivers Running in Kernel ModeCause Many3 Problems</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id264 1041">Workarounds Impose Heavy Limitations</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641059">CUPS: A Magical Stone?</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641102">PostScript Drivers with No Major Problems, Even in Kernel4 Mode</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id264 1189">Configuring CUPS for Driver Download</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2641212">cupsaddsmb: The Unknown Utility</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641310">Prepare Your smb.conf for cupsaddsmb</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641591">CUPS PostScript Driver for Windows NT/200x/XP</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641830">Recognizing Different Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641949">Acquiring the Adobe Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641974">ESP Print Pro PostScript Driver for Windows NT/200x/XP</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642037">Caveats to Be Considered</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642336">Windows CUPS PostScript Driver Versus Adobe Driver</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642554">Run cupsaddsmb (Quiet Mode)</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642694">Run cupsaddsmb with Verbose Output</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642886">Understanding cupsaddsmb</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643030">How to Recognize If cupsaddsmb Completed Successfully</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643152">cupsaddsmb with a Samba PDC</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643233">cupsaddsmb Flowchart</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643314">Installing the PostScript Driver on a Client</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#cups-avoidps1">Avoiding Critical PostScript Driver Settings on the Client</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2643549">Installing PostScript Driver Files Manually Using rpcclient</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2643723">A Check of the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643895">Understanding the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644000">Producing an Example by Querying a Windows Box</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644132">Requirements for adddriver and setdriver to Succeed</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644357">Manual Driver Installation in 15 Steps</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645315">Troubleshooting Revisited</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2645458">The Printing *.tdb Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2645661">Trivial Database Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645729">Binary Format</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645795">Losing *.tdb Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645846">Using tdbbackup</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2645965">CUPS Print Drivers from Linuxprinting.org</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2646141">foomatic-rip and Foomatic Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2646962">foomatic-rip and Foomatic PPD Download and Installation</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2647435">Page Accounting with CUPS</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2647471">Setting Up Quotas</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647525">Correct and Incorrect Accounting</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647565">Adobe and CUPS PostScript Drivers for Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647706">The page_log File Syntax</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647851">Possible Shortcomings</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647917">Future Developments</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647957">Other Accounting Tools</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2647971">Additional Material</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2648188">Autodeletion or Preservation of CUPS Spool Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2648264">CUPS Configuration Settings Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648349">Preconditions</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648488">Manual Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2648535">Printing from CUPS to Windows-Attached Printers</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2648832">More CUPS Filtering Chains</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2648943">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2648949">Windows 9x/Me Client Can't Install Driver</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#root-ask-loop">cupsaddsmb Keeps Asking for Root Password in Never-ending Loop</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649025">cupsaddsmb or rpcclient addriver Emit Error</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649063">cupsaddsmb Errors</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649137">Client Can't Connect to Samba Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649162">New Account Reconnection from Windows 200x/XP Troubles</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649253">Avoid Being Connected to the Samba Server as the Wrong User</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649304">Upgrading to CUPS Drivers from Adobe Drivers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649342">Can't Use cupsaddsmb on Samba Server, Which Is a PDC</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649378">Deleted Windows 200x Printer Driver Is Still Shown</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649412">Windows 200x/XP Local Security Policies</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649445">Administrator Cannot Install Printers for All Local Users</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649486">Print Change, Notify Functions on NT Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649512">Windows XP SP1</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649558">Print Options for All Users Can't Be Set on Windows 200x/XP</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649842">Most Common Blunders in Driver Settings on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649897">cupsaddsmb Does Not Work with Newly Installed Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649947">Permissions on /var/spool/samba/ Get Reset After Each Reboot</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2650045">Print Queue Called lp Mishandles Print Jobs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2650114">Location of Adobe PostScript Driver Files for cupsaddsmb</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2650168">Overview of the CUPS Printing Processes</a></span></dt></dl></dd><dt><span class="chapter"><a href="VFS.html">23. Stackable VFS modules</a></span></dt><dd><dl><dt><span class="sect1"><a href="VFS.html#id2650356">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2650394">Discussion</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2650789">Included Modules</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2650795">audit</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2650836">default_quota</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2651054">extd_audit</a></span></dt><dt><span class="sect2"><a href="VFS.html#fakeperms">fake_perms</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2651380">recycle</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2651777">netatalk</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2651827">shadow_copy</a></span></dt></dl></dd><dt><span class="sect1"><a href="VFS.html#id2652729">VFS Modules Available Elsewhere</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2652755">DatabaseFS</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2652814">vscan</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2652854">vscan-clamav</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="winbind.html">24. Winbind: Use of Domain Accounts</a></span></dt><dd><dl><dt><span class="sect1"><a href="winbind.html#id2653118">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2653461">Introduction</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2653551">What Winbind Provides</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2653704">Target Uses</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2653749">Handling of Foreign SIDs</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2653875">How Winbind Works</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2653925">Microsoft Remote Procedure Calls</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654018">Microsoft Active Directory Services</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654066">Name Service Switch</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654298">Pluggable Authentication Modules</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654453">User and Group ID Allocation</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654529">Result Caching</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2654586">Installation and Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2654592">Introduction</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654706">Requirements</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654858">Testing Things Out</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2657317">Conclusion</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2657366">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2657408">NSCD Problem Warning</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2657444">Winbind Is Not Resolving Users and Groups</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="AdvancedNetworkManagement.html">25. Advanced Network Management</a></span></dt><dd><dl><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2657633">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2657660">Remote Server Administration</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2657803">Remote Desktop Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2658207">Remote Management with ThinLinc</a></span></dt></dl></dd><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2658393">Network Logon Script Magic</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2658618">Adding Printers without User Intervention</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2658661">Limiting Logon Connections</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="PolicyMgmt.html">26. System and Account Policies</a></span></dt><dd><dl><dt><span class="sect1"><a href="PolicyMgmt.html#id2658804">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2658910">Creating and Managing System Policies</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2659098">Windows 9x/ME Policies</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2659235">Windows NT4-Style Policy Files</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2659457">MS Windows 200x/XP Professional Policies</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2659906">Managing Account/User Policies</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2660133">Management Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2660146">Samba Editreg Toolset</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2660228">Windows NT4/200x</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2660268">Samba PDC</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2660333">System Startup and Logon Processing Overview</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2660490">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2660502">Policy Does Not Work</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="ProfileMgmt.html">27. Desktop Profile Management</a></span></dt><dd><dl><dt><span class="sect1"><a href="ProfileMgmt.html#id2660587">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2660636">Roaming Profiles</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2660690">Samba Configuration for Profile Handling</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2661296">Windows Client Profile Configuration Information</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2662645">User Profile Hive Cleanup Service</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2662678">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2662777">Profile Migration from Windows NT4/200x Server to Samba</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2663129">Mandatory Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2663269">Creating and Managing Group Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2663347">Default Profile for Windows Users</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2663378">MS Windows 9x/Me</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2663529">MS Windows NT4 Workstation</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2664091">MS Windows 200x/XP</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2664596">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2664607">Configuring Roaming Profiles for a Few Users or Groups</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2664669">Cannot Use Roaming Profiles</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2664840">Changing the Default Profile</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2665004">Debugging Roaming Profiles and NT4-style Domain Policies</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="pam.html">28. PAM-Based Distributed Authentication</a></span></dt><dd><dl><dt><span class="sect1"><a href="pam.html#id2665180">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="pam.html#id2665810">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2665864">PAM Configuration Syntax</a></span></dt><dt><span class="sect2"><a href="pam.html#id2666875">Example System Configurations</a></span></dt><dt><span class="sect2"><a href="pam.html#id2667181">smb.conf PAM Configuration</a></span></dt><dt><span class="sect2"><a href="pam.html#id2667262">Remote CIFS Authentication Using winbindd.so</a></span></dt><dt><span class="sect2"><a href="pam.html#id2667365">Password Synchronization Using pam_smbpass.so</a></span></dt></dl></dd><dt><span class="sect1"><a href="pam.html#id2667759">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2667770">pam_winbind Problem</a></span></dt><dt><span class="sect2"><a href="pam.html#id2667868">Winbind Is Not Resolving Users and Groups</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="integrate-ms-networks.html">29. Integrating MS Windows Networks with Samba</a></span></dt><dd><dl><dt><span class="sect1"><a href="integrate-ms-networks.html#id2668091">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2668111">Background Information</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2668240">Name Resolution in a Pure UNIX/Linux World</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2668313">/etc/hosts</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2668502">/etc/resolv.conf</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2668538">/etc/host.conf</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2668589">/etc/nsswitch.conf</a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2668713">Name Resolution as Used within MS Windows Networking</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669148">The NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669234">The LMHOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669410">HOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669438">DNS Lookup</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669465">WINS Lookup</a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2669603">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669616">Pinging Works Only One Way</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669647">Very Slow Network Connections</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669689">Samba Server Name-Change Problem</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="unicode.html">30. Unicode/Charsets</a></span></dt><dd><dl><dt><span class="sect1"><a href="unicode.html#id2669894">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2669946">What Are Charsets and Unicode?</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2670080">Samba and Charsets</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2670215">Conversion from Old Names</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2670247">Japanese Charsets</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2670386">Basic Parameter Setting</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2671027">Individual Implementations</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2671150">Migration from Samba-2.2 Series</a></span></dt></dl></dd><dt><span class="sect1"><a href="unicode.html#id2671297">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2671302">CP850.so Can't Be Found</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="Backup.html">31. Backup Techniques</a></span></dt><dd><dl><dt><span class="sect1"><a href="Backup.html#id2671410">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="Backup.html#id2671454">Discussion of Backup Solutions</a></span></dt><dd><dl><dt><span class="sect2"><a href="Backup.html#id2671551">BackupPC</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2671723">Rsync</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2671892">Amanda</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2671940">BOBS: Browseable Online Backup System</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="SambaHA.html">32. High Availability</a></span></dt><dd><dl><dt><span class="sect1"><a href="SambaHA.html#id2672036">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SambaHA.html#id2672157">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="SambaHA.html#id2672191">The Ultimate Goal</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2672321">Why Is This So Hard?</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2673034">A Simple Solution</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2673115">High-Availability Server Products</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2673255">MS-DFS: The Poor Man's Cluster</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2673292">Conclusions</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="largefile.html">33. Handling Large Directories</a></span></dt><dt><span class="chapter"><a href="cfgsmarts.html">34. Advanced Configuration Techniques</a></span></dt><dd><dl><dt><span class="sect1"><a href="cfgsmarts.html#id2673923">Implementation</a></span></dt><dd><dl><dt><span class="sect2"><a href="cfgsmarts.html#id2673932">Multiple Server Hosting</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2675343">Multiple Virtual Server Hosting</a></span></dt></dl></dd></dl></dd></dl></dd><dt><span class="part"><a href="migration.html">IV. Migration and Updating</a></span></dt><dd><dl><dt><span class="chapter"><a href="upgrading-to-3.0.html">35. Updating and Upgrading Samba</a></span></dt><dd><dl><dt><span class="sect1"><a href="upgrading-to-3.0.html#id2676238">Key Update Requirements</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2676275">Upgrading from Samba-3.0.x to Samba-3.2.0</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#oldupdatenotes">Upgrading from Samba-2.x to Samba-3.0.25</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2676324">Quick Migration Guide</a></span></dt></dl></dd><dt><span class="sect1"><a href="upgrading-to-3.0.html#id2676475">New Features in Samba-3.x Series</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2676484">New Features in Samba-3.2.x Series</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2677694">New Functionality</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="NT4Migration.html">36. Migration from NT4 PDC to Samba-3 PDC</a></span></dt><dd><dl><dt><span class="sect1"><a href="NT4Migration.html#id2679090">Planning and Getting Started</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2679125">Objectives</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2680070">Steps in Migration Process</a></span></dt></dl></dd><dt><span class="sect1"><a href="NT4Migration.html#id2680306">Migration Options</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2680392">Planning for Success</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2680625">Samba-3 Implementation Choices</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="SWAT.html">37. SWAT: The Samba Web Administration Tool</a></span></dt><dd><dl><dt><span class="sect1"><a href="SWAT.html#id2681115">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SWAT.html#id2681245">Guidelines and Technical Tips</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2681264">Validate SWAT Installation</a></span></dt><dt><span class="sect2"><a href="SWAT.html#xinetd">Enabling SWAT for Use</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2681902">Securing SWAT through SSL</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682054">Enabling SWAT Internationalization Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="SWAT.html#id2682252">Overview and Quick Tour</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2682265">The SWAT Home Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682326">Global Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682428">Share Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682483">Printers Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682540">The SWAT Wizard</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682603">The Status Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682647">The View Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682666">The Password Change Page</a></span></dt></dl></dd></dl></dd></dl></dd><dt><span class="part"><a href="troubleshooting.html">V. Troubleshooting</a></span></dt><dd><dl><dt><span class="chapter"><a href="diagnosis.html">38. The Samba Checklist</a></span></dt><dd><dl><dt><span class="sect1"><a href="diagnosis.html#id2682800">Introduction</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2682839">Assumptions</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2683132">The Tests</a></span></dt></dl></dd><dt><span class="chapter"><a href="problems.html">39. Analyzing and Solving Samba Problems</a></span></dt><dd><dl><dt><span class="sect1"><a href="problems.html#id2684879">Diagnostics Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="problems.html#id2684931">Debugging with Samba Itself</a></span></dt><dt><span class="sect2"><a href="problems.html#id2685187">Tcpdump</a></span></dt><dt><span class="sect2"><a href="problems.html#id2685238">Ethereal</a></span></dt><dt><span class="sect2"><a href="problems.html#id2685381">The Windows Network Monitor</a></span></dt></dl></dd><dt><span class="sect1"><a href="problems.html#id2685707">Useful URLs</a></span></dt><dt><span class="sect1"><a href="problems.html#id2685744">Getting Mailing List Help</a></span></dt><dt><span class="sect1"><a href="problems.html#id2685919">How to Get Off the Mailing Lists</a></span></dt></dl></dd><dt><span class="chapter"><a href="bugreport.html">40. Reporting Bugs</a></span></dt><dd><dl><dt><span class="sect1"><a href="bugreport.html#id2686050">Introduction</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2686140">General Information</a></span></dt><dt><span class="sect1"><a href="bugreport.html#dbglvl">Debug Levels</a></span></dt><dd><dl><dt><span class="sect2"><a href="bugreport.html#id2686375">Debugging-Specific Operations</a></span></dt></dl></dd><dt><span class="sect1"><a href="bugreport.html#id2686577">Internal Errors</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2686710">Attaching to a Running Process</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2686836">Patches</a></span></dt></dl></dd><dt><span class="chapter"><a href="tdb.html">41. Managing TDB Files</a></span></dt><dd><dl><dt><span class="sect1"><a href="tdb.html#id2686919">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="tdb.html#id2687381">Managing TDB Files</a></span></dt></dl></dd></dl></dd><dt><span class="part"><a href="Appendix.html">VI. Reference Section</a></span></dt><dd><dl><dt><span class="chapter"><a href="compiling.html">42. How to Compile Samba</a></span></dt><dd><dl><dt><span class="sect1"><a href="compiling.html#id2687571">Access Samba Source Code via Subversion</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2687577">Introduction</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2687618">Subversion Access to samba.org</a></span></dt></dl></dd><dt><span class="sect1"><a href="compiling.html#id2687810">Accessing the Samba Sources via rsync and ftp</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2687884">Verifying Samba's PGP Signature</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2688022">Building the Binaries</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2688260">Compiling Samba with Active Directory Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="compiling.html#startingSamba">Starting the smbd nmbd and winbindd</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2688531">Starting from inetd.conf</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2688751">Alternative: Starting smbd as a Daemon</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="Portability.html">43. Portability</a></span></dt><dd><dl><dt><span class="sect1"><a href="Portability.html#id2689135">HPUX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2689239">SCO UNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2689278">DNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2689420">Red Hat Linux</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2689463">AIX: Sequential Read Ahead</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2689525">Solaris</a></span></dt><dd><dl><dt><span class="sect2"><a href="Portability.html#id2689530">Locking Improvements</a></span></dt><dt><span class="sect2"><a href="Portability.html#winbind-solaris9">Winbind on Solaris 9</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="Other-Clients.html">44. Samba and Other CIFS Clients</a></span></dt><dd><dl><dt><span class="sect1"><a href="Other-Clients.html#id2689706">Macintosh Clients</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2689790">OS2 Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2689796">Configuring OS/2 Warp Connect or OS/2 Warp 4</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2689915">Configuring Other Versions of OS/2</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2689972">Printer Driver Download for OS/2 Clients</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2690065">Windows for Workgroups</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2690071">Latest TCP/IP Stack from Microsoft</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2690154">Delete .pwl Files After Password Change</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2690180">Configuring Windows for Workgroups Password Handling</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2690238">Password Case Sensitivity</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2690270">Use TCP/IP as Default Protocol</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#speedimpr">Speed Improvement</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2690327">Windows 95/98</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2690396">Speed Improvement</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2690417">Windows 2000 Service Pack 2</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2690613">Windows NT 3.1</a></span></dt></dl></dd><dt><span class="chapter"><a href="speed.html">45. Samba Performance Tuning</a></span></dt><dd><dl><dt><span class="sect1"><a href="speed.html#id2690721">Comparisons</a></span></dt><dt><span class="sect1"><a href="speed.html#id2690759">Socket Options</a></span></dt><dt><span class="sect1"><a href="speed.html#id2690856">Read Size</a></span></dt><dt><span class="sect1"><a href="speed.html#id2690900">Max Xmit</a></span></dt><dt><span class="sect1"><a href="speed.html#id2690948">Log Level</a></span></dt><dt><span class="sect1"><a href="speed.html#id2690972">Read Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691039">Write Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691091">Slow Logins</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691115">Client Tuning</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691136">Samba Performance Problem Due to Changing Linux Kernel</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691227">Corrupt tdb Files</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691323">Samba Performance is Very Slow</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch-ldap-tls.html">46. LDAP and Transport Layer Security</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch-ldap-tls.html#s1-intro-ldap-tls">Introduction</a></span></dt><dt><span class="sect1"><a href="ch-ldap-tls.html#s1-config-ldap-tls">Configuring</a></span></dt><dd><dl><dt><span class="sect2"><a href="ch-ldap-tls.html#s1-config-ldap-tls-certs">Generating the Certificate Authority</a></span></dt><dt><span class="sect2"><a href="ch-ldap-tls.html#s1-config-ldap-tls-server">Generating the Server Certificate</a></span></dt><dt><span class="sect2"><a href="ch-ldap-tls.html#s1-config-ldap-tls-install">Installing the Certificates</a></span></dt></dl></dd><dt><span class="sect1"><a href="ch-ldap-tls.html#s1-test-ldap-tls">Testing</a></span></dt><dt><span class="sect1"><a href="ch-ldap-tls.html#s1-int-ldap-tls">Troubleshooting</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch47.html">47. Samba Support</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch47.html#id2692514">Free Support</a></span></dt><dt><span class="sect1"><a href="ch47.html#id2692732">Commercial Support</a></span></dt></dl></dd><dt><span class="chapter"><a href="DNSDHCP.html">48. DNS and DHCP Configuration Guide</a></span></dt><dd><dl><dt><span class="sect1"><a href="DNSDHCP.html#id2692891">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="DNSDHCP.html#id2693070">Example Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="DNSDHCP.html#id2693161">Dynamic DNS</a></span></dt><dt><span class="sect2"><a href="DNSDHCP.html#DHCP">DHCP Server</a></span></dt></dl></dd></dl></dd></dl></dd><dt><span class="appendix"><a href="apa.html">A.5 GNUGeneral Public License version 36 </a></span></dt><dd><dl><dt><span class="bridgehead"><a href="apa.html#id269 3460">A.1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>The Official Samba 3.3.x HOWTO and Reference Guide</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="next" href="pr01.html" title="About the Cover Artwork"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">The Official Samba 3.3.x HOWTO and Reference Guide</th></tr><tr><td width="20%" align="left"> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="pr01.html">Next</a></td></tr></table><hr></div><div class="book" title="The Official Samba 3.3.x HOWTO and Reference Guide"><div class="titlepage"><div><div><h1 class="title"><a name="Samba-HOWTO-Collection"></a>The Official Samba 3.3.x HOWTO and Reference Guide</h1></div><div><div class="authorgroup"><div class="editor"><h4 class="editedby">Edited by</h4><h3 class="editor"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<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#id2557252">Conventions Used</a></span></dt></dl></dd><dt><span class="preface"><a href="IntroSMB.html">Introduction</a></span></dt><dd><dl><dt><span class="sect1"><a href="IntroSMB.html#id2557435">What Is Samba?</a></span></dt><dt><span class="sect1"><a href="IntroSMB.html#id2504941">Why This Book?</a></span></dt><dt><span class="sect1"><a href="IntroSMB.html#id2557731">Book Structure and Layout</a></span></dt></dl></dd><dt><span class="part"><a href="introduction.html">I. General Installation</a></span></dt><dd><dl><dt><span class="chapter"><a href="install.html">1. How to Install and Test SAMBA</a></span></dt><dd><dl><dt><span class="sect1"><a href="install.html#id2557993">Obtaining and Installing Samba</a></span></dt><dt><span class="sect1"><a href="install.html#id2558033">Configuring Samba (smb.conf)</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2558075">Configuration File Syntax</a></span></dt><dt><span class="sect2"><a href="install.html#tdbdocs">TDB Database File Information</a></span></dt><dt><span class="sect2"><a href="install.html#id2558977">Starting Samba</a></span></dt><dt><span class="sect2"><a href="install.html#id2559157">Example Configuration</a></span></dt><dt><span class="sect2"><a href="install.html#id2559561">SWAT</a></span></dt></dl></dd><dt><span class="sect1"><a href="install.html#id2559619">List Shares Available on the Server</a></span></dt><dt><span class="sect1"><a href="install.html#id2559671">Connect with a UNIX Client</a></span></dt><dt><span class="sect1"><a href="install.html#id2559762">Connect from a Remote SMB Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2559843">What If Things Don't Work?</a></span></dt><dt><span class="sect2"><a href="install.html#id2559884">Still Stuck?</a></span></dt></dl></dd><dt><span class="sect1"><a href="install.html#id2559917">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2559927">Large Number of smbd Processes</a></span></dt><dt><span class="sect2"><a href="install.html#id2560014">Error Message: open_oplock_ipc</a></span></dt><dt><span class="sect2"><a href="install.html#id2560047"><span class="quote">“<span class="quote"><span class="errorname">The network name cannot be found</span></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#id2560189">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2560212">Description of Example Sites</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2560282">Worked Examples</a></span></dt><dd><dl><dt><span class="sect2"><a href="FastStart.html#id2560300">Standalone Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2562042">Domain Member Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2562885">Domain Controller</a></span></dt></dl></dd></dl></dd></dl></dd><dt><span class="part"><a href="type.html">II. Server Configuration Basics</a></span></dt><dd><dl><dt><span class="chapter"><a href="ServerType.html">3. Server Types and Security Modes</a></span></dt><dd><dl><dt><span class="sect1"><a href="ServerType.html#id2564889">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2565049">Server Types</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2565193">Samba Security Modes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2565355">User Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2565518">Share-Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2565710">Domain Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2566205">ADS Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2566348">Server Security (User Level Security)</a></span></dt></dl></dd><dt><span class="sect1"><a href="ServerType.html#id2566623">Password Checking</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2566810">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2566840">What Makes Samba a Server?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2566873">What Makes Samba a Domain Controller?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2566910">What Makes Samba a Domain Member?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2566937">Constantly Losing Connections to Password Server</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2566995">Stand-alone Server is converted to Domain Controller Now User accounts don't work</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="samba-pdc.html">4. Domain Control</a></span></dt><dd><dl><dt><span class="sect1"><a href="samba-pdc.html#id2567320">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2568544">Basics of Domain Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2568563">Domain Controller Types</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2569068">Preparing for Domain Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2570321">Samba ADS Domain Control</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2570374">Domain and Network Logon Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2570393">Domain Network Logon Service</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2570985">Security Mode and Master Browsers</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2571265">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2571270"><span class="quote">“<span class="quote">$</span>”</span> Cannot Be Included in Machine Name</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2571371">Joining Domain Fails Because of Existing Machine Account</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2571436">The System Cannot Log You On (C000019B)</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2571512">The Machine Trust Account Is Not Accessible</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2571632">Account Disabled</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2571659">Domain Controller Unavailable</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2571678">Cannot Log onto Domain Member Workstation After Joining Domain</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="samba-bdc.html">5. Backup Domain Control</a></span></dt><dd><dl><dt><span class="sect1"><a href="samba-bdc.html#id2571862">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-bdc.html#id2572268">Essential Background Information</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2573025">LDAP Configuration Notes</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2573390">Active Directory Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2573448">What Qualifies a Domain Controller on the Network?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2573539">How Does a Workstation find its Domain Controller?</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2574222">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2574686">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2574730">Machine Accounts Keep Expiring</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2574784">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2574840">How Do I Replicate the smbpasswd File?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2574945">Can I Do This All with LDAP?</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="domain-member.html">6. Domain Membership</a></span></dt><dd><dl><dt><span class="sect1"><a href="domain-member.html#id2575193">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2576317">Managing Domain Machine Accounts using NT4 Server Manager</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2576597">On-the-Fly Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2576703">Making an MS Windows Workstation or Server a Domain Member</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#domain-member-server">Domain Member Server</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2577904">Why Is This Better Than <em class="parameter"><code>security = server</code></em>?</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#ads-member">Samba ADS Domain Membership</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2578186">Configure <code class="filename">smb.conf</code></a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2578377">Configure <code class="filename">/etc/krb5.conf</code></a></span></dt><dt><span class="sect2"><a href="domain-member.html#ads-create-machine-account">Create the Computer Account</a></span></dt><dt><span class="sect2"><a href="domain-member.html#ads-test-server">Testing Server Setup</a></span></dt><dt><span class="sect2"><a href="domain-member.html#ads-test-smbclient">Testing with <span class="application">smbclient</span></a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2579471">Notes</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#id2579543">Sharing User ID Mappings between Samba Domain Members</a></span></dt><dt><span class="sect1"><a href="domain-member.html#id2579750">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2579789">Cannot Add Machine Back to Domain</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2579865">Adding Machine to Domain Fails</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2580101">I Can't Join a Windows 2003 PDC</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="StandAloneServer.html">7. Standalone Servers</a></span></dt><dd><dl><dt><span class="sect1"><a href="StandAloneServer.html#id2580234">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2580328">Background</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2580529">Example Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a></span></dt><dt><span class="sect2"><a href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></span></dt></dl></dd><dt><span class="sect1"><a href="StandAloneServer.html#id2581512">Common Errors</a></span></dt></dl></dd><dt><span class="chapter"><a href="ClientConfig.html">8. MS Windows Network Configuration Guide</a></span></dt><dd><dl><dt><span class="sect1"><a href="ClientConfig.html#id2581580">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ClientConfig.html#id2581640">Technical Details</a></span></dt><dd><dl><dt><span class="sect2"><a href="ClientConfig.html#id2581683">TCP/IP Configuration</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2583455">Joining a Domain: Windows 2000/XP Professional</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2583981">Domain Logon Configuration: Windows 9x/Me</a></span></dt></dl></dd><dt><span class="sect1"><a href="ClientConfig.html#id2584425">Common Errors</a></span></dt></dl></dd></dl></dd><dt><span class="part"><a href="optional.html">III. Advanced Configuration</a></span></dt><dd><dl><dt><span class="chapter"><a href="ChangeNotes.html">9. Important and Critical Change Notes for the Samba 3.x Series</a></span></dt><dd><dl><dt><span class="sect1"><a href="ChangeNotes.html#id2584662">Important Samba-3.2.x Change Notes</a></span></dt><dt><span class="sect1"><a href="ChangeNotes.html#id2584674">Important Samba-3.0.x Change Notes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ChangeNotes.html#id2584733">User and Group Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2585045">Essential Group Mappings</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2585166">Passdb Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2585226">Group Mapping Changes in Samba-3.0.23</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2585347">LDAP Changes in Samba-3.0.23</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="NetworkBrowsing.html">10. Network Browsing</a></span></dt><dd><dl><dt><span class="sect1"><a href="NetworkBrowsing.html#id2585610">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="NetworkBrowsing.html#id2585793">What Is Browsing?</a></span></dt><dt><span class="sect1"><a href="NetworkBrowsing.html#netdiscuss">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586870">TCP/IP without NetBIOS</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#adsdnstech">DNS and Active Directory</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2587429">How Browsing Functions</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2588376">Domain Browsing Configuration</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2588976">Making Samba the Domain Master</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2589216">Note about Broadcast Addresses</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2589238">Multiple Interfaces</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2589424">Use of the Remote Announce Parameter</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2589564">Use of the Remote Browse Sync Parameter</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2589657">WINS: The Windows Internetworking Name Server</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2589928">WINS Server Configuration</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2590249">WINS Replication</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2590302">Static WINS Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2590534">Helpful Hints</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2590545">Windows Networking Protocols</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2590686">Name Resolution Order</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2590890">Technical Overview of Browsing</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2590976">Browsing Support in Samba</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2591173">Problem Resolution</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2591424">Cross-Subnet Browsing</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2592438">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2592464">Flushing the Samba NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2592537">Server Resources Cannot Be Listed</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2592585">I Get an "<span class="errorname">Unable to browse the network</span>" Error</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2592632">Browsing of Shares and Directories is Very Slow</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2592832">Invalid Cached Share References Affects Network Browsing</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="passdb.html">11. Account Information Databases</a></span></dt><dd><dl><dt><span class="sect1"><a href="passdb.html#id2593316">Features and Benefits</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2593352">Backward Compatibility Account Storage Systems</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2593543">New Account Storage Systems</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#passdbtech">Technical Information</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2594111">Important Notes About Security</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2594631">Mapping User Identifiers between MS Windows and UNIX</a></span></dt><dt><span class="sect2"><a href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2595179">Comments Regarding LDAP</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#acctmgmttools">Account Management Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2596033">The <code class="literal">smbpasswd</code> Tool</a></span></dt><dt><span class="sect2"><a href="passdb.html#pdbeditthing">The <code class="literal">pdbedit</code> Tool</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#id2598586">Password Backends</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2598639">Plaintext</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2598981">tdbsam</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2599139">ldapsam</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#id2601663">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2601669">Users Cannot Logon</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2601707">Configuration of <em class="parameter"><code>auth methods</code></em></a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="groupmapping.html">12. Group Mapping: MS Windows and UNIX</a></span></dt><dd><dl><dt><span class="sect1"><a href="groupmapping.html#id2601958">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="groupmapping.html#id2602374">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2602711">Warning: User Private Group Problems</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2603344">Important Administrative Information</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2603585">Default Users, Groups, and Relative Identifiers</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2604210">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2604286">Configuration Scripts</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2604298">Sample <code class="filename">smb.conf</code> Add Group Script</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2604470">Script to Configure Group Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2604597">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2604610">Adding Groups Fails</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2604697">Adding Domain Users to the Workstation Power Users Group</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="NetCommand.html">13. Remote and Local Management: The Net Command</a></span></dt><dd><dl><dt><span class="sect1"><a href="NetCommand.html#id2605091">Overview</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2605385">Administrative Tasks and Methods</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2605466">UNIX and Windows Group Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2605625">Adding, Renaming, or Deletion of Group Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#grpmemshipchg">Manipulating Group Memberships</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#nestedgrpmgmgt">Nested Group Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2606994">UNIX and Windows User Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#sbeuseraddn">Adding User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2607206">Deletion of User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2607254">Managing User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2607322">User Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2607406">Administering User Rights and Privileges</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2607751">Managing Trust Relationships</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2607766">Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2608135">Interdomain Trusts</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2608369">Managing Security Identifiers (SIDS)</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2608591">Share Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2608636">Creating, Editing, and Removing Shares</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2608824">Creating and Changing Share ACLs</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2608854">Share, Directory, and File Migration</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2609477">Printer Migration</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2609728">Controlling Open Files</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2609747">Session and Connection Management</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2609812">Printers and ADS</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2609928">Manipulating the Samba Cache</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2609946">Managing IDMAP UID/SID Mappings</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2609990">Creating an IDMAP Database Dump File</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2610025">Restoring the IDMAP Database Dump File</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#netmisc1">Other Miscellaneous Operations</a></span></dt></dl></dd><dt><span class="chapter"><a href="idmapper.html">14. Identity Mapping (IDMAP)</a></span></dt><dd><dl><dt><span class="sect1"><a href="idmapper.html#id2610535">Samba Server Deployment Types and IDMAP</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2610560">Standalone Samba Server</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2611579">Primary Domain Controller</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2611813">Backup Domain Controller</a></span></dt></dl></dd><dt><span class="sect1"><a href="idmapper.html#id2611885">Examples of IDMAP Backend Usage</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2611948">Default Winbind TDB</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2612670">IDMAP_RID with Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2613261">IDMAP Storage in LDAP Using Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2613846">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="rights.html">15. User Rights and Privileges</a></span></dt><dd><dl><dt><span class="sect1"><a href="rights.html#id2614523">Rights Management Capabilities</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2614798">Using the <span class="quote">“<span class="quote">net rpc rights</span>”</span> Utility</a></span></dt><dt><span class="sect2"><a href="rights.html#id2615144">Description of Privileges</a></span></dt><dt><span class="sect2"><a href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></span></dt></dl></dd><dt><span class="sect1"><a href="rights.html#id2615970">The Administrator Domain SID</a></span></dt><dt><span class="sect1"><a href="rights.html#id2616147">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2616153">What Rights and Privileges Will Permit Windows Client Administration?</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="AccessControls.html">16. File, Directory, and Share Access Controls</a></span></dt><dd><dl><dt><span class="sect1"><a href="AccessControls.html#id2616650">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AccessControls.html#id2616837">File System Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2616851">MS Windows NTFS Comparison with UNIX File Systems</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2617188">Managing Directories</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2617311">File and Directory Access Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2617982">Share Definition Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2618015">User- and Group-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2618383">File and Directory Permissions-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2618720">Miscellaneous Controls</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2619058">Access Controls on Shares</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2619206">Share Permissions Management</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2619552">MS Windows Access Control Lists and UNIX Interoperability</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2619559">Managing UNIX Permissions Using NT Security Dialogs</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2619606">Viewing File Security on a Samba Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2619677">Viewing File Ownership</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2619821">Viewing File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2620036">Modifying File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2620193">Interaction with the Standard Samba <span class="quote">“<span class="quote">create mask</span>”</span> Parameters</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2620562">Interaction with the Standard Samba File Attribute Mapping</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2620635">Windows NT/200X ACLs and POSIX ACLs Limitations</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2621054">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2621066">Users Cannot Write to a Public Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2621388">File Operations Done as <span class="emphasis"><em>root</em></span> with <span class="emphasis"><em>force user</em></span> Set</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2621434">MS Word with Samba Changes Owner of File</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="locking.html">17. File and Record Locking</a></span></dt><dd><dl><dt><span class="sect1"><a href="locking.html#id2621671">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="locking.html#id2621768">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2622026">Opportunistic Locking Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2623031">Samba Oplocks Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2623125">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2623539">MS Windows Oplocks and Caching Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2623726">Workstation Service Entries</a></span></dt><dt><span class="sect2"><a href="locking.html#id2623748">Server Service Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2623814">Persistent Data Corruption</a></span></dt><dt><span class="sect1"><a href="locking.html#id2623839">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2623907">locking.tdb Error Messages</a></span></dt><dt><span class="sect2"><a href="locking.html#id2623937">Problems Saving Files in MS Office on Windows XP</a></span></dt><dt><span class="sect2"><a href="locking.html#id2623962">Long Delays Deleting Files over Network with XP SP1</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2623993">Additional Reading</a></span></dt></dl></dd><dt><span class="chapter"><a href="securing-samba.html">18. Securing Samba</a></span></dt><dd><dl><dt><span class="sect1"><a href="securing-samba.html#id2624168">Introduction</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2624266">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2624413">Technical Discussion of Protective Measures and Issues</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2624429">Using Host-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2624583">User-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2624642">Using Interface Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#firewallports">Using a Firewall</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2624993">Using IPC$ Share-Based Denials </a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2625141">NTLMv2 Security</a></span></dt></dl></dd><dt><span class="sect1"><a href="securing-samba.html#id2625196">Upgrading Samba</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2625240">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2625255">Smbclient Works on Localhost, but the Network Is Dead</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2625284">Why Can Users Access Other Users' Home Directories?</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="InterdomainTrusts.html">19. Interdomain Trust Relationships</a></span></dt><dd><dl><dt><span class="sect1"><a href="InterdomainTrusts.html#id2625845">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2626202">Native MS Windows NT4 Trusts Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2626238">Creating an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2626335">Completing an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2626421">Interdomain Trust Facilities</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2626630">Configuring Samba NT-Style Domain Trusts</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2626971">Samba as the Trusting Domain</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2627167">NT4-Style Domain Trusts with Windows 2000</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2627316">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2627329">Browsing of Trusted Domain Fails</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2627375">Problems with LDAP ldapsam and Older Versions of smbldap-tools</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="msdfs.html">20. Hosting a Microsoft Distributed File System Tree</a></span></dt><dd><dl><dt><span class="sect1"><a href="msdfs.html#id2627553">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="msdfs.html#id2627972">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="msdfs.html#id2628005">MSDFS UNIX Path Is Case-Critical</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="classicalprinting.html">21. Classical Printing Support</a></span></dt><dd><dl><dt><span class="sect1"><a href="classicalprinting.html#id2628204">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2628427">Technical Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2628578">Client to Samba Print Job Processing</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2628638">Printing-Related Configuration Parameters</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2628739">Simple Print Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2629022">Verifying Configuration with <code class="literal">testparm</code></a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2629220">Rapid Configuration Validation</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2629619">Extended Printing Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2630075">Detailed Explanation Settings</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2632790">Point'n'Print Client Drivers on Samba Servers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2632959">The Obsoleted [printer$] Section</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2633081">Creating the [print$] Share</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2633298">[print$] Stanza Parameters</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2633618">The [print$] Share Directory</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2633761">Installing Drivers into [print$]</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2633854">Add Printer Wizard Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#inst-rpc">Installing Print Drivers Using <code class="literal">rpcclient</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2635786">Client Driver Installation Procedure</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2635803">First Client Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#prt-modeset">Setting Device Modes on New Printers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2636368">Additional Client Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2636487">Always Make First Client Connection as root or <span class="quote">“<span class="quote">printer admin</span>”</span></a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2636660">Other Gotchas</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2636681">Setting Default Print Options for Client Drivers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2637048">Supporting Large Numbers of Printers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2637304">Adding New Printers with the Windows NT APW</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2637564">Error Message: <span class="quote">“<span class="quote">Cannot connect under a different Name</span>”</span></a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2637678">Take Care When Assembling Driver Files</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2637988">Samba and Printer Ports</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2638097">Avoiding Common Client Driver Misconfiguration</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2638134">The Imprints Toolset</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2638180">What Is Imprints?</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2638214">Creating Printer Driver Packages</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2638230">The Imprints Server</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2638247">The Installation Client</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2638381">Adding Network Printers without User Interaction</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2638654">The <code class="literal">addprinter</code> Command</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2638693">Migration of Classical Printing to Samba</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2638842">Publishing Printer Information in Active Directory or LDAP</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2638871">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2638877">I Give My Root Password but I Do Not Get Access</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2638918">My Print Jobs Get Spooled into the Spooling Directory, but Then Get Lost</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="CUPS-printing.html">22. CUPS Printing Support</a></span></dt><dd><dl><dt><span class="sect1"><a href="CUPS-printing.html#id2639060">Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2639066">Features and Benefits</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639126">Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2639245">Basic CUPS Support Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2639361">Linking smbd with libcups.so</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639609">Simple <code class="filename">smb.conf</code> Settings for CUPS</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639853">More Complex CUPS <code class="filename">smb.conf</code> Settings</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640231">Advanced Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2640248">Central Spooling vs. <span class="quote">“<span class="quote">Peer-to-Peer</span>”</span> Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640299">Raw Print Serving: Vendor Drivers on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640534">Installation of Windows Client Drivers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#cups-raw">Explicitly Enable <span class="quote">“<span class="quote">raw</span>”</span> Printing for <span class="emphasis"><em>application/octet-stream</em></span></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640821">Driver Upload Methods</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640942">Advanced Intelligent Printing with PostScript Driver Download</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#gdipost">GDI on Windows, PostScript on UNIX</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641134">Windows Drivers, GDI, and EMF</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641313">UNIX Printfile Conversion and GUI Basics</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#post-and-ghost">PostScript and Ghostscript</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641672">Ghostscript: The Software RIP for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641826">PostScript Printer Description (PPD) Specification</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641909">Using Windows-Formatted Vendor PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642028">CUPS Also Uses PPDs for Non-PostScript Printers</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2642068">The CUPS Filtering Architecture</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642732">MIME Type Conversion Rules</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642940">Filtering Overview</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643098">Prefilters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643286">pstops</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643453">pstoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643723">imagetops and imagetoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643807">rasterto [printers specific]</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644027">CUPS Backends</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644365">The Role of <em class="parameter"><code>cupsomatic/foomatic</code></em></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644600">The Complete Picture</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644613"><code class="filename">mime.convs</code></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644682"><span class="quote">“<span class="quote">Raw</span>”</span> Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644790">application/octet-stream Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645069">PostScript Printer Descriptions for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645352"><span class="emphasis"><em>cupsomatic/foomatic-rip</em></span> Versus <span class="emphasis"><em>Native CUPS</em></span> Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645689">Examples for Filtering Chains</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2646117">Sources of CUPS Drivers/PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2646240">Printing with Interface Scripts</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2646335">Network Printing (Purely Windows)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2646352">From Windows Clients to an NT Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2646414">Driver Execution on the Client</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2646485">Driver Execution on the Server</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2646590">Network Printing (Windows Clients and UNIX/Samba Print 2 Servers)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2646608">From Windows Clients to a CUPS/Samba Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2646799">Samba Receiving Job-Files and Passing Them to CUPS</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2646878">Network PostScript RIP</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2646968">PPDs for Non-PS Printers on UNIX</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647013">PPDs for Non-PS Printers on Windows</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2647081">Windows Terminal Servers (WTS) as CUPS Clients</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2647095">Printer Drivers Running in <span class="quote">“<span class="quote">Kernel Mode</span>”</span> Cause Many 3 Problems</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647134">Workarounds Impose Heavy Limitations</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647151">CUPS: A <span class="quote">“<span class="quote">Magical Stone</span>”</span>?</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647194">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#id2647282">Configuring CUPS for Driver Download</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2647304"><span class="emphasis"><em>cupsaddsmb</em></span>: The Unknown Utility</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647402">Prepare Your <code class="filename">smb.conf</code> for <code class="literal">cupsaddsmb</code></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647683">CUPS <span class="quote">“<span class="quote">PostScript Driver for Windows NT/200x/XP</span>”</span></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647923">Recognizing Different Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648041">Acquiring the Adobe Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648067">ESP Print Pro PostScript Driver for Windows NT/200x/XP</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648129">Caveats to Be Considered</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648429">Windows CUPS PostScript Driver Versus Adobe Driver</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648647">Run cupsaddsmb (Quiet Mode)</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648787">Run cupsaddsmb with Verbose Output</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648978">Understanding cupsaddsmb</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649123">How to Recognize If cupsaddsmb Completed Successfully</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649245">cupsaddsmb with a Samba PDC</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649326">cupsaddsmb Flowchart</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649407">Installing the PostScript Driver on a Client</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#cups-avoidps1">Avoiding Critical PostScript Driver Settings on the Client</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2649642">Installing PostScript Driver Files Manually Using rpcclient</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2649816">A Check of the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649987">Understanding the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2650092">Producing an Example by Querying a Windows Box</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2650224">Requirements for adddriver and setdriver to Succeed</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2650449">Manual Driver Installation in 15 Steps</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2651408">Troubleshooting Revisited</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2651551">The Printing <code class="filename">*.tdb</code> Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2651754">Trivial Database Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2651821">Binary Format</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2651887">Losing <code class="filename">*.tdb</code> Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2651938">Using <code class="literal">tdbbackup</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2652058">CUPS Print Drivers from Linuxprinting.org</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2652233">foomatic-rip and Foomatic Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2653055">foomatic-rip and Foomatic PPD Download and Installation</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2653528">Page Accounting with CUPS</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2653563">Setting Up Quotas</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2653617">Correct and Incorrect Accounting</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2653658">Adobe and CUPS PostScript Drivers for Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2653798">The page_log File Syntax</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2653943">Possible Shortcomings</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2654009">Future Developments</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2654049">Other Accounting Tools</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2654063">Additional Material</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2654280">Autodeletion or Preservation of CUPS Spool Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2654356">CUPS Configuration Settings Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2654441">Preconditions</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2654580">Manual Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2654628">Printing from CUPS to Windows-Attached Printers</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2654924">More CUPS Filtering Chains</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2655035">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2655041">Windows 9x/Me Client Can't Install Driver</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#root-ask-loop"><span class="quote">“<span class="quote">cupsaddsmb</span>”</span> Keeps Asking for Root Password in Never-ending Loop</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655118"><span class="quote">“<span class="quote">cupsaddsmb</span>”</span> or <span class="quote">“<span class="quote">rpcclient addriver</span>”</span> Emit Error</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655156"><span class="quote">“<span class="quote">cupsaddsmb</span>”</span> Errors</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655230">Client Can't Connect to Samba Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655254">New Account Reconnection from Windows 200x/XP Troubles</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655345">Avoid Being Connected to the Samba Server as the Wrong User</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655397">Upgrading to CUPS Drivers from Adobe Drivers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655434">Can't Use <span class="quote">“<span class="quote">cupsaddsmb</span>”</span> on Samba Server, Which Is a PDC</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655470">Deleted Windows 200x Printer Driver Is Still Shown</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655505">Windows 200x/XP Local Security Policies</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655538">Administrator Cannot Install Printers for All Local Users</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655579">Print Change, Notify Functions on NT Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655604">Windows XP SP1</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655651">Print Options for All Users Can't Be Set on Windows 200x/XP</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655934">Most Common Blunders in Driver Settings on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655990"><code class="literal">cupsaddsmb</code> Does Not Work with Newly Installed Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2656039">Permissions on <code class="filename">/var/spool/samba/</code> Get Reset After Each Reboot</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2656138">Print Queue Called <span class="quote">“<span class="quote">lp</span>”</span> Mishandles Print Jobs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2656207">Location of Adobe PostScript Driver Files for <span class="quote">“<span class="quote">cupsaddsmb</span>”</span></a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2656260">Overview of the CUPS Printing Processes</a></span></dt></dl></dd><dt><span class="chapter"><a href="VFS.html">23. Stackable VFS modules</a></span></dt><dd><dl><dt><span class="sect1"><a href="VFS.html#id2656448">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2656487">Discussion</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2656882">Included Modules</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2656888">audit</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2656928">default_quota</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2657146">extd_audit</a></span></dt><dt><span class="sect2"><a href="VFS.html#fakeperms">fake_perms</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2657472">recycle</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2657868">netatalk</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2657919">shadow_copy</a></span></dt></dl></dd><dt><span class="sect1"><a href="VFS.html#id2658822">VFS Modules Available Elsewhere</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2658847">DatabaseFS</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2658907">vscan</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2658946">vscan-clamav</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="winbind.html">24. Winbind: Use of Domain Accounts</a></span></dt><dd><dl><dt><span class="sect1"><a href="winbind.html#id2659210">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2659554">Introduction</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2659643">What Winbind Provides</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2659796">Target Uses</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2659842">Handling of Foreign SIDs</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2659968">How Winbind Works</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2660018">Microsoft Remote Procedure Calls</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2660111">Microsoft Active Directory Services</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2660159">Name Service Switch</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2660391">Pluggable Authentication Modules</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2660546">User and Group ID Allocation</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2660622">Result Caching</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2660678">Installation and Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2660684">Introduction</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2660799">Requirements</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2660951">Testing Things Out</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2663370">Conclusion</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2663418">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2663460">NSCD Problem Warning</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2663497">Winbind Is Not Resolving Users and Groups</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="AdvancedNetworkManagement.html">25. Advanced Network Management</a></span></dt><dd><dl><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2663685">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2663712">Remote Server Administration</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2663855">Remote Desktop Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2664260">Remote Management with ThinLinc</a></span></dt></dl></dd><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2664445">Network Logon Script Magic</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2664670">Adding Printers without User Intervention</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2664713">Limiting Logon Connections</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="PolicyMgmt.html">26. System and Account Policies</a></span></dt><dd><dl><dt><span class="sect1"><a href="PolicyMgmt.html#id2664856">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2664962">Creating and Managing System Policies</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2665151">Windows 9x/ME Policies</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2665288">Windows NT4-Style Policy Files</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2665509">MS Windows 200x/XP Professional Policies</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2665958">Managing Account/User Policies</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2666185">Management Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2666198">Samba Editreg Toolset</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2666280">Windows NT4/200x</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2666320">Samba PDC</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2666385">System Startup and Logon Processing Overview</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2666542">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2666554">Policy Does Not Work</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="ProfileMgmt.html">27. Desktop Profile Management</a></span></dt><dd><dl><dt><span class="sect1"><a href="ProfileMgmt.html#id2666639">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2666688">Roaming Profiles</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2666742">Samba Configuration for Profile Handling</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2667353">Windows Client Profile Configuration Information</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2668697">User Profile Hive Cleanup Service</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2668731">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2668829">Profile Migration from Windows NT4/200x Server to Samba</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2669181">Mandatory Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2669321">Creating and Managing Group Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2669400">Default Profile for Windows Users</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2669430">MS Windows 9x/Me</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2669587">MS Windows NT4 Workstation</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2670149">MS Windows 200x/XP</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2670655">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2670666">Configuring Roaming Profiles for a Few Users or Groups</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2670727">Cannot Use Roaming Profiles</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2670898">Changing the Default Profile</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2671062">Debugging Roaming Profiles and NT4-style Domain Policies</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="pam.html">28. PAM-Based Distributed Authentication</a></span></dt><dd><dl><dt><span class="sect1"><a href="pam.html#id2671238">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="pam.html#id2671868">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2671922">PAM Configuration Syntax</a></span></dt><dt><span class="sect2"><a href="pam.html#id2672928">Example System Configurations</a></span></dt><dt><span class="sect2"><a href="pam.html#id2673234"><code class="filename">smb.conf</code> PAM Configuration</a></span></dt><dt><span class="sect2"><a href="pam.html#id2673315">Remote CIFS Authentication Using <code class="filename">winbindd.so</code></a></span></dt><dt><span class="sect2"><a href="pam.html#id2673418">Password Synchronization Using <code class="filename">pam_smbpass.so</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="pam.html#id2673812">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2673824">pam_winbind Problem</a></span></dt><dt><span class="sect2"><a href="pam.html#id2673922">Winbind Is Not Resolving Users and Groups</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="integrate-ms-networks.html">29. Integrating MS Windows Networks with Samba</a></span></dt><dd><dl><dt><span class="sect1"><a href="integrate-ms-networks.html#id2674144">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2674165">Background Information</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2674293">Name Resolution in a Pure UNIX/Linux World</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2674366"><code class="filename">/etc/hosts</code></a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2674555"><code class="filename">/etc/resolv.conf</code></a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2674591"><code class="filename">/etc/host.conf</code></a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2674642"><code class="filename">/etc/nsswitch.conf</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2674766">Name Resolution as Used within MS Windows Networking</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675201">The NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675287">The LMHOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675465">HOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675493">DNS Lookup</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675520">WINS Lookup</a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2675658">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675671">Pinging Works Only One Way</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675702">Very Slow Network Connections</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675744">Samba Server Name-Change Problem</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="unicode.html">30. Unicode/Charsets</a></span></dt><dd><dl><dt><span class="sect1"><a href="unicode.html#id2675949">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2676001">What Are Charsets and Unicode?</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2676134">Samba and Charsets</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2676270">Conversion from Old Names</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2676302">Japanese Charsets</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2676441">Basic Parameter Setting</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2677082">Individual Implementations</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2677205">Migration from Samba-2.2 Series</a></span></dt></dl></dd><dt><span class="sect1"><a href="unicode.html#id2677352">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2677357">CP850.so Can't Be Found</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="Backup.html">31. Backup Techniques</a></span></dt><dd><dl><dt><span class="sect1"><a href="Backup.html#id2677464">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="Backup.html#id2677509">Discussion of Backup Solutions</a></span></dt><dd><dl><dt><span class="sect2"><a href="Backup.html#id2677606">BackupPC</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2677778">Rsync</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2677947">Amanda</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2677995">BOBS: Browseable Online Backup System</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="SambaHA.html">32. High Availability</a></span></dt><dd><dl><dt><span class="sect1"><a href="SambaHA.html#id2678091">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SambaHA.html#id2678212">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="SambaHA.html#id2678246">The Ultimate Goal</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2678376">Why Is This So Hard?</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2679095">A Simple Solution</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2679176">High-Availability Server Products</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2679316">MS-DFS: The Poor Man's Cluster</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2679353">Conclusions</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="largefile.html">33. Handling Large Directories</a></span></dt><dt><span class="chapter"><a href="cfgsmarts.html">34. Advanced Configuration Techniques</a></span></dt><dd><dl><dt><span class="sect1"><a href="cfgsmarts.html#id2679984">Implementation</a></span></dt><dd><dl><dt><span class="sect2"><a href="cfgsmarts.html#id2679993">Multiple Server Hosting</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2681404">Multiple Virtual Server Hosting</a></span></dt></dl></dd></dl></dd></dl></dd><dt><span class="part"><a href="migration.html">IV. Migration and Updating</a></span></dt><dd><dl><dt><span class="chapter"><a href="upgrading-to-3.0.html">35. Updating and Upgrading Samba</a></span></dt><dd><dl><dt><span class="sect1"><a href="upgrading-to-3.0.html#id2682300">Key Update Requirements</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2682336">Upgrading from Samba-3.0.x to Samba-3.2.0</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#oldupdatenotes">Upgrading from Samba-2.x to Samba-3.0.25</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2682386">Quick Migration Guide</a></span></dt></dl></dd><dt><span class="sect1"><a href="upgrading-to-3.0.html#id2682537">New Features in Samba-3.x Series</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2682546">New Features in Samba-3.2.x Series</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2683756">New Functionality</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="NT4Migration.html">36. Migration from NT4 PDC to Samba-3 PDC</a></span></dt><dd><dl><dt><span class="sect1"><a href="NT4Migration.html#id2685152">Planning and Getting Started</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2685187">Objectives</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2686132">Steps in Migration Process</a></span></dt></dl></dd><dt><span class="sect1"><a href="NT4Migration.html#id2686367">Migration Options</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2686454">Planning for Success</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2686687">Samba-3 Implementation Choices</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="SWAT.html">37. SWAT: The Samba Web Administration Tool</a></span></dt><dd><dl><dt><span class="sect1"><a href="SWAT.html#id2687177">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SWAT.html#id2687302">Guidelines and Technical Tips</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2687321">Validate SWAT Installation</a></span></dt><dt><span class="sect2"><a href="SWAT.html#xinetd">Enabling SWAT for Use</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2687958">Securing SWAT through SSL</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688110">Enabling SWAT Internationalization Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="SWAT.html#id2688308">Overview and Quick Tour</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2688322">The SWAT Home Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688382">Global Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688484">Share Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688540">Printers Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688596">The SWAT Wizard</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688659">The Status Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688703">The View Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688722">The Password Change Page</a></span></dt></dl></dd></dl></dd></dl></dd><dt><span class="part"><a href="troubleshooting.html">V. Troubleshooting</a></span></dt><dd><dl><dt><span class="chapter"><a href="diagnosis.html">38. The Samba Checklist</a></span></dt><dd><dl><dt><span class="sect1"><a href="diagnosis.html#id2688857">Introduction</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2688896">Assumptions</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2689189">The Tests</a></span></dt></dl></dd><dt><span class="chapter"><a href="problems.html">39. Analyzing and Solving Samba Problems</a></span></dt><dd><dl><dt><span class="sect1"><a href="problems.html#id2690936">Diagnostics Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="problems.html#id2690988">Debugging with Samba Itself</a></span></dt><dt><span class="sect2"><a href="problems.html#id2691244">Tcpdump</a></span></dt><dt><span class="sect2"><a href="problems.html#id2691294">Ethereal</a></span></dt><dt><span class="sect2"><a href="problems.html#id2691438">The Windows Network Monitor</a></span></dt></dl></dd><dt><span class="sect1"><a href="problems.html#id2691764">Useful URLs</a></span></dt><dt><span class="sect1"><a href="problems.html#id2691801">Getting Mailing List Help</a></span></dt><dt><span class="sect1"><a href="problems.html#id2691975">How to Get Off the Mailing Lists</a></span></dt></dl></dd><dt><span class="chapter"><a href="bugreport.html">40. Reporting Bugs</a></span></dt><dd><dl><dt><span class="sect1"><a href="bugreport.html#id2692107">Introduction</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2692196">General Information</a></span></dt><dt><span class="sect1"><a href="bugreport.html#dbglvl">Debug Levels</a></span></dt><dd><dl><dt><span class="sect2"><a href="bugreport.html#id2692432">Debugging-Specific Operations</a></span></dt></dl></dd><dt><span class="sect1"><a href="bugreport.html#id2692634">Internal Errors</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2692767">Attaching to a Running Process</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2692892">Patches</a></span></dt></dl></dd><dt><span class="chapter"><a href="tdb.html">41. Managing TDB Files</a></span></dt><dd><dl><dt><span class="sect1"><a href="tdb.html#id2692976">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="tdb.html#id2693437">Managing TDB Files</a></span></dt></dl></dd></dl></dd><dt><span class="part"><a href="Appendix.html">VI. Reference Section</a></span></dt><dd><dl><dt><span class="chapter"><a href="compiling.html">42. How to Compile Samba</a></span></dt><dd><dl><dt><span class="sect1"><a href="compiling.html#id2693628">Access Samba Source Code via Subversion</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2693634">Introduction</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2693675">Subversion Access to samba.org</a></span></dt></dl></dd><dt><span class="sect1"><a href="compiling.html#id2693866">Accessing the Samba Sources via rsync and ftp</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2693941">Verifying Samba's PGP Signature</a></span></dt><dt><span class="sect1"><a href="compiling.html#id2694079">Building the Binaries</a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2694316">Compiling Samba with Active Directory Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="compiling.html#startingSamba">Starting the <span class="application">smbd</span> <span class="application">nmbd</span> and <span class="application">winbindd</span></a></span></dt><dd><dl><dt><span class="sect2"><a href="compiling.html#id2694587">Starting from inetd.conf</a></span></dt><dt><span class="sect2"><a href="compiling.html#id2694807">Alternative: Starting <span class="application">smbd</span> as a Daemon</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="Portability.html">43. Portability</a></span></dt><dd><dl><dt><span class="sect1"><a href="Portability.html#id2695192">HPUX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2695296">SCO UNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2695335">DNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2695476">Red Hat Linux</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2695520">AIX: Sequential Read Ahead</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2695581">Solaris</a></span></dt><dd><dl><dt><span class="sect2"><a href="Portability.html#id2695587">Locking Improvements</a></span></dt><dt><span class="sect2"><a href="Portability.html#winbind-solaris9">Winbind on Solaris 9</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="Other-Clients.html">44. Samba and Other CIFS Clients</a></span></dt><dd><dl><dt><span class="sect1"><a href="Other-Clients.html#id2695763">Macintosh Clients</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2695847">OS2 Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2695852">Configuring OS/2 Warp Connect or OS/2 Warp 4</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2695972">Configuring Other Versions of OS/2</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2696028">Printer Driver Download for OS/2 Clients</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2696122">Windows for Workgroups</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2696128">Latest TCP/IP Stack from Microsoft</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2696211">Delete .pwl Files After Password Change</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2696237">Configuring Windows for Workgroups Password Handling</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2696295">Password Case Sensitivity</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#id2696326">Use TCP/IP as Default Protocol</a></span></dt><dt><span class="sect2"><a href="Other-Clients.html#speedimpr">Speed Improvement</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2696384">Windows 95/98</a></span></dt><dd><dl><dt><span class="sect2"><a href="Other-Clients.html#id2696453">Speed Improvement</a></span></dt></dl></dd><dt><span class="sect1"><a href="Other-Clients.html#id2696474">Windows 2000 Service Pack 2</a></span></dt><dt><span class="sect1"><a href="Other-Clients.html#id2696670">Windows NT 3.1</a></span></dt></dl></dd><dt><span class="chapter"><a href="speed.html">45. Samba Performance Tuning</a></span></dt><dd><dl><dt><span class="sect1"><a href="speed.html#id2696777">Comparisons</a></span></dt><dt><span class="sect1"><a href="speed.html#id2696815">Socket Options</a></span></dt><dt><span class="sect1"><a href="speed.html#id2696912">Read Size</a></span></dt><dt><span class="sect1"><a href="speed.html#id2696957">Max Xmit</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697004">Log Level</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697029">Read Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697096">Write Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697148">Slow Logins</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697172">Client Tuning</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697192">Samba Performance Problem Due to Changing Linux Kernel</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697284">Corrupt tdb Files</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697380">Samba Performance is Very Slow</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch-ldap-tls.html">46. LDAP and Transport Layer Security</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch-ldap-tls.html#s1-intro-ldap-tls">Introduction</a></span></dt><dt><span class="sect1"><a href="ch-ldap-tls.html#s1-config-ldap-tls">Configuring</a></span></dt><dd><dl><dt><span class="sect2"><a href="ch-ldap-tls.html#s1-config-ldap-tls-certs">Generating the Certificate Authority</a></span></dt><dt><span class="sect2"><a href="ch-ldap-tls.html#s1-config-ldap-tls-server">Generating the Server Certificate</a></span></dt><dt><span class="sect2"><a href="ch-ldap-tls.html#s1-config-ldap-tls-install">Installing the Certificates</a></span></dt></dl></dd><dt><span class="sect1"><a href="ch-ldap-tls.html#s1-test-ldap-tls">Testing</a></span></dt><dt><span class="sect1"><a href="ch-ldap-tls.html#s1-int-ldap-tls">Troubleshooting</a></span></dt></dl></dd><dt><span class="chapter"><a href="ch47.html">47. Samba Support</a></span></dt><dd><dl><dt><span class="sect1"><a href="ch47.html#id2698571">Free Support</a></span></dt><dt><span class="sect1"><a href="ch47.html#id2698789">Commercial Support</a></span></dt></dl></dd><dt><span class="chapter"><a href="DNSDHCP.html">48. DNS and DHCP Configuration Guide</a></span></dt><dd><dl><dt><span class="sect1"><a href="DNSDHCP.html#id2698948">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="DNSDHCP.html#id2699127">Example Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="DNSDHCP.html#id2699218">Dynamic DNS</a></span></dt><dt><span class="sect2"><a href="DNSDHCP.html#DHCP">DHCP Server</a></span></dt></dl></dd></dl></dd></dl></dd><dt><span class="appendix"><a href="apa.html">A. 5 <acronym class="acronym">GNU</acronym> General Public License version 3 6 </a></span></dt><dd><dl><dt><span class="bridgehead"><a href="apa.html#id2699516">A. 7 7 Preamble 8 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id269 3605">A.8 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2699661">A. 9 9 TERMS AND CONDITIONS 10 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id269 3609">A.10 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2699665">A. 11 11 0. Definitions. 12 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id269 3701">A.12 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2699758">A. 13 13 1. Source Code. 14 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id269 3799">A.14 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2699856">A. 15 15 2. Basic Permissions. 16 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id269 3838">A.16 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2699895">A. 17 17 3. Protecting Users’ Legal Rights From Anti-Circumvention Law. 18 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id269 3874">A.18 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2699930">A. 19 19 4. Conveying Verbatim Copies. 20 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id269 3900">A.20 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2699957">A. 21 21 5. Conveying Modified Source Versions. 22 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2 693996">A.22 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700053">A. 23 23 6. Conveying Non-Source Forms. 24 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2 694186">A.24 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700242">A. 25 25 7. Additional Terms. 26 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2 694321">A.26 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700378">A. 27 27 8. Termination. 28 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2 694365">A.28 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700422">A. 29 29 9. Acceptance Not Required for Having Copies. 30 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2 694385">A.30 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700441">A. 31 31 10. Automatic Licensing of Downstream Recipients. 32 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2 694437">A.32 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700493">A. 33 33 11. Patents. 34 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2 694582">A.34 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700639">A. 35 35 12. No Surrender of Others’ Freedom. 36 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2 694604">A.36 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700661">A. 37 37 13. Use with the ???TITLE??? Affero General Public License. 38 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2 694633">A.38 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700690">A. 39 39 14. Revised Versions of this License. 40 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2 694695">A.40 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700752">A. 41 41 15. Disclaimer of Warranty. 42 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2 694721">A.42 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700778">A. 43 43 16. Limitation of Liability. 44 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2 694742">A.44 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700798">A. 45 45 17. Interpretation of Sections 15 and 16. 46 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2 694758">A.46 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700815">A. 47 47 END OF TERMS AND CONDITIONS 48 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2 694762">A.48 </a></span></dt><dt><span class="bridgehead"><a href="apa.html#id2700819">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 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.conffor the add group Script</a></dt><dt>12.3. <a href="groupmapping.html#set-group-map">Script to Set Group Mapping</a></dt><dt>13.1. <a href="NetCommand.html#autopoweruserscript">Script to Auto-add Domain Users to Workstation Power Users Group</a></dt><dt>13.2. <a href="NetCommand.html#magicnetlogon">A Magic Netlogon Share</a></dt><dt>14.1. <a href="idmapper.html#idmapnt4dms">NT4 Domain Member Server smb.conf</a></dt><dt>14.2. <a href="idmapper.html#idmapadsdms">ADS Domain Member Server smb.conf</a></dt><dt>14.3. <a href="idmapper.html#idmapadsridDMS">ADS Domain Member smb.conf using idmap_rid</a></dt><dt>14.4. <a href="idmapper.html#idmapldapDMS">ADS Domain Member Server using LDAP</a></dt><dt>14.5. <a href="idmapper.html#idmaprfc2307">ADS Domain Member Server using RFC2307bis Schema Extension Date via NSS</a></dt><dt>16.1. <a href="AccessControls.html#access2">Example File</a></dt><dt>17.1. <a href="locking.html#far1">Share with Some Files Oplocked</a></dt><dt>17.2. <a href="locking.html#far3">Configuration with Oplock Break Contention Limit</a></dt><dt>20.1. <a href="msdfs.html#dfscfg">smb.conf with DFS Configured</a></dt><dt>21.1. <a href="classicalprinting.html#simpleprc">Simple Configuration with BSD Printing</a></dt><dt>21.2. <a href="classicalprinting.html#extbsdpr">Extended BSD Printing Configuration</a></dt><dt>21.3. <a href="classicalprinting.html#prtdollar">[print$] Example</a></dt><dt>22.1. <a href="CUPS-printing.html#cups-exam-simple">Simplest Printing-Related smb.conf</a></dt><dt>22.2. <a href="CUPS-printing.html#overridesettings">Overriding Global CUPS Settings for One Printer</a></dt><dt>22.3. <a href="CUPS-printing.html#cupsadd-ex">smb.conf for cupsaddsmb Usage</a></dt><dt>23.1. <a href="VFS.html#vfsrecyc">smb.conf with VFS modules</a></dt><dt>23.2. <a href="VFS.html#multimodule">smb.conf with multiple VFS modules</a></dt><dt>23.3. <a href="VFS.html#vfsshadow">Share With shadow_copy VFS</a></dt><dt>24.1. <a href="winbind.html#winbindcfg">smb.conf for Winbind Setup</a></dt><dt>25.1. <a href="AdvancedNetworkManagement.html#Tpees">Script to Enforce Single Resource Logon</a></dt><dt>30.1. <a href="unicode.html#vfscap-intl">VFS CAP</a></dt><dt>34.1. <a href="cfgsmarts.html#elastic">Elastic smb.conf File</a></dt><dt>34.2. <a href="cfgsmarts.html#cdserver">CDROM Server smb-cdserver.conf file</a></dt><dt>34.3. <a href="cfgsmarts.html#mastersmbc">Master smb.conf File Global Section</a></dt><dt>34.4. <a href="cfgsmarts.html#merlinsmbc">MERLIN smb-merlin.conf File Share Section</a></dt><dt>34.5. <a href="cfgsmarts.html#sauronsmbc">SAURON smb-sauron.conf File Share Section</a></dt><dt>38.1. <a href="diagnosis.html#tmpshare">smb.conf with [tmp] Share</a></dt><dt>38.2. <a href="diagnosis.html#modif1">Configuration for Allowing Connections Only from a Certain Subnet</a></dt><dt>38.3. <a href="diagnosis.html#modif2">Configuration for Allowing Connections from a Certain Subnet and localhost</a></dt><dt>44.1. <a href="Other-Clients.html#minimalprofile">Minimal Profile Share</a></dt></dl></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="pr01.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"> </td><td width="40%" align="right" valign="top"> About the Cover Artwork</td></tr></table></div></body></html>50 </a></span></dt></dl></dd><dt><span class="glossary"><a href="go01.html">Glossary</a></span></dt><dt><span class="index"><a href="ix01.html">Index</a></span></dt></dl></div><div class="list-of-figures"><p><b>List of Figures</b></p><dl><dt>4.1. <a href="samba-pdc.html#domain-example">An Example Domain.</a></dt><dt>8.1. <a href="ClientConfig.html#WXPP002">Network Bridge Configuration.</a></dt><dt>8.2. <a href="ClientConfig.html#WXPP003">Internet Protocol (TCP/IP) Properties.</a></dt><dt>8.3. <a href="ClientConfig.html#WXPP005">Advanced Network Settings</a></dt><dt>8.4. <a href="ClientConfig.html#WXPP014">DNS Configuration.</a></dt><dt>8.5. <a href="ClientConfig.html#WXPP009">WINS Configuration</a></dt><dt>8.6. <a href="ClientConfig.html#w2kp001">Local Area Connection Properties.</a></dt><dt>8.7. <a href="ClientConfig.html#w2kp002">Internet Protocol (TCP/IP) Properties.</a></dt><dt>8.8. <a href="ClientConfig.html#w2kp003">Advanced Network Settings.</a></dt><dt>8.9. <a href="ClientConfig.html#w2kp004">DNS Configuration.</a></dt><dt>8.10. <a href="ClientConfig.html#w2kp005">WINS Configuration.</a></dt><dt>8.11. <a href="ClientConfig.html#WME001">The Windows Me Network Configuration Panel.</a></dt><dt>8.12. <a href="ClientConfig.html#WME002">IP Address.</a></dt><dt>8.13. <a href="ClientConfig.html#WME005">DNS Configuration.</a></dt><dt>8.14. <a href="ClientConfig.html#WME003">WINS Configuration.</a></dt><dt>8.15. <a href="ClientConfig.html#wxpp001">The General Panel.</a></dt><dt>8.16. <a href="ClientConfig.html#wxpp004">The Computer Name Panel.</a></dt><dt>8.17. <a href="ClientConfig.html#wxpp006">The Computer Name Changes Panel.</a></dt><dt>8.18. <a href="ClientConfig.html#wxpp007">The Computer Name Changes Panel Domain MIDEARTH.</a></dt><dt>8.19. <a href="ClientConfig.html#wxpp008">Computer Name Changes Username and Password Panel.</a></dt><dt>8.20. <a href="ClientConfig.html#WME009">The Network Panel.</a></dt><dt>8.21. <a href="ClientConfig.html#WME010">Client for Microsoft Networks Properties Panel.</a></dt><dt>8.22. <a href="ClientConfig.html#WME013">Identification Panel.</a></dt><dt>8.23. <a href="ClientConfig.html#WME014">Access Control Panel.</a></dt><dt>10.1. <a href="NetworkBrowsing.html#browsing1">Cross-Subnet Browsing Example.</a></dt><dt>11.1. <a href="passdb.html#idmap-sid2uid">IDMAP: Resolution of SIDs to UIDs.</a></dt><dt>11.2. <a href="passdb.html#idmap-uid2sid">IDMAP: Resolution of UIDs to SIDs.</a></dt><dt>12.1. <a href="groupmapping.html#idmap-sid2gid">IDMAP: Group SID-to-GID Resolution.</a></dt><dt>12.2. <a href="groupmapping.html#idmap-gid2sid">IDMAP: GID Resolution to Matching SID.</a></dt><dt>12.3. <a href="groupmapping.html#idmap-store-gid2sid">IDMAP Storing Group Mappings.</a></dt><dt>16.1. <a href="AccessControls.html#access1">Overview of UNIX permissions field.</a></dt><dt>19.1. <a href="InterdomainTrusts.html#trusts1">Trusts overview.</a></dt><dt>22.1. <a href="CUPS-printing.html#1small">Windows Printing to a Local Printer.</a></dt><dt>22.2. <a href="CUPS-printing.html#2small">Printing to a PostScript Printer.</a></dt><dt>22.3. <a href="CUPS-printing.html#3small">Ghostscript as a RIP for Non-PostScript Printers.</a></dt><dt>22.4. <a href="CUPS-printing.html#4small">Prefiltering in CUPS to Form PostScript.</a></dt><dt>22.5. <a href="CUPS-printing.html#5small">Adding Device-Specific Print Options.</a></dt><dt>22.6. <a href="CUPS-printing.html#cups-raster">PostScript to Intermediate Raster Format.</a></dt><dt>22.7. <a href="CUPS-printing.html#cups-raster2">CUPS-Raster Production Using Ghostscript.</a></dt><dt>22.8. <a href="CUPS-printing.html#small8">Image Format to CUPS-Raster Format Conversion.</a></dt><dt>22.9. <a href="CUPS-printing.html#small9">Raster to Printer-Specific Formats.</a></dt><dt>22.10. <a href="CUPS-printing.html#cupsomatic-dia">cupsomatic/foomatic Processing Versus Native CUPS.</a></dt><dt>22.11. <a href="CUPS-printing.html#pdftosocket">PDF to Socket Chain.</a></dt><dt>22.12. <a href="CUPS-printing.html#pdftoepsonusb">PDF to USB Chain.</a></dt><dt>22.13. <a href="CUPS-printing.html#small11">Print Driver Execution on the Client.</a></dt><dt>22.14. <a href="CUPS-printing.html#small12">Print Driver Execution on the Server.</a></dt><dt>22.15. <a href="CUPS-printing.html#13small">Printing via CUPS/Samba Server.</a></dt><dt>22.16. <a href="CUPS-printing.html#small14">cupsaddsmb Flowchart.</a></dt><dt>22.17. <a href="CUPS-printing.html#cups1">Filtering Chain 1.</a></dt><dt>22.18. <a href="CUPS-printing.html#cups2">Filtering Chain with cupsomatic</a></dt><dt>22.19. <a href="CUPS-printing.html#a_small">CUPS Printing Overview.</a></dt><dt>24.1. <a href="winbind.html#winbind_idmap">Winbind Idmap</a></dt><dt>39.1. <a href="problems.html#ethereal1">Starting a Capture.</a></dt><dt>39.2. <a href="problems.html#ethereal2">Main Ethereal Data Window.</a></dt></dl></div><div class="list-of-tables"><p><b>List of Tables</b></p><dl><dt>1.1. <a href="install.html#tdbpermfiledesc">Persistent TDB File Descriptions</a></dt><dt>1.2. <a href="install.html#tdbtempfiledesc">Temporary TDB File Descriptions</a></dt><dt>5.1. <a href="samba-bdc.html#pdc-bdc-table">Domain Backend Account Distribution Options</a></dt><dt>6.1. <a href="domain-member.html#assumptions">Assumptions</a></dt><dt>9.1. <a href="ChangeNotes.html#TOSH-domgroups">Essential Domain Group Mappings</a></dt><dt>10.1. <a href="NetworkBrowsing.html#browsubnet">Browse Subnet Example 1</a></dt><dt>10.2. <a href="NetworkBrowsing.html#brsbex">Browse Subnet Example 2</a></dt><dt>10.3. <a href="NetworkBrowsing.html#brsex2">Browse Subnet Example 3</a></dt><dt>10.4. <a href="NetworkBrowsing.html#brsex3">Browse Subnet Example 4</a></dt><dt>11.1. <a href="passdb.html#policycontrols">NT4 Domain v's Samba Policy Controls</a></dt><dt>11.2. <a href="passdb.html#accountflags">Samba SAM Account Control Block Flags</a></dt><dt>11.3. <a href="passdb.html#attribobjclPartA">Attributes in the sambaSamAccount ObjectClass (LDAP), Part A</a></dt><dt>11.4. <a href="passdb.html#attribobjclPartB">Attributes in the sambaSamAccount ObjectClass (LDAP), Part B</a></dt><dt>11.5. <a href="passdb.html#ldappwsync">Possible <em class="parameter"><code>ldap passwd sync</code></em> Values</a></dt><dt>12.1. <a href="groupmapping.html#WKURIDS">Well-Known User Default RIDs</a></dt><dt>15.1. <a href="rights.html#rp-privs">Current Privilege Capabilities</a></dt><dt>16.1. <a href="AccessControls.html#TOSH-Accesstbl">Managing Directories with UNIX and Windows</a></dt><dt>16.2. <a href="AccessControls.html#ugbc">User- and Group-Based Controls</a></dt><dt>16.3. <a href="AccessControls.html#fdpbc">File and Directory Permission-Based Controls</a></dt><dt>16.4. <a href="AccessControls.html#mcoc">Other Controls</a></dt><dt>16.5. <a href="AccessControls.html#fdsacls">How Windows File ACLs Map to UNIX POSIX File ACLs</a></dt><dt>21.1. <a href="classicalprinting.html#printOptions">Default Printing Settings</a></dt><dt>22.1. <a href="CUPS-printing.html#cups-ppds">PPDs Shipped with CUPS</a></dt><dt>23.1. <a href="VFS.html#xtdaudit">Extended Auditing Log Information</a></dt><dt>27.1. <a href="ProfileMgmt.html#ProfileLocs">User Shell Folder Registry Keys Default Values</a></dt><dt>27.2. <a href="ProfileMgmt.html#regkeys">Defaults of Profile Settings Registry Keys</a></dt><dt>27.3. <a href="ProfileMgmt.html#defregpthkeys">Defaults of Default User Profile Paths Registry Keys</a></dt><dt>28.1. <a href="pam.html#smbpassoptions">Options recognized by <em class="parameter"><code>pam_smbpass</code></em></a></dt><dt>29.1. <a href="integrate-ms-networks.html#uniqnetbiosnames">Unique NetBIOS Names</a></dt><dt>29.2. <a href="integrate-ms-networks.html#netbiosnamesgrp">Group Names</a></dt><dt>30.1. <a href="unicode.html#japancharsets">Japanese Character Sets in Samba-2.2 and Samba-3</a></dt><dt>35.1. <a href="upgrading-to-3.0.html#oldtdbfiledesc">Samba-2.2.x TDB File Descriptions</a></dt><dt>36.1. <a href="NT4Migration.html#majtypes">The Three Major Site Types</a></dt><dt>36.2. <a href="NT4Migration.html#natconchoices">Nature of the Conversion Choices</a></dt><dt>40.1. <a href="bugreport.html#dbgclass">Debuggable Functions</a></dt><dt>41.1. <a href="tdb.html#TOSH-TDB">Samba's Trivial Database Files</a></dt></dl></div><div class="list-of-examples"><p><b>List of Examples</b></p><dl><dt>1.1. <a href="install.html#smbconfminimal">A minimal smb.conf</a></dt><dt>1.2. <a href="install.html#simple-example">Another simple smb.conf File</a></dt><dt>2.1. <a href="FastStart.html#anon-example">Anonymous Read-Only Server Configuration</a></dt><dt>2.2. <a href="FastStart.html#anon-rw">Modified Anonymous Read-Write smb.conf</a></dt><dt>2.3. <a href="FastStart.html#anon-print">Anonymous Print Server smb.conf</a></dt><dt>2.4. <a href="FastStart.html#OfficeServer">Secure Office Server smb.conf</a></dt><dt>2.5. <a href="FastStart.html#fast-member-server">Member Server smb.conf (Globals)</a></dt><dt>2.6. <a href="FastStart.html#fast-memberserver-shares">Member Server smb.conf (Shares and Services)</a></dt><dt>2.7. <a href="FastStart.html#fast-engoffice-global">Engineering Office smb.conf (globals)</a></dt><dt>2.8. <a href="FastStart.html#fast-engoffice-shares">Engineering Office smb.conf (shares and services)</a></dt><dt>2.9. <a href="FastStart.html#fast-ldap">LDAP backend smb.conf for PDC</a></dt><dt>2.10. <a href="FastStart.html#fast-bdc">Remote LDAP BDC smb.conf</a></dt><dt>4.1. <a href="samba-pdc.html#pdc-example">smb.conf for being a PDC</a></dt><dt>4.2. <a href="samba-pdc.html#PDC-config">smb.conf for being a PDC</a></dt><dt>5.1. <a href="samba-bdc.html#minimalPDC">Minimal smb.conf for a PDC in Use with a BDC LDAP Server on PDC</a></dt><dt>5.2. <a href="samba-bdc.html#mulitldapcfg">Multiple LDAP Servers in <code class="filename">smb.conf</code></a></dt><dt>5.3. <a href="samba-bdc.html#minim-bdc">Minimal Setup for Being a BDC</a></dt><dt>7.1. <a href="StandAloneServer.html#simplynice">smb.conf for Reference Documentation Server</a></dt><dt>7.2. <a href="StandAloneServer.html#AnonPtrSvr"><code class="filename">smb.conf</code> for Anonymous Printing</a></dt><dt>10.1. <a href="NetworkBrowsing.html#dmbexample">Domain Master Browser smb.conf</a></dt><dt>10.2. <a href="NetworkBrowsing.html#lmbexample">Local master browser smb.conf</a></dt><dt>10.3. <a href="NetworkBrowsing.html#nombexample">smb.conf for Not Being a Master Browser</a></dt><dt>10.4. <a href="NetworkBrowsing.html#remsmb">Local Master Browser smb.conf</a></dt><dt>10.5. <a href="NetworkBrowsing.html#xremmb"><code class="filename">smb.conf</code> for Not Being a master browser</a></dt><dt>11.1. <a href="passdb.html#idmapbackendexample">Example Configuration with the LDAP idmap Backend</a></dt><dt>11.2. <a href="passdb.html#confldapex">Configuration with LDAP</a></dt><dt>12.1. <a href="groupmapping.html#smbgrpadd.sh">smbgrpadd.sh</a></dt><dt>12.2. <a href="groupmapping.html#smbgrpadd">Configuration of <code class="filename">smb.conf</code> for the add group Script</a></dt><dt>12.3. <a href="groupmapping.html#set-group-map">Script to Set Group Mapping</a></dt><dt>13.1. <a href="NetCommand.html#autopoweruserscript">Script to Auto-add Domain Users to Workstation Power Users Group</a></dt><dt>13.2. <a href="NetCommand.html#magicnetlogon">A Magic Netlogon Share</a></dt><dt>14.1. <a href="idmapper.html#idmapnt4dms">NT4 Domain Member Server smb.conf</a></dt><dt>14.2. <a href="idmapper.html#idmapadsdms">ADS Domain Member Server smb.conf</a></dt><dt>14.3. <a href="idmapper.html#idmapadsridDMS">ADS Domain Member smb.conf using idmap_rid</a></dt><dt>14.4. <a href="idmapper.html#idmapldapDMS">ADS Domain Member Server using LDAP</a></dt><dt>14.5. <a href="idmapper.html#idmaprfc2307">ADS Domain Member Server using RFC2307bis Schema Extension Date via NSS</a></dt><dt>16.1. <a href="AccessControls.html#access2">Example File</a></dt><dt>17.1. <a href="locking.html#far1">Share with Some Files Oplocked</a></dt><dt>17.2. <a href="locking.html#far3">Configuration with Oplock Break Contention Limit</a></dt><dt>20.1. <a href="msdfs.html#dfscfg">smb.conf with DFS Configured</a></dt><dt>21.1. <a href="classicalprinting.html#simpleprc">Simple Configuration with BSD Printing</a></dt><dt>21.2. <a href="classicalprinting.html#extbsdpr">Extended BSD Printing Configuration</a></dt><dt>21.3. <a href="classicalprinting.html#prtdollar">[print$] Example</a></dt><dt>22.1. <a href="CUPS-printing.html#cups-exam-simple">Simplest Printing-Related smb.conf</a></dt><dt>22.2. <a href="CUPS-printing.html#overridesettings">Overriding Global CUPS Settings for One Printer</a></dt><dt>22.3. <a href="CUPS-printing.html#cupsadd-ex">smb.conf for cupsaddsmb Usage</a></dt><dt>23.1. <a href="VFS.html#vfsrecyc">smb.conf with VFS modules</a></dt><dt>23.2. <a href="VFS.html#multimodule">smb.conf with multiple VFS modules</a></dt><dt>23.3. <a href="VFS.html#vfsshadow">Share With shadow_copy VFS</a></dt><dt>24.1. <a href="winbind.html#winbindcfg">smb.conf for Winbind Setup</a></dt><dt>25.1. <a href="AdvancedNetworkManagement.html#Tpees">Script to Enforce Single Resource Logon</a></dt><dt>30.1. <a href="unicode.html#vfscap-intl">VFS CAP</a></dt><dt>34.1. <a href="cfgsmarts.html#elastic">Elastic smb.conf File</a></dt><dt>34.2. <a href="cfgsmarts.html#cdserver">CDROM Server smb-cdserver.conf file</a></dt><dt>34.3. <a href="cfgsmarts.html#mastersmbc">Master smb.conf File Global Section</a></dt><dt>34.4. <a href="cfgsmarts.html#merlinsmbc">MERLIN smb-merlin.conf File Share Section</a></dt><dt>34.5. <a href="cfgsmarts.html#sauronsmbc">SAURON smb-sauron.conf File Share Section</a></dt><dt>38.1. <a href="diagnosis.html#tmpshare">smb.conf with [tmp] Share</a></dt><dt>38.2. <a href="diagnosis.html#modif1">Configuration for Allowing Connections Only from a Certain Subnet</a></dt><dt>38.3. <a href="diagnosis.html#modif2">Configuration for Allowing Connections from a Certain Subnet and localhost</a></dt><dt>44.1. <a href="Other-Clients.html#minimalprofile">Minimal Profile Share</a></dt></dl></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="pr01.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"> </td><td width="40%" align="right" valign="top"> About the Cover Artwork</td></tr></table></div></body></html> -
branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/install.html
r274 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 1. How to Install and Test SAMBA</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="introduction.html" title="Part I. General Installation"><link rel="prev" href="introduction.html" title="Part I. General Installation"><link rel="next" href="FastStart.html" title="Chapter 2. Fast Start: Cure for Impatience"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 1. How to Install and Test SAMBA</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="introduction.html">Prev</a> </td><th width="60%" align="center">Part I. General Installation</th><td width="20%" align="right"> <a accesskey="n" href="FastStart.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="install"></a>Chapter 1. How to Install and Test SAMBA</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Andrew</span> <span class="orgname">Samba Team</span> <span class="surname">Tridgell</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2553562">List Shares Available on the Server</a></span></dt><dt><span class="sect1"><a href="install.html#id2553614">Connect with a UNIX Client</a></span></dt><dt><span class="sect1"><a href="install.html#id2553705">Connect from a Remote SMB Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2553786">What If Things Don't Work?</a></span></dt><dt><span class="sect2"><a href="install.html#id2553827">Still Stuck?</a></span></dt></dl></dd><dt><span class="sect1"><a href="install.html#id2553859">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2553870">Large Number of smbd Processes</a></span></dt><dt><span class="sect2"><a href="install.html#id2553957">Error Message: open_oplock_ipc</a></span></dt><dt><span class="sect2"><a href="install.html#id2553989">The network name cannot be found</a></span></dt></dl></dd></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2551936"></a>Obtaining and Installing Samba</h2></div></div></div><p>2 <a class="indexterm" name="id255 1944"></a>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 1. How to Install and Test SAMBA</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="introduction.html" title="Part I. General Installation"><link rel="prev" href="introduction.html" title="Part I. General Installation"><link rel="next" href="FastStart.html" title="Chapter 2. Fast Start: Cure for Impatience"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 1. How to Install and Test SAMBA</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="introduction.html">Prev</a> </td><th width="60%" align="center">Part I. General Installation</th><td width="20%" align="right"> <a accesskey="n" href="FastStart.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 1. How to Install and Test SAMBA"><div class="titlepage"><div><div><h2 class="title"><a name="install"></a>Chapter 1. How to Install and Test SAMBA</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Andrew</span> <span class="surname">Tridgell</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2557993">Obtaining and Installing Samba</a></span></dt><dt><span class="sect1"><a href="install.html#id2558033">Configuring Samba (smb.conf)</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2558075">Configuration File Syntax</a></span></dt><dt><span class="sect2"><a href="install.html#tdbdocs">TDB Database File Information</a></span></dt><dt><span class="sect2"><a href="install.html#id2558977">Starting Samba</a></span></dt><dt><span class="sect2"><a href="install.html#id2559157">Example Configuration</a></span></dt><dt><span class="sect2"><a href="install.html#id2559561">SWAT</a></span></dt></dl></dd><dt><span class="sect1"><a href="install.html#id2559619">List Shares Available on the Server</a></span></dt><dt><span class="sect1"><a href="install.html#id2559671">Connect with a UNIX Client</a></span></dt><dt><span class="sect1"><a href="install.html#id2559762">Connect from a Remote SMB Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2559843">What If Things Don't Work?</a></span></dt><dt><span class="sect2"><a href="install.html#id2559884">Still Stuck?</a></span></dt></dl></dd><dt><span class="sect1"><a href="install.html#id2559917">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2559927">Large Number of smbd Processes</a></span></dt><dt><span class="sect2"><a href="install.html#id2560014">Error Message: open_oplock_ipc</a></span></dt><dt><span class="sect2"><a href="install.html#id2560047"><span class="quote">“<span class="quote"><span class="errorname">The network name cannot be found</span></span>”</span></a></span></dt></dl></dd></dl></div><div class="sect1" title="Obtaining and Installing Samba"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2557993"></a>Obtaining and Installing Samba</h2></div></div></div><p> 2 <a class="indexterm" name="id2558001"></a> 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="id255 1962"></a>7 <a class="indexterm" name="id2558019"></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="id2551976"></a>Configuring Samba (smb.conf)</h2></div></div></div><p>10 <a class="indexterm" name="id255 1984"></a>11 <a class="indexterm" name="id255 1990"></a>9 </p></div><div class="sect1" title="Configuring Samba (smb.conf)"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2558033"></a>Configuring Samba (smb.conf)</h2></div></div></div><p> 10 <a class="indexterm" name="id2558041"></a> 11 <a class="indexterm" name="id2558047"></a> 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="id2552018"></a>Configuration File Syntax</h3></div></div></div><p>17 <a class="indexterm" name="id255 2026"></a>16 </p><div class="sect2" title="Configuration File Syntax"><div class="titlepage"><div><div><h3 class="title"><a name="id2558075"></a>Configuration File Syntax</h3></div></div></div><p> 17 <a class="indexterm" name="id2558083"></a> 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="id255 2063"></a>25 <a class="indexterm" name="id255 2069"></a>26 <a class="indexterm" name="id255 2077"></a>27 <a class="indexterm" name="id255 2084"></a>28 <a class="indexterm" name="id255 2090"></a>29 <a class="indexterm" name="id255 2098"></a>24 <a class="indexterm" name="id2558120"></a> 25 <a class="indexterm" name="id2558126"></a> 26 <a class="indexterm" name="id2558134"></a> 27 <a class="indexterm" name="id2558141"></a> 28 <a class="indexterm" name="id2558147"></a> 29 <a class="indexterm" name="id2558155"></a> 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="id255 2141"></a>39 <a class="indexterm" name="id255 2148"></a>40 <a class="indexterm" name="id255 2154"></a>41 <a class="indexterm" name="id255 2160"></a>42 <a class="indexterm" name="id255 2166"></a>43 <a class="indexterm" name="id255 2173"></a>38 <a class="indexterm" name="id2558198"></a> 39 <a class="indexterm" name="id2558205"></a> 40 <a class="indexterm" name="id2558211"></a> 41 <a class="indexterm" name="id2558217"></a> 42 <a class="indexterm" name="id2558224"></a> 43 <a class="indexterm" name="id2558230"></a> 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="id255 2222"></a>52 <a class="indexterm" name="id2558280"></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="id255 2265"></a>59 <a class="indexterm" name="id2558322"></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="id255 2284"></a>62 </p><div class="example"><a name="smbconfminimal"></a><p class="title"><b>Example 1.1. A minimal smb.conf</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2552312"></a><em class="parameter"><code>workgroup = WKG</code></em></td></tr><tr><td><a class="indexterm" name="id2552323"></a><em class="parameter"><code>netbios name = MYNAME</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[share1]</code></em></td></tr><tr><td><a class="indexterm" name="id2552341"></a><em class="parameter"><code>path = /tmp</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[share2]</code></em></td></tr><tr><td><a class="indexterm" name="id2552360"></a><em class="parameter"><code>path = /my_shared_folder</code></em></td></tr><tr><td><a class="indexterm" name="id2552371"></a><em class="parameter"><code>comment = Some random files</code></em></td></tr></table></div></div><br class="example-break"></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="tdbdocs"></a>TDB Database File Information</h3></div></div></div><p>61 <a class="indexterm" name="id2558341"></a> 62 </p><div class="example"><a name="smbconfminimal"></a><p class="title"><b>Example 1.1. A minimal smb.conf</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2558369"></a><em class="parameter"><code>workgroup = WKG</code></em></td></tr><tr><td><a class="indexterm" name="id2558380"></a><em class="parameter"><code>netbios name = MYNAME</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[share1]</code></em></td></tr><tr><td><a class="indexterm" name="id2558399"></a><em class="parameter"><code>path = /tmp</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[share2]</code></em></td></tr><tr><td><a class="indexterm" name="id2558417"></a><em class="parameter"><code>path = /my_shared_folder</code></em></td></tr><tr><td><a class="indexterm" name="id2558428"></a><em class="parameter"><code>comment = Some random files</code></em></td></tr></table></div></div><br class="example-break"></div><div class="sect2" title="TDB Database File Information"><div class="titlepage"><div><div><h3 class="title"><a name="tdbdocs"></a>TDB Database File Information</h3></div></div></div><p> 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="id255 2398"></a>65 <a class="indexterm" name="id2558455"></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="id255 2450"></a>83 <a class="indexterm" name="id2558507"></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="id2552921"></a>Starting Samba</h3></div></div></div><p>110 <a class="indexterm" name="id255 2928"></a>109 lists, etc.</p></td><td align="left">yes</td></tr></tbody></table></div></div><br class="table-break"></div><div class="sect2" title="Starting Samba"><div class="titlepage"><div><div><h3 class="title"><a name="id2558977"></a>Starting Samba</h3></div></div></div><p> 110 <a class="indexterm" name="id2558984"></a> 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="id255 2960"></a>118 <a class="indexterm" name="id255 2966"></a>117 <a class="indexterm" name="id2559016"></a> 118 <a class="indexterm" name="id2559022"></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="id255 2994"></a>124 <a class="indexterm" name="id255 3000"></a>123 <a class="indexterm" name="id2559050"></a> 124 <a class="indexterm" name="id2559056"></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="id255 3027"></a>129 <a class="indexterm" name="id255 3033"></a>128 <a class="indexterm" name="id2559083"></a> 129 <a class="indexterm" name="id2559089"></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="id255 3084"></a>137 <a class="indexterm" name="id2559142"></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="id2553100"></a>Example Configuration</h3></div></div></div><p>142 <a class="indexterm" name="id255 3108"></a>143 <a class="indexterm" name="id255 3114"></a>144 <a class="indexterm" name="id255 3120"></a>145 <a class="indexterm" name="id255 3126"></a>146 <a class="indexterm" name="id255 3133"></a>141 </p></div><div class="sect2" title="Example Configuration"><div class="titlepage"><div><div><h3 class="title"><a name="id2559157"></a>Example Configuration</h3></div></div></div><p> 142 <a class="indexterm" name="id2559165"></a> 143 <a class="indexterm" name="id2559171"></a> 144 <a class="indexterm" name="id2559177"></a> 145 <a class="indexterm" name="id2559184"></a> 146 <a class="indexterm" name="id2559190"></a> 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="id255 3154"></a>152 <a class="indexterm" name="id2559211"></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="id255 3170"></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="id255 3242"></a>158 <a class="indexterm" name="id255 3248"></a>159 <a class="indexterm" name="id255 3254"></a>160 <a class="indexterm" name="id255 3260"></a>155 <a class="indexterm" name="id2559227"></a> 156 </p><div class="example"><a name="simple-example"></a><p class="title"><b>Example 1.2. Another simple smb.conf File</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2559256"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[homes]</code></em></td></tr><tr><td><a class="indexterm" name="id2559275"></a><em class="parameter"><code>guest ok = no</code></em></td></tr><tr><td><a class="indexterm" name="id2559285"></a><em class="parameter"><code>read only = no</code></em></td></tr></table></div></div><br class="example-break"><p> 157 <a class="indexterm" name="id2559299"></a> 158 <a class="indexterm" name="id2559305"></a> 159 <a class="indexterm" name="id2559311"></a> 160 <a class="indexterm" name="id2559318"></a> 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="id255 3279"></a>166 <a class="indexterm" name="id2559337"></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="id255 3313"></a>174 <a class="indexterm" name="id2559370"></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="id2553334"></a>Test Your Config File with <code class="literal">testparm</code></h4></div></div></div><p>178 <a class="indexterm" name="id255 3346"></a>179 <a class="indexterm" name="id255 3352"></a>180 <a class="indexterm" name="id255 3358"></a>177 </p><div class="sect3" title="Test Your Config File with testparm"><div class="titlepage"><div><div><h4 class="title"><a name="id2559391"></a>Test Your Config File with <code class="literal">testparm</code></h4></div></div></div><p> 178 <a class="indexterm" name="id2559403"></a> 179 <a class="indexterm" name="id2559409"></a> 180 <a class="indexterm" name="id2559415"></a> 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="id255 3406"></a>193 <a class="indexterm" name="id255 3413"></a>194 <a class="indexterm" name="id255 3419"></a>195 <a class="indexterm" name="id255 3425"></a>192 <a class="indexterm" name="id2559464"></a> 193 <a class="indexterm" name="id2559470"></a> 194 <a class="indexterm" name="id2559476"></a> 195 <a class="indexterm" name="id2559482"></a> 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="id2553503"></a>SWAT</h3></div></div></div><p>209 <a class="indexterm" name="id255 3511"></a>208 </p></div></div><div class="sect2" title="SWAT"><div class="titlepage"><div><div><h3 class="title"><a name="id2559561"></a>SWAT</h3></div></div></div><p> 209 <a class="indexterm" name="id2559568"></a> 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 you need to build SWAT please read the SWAT man page regarding compilation, installation, and … … 223 223 remove all comments! 224 224 More information about SWAT can be found in <a class="link" href="SWAT.html" title="Chapter 37. SWAT: The Samba Web Administration Tool">The Samba Web Administration Tool</a>. 225 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2553562"></a>List Shares Available on the Server</h2></div></div></div><p>225 </p></div></div><div class="sect1" title="List Shares Available on the Server"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2559619"></a>List Shares Available on the Server</h2></div></div></div><p> 226 226 To list shares that are available from the configured Samba server, execute the 227 227 following command: … … 237 237 You can force it to list the shares without a password by adding the option 238 238 <code class="option">-N</code> to the command line. 239 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2553614"></a>Connect with a UNIX Client</h2></div></div></div><p>239 </p></div><div class="sect1" title="Connect with a UNIX Client"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2559671"></a>Connect with a UNIX Client</h2></div></div></div><p> 240 240 Enter the following command: 241 241 </p><pre class="screen"> … … 246 246 is <em class="replaceable"><code>fred</code></em>, you would type:</p><pre class="screen"> 247 247 <code class="prompt">$ </code><strong class="userinput"><code>smbclient //<em class="replaceable"><code>bambi</code></em>/<em class="replaceable"><code>fred</code></em></code></strong> 248 </pre></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2553705"></a>Connect from a Remote SMB Client</h2></div></div></div><p>248 </pre></div><div class="sect1" title="Connect from a Remote SMB Client"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2559762"></a>Connect from a Remote SMB Client</h2></div></div></div><p> 249 249 Now that Samba is working correctly locally, you can try to access it from other clients. Within a few 250 250 minutes, the Samba host should be listed in the Network Neighborhood on all Windows clients of its subnet. … … 267 267 </p><p> 268 268 </p><pre class="screen"><code class="prompt">C:\> </code><strong class="userinput"><code>print filename</code></strong> 269 </pre><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2553786"></a>What If Things Don't Work?</h3></div></div></div><p>269 </pre><div class="sect2" title="What If Things Don't Work?"><div class="titlepage"><div><div><h3 class="title"><a name="id2559843"></a>What If Things Don't Work?</h3></div></div></div><p> 270 270 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 271 271 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 … … 275 275 </p><p> 276 276 If you are new to Samba, and particularly if you are new to Windows networking, or to UNIX/Linux, 277 the book “<span class="quote">Samba-3 by Example</span>”will help you to create a validated network environment.277 the book <span class="quote">“<span class="quote">Samba-3 by Example</span>”</span> will help you to create a validated network environment. 278 278 Simply choose from the first five chapters the network design that most closely matches site needs, 279 279 then follow the simple step-by-step procedure to deploy it. Later, when you have a working network 280 280 you may well want to refer back to this book for further insight into opportunities for improvement. 281 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2553827"></a>Still Stuck?</h3></div></div></div><p>281 </p></div><div class="sect2" title="Still Stuck?"><div class="titlepage"><div><div><h3 class="title"><a name="id2559884"></a>Still Stuck?</h3></div></div></div><p> 282 282 The best advice under the stress of abject frustration is to cool down! That may be challenging 283 283 of itself, but while you are angry or annoyed your ability to seek out a solution is somewhat … … 288 288 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> 289 289 for a process that can be followed to identify the cause of your problem. 290 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2553859"></a>Common Errors</h2></div></div></div><p>290 </p></div></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2559917"></a>Common Errors</h2></div></div></div><p> 291 291 The following questions and issues are raised repeatedly on the Samba mailing list. 292 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2553870"></a>Large Number of smbd Processes</h3></div></div></div><p>292 </p><div class="sect2" title="Large Number of smbd Processes"><div class="titlepage"><div><div><h3 class="title"><a name="id2559927"></a>Large Number of smbd Processes</h3></div></div></div><p> 293 293 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, 294 294 <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. … … 303 303 <span class="application">winbindd</span> will run as one or two daemons, depending on whether or not it is being 304 304 run in <span class="emphasis"><em>split mode</em></span> (in which case there will be two instances). 305 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2553957"></a>Error Message: open_oplock_ipc</h3></div></div></div><p>306 An error message is observed in the log files when <span class="application">smbd</span> is started: “<span class="quote">open_oplock_ipc: Failed to307 get local UDP socket for address 100007f. Error was Cannot assign requested.</span>” 305 </p></div><div class="sect2" title="Error Message: open_oplock_ipc"><div class="titlepage"><div><div><h3 class="title"><a name="id2560014"></a>Error Message: open_oplock_ipc</h3></div></div></div><p> 306 An error message is observed in the log files when <span class="application">smbd</span> is started: <span class="quote">“<span class="quote">open_oplock_ipc: Failed to 307 get local UDP socket for address 100007f. Error was Cannot assign requested.</span>”</span> 308 308 </p><p> 309 309 Your loopback device isn't working correctly. Make sure it is configured correctly. The loopback 310 310 device is an internal (virtual) network device with the IP address <span class="emphasis"><em>127.0.0.1</em></span>. 311 311 Read your OS documentation for details on how to configure the loopback on your system. 312 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2553989"></a>“<span class="quote"><span class="errorname">The network name cannot be found</span></span>”</h3></div></div></div><p>312 </p></div><div class="sect2" title="“The network name cannot be found”"><div class="titlepage"><div><div><h3 class="title"><a name="id2560047"></a><span class="quote">“<span class="quote"><span class="errorname">The network name cannot be found</span></span>”</span></h3></div></div></div><p> 313 313 This error can be caused by one of these misconfigurations: 314 </p><div class="itemizedlist"><ul type="disc"><li><p>You specified a nonexisting path315 for the share in <code class="filename">smb.conf</code>.</p></li><li ><p>The user you are trying to access the share with does not314 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>You specified a nonexisting path 315 for the share in <code class="filename">smb.conf</code>.</p></li><li class="listitem"><p>The user you are trying to access the share with does not 316 316 have sufficient permissions to access the path for 317 the share. Both read (r) and access (x) should be possible.</p></li><li ><p>The share you are trying to access does not exist.</p></li></ul></div></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="introduction.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="introduction.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="FastStart.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Part I. General Installation </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 2. Fast Start: Cure for Impatience</td></tr></table></div></body></html>317 the share. Both read (r) and access (x) should be possible.</p></li><li class="listitem"><p>The share you are trying to access does not exist.</p></li></ul></div></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="introduction.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="introduction.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="FastStart.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Part I. General Installation </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 2. Fast Start: Cure for Impatience</td></tr></table></div></body></html> -
branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/integrate-ms-networks.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 29. Integrating MS Windows Networks with Samba</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="pam.html" title="Chapter 28. PAM-Based Distributed Authentication"><link rel="next" href="unicode.html" title="Chapter 30. Unicode/Charsets"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 29. Integrating MS Windows Networks with Samba</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="pam.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="unicode.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="integrate-ms-networks"></a>Chapter 29. Integrating MS Windows Networks with Samba</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2668091">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2668111">Background Information</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2668240">Name Resolution in a Pure UNIX/Linux World</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2668313">/etc/hosts</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2668502">/etc/resolv.conf</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2668538">/etc/host.conf</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2668589">/etc/nsswitch.conf</a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2668713">Name Resolution as Used within MS Windows Networking</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669148">The NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669234">The LMHOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669410">HOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669438">DNS Lookup</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669465">WINS Lookup</a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2669603">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669616">Pinging Works Only One Way</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669647">Very Slow Network Connections</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669689">Samba Server Name-Change Problem</a></span></dt></dl></dd></dl></div><p>2 <a class="indexterm" name="id26 68049"></a>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 29. Integrating MS Windows Networks with Samba</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="pam.html" title="Chapter 28. PAM-Based Distributed Authentication"><link rel="next" href="unicode.html" title="Chapter 30. Unicode/Charsets"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 29. Integrating MS Windows Networks with Samba</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="pam.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="unicode.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 29. Integrating MS Windows Networks with Samba"><div class="titlepage"><div><div><h2 class="title"><a name="integrate-ms-networks"></a>Chapter 29. Integrating MS Windows Networks with Samba</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2674144">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2674165">Background Information</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2674293">Name Resolution in a Pure UNIX/Linux World</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2674366"><code class="filename">/etc/hosts</code></a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2674555"><code class="filename">/etc/resolv.conf</code></a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2674591"><code class="filename">/etc/host.conf</code></a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2674642"><code class="filename">/etc/nsswitch.conf</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2674766">Name Resolution as Used within MS Windows Networking</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675201">The NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675287">The LMHOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675465">HOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675493">DNS Lookup</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675520">WINS Lookup</a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2675658">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675671">Pinging Works Only One Way</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675702">Very Slow Network Connections</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675744">Samba Server Name-Change Problem</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2674102"></a> 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 5 5 section does not apply to your installation. If your installation involves the use of 6 6 NetBIOS over TCP/IP, then this chapter may help you to resolve networking problems. 7 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>8 <a class="indexterm" name="id26 68066"></a>9 <a class="indexterm" name="id26 68073"></a>7 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 8 <a class="indexterm" name="id2674120"></a> 9 <a class="indexterm" name="id2674126"></a> 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="id2668091"></a>Features and Benefits</h2></div></div></div><p>15 </p></div><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2674144"></a>Features and Benefits</h2></div></div></div><p> 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="id2668111"></a>Background Information</h2></div></div></div><p>24 <a class="indexterm" name="id26 68119"></a>25 <a class="indexterm" name="id26 68126"></a>26 <a class="indexterm" name="id26 68133"></a>27 <a class="indexterm" name="id26 68140"></a>28 <a class="indexterm" name="id26 68147"></a>23 </p></div><div class="sect1" title="Background Information"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2674165"></a>Background Information</h2></div></div></div><p> 24 <a class="indexterm" name="id2674172"></a> 25 <a class="indexterm" name="id2674179"></a> 26 <a class="indexterm" name="id2674186"></a> 27 <a class="indexterm" name="id2674193"></a> 28 <a class="indexterm" name="id2674200"></a> 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 … … 32 32 TCP/IP is disabled on MS Windows 2000 and later clients, then only the TCP port 445 is 33 33 used, and the UDP port 137 and TCP port 139 are not. 34 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>34 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 35 35 When using Windows 2000 or later clients, if NetBIOS over TCP/IP is not disabled, then 36 36 the client will use UDP port 137 (NetBIOS Name Service, also known as the Windows Internet 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="id26 68175"></a>40 <a class="indexterm" name="id26 68181"></a>41 <a class="indexterm" name="id26 68188"></a>42 <a class="indexterm" name="id26 68195"></a>43 <a class="indexterm" name="id26 68201"></a>44 <a class="indexterm" name="id26 68208"></a>39 <a class="indexterm" name="id2674228"></a> 40 <a class="indexterm" name="id2674234"></a> 41 <a class="indexterm" name="id2674241"></a> 42 <a class="indexterm" name="id2674248"></a> 43 <a class="indexterm" name="id2674255"></a> 44 <a class="indexterm" name="id2674261"></a> 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="id26 68218"></a> dynamic DNS with Service Resource48 Records (SRV RR) and with Incremental Zone Transfers (IXFR). <a class="indexterm" name="id26 68229"></a>47 <a class="indexterm" name="id2674271"></a> dynamic DNS with Service Resource 48 Records (SRV RR) and with Incremental Zone Transfers (IXFR). <a class="indexterm" name="id2674282"></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="id2668240"></a>Name Resolution in a Pure UNIX/Linux World</h2></div></div></div><p>51 </p></div><div class="sect1" title="Name Resolution in a Pure UNIX/Linux World"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2674293"></a>Name Resolution in a Pure UNIX/Linux World</h2></div></div></div><p> 52 52 The key configuration files covered in this section are: 53 </p><a class="indexterm" name="id26 68250"></a><a class="indexterm" name="id2668257"></a><a class="indexterm" name="id2668264"></a><a class="indexterm" name="id2668271"></a><div class="itemizedlist"><ul type="disc"><li><p><code class="filename">/etc/hosts</code></p></li><li><p><code class="filename">/etc/resolv.conf</code></p></li><li><p><code class="filename">/etc/host.conf</code></p></li><li><p><code class="filename">/etc/nsswitch.conf</code></p></li></ul></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2668313"></a><code class="filename">/etc/hosts</code></h3></div></div></div><p>53 </p><a class="indexterm" name="id2674304"></a><a class="indexterm" name="id2674310"></a><a class="indexterm" name="id2674317"></a><a class="indexterm" name="id2674324"></a><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p><code class="filename">/etc/hosts</code></p></li><li class="listitem"><p><code class="filename">/etc/resolv.conf</code></p></li><li class="listitem"><p><code class="filename">/etc/host.conf</code></p></li><li class="listitem"><p><code class="filename">/etc/nsswitch.conf</code></p></li></ul></div><div class="sect2" title="/etc/hosts"><div class="titlepage"><div><div><h3 class="title"><a name="id2674366"></a><code class="filename">/etc/hosts</code></h3></div></div></div><p> 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="id26 68336"></a>61 <a class="indexterm" name="id26 68343"></a>60 <a class="indexterm" name="id2674389"></a> 61 <a class="indexterm" name="id2674396"></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="id26 68361"></a>67 <a class="indexterm" name="id26 68368"></a>68 <a class="indexterm" name="id26 68375"></a>66 <a class="indexterm" name="id2674414"></a> 67 <a class="indexterm" name="id2674421"></a> 68 <a class="indexterm" name="id2674428"></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="id26 68393"></a>75 <a class="indexterm" name="id2674447"></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="id26 68424"></a>87 <a class="indexterm" name="id2674478"></a> 88 88 When a user or a process wants to communicate with another machine, 89 the protocol implementation ensures that the “<span class="quote">machine name</span>” or“<span class="quote">host90 name</span>” is resolved to an IP address in a manner that is controlled89 the protocol implementation ensures that the <span class="quote">“<span class="quote">machine name</span>”</span> or <span class="quote">“<span class="quote">host 90 name</span>”</span> is resolved to an IP address in a manner that is controlled 91 91 by the TCP/IP configuration control files. The file 92 92 <code class="filename">/etc/hosts</code> is one such file. 93 93 </p><p> 94 <a class="indexterm" name="id26 68451"></a>94 <a class="indexterm" name="id2674504"></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="id26 68480"></a>102 <a class="indexterm" name="id2674534"></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="id2668502"></a><code class="filename">/etc/resolv.conf</code></h3></div></div></div><p>110 </p></div><div class="sect2" title="/etc/resolv.conf"><div class="titlepage"><div><div><h3 class="title"><a name="id2674555"></a><code class="filename">/etc/resolv.conf</code></h3></div></div></div><p> 111 111 This file tells the name resolution libraries: 112 </p><div class="itemizedlist"><ul type="disc"><li><p>The name of the domain to which the machine112 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>The name of the domain to which the machine 113 113 belongs. 114 </p></li><li ><p>The name(s) of any domains that should be114 </p></li><li class="listitem"><p>The name(s) of any domains that should be 115 115 automatically searched when trying to resolve unqualified 116 116 host names to their IP address. 117 </p></li><li ><p>The name or IP address of available domain117 </p></li><li class="listitem"><p>The name or IP address of available domain 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="id2668538"></a><code class="filename">/etc/host.conf</code></h3></div></div></div><p>121 <a class="indexterm" name="id26 68549"></a>120 </p></li></ul></div></div><div class="sect2" title="/etc/host.conf"><div class="titlepage"><div><div><h3 class="title"><a name="id2674591"></a><code class="filename">/etc/host.conf</code></h3></div></div></div><p> 121 <a class="indexterm" name="id2674602"></a> 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="id2668589"></a><code class="filename">/etc/nsswitch.conf</code></h3></div></div></div><p>131 <a class="indexterm" name="id26 68600"></a>130 </p></div><div class="sect2" title="/etc/nsswitch.conf"><div class="titlepage"><div><div><h3 class="title"><a name="id2674642"></a><code class="filename">/etc/nsswitch.conf</code></h3></div></div></div><p> 131 <a class="indexterm" name="id2674654"></a> 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="id26 68636"></a>164 <a class="indexterm" name="id26 68643"></a>165 <a class="indexterm" name="id26 68650"></a>166 <a class="indexterm" name="id26 68657"></a>167 <a class="indexterm" name="id26 68664"></a>163 <a class="indexterm" name="id2674690"></a> 164 <a class="indexterm" name="id2674696"></a> 165 <a class="indexterm" name="id2674703"></a> 166 <a class="indexterm" name="id2674710"></a> 167 <a class="indexterm" name="id2674717"></a> 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 … … 173 173 nsswitch/libnss_wins.so</code></strong>). The resulting library should 174 174 then be installed in the <code class="filename">/lib</code> directory, and 175 the <em class="parameter"><code>wins</code></em> parameter needs to be added to the “<span class="quote">hosts:</span>”line in175 the <em class="parameter"><code>wins</code></em> parameter needs to be added to the <span class="quote">“<span class="quote">hosts:</span>”</span> line in 176 176 the <code class="filename">/etc/nsswitch.conf</code> file. At this point, it 177 177 will be possible to ping any MS Windows machine by its NetBIOS 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="id2668713"></a>Name Resolution as Used within MS Windows Networking</h2></div></div></div><p>181 <a class="indexterm" name="id26 68722"></a>182 <a class="indexterm" name="id26 68728"></a>183 <a class="indexterm" name="id26 68735"></a>184 <a class="indexterm" name="id26 68742"></a>180 </p></div></div><div class="sect1" title="Name Resolution as Used within MS Windows Networking"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2674766"></a>Name Resolution as Used within MS Windows Networking</h2></div></div></div><p> 181 <a class="indexterm" name="id2674775"></a> 182 <a class="indexterm" name="id2674782"></a> 183 <a class="indexterm" name="id2674789"></a> 184 <a class="indexterm" name="id2674796"></a> 185 185 MS Windows networking is predicated on the name each machine is given. This name is known variously (and 186 inconsistently) as the “<span class="quote">computer name,</span>” “<span class="quote">machine name,</span>”“<span class="quote">networking187 name,</span>” “<span class="quote">NetBIOS name,</span>” or “<span class="quote">SMB name.</span>”All terms mean the same thing with the188 exception of “<span class="quote">NetBIOS name,</span>”which can also apply to the name of the workgroup or the domain189 name. The terms “<span class="quote">workgroup</span>” and “<span class="quote">domain</span>”are really just a simple name with which186 inconsistently) as the <span class="quote">“<span class="quote">computer name,</span>”</span> <span class="quote">“<span class="quote">machine name,</span>”</span> <span class="quote">“<span class="quote">networking 187 name,</span>”</span> <span class="quote">“<span class="quote">NetBIOS name,</span>”</span> or <span class="quote">“<span class="quote">SMB name.</span>”</span> All terms mean the same thing with the 188 exception of <span class="quote">“<span class="quote">NetBIOS name,</span>”</span> which can also apply to the name of the workgroup or the domain 189 name. The terms <span class="quote">“<span class="quote">workgroup</span>”</span> and <span class="quote">“<span class="quote">domain</span>”</span> are really just a simple name with which 190 190 the machine is associated. All NetBIOS names are exactly 16 characters in length. The 191 191 16<sup>th</sup> character is reserved. It is used to store a 1-byte value that indicates … … 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="id26 68939"></a>198 <a class="indexterm" name="id2674992"></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="id26 68974"></a>206 <a class="indexterm" name="id26 68981"></a>207 <a class="indexterm" name="id26 68987"></a>205 <a class="indexterm" name="id2675027"></a> 206 <a class="indexterm" name="id2675034"></a> 207 <a class="indexterm" name="id2675041"></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="id26 69019"></a>220 <a class="indexterm" name="id26 69026"></a>221 The name “<span class="quote">workgroup</span>” or “<span class="quote">domain</span>”really can be confusing, since these219 <a class="indexterm" name="id2675072"></a> 220 <a class="indexterm" name="id2675079"></a> 221 The name <span class="quote">“<span class="quote">workgroup</span>”</span> or <span class="quote">“<span class="quote">domain</span>”</span> really can be confusing, since these 222 222 have the added significance of indicating what is the security 223 architecture of the MS Windows network. The term “<span class="quote">workgroup</span>”indicates223 architecture of the MS Windows network. The term <span class="quote">“<span class="quote">workgroup</span>”</span> indicates 224 224 that the primary nature of the network environment is that of a 225 225 peer-to-peer design. In a workgroup, all machines are responsible for … … 231 231 of a username and a matching password. 232 232 </p><p> 233 <a class="indexterm" name="id26 69059"></a>234 <a class="indexterm" name="id26 69065"></a>235 <a class="indexterm" name="id26 69075"></a>236 <a class="indexterm" name="id26 69084"></a>237 <a class="indexterm" name="id26 69094"></a>238 <a class="indexterm" name="id26 69103"></a>239 <a class="indexterm" name="id26 69110"></a>240 <a class="indexterm" name="id26 69117"></a>233 <a class="indexterm" name="id2675112"></a> 234 <a class="indexterm" name="id2675118"></a> 235 <a class="indexterm" name="id2675128"></a> 236 <a class="indexterm" name="id2675137"></a> 237 <a class="indexterm" name="id2675147"></a> 238 <a class="indexterm" name="id2675156"></a> 239 <a class="indexterm" name="id2675163"></a> 240 <a class="indexterm" name="id2675170"></a> 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="id2669148"></a>The NetBIOS Name Cache</h3></div></div></div><p>256 <a class="indexterm" name="id26 69155"></a>257 <a class="indexterm" name="id26 69162"></a>258 <a class="indexterm" name="id26 69169"></a>255 </p><div class="sect2" title="The NetBIOS Name Cache"><div class="titlepage"><div><div><h3 class="title"><a name="id2675201"></a>The NetBIOS Name Cache</h3></div></div></div><p> 256 <a class="indexterm" name="id2675208"></a> 257 <a class="indexterm" name="id2675215"></a> 258 <a class="indexterm" name="id2675222"></a> 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="id26 69184"></a>266 <a class="indexterm" name="id2675237"></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="id26 69200"></a>275 <a class="indexterm" name="id26 69207"></a>276 <a class="indexterm" name="id26 69214"></a>274 <a class="indexterm" name="id2675253"></a> 275 <a class="indexterm" name="id2675260"></a> 276 <a class="indexterm" name="id2675267"></a> 277 277 The MS Windows utility that allows examination of the NetBIOS 278 name cache is called “<span class="quote">nbtstat.</span>”The Samba equivalent278 name cache is called <span class="quote">“<span class="quote">nbtstat.</span>”</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="id2669234"></a>The LMHOSTS File</h3></div></div></div><p>281 <a class="indexterm" name="id26 69242"></a>280 </p></div><div class="sect2" title="The LMHOSTS File"><div class="titlepage"><div><div><h3 class="title"><a name="id2675287"></a>The LMHOSTS File</h3></div></div></div><p> 281 <a class="indexterm" name="id2675295"></a> 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="id2669410"></a>HOSTS File</h3></div></div></div><p>366 </pre></div><div class="sect2" title="HOSTS File"><div class="titlepage"><div><div><h3 class="title"><a name="id2675465"></a>HOSTS File</h3></div></div></div><p> 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="id2669438"></a>DNS Lookup</h3></div></div></div><p>374 <a class="indexterm" name="id26 69446"></a>373 </p></div><div class="sect2" title="DNS Lookup"><div class="titlepage"><div><div><h3 class="title"><a name="id2675493"></a>DNS Lookup</h3></div></div></div><p> 374 <a class="indexterm" name="id2675501"></a> 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="id2669465"></a>WINS Lookup</h3></div></div></div><p>386 <a class="indexterm" name="id26 69473"></a>387 <a class="indexterm" name="id26 69480"></a>388 <a class="indexterm" name="id26 69489"></a>385 </p></div><div class="sect2" title="WINS Lookup"><div class="titlepage"><div><div><h3 class="title"><a name="id2675520"></a>WINS Lookup</h3></div></div></div><p> 386 <a class="indexterm" name="id2675528"></a> 387 <a class="indexterm" name="id2675535"></a> 388 <a class="indexterm" name="id2675544"></a> 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="id2669522"></a><em class="parameter"><code>wins support = Yes</code></em></td></tr></table><p>397 <a class="indexterm" name="id26 69536"></a>396 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2675577"></a><em class="parameter"><code>wins support = Yes</code></em></td></tr></table><p> 397 <a class="indexterm" name="id2675591"></a> 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="id2669558"></a><em class="parameter"><code>wins support = No</code></em></td></tr><tr><td><a class="indexterm" name="id2669570"></a><em class="parameter"><code>wins server = xxx.xxx.xxx.xxx</code></em></td></tr></table><p>400 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2675613"></a><em class="parameter"><code>wins support = No</code></em></td></tr><tr><td><a class="indexterm" name="id2675625"></a><em class="parameter"><code>wins server = xxx.xxx.xxx.xxx</code></em></td></tr></table><p> 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="id2669603"></a>Common Errors</h2></div></div></div><p>404 <a class="link" href="NetworkBrowsing.html" title="Chapter 10. Network Browsing">Network Browsing</a>.</p></div></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2675658"></a>Common Errors</h2></div></div></div><p> 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="id2669616"></a>Pinging Works Only One Way</h3></div></div></div><p>409 “<span class="quote">I can ping my Samba server from Windows, but I cannot ping my Windows410 machine from the Samba server.</span>” 408 </p><div class="sect2" title="Pinging Works Only One Way"><div class="titlepage"><div><div><h3 class="title"><a name="id2675671"></a>Pinging Works Only One Way</h3></div></div></div><p> 409 <span class="quote">“<span class="quote">I can ping my Samba server from Windows, but I cannot ping my Windows 410 machine from the Samba server.</span>”</span> 411 411 </p><p> 412 412 The Windows machine was at IP address 192.168.1.2 with netmask 255.255.255.0, the … … 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="id2669647"></a>Very Slow Network Connections</h3></div></div></div><p>418 </p></div><div class="sect2" title="Very Slow Network Connections"><div class="titlepage"><div><div><h3 class="title"><a name="id2675702"></a>Very Slow Network Connections</h3></div></div></div><p> 419 419 A common cause of slow network response includes: 420 </p><div class="itemizedlist"><ul type="disc"><li><p>Client is configured to use DNS and the DNS server is down.</p></li><li><p>Client is configured to use remote DNS server, but the421 remote connection is down.</p></li><li ><p>Client is configured to use a WINS server, but there is no WINS server.</p></li><li><p>Client is not configured to use a WINS server, but there is a WINS server.</p></li><li><p>Firewall is filtering out DNS or WINS traffic.</p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2669689"></a>Samba Server Name-Change Problem</h3></div></div></div><p>422 “<span class="quote">The name of the Samba server was changed, Samba was restarted, and now the Samba server cannot be420 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Client is configured to use DNS and the DNS server is down.</p></li><li class="listitem"><p>Client is configured to use remote DNS server, but the 421 remote connection is down.</p></li><li class="listitem"><p>Client is configured to use a WINS server, but there is no WINS server.</p></li><li class="listitem"><p>Client is not configured to use a WINS server, but there is a WINS server.</p></li><li class="listitem"><p>Firewall is filtering out DNS or WINS traffic.</p></li></ul></div></div><div class="sect2" title="Samba Server Name-Change Problem"><div class="titlepage"><div><div><h3 class="title"><a name="id2675744"></a>Samba Server Name-Change Problem</h3></div></div></div><p> 422 <span class="quote">“<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 424 the old name. Why?</span>” 424 the old name. Why?</span>”</span> 425 425 </p><p> 426 426 From this description, three things are obvious: 427 </p><div class="itemizedlist"><ul type="disc"><li><p>WINS is not in use; only broadcast-based name resolution is used.</p></li><li><p>The Samba server was renamed and restarted within the last 10 or 15 minutes.</p></li><li><p>The old Samba server name is still in the NetBIOS name cache on the MS Windows NT4 workstation.</p></li></ul></div><p>427 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>WINS is not in use; only broadcast-based name resolution is used.</p></li><li class="listitem"><p>The Samba server was renamed and restarted within the last 10 or 15 minutes.</p></li><li class="listitem"><p>The old Samba server name is still in the NetBIOS name cache on the MS Windows NT4 workstation.</p></li></ul></div><p> 428 428 To find what names are present in the NetBIOS name cache on the MS Windows NT4 machine, 429 429 open a <code class="literal">cmd</code> shell and then: -
branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/introduction.html
r274 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Part I. General Installation</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="IntroSMB.html" title="Introduction"><link rel="next" href="install.html" title="Chapter 1. How to Install and Test SAMBA"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Part I. General Installation</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="IntroSMB.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="install.html">Next</a></td></tr></table><hr></div><div class="part" lang="en"><div class="titlepage"><div><div><h1 class="title"><a name="introduction"></a>Part I. General Installation</h1></div></div></div><div class="partintro" lang="en"><div><div><div><h1 class="title"><a name="id2551796"></a>Preparing Samba for Configuration</h1></div></div></div><p>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Part I. General Installation</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="IntroSMB.html" title="Introduction"><link rel="next" href="install.html" title="Chapter 1. How to Install and Test SAMBA"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Part I. General Installation</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="IntroSMB.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="install.html">Next</a></td></tr></table><hr></div><div class="part" title="Part I. General Installation"><div class="titlepage"><div><div><h1 class="title"><a name="introduction"></a>Part I. General Installation</h1></div></div></div><div class="partintro" title="Preparing Samba for Configuration"><div><div><div><h1 class="title"><a name="id2557853"></a>Preparing Samba for Configuration</h1></div></div></div><p> 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#id255 1936">Obtaining and Installing Samba</a></span></dt><dt><span class="sect1"><a href="install.html#id2551976">Configuring Samba (smb.conf)</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2552018">Configuration File Syntax</a></span></dt><dt><span class="sect2"><a href="install.html#tdbdocs">TDB Database File Information</a></span></dt><dt><span class="sect2"><a href="install.html#id2552921">Starting Samba</a></span></dt><dt><span class="sect2"><a href="install.html#id2553100">Example Configuration</a></span></dt><dt><span class="sect2"><a href="install.html#id2553503">SWAT</a></span></dt></dl></dd><dt><span class="sect1"><a href="install.html#id2553562">List Shares Available on the Server</a></span></dt><dt><span class="sect1"><a href="install.html#id2553614">Connect with a UNIX Client</a></span></dt><dt><span class="sect1"><a href="install.html#id2553705">Connect from a Remote SMB Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2553786">What If Things Don't Work?</a></span></dt><dt><span class="sect2"><a href="install.html#id2553827">Still Stuck?</a></span></dt></dl></dd><dt><span class="sect1"><a href="install.html#id2553859">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2553870">Large Number of smbd Processes</a></span></dt><dt><span class="sect2"><a href="install.html#id2553957">Error Message: open_oplock_ipc</a></span></dt><dt><span class="sect2"><a href="install.html#id2553989">The network name cannot be found</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="FastStart.html">2. Fast Start: Cure for Impatience</a></span></dt><dd><dl><dt><span class="sect1"><a href="FastStart.html#id2554132">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2554155">Description of Example Sites</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2554224">Worked Examples</a></span></dt><dd><dl><dt><span class="sect2"><a href="FastStart.html#id2554243">Standalone Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2555984">Domain Member Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2556827">Domain Controller</a></span></dt></dl></dd></dl></dd></dl></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="IntroSMB.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="install.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Introduction </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 1. How to Install and Test SAMBA</td></tr></table></div></body></html>5 </p><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="chapter"><a href="install.html">1. How to Install and Test SAMBA</a></span></dt><dd><dl><dt><span class="sect1"><a href="install.html#id2557993">Obtaining and Installing Samba</a></span></dt><dt><span class="sect1"><a href="install.html#id2558033">Configuring Samba (smb.conf)</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2558075">Configuration File Syntax</a></span></dt><dt><span class="sect2"><a href="install.html#tdbdocs">TDB Database File Information</a></span></dt><dt><span class="sect2"><a href="install.html#id2558977">Starting Samba</a></span></dt><dt><span class="sect2"><a href="install.html#id2559157">Example Configuration</a></span></dt><dt><span class="sect2"><a href="install.html#id2559561">SWAT</a></span></dt></dl></dd><dt><span class="sect1"><a href="install.html#id2559619">List Shares Available on the Server</a></span></dt><dt><span class="sect1"><a href="install.html#id2559671">Connect with a UNIX Client</a></span></dt><dt><span class="sect1"><a href="install.html#id2559762">Connect from a Remote SMB Client</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2559843">What If Things Don't Work?</a></span></dt><dt><span class="sect2"><a href="install.html#id2559884">Still Stuck?</a></span></dt></dl></dd><dt><span class="sect1"><a href="install.html#id2559917">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="install.html#id2559927">Large Number of smbd Processes</a></span></dt><dt><span class="sect2"><a href="install.html#id2560014">Error Message: open_oplock_ipc</a></span></dt><dt><span class="sect2"><a href="install.html#id2560047"><span class="quote">“<span class="quote"><span class="errorname">The network name cannot be found</span></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#id2560189">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2560212">Description of Example Sites</a></span></dt><dt><span class="sect1"><a href="FastStart.html#id2560282">Worked Examples</a></span></dt><dd><dl><dt><span class="sect2"><a href="FastStart.html#id2560300">Standalone Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2562042">Domain Member Server</a></span></dt><dt><span class="sect2"><a href="FastStart.html#id2562885">Domain Controller</a></span></dt></dl></dd></dl></dd></dl></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="IntroSMB.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="install.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Introduction </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 1. How to Install and Test SAMBA</td></tr></table></div></body></html> -
branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/ix01.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Index</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="go01.html" title="Glossary"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Index</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="go01.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> </td></tr></table><hr></div><div class="index"><div class="titlepage"><div><div><h2 class="title"><a name="id2695486"></a>Index</h2></div></div></div><div class="index"><div class="indexdiv"><h3>Symbols</h3><dl><dt>"Printers" folder, <a class="indexterm" href="CUPS-printing.html#id2642037">Caveats to Be Considered</a>, <a class="indexterm" href="CUPS-printing.html#id2643314">Installing the PostScript Driver on a Client</a>, <a class="indexterm" href="CUPS-printing.html#id2644357">Manual Driver Installation in 15 Steps</a></dt><dt>$, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a></dt><dt>%i macro, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></dt><dt>%L, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></dt><dt>%PDF, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt><dt>%SystemRoot%\System32\config, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a></dt><dt>../source/nsswitch, <a class="indexterm" href="winbind.html#id2656647">Configure Winbind and PAM</a></dt><dt>.ai, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt><dt>.AppleDouble, <a class="indexterm" href="VFS.html#id2651777">netatalk</a></dt><dt>.eps, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt><dt>.pdf, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt><dt>.PDS extension, <a class="indexterm" href="ProfileMgmt.html#id2662004">Windows NT4 Workstation</a></dt><dt>.profiles, <a class="indexterm" href="ProfileMgmt.html#id2660841">Windows 9x/Me User Profiles</a></dt><dt>.ps, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt><dt>.recycle, <a class="indexterm" href="VFS.html#id2651380">recycle</a></dt><dt>/bin/false, <a class="indexterm" href="ServerType.html#id2559868">Example Configuration</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>/dev/null, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>/dev/shadowvol, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>/etc/cups/, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt><dt>/etc/cups/mime.convs, <a class="indexterm" href="CUPS-printing.html#id2634206">Raw Print Serving: Vendor Drivers on Windows Clients</a>, <a class="indexterm" href="CUPS-printing.html#cups-raw">Explicitly Enable raw Printing for application/octet-stream</a>, <a class="indexterm" href="CUPS-printing.html#id2636640">MIME Type Conversion Rules</a>, <a class="indexterm" href="CUPS-printing.html#id2638698">application/octet-stream Printing</a></dt><dt>/etc/cups/mime.types, <a class="indexterm" href="CUPS-printing.html#id2634206">Raw Print Serving: Vendor Drivers on Windows Clients</a>, <a class="indexterm" href="CUPS-printing.html#cups-raw">Explicitly Enable raw Printing for application/octet-stream</a>, <a class="indexterm" href="CUPS-printing.html#id2638698">application/octet-stream Printing</a></dt><dt>/etc/fstab, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>/etc/group, <a class="indexterm" href="ServerType.html#id2559461">Share-Level Security</a>, <a class="indexterm" href="groupmapping.html#id2596307">Discussion</a>, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="groupmapping.html#id2598231">Sample smb.conf Add Group Script</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a>, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a>, <a class="indexterm" href="Portability.html#id2689135">HPUX</a></dt><dt>/etc/groups, <a class="indexterm" href="pam.html#id2665943">Anatomy of /etc/pam.d Entries</a></dt><dt>/etc/host.conf, <a class="indexterm" href="integrate-ms-networks.html#id2668240">Name Resolution in a Pure UNIX/Linux World</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668538">/etc/host.conf</a></dt><dt>/etc/hosts, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a>, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668240">Name Resolution in a Pure UNIX/Linux World</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668313">/etc/hosts</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668713">Name Resolution as Used within MS Windows Networking</a>, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>/etc/hosts>, <a class="indexterm" href="integrate-ms-networks.html#id2668313">/etc/hosts</a></dt><dt>/etc/inetd.conf, <a class="indexterm" href="winbind.html#id2656813">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="compiling.html#id2688531">Starting from inetd.conf</a></dt><dt>/etc/init.d/samba, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="winbind.html#id2656253">Linux</a></dt><dt>/etc/init.d/samba.server, <a class="indexterm" href="winbind.html#id2656458">Solaris</a></dt><dt>/etc/init.d/smb, <a class="indexterm" href="winbind.html#id2656253">Linux</a></dt><dt>/etc/krb5.conf, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2573107">Possible Errors</a>, <a class="indexterm" href="idmapper.html#id2606188">ADS Domains</a>, <a class="indexterm" href="idmapper.html#id2607189">IDMAP Storage in LDAP Using Winbind</a></dt><dt>/etc/ldap.conf, <a class="indexterm" href="idmapper.html#id2607189">IDMAP Storage in LDAP Using Winbind</a>, <a class="indexterm" href="idmapper.html#id2607774">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></dt><dt>/etc/logingroup, <a class="indexterm" href="Portability.html#id2689135">HPUX</a></dt><dt>/etc/mime.conv, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>/etc/mime.types, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>/etc/nsswitch.conf, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2605900">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="idmapper.html#id2606598">IDMAP_RID with Winbind</a>, <a class="indexterm" href="idmapper.html#id2607774">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a>, <a class="indexterm" href="winbind.html#id2654066">Name Service Switch</a>, <a class="indexterm" href="winbind.html#id2654945">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668240">Name Resolution in a Pure UNIX/Linux World</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668589">/etc/nsswitch.conf</a></dt><dt>/etc/openldap/slapd.conf, <a class="indexterm" href="FastStart.html#id2557721">The Primary Domain Controller</a></dt><dt>/etc/openldap/sldap.conf, <a class="indexterm" href="passdb.html#id2594483">Accounts and Groups Management</a></dt><dt>/etc/pam.conf, <a class="indexterm" href="winbind.html#id2657160">Solaris-Specific Configuration</a>, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a>, <a class="indexterm" href="pam.html#id2665810">Technical Discussion</a>, <a class="indexterm" href="pam.html#id2665943">Anatomy of /etc/pam.d Entries</a></dt><dt>/etc/pam.d, <a class="indexterm" href="winbind.html#id2654706">Requirements</a>, <a class="indexterm" href="winbind.html#id2654858">Testing Things Out</a>, <a class="indexterm" href="winbind.html#id2656647">Configure Winbind and PAM</a>, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>/etc/pam.d/, <a class="indexterm" href="winbind.html#id2654298">Pluggable Authentication Modules</a>, <a class="indexterm" href="pam.html#id2665810">Technical Discussion</a></dt><dt>/etc/pam.d/ftp, <a class="indexterm" href="winbind.html#id2656813">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>/etc/pam.d/login, <a class="indexterm" href="winbind.html#id2656813">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>/etc/pam.d/samba, <a class="indexterm" href="winbind.html#id2656813">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>/etc/passwd, <a class="indexterm" href="ServerType.html#id2559461">Share-Level Security</a>, <a class="indexterm" href="ServerType.html#id2559868">Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2565212">$ Cannot Be Included in Machine Name</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2570643">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="domain-member.html#id2573794">Adding Machine to Domain Fails</a>, <a class="indexterm" href="StandAloneServer.html#id2574257">Background</a>, <a class="indexterm" href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a>, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="passdb.html#id2587285">Backward Compatibility Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2592572">Plaintext</a>, <a class="indexterm" href="passdb.html#id2593375">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="groupmapping.html#id2597396">Applicable Only to Versions Earlier than 3.0.11</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a>, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2655892">Starting and Testing the winbindd Daemon</a>, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>/etc/printcap, <a class="indexterm" href="CUPS-printing.html#id2633153">Basic CUPS Support Configuration</a></dt><dt>/etc/resolv.conf, <a class="indexterm" href="integrate-ms-networks.html#id2668240">Name Resolution in a Pure UNIX/Linux World</a>, <a class="indexterm" href="diagnosis.html#id2682839">Assumptions</a>, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>/etc/samba, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a>, <a class="indexterm" href="cfgsmarts.html#id2675343">Multiple Virtual Server Hosting</a>, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>/etc/samba/scripts, <a class="indexterm" href="NetCommand.html#id2600629">Managing Nest Groups on Workstations from the Samba Server</a></dt><dt>/etc/samba/secrets.tdb, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></dt><dt>/etc/samba/smb.conf, <a class="indexterm" href="install.html#id2551976">Configuring Samba (smb.conf)</a></dt><dt>/etc/samba/smbpasswd, <a class="indexterm" href="passdb.html#id2592572">Plaintext</a></dt><dt>/etc/samba/smbusers, <a class="indexterm" href="NetCommand.html#id2601256">User Mapping</a></dt><dt>/etc/shadow, <a class="indexterm" href="StandAloneServer.html#id2574257">Background</a>, <a class="indexterm" href="passdb.html#id2587285">Backward Compatibility Account Storage Systems</a></dt><dt>/etc/smbpasswd, <a class="indexterm" href="passdb.html#id2592572">Plaintext</a></dt><dt>/etc/ssl/certs/slapd.pem, <a class="indexterm" href="samba-bdc.html#id2566966">LDAP Configuration Notes</a></dt><dt>/etc/xinetd.d, <a class="indexterm" href="winbind.html#id2656813">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>/etc/xinetd.d/telnet, <a class="indexterm" href="winbind.html#id2656813">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>/export, <a class="indexterm" href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a></dt><dt>/lib/libnss_example.so, <a class="indexterm" href="winbind.html#id2654066">Name Service Switch</a></dt><dt>/lib/libnss_files.so, <a class="indexterm" href="winbind.html#id2654066">Name Service Switch</a></dt><dt>/lib/security, <a class="indexterm" href="winbind.html#id2656647">Configure Winbind and PAM</a>, <a class="indexterm" href="pam.html#id2665864">PAM Configuration Syntax</a></dt><dt>/lib/security/, <a class="indexterm" href="winbind.html#id2654298">Pluggable Authentication Modules</a></dt><dt>/opt/samba/bin, <a class="indexterm" href="SWAT.html#id2681334">Locating the SWAT File</a></dt><dt>/tmp, <a class="indexterm" href="AccessControls.html#id2611240">File and Directory Access Control</a></dt><dt>/usr/bin/openssl, <a class="indexterm" href="SWAT.html#id2681902">Securing SWAT through SSL</a></dt><dt>/usr/lib/samba/vfs, <a class="indexterm" href="VFS.html#id2650394">Discussion</a></dt><dt>/usr/lib/security, <a class="indexterm" href="winbind.html#id2655343">NSS Winbind on AIX</a>, <a class="indexterm" href="winbind.html#id2656647">Configure Winbind and PAM</a></dt><dt>/usr/lib/security/methods.cfg, <a class="indexterm" href="winbind.html#id2655343">NSS Winbind on AIX</a></dt><dt>/usr/local/lib, <a class="indexterm" href="winbind.html#id2654945">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>/usr/local/samba, <a class="indexterm" href="winbind.html#id2655892">Starting and Testing the winbindd Daemon</a></dt><dt>/usr/local/samba/bin, <a class="indexterm" href="winbind.html#id2656253">Linux</a>, <a class="indexterm" href="winbind.html#id2656458">Solaris</a>, <a class="indexterm" href="SWAT.html#id2681334">Locating the SWAT File</a></dt><dt>/usr/local/samba/lib, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>/usr/local/samba/lib/vfs, <a class="indexterm" href="VFS.html#id2650394">Discussion</a></dt><dt>/usr/local/samba/private/secrets.tdb, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></dt><dt>/usr/local/samba/swat, <a class="indexterm" href="SWAT.html#xinetd">Enabling SWAT for Use</a></dt><dt>/usr/local/samba/var, <a class="indexterm" href="AccessControls.html#id2612982">Access Controls on Shares</a>, <a class="indexterm" href="diagnosis.html#id2682839">Assumptions</a></dt><dt>/usr/local/samba/var/locks, <a class="indexterm" href="NetworkBrowsing.html#id2584236">Static WINS Entries</a></dt><dt>/usr/sbin, <a class="indexterm" href="SWAT.html#id2681334">Locating the SWAT File</a>, <a class="indexterm" href="SWAT.html#xinetd">Enabling SWAT for Use</a></dt><dt>/usr/share/samba/swat, <a class="indexterm" href="SWAT.html#xinetd">Enabling SWAT for Use</a></dt><dt>/var/locks/*.tdb, <a class="indexterm" href="speed.html#id2691227">Corrupt tdb Files</a></dt><dt>/var/log/samba, <a class="indexterm" href="diagnosis.html#id2682839">Assumptions</a></dt><dt>/var/run/samba, <a class="indexterm" href="NetworkBrowsing.html#id2584236">Static WINS Entries</a></dt><dt>/var/spool/cups/, <a class="indexterm" href="CUPS-printing.html#id2648188">Autodeletion or Preservation of CUPS Spool Files</a></dt><dt>/var/spool/samba, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="CUPS-printing.html#id2648188">Autodeletion or Preservation of CUPS Spool Files</a></dt><dt>250-user limit, <a class="indexterm" href="passdb.html#id2592915">tdbsam</a></dt><dt>3.0.11, <a class="indexterm" href="rights.html#id2609893">The Administrator Domain SID</a></dt><dt>4,500 user accounts, <a class="indexterm" href="passdb.html#id2592915">tdbsam</a></dt><dt>4294967295, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a></dt><dt>8.3 file names, <a class="indexterm" href="AccessControls.html#id2610774">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>>Domain User Manager, <a class="indexterm" href="InterdomainTrusts.html#id2620141">Creating an NT4 Domain Trust</a></dt><dt>\\%L\%U\.profiles, <a class="indexterm" href="ProfileMgmt.html#id2660841">Windows 9x/Me User Profiles</a></dt><dt>\\SERVER, <a class="indexterm" href="NetworkBrowsing.html#id2585107">Problem Resolution</a></dt><dt>_kerberos.REALM.NAME, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a></dt><dt>_kerberos._udp, <a class="indexterm" href="domain-member.html#id2573400">Notes</a></dt><dt>_ldap._tcp, <a class="indexterm" href="domain-member.html#id2573400">Notes</a></dt><dt>_ldap._tcp.pdc._msdcs.quenya.org, <a class="indexterm" href="samba-bdc.html#id2567603">NetBIOS Over TCP/IP Disabled</a></dt></dl></div><div class="indexdiv"><h3></h3><dl><dt>, <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a>, <a class="indexterm" href="install.html#id2553100">Example Configuration</a>, <a class="indexterm" href="FastStart.html#anon-ro">Anonymous Read-Only Document Server</a>, <a class="indexterm" href="FastStart.html#id2554659">Anonymous Read-Write Document Server</a>, <a class="indexterm" href="FastStart.html#id2554870">Anonymous Print Server</a>, <a class="indexterm" href="FastStart.html#id2555235">Secure Read-Write File and Print Server</a>, <a class="indexterm" href="FastStart.html#id2556059">Example Configuration</a>, <a class="indexterm" href="FastStart.html#id2556907">Example: Engineering Office</a>, <a class="indexterm" href="FastStart.html#id2557721">The Primary Domain Controller</a>, <a class="indexterm" href="FastStart.html#id2558338">Backup Domain Controller</a>, <a class="indexterm" href="ServerType.html#id2559423">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2559620">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2559868">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2560220">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2560468">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2560566">Password Checking</a>, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2564382">Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2566715">Example PDC Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2566966">LDAP Configuration Notes</a>, <a class="indexterm" href="samba-bdc.html#id2568163">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2570526">On-the-Fly Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2570890">Samba Client</a>, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="domain-member.html#id2572115">Configure smb.conf</a>, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2573472">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a>, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2582305">Domain Browsing Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583172">Multiple Interfaces</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583358">Use of the Remote Announce Parameter</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583498">Use of the Remote Browse Sync Parameter</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583862">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584620">Name Resolution Order</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2594059">Configuring Samba</a>, <a class="indexterm" href="groupmapping.html#id2598231">Sample smb.conf Add Group Script</a>, <a class="indexterm" href="NetCommand.html#id2600629">Managing Nest Groups on Workstations from the Samba Server</a>, <a class="indexterm" href="idmapper.html#id2605900">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="idmapper.html#id2606188">ADS Domains</a>, <a class="indexterm" href="idmapper.html#id2606598">IDMAP_RID with Winbind</a>, <a class="indexterm" href="idmapper.html#id2607189">IDMAP Storage in LDAP Using Winbind</a>, <a class="indexterm" href="idmapper.html#id2607774">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a>, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a>, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a>, <a class="indexterm" href="AccessControls.html#id2614117">Interaction with the Standard Samba create mask Parameters</a>, <a class="indexterm" href="AccessControls.html#id2614990">Users Cannot Write to a Public Share</a>, <a class="indexterm" href="AccessControls.html#id2615358">MS Word with Samba Changes Owner of File</a>, <a class="indexterm" href="locking.html#id2617043">Disabling Oplocks</a>, <a class="indexterm" href="locking.html#id2617138">Disabling Kernel Oplocks</a>, <a class="indexterm" href="securing-samba.html#id2618174">Features and Benefits</a>, <a class="indexterm" href="securing-samba.html#id2618336">Using Host-Based Protection</a>, <a class="indexterm" href="securing-samba.html#id2618490">User-Based Protection</a>, <a class="indexterm" href="securing-samba.html#id2618550">Using Interface Protection</a>, <a class="indexterm" href="securing-samba.html#id2618900">Using IPC$ Share-Based Denials </a>, <a class="indexterm" href="securing-samba.html#id2619187">Why Can Users Access Other Users' Home Directories?</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="msdfs.html#id2621456">Features and Benefits</a>, <a class="indexterm" href="msdfs.html#id2621908">MSDFS UNIX Path Is Case-Critical</a>, <a class="indexterm" href="classicalprinting.html#id2622641">Simple Print Configuration</a>, <a class="indexterm" href="classicalprinting.html#id2623122">Rapid Configuration Validation</a>, <a class="indexterm" href="classicalprinting.html#id2623522">Extended Printing Configuration</a>, <a class="indexterm" href="classicalprinting.html#id2626023">Custom Print Commands</a>, <a class="indexterm" href="classicalprinting.html#id2626984">Creating the [print$] Share</a>, <a class="indexterm" href="classicalprinting.html#id2628032">Identifying Driver Files</a>, <a class="indexterm" href="CUPS-printing.html#id2633517">Simple smb.conf Settings for CUPS</a>, <a class="indexterm" href="CUPS-printing.html#id2633762">More Complex CUPS smb.conf Settings</a>, <a class="indexterm" href="CUPS-printing.html#id2640516">From Windows Clients to a CUPS/Samba Print Server</a>, <a class="indexterm" href="CUPS-printing.html#id2641310">Prepare Your smb.conf for cupsaddsmb</a>, <a class="indexterm" href="VFS.html#id2650394">Discussion</a>, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a>, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2655457">Configure smb.conf</a>, <a class="indexterm" href="winbind.html#id2656253">Linux</a>, <a class="indexterm" href="winbind.html#id2657160">Solaris-Specific Configuration</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a>, <a class="indexterm" href="ProfileMgmt.html#id2660701">NT4/200x User Profiles</a>, <a class="indexterm" href="ProfileMgmt.html#id2660841">Windows 9x/Me User Profiles</a>, <a class="indexterm" href="ProfileMgmt.html#id2660998">Mixed Windows Windows 9x/Me and NT4/200x User Profiles</a>, <a class="indexterm" href="ProfileMgmt.html#id2664840">Changing the Default Profile</a>, <a class="indexterm" href="integrate-ms-networks.html#id2669148">The NetBIOS Name Cache</a>, <a class="indexterm" href="integrate-ms-networks.html#id2669465">WINS Lookup</a>, <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a>, <a class="indexterm" href="unicode.html#id2671027">Individual Implementations</a>, <a class="indexterm" href="largefile.html">Handling Large Directories</a>, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a>, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a>, <a class="indexterm" href="cfgsmarts.html#id2675343">Multiple Virtual Server Hosting</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678922">IdMap LDAP Support</a>, <a class="indexterm" href="diagnosis.html#id2682839">Assumptions</a>, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a>, <a class="indexterm" href="bugreport.html#dbglvl">Debug Levels</a>, <a class="indexterm" href="bugreport.html#id2686375">Debugging-Specific Operations</a>, <a class="indexterm" href="Other-Clients.html#id2690417">Windows 2000 Service Pack 2</a> (see SSO)</dt><dd><dl><dt>backend, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a></dt><dt>logon</dt><dd><dl><dt>service, <a class="indexterm" href="samba-bdc.html#id2566209">Essential Background Information</a></dt></dl></dd></dl></dd></dl></div><div class="indexdiv"><h3>A</h3><dl><dt>abbreviated keystrokes, <a class="indexterm" href="ClientConfig.html#id2575613">TCP/IP Configuration</a></dt><dt>aborting shutdown, <a class="indexterm" href="rights.html#id2609072">Description of Privileges</a></dt><dt>accept connections, <a class="indexterm" href="securing-samba.html#id2618550">Using Interface Protection</a></dt><dt>access, <a class="indexterm" href="ChangeNotes.html#id2578662">User and Group Changes</a></dt><dt>Access, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a></dt><dt>access authentication, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a></dt><dt>access control, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a>, <a class="indexterm" href="StandAloneServer.html#id2574257">Background</a>, <a class="indexterm" href="AccessControls.html#id2612982">Access Controls on Shares</a>, <a class="indexterm" href="AdvancedNetworkManagement.html">Advanced Network Management</a></dt><dt>Access Control, <a class="indexterm" href="ClientConfig.html#id2577911">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>Access Control Entries (see ACE)</dt><dt>Access Control List, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a></dt><dt>access control needs, <a class="indexterm" href="NT4Migration.html#id2679736">Server Share and Directory Layout</a></dt><dt>access controls, <a class="indexterm" href="domain-member.html#id2569122">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a>, <a class="indexterm" href="NetCommand.html#id2599802">Mapping Windows Groups to UNIX Groups</a>, <a class="indexterm" href="AccessControls.html#id2610573">Features and Benefits</a>, <a class="indexterm" href="AccessControls.html#id2611652">Protecting Directories and Files from Deletion</a></dt><dt>Access Controls, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>access denied, <a class="indexterm" href="securing-samba.html#id2618900">Using IPC$ Share-Based Denials </a></dt><dt>access policies, <a class="indexterm" href="passdb.html#id2592232">Domain Account Policy Managment</a></dt><dt>access rights, <a class="indexterm" href="domain-member.html#id2569122">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a>, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a></dt><dt>account, <a class="indexterm" href="install.html#id2553100">Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#id2570643">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="pam.html#id2665943">Anatomy of /etc/pam.d Entries</a></dt><dd><dl><dt>backend, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a></dt><dt>database, <a class="indexterm" href="ServerType.html#id2559653">Domain Security Mode (User-Level Security)</a></dt><dd><dl><dt>backends, <a class="indexterm" href="ServerType.html#id2558832">Features and Benefits</a></dt></dl></dd></dl></dd><dt>account access controls, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a></dt><dt>account attributes, <a class="indexterm" href="idmapper.html#id2605507">Primary Domain Controller</a></dt><dt>account backends, <a class="indexterm" href="passdb.html">Account Information Databases</a></dt><dt>account containers, <a class="indexterm" href="passdb.html#id2593873">Initialize the LDAP Database</a></dt><dt>account control block (see ACB)</dt><dt>account control flags, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a></dt><dt>account controls, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>Account Controls, <a class="indexterm" href="PolicyMgmt.html#id2659906">Managing Account/User Policies</a></dt><dt>account database, <a class="indexterm" href="passdb.html#id2592519">Password Backends</a></dt><dt>account deleted, <a class="indexterm" href="passdb.html#id2591481">Deleting Accounts</a></dt><dt>account encode_bits, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a></dt><dt>account flag order, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a></dt><dt>Account Flags, <a class="indexterm" href="passdb.html#id2591158">Listing User and Machine Accounts</a></dt><dt>account flags, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a></dt><dt>account import/export, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a>, <a class="indexterm" href="passdb.html#id2592394">Account Import/Export</a></dt><dt>account information, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="passdb.html#id2593375">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="NetCommand.html#id2600928">UNIX and Windows User Management</a></dt><dt>account information database, <a class="indexterm" href="passdb.html#id2588564">Mapping User Identifiers between MS Windows and UNIX</a></dt><dt>account management, <a class="indexterm" href="idmapper.html#id2605507">Primary Domain Controller</a></dt><dt>account name, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a>, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>account policies, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a></dt><dt>account policy, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a></dt><dt>account restrictions, <a class="indexterm" href="PolicyMgmt.html#id2659906">Managing Account/User Policies</a></dt><dt>account security, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a></dt><dt>account storage backends, <a class="indexterm" href="upgrading-to-3.0.html#id2678169">Passdb Backends and Authentication</a></dt><dt>account storage mechanisms, <a class="indexterm" href="passdb.html">Account Information Databases</a></dt><dt>account storage system, <a class="indexterm" href="passdb.html">Account Information Databases</a></dt><dt>Account Unknown, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>accountability, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a></dt><dt>accounts, <a class="indexterm" href="winbind.html#id2654592">Introduction</a></dt><dt>ACL, <a class="indexterm" href="ChangeNotes.html#id2578662">User and Group Changes</a>, <a class="indexterm" href="passdb.html#id2594596">Security and sambaSamAccount</a>, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="rights.html#id2609072">Description of Privileges</a>, <a class="indexterm" href="securing-samba.html#id2618174">Features and Benefits</a>, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a>, <a class="indexterm" href="ch-ldap-tls.html#s1-intro-ldap-tls">Introduction</a></dt><dt>ACLs, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a>, <a class="indexterm" href="classicalprinting.html#id2626862">The Obsoleted [printer$] Section</a></dt><dd><dl><dt>File System, <a class="indexterm" href="AccessControls.html#id2611240">File and Directory Access Control</a></dt><dt>POSIX, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a>, <a class="indexterm" href="AccessControls.html#id2610573">Features and Benefits</a></dt><dt>share, <a class="indexterm" href="AccessControls.html#id2610573">Features and Benefits</a></dt><dt>Windows, <a class="indexterm" href="AccessControls.html#id2610573">Features and Benefits</a></dt></dl></dd><dt>ACLs on share, <a class="indexterm" href="AccessControls.html#id2613247">Windows 200x/XP</a></dt><dt>ACLs on shares, <a class="indexterm" href="AccessControls.html#id2610573">Features and Benefits</a></dt><dt>across network segments, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a></dt><dt>active directory, <a class="indexterm" href="ServerType.html#id2558832">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2564263">Samba ADS Domain Control</a></dt><dt>Active Directory, <a class="indexterm" href="samba-bdc.html#id2567331">Active Directory Domain Control</a>, <a class="indexterm" href="domain-member.html#ads-member">Samba ADS Domain Membership</a>, <a class="indexterm" href="NetCommand.html#id2599400">UNIX and Windows Group Management</a>, <a class="indexterm" href="idmapper.html#id2604493">Standalone Samba Server</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2606598">IDMAP_RID with Winbind</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a></dt><dt>Active Directory Server, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>AD4UNIX, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a></dt><dt>ADAM, <a class="indexterm" href="idmapper.html#id2607189">IDMAP Storage in LDAP Using Winbind</a></dt><dt>add a user account, <a class="indexterm" href="passdb.html#id2591394">Adding User Accounts</a></dt><dt>add client machines, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a></dt><dt>add domain users and groups to a local group, <a class="indexterm" href="rights.html#id2610076">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>add drivers, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>add machine script, <a class="indexterm" href="domain-member.html#id2570526">On-the-Fly Creation of Machine Trust Accounts</a>, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678073">Changes in Behavior</a></dt><dt>Add Printer Wizard, <a class="indexterm" href="classicalprinting.html#id2622106">Features and Benefits</a>, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a>, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>add printer wizard, <a class="indexterm" href="CUPS-printing.html#id2634728">Driver Upload Methods</a></dt><dt>add user script, <a class="indexterm" href="passdb.html#id2591042">User Account Management</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678073">Changes in Behavior</a></dt><dt>add/delete/change share, <a class="indexterm" href="rights.html#id2609072">Description of Privileges</a></dt><dt>adddriver, <a class="indexterm" href="classicalprinting.html#id2628585">Installing Driver Files into [print$]</a>, <a class="indexterm" href="classicalprinting.html#id2628941">Running rpcclient with adddriver</a>, <a class="indexterm" href="classicalprinting.html#id2629434">Specific Driver Name Flexibility</a>, <a class="indexterm" href="CUPS-printing.html#id2643723">A Check of the rpcclient man Page</a>, <a class="indexterm" href="CUPS-printing.html#id2645315">Troubleshooting Revisited</a></dt><dt>additional driver, <a class="indexterm" href="classicalprinting.html#id2630271">Additional Client Driver Installation</a></dt><dt>additional privileges, <a class="indexterm" href="rights.html#id2609072">Description of Privileges</a></dt><dt>addmem, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>AddPrinterDriver(), <a class="indexterm" href="CUPS-printing.html#id2643723">A Check of the rpcclient man Page</a></dt><dt>admincfg.exe, <a class="indexterm" href="Other-Clients.html#id2690180">Configuring Windows for Workgroups Password Handling</a></dt><dt>administrative actions, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a></dt><dt>administrative duties, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a></dt><dt>administrative privileges, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="winbind.html#id2655654">Join the Samba Server to the PDC Domain</a></dt><dt>administrative responsibilities, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a></dt><dt>administrative rights, <a class="indexterm" href="rights.html#id2609072">Description of Privileges</a>, <a class="indexterm" href="rights.html#id2610076">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>administrative rights and privileges, <a class="indexterm" href="rights.html#id2610076">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>Administrative Templates, <a class="indexterm" href="PolicyMgmt.html#id2659457">MS Windows 200x/XP Professional Policies</a></dt><dt>Administrator, <a class="indexterm" href="groupmapping.html#id2596307">Discussion</a>, <a class="indexterm" href="groupmapping.html#id2597278">Important Administrative Information</a>, <a class="indexterm" href="winbind.html#id2655654">Join the Samba Server to the PDC Domain</a></dt><dt>administrator account, <a class="indexterm" href="domain-member.html#id2570643">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="domain-member.html#id2570806">Windows NT4 Client</a></dt><dt>Administrator account, <a class="indexterm" href="domain-member.html#ads-create-machine-account">Create the Computer Account</a></dt><dt>administrator password, <a class="indexterm" href="domain-member.html#id2573400">Notes</a></dt><dt>Administrator%password, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></dt><dt>Adobe, <a class="indexterm" href="CUPS-printing.html#gdipost">GDI on Windows, PostScript on UNIX</a>, <a class="indexterm" href="CUPS-printing.html#id2641102">PostScript Drivers with No Major Problems, Even in Kernel2 Mode</a>, <a class="indexterm" href="CUPS-printing.html#id26 46520">The Grand Unification Achieved</a></dt><dt>Adobe driver, <a class="indexterm" href="CUPS-printing.html#id2642336">Windows CUPS PostScript Driver Versus Adobe Driver</a></dt><dt>Adobe driver files, <a class="indexterm" href="CUPS-printing.html#id2641830">Recognizing Different Driver Files</a></dt><dt>Adobe PostScript, <a class="indexterm" href="CUPS-printing.html#id2642037">Caveats to Be Considered</a>, <a class="indexterm" href="CUPS-printing.html#id2647565">Adobe and CUPS PostScript Drivers for Windows Clients</a></dt><dt>Adobe PostScript driver, <a class="indexterm" href="CUPS-printing.html#id2643314">Installing the PostScript Driver on a Client</a></dt><dt>Adobe PPD, <a class="indexterm" href="CUPS-printing.html#id2645965">CUPS Print Drivers from Linuxprinting.org</a></dt><dt>Adobe specifications, <a class="indexterm" href="CUPS-printing.html#id2638273">The Role of cupsomatic/foomatic</a></dt><dt>ADS, <a class="indexterm" href="ServerType.html#id2560148">ADS Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a>, <a class="indexterm" href="domain-member.html#id2569122">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a>, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="domain-member.html#id2572115">Configure smb.conf</a>, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#ads-create-machine-account">Create the Computer Account</a>, <a class="indexterm" href="domain-member.html#ads-test-server">Testing Server Setup</a>, <a class="indexterm" href="NetworkBrowsing.html">Network Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2580799">TCP/IP without NetBIOS</a>, <a class="indexterm" href="NetworkBrowsing.html#adsdnstech">DNS and Active Directory</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585358">Cross-Subnet Browsing</a>, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#id2594483">Accounts and Groups Management</a>, <a class="indexterm" href="NetCommand.html#id2599319">Administrative Tasks and Methods</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2605507">Primary Domain Controller</a>, <a class="indexterm" href="idmapper.html#id2607189">IDMAP Storage in LDAP Using Winbind</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="InterdomainTrusts.html#id2619747">Features and Benefits</a>, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2621070">NT4-Style Domain Trusts with Windows 2000</a>, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a>, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2654529">Result Caching</a>, <a class="indexterm" href="PolicyMgmt.html#id2658804">Features and Benefits</a>, <a class="indexterm" href="PolicyMgmt.html#id2659457">MS Windows 200x/XP Professional Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2659906">Managing Account/User Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2660333">System Startup and Logon Processing Overview</a>, <a class="indexterm" href="ProfileMgmt.html#id2664091">MS Windows 200x/XP</a>, <a class="indexterm" href="pam.html">PAM-Based Distributed Authentication</a>, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668111">Background Information</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678169">Passdb Backends and Authentication</a>, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a>, <a class="indexterm" href="DNSDHCP.html#id2692891">Features and Benefits</a> (see Active Directory)</dt><dt>ADS DC, <a class="indexterm" href="domain-member.html#id2572115">Configure smb.conf</a></dt><dt>ADS domain, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2606188">ADS Domains</a></dt><dt>ADS domain members, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a></dt><dt>ADS manager, <a class="indexterm" href="domain-member.html#ads-create-machine-account">Create the Computer Account</a></dt><dt>ADS schema, <a class="indexterm" href="idmapper.html#id2605507">Primary Domain Controller</a></dt><dt>Advanced TCP/IP configuration, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a></dt><dt>advantages, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>affect users, <a class="indexterm" href="PolicyMgmt.html#id2658910">Creating and Managing System Policies</a></dt><dt>affordable power, <a class="indexterm" href="SambaHA.html#id2672191">The Ultimate Goal</a></dt><dt>AFPL, <a class="indexterm" href="CUPS-printing.html#id2635579">Ghostscript: The Software RIP for Non-PostScript Printers</a></dt><dt>AFPL Ghostscript, <a class="indexterm" href="CUPS-printing.html#id2637361">pstoraster</a></dt><dt>AFS, <a class="indexterm" href="SambaHA.html#id2672640">The Distributed File System Challenge</a></dt><dt>AIX, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a>, <a class="indexterm" href="winbind.html#id2655343">NSS Winbind on AIX</a></dt><dt>algorithmic mapping, <a class="indexterm" href="idmapper.html#id2605507">Primary Domain Controller</a></dt><dt>alias group, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>allow access, <a class="indexterm" href="securing-samba.html#id2618336">Using Host-Based Protection</a></dt><dt>allow trusted domains, <a class="indexterm" href="idmapper.html#id2606598">IDMAP_RID with Winbind</a></dt><dt>already exists, <a class="indexterm" href="domain-member.html#id2573719">Cannot Add Machine Back to Domain</a></dt><dt>alternative solution, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>Amanda, <a class="indexterm" href="Backup.html#id2671892">Amanda</a></dt><dt>analyzes data, <a class="indexterm" href="problems.html#id2684879">Diagnostics Tools</a></dt><dt>anonymous, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dd><dl><dt>print server, <a class="indexterm" href="FastStart.html#id2554870">Anonymous Print Server</a></dt><dt>read-write server, <a class="indexterm" href="FastStart.html#id2554659">Anonymous Read-Write Document Server</a></dt></dl></dd><dt>anonymous access, <a class="indexterm" href="NetworkBrowsing.html#id2585107">Problem Resolution</a></dt><dt>anonymous file server, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></dt><dt>anonymous server, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a></dt><dt>ANSI compiler, <a class="indexterm" href="Portability.html#id2689135">HPUX</a></dt><dt>anticipate failure, <a class="indexterm" href="SambaHA.html#id2672036">Features and Benefits</a></dt><dt>API, <a class="indexterm" href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a></dt><dt>Appliances, <a class="indexterm" href="winbind.html#id2653704">Target Uses</a></dt><dt>application servers, <a class="indexterm" href="domain-member.html#id2569122">Features and Benefits</a></dt><dt>application/cups.vnd-postscript, <a class="indexterm" href="CUPS-printing.html#id2642336">Windows CUPS PostScript Driver Versus Adobe Driver</a></dt><dt>application/octet-stream, <a class="indexterm" href="CUPS-printing.html#cups-raw">Explicitly Enable raw Printing for application/octet-stream</a>, <a class="indexterm" href="CUPS-printing.html#id2636640">MIME Type Conversion Rules</a>, <a class="indexterm" href="CUPS-printing.html#id2638698">application/octet-stream Printing</a></dt><dt>application/pdf, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2636640">MIME Type Conversion Rules</a></dt><dt>application/postscript, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2636640">MIME Type Conversion Rules</a>, <a class="indexterm" href="CUPS-printing.html#id2637005">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2637193">pstops</a>, <a class="indexterm" href="CUPS-printing.html#id2642336">Windows CUPS PostScript Driver Versus Adobe Driver</a></dt><dt>application/vnd.cups-postscript, <a class="indexterm" href="CUPS-printing.html#id2637005">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2637193">pstops</a></dt><dt>application/vnd.cups-raster, <a class="indexterm" href="CUPS-printing.html#id2638977">PostScript Printer Descriptions for Non-PostScript Printers</a></dt><dt>application/vnd.cups-raw, <a class="indexterm" href="CUPS-printing.html#cups-raw">Explicitly Enable raw Printing for application/octet-stream</a></dt><dt>application/x-shell, <a class="indexterm" href="CUPS-printing.html#id2636640">MIME Type Conversion Rules</a></dt><dt>apt-get, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>ARCFOUR-HMAC-MD5, <a class="indexterm" href="domain-member.html#ads-test-server">Testing Server Setup</a></dt><dt>architecture, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a></dt><dt>ARP/RARP, <a class="indexterm" href="integrate-ms-networks.html#id2668313">/etc/hosts</a></dt><dt>ASCII, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a>, <a class="indexterm" href="unicode.html#id2669946">What Are Charsets and Unicode?</a>, <a class="indexterm" href="unicode.html#id2670247">Japanese Charsets</a></dt><dt>ASCII text, <a class="indexterm" href="CUPS-printing.html#id2637005">Prefilters</a></dt><dt>assign rights, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a></dt><dt>assigned RID, <a class="indexterm" href="groupmapping.html#id2596307">Discussion</a></dt><dt>assistance, <a class="indexterm" href="ch47.html#id2692514">Free Support</a></dt><dt>associations, <a class="indexterm" href="groupmapping.html">Group Mapping: MS Windows and UNIX</a></dt><dt>attach gdb, <a class="indexterm" href="problems.html#id2684931">Debugging with Samba Itself</a></dt><dt>attribute, <a class="indexterm" href="passdb.html#id2593601">OpenLDAP Configuration</a></dt><dt>attributes, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a></dt><dt>audit file access, <a class="indexterm" href="VFS.html#id2650795">audit</a></dt><dt>audit module, <a class="indexterm" href="VFS.html#id2651054">extd_audit</a></dt><dt>auth, <a class="indexterm" href="pam.html#id2665943">Anatomy of /etc/pam.d Entries</a></dt><dt>authenticate, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></dt><dt>authenticate users, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></dt><dt>authenticated, <a class="indexterm" href="domain-member.html#id2572115">Configure smb.conf</a></dt><dt>authenticating server, <a class="indexterm" href="ProfileMgmt.html#id2663529">MS Windows NT4 Workstation</a></dt><dt>authentication, <a class="indexterm" href="ServerType.html#id2558832">Features and Benefits</a>, <a class="indexterm" href="ServerType.html#id2559653">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a>, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="domain-member.html#id2571833">Why Is This Better Than security = server?</a>, <a class="indexterm" href="passdb.html#id2588044">Important Notes About Security</a>, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#id2592394">Account Import/Export</a>, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a>, <a class="indexterm" href="winbind.html#id2656647">Configure Winbind and PAM</a>, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dd><dl><dt>backend, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a></dt></dl></dd><dt>authentication agents, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></dt><dt>authentication architecture, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></dt><dt>authentication backend, <a class="indexterm" href="NT4Migration.html#id2679535">Domain Layout</a></dt><dt>authentication control, <a class="indexterm" href="winbind.html#id2654592">Introduction</a></dt><dt>authentication database, <a class="indexterm" href="InterdomainTrusts.html#id2619747">Features and Benefits</a></dt><dt>authentication management, <a class="indexterm" href="winbind.html#id2654298">Pluggable Authentication Modules</a></dt><dt>authentication mechanisms, <a class="indexterm" href="winbind.html#id2654592">Introduction</a></dt><dt>authentication methods, <a class="indexterm" href="winbind.html#id2654298">Pluggable Authentication Modules</a></dt><dt>authentication module API, <a class="indexterm" href="winbind.html#id2655343">NSS Winbind on AIX</a></dt><dt>authentication regime, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a></dt><dt>authentication reply, <a class="indexterm" href="domain-member.html#id2571833">Why Is This Better Than security = server?</a></dt><dt>authentication server, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a></dt><dt>authentication service, <a class="indexterm" href="winbind.html#id2656813">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>authentication system, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></dt><dt>authenticatior, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a></dt><dt>authoritative, <a class="indexterm" href="NetworkBrowsing.html#id2585529">Behavior of Cross-Subnet Browsing</a></dt><dt>authoritive, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a></dt><dt>authorization, <a class="indexterm" href="winbind.html#id2654298">Pluggable Authentication Modules</a></dt><dt>auto-reconnect, <a class="indexterm" href="passdb.html#id2588044">Important Notes About Security</a></dt><dt>autogen.sh, <a class="indexterm" href="compiling.html#id2688022">Building the Binaries</a></dt><dt>autogenerated printcap, <a class="indexterm" href="classicalprinting.html#id2625479">Default UNIX System Printing Commands</a></dt><dt>automatic account creation, <a class="indexterm" href="domain-member.html#id2570246">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>automatic mapping, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a></dt><dt>automatic reconnects, <a class="indexterm" href="passdb.html#id2588360">Advantages of Encrypted Passwords</a></dt><dt>automatic redundancy, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>autopoweruser.sh, <a class="indexterm" href="NetCommand.html#id2600629">Managing Nest Groups on Workstations from the Samba Server</a></dt><dt>autotyping, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt><dt>AUXILIARY, <a class="indexterm" href="passdb.html#id2593375">Schema and Relationship to the RFC 2307 posixAccount</a></dt><dt>auxiliary members, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>availability, <a class="indexterm" href="SambaHA.html#id2672036">Features and Benefits</a>, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>available, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>available port, <a class="indexterm" href="classicalprinting.html#id2631890">Samba and Printer Ports</a></dt><dt>available printerd, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>available rights, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a></dt><dt>average print run, <a class="indexterm" href="CUPS-printing.html#id2634850">Advanced Intelligent Printing with PostScript Driver Download</a></dt></dl></div><div class="indexdiv"><h3>B</h3><dl><dt>b-node, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a></dt><dt>back up, <a class="indexterm" href="winbind.html#id2654706">Requirements</a></dt><dt>backed up, <a class="indexterm" href="NT4Migration.html#id2679736">Server Share and Directory Layout</a></dt><dt>backend, <a class="indexterm" href="SambaHA.html#id2672640">The Distributed File System Challenge</a></dt><dt>backend authentication, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>backend database, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2573794">Adding Machine to Domain Fails</a></dt><dt>backend failures, <a class="indexterm" href="SambaHA.html#id2673115">High-Availability Server Products</a></dt><dt>backend file system pool, <a class="indexterm" href="SambaHA.html#id2672767">Restrictive Constraints on Distributed File Systems</a></dt><dt>backends, <a class="indexterm" href="ChangeNotes.html#id2579095">Passdb Changes</a>, <a class="indexterm" href="CUPS-printing.html#id2648535">Printing from CUPS to Windows-Attached Printers</a></dt><dt>backup, <a class="indexterm" href="Backup.html#id2671410">Features and Benefits</a>, <a class="indexterm" href="NT4Migration.html#id2679736">Server Share and Directory Layout</a>, <a class="indexterm" href="tdb.html#id2686919">Features and Benefits</a></dt><dt>backup domain controller, <a class="indexterm" href="NT4Migration.html#id2679535">Domain Layout</a></dt><dt>backup solution, <a class="indexterm" href="Backup.html#id2671454">Discussion of Backup Solutions</a></dt><dt>BackupPC, <a class="indexterm" href="Backup.html#id2671551">BackupPC</a></dt><dt>bad hardware, <a class="indexterm" href="NetworkBrowsing.html#id2586566">Browsing of Shares and Directories is Very Slow</a></dt><dt>bad logon attempts, <a class="indexterm" href="passdb.html#id2591566">Changing User Accounts</a></dt><dt>Bad networking hardware, <a class="indexterm" href="NetworkBrowsing.html#id2586566">Browsing of Shares and Directories is Very Slow</a></dt><dt>bad password, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>banner pages, <a class="indexterm" href="CUPS-printing.html#id2642336">Windows CUPS PostScript Driver Versus Adobe Driver</a>, <a class="indexterm" href="CUPS-printing.html#id2642554">Run cupsaddsmb (Quiet Mode)</a></dt><dt>barriers, <a class="indexterm" href="securing-samba.html#id2618075">Introduction</a></dt><dt>Batch Oplock, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>BDC, <a class="indexterm" href="ServerType.html#id2559653">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="ServerType.html#id2559868">Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2565803">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2566966">LDAP Configuration Notes</a>, <a class="indexterm" href="samba-bdc.html#id2567331">Active Directory Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2568163">Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2568719">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a>, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="domain-member.html#id2571833">Why Is This Better Than security = server?</a>, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2588360">Advantages of Encrypted Passwords</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2592915">tdbsam</a>, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2605507">Primary Domain Controller</a>, <a class="indexterm" href="idmapper.html#id2605741">Backup Domain Controller</a>, <a class="indexterm" href="winbind.html#id2655654">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a>, <a class="indexterm" href="NT4Migration.html#id2679535">Domain Layout</a>, <a class="indexterm" href="NT4Migration.html#id2680070">Steps in Migration Process</a></dt><dt>BDCs, <a class="indexterm" href="NT4Migration.html#id2679535">Domain Layout</a></dt><dt>behavior approximately same, <a class="indexterm" href="upgrading-to-3.0.html#id2676324">Quick Migration Guide</a></dt><dt>between domains, <a class="indexterm" href="InterdomainTrusts.html#id2620532">Configuring Samba NT-Style Domain Trusts</a></dt><dt>bias, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>binary format TDB, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a></dt><dt>BIND, <a class="indexterm" href="DNSDHCP.html#id2693161">Dynamic DNS</a></dt><dt>bind interfaces only, <a class="indexterm" href="cfgsmarts.html#id2673932">Multiple Server Hosting</a></dt><dt>BIND9, <a class="indexterm" href="NetworkBrowsing.html#adsdnstech">DNS and Active Directory</a></dt><dt>BIND9.NET, <a class="indexterm" href="DNSDHCP.html#id2692891">Features and Benefits</a></dt><dt>bindery-enabled, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>block device, <a class="indexterm" href="AccessControls.html#id2611240">File and Directory Access Control</a></dt><dt>block incoming packets, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>BOBS, <a class="indexterm" href="Backup.html#id2671940">BOBS: Browseable Online Backup System</a></dt><dt>bogus, <a class="indexterm" href="ServerType.html#id2560468">Example Configuration</a></dt><dt>boot disk`, <a class="indexterm" href="winbind.html#id2654706">Requirements</a></dt><dt>bridge, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a></dt><dt>bridges networks, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a></dt><dt>brlock.tdb, <a class="indexterm" href="CUPS-printing.html#id2645458">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>broadcast, <a class="indexterm" href="samba-bdc.html#id2567390">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a></dt><dt>broadcast address, <a class="indexterm" href="NetworkBrowsing.html#id2585107">Problem Resolution</a>, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>broadcast isolated subnet, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>broadcast messages, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a></dt><dt>broadcast messaging, <a class="indexterm" href="samba-bdc.html#id2567481">How Does a Workstation find its Domain Controller?</a></dt><dt>Broadcast node, <a class="indexterm" href="NetworkBrowsing.html#id2584236">Static WINS Entries</a></dt><dt>broadcast request, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a></dt><dt>broadcast traffic, <a class="indexterm" href="NetworkBrowsing.html#id2585358">Cross-Subnet Browsing</a></dt><dt>broadcast-based, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a></dt><dt>broadcast-based name resolution, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></dt><dt>broadcasts, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585529">Behavior of Cross-Subnet Browsing</a></dt><dt>browse across subnet, <a class="indexterm" href="NetworkBrowsing.html#id2585358">Cross-Subnet Browsing</a></dt><dt>browse list, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a>, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583591">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585529">Behavior of Cross-Subnet Browsing</a></dt><dt>browse list handling, <a class="indexterm" href="NetworkBrowsing.html">Network Browsing</a></dt><dt>browse list maintainers, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a></dt><dt>browse list management, <a class="indexterm" href="samba-pdc.html#id2564926">Security Mode and Master Browsers</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579723">What Is Browsing?</a></dt><dt>browse lists, <a class="indexterm" href="NetworkBrowsing.html#id2582910">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585358">Cross-Subnet Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585529">Behavior of Cross-Subnet Browsing</a></dt><dt>browse resources, <a class="indexterm" href="NetworkBrowsing.html#id2585107">Problem Resolution</a></dt><dt>browse server resources, <a class="indexterm" href="NetworkBrowsing.html#id2585107">Problem Resolution</a></dt><dt>browse shares, <a class="indexterm" href="securing-samba.html#id2618900">Using IPC$ Share-Based Denials </a></dt><dt>browse.dat, <a class="indexterm" href="NetworkBrowsing.html#id2585107">Problem Resolution</a></dt><dt>browseable, <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a></dt><dt>browser election, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a></dt><dt>browser elections, <a class="indexterm" href="NetworkBrowsing.html#id2582305">Domain Browsing Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>BrowseShortNames, <a class="indexterm" href="CUPS-printing.html#id2650045">Print Queue Called lp Mishandles Print Jobs</a></dt><dt>browsing, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579723">What Is Browsing?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2582910">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584910">Browsing Support in Samba</a></dt><dt>browsing across subnets, <a class="indexterm" href="NetworkBrowsing.html">Network Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585358">Cross-Subnet Browsing</a></dt><dt>browsing another subnet, <a class="indexterm" href="NetworkBrowsing.html#id2584910">Browsing Support in Samba</a></dt><dt>browsing intrinsics, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a></dt><dt>browsing problems, <a class="indexterm" href="NetworkBrowsing.html#id2584479">Windows Networking Protocols</a>, <a class="indexterm" href="NetworkBrowsing.html#id2586371">Common Errors</a>, <a class="indexterm" href="NetworkBrowsing.html#id2586519">I Get an "Unable to browse the network" Error</a></dt><dt>BSD, <a class="indexterm" href="samba-pdc.html#id2565212">$ Cannot Be Included in Machine Name</a>, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="classicalprinting.html#id2622106">Features and Benefits</a></dt><dt>BSD Printing, <a class="indexterm" href="classicalprinting.html#id2622641">Simple Print Configuration</a></dt><dt>BSD-style printing, <a class="indexterm" href="classicalprinting.html#id2623522">Extended Printing Configuration</a></dt><dt>bug report, <a class="indexterm" href="ch47.html#id2692514">Free Support</a></dt><dt>bug reports, <a class="indexterm" href="bugreport.html#id2686050">Introduction</a></dt><dt>Bugzilla, <a class="indexterm" href="bugreport.html#id2686050">Introduction</a></dt><dt>built-in commands, <a class="indexterm" href="classicalprinting.html#id2626023">Custom Print Commands</a></dt><dt>bypasses privilege, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a></dt><dt>byte ranges, <a class="indexterm" href="locking.html#id2615682">Discussion</a></dt><dt>byte-range lock, <a class="indexterm" href="locking.html#id2615682">Discussion</a></dt><dt>byte-range locking, <a class="indexterm" href="locking.html#id2615682">Discussion</a>, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt></dl></div><div class="indexdiv"><h3>C</h3><dl><dt>c:\winnt\inf, <a class="indexterm" href="PolicyMgmt.html#id2659235">Windows NT4-Style Policy Files</a></dt><dt>C:\WinNT\System32\config, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a></dt><dt>cached</dt><dd><dl><dt>password, <a class="indexterm" href="ServerType.html#id2560566">Password Checking</a></dt></dl></dd><dt>cached encrypted password, <a class="indexterm" href="passdb.html#id2588044">Important Notes About Security</a></dt><dt>cached in memory, <a class="indexterm" href="passdb.html#id2588500">Advantages of Non-Encrypted Passwords</a></dt><dt>cached local file, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>cached locally, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a></dt><dt>cached references, <a class="indexterm" href="NetworkBrowsing.html#id2586766">Invalid Cached Share References Affects Network Browsing</a></dt><dt>caching, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>caching reads, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>caching scheme, <a class="indexterm" href="winbind.html#id2654529">Result Caching</a></dt><dt>caching writes, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>called name, <a class="indexterm" href="securing-samba.html#id2618336">Using Host-Based Protection</a></dt><dt>cannot join domain, <a class="indexterm" href="ClientConfig.html#id2578354">Common Errors</a></dt><dt>canonicalize files, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>CAP, <a class="indexterm" href="unicode.html#id2670247">Japanese Charsets</a>, <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a>, <a class="indexterm" href="Other-Clients.html#id2689706">Macintosh Clients</a></dt><dt>cap-share, <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a></dt><dt>capability to delete, <a class="indexterm" href="AccessControls.html#id2611652">Protecting Directories and Files from Deletion</a></dt><dt>CAP_LINUX_IMMUTABLE, <a class="indexterm" href="AccessControls.html#id2611652">Protecting Directories and Files from Deletion</a></dt><dt>case options, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>case sensitivity, <a class="indexterm" href="pam.html#id2665864">PAM Configuration Syntax</a></dt><dt>case-insensitive, <a class="indexterm" href="ServerType.html#id2559298">User Level Security</a>, <a class="indexterm" href="classicalprinting.html#id2622641">Simple Print Configuration</a>, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>case-preserving, <a class="indexterm" href="ServerType.html#id2559298">User Level Security</a></dt><dt>central environment, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a></dt><dt>centralized</dt><dd><dl><dt>authentication, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></dt></dl></dd><dt>centralized identity management, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></dt><dt>centrally managed, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>certificate, <a class="indexterm" href="SWAT.html#id2681902">Securing SWAT through SSL</a></dt><dt>Certificate Authority (see CA)</dt><dt>cfdisk, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>challenge/response mechanis, <a class="indexterm" href="passdb.html#id2588044">Important Notes About Security</a></dt><dt>change capabilities, <a class="indexterm" href="passdb.html#id2589966">The smbpasswd Tool</a></dt><dt>change motivations, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>change password, <a class="indexterm" href="domain-member.html#id2573400">Notes</a></dt><dt>change passwords, <a class="indexterm" href="passdb.html#id2589966">The smbpasswd Tool</a></dt><dt>changed parameters, <a class="indexterm" href="upgrading-to-3.0.html#oldupdatenotes">Upgrading from Samba-2.x to Samba-3.0.25</a></dt><dt>changes password, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a></dt><dt>character device, <a class="indexterm" href="AccessControls.html#id2611240">File and Directory Access Control</a></dt><dt>character set, <a class="indexterm" href="unicode.html#id2669946">What Are Charsets and Unicode?</a></dt><dt>character sets, <a class="indexterm" href="unicode.html#id2670080">Samba and Charsets</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></dt><dt>charset, <a class="indexterm" href="unicode.html#id2669946">What Are Charsets and Unicode?</a></dt><dt>charset conversion, <a class="indexterm" href="unicode.html#id2670215">Conversion from Old Names</a></dt><dt>chattr, <a class="indexterm" href="AccessControls.html#id2611652">Protecting Directories and Files from Deletion</a></dt><dt>check for locks, <a class="indexterm" href="locking.html#id2615682">Discussion</a></dt><dt>check logs, <a class="indexterm" href="domain-member.html#id2573794">Adding Machine to Domain Fails</a></dt><dt>checksum-search, <a class="indexterm" href="Backup.html#id2671723">Rsync</a></dt><dt>chmod, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>chown, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="AccessControls.html#id2613601">Viewing File Ownership</a>, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>chpass, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a></dt><dt>CIFS, <a class="indexterm" href="domain-member.html#id2573472">Sharing User ID Mappings between Samba Domain Members</a></dt><dt>CIFS function calls, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>CIFS/SMB, <a class="indexterm" href="SambaHA.html#id2672036">Features and Benefits</a>, <a class="indexterm" href="SambaHA.html#id2672321">Why Is This So Hard?</a></dt><dt>Citrix, <a class="indexterm" href="AdvancedNetworkManagement.html#id2658207">Remote Management with ThinLinc</a></dt><dt>clear purpose preferred, <a class="indexterm" href="Backup.html#id2671454">Discussion of Backup Solutions</a></dt><dt>clear-text, <a class="indexterm" href="ServerType.html#id2560566">Password Checking</a>, <a class="indexterm" href="passdb.html#id2588044">Important Notes About Security</a>, <a class="indexterm" href="passdb.html#id2594596">Security and sambaSamAccount</a></dt><dt>clear-text passwords, <a class="indexterm" href="passdb.html#id2588044">Important Notes About Security</a></dt><dt>client client instructions, <a class="indexterm" href="ClientConfig.html#id2575509">Features and Benefits</a></dt><dt>Client for Microsoft Networks, <a class="indexterm" href="ClientConfig.html#id2577911">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>Client for Novell Networks, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a></dt><dt>client-server mode, <a class="indexterm" href="passdb.html#id2589966">The smbpasswd Tool</a></dt><dt>client-side caching, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>client-side data caching, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a>, <a class="indexterm" href="locking.html#id2616635">PDM Data Shares</a></dt><dt>clock skew, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a></dt><dt>cluster servers, <a class="indexterm" href="SambaHA.html#id2672440">The Front-End Challenge</a></dt><dt>clustered file server, <a class="indexterm" href="SambaHA.html#id2672191">The Ultimate Goal</a></dt><dt>Clustered smbds, <a class="indexterm" href="SambaHA.html#id2672836">Server Pool Communications</a></dt><dt>clustering technologies, <a class="indexterm" href="SambaHA.html#id2672191">The Ultimate Goal</a></dt><dt>cluttering, <a class="indexterm" href="bugreport.html#id2686375">Debugging-Specific Operations</a></dt><dt>cmd, <a class="indexterm" href="NetworkBrowsing.html#id2586566">Browsing of Shares and Directories is Very Slow</a>, <a class="indexterm" href="rights.html#id2610076">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>cmd shell, <a class="indexterm" href="rights.html#id2610076">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>CN, <a class="indexterm" href="samba-bdc.html#id2566966">LDAP Configuration Notes</a>, <a class="indexterm" href="ch-ldap-tls.html#s1-intro-ldap-tls">Introduction</a></dt><dt>code maintainer, <a class="indexterm" href="ch47.html#id2692514">Free Support</a></dt><dt>codepages, <a class="indexterm" href="unicode.html#id2669894">Features and Benefits</a></dt><dt>collating, <a class="indexterm" href="NetworkBrowsing.html#id2582910">Making Samba the Domain Master</a></dt><dt>collisions, <a class="indexterm" href="speed.html#id2691136">Samba Performance Problem Due to Changing Linux Kernel</a></dt><dt>color, <a class="indexterm" href="CUPS-printing.html#id2635220">UNIX Printfile Conversion and GUI Basics</a></dt><dt>COM1:, <a class="indexterm" href="classicalprinting.html#id2631890">Samba and Printer Ports</a></dt><dt>command-line, <a class="indexterm" href="NetCommand.html">Remote and Local Management: The Net Command</a></dt><dt>command-line utility, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a></dt><dt>commenting out setting, <a class="indexterm" href="classicalprinting.html#id2623122">Rapid Configuration Validation</a></dt><dt>commercial Linux products, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a></dt><dt>commercial support, <a class="indexterm" href="ch47.html">Samba Support</a>, <a class="indexterm" href="ch47.html#id2692732">Commercial Support</a></dt><dt>commit the settings, <a class="indexterm" href="ClientConfig.html#id2576332">MS Windows 2000</a></dt><dt>Common Internet Filesystem (see CIFS)</dt><dt>Common restrictions, <a class="indexterm" href="PolicyMgmt.html#id2659906">Managing Account/User Policies</a></dt><dt>Common UNIX Printing System (see CUPS)</dt><dt>common.adm, <a class="indexterm" href="PolicyMgmt.html#id2659235">Windows NT4-Style Policy Files</a></dt><dt>comp.protocols.smb, <a class="indexterm" href="bugreport.html#id2686050">Introduction</a></dt><dt>compatible, <a class="indexterm" href="passdb.html#id2588044">Important Notes About Security</a>, <a class="indexterm" href="Portability.html">Portability</a></dt><dt>compile, <a class="indexterm" href="install.html#id2551936">Obtaining and Installing Samba</a></dt><dt>compile-time options, <a class="indexterm" href="classicalprinting.html#id2623122">Rapid Configuration Validation</a></dt><dt>complex file name space, <a class="indexterm" href="SambaHA.html#id2673034">A Simple Solution</a></dt><dt>complex organization, <a class="indexterm" href="NT4Migration.html#id2679535">Domain Layout</a></dt><dt>complexity, <a class="indexterm" href="StandAloneServer.html#id2574458">Example Configuration</a></dt><dt>compliance, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a></dt><dt>complicated, <a class="indexterm" href="NetworkBrowsing.html#id2585529">Behavior of Cross-Subnet Browsing</a></dt><dt>complicated problem, <a class="indexterm" href="SambaHA.html#id2672534">Demultiplexing SMB Requests</a></dt><dt>comprehensive documentation, <a class="indexterm" href="cfgsmarts.html#id2673932">Multiple Server Hosting</a></dt><dt>Computer Account, <a class="indexterm" href="domain-member.html#id2570806">Windows NT4 Client</a></dt><dt>computer account, <a class="indexterm" href="domain-member.html#ads-test-server">Testing Server Setup</a></dt><dt>computer accounts, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>Computer Management, <a class="indexterm" href="AccessControls.html#id2612982">Access Controls on Shares</a>, <a class="indexterm" href="AccessControls.html#id2613247">Windows 200x/XP</a></dt><dt>Computer Name, <a class="indexterm" href="ClientConfig.html#id2577384">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>computer name, <a class="indexterm" href="ClientConfig.html#id2577911">Domain Logon Configuration: Windows 9x/Me</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668713">Name Resolution as Used within MS Windows Networking</a></dt><dt>concurrent access, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>Conectiva, <a class="indexterm" href="CUPS-printing.html#id2646752">Forums, Downloads, Tutorials, Howtos (Also for Mac OS X and Commercial UNIX)</a></dt><dt>config.cache, <a class="indexterm" href="domain-member.html#id2573107">Possible Errors</a></dt><dt>CONFIG.POL, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a></dt><dt>Config.POL, <a class="indexterm" href="PolicyMgmt.html#id2658910">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2659098">Windows 9x/ME Policies</a></dt><dt>configuration</dt><dd><dl><dt>documentation, <a class="indexterm" href="install.html#id2553334">Test Your Config File with testparm</a></dt></dl></dd><dt>configuration files, <a class="indexterm" href="SWAT.html#id2681115">Features and Benefits</a></dt><dt>configuration problem, <a class="indexterm" href="bugreport.html#id2686050">Introduction</a></dt><dt>configuration syntax, <a class="indexterm" href="classicalprinting.html#id2622641">Simple Print Configuration</a></dt><dt>configuration techniques, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a></dt><dt>configuration too complex, <a class="indexterm" href="StandAloneServer.html#id2575441">Common Errors</a></dt><dt>configuration tool, <a class="indexterm" href="SWAT.html">SWAT: The Samba Web Administration Tool</a></dt><dt>configuration wizard, <a class="indexterm" href="ClientConfig.html#id2577384">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>configure, <a class="indexterm" href="compiling.html#id2688022">Building the Binaries</a></dt><dt>configuring a firewall, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>confirm address, <a class="indexterm" href="securing-samba.html#id2618550">Using Interface Protection</a></dt><dt>confirm the password, <a class="indexterm" href="InterdomainTrusts.html#id2620873">Samba as the Trusting Domain</a></dt><dt>confirm the trust, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>connect transparently, <a class="indexterm" href="SambaHA.html#id2672191">The Ultimate Goal</a></dt><dt>connection resources, <a class="indexterm" href="domain-member.html#id2571833">Why Is This Better Than security = server?</a></dt><dt>connections, <a class="indexterm" href="install.html#id2553100">Example Configuration</a></dt><dt>connections.tdb, <a class="indexterm" href="CUPS-printing.html#id2645458">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>consistent case, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>console, <a class="indexterm" href="winbind.html#id2656813">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>consumer expects, <a class="indexterm" href="ch47.html">Samba Support</a></dt><dt>container, <a class="indexterm" href="domain-member.html#ads-create-machine-account">Create the Computer Account</a></dt><dt>continuity of service, <a class="indexterm" href="SambaHA.html#id2673115">High-Availability Server Products</a></dt><dt>contribute, <a class="indexterm" href="cfgsmarts.html#id2673932">Multiple Server Hosting</a></dt><dt>Control Panel, <a class="indexterm" href="ClientConfig.html#id2577384">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>convert</dt><dd><dl><dt>domain member server, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a></dt></dl></dd><dt>converted, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a></dt><dt>copy'n'paste, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></dt><dt>core files, <a class="indexterm" href="bugreport.html#id2686577">Internal Errors</a></dt><dt>core graphic engine, <a class="indexterm" href="CUPS-printing.html#id2635042">Windows Drivers, GDI, and EMF</a></dt><dt>core values, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>corrupted file, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a></dt><dt>cosine.schema, <a class="indexterm" href="passdb.html#id2593601">OpenLDAP Configuration</a></dt><dt>country of origin, <a class="indexterm" href="ch47.html#id2692732">Commercial Support</a></dt><dt>CP850, <a class="indexterm" href="unicode.html#id2670080">Samba and Charsets</a></dt><dt>CP932, <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a></dt><dt>cracker, <a class="indexterm" href="securing-samba.html#id2618550">Using Interface Protection</a></dt><dt>create, <a class="indexterm" href="AccessControls.html#id2611116">Managing Directories</a></dt><dt>Create a Computer Account, <a class="indexterm" href="domain-member.html#id2570806">Windows NT4 Client</a></dt><dt>create a domain machine account, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a></dt><dt>create domain member, <a class="indexterm" href="domain-member.html#id2570643">Windows 200x/XP Professional Client</a></dt><dt>create machine trust account, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></dt><dt>create partition, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>Create the Computer Account, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a></dt><dt>create user accounts, <a class="indexterm" href="StandAloneServer.html#id2574257">Background</a></dt><dt>create volume, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>credentials, <a class="indexterm" href="ServerType.html#id2559298">User Level Security</a>, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-bdc.html#id2566966">LDAP Configuration Notes</a>, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a>, <a class="indexterm" href="ClientConfig.html#id2577384">Joining a Domain: Windows 2000/XP Professional</a>, <a class="indexterm" href="NetCommand.html#id2601339">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>credentials validation, <a class="indexterm" href="samba-bdc.html#id2567537">NetBIOS Over TCP/IP Enabled</a></dt><dt>critical aspects of configuration, <a class="indexterm" href="ClientConfig.html#id2575509">Features and Benefits</a></dt><dt>crle, <a class="indexterm" href="winbind.html#id2654945">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>cron, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a></dt><dt>cross post, <a class="indexterm" href="problems.html#id2685744">Getting Mailing List Help</a></dt><dt>cross-segment browsing, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a></dt><dt>cross-subnet browsing, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583862">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585529">Behavior of Cross-Subnet Browsing</a></dt><dt>CUPS, <a class="indexterm" href="classicalprinting.html#id2622106">Features and Benefits</a>, <a class="indexterm" href="classicalprinting.html#id2622330">Technical Introduction</a>, <a class="indexterm" href="classicalprinting.html#id2623522">Extended Printing Configuration</a>, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a>, <a class="indexterm" href="CUPS-printing.html#id2632974">Features and Benefits</a>, <a class="indexterm" href="CUPS-printing.html#id2633034">Overview</a>, <a class="indexterm" href="CUPS-printing.html#id2633153">Basic CUPS Support Configuration</a>, <a class="indexterm" href="CUPS-printing.html#id2635816">Using Windows-Formatted Vendor PPDs</a></dt><dd><dl><dt>Page Accounting, <a class="indexterm" href="CUPS-printing.html#id2647435">Page Accounting with CUPS</a></dt><dt>quotas, <a class="indexterm" href="CUPS-printing.html#id2647471">Setting Up Quotas</a></dt></dl></dd><dt>CUPS API, <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a>, <a class="indexterm" href="classicalprinting.html#id2625479">Default UNIX System Printing Commands</a></dt><dt>CUPS backends, <a class="indexterm" href="CUPS-printing.html#id2637934">CUPS Backends</a></dt><dt>CUPS filtering, <a class="indexterm" href="CUPS-printing.html#id2635936">CUPS Also Uses PPDs for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2635975">The CUPS Filtering Architecture</a></dt><dt>CUPS filtering chain, <a class="indexterm" href="CUPS-printing.html#id2637934">CUPS Backends</a></dt><dt>CUPS libarary API, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>CUPS PostScript, <a class="indexterm" href="CUPS-printing.html#id2642037">Caveats to Be Considered</a></dt><dt>CUPS PostScript driver, <a class="indexterm" href="CUPS-printing.html#id2642336">Windows CUPS PostScript Driver Versus Adobe Driver</a></dt><dt>CUPS print filters, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>CUPS raster, <a class="indexterm" href="CUPS-printing.html#id2635975">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2637361">pstoraster</a></dt><dt>CUPS-PPD, <a class="indexterm" href="CUPS-printing.html#id2646364">cupsomatic, pdqomatic, lpdomatic, directomatic</a></dt><dt>cups.hlp, <a class="indexterm" href="CUPS-printing.html#id2642037">Caveats to Be Considered</a></dt><dt>cupsaddsmb, <a class="indexterm" href="CUPS-printing.html#id2634728">Driver Upload Methods</a>, <a class="indexterm" href="CUPS-printing.html#id2641212">cupsaddsmb: The Unknown Utility</a>, <a class="indexterm" href="CUPS-printing.html#id2642037">Caveats to Be Considered</a>, <a class="indexterm" href="CUPS-printing.html#id2642554">Run cupsaddsmb (Quiet Mode)</a>, <a class="indexterm" href="CUPS-printing.html#id2642694">Run cupsaddsmb with Verbose Output</a>, <a class="indexterm" href="CUPS-printing.html#id2642886">Understanding cupsaddsmb</a>, <a class="indexterm" href="CUPS-printing.html#id2643152">cupsaddsmb with a Samba PDC</a>, <a class="indexterm" href="CUPS-printing.html#id2643233">cupsaddsmb Flowchart</a>, <a class="indexterm" href="CUPS-printing.html#id2643314">Installing the PostScript Driver on a Client</a>, <a class="indexterm" href="CUPS-printing.html#id2644132">Requirements for adddriver and setdriver to Succeed</a></dt><dt>cupsd.conf, <a class="indexterm" href="classicalprinting.html#id2625479">Default UNIX System Printing Commands</a>, <a class="indexterm" href="CUPS-printing.html#id2633153">Basic CUPS Support Configuration</a>, <a class="indexterm" href="CUPS-printing.html#id2638521">mime.convs</a>, <a class="indexterm" href="CUPS-printing.html#id2648188">Autodeletion or Preservation of CUPS Spool Files</a></dt><dt>cupsomatic, <a class="indexterm" href="CUPS-printing.html#id2635816">Using Windows-Formatted Vendor PPDs</a>, <a class="indexterm" href="CUPS-printing.html#id2635975">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2638273">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2639260">cupsomatic/foomatic-rip Versus Native CUPS Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2645965">CUPS Print Drivers from Linuxprinting.org</a>, <a class="indexterm" href="CUPS-printing.html#id2646364">cupsomatic, pdqomatic, lpdomatic, directomatic</a></dt><dt>currupted, <a class="indexterm" href="tdb.html#id2686919">Features and Benefits</a></dt><dt>custom scripts, <a class="indexterm" href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a></dt><dt>customer expected, <a class="indexterm" href="ch47.html">Samba Support</a></dt><dt>customers, <a class="indexterm" href="ch47.html">Samba Support</a></dt><dt>customized print commands, <a class="indexterm" href="classicalprinting.html#id2626023">Custom Print Commands</a></dt></dl></div><div class="indexdiv"><h3>D</h3><dl><dt>daemon, <a class="indexterm" href="install.html#id2552921">Starting Samba</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="winbind.html#id2654706">Requirements</a>, <a class="indexterm" href="compiling.html#id2688751">Alternative: Starting smbd as a Daemon</a></dt><dt>daemon running, <a class="indexterm" href="winbind.html#id2655892">Starting and Testing the winbindd Daemon</a></dt><dt>daemons, <a class="indexterm" href="winbind.html#id2656602">Restarting</a></dt><dt>damaged data, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a></dt><dt>data caching, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>data corruption, <a class="indexterm" href="NetworkBrowsing.html#id2586566">Browsing of Shares and Directories is Very Slow</a>, <a class="indexterm" href="locking.html#id2616511">UNIX or NFS Client-Accessed Files</a></dt><dt>data interchange, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a></dt><dt>data stream, <a class="indexterm" href="classicalprinting.html#id2622330">Technical Introduction</a></dt><dt>database, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2676324">Quick Migration Guide</a></dt><dt>DatabaseFS, <a class="indexterm" href="VFS.html#id2652755">DatabaseFS</a></dt><dt>DAVE, <a class="indexterm" href="Other-Clients.html#id2689706">Macintosh Clients</a></dt><dt>dbx, <a class="indexterm" href="bugreport.html#id2686577">Internal Errors</a></dt><dt>DCE RPC, <a class="indexterm" href="winbind.html#id2655654">Join the Samba Server to the PDC Domain</a></dt><dt>DDK, <a class="indexterm" href="CUPS-printing.html#id2641102">PostScript Drivers with No Major Problems, Even in Kernel3 Mode</a>, <a class="indexterm" href="CUPS-printing.html#id264 1591">CUPS PostScript Driver for Windows NT/200x/XP</a></dt><dt>DDNS, <a class="indexterm" href="NetworkBrowsing.html#id2580799">TCP/IP without NetBIOS</a>, <a class="indexterm" href="NetworkBrowsing.html#adsdnstech">DNS and Active Directory</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668111">Background Information</a></dt><dt>de-multiplex, <a class="indexterm" href="SambaHA.html#id2672440">The Front-End Challenge</a></dt><dt>de-multiplexing, <a class="indexterm" href="SambaHA.html#id2672534">Demultiplexing SMB Requests</a></dt><dt>Debian, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>Debian Sarge, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>debug, <a class="indexterm" href="bugreport.html#id2686577">Internal Errors</a></dt><dt>debug level, <a class="indexterm" href="problems.html#id2684931">Debugging with Samba Itself</a>, <a class="indexterm" href="bugreport.html#dbglvl">Debug Levels</a></dt><dt>debugging, <a class="indexterm" href="problems.html#id2684931">Debugging with Samba Itself</a>, <a class="indexterm" href="bugreport.html#id2686375">Debugging-Specific Operations</a></dt><dt>debugging passwords, <a class="indexterm" href="problems.html#id2684931">Debugging with Samba Itself</a></dt><dt>debugging problems, <a class="indexterm" href="problems.html#id2684931">Debugging with Samba Itself</a></dt><dt>dedicated heartbeat, <a class="indexterm" href="SambaHA.html#id2673115">High-Availability Server Products</a></dt><dt>dedicated print server, <a class="indexterm" href="classicalprinting.html#id2622106">Features and Benefits</a></dt><dt>default accounts, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a></dt><dt>default aliases, <a class="indexterm" href="groupmapping.html#id2597518">Default Users, Groups, and Relative Identifiers</a></dt><dt>default behavior, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a></dt><dt>default devmode, <a class="indexterm" href="classicalprinting.html#prt-modeset">Setting Device Modes on New Printers</a></dt><dt>default DNS setup, <a class="indexterm" href="domain-member.html#id2573400">Notes</a></dt><dt>default gateways, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a></dt><dt>default groups, <a class="indexterm" href="groupmapping.html#id2597518">Default Users, Groups, and Relative Identifiers</a></dt><dt>default mapping, <a class="indexterm" href="ChangeNotes.html#id2579156">Group Mapping Changes in Samba-3.0.23</a></dt><dt>default mappings, <a class="indexterm" href="NetCommand.html#id2599802">Mapping Windows Groups to UNIX Groups</a></dt><dt>default print command, <a class="indexterm" href="classicalprinting.html#id2625479">Default UNIX System Printing Commands</a></dt><dt>default print commands, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>default printer, <a class="indexterm" href="classicalprinting.html#id2626023">Custom Print Commands</a></dt><dt>default printing, <a class="indexterm" href="CUPS-printing.html#id2632974">Features and Benefits</a></dt><dt>default profile, <a class="indexterm" href="ProfileMgmt.html#id2663347">Default Profile for Windows Users</a>, <a class="indexterm" href="ProfileMgmt.html#id2664840">Changing the Default Profile</a></dt><dt>default settings, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a></dt><dt>default shells, <a class="indexterm" href="winbind.html#id2655892">Starting and Testing the winbindd Daemon</a></dt><dt>Default User, <a class="indexterm" href="ProfileMgmt.html#id2664091">MS Windows 200x/XP</a></dt><dt>default users, <a class="indexterm" href="groupmapping.html#id2597518">Default Users, Groups, and Relative Identifiers</a></dt><dt>defective hardware, <a class="indexterm" href="NetworkBrowsing.html#id2586566">Browsing of Shares and Directories is Very Slow</a></dt><dt>deferred open, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>defined shares, <a class="indexterm" href="securing-samba.html#id2619187">Why Can Users Access Other Users' Home Directories?</a></dt><dt>delegate administrative privileges, <a class="indexterm" href="NetCommand.html#id2601339">Administering User Rights and Privileges</a></dt><dt>delegated, <a class="indexterm" href="groupmapping.html#id2597278">Important Administrative Information</a></dt><dt>delegation, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a></dt><dt>delete, <a class="indexterm" href="AccessControls.html#id2611116">Managing Directories</a></dt><dt>delete a file, <a class="indexterm" href="AccessControls.html#id2611652">Protecting Directories and Files from Deletion</a></dt><dt>delete roaming profiles, <a class="indexterm" href="ProfileMgmt.html#id2664091">MS Windows 200x/XP</a></dt><dt>delete user script, <a class="indexterm" href="passdb.html#id2591481">Deleting Accounts</a></dt><dt>deleted files, <a class="indexterm" href="VFS.html#id2651380">recycle</a></dt><dt>deleted parameters, <a class="indexterm" href="upgrading-to-3.0.html#id2676823">Removed Parameters</a></dt><dt>delmem, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>demote, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a></dt><dt>demoted, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a></dt><dt>denial of service, <a class="indexterm" href="securing-samba.html#id2618550">Using Interface Protection</a></dt><dt>deny, <a class="indexterm" href="securing-samba.html#id2618900">Using IPC$ Share-Based Denials </a></dt><dt>deny access, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>deny modes, <a class="indexterm" href="locking.html#id2615682">Discussion</a></dt><dt>deny-none, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>DENY_ALL, <a class="indexterm" href="locking.html#id2615682">Discussion</a></dt><dt>DENY_DOS, <a class="indexterm" href="locking.html#id2615682">Discussion</a></dt><dt>DENY_FCB, <a class="indexterm" href="locking.html#id2615682">Discussion</a></dt><dt>DENY_NONE, <a class="indexterm" href="locking.html#id2615682">Discussion</a></dt><dt>DENY_READ, <a class="indexterm" href="locking.html#id2615682">Discussion</a></dt><dt>DENY_WRITE, <a class="indexterm" href="locking.html#id2615682">Discussion</a></dt><dt>deployment, <a class="indexterm" href="ch47.html#id2692514">Free Support</a></dt><dt>deployment guidelines, <a class="indexterm" href="passdb.html#id2589388">Caution Regarding LDAP and Samba</a></dt><dt>DES-CBC-CRC, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a></dt><dt>DES-CBC-MD5, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#ads-test-server">Testing Server Setup</a></dt><dt>desirable solution, <a class="indexterm" href="rights.html#id2610076">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>desktop cache, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a></dt><dt>desktop profile, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a></dt><dt>desktop profiles, <a class="indexterm" href="domain-member.html#id2569122">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2602302">Managing Security Identifiers (SIDS)</a></dt><dt>deterents, <a class="indexterm" href="securing-samba.html#id2618075">Introduction</a></dt><dt>development libraries, <a class="indexterm" href="winbind.html#id2654706">Requirements</a></dt><dt>devfsd package, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>device mode, <a class="indexterm" href="classicalprinting.html#prt-modeset">Setting Device Modes on New Printers</a></dt><dt>device-specific commands, <a class="indexterm" href="CUPS-printing.html#id2638977">PostScript Printer Descriptions for Non-PostScript Printers</a></dt><dt>DFS, <a class="indexterm" href="msdfs.html#id2621456">Features and Benefits</a> (see MS-DFS, Distributed File Systems)</dt><dt>DFS junction, <a class="indexterm" href="msdfs.html#id2621456">Features and Benefits</a></dt><dt>DFS links, <a class="indexterm" href="msdfs.html#id2621456">Features and Benefits</a></dt><dt>DFS root, <a class="indexterm" href="msdfs.html#id2621456">Features and Benefits</a></dt><dt>DFS server, <a class="indexterm" href="msdfs.html#id2621456">Features and Benefits</a></dt><dt>DFS tree, <a class="indexterm" href="msdfs.html#id2621456">Features and Benefits</a></dt><dt>DFS-aware, <a class="indexterm" href="msdfs.html#id2621456">Features and Benefits</a></dt><dt>DFS-aware clients, <a class="indexterm" href="msdfs.html#id2621456">Features and Benefits</a></dt><dt>DHCP, <a class="indexterm" href="ClientConfig.html#id2575613">TCP/IP Configuration</a>, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2576332">MS Windows 2000</a>, <a class="indexterm" href="ClientConfig.html#id2576878">MS Windows Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585358">Cross-Subnet Browsing</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668111">Background Information</a>, <a class="indexterm" href="DNSDHCP.html#id2692891">Features and Benefits</a></dt><dt>DHCP servers, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a></dt><dt>DHCP-enabled, <a class="indexterm" href="ClientConfig.html#id2576332">MS Windows 2000</a></dt><dt>DHCP-enabled operation, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a></dt><dt>diagnostic, <a class="indexterm" href="idmapper.html#id2607189">IDMAP Storage in LDAP Using Winbind</a></dt><dt>diagnostic tools, <a class="indexterm" href="problems.html#id2684931">Debugging with Samba Itself</a></dt><dt>diff, <a class="indexterm" href="bugreport.html#id2686836">Patches</a></dt><dt>differences, <a class="indexterm" href="Backup.html#id2671723">Rsync</a></dt><dt>different resources, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></dt><dt>differently encrypted passwords, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a></dt><dt>differing protocol, <a class="indexterm" href="upgrading-to-3.0.html#id2676324">Quick Migration Guide</a></dt><dt>dir, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>direct internet access, <a class="indexterm" href="securing-samba.html#id2618075">Introduction</a></dt><dt>directory, <a class="indexterm" href="samba-bdc.html#id2567331">Active Directory Domain Control</a>, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="idmapper.html#id2605741">Backup Domain Controller</a></dt><dt>directory access control, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>directory access permissions, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a></dt><dt>directory controls, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a></dt><dt>Directory Information Tree (see DIT)</dt><dt>directory permissions, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a>, <a class="indexterm" href="AccessControls.html#id2611652">Protecting Directories and Files from Deletion</a></dt><dt>directory schema, <a class="indexterm" href="idmapper.html#id2605507">Primary Domain Controller</a></dt><dt>Directory Separators, <a class="indexterm" href="AccessControls.html#id2610774">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>directory server, <a class="indexterm" href="passdb.html#id2593072">ldapsam</a></dt><dt>directory_mode, <a class="indexterm" href="VFS.html#id2651380">recycle</a></dt><dt>disable LMB, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a></dt><dt>disable locking, <a class="indexterm" href="locking.html#id2615585">Features and Benefits</a></dt><dt>disable roaming profiles, <a class="indexterm" href="ProfileMgmt.html#id2661076">Disabling Roaming Profile Support</a></dt><dt>disabling oplocks, <a class="indexterm" href="locking.html#id2616635">PDM Data Shares</a></dt><dt>disass, <a class="indexterm" href="bugreport.html#id2686577">Internal Errors</a></dt><dt>disaster recovery, <a class="indexterm" href="NT4Migration.html#id2679736">Server Share and Directory Layout</a></dt><dt>disconnect a connection, <a class="indexterm" href="ProfileMgmt.html#id2660701">NT4/200x User Profiles</a></dt><dt>disk, <a class="indexterm" href="passdb.html#id2588360">Advantages of Encrypted Passwords</a></dt><dt>disk space, <a class="indexterm" href="NT4Migration.html#id2679736">Server Share and Directory Layout</a></dt><dt>disparate information systems, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></dt><dt>display PostScript, <a class="indexterm" href="CUPS-printing.html#id2635220">UNIX Printfile Conversion and GUI Basics</a></dt><dt>displayName, <a class="indexterm" href="passdb.html#id2593601">OpenLDAP Configuration</a></dt><dt>distort, <a class="indexterm" href="CUPS-printing.html#id2635220">UNIX Printfile Conversion and GUI Basics</a></dt><dt>distribute authentication systems, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>distributed, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a></dt><dt>distributed account, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a></dt><dt>Distributed Computing Environment (see DCE)</dt><dt>distributed directory, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a></dt><dt>distributed file system, <a class="indexterm" href="SambaHA.html#id2672191">The Ultimate Goal</a> (see DFS)</dt><dt>Distributed File Systems, <a class="indexterm" href="SambaHA.html#id2672640">The Distributed File System Challenge</a></dt><dt>distributed file systems, <a class="indexterm" href="SambaHA.html#id2672640">The Distributed File System Challenge</a></dt><dt>distributed locking protocol, <a class="indexterm" href="SambaHA.html#id2673034">A Simple Solution</a></dt><dt>distribution, <a class="indexterm" href="install.html#id2553100">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></dt><dt>dithering algorithm, <a class="indexterm" href="CUPS-printing.html#id2638273">The Role of cupsomatic/foomatic</a></dt><dt>DMB, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2564926">Security Mode and Master Browsers</a>, <a class="indexterm" href="samba-bdc.html#id2567390">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2582305">Domain Browsing Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2582910">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583591">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584479">Windows Networking Protocols</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585529">Behavior of Cross-Subnet Browsing</a></dt><dt>DMB for a workgroup, <a class="indexterm" href="NetworkBrowsing.html#id2584910">Browsing Support in Samba</a></dt><dt>DMC, <a class="indexterm" href="idmapper.html#id2605813">Examples of IDMAP Backend Usage</a></dt><dt>DMS, <a class="indexterm" href="ServerType.html#id2559653">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a>, <a class="indexterm" href="idmapper.html#id2605813">Examples of IDMAP Backend Usage</a>, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a></dt><dt>DN, <a class="indexterm" href="samba-bdc.html#id2566966">LDAP Configuration Notes</a>, <a class="indexterm" href="ch-ldap-tls.html#s1-intro-ldap-tls">Introduction</a></dt><dt>DNS, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2567481">How Does a Workstation find its Domain Controller?</a>, <a class="indexterm" href="samba-bdc.html#id2567603">NetBIOS Over TCP/IP Disabled</a>, <a class="indexterm" href="domain-member.html#id2572115">Configure smb.conf</a>, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a>, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2576332">MS Windows 2000</a>, <a class="indexterm" href="ClientConfig.html#id2576878">MS Windows Me</a>, <a class="indexterm" href="NetworkBrowsing.html">Network Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579539">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2580799">TCP/IP without NetBIOS</a>, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585358">Cross-Subnet Browsing</a>, <a class="indexterm" href="passdb.html#id2593873">Initialize the LDAP Database</a>, <a class="indexterm" href="winbind.html#id2654066">Name Service Switch</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668111">Background Information</a>, <a class="indexterm" href="integrate-ms-networks.html#id2669438">DNS Lookup</a>, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a>, <a class="indexterm" href="DNSDHCP.html#id2692891">Features and Benefits</a>, <a class="indexterm" href="DNSDHCP.html#id2693070">Example Configuration</a></dt><dd><dl><dt>Active Directory, <a class="indexterm" href="NetworkBrowsing.html#adsdnstech">DNS and Active Directory</a></dt><dt>Dynamic, <a class="indexterm" href="integrate-ms-networks.html#id2668111">Background Information</a>, <a class="indexterm" href="DNSDHCP.html#id2693161">Dynamic DNS</a></dt><dt>SRV records, <a class="indexterm" href="NetworkBrowsing.html#adsdnstech">DNS and Active Directory</a></dt></dl></dd><dt>DNS Configuration, <a class="indexterm" href="NetworkBrowsing.html#id2586566">Browsing of Shares and Directories is Very Slow</a></dt><dt>DNS lookup, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a></dt><dt>DNS name resolution, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></dt><dt>dns proxy, <a class="indexterm" href="diagnosis.html#id2682839">Assumptions</a></dt><dt>DNS server, <a class="indexterm" href="NetworkBrowsing.html#id2585529">Behavior of Cross-Subnet Browsing</a></dt><dt>DNS server access, <a class="indexterm" href="diagnosis.html#id2682839">Assumptions</a></dt><dt>DNS server settings, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2576332">MS Windows 2000</a></dt><dt>DNS servers, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a></dt><dt>DNS zon, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a></dt><dt>DNS/LDAP/ADS, <a class="indexterm" href="NetworkBrowsing.html#id2584823">Technical Overview of Browsing</a></dt><dt>document design, <a class="indexterm" href="NT4Migration.html#id2679736">Server Share and Directory Layout</a></dt><dt>documentation, <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="SWAT.html#id2681115">Features and Benefits</a>, <a class="indexterm" href="problems.html">Analyzing and Solving Samba Problems</a></dt><dt>domain, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="passdb.html#id2591394">Adding User Accounts</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668713">Name Resolution as Used within MS Windows Networking</a></dt><dd><dl><dt>control, <a class="indexterm" href="ServerType.html#id2558991">Server Types</a></dt><dd><dl><dt>role, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a></dt></dl></dd><dt>controller, <a class="indexterm" href="ServerType.html#id2558832">Features and Benefits</a>, <a class="indexterm" href="ServerType.html#id2559653">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-pdc.html">Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a></dt><dd><dl><dt>convert, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a></dt><dt>hierarchy, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a></dt></dl></dd><dt>controllers, <a class="indexterm" href="ServerType.html#id2559653">Domain Security Mode (User-Level Security)</a></dt><dt>groups, <a class="indexterm" href="NetCommand.html#id2599400">UNIX and Windows Group Management</a></dt><dt>master</dt><dd><dl><dt>browser, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a></dt></dl></dd><dt>member, <a class="indexterm" href="ServerType.html#id2558991">Server Types</a>, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a></dt><dd><dl><dt>server, <a class="indexterm" href="samba-bdc.html#id2565803">Features and Benefits</a></dt></dl></dd><dt>member server, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a></dt><dt>security, <a class="indexterm" href="ServerType.html#id2559653">Domain Security Mode (User-Level Security)</a></dt><dd><dl><dt>protocols, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a></dt></dl></dd><dt>trust account, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a></dt></dl></dd><dt>domain access, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a></dt><dt>domain account access policies, <a class="indexterm" href="passdb.html#id2592232">Domain Account Policy Managment</a></dt><dt>domain admin group, <a class="indexterm" href="groupmapping.html">Group Mapping: MS Windows and UNIX</a></dt><dt>domain Administrator, <a class="indexterm" href="rights.html#id2609893">The Administrator Domain SID</a></dt><dt>Domain Admins, <a class="indexterm" href="ChangeNotes.html#id2579156">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="groupmapping.html#id2596307">Discussion</a>, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="groupmapping.html#id2597278">Important Administrative Information</a>, <a class="indexterm" href="NetCommand.html#id2599802">Mapping Windows Groups to UNIX Groups</a>, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a></dt><dt>Domain Admins group, <a class="indexterm" href="groupmapping.html#id2596307">Discussion</a></dt><dt>domain authentication, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a></dt><dt>domain context, <a class="indexterm" href="NT4Migration.html#id2679535">Domain Layout</a></dt><dt>domain control, <a class="indexterm" href="samba-pdc.html#id2562485">Basics of Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2564926">Security Mode and Master Browsers</a>, <a class="indexterm" href="samba-bdc.html#id2568620">Common Errors</a>, <a class="indexterm" href="domain-member.html#id2569122">Features and Benefits</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="NT4Migration.html">Migration from NT4 PDC to Samba-3 PDC</a></dt><dd><dl><dt>backup, <a class="indexterm" href="ServerType.html#id2558991">Server Types</a></dt><dt>primary, <a class="indexterm" href="ServerType.html#id2558991">Server Types</a></dt></dl></dd><dt>domain control database (see SAM)</dt><dt>domain controller, <a class="indexterm" href="samba-pdc.html#id2564926">Security Mode and Master Browsers</a>, <a class="indexterm" href="samba-bdc.html#id2566209">Essential Background Information</a>, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2567331">Active Directory Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2567537">NetBIOS Over TCP/IP Enabled</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a>, <a class="indexterm" href="winbind.html#id2653551">What Winbind Provides</a>, <a class="indexterm" href="winbind.html#id2655654">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="PolicyMgmt.html#id2658910">Creating and Managing System Policies</a>, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a>, <a class="indexterm" href="NT4Migration.html#id2679535">Domain Layout</a>, <a class="indexterm" href="NT4Migration.html#id2680070">Steps in Migration Process</a></dt><dt>Domain Controller, <a class="indexterm" href="CUPS-printing.html#id2642037">Caveats to Be Considered</a></dt><dt>domain controllers, <a class="indexterm" href="samba-pdc.html#id2564263">Samba ADS Domain Control</a>, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="PolicyMgmt.html#id2659457">MS Windows 200x/XP Professional Policies</a>, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></dt><dt>domain environment, <a class="indexterm" href="passdb.html#id2588044">Important Notes About Security</a></dt><dt>domain global, <a class="indexterm" href="rights.html#id2610076">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>domain global group, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a>, <a class="indexterm" href="rights.html#id2610076">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>domain global groups, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>domain global user, <a class="indexterm" href="rights.html#id2610076">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>domain global users, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>domain group, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a></dt><dt>domain group settings, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>domain groups, <a class="indexterm" href="ChangeNotes.html#id2579156">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="groupmapping.html">Group Mapping: MS Windows and UNIX</a>, <a class="indexterm" href="groupmapping.html#id2597518">Default Users, Groups, and Relative Identifiers</a></dt><dt>Domain Groups, <a class="indexterm" href="passdb.html#id2594483">Accounts and Groups Management</a></dt><dt>Domain Guests, <a class="indexterm" href="NetCommand.html#id2599802">Mapping Windows Groups to UNIX Groups</a></dt><dt>domain information, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a></dt><dt>domain join, <a class="indexterm" href="idmapper.html#id2606188">ADS Domains</a>, <a class="indexterm" href="winbind.html#id2655654">Join the Samba Server to the PDC Domain</a></dt><dt>domain joining, <a class="indexterm" href="ClientConfig.html#id2577384">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>domain logon, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2564316">Domain and Network Logon Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2564335">Domain Network Logon Service</a>, <a class="indexterm" href="samba-bdc.html#id2566715">Example PDC Configuration</a>, <a class="indexterm" href="ClientConfig.html#id2577911">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>domain logon server, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a></dt><dt>domain logons, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584910">Browsing Support in Samba</a>, <a class="indexterm" href="passdb.html#id2588044">Important Notes About Security</a></dt><dt>domain management tools, <a class="indexterm" href="domain-member.html#id2570246">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>domain master, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584910">Browsing Support in Samba</a></dt><dt>domain member, <a class="indexterm" href="ServerType.html#id2559653">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a>, <a class="indexterm" href="domain-member.html">Domain Membership</a>, <a class="indexterm" href="domain-member.html#id2569122">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#id2570643">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="domain-member.html#id2573679">Common Errors</a>, <a class="indexterm" href="ClientConfig.html#id2577384">Joining a Domain: Windows 2000/XP Professional</a>, <a class="indexterm" href="passdb.html#id2588044">Important Notes About Security</a>, <a class="indexterm" href="groupmapping.html#id2596307">Discussion</a>, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a>, <a class="indexterm" href="winbind.html#id2653749">Handling of Foreign SIDs</a>, <a class="indexterm" href="NT4Migration.html#id2679535">Domain Layout</a></dt><dt>Domain Member, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a></dt><dd><dl><dt>joining, <a class="indexterm" href="ServerType.html#id2559868">Example Configuration</a></dt></dl></dd><dt>domain member client, <a class="indexterm" href="groupmapping.html#id2597278">Important Administrative Information</a></dt><dt>Domain Member Client (see DMC)</dt><dt>domain member server, <a class="indexterm" href="samba-bdc.html#id2568163">Example Configuration</a>, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a>, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="NetworkBrowsing.html#id2580799">TCP/IP without NetBIOS</a>, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="classicalprinting.html#id2622106">Features and Benefits</a></dt><dt>Domain Member Server (see DMS)</dt><dt>domain member servers, <a class="indexterm" href="samba-bdc.html#id2568163">Example Configuration</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>domain member workstations, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>domain members, <a class="indexterm" href="domain-member.html#id2569122">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2582305">Domain Browsing Configuration</a>, <a class="indexterm" href="winbind.html#id2654592">Introduction</a></dt><dt>domain membership, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a>, <a class="indexterm" href="domain-member.html">Domain Membership</a></dt><dt>domain name, <a class="indexterm" href="ClientConfig.html#id2577911">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>Domain Name System (see DNS)</dt><dt>domain non-member, <a class="indexterm" href="winbind.html#id2653749">Handling of Foreign SIDs</a></dt><dt>domain policies, <a class="indexterm" href="PolicyMgmt.html#id2659235">Windows NT4-Style Policy Files</a></dt><dt>domain radio button, <a class="indexterm" href="ClientConfig.html#id2577384">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>domain security, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="domain-member.html">Domain Membership</a>, <a class="indexterm" href="domain-member.html#id2569122">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a>, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="domain-member.html#id2571833">Why Is This Better Than security = server?</a>, <a class="indexterm" href="ClientConfig.html#id2577384">Joining a Domain: Windows 2000/XP Professional</a>, <a class="indexterm" href="passdb.html#id2588044">Important Notes About Security</a>, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="idmapper.html#id2605507">Primary Domain Controller</a>, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a>, <a class="indexterm" href="winbind.html#id2655654">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="ProfileMgmt.html#id2664091">MS Windows 200x/XP</a></dt><dt>domain security account, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>Domain Server Manager, <a class="indexterm" href="groupmapping.html#id2597396">Applicable Only to Versions Earlier than 3.0.11</a></dt><dt>domain SID, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a>, <a class="indexterm" href="NetCommand.html#id2602302">Managing Security Identifiers (SIDS)</a></dt><dt>domain trust, <a class="indexterm" href="samba-bdc.html#id2565803">Features and Benefits</a>, <a class="indexterm" href="InterdomainTrusts.html#id2620141">Creating an NT4 Domain Trust</a></dt><dt>domain user, <a class="indexterm" href="ClientConfig.html#id2577911">Domain Logon Configuration: Windows 9x/Me</a>, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2653551">What Winbind Provides</a></dt><dt>domain user accounts, <a class="indexterm" href="NetCommand.html#id2599400">UNIX and Windows Group Management</a></dt><dt>domain user manager, <a class="indexterm" href="passdb.html#id2591042">User Account Management</a></dt><dt>Domain User Manager, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="groupmapping.html#id2597396">Applicable Only to Versions Earlier than 3.0.11</a>, <a class="indexterm" href="PolicyMgmt.html#id2659906">Managing Account/User Policies</a></dt><dt>Domain Users, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="NetCommand.html#id2599802">Mapping Windows Groups to UNIX Groups</a></dt><dt>domain users, <a class="indexterm" href="winbind.html#id2654706">Requirements</a>, <a class="indexterm" href="winbind.html#id2656813">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="winbind.html#id2657317">Conclusion</a></dt><dt>Domain Users group, <a class="indexterm" href="groupmapping.html#id2598630">Adding Domain Users to the Workstation Power Users Group</a></dt><dt>domain-level, <a class="indexterm" href="domain-member.html#id2571833">Why Is This Better Than security = server?</a></dt><dt>domain-level security, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></dt><dt>domain-wide browse list, <a class="indexterm" href="NetworkBrowsing.html#id2582910">Making Samba the Domain Master</a></dt><dt>DOMAIN<1B>, <a class="indexterm" href="samba-pdc.html#id2564926">Security Mode and Master Browsers</a></dt><dt>DOMAIN<1C>, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="samba-pdc.html#id2564926">Security Mode and Master Browsers</a></dt><dt>DOMAIN<1D>, <a class="indexterm" href="samba-pdc.html#id2564926">Security Mode and Master Browsers</a></dt><dt>draft, <a class="indexterm" href="CUPS-printing.html#id2638273">The Role of cupsomatic/foomatic</a></dt><dt>Drive Identification, <a class="indexterm" href="AccessControls.html#id2610774">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>driver, <a class="indexterm" href="classicalprinting.html#id2622925">Verifying Configuration with testparm</a></dt><dt>driver CDROM, <a class="indexterm" href="classicalprinting.html#id2628032">Identifying Driver Files</a></dt><dt>driver download, <a class="indexterm" href="classicalprinting.html#id2627200">[print$] Stanza Parameters</a></dt><dt>Driver File, <a class="indexterm" href="classicalprinting.html#id2628032">Identifying Driver Files</a></dt><dt>driver files, <a class="indexterm" href="classicalprinting.html#id2628032">Identifying Driver Files</a></dt><dt>Driver Path, <a class="indexterm" href="classicalprinting.html#id2628032">Identifying Driver Files</a></dt><dt>dual-daemon winbindd, <a class="indexterm" href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></dt><dt>due diligence, <a class="indexterm" href="Backup.html#id2671454">Discussion of Backup Solutions</a></dt><dt>duplex, <a class="indexterm" href="CUPS-printing.html#id2639597">Examples for Filtering Chains</a></dt><dt>duplex printing, <a class="indexterm" href="CUPS-printing.html#id2639597">Examples for Filtering Chains</a></dt><dt>duplicate, <a class="indexterm" href="samba-bdc.html#id2566966">LDAP Configuration Notes</a></dt><dt>duplication of information, <a class="indexterm" href="winbind.html#id2653461">Introduction</a></dt><dt>DVI, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2637005">Prefilters</a></dt><dt>Dynamic DNS (see DDNS)</dt><dt>Dynamic Host Configuration Protocol (see DHCP)</dt><dt>dynamic link loader, <a class="indexterm" href="winbind.html#id2654945">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>dynamic registration files, <a class="indexterm" href="DNSDHCP.html#id2693161">Dynamic DNS</a></dt><dt>Dynamic SMB servers, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>dynamically loadable library modules, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt></dl></div><div class="indexdiv"><h3>E</h3><dl><dt>e-Directory, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a>, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a></dt><dt>EAs, <a class="indexterm" href="AccessControls.html#id2611240">File and Directory Access Control</a></dt><dt>economically wise, <a class="indexterm" href="SambaHA.html#id2672036">Features and Benefits</a></dt><dt>eDirectory, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a></dt><dt>editreg, <a class="indexterm" href="PolicyMgmt.html#id2660146">Samba Editreg Toolset</a></dt><dt>efficient authentication, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>election, <a class="indexterm" href="samba-pdc.html#id2564926">Security Mode and Master Browsers</a>, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#id2582305">Domain Browsing Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>election criteria, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a></dt><dt>election packet, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>election process, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>EMF, <a class="indexterm" href="CUPS-printing.html#id2635042">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2640259">From Windows Clients to an NT Print Server</a>, <a class="indexterm" href="CUPS-printing.html#id2640393">Driver Execution on the Server</a></dt><dt>enables clients to print, <a class="indexterm" href="classicalprinting.html#id2622641">Simple Print Configuration</a></dt><dt>enables NetBIOS over TCP/IP, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a></dt><dt>encapsulating, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a></dt><dt>encoding, <a class="indexterm" href="domain-member.html#ads-test-server">Testing Server Setup</a></dt><dt>encryped password, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a></dt><dt>encrypted, <a class="indexterm" href="ServerType.html#id2558832">Features and Benefits</a>, <a class="indexterm" href="ServerType.html#id2560566">Password Checking</a>, <a class="indexterm" href="passdb.html#id2588044">Important Notes About Security</a></dt><dt>encrypted password, <a class="indexterm" href="passdb.html#id2588360">Advantages of Encrypted Passwords</a></dt><dt>encrypted passwords, <a class="indexterm" href="ServerType.html#id2560566">Password Checking</a>, <a class="indexterm" href="passdb.html#id2587249">Features and Benefits</a>, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a>, <a class="indexterm" href="passdb.html#id2588044">Important Notes About Security</a>, <a class="indexterm" href="passdb.html#id2588360">Advantages of Encrypted Passwords</a>, <a class="indexterm" href="ProfileMgmt.html#id2662777">Profile Migration from Windows NT4/200x Server to Samba</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678169">Passdb Backends and Authentication</a></dt><dt>encrypted session, <a class="indexterm" href="passdb.html#id2594596">Security and sambaSamAccount</a></dt><dt>encryption, <a class="indexterm" href="ServerType.html#id2560291">Server Security (User Level Security)</a></dt><dt>encryption key, <a class="indexterm" href="domain-member.html#id2570643">Windows 200x/XP Professional Client</a></dt><dt>encryption types, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2573400">Notes</a></dt><dt>enforcing, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>English, <a class="indexterm" href="unicode.html#id2670247">Japanese Charsets</a>, <a class="indexterm" href="SWAT.html#id2682054">Enabling SWAT Internationalization Support</a></dt><dt>Enhanced MetaFile (see EMF)</dt><dt>enterprise, <a class="indexterm" href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a></dt><dt>enumdrivers, <a class="indexterm" href="classicalprinting.html#id2628032">Identifying Driver Files</a>, <a class="indexterm" href="CUPS-printing.html#id2643723">A Check of the rpcclient man Page</a></dt><dt>enumerate domain groups, <a class="indexterm" href="winbind.html#id2653925">Microsoft Remote Procedure Calls</a></dt><dt>enumerate domain users, <a class="indexterm" href="winbind.html#id2653925">Microsoft Remote Procedure Calls</a></dt><dt>EnumJobs(), <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>enumprinters, <a class="indexterm" href="CUPS-printing.html#id2643723">A Check of the rpcclient man Page</a></dt><dt>environment variables, <a class="indexterm" href="classicalprinting.html#id2626023">Custom Print Commands</a></dt><dt>EPM (see ESP meta packager)</dt><dt>Epson Stylus, <a class="indexterm" href="CUPS-printing.html#id2639597">Examples for Filtering Chains</a></dt><dt>Epson Stylus inkjet, <a class="indexterm" href="CUPS-printing.html#id2646836">Foomatic Database-Generated PPDs</a></dt><dt>equivalence, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>equivalent rights and privileges, <a class="indexterm" href="rights.html#id2609893">The Administrator Domain SID</a></dt><dt>error message, <a class="indexterm" href="idmapper.html#id2606188">ADS Domains</a>, <a class="indexterm" href="classicalprinting.html#id2628941">Running rpcclient with adddriver</a></dt><dt>error messages, <a class="indexterm" href="diagnosis.html#id2682839">Assumptions</a></dt><dt>errors that can afflict, <a class="indexterm" href="ClientConfig.html#id2578354">Common Errors</a></dt><dt>ESC/P, <a class="indexterm" href="CUPS-printing.html#id2640393">Driver Execution on the Server</a></dt><dt>ESP, <a class="indexterm" href="CUPS-printing.html#id2635579">Ghostscript: The Software RIP for Non-PostScript Printers</a></dt><dd><dl><dt>Ghostscript, <a class="indexterm" href="CUPS-printing.html#id2635975">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2639260">cupsomatic/foomatic-rip Versus Native CUPS Printing</a></dt><dt>meta packager, <a class="indexterm" href="CUPS-printing.html#id2641591">CUPS PostScript Driver for Windows NT/200x/XP</a></dt><dt>Print Pro, <a class="indexterm" href="CUPS-printing.html#id2640025">Sources of CUPS Drivers/PPDs</a>, <a class="indexterm" href="CUPS-printing.html#id2641974">ESP Print Pro PostScript Driver for Windows NT/200x/XP</a></dt></dl></dd><dt>ESP Ghostscript, <a class="indexterm" href="CUPS-printing.html#id2635975">The CUPS Filtering Architecture</a></dt><dt>established, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>ethereal, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a>, <a class="indexterm" href="problems.html#id2685187">Tcpdump</a>, <a class="indexterm" href="problems.html#id2685238">Ethereal</a>, <a class="indexterm" href="problems.html#id2685381">The Windows Network Monitor</a></dt><dt>Ethernet adapters, <a class="indexterm" href="securing-samba.html#id2618550">Using Interface Protection</a></dt><dt>EUC-JP, <a class="indexterm" href="unicode.html#id2670247">Japanese Charsets</a>, <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a></dt><dt>eucJP-ms locale, <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a></dt><dt>Event Viewer, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657660">Remote Server Administration</a></dt><dt>Everyone - Full Control, <a class="indexterm" href="AccessControls.html#id2612982">Access Controls on Shares</a></dt><dt>Everyone group, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>EVMS, <a class="indexterm" href="VFS.html#id2651827">shadow_copy</a></dt><dt>examples, <a class="indexterm" href="install.html#id2553100">Example Configuration</a></dt><dt>examples/LDAP, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a></dt><dt>execute, <a class="indexterm" href="AccessControls.html#id2611240">File and Directory Access Control</a></dt><dt>existing LDAP DIT, <a class="indexterm" href="passdb.html#id2589388">Caution Regarding LDAP and Samba</a></dt><dt>expands control abilities, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a></dt><dt>expired password, <a class="indexterm" href="passdb.html#id2591566">Changing User Accounts</a></dt><dt>explicit trust, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a></dt><dt>explicitly set, <a class="indexterm" href="classicalprinting.html#id2623122">Rapid Configuration Validation</a></dt><dt>exploit opportunities, <a class="indexterm" href="PolicyMgmt.html#id2658804">Features and Benefits</a></dt><dt>exploitation, <a class="indexterm" href="securing-samba.html#id2618550">Using Interface Protection</a></dt><dt>exported file system, <a class="indexterm" href="SambaHA.html#id2673034">A Simple Solution</a></dt><dt>exposed, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>extd_audit module, <a class="indexterm" href="VFS.html#id2651054">extd_audit</a></dt><dt>Extended Attributes, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a></dt><dt>extended attributes, <a class="indexterm" href="AccessControls.html#id2611652">Protecting Directories and Files from Deletion</a></dt><dt>Extended BSD Printing, <a class="indexterm" href="classicalprinting.html#id2623522">Extended Printing Configuration</a></dt><dt>extended characters, <a class="indexterm" href="unicode.html#id2669946">What Are Charsets and Unicode?</a></dt><dt>extended protocol, <a class="indexterm" href="NetworkBrowsing.html#id2584479">Windows Networking Protocols</a></dt><dt>extended SAM, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a></dt><dt>extra machine, <a class="indexterm" href="cfgsmarts.html#id2675343">Multiple Virtual Server Hosting</a></dt></dl></div><div class="indexdiv"><h3>F</h3><dl><dt>fail, <a class="indexterm" href="SambaHA.html#id2672036">Features and Benefits</a></dt><dt>failed join, <a class="indexterm" href="idmapper.html#id2605900">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="idmapper.html#id2606598">IDMAP_RID with Winbind</a></dt><dt>failed logins, <a class="indexterm" href="passdb.html#acctmgmttools">Account Management Tools</a></dt><dt>failover communication, <a class="indexterm" href="SambaHA.html#id2673115">High-Availability Server Products</a></dt><dt>failover process, <a class="indexterm" href="SambaHA.html#id2673115">High-Availability Server Products</a></dt><dt>failover servers, <a class="indexterm" href="SambaHA.html#id2673034">A Simple Solution</a></dt><dt>fails, <a class="indexterm" href="domain-member.html#id2573794">Adding Machine to Domain Fails</a></dt><dt>failure, <a class="indexterm" href="idmapper.html#id2606188">ADS Domains</a></dt><dt>failure semantics, <a class="indexterm" href="SambaHA.html#id2672976">Required Modifications to Samba</a></dt><dt>fake-permissions module, <a class="indexterm" href="ProfileMgmt.html#id2663129">Mandatory Profiles</a></dt><dt>fake_permissions, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a></dt><dt>fake_perms, <a class="indexterm" href="VFS.html#fakeperms">fake_perms</a>, <a class="indexterm" href="ProfileMgmt.html#id2663129">Mandatory Profiles</a></dt><dt>fdisk, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>Federated Identity Management (see FIM)</dt><dt>federated organizations, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></dt><dt>federated-identity, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></dt><dt>Fiber Channel, <a class="indexterm" href="SambaHA.html#id2673115">High-Availability Server Products</a></dt><dt>fickle, <a class="indexterm" href="NetworkBrowsing.html#id2579539">Features and Benefits</a></dt><dt>fid, <a class="indexterm" href="SambaHA.html#id2672534">Demultiplexing SMB Requests</a></dt><dt>file access permissions, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a></dt><dt>File Naming Conventions, <a class="indexterm" href="AccessControls.html#id2610774">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>file ownership, <a class="indexterm" href="domain-member.html#id2569122">Features and Benefits</a></dt><dt>file serving, <a class="indexterm" href="classicalprinting.html#id2622106">Features and Benefits</a></dt><dt>File System, <a class="indexterm" href="AccessControls.html#id2610774">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dd><dl><dt>case sensitivity, <a class="indexterm" href="AccessControls.html#id2610774">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>feature comparison, <a class="indexterm" href="AccessControls.html#id2610774">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>UNIX, <a class="indexterm" href="AccessControls.html#id2610774">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>Windows, <a class="indexterm" href="AccessControls.html#id2610774">MS Windows NTFS Comparison with UNIX File Systems</a></dt></dl></dd><dt>file system capabilities, <a class="indexterm" href="AccessControls.html#id2611652">Protecting Directories and Files from Deletion</a></dt><dt>FILE:, <a class="indexterm" href="classicalprinting.html#id2631890">Samba and Printer Ports</a></dt><dt>filemanager, <a class="indexterm" href="NetworkBrowsing.html#id2585107">Problem Resolution</a></dt><dt>filename mangling, <a class="indexterm" href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></dt><dt>filter, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt><dt>Filter Oplock, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>FilterLimit, <a class="indexterm" href="CUPS-printing.html#id2638521">mime.convs</a></dt><dt>filters, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt><dt>FIM, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a>, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a></dt><dt>firewall, <a class="indexterm" href="securing-samba.html#id2618075">Introduction</a>, <a class="indexterm" href="securing-samba.html#id2618550">Using Interface Protection</a>, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>firewall active, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>firewall setups, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>fixed IP address, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2576332">MS Windows 2000</a></dt><dt>fixed IP addresses, <a class="indexterm" href="ClientConfig.html#id2575613">TCP/IP Configuration</a></dt><dt>flush local locks, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>flush name cache, <a class="indexterm" href="NetworkBrowsing.html#id2586398">Flushing the Samba NetBIOS Name Cache</a></dt><dt>foomatic, <a class="indexterm" href="CUPS-printing.html#id2635816">Using Windows-Formatted Vendor PPDs</a>, <a class="indexterm" href="CUPS-printing.html#id2635975">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2638273">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2639260">cupsomatic/foomatic-rip Versus Native CUPS Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2646141">foomatic-rip and Foomatic Explained</a>, <a class="indexterm" href="CUPS-printing.html#id2646289">Foomatic's Strange Name</a></dt><dt>Foomatic database, <a class="indexterm" href="CUPS-printing.html#id2646836">Foomatic Database-Generated PPDs</a></dt><dt>Foomatic Printer, <a class="indexterm" href="CUPS-printing.html#id2638273">The Role of cupsomatic/foomatic</a></dt><dt>Foomatic tutorial, <a class="indexterm" href="CUPS-printing.html#id2646520">The Grand Unification Achieved</a></dt><dt>foomatic-rip, <a class="indexterm" href="CUPS-printing.html#id2635975">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2638273">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2639260">cupsomatic/foomatic-rip Versus Native CUPS Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2645965">CUPS Print Drivers from Linuxprinting.org</a>, <a class="indexterm" href="CUPS-printing.html#id2646141">foomatic-rip and Foomatic Explained</a>, <a class="indexterm" href="CUPS-printing.html#id2646520">The Grand Unification Achieved</a></dt><dt>Foomatic/cupsomatic, <a class="indexterm" href="CUPS-printing.html#id2639260">cupsomatic/foomatic-rip Versus Native CUPS Printing</a></dt><dt>force an election, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>force election, <a class="indexterm" href="NetworkBrowsing.html#id2582910">Making Samba the Domain Master</a></dt><dt>forced synchronization, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a></dt><dt>foreign domain, <a class="indexterm" href="passdb.html#id2588564">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>foreign SID, <a class="indexterm" href="winbind.html#id2653749">Handling of Foreign SIDs</a></dt><dt>foreign user, <a class="indexterm" href="winbind.html#id2653749">Handling of Foreign SIDs</a></dt><dt>FQDN, <a class="indexterm" href="ch-ldap-tls.html#s1-intro-ldap-tls">Introduction</a></dt><dt>framing error, <a class="indexterm" href="speed.html#id2691136">Samba Performance Problem Due to Changing Linux Kernel</a></dt><dt>free support, <a class="indexterm" href="ch47.html">Samba Support</a>, <a class="indexterm" href="ch47.html#id2692514">Free Support</a></dt><dt>FreeBSD, <a class="indexterm" href="samba-pdc.html#id2565212">$ Cannot Be Included in Machine Name</a>, <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a></dt><dt>freezing, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>French, <a class="indexterm" href="SWAT.html#id2682054">Enabling SWAT Internationalization Support</a></dt><dt>front-end virtual server, <a class="indexterm" href="SambaHA.html#id2672440">The Front-End Challenge</a>, <a class="indexterm" href="SambaHA.html#id2672534">Demultiplexing SMB Requests</a></dt><dt>frustrating experience, <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a></dt><dt>FTP, <a class="indexterm" href="passdb.html#id2588500">Advantages of Non-Encrypted Passwords</a></dt><dt>ftp, <a class="indexterm" href="Backup.html#id2671723">Rsync</a>, <a class="indexterm" href="compiling.html#id2687810">Accessing the Samba Sources via rsync and ftp</a></dt><dt>ftp access, <a class="indexterm" href="winbind.html#id2656813">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>ftp service, <a class="indexterm" href="winbind.html#id2656813">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>ftp services, <a class="indexterm" href="winbind.html#id2656813">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>ftpd, <a class="indexterm" href="pam.html#id2665943">Anatomy of /etc/pam.d Entries</a></dt><dt>full rights, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>functional components, <a class="indexterm" href="bugreport.html#id2686375">Debugging-Specific Operations</a></dt><dt>functionality, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt></dl></div><div class="indexdiv"><h3>G</h3><dl><dt>gateway address, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a></dt><dt>gcc, <a class="indexterm" href="problems.html#id2684931">Debugging with Samba Itself</a>, <a class="indexterm" href="Portability.html#id2689135">HPUX</a></dt><dt>gdb, <a class="indexterm" href="problems.html#id2684931">Debugging with Samba Itself</a>, <a class="indexterm" href="bugreport.html#id2686577">Internal Errors</a>, <a class="indexterm" href="bugreport.html#id2686710">Attaching to a Running Process</a></dt><dt>GDI, <a class="indexterm" href="CUPS-printing.html#gdipost">GDI on Windows, PostScript on UNIX</a>, <a class="indexterm" href="CUPS-printing.html#id2635042">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2640259">From Windows Clients to an NT Print Server</a>, <a class="indexterm" href="CUPS-printing.html#id2640393">Driver Execution on the Server</a></dt><dt>general security service application programming interface (see GSSAPI)</dt><dt>generic PostScript, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt><dt>generic raster, <a class="indexterm" href="CUPS-printing.html#id2637361">pstoraster</a></dt><dt>generic raster format, <a class="indexterm" href="CUPS-printing.html#id2635975">The CUPS Filtering Architecture</a></dt><dt>genlogon.pl, <a class="indexterm" href="AdvancedNetworkManagement.html#id2658393">Network Logon Script Magic</a></dt><dt>Gentoo, <a class="indexterm" href="speed.html#id2691136">Samba Performance Problem Due to Changing Linux Kernel</a></dt><dt>Germany, <a class="indexterm" href="SambaHA.html#id2672157">Technical Discussion</a></dt><dt>get, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>getdriver, <a class="indexterm" href="classicalprinting.html#id2628032">Identifying Driver Files</a>, <a class="indexterm" href="classicalprinting.html#id2628585">Installing Driver Files into [print$]</a></dt><dt>getdriverdir, <a class="indexterm" href="CUPS-printing.html#id2643723">A Check of the rpcclient man Page</a></dt><dt>getent, <a class="indexterm" href="NetCommand.html#id2599600">Adding or Creating a New Group</a>, <a class="indexterm" href="idmapper.html#id2606598">IDMAP_RID with Winbind</a>, <a class="indexterm" href="winbind.html#id2655892">Starting and Testing the winbindd Daemon</a></dt><dt>getent group demo, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>gethostbyname() function call, <a class="indexterm" href="NetworkBrowsing.html#id2584620">Name Resolution Order</a></dt><dt>getpwnam, <a class="indexterm" href="passdb.html#id2593375">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a></dt><dt>getpwnam() call, <a class="indexterm" href="upgrading-to-3.0.html#id2678073">Changes in Behavior</a></dt><dt>GetSID.exe, <a class="indexterm" href="ProfileMgmt.html#id2663064">Get SID</a></dt><dt>GhostScript, <a class="indexterm" href="CUPS-printing.html#post-and-ghost">PostScript and Ghostscript</a>, <a class="indexterm" href="CUPS-printing.html#id2635579">Ghostscript: The Software RIP for Non-PostScript Printers</a></dt><dd><dl><dt>(see also PostScript)</dt></dl></dd><dt>Ghostscript, <a class="indexterm" href="CUPS-printing.html#id2635975">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2638977">PostScript Printer Descriptions for Non-PostScript Printers</a></dt><dd><dl><dt>ESP (see ESP4 GhostScript)</dt></dl></dd><dt>GID, <a class="indexterm" href="samba-bdc.html#id25 68163">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2571833">Why Is This Better Than security = server?</a>, <a class="indexterm" href="domain-member.html#id2573472">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="ChangeNotes.html#id2578662">User and Group Changes</a>, <a class="indexterm" href="ChangeNotes.html#id2579095">Passdb Changes</a>, <a class="indexterm" href="ChangeNotes.html#id2579156">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="groupmapping.html#id2595891">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a>, <a class="indexterm" href="NetCommand.html#id2599802">Mapping Windows Groups to UNIX Groups</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2605507">Primary Domain Controller</a>, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2653749">Handling of Foreign SIDs</a>, <a class="indexterm" href="winbind.html#id2655892">Starting and Testing the winbindd Daemon</a></dt><dt>GID numbers, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a></dt><dt>GID range, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a></dt><dt>GIF, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt><dt>global print command, <a class="indexterm" href="classicalprinting.html#id2626023">Custom Print Commands</a></dt><dt>global right, <a class="indexterm" href="rights.html#id2609072">Description of Privileges</a></dt><dt>global section, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>Global support, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>global-level, <a class="indexterm" href="classicalprinting.html#id2622540">Printing-Related Configuration Parameters</a></dt><dt>GNOME, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></dt><dt>GNU Ghostscript, <a class="indexterm" href="CUPS-printing.html#id2635975">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2637361">pstoraster</a></dt><dt>GNU GPL, <a class="indexterm" href="Backup.html#id2671551">BackupPC</a></dt><dt>GNU tar, <a class="indexterm" href="Backup.html#id2671892">Amanda</a></dt><dt>GNU/Linux, <a class="indexterm" href="VFS.html#id2650394">Discussion</a></dt><dt>GPG, <a class="indexterm" href="compiling.html#id2687884">Verifying Samba's PGP Signature</a></dt><dt>GPL, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></dt><dt>gpolmig.exe, <a class="indexterm" href="PolicyMgmt.html#id2659660">Administration of Windows 200x/XP Policies</a></dt><dt>GPOs, <a class="indexterm" href="PolicyMgmt.html#id2658804">Features and Benefits</a>, <a class="indexterm" href="PolicyMgmt.html#id2659457">MS Windows 200x/XP Professional Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2659660">Administration of Windows 200x/XP Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2659906">Managing Account/User Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2660333">System Startup and Logon Processing Overview</a>, <a class="indexterm" href="ProfileMgmt.html#id2664091">MS Windows 200x/XP</a></dt><dt>grace time, <a class="indexterm" href="passdb.html#id2591566">Changing User Accounts</a></dt><dt>grant rights, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a></dt><dt>graphical objects, <a class="indexterm" href="CUPS-printing.html#id2635220">UNIX Printfile Conversion and GUI Basics</a></dt><dt>graphically illustrated client configuration, <a class="indexterm" href="ClientConfig.html#id2575509">Features and Benefits</a></dt><dt>grayscale, <a class="indexterm" href="CUPS-printing.html#id2638273">The Role of cupsomatic/foomatic</a></dt><dt>greater scalability, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a></dt><dt>greatest mistake, <a class="indexterm" href="StandAloneServer.html#id2575441">Common Errors</a></dt><dt>grep, <a class="indexterm" href="winbind.html#id2654945">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>group, <a class="indexterm" href="samba-bdc.html#id2568163">Example Configuration</a>, <a class="indexterm" href="ChangeNotes.html#id2578662">User and Group Changes</a>, <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="AccessControls.html#id2611240">File and Directory Access Control</a></dt><dd><dl><dt>account, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a></dt><dt>mapping, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a></dt></dl></dd><dt>group account, <a class="indexterm" href="groupmapping.html#id2597278">Important Administrative Information</a>, <a class="indexterm" href="idmapper.html#id2605741">Backup Domain Controller</a></dt><dt>group accounts, <a class="indexterm" href="ClientConfig.html#id2577911">Domain Logon Configuration: Windows 9x/Me</a>, <a class="indexterm" href="passdb.html#id2589388">Caution Regarding LDAP and Samba</a>, <a class="indexterm" href="groupmapping.html#id2595891">Features and Benefits</a>, <a class="indexterm" href="groupmapping.html#id2596644">Warning: User Private Group Problems</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a></dt><dt>group management, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a>, <a class="indexterm" href="NetCommand.html#id2599400">UNIX and Windows Group Management</a></dt><dt>group mapping, <a class="indexterm" href="ChangeNotes.html#id2578662">User and Group Changes</a>, <a class="indexterm" href="groupmapping.html">Group Mapping: MS Windows and UNIX</a></dt><dt>group mappings, <a class="indexterm" href="ChangeNotes.html#id2579156">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="groupmapping.html#id2595891">Features and Benefits</a></dt><dt>group membership, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>group ownership, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a></dt><dt>group permissions, <a class="indexterm" href="ChangeNotes.html#id2578662">User and Group Changes</a>, <a class="indexterm" href="NT4Migration.html#id2679736">Server Share and Directory Layout</a></dt><dt>Group Policies, <a class="indexterm" href="PolicyMgmt.html#id2658804">Features and Benefits</a></dt><dt>group policies, <a class="indexterm" href="PolicyMgmt.html#id2658804">Features and Benefits</a></dt><dt>group policy, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a></dt><dt>Group Policy, <a class="indexterm" href="PolicyMgmt.html#id2659098">Windows 9x/ME Policies</a></dt><dt>Group Policy Container (see GPC)</dt><dt>Group Policy Editor, <a class="indexterm" href="PolicyMgmt.html#id2659098">Windows 9x/ME Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2660228">Windows NT4/200x</a>, <a class="indexterm" href="NT4Migration.html#id2680625">Samba-3 Implementation Choices</a></dt><dt>Group Policy Objects, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a> (see GPO)</dt><dt>group policy objects (see GPOs)</dt><dt>Group Policy Template (see GPT)</dt><dt>group privileges, <a class="indexterm" href="groupmapping.html#id2596307">Discussion</a></dt><dt>group profiles, <a class="indexterm" href="ProfileMgmt.html#id2663269">Creating and Managing Group Profiles</a></dt><dt>group SID, <a class="indexterm" href="NetCommand.html#id2602302">Managing Security Identifiers (SIDS)</a></dt><dt>groupadd, <a class="indexterm" href="groupmapping.html#id2595891">Features and Benefits</a>, <a class="indexterm" href="groupmapping.html#id2598231">Sample smb.conf Add Group Script</a>, <a class="indexterm" href="groupmapping.html#id2598543">Adding Groups Fails</a></dt><dt>groupadd limitations, <a class="indexterm" href="groupmapping.html#id2598231">Sample smb.conf Add Group Script</a></dt><dt>groupdel, <a class="indexterm" href="groupmapping.html#id2595891">Features and Benefits</a></dt><dt>groupmap, <a class="indexterm" href="groupmapping.html">Group Mapping: MS Windows and UNIX</a></dt><dt>groupmod, <a class="indexterm" href="groupmapping.html#id2595891">Features and Benefits</a></dt><dt>grouppol.inf, <a class="indexterm" href="PolicyMgmt.html#id2659098">Windows 9x/ME Policies</a></dt><dt>groups, <a class="indexterm" href="NetCommand.html#id2599400">UNIX and Windows Group Management</a>, <a class="indexterm" href="PolicyMgmt.html#id2658804">Features and Benefits</a></dt><dd><dl><dt>domain, <a class="indexterm" href="groupmapping.html#id2596307">Discussion</a></dt><dt>mapping, <a class="indexterm" href="groupmapping.html">Group Mapping: MS Windows and UNIX</a></dt><dt>nested, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt></dl></dd><dt>groups of users, <a class="indexterm" href="NetCommand.html#id2601339">Administering User Rights and Privileges</a></dt><dt>growing, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>GSSAPI, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></dt><dt>gtklp, <a class="indexterm" href="CUPS-printing.html#id2646836">Foomatic Database-Generated PPDs</a></dt><dt>guest, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a>, <a class="indexterm" href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a></dt><dt>guest account, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585107">Problem Resolution</a>, <a class="indexterm" href="classicalprinting.html#id2626023">Custom Print Commands</a>, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>GUI, <a class="indexterm" href="CUPS-printing.html#id2633034">Overview</a></dt><dt>Gutenprint, <a class="indexterm" href="CUPS-printing.html#id2637715">rasterto [printers specific]</a>, <a class="indexterm" href="CUPS-printing.html#id2646648">Driver Development Outside</a></dt></dl></div><div class="indexdiv"><h3>H</h3><dl><dt>h-node, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a></dt><dt>harvesting password hashes, <a class="indexterm" href="passdb.html#id2594596">Security and sambaSamAccount</a></dt><dt>hashed password equivalent, <a class="indexterm" href="passdb.html#id2588044">Important Notes About Security</a></dt><dt>headers files, <a class="indexterm" href="domain-member.html#id2573107">Possible Errors</a></dt><dt>Heimdal, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a>, <a class="indexterm" href="idmapper.html#id2606188">ADS Domains</a>, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>Heimdal kerberos, <a class="indexterm" href="idmapper.html#id2606188">ADS Domains</a>, <a class="indexterm" href="idmapper.html#id2607189">IDMAP Storage in LDAP Using Winbind</a></dt><dt>help, <a class="indexterm" href="ch47.html#id2692514">Free Support</a></dt><dt>help command, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>heterogeneous computing, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a></dt><dt>HEX, <a class="indexterm" href="unicode.html#id2670247">Japanese Charsets</a></dt><dt>hi-res photo, <a class="indexterm" href="CUPS-printing.html#id2638273">The Role of cupsomatic/foomatic</a></dt><dt>high availability, <a class="indexterm" href="SambaHA.html#id2672036">Features and Benefits</a></dt><dt>high order ports, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>high-availability, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>high-availability services, <a class="indexterm" href="SambaHA.html#id2673115">High-Availability Server Products</a></dt><dt>high-speed server interconnect, <a class="indexterm" href="SambaHA.html#id2673034">A Simple Solution</a></dt><dt>higher availability, <a class="indexterm" href="msdfs.html#id2621456">Features and Benefits</a></dt><dt>HKEY_CURRENT_USER, <a class="indexterm" href="ProfileMgmt.html#id2663529">MS Windows NT4 Workstation</a></dt><dt>HKEY_LOCAL_MACHINE, <a class="indexterm" href="PolicyMgmt.html#id2659418">Registry Spoiling</a></dt><dt>holy grail, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a></dt><dt>home directories, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a>, <a class="indexterm" href="winbind.html#id2655892">Starting and Testing the winbindd Daemon</a></dt><dt>home directory, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a></dt><dt>home directory template, <a class="indexterm" href="winbind.html#id2656813">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>home drive, <a class="indexterm" href="samba-bdc.html#id2566715">Example PDC Configuration</a></dt><dt>host multiple servers, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></dt><dt>host security, <a class="indexterm" href="securing-samba.html#id2618174">Features and Benefits</a></dt><dt>host-based protection, <a class="indexterm" href="securing-samba.html#id2618174">Features and Benefits</a></dt><dt>hostname, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a></dt><dt>hosts allow, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>hosts deny, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>house-keeping, <a class="indexterm" href="rights.html#id2609072">Description of Privileges</a></dt><dt>HOWTO documents, <a class="indexterm" href="passdb.html#id2589388">Caution Regarding LDAP and Samba</a></dt><dt>HP JetDirect, <a class="indexterm" href="CUPS-printing.html#id2639597">Examples for Filtering Chains</a></dt><dt>HP Photosmart, <a class="indexterm" href="CUPS-printing.html#id2646836">Foomatic Database-Generated PPDs</a></dt><dt>HP-GL, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt><dt>HP-GL., <a class="indexterm" href="CUPS-printing.html#id2637005">Prefilters</a></dt><dt>hpgltops, <a class="indexterm" href="CUPS-printing.html#id2636640">MIME Type Conversion Rules</a></dt><dt>HPIJS, <a class="indexterm" href="CUPS-printing.html#id2646648">Driver Development Outside</a></dt><dt>HPUX, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>http, <a class="indexterm" href="Backup.html#id2671723">Rsync</a></dt><dt>hybrid, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a></dt><dt>Hybrid node, <a class="indexterm" href="NetworkBrowsing.html#id2584236">Static WINS Entries</a></dt></dl></div><div class="indexdiv"><h3>I</h3><dl><dt>IANA, <a class="indexterm" href="CUPS-printing.html#id2637361">pstoraster</a></dt><dt>ID mapping, <a class="indexterm" href="samba-bdc.html#id2568163">Example Configuration</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></dt><dt>ID mapping database, <a class="indexterm" href="winbind.html#id2654453">User and Group ID Allocation</a></dt><dt>ID range, <a class="indexterm" href="groupmapping.html#id2595891">Features and Benefits</a></dt><dt>IDEALX, <a class="indexterm" href="passdb.html#id2593072">ldapsam</a></dt><dt>Identification, <a class="indexterm" href="ClientConfig.html#id2577911">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>identify, <a class="indexterm" href="idmapper.html#id2606188">ADS Domains</a></dt><dt>identity, <a class="indexterm" href="idmapper.html#id2604493">Standalone Samba Server</a></dt><dt>identity information, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></dt><dt>identity management, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a>, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a></dt><dd><dl><dt>centralized, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></dt></dl></dd><dt>identity resolution, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a></dt><dt>IDMAP, <a class="indexterm" href="ChangeNotes.html#id2579156">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="groupmapping.html#id2595891">Features and Benefits</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2604493">Standalone Samba Server</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2606598">IDMAP_RID with Winbind</a></dt><dt>idmap, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a></dt><dt>idmap backend, <a class="indexterm" href="samba-bdc.html#id2568163">Example Configuration</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678922">IdMap LDAP Support</a></dt><dt>IDMAP backend, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a></dt><dt>idmap gid, <a class="indexterm" href="passdb.html#id2588564">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2606598">IDMAP_RID with Winbind</a>, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a></dt><dt>idmap GID, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a></dt><dt>IDMAP infrastructure, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a></dt><dt>idmap uid, <a class="indexterm" href="passdb.html#id2588564">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="groupmapping.html#id2595891">Features and Benefits</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2606598">IDMAP_RID with Winbind</a>, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a></dt><dt>idmap UID, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a></dt><dt>idmap_ad, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a></dt><dt>idmap_ldap module, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a></dt><dt>idmap_rid, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2606598">IDMAP_RID with Winbind</a></dt><dt>IETF, <a class="indexterm" href="CUPS-printing.html#id2633034">Overview</a></dt><dt>ifconfig, <a class="indexterm" href="compiling.html#id2688531">Starting from inetd.conf</a>, <a class="indexterm" href="speed.html#id2691136">Samba Performance Problem Due to Changing Linux Kernel</a></dt><dt>ignore connection, <a class="indexterm" href="securing-samba.html#id2618550">Using Interface Protection</a></dt><dt>imagetoraster, <a class="indexterm" href="CUPS-printing.html#id2637630">imagetops and imagetoraster</a></dt><dt>immutible, <a class="indexterm" href="AccessControls.html#id2611652">Protecting Directories and Files from Deletion</a></dt><dt>impersonate, <a class="indexterm" href="passdb.html#id2594596">Security and sambaSamAccount</a></dt><dt>implementing oplocks, <a class="indexterm" href="locking.html#id2616792">Advanced Samba Oplocks Parameters</a></dt><dt>Implicit Classes, <a class="indexterm" href="CUPS-printing.html#id2650045">Print Queue Called lp Mishandles Print Jobs</a></dt><dt>important announcements, <a class="indexterm" href="securing-samba.html#id2619099">Upgrading Samba</a></dt><dt>Imprints, <a class="indexterm" href="classicalprinting.html#id2632036">The Imprints Toolset</a></dt><dt>imprints, <a class="indexterm" href="CUPS-printing.html#id2634728">Driver Upload Methods</a></dt><dt>include, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a></dt><dt>independent, <a class="indexterm" href="StandAloneServer.html#id2574257">Background</a>, <a class="indexterm" href="cfgsmarts.html#id2673932">Multiple Server Hosting</a></dt><dt>individual domain user, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>individual section, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>inetd, <a class="indexterm" href="SWAT.html#id2681264">Validate SWAT Installation</a>, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a>, <a class="indexterm" href="compiling.html#startingSamba">Starting the smbd nmbd and winbindd</a>, <a class="indexterm" href="compiling.html#id2688531">Starting from inetd.conf</a></dt><dt>inetd.conf, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>inetorgperson.schema, <a class="indexterm" href="passdb.html#id2593601">OpenLDAP Configuration</a></dt><dt>inf file, <a class="indexterm" href="classicalprinting.html#id2628032">Identifying Driver Files</a></dt><dt>infrastructure, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a>, <a class="indexterm" href="winbind.html#id2653704">Target Uses</a></dt><dt>inheritance, <a class="indexterm" href="AccessControls.html#id2611652">Protecting Directories and Files from Deletion</a></dt><dt>inherits rights, <a class="indexterm" href="groupmapping.html#id2596307">Discussion</a></dt><dt>initdb.ldif, <a class="indexterm" href="FastStart.html#id2557721">The Primary Domain Controller</a></dt><dt>initGroups.sh, <a class="indexterm" href="FastStart.html#id2556907">Example: Engineering Office</a>, <a class="indexterm" href="groupmapping.html#id2598403">Script to Configure Group Mapping</a>, <a class="indexterm" href="NT4Migration.html#id2680070">Steps in Migration Process</a></dt><dt>inktype, <a class="indexterm" href="CUPS-printing.html#id2638273">The Role of cupsomatic/foomatic</a></dt><dt>insecure, <a class="indexterm" href="StandAloneServer.html#id2574163">Features and Benefits</a>, <a class="indexterm" href="securing-samba.html#id2618336">Using Host-Based Protection</a></dt><dt>inspire simplicity, <a class="indexterm" href="StandAloneServer.html#id2574458">Example Configuration</a></dt><dt>inspired structure, <a class="indexterm" href="SambaHA.html#id2672157">Technical Discussion</a></dt><dt>install drivers, <a class="indexterm" href="classicalprinting.html#id2622106">Features and Benefits</a>, <a class="indexterm" href="classicalprinting.html#id2626693">Point'n'Print Client Drivers on Samba Servers</a></dt><dt>interactive help, <a class="indexterm" href="ch47.html#id2692514">Free Support</a></dt><dt>interdomain</dt><dd><dl><dt>trust</dt><dd><dl><dt>account, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a></dt></dl></dd><dt>trustrs, <a class="indexterm" href="ServerType.html#id2558832">Features and Benefits</a></dt></dl></dd><dt>interdomain connection, <a class="indexterm" href="InterdomainTrusts.html#id2620873">Samba as the Trusting Domain</a></dt><dt>interdomain trust, <a class="indexterm" href="InterdomainTrusts.html#id2620532">Configuring Samba NT-Style Domain Trusts</a>, <a class="indexterm" href="InterdomainTrusts.html#id2621070">NT4-Style Domain Trusts with Windows 2000</a></dt><dt>interdomain trust accounts, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2589388">Caution Regarding LDAP and Samba</a></dt><dt>interdomain trusts, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a>, <a class="indexterm" href="InterdomainTrusts.html#id2619747">Features and Benefits</a></dt><dt>Interdomain Trusts, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a></dt><dd><dl><dt>Completing, <a class="indexterm" href="InterdomainTrusts.html#id2620238">Completing an NT4 Domain Trust</a></dt><dt>creating, <a class="indexterm" href="InterdomainTrusts.html#id2620105">Native MS Windows NT4 Trusts Configuration</a></dt><dt>Facilities, <a class="indexterm" href="InterdomainTrusts.html#id2620323">Interdomain Trust Facilities</a></dt></dl></dd><dt>interface, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a></dt><dt>interface scripts, <a class="indexterm" href="passdb.html#id2591042">User Account Management</a></dt><dt>interface-based exclusion, <a class="indexterm" href="securing-samba.html#id2618174">Features and Benefits</a></dt><dt>interfaces, <a class="indexterm" href="securing-samba.html#id2618550">Using Interface Protection</a>, <a class="indexterm" href="cfgsmarts.html#id2673932">Multiple Server Hosting</a></dt><dt>intermediate information, <a class="indexterm" href="passdb.html#id2589388">Caution Regarding LDAP and Samba</a></dt><dt>intermediate tools, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a></dt><dt>internal ordering, <a class="indexterm" href="SWAT.html#id2681115">Features and Benefits</a></dt><dt>internationalization support, <a class="indexterm" href="SWAT.html#id2681245">Guidelines and Technical Tips</a></dt><dt>Internet, <a class="indexterm" href="securing-samba.html#id2618336">Using Host-Based Protection</a>, <a class="indexterm" href="securing-samba.html#id2618550">Using Interface Protection</a></dt><dt>Internet Engineering Task Force (see IETF)</dt><dt>Internet Printing Protocol (see IPP)</dt><dt>Internet Protocol TCP/IP, <a class="indexterm" href="ClientConfig.html#id2576878">MS Windows Me</a></dt><dt>Internetworking Packet Exchange (see IPX)</dt><dt>internetworking super daemon, <a class="indexterm" href="SWAT.html#id2681115">Features and Benefits</a></dt><dt>interoperability, <a class="indexterm" href="ServerType.html#id2558832">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a>, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a>, <a class="indexterm" href="SambaHA.html#id2672767">Restrictive Constraints on Distributed File Systems</a></dt><dt>intolerance, <a class="indexterm" href="SambaHA.html#id2672036">Features and Benefits</a></dt><dt>invalid shell, <a class="indexterm" href="ServerType.html#id2559868">Example Configuration</a></dt><dt>invalid users, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>IP address, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>IP address automatically, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2576332">MS Windows 2000</a></dt><dt>IP addresses, <a class="indexterm" href="integrate-ms-networks.html#id2668313">/etc/hosts</a></dt><dt>IP aliases, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a></dt><dt>IPC$, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585107">Problem Resolution</a>, <a class="indexterm" href="securing-samba.html#id2618900">Using IPC$ Share-Based Denials </a></dt><dt>IPC$ connections, <a class="indexterm" href="SambaHA.html#id2672440">The Front-End Challenge</a></dt><dt>ipchains, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>ipconfig, <a class="indexterm" href="NetworkBrowsing.html#id2580799">TCP/IP without NetBIOS</a></dt><dt>iPlanet, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a></dt><dt>IPP, <a class="indexterm" href="CUPS-printing.html#id2642886">Understanding cupsaddsmb</a></dt><dt>IPP client, <a class="indexterm" href="CUPS-printing.html#id2649445">Administrator Cannot Install Printers for All Local Users</a></dt><dt>iptables, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>IPX, <a class="indexterm" href="NetworkBrowsing.html#id2584479">Windows Networking Protocols</a></dt><dt>IRC, <a class="indexterm" href="ch47.html#id2692514">Free Support</a></dt><dt>IRIX, <a class="indexterm" href="VFS.html#id2650394">Discussion</a>, <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a></dt><dt>ISC</dt><dd><dl><dt>DHCP, <a class="indexterm" href="DNSDHCP.html#id2692891">Features and Benefits</a></dt><dt>DNS, <a class="indexterm" href="DNSDHCP.html#id2692891">Features and Benefits</a></dt></dl></dd><dt>ISC DHCP server, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2576878">MS Windows Me</a></dt><dt>isolated workgroup, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a></dt><dt>IXFR, <a class="indexterm" href="integrate-ms-networks.html#id2668111">Background Information</a></dt></dl></div><div class="indexdiv"><h3>J</h3><dl><dt>Japanese, <a class="indexterm" href="unicode.html#id2670247">Japanese Charsets</a>, <a class="indexterm" href="SWAT.html#id2682054">Enabling SWAT Internationalization Support</a></dt><dt>Japanese locale, <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a></dt><dt>Japanese UNIX, <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a></dt><dt>Java, <a class="indexterm" href="AdvancedNetworkManagement.html#id2658207">Remote Management with ThinLinc</a>, <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a></dt><dt>JIS X 0208, <a class="indexterm" href="unicode.html#id2670247">Japanese Charsets</a></dt><dt>join, <a class="indexterm" href="idmapper.html#id2605900">NT4-Style Domains (Includes Samba Domains)</a></dt><dt>join client, <a class="indexterm" href="rights.html#id2609072">Description of Privileges</a></dt><dt>join domain, <a class="indexterm" href="samba-pdc.html#id2565312">Joining Domain Fails Because of Existing Machine Account</a></dt><dt>join the ADS domain, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></dt><dt>join the domain, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a>, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></dt><dt>join the machine, <a class="indexterm" href="domain-member.html#id2570806">Windows NT4 Client</a></dt><dt>joined client, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>Joined domain, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></dt><dt>joining domain, <a class="indexterm" href="winbind.html#id2655654">Join the Samba Server to the PDC Domain</a></dt><dt>joining the domain, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></dt><dt>JPEG, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt></dl></div><div class="indexdiv"><h3>K</h3><dl><dt>KB 129202, <a class="indexterm" href="locking.html#id2617901">Additional Reading</a></dt><dt>KB 224992, <a class="indexterm" href="locking.html#id2617901">Additional Reading</a></dt><dt>KB 296264, <a class="indexterm" href="locking.html#id2617901">Additional Reading</a></dt><dt>KB 811492, <a class="indexterm" href="locking.html#id2617869">Long Delays Deleting Files over Network with XP SP1</a></dt><dt>KB 812937, <a class="indexterm" href="locking.html#id2617845">Problems Saving Files in MS Office on Windows XP</a></dt><dt>KDC, <a class="indexterm" href="domain-member.html#ads-member">Samba ADS Domain Membership</a>, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a></dt><dt>KDE, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></dt><dt>KDE konqueror, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></dt><dt>KDE session, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></dt><dt>KDEPrint, <a class="indexterm" href="CUPS-printing.html#id2633034">Overview</a></dt><dt>kerberos, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a>, <a class="indexterm" href="idmapper.html#id2606188">ADS Domains</a></dt><dt>Kerberos, <a class="indexterm" href="domain-member.html#ads-member">Samba ADS Domain Membership</a>, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2573107">Possible Errors</a>, <a class="indexterm" href="domain-member.html#ads-test-smbclient">Testing with smbclient</a>, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a>, <a class="indexterm" href="winbind.html#id2654018">Microsoft Active Directory Services</a>, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678169">Passdb Backends and Authentication</a></dt><dd><dl><dt>/etc/krb5.conf, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a></dt></dl></dd><dt>Kerberos authentication, <a class="indexterm" href="domain-member.html#ads-test-smbclient">Testing with smbclient</a></dt><dt>killall, <a class="indexterm" href="compiling.html#id2688531">Starting from inetd.conf</a></dt><dt>kinit, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#ads-create-machine-account">Create the Computer Account</a>, <a class="indexterm" href="domain-member.html#id2573107">Possible Errors</a></dt><dt>kixstart, <a class="indexterm" href="NT4Migration.html#id2679910">Logon Scripts</a></dt><dt>kprinter, <a class="indexterm" href="CUPS-printing.html#id2646836">Foomatic Database-Generated PPDs</a></dt><dt>KRB, <a class="indexterm" href="idmapper.html#id2606188">ADS Domains</a></dt><dt>KRB5, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a></dt><dt>krb5.conf, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a></dt></dl></div><div class="indexdiv"><h3>L</h3><dl><dt>LAN, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2658207">Remote Management with ThinLinc</a>, <a class="indexterm" href="SambaHA.html#id2673115">High-Availability Server Products</a>, <a class="indexterm" href="problems.html#id2684879">Diagnostics Tools</a></dt><dt>LanMan, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2566209">Essential Background Information</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a>, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>LanMan logon service, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a></dt><dt>LanMan passwords, <a class="indexterm" href="passdb.html#id2587285">Backward Compatibility Account Storage Systems</a></dt><dt>LanManager, <a class="indexterm" href="ServerType.html#id2559298">User Level Security</a>, <a class="indexterm" href="ClientConfig.html#id2577911">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>LanManager-compatible, <a class="indexterm" href="NetworkBrowsing.html#id2583591">WINS: The Windows Internetworking Name Server</a></dt><dt>LanManger password, <a class="indexterm" href="passdb.html#id2591158">Listing User and Machine Accounts</a></dt><dt>laptops, <a class="indexterm" href="Backup.html#id2671551">BackupPC</a></dt><dt>large directory, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>large domain, <a class="indexterm" href="idmapper.html#id2606598">IDMAP_RID with Winbind</a></dt><dt>large numbers of files, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>large organizations, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a></dt><dt>last change time, <a class="indexterm" href="passdb.html#id2591158">Listing User and Machine Accounts</a></dt><dt>latency, <a class="indexterm" href="locking.html#id2616546">Slow and/or Unreliable Networks</a></dt><dt>laws, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a></dt><dt>LCT (see last change time)</dt><dt>LDAP, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2566966">LDAP Configuration Notes</a>, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2568774">How Do I Replicate the smbpasswd File?</a>, <a class="indexterm" href="samba-bdc.html#id2568879">Can I Do This All with LDAP?</a>, <a class="indexterm" href="domain-member.html#id2569122">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a>, <a class="indexterm" href="domain-member.html#id2573472">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2588044">Important Notes About Security</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#id2589388">Caution Regarding LDAP and Samba</a>, <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2593072">ldapsam</a>, <a class="indexterm" href="passdb.html#id2593320">Supported LDAP Servers</a>, <a class="indexterm" href="passdb.html#id2593375">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2593873">Initialize the LDAP Database</a>, <a class="indexterm" href="passdb.html#id2594059">Configuring Samba</a>, <a class="indexterm" href="groupmapping.html#id2597518">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2605741">Backup Domain Controller</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="InterdomainTrusts.html#id2619747">Features and Benefits</a>, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a>, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a>, <a class="indexterm" href="winbind.html#id2654018">Microsoft Active Directory Services</a>, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678169">Passdb Backends and Authentication</a>, <a class="indexterm" href="NT4Migration.html#id2679535">Domain Layout</a></dt><dd><dl><dt>directories, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a></dt><dt>master, <a class="indexterm" href="samba-bdc.html#id2566966">LDAP Configuration Notes</a></dt><dt>server, <a class="indexterm" href="samba-bdc.html#id2566966">LDAP Configuration Notes</a></dt><dt>slave, <a class="indexterm" href="samba-bdc.html#id2565803">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2566966">LDAP Configuration Notes</a></dt></dl></dd><dt>LDAP administration password, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a></dt><dt>LDAP administrative password, <a class="indexterm" href="domain-member.html#id2573472">Sharing User ID Mappings between Samba Domain Members</a></dt><dt>LDAP backend, <a class="indexterm" href="StandAloneServer.html#id2574257">Background</a>, <a class="indexterm" href="idmapper.html#id2605507">Primary Domain Controller</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2676324">Quick Migration Guide</a></dt><dt>LDAP backends, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a></dt><dt>LDAP database, <a class="indexterm" href="samba-bdc.html#id2568163">Example Configuration</a>, <a class="indexterm" href="passdb.html#id2593873">Initialize the LDAP Database</a>, <a class="indexterm" href="NT4Migration.html#id2679535">Domain Layout</a></dt><dt>LDAP deployment, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a></dt><dt>LDAP directory, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a>, <a class="indexterm" href="passdb.html#id2593072">ldapsam</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></dt><dt>ldap group suffix, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678757">New Suffix for Searching</a></dt><dt>LDAP idmap Backend, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a></dt><dt>ldap idmap suffix, <a class="indexterm" href="domain-member.html#id2573472">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678757">New Suffix for Searching</a></dt><dt>ldap machine suffix, <a class="indexterm" href="upgrading-to-3.0.html#id2678757">New Suffix for Searching</a></dt><dt>LDAP queries, <a class="indexterm" href="upgrading-to-3.0.html#id2678757">New Suffix for Searching</a></dt><dt>LDAP redirects, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a></dt><dt>LDAP schema, <a class="indexterm" href="ChangeNotes.html#id2579276">LDAP Changes in Samba-3.0.23</a></dt><dt>LDAP server, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a></dt><dt>ldap suffix, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678757">New Suffix for Searching</a></dt><dt>ldap user suffix, <a class="indexterm" href="upgrading-to-3.0.html#id2678757">New Suffix for Searching</a></dt><dt>LDAP-based, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a></dt><dt>LDAP., <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a></dt><dt>LDAP/Kerberos, <a class="indexterm" href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></dt><dt>LDAPS, <a class="indexterm" href="passdb.html#id2594596">Security and sambaSamAccount</a></dt><dt>ldapsam, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="passdb.html#id2593072">ldapsam</a>, <a class="indexterm" href="passdb.html#id2593320">Supported LDAP Servers</a>, <a class="indexterm" href="groupmapping.html#id2597518">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="idmapper.html#id2605507">Primary Domain Controller</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a>, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>ldapsam_compat, <a class="indexterm" href="passdb.html#id2587285">Backward Compatibility Account Storage Systems</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a></dt><dt>ldapsearch, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a></dt><dt>LDAPv3, <a class="indexterm" href="passdb.html#id2594596">Security and sambaSamAccount</a></dt><dt>ldconfig, <a class="indexterm" href="winbind.html#id2654945">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>ldd, <a class="indexterm" href="CUPS-printing.html#id2633268">Linking smbd with libcups.so</a></dt><dt>LDIF, <a class="indexterm" href="passdb.html#id2593873">Initialize the LDAP Database</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a></dt><dt>LDIF file, <a class="indexterm" href="passdb.html#id2593873">Initialize the LDAP Database</a></dt><dt>legacy systems, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></dt><dt>legal UNIX system account name, <a class="indexterm" href="domain-member.html#id2573794">Adding Machine to Domain Fails</a></dt><dt>Level1 Oplock, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>Level1 oplock, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>Level2 Oplock, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>LGPL, <a class="indexterm" href="passdb.html#id2593072">ldapsam</a></dt><dt>libcups, <a class="indexterm" href="classicalprinting.html#id2625479">Default UNIX System Printing Commands</a>, <a class="indexterm" href="CUPS-printing.html#id2633268">Linking smbd with libcups.so</a></dt><dt>libcups.so, <a class="indexterm" href="CUPS-printing.html#id2633268">Linking smbd with libcups.so</a></dt><dt>libcups.so.2, <a class="indexterm" href="CUPS-printing.html#id2633268">Linking smbd with libcups.so</a></dt><dt>Liberty Alliance, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></dt><dt>libiconv, <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a></dt><dt>libnss_winbind, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="winbind.html#id2654945">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>libnss_winbind.so, <a class="indexterm" href="winbind.html#id2654066">Name Service Switch</a>, <a class="indexterm" href="winbind.html#id2654945">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>libnss_wins.so, <a class="indexterm" href="integrate-ms-networks.html#id2668589">/etc/nsswitch.conf</a></dt><dt>libraries, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a></dt><dt>licensing, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>limitations, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a></dt><dt>linewidth, <a class="indexterm" href="CUPS-printing.html#id2635220">UNIX Printfile Conversion and GUI Basics</a></dt><dt>link loader configuration, <a class="indexterm" href="winbind.html#id2654945">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>Links</dt><dd><dl><dt>hard, <a class="indexterm" href="AccessControls.html#id2610774">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>soft, <a class="indexterm" href="AccessControls.html#id2610774">MS Windows NTFS Comparison with UNIX File Systems</a></dt></dl></dd><dt>Linux, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2658207">Remote Management with ThinLinc</a>, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a>, <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a></dt><dt>Linux High Availability project, <a class="indexterm" href="SambaHA.html#id2673115">High-Availability Server Products</a></dt><dt>Linux LVM, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>Linux LVM partition, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>LinuxKongress2002, <a class="indexterm" href="CUPS-printing.html#id2646520">The Grand Unification Achieved</a></dt><dt>Linuxprinting.org, <a class="indexterm" href="CUPS-printing.html#id2638273">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2645965">CUPS Print Drivers from Linuxprinting.org</a>, <a class="indexterm" href="CUPS-printing.html#id2646648">Driver Development Outside</a></dt><dt>list of domain controllers, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></dt><dt>listen for connections, <a class="indexterm" href="securing-samba.html#id2618550">Using Interface Protection</a></dt><dt>listen own socket, <a class="indexterm" href="cfgsmarts.html#id2673932">Multiple Server Hosting</a></dt><dt>LLC, <a class="indexterm" href="integrate-ms-networks.html">Integrating MS Windows Networks with Samba</a></dt><dt>LM/NT password hashes, <a class="indexterm" href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="passdb.html#id2594596">Security and sambaSamAccount</a></dt><dt>LMB, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a>, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2582305">Domain Browsing Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2582910">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583498">Use of the Remote Browse Sync Parameter</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583591">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584479">Windows Networking Protocols</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584910">Browsing Support in Samba</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585529">Behavior of Cross-Subnet Browsing</a> (see Local Master Browser)</dt><dt>LMHOSTS, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a>, <a class="indexterm" href="integrate-ms-networks.html#id2669234">The LMHOSTS File</a></dt><dt>lmhosts, <a class="indexterm" href="NetworkBrowsing.html#id2583591">WINS: The Windows Internetworking Name Server</a></dt><dt>load balancing, <a class="indexterm" href="msdfs.html#id2621456">Features and Benefits</a></dt><dt>loaded modules, <a class="indexterm" href="VFS.html#id2650356">Features and Benefits</a></dt><dt>loading printer drivers, <a class="indexterm" href="classicalprinting.html#id2625108">Any [my_printer_name] Section</a></dt><dt>local</dt><dd><dl><dt>groups, <a class="indexterm" href="NetCommand.html#id2599400">UNIX and Windows Group Management</a></dt><dt>master</dt><dd><dl><dt>browser, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a></dt></dl></dd></dl></dd><dt>local access permissions, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>local accounts, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a></dt><dt>local administrative privileges, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>Local Area Connection, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a></dt><dt>Local Area Connection Properties, <a class="indexterm" href="ClientConfig.html#id2576332">MS Windows 2000</a></dt><dt>local authentication, <a class="indexterm" href="StandAloneServer.html#id2574257">Background</a></dt><dt>local authentication database, <a class="indexterm" href="StandAloneServer.html#id2574257">Background</a></dt><dt>local cache, <a class="indexterm" href="integrate-ms-networks.html#id2669148">The NetBIOS Name Cache</a></dt><dt>local disk, <a class="indexterm" href="Backup.html#id2671551">BackupPC</a></dt><dt>local domain, <a class="indexterm" href="winbind.html#id2653749">Handling of Foreign SIDs</a></dt><dt>local group, <a class="indexterm" href="rights.html#id2610076">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>local groups, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="winbind.html#id2654066">Name Service Switch</a></dt><dt>Local Machine Trust Account, <a class="indexterm" href="samba-bdc.html#id2568664">Machine Accounts Keep Expiring</a></dt><dt>Local Master Browser, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2582305">Domain Browsing Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583358">Use of the Remote Announce Parameter</a></dt><dt>local master browser (see LMB)</dt><dt>local names, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a></dt><dt>local print driver, <a class="indexterm" href="classicalprinting.html#id2627200">[print$] Stanza Parameters</a></dt><dt>local profile, <a class="indexterm" href="ProfileMgmt.html#id2661076">Disabling Roaming Profile Support</a>, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a></dt><dt>local profiles, <a class="indexterm" href="ProfileMgmt.html#id2660587">Features and Benefits</a></dt><dt>local registry values, <a class="indexterm" href="PolicyMgmt.html#id2659457">MS Windows 200x/XP Professional Policies</a></dt><dt>Local security policies, <a class="indexterm" href="CUPS-printing.html#id2649412">Windows 200x/XP Local Security Policies</a></dt><dt>local smbpasswd file, <a class="indexterm" href="StandAloneServer.html#id2574257">Background</a></dt><dt>local spool area, <a class="indexterm" href="classicalprinting.html#id2622330">Technical Introduction</a></dt><dt>local subnet, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>local system printing, <a class="indexterm" href="classicalprinting.html#id2622330">Technical Introduction</a></dt><dt>local UNIX groups, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a></dt><dt>local user, <a class="indexterm" href="idmapper.html#id2604493">Standalone Samba Server</a>, <a class="indexterm" href="winbind.html#id2656602">Restarting</a></dt><dt>local user account, <a class="indexterm" href="passdb.html#id2588564">Mapping User Identifiers between MS Windows and UNIX</a></dt><dt>local users, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="winbind.html#id2654066">Name Service Switch</a></dt><dt>locale, <a class="indexterm" href="SWAT.html#id2682054">Enabling SWAT Internationalization Support</a></dt><dt>localhost, <a class="indexterm" href="securing-samba.html#id2618336">Using Host-Based Protection</a></dt><dt>locally known UID, <a class="indexterm" href="NetCommand.html#id2599802">Mapping Windows Groups to UNIX Groups</a></dt><dt>locate domain controller, <a class="indexterm" href="samba-bdc.html#id2567481">How Does a Workstation find its Domain Controller?</a></dt><dt>Lock caching, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>lock directory, <a class="indexterm" href="cfgsmarts.html#id2673932">Multiple Server Hosting</a></dt><dt>lock password, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>lock the account, <a class="indexterm" href="passdb.html#id2591566">Changing User Accounts</a></dt><dt>locking, <a class="indexterm" href="locking.html">File and Record Locking</a>, <a class="indexterm" href="locking.html#id2615585">Features and Benefits</a>, <a class="indexterm" href="locking.html#id2615682">Discussion</a>, <a class="indexterm" href="SambaHA.html#id2672640">The Distributed File System Challenge</a></dt><dt>locking protocol, <a class="indexterm" href="locking.html#id2615585">Features and Benefits</a></dt><dt>locking semantics, <a class="indexterm" href="locking.html#id2615585">Features and Benefits</a>, <a class="indexterm" href="locking.html#id2615682">Discussion</a></dt><dt>locking.tdb, <a class="indexterm" href="CUPS-printing.html#id2645458">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>lockout, <a class="indexterm" href="ServerType.html#id2560468">Example Configuration</a></dt><dt>log files, <a class="indexterm" href="diagnosis.html#id2682839">Assumptions</a></dt><dd><dl><dt>monitoring, <a class="indexterm" href="diagnosis.html#id2682839">Assumptions</a></dt></dl></dd><dt>log level, <a class="indexterm" href="idmapper.html#id2606188">ADS Domains</a>, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a>, <a class="indexterm" href="problems.html#id2684931">Debugging with Samba Itself</a>, <a class="indexterm" href="bugreport.html#dbglvl">Debug Levels</a></dt><dt>log.nmbd, <a class="indexterm" href="NetworkBrowsing.html#id2585107">Problem Resolution</a>, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>logging, <a class="indexterm" href="VFS.html#id2651211">Configuration of Auditing</a>, <a class="indexterm" href="bugreport.html#id2686375">Debugging-Specific Operations</a></dt><dt>logical directories, <a class="indexterm" href="msdfs.html#id2621456">Features and Benefits</a></dt><dt>Logical Link Control (see LLC)</dt><dt>logical volume, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>Logical Volume Manager (see LVM)</dt><dt>Login, <a class="indexterm" href="passdb.html#id2588500">Advantages of Non-Encrypted Passwords</a></dt><dt>login, <a class="indexterm" href="winbind.html#id2656813">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>login id, <a class="indexterm" href="passdb.html#id2591158">Listing User and Machine Accounts</a></dt><dt>login name, <a class="indexterm" href="install.html#id2553100">Example Configuration</a></dt><dt>login shells, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a></dt><dt>LoginID, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a></dt><dt>logon, <a class="indexterm" href="ServerType.html#id2559653">Domain Security Mode (User-Level Security)</a></dt><dt>logon authentication, <a class="indexterm" href="samba-bdc.html#id2567603">NetBIOS Over TCP/IP Disabled</a></dt><dt>logon drive, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a></dt><dt>logon home, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a>, <a class="indexterm" href="ProfileMgmt.html#id2660841">Windows 9x/Me User Profiles</a></dt><dt>logon name, <a class="indexterm" href="NetCommand.html#id2601256">User Mapping</a></dt><dt>logon path, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a></dt><dt>logon processing, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a></dt><dt>logon requests, <a class="indexterm" href="samba-bdc.html#id2566209">Essential Background Information</a>, <a class="indexterm" href="samba-bdc.html#id2567537">NetBIOS Over TCP/IP Enabled</a>, <a class="indexterm" href="samba-bdc.html#id2568719">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a></dt><dt>logon script, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2569122">Features and Benefits</a></dt><dt>Logon Scripts, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>Logon scripts, <a class="indexterm" href="NT4Migration.html#id2679910">Logon Scripts</a></dt><dt>logon server, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="ProfileMgmt.html#id2663529">MS Windows NT4 Workstation</a></dt><dt>logons, <a class="indexterm" href="ProfileMgmt.html#id2660701">NT4/200x User Profiles</a></dt><dt>lookups, <a class="indexterm" href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a></dt><dt>loopback adapter, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>loopback interface, <a class="indexterm" href="securing-samba.html#id2618550">Using Interface Protection</a>, <a class="indexterm" href="Portability.html#id2689420">Red Hat Linux</a></dt><dt>lower-case, <a class="indexterm" href="ServerType.html#id2559298">User Level Security</a></dt><dt>lowercase filenames, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>lp, <a class="indexterm" href="classicalprinting.html#id2622925">Verifying Configuration with testparm</a>, <a class="indexterm" href="CUPS-printing.html#id2650045">Print Queue Called lp Mishandles Print Jobs</a></dt><dt>lpadmin, <a class="indexterm" href="CUPS-printing.html#id2638590">Raw Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2640148">Printing with Interface Scripts</a>, <a class="indexterm" href="CUPS-printing.html#id2645965">CUPS Print Drivers from Linuxprinting.org</a>, <a class="indexterm" href="CUPS-printing.html#id2647471">Setting Up Quotas</a></dt><dt>LPD, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>lpinfo, <a class="indexterm" href="CUPS-printing.html#id2637934">CUPS Backends</a></dt><dt>lpq cache time, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>lpq command, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>LPRNG, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>lpstat, <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a>, <a class="indexterm" href="CUPS-printing.html#id2645315">Troubleshooting Revisited</a></dt><dt>LPT1:, <a class="indexterm" href="classicalprinting.html#id2631890">Samba and Printer Ports</a></dt><dt>LsaEnumTrustedDomains, <a class="indexterm" href="problems.html#id2684931">Debugging with Samba Itself</a></dt><dt>LTSP, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></dt><dt>Lustre, <a class="indexterm" href="SambaHA.html#id2672640">The Distributed File System Challenge</a></dt><dt>lvcreate, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>LVM, <a class="indexterm" href="VFS.html#id2651827">shadow_copy</a>, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>LVM snapshots, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>LVM volume, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>lvm10 package, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt></dl></div><div class="indexdiv"><h3>M</h3><dl><dt>m-node, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a></dt><dt>MAC address, <a class="indexterm" href="integrate-ms-networks.html#id2668313">/etc/hosts</a></dt><dt>MAC Addresses, <a class="indexterm" href="integrate-ms-networks.html#id2668313">/etc/hosts</a></dt><dt>Mac OS X , <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a></dt><dt>machine, <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a></dt><dd><dl><dt>account, <a class="indexterm" href="ServerType.html#id2559653">Domain Security Mode (User-Level Security)</a></dt></dl></dd><dt>machine account, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2566966">LDAP Configuration Notes</a>, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a>, <a class="indexterm" href="passdb.html#id2592915">tdbsam</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>machine account password</dt><dd><dl><dt>change protocol, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></dt></dl></dd><dt>machine accounts, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#acctmgmttools">Account Management Tools</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>machine accounts database, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a></dt><dt>machine authentication, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a></dt><dt>machine name, <a class="indexterm" href="integrate-ms-networks.html#id2668313">/etc/hosts</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668713">Name Resolution as Used within MS Windows Networking</a></dt><dt>Machine Policy Objects, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>machine SID, <a class="indexterm" href="NetCommand.html#id2602302">Managing Security Identifiers (SIDS)</a></dt><dt>machine trust account, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="domain-member.html">Domain Membership</a>, <a class="indexterm" href="domain-member.html#id2570643">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="domain-member.html#ads-create-machine-account">Create the Computer Account</a>, <a class="indexterm" href="domain-member.html#id2573719">Cannot Add Machine Back to Domain</a></dt><dd><dl><dt>create privilege, <a class="indexterm" href="domain-member.html#id2570643">Windows 200x/XP Professional Client</a></dt><dt>creation, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>password, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt></dl></dd><dt>Machine Trust Account, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2570806">Windows NT4 Client</a></dt><dd><dl><dt>creation, <a class="indexterm" href="domain-member.html#id2570526">On-the-Fly Creation of Machine Trust Accounts</a></dt><dt>password, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a></dt><dt>UNIX account, <a class="indexterm" href="domain-member.html#id2570526">On-the-Fly Creation of Machine Trust Accounts</a></dt></dl></dd><dt>Machine Trust Accounts, <a class="indexterm" href="samba-bdc.html#id2568664">Machine Accounts Keep Expiring</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dd><dl><dt>creating, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt></dl></dd><dt>machine trust accounts, <a class="indexterm" href="samba-bdc.html#id2568774">How Do I Replicate the smbpasswd File?</a>, <a class="indexterm" href="domain-member.html#id2570246">Managing Domain Machine Accounts using NT4 Server Manager</a>, <a class="indexterm" href="domain-member.html#id2573679">Common Errors</a>, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2589388">Caution Regarding LDAP and Samba</a></dt><dt>machine_name, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a></dt><dt>machine_nickname, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a></dt><dt>Macintosh, <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a></dt><dt>macros, <a class="indexterm" href="classicalprinting.html#id2626023">Custom Print Commands</a></dt><dt>mail, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a></dt><dt>mailing list, <a class="indexterm" href="ch47.html#id2692514">Free Support</a></dt><dt>mailing lists, <a class="indexterm" href="ch47.html#id2692514">Free Support</a></dt><dt>maintaining ids, <a class="indexterm" href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></dt><dt>major changes, <a class="indexterm" href="upgrading-to-3.0.html#id2677694">New Functionality</a></dt><dt>make, <a class="indexterm" href="integrate-ms-networks.html#id2668589">/etc/nsswitch.conf</a>, <a class="indexterm" href="compiling.html#id2688022">Building the Binaries</a></dt><dt>man, <a class="indexterm" href="SWAT.html#id2681115">Features and Benefits</a></dt><dt>man page, <a class="indexterm" href="winbind.html#id2655457">Configure smb.conf</a></dt><dt>man pages, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a></dt><dt>man-in-the-middle, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>manage accounts, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a></dt><dt>manage drivers, <a class="indexterm" href="classicalprinting.html#id2622106">Features and Benefits</a></dt><dt>manage groups, <a class="indexterm" href="NetCommand.html#id2601339">Administering User Rights and Privileges</a></dt><dt>manage printers, <a class="indexterm" href="NetCommand.html#id2601339">Administering User Rights and Privileges</a></dt><dt>manage privileges, <a class="indexterm" href="rights.html#id2608451">Rights Management Capabilities</a></dt><dt>manage roaming profiles, <a class="indexterm" href="ProfileMgmt.html#id2660587">Features and Benefits</a></dt><dt>manage share permissions, <a class="indexterm" href="AccessControls.html#id2613141">Windows NT4 Workstation/Server</a></dt><dt>manage share-level ACL, <a class="indexterm" href="groupmapping.html#id2597396">Applicable Only to Versions Earlier than 3.0.11</a></dt><dt>manage shares, <a class="indexterm" href="NetCommand.html#id2601339">Administering User Rights and Privileges</a></dt><dt>manage users, <a class="indexterm" href="NetCommand.html#id2601339">Administering User Rights and Privileges</a></dt><dt>manageability, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>Manageability, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>managed by humans, <a class="indexterm" href="SambaHA.html#id2672036">Features and Benefits</a></dt><dt>management bottleneck, <a class="indexterm" href="locking.html#id2616594">Multiuser Databases</a></dt><dt>management costs, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a></dt><dt>management overheads, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></dt><dt>management procedures, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></dt><dt>management tools, <a class="indexterm" href="passdb.html#acctmgmttools">Account Management Tools</a></dt><dt>managing rights, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a></dt><dt>mandatory profiles, <a class="indexterm" href="ProfileMgmt.html#id2663129">Mandatory Profiles</a></dt><dt>Mandrake, <a class="indexterm" href="CUPS-printing.html#id2646752">Forums, Downloads, Tutorials, Howtos (Also for Mac OS X and Commercial UNIX)</a></dt><dt>Mandriva, <a class="indexterm" href="CUPS-printing.html#id2646752">Forums, Downloads, Tutorials, Howtos (Also for Mac OS X and Commercial UNIX)</a></dt><dt>manual UNIX account creation, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>manual WINS server entries, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2576332">MS Windows 2000</a></dt><dt>manually configured, <a class="indexterm" href="ClientConfig.html#id2576878">MS Windows Me</a></dt><dt>manually configured DNS settings, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a></dt><dt>map, <a class="indexterm" href="domain-member.html#id2570643">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="NT4Migration.html#id2680021">User and Group Accounts</a></dt><dt>mapped, <a class="indexterm" href="groupmapping.html#id2597278">Important Administrative Information</a>, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a>, <a class="indexterm" href="NetCommand.html#id2599802">Mapping Windows Groups to UNIX Groups</a></dt><dt>mapping, <a class="indexterm" href="passdb.html#id2588564">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="NetCommand.html#id2599802">Mapping Windows Groups to UNIX Groups</a></dt><dt>mapping home directory, <a class="indexterm" href="securing-samba.html#id2619187">Why Can Users Access Other Users' Home Directories?</a></dt><dt>mapping printer driver, <a class="indexterm" href="classicalprinting.html#id2629548">Running rpcclient with setdriver</a></dt><dt>mappings, <a class="indexterm" href="domain-member.html#id2573472">Sharing User ID Mappings between Samba Domain Members</a></dt><dt>maps UNIX users and groups, <a class="indexterm" href="domain-member.html#id2573472">Sharing User ID Mappings between Samba Domain Members</a></dt><dt>master browser, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>master browsers, <a class="indexterm" href="NetworkBrowsing.html#id2585529">Behavior of Cross-Subnet Browsing</a></dt><dt>master server, <a class="indexterm" href="NT4Migration.html#id2679535">Domain Layout</a></dt><dt>master smb.conf, <a class="indexterm" href="cfgsmarts.html#id2675343">Multiple Virtual Server Hosting</a></dt><dt>MasterAnnouncement, <a class="indexterm" href="NetworkBrowsing.html#id2585529">Behavior of Cross-Subnet Browsing</a></dt><dt>match case, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>maximum value, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a></dt><dt>mbd kept spawning, <a class="indexterm" href="speed.html#id2691227">Corrupt tdb Files</a></dt><dt>Meccano set, <a class="indexterm" href="Backup.html#id2671454">Discussion of Backup Solutions</a></dt><dt>mechanism, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></dt><dt>media type, <a class="indexterm" href="CUPS-printing.html#id2638273">The Role of cupsomatic/foomatic</a></dt><dt>member, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a>, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a></dt><dt>member machine, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>memory, <a class="indexterm" href="passdb.html#id2588360">Advantages of Encrypted Passwords</a></dt><dt>messages.tdb, <a class="indexterm" href="CUPS-printing.html#id2645458">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>messaging systems, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a></dt><dt>Meta node, <a class="indexterm" href="NetworkBrowsing.html#id2584236">Static WINS Entries</a></dt><dt>meta-directory, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></dt><dt>meta-service, <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a></dt><dt>meta-services, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></dt><dt>Microsoft Active Directory, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>Microsoft Developer Network CDs, <a class="indexterm" href="problems.html#id2685381">The Windows Network Monitor</a></dt><dt>Microsoft driver, <a class="indexterm" href="CUPS-printing.html#id2641102">PostScript Drivers with No Major Problems, Even in 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#id257 0246">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>Microsoft Wolfpack, <a class="indexterm" href="SambaHA.html#id2673115">High-Availability Server Products</a></dt><dt>middle-ware, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a></dt><dt>migrate, <a class="indexterm" href="ServerType.html">Server Types and Security Modes</a>, <a class="indexterm" href="NT4Migration.html">Migration from NT4 PDC to Samba-3 PDC</a></dt><dt>migrate account settings, <a class="indexterm" href="NT4Migration.html#id2680021">User and Group Accounts</a></dt><dt>migrate group, <a class="indexterm" href="NT4Migration.html#id2680021">User and Group Accounts</a></dt><dt>migrate user, <a class="indexterm" href="NT4Migration.html#id2680021">User and Group Accounts</a></dt><dt>migrating, <a class="indexterm" href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></dt><dt>migration, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>migration plan, <a class="indexterm" href="NT4Migration.html#id2679090">Planning and Getting Started</a></dt><dt>migration process, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>MIME, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2636640">MIME Type Conversion Rules</a>, <a class="indexterm" href="CUPS-printing.html#id2636848">Filtering Overview</a>, <a class="indexterm" href="CUPS-printing.html#id2638698">application/octet-stream Printing</a></dt><dd><dl><dt>filters, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt><dt>raw, <a class="indexterm" href="FastStart.html#id2554870">Anonymous Print Server</a>, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="CUPS-printing.html#cups-raw">Explicitly Enable raw Printing for application/octet-stream</a></dt></dl></dd><dt>MIME conversion rules, <a class="indexterm" href="CUPS-printing.html#id2635975">The CUPS Filtering Architecture</a></dt><dt>MIME recognition, <a class="indexterm" href="CUPS-printing.html#id2635975">The CUPS Filtering Architecture</a></dt><dt>MIME type, <a class="indexterm" href="CUPS-printing.html#cups-raw">Explicitly Enable raw Printing for application/octet-stream</a>, <a class="indexterm" href="CUPS-printing.html#id2635975">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2637005">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2638698">application/octet-stream Printing</a></dt><dt>mime.types, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt><dt>minimal</dt><dd><dl><dt>configuration, <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a></dt></dl></dd><dt>minimal configuration, <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a></dt><dt>minimum security control, <a class="indexterm" href="StandAloneServer.html">Standalone Servers</a></dt><dt>misconfigurations, <a class="indexterm" href="install.html#id2553334">Test Your Config File with testparm</a></dt><dt>misconfigured settings, <a class="indexterm" href="classicalprinting.html#id2622641">Simple Print Configuration</a></dt><dt>misinformation, <a class="indexterm" href="domain-member.html">Domain Membership</a></dt><dt>mission-critical, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a>, <a class="indexterm" href="classicalprinting.html#id2622106">Features and Benefits</a></dt><dt>MIT, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a>, <a class="indexterm" href="idmapper.html#id2606188">ADS Domains</a></dt><dt>MIT kerberos, <a class="indexterm" href="idmapper.html#id2606188">ADS Domains</a>, <a class="indexterm" href="idmapper.html#id2607189">IDMAP Storage in LDAP Using Winbind</a></dt><dt>MIT Kerberos, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>mixed mode, <a class="indexterm" href="ServerType.html#id2560148">ADS Security Mode (User-Level Security)</a>, <a class="indexterm" href="InterdomainTrusts.html#id2621070">NT4-Style Domain Trusts with Windows 2000</a></dt><dt>mixed profile, <a class="indexterm" href="ProfileMgmt.html#id2660998">Mixed Windows Windows 9x/Me and NT4/200x User Profiles</a></dt><dt>mkdir, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>mkfs.xfs, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>MMC, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="groupmapping.html#id2595891">Features and Benefits</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2605507">Primary Domain Controller</a>, <a class="indexterm" href="AccessControls.html#id2612982">Access Controls on Shares</a>, <a class="indexterm" href="AccessControls.html#id2613247">Windows 200x/XP</a>, <a class="indexterm" href="PolicyMgmt.html#id2658910">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2660228">Windows NT4/200x</a>, <a class="indexterm" href="ProfileMgmt.html#id2661076">Disabling Roaming Profile Support</a></dt><dt>MMC snap-in, <a class="indexterm" href="PolicyMgmt.html#id2659660">Administration of Windows 200x/XP Policies</a></dt><dt>modem/ISDN, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></dt><dt>moderately secure, <a class="indexterm" href="securing-samba.html#id2618174">Features and Benefits</a></dt><dt>modprobe, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>module, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>modules, <a class="indexterm" href="VFS.html#id2650356">Features and Benefits</a>, <a class="indexterm" href="VFS.html#id2650394">Discussion</a></dt><dt>more than one protocol, <a class="indexterm" href="NetworkBrowsing.html#id2584479">Windows Networking Protocols</a></dt><dt>mount, <a class="indexterm" href="ServerType.html#id2559461">Share-Level Security</a>, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>mouse-over, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></dt><dt>moveuser.exe, <a class="indexterm" href="ProfileMgmt.html#id2663022">moveuser.exe</a></dt><dt>MS DCE RPC, <a class="indexterm" href="winbind.html#id2655654">Join the Samba Server to the PDC Domain</a></dt><dt>MS Windows 2000, <a class="indexterm" href="samba-bdc.html#id2567331">Active Directory Domain Control</a></dt><dt>MS Windows NT4/200x, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a></dt><dt>MS Windows SID, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a></dt><dt>MS WINS, <a class="indexterm" href="NetworkBrowsing.html#id2579539">Features and Benefits</a></dt><dt>MS-DFS, <a class="indexterm" href="SambaHA.html#id2673255">MS-DFS: The Poor Man's Cluster</a></dt><dt>MS-RPC, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>MS-WINS replication, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a></dt><dt>msdfs links, <a class="indexterm" href="msdfs.html#id2621456">Features and Benefits</a></dt><dt>msg, <a class="indexterm" href="SWAT.html#id2682054">Enabling SWAT Internationalization Support</a></dt><dt>msg file, <a class="indexterm" href="SWAT.html#id2682054">Enabling SWAT Internationalization Support</a></dt><dt>MSRPC, <a class="indexterm" href="winbind.html#id2653925">Microsoft Remote Procedure Calls</a>, <a class="indexterm" href="winbind.html#id2654066">Name Service Switch</a></dt><dt>multibyte character sets, <a class="indexterm" href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></dt><dt>multibyte charsets, <a class="indexterm" href="unicode.html#id2669946">What Are Charsets and Unicode?</a></dt><dt>multiple backends, <a class="indexterm" href="passdb.html#id2592519">Password Backends</a></dt><dt>multiple domains, <a class="indexterm" href="NT4Migration.html#id2679535">Domain Layout</a></dt><dt>multiple hosting, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a></dt><dt>multiple modules, <a class="indexterm" href="VFS.html#id2650394">Discussion</a></dt><dt>multiple network interfaces, <a class="indexterm" href="NetworkBrowsing.html#id2583172">Multiple Interfaces</a></dt><dt>multiple network segments, <a class="indexterm" href="NT4Migration.html#id2679535">Domain Layout</a></dt><dt>multiple personality, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></dt><dt>multiple server hosting, <a class="indexterm" href="cfgsmarts.html#id2673932">Multiple Server Hosting</a></dt><dt>multiple server personalities, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a></dt><dt>multiple servers, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a>, <a class="indexterm" href="cfgsmarts.html#id2673932">Multiple Server Hosting</a></dt><dt>multiple universal naming convention provider (see MUP)</dt><dt>multiple VFS, <a class="indexterm" href="VFS.html#id2650394">Discussion</a></dt><dt>multiple virtual servers, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></dt><dt>multiple Windows workgroups or domains, <a class="indexterm" href="ClientConfig.html#id2576878">MS Windows Me</a></dt><dt>multiple WINS servers, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a></dt><dt>Multiuser databases, <a class="indexterm" href="locking.html#id2616594">Multiuser Databases</a></dt><dt>mutual assistance, <a class="indexterm" href="ch47.html#id2692514">Free Support</a></dt><dt>mutually exclusive options, <a class="indexterm" href="NetworkBrowsing.html#id2579723">What Is Browsing?</a></dt><dt>My Network Places, <a class="indexterm" href="ClientConfig.html#id2576878">MS Windows Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585107">Problem Resolution</a></dt><dt>Myrinet, <a class="indexterm" href="SambaHA.html#id2672922">Server Pool Communications Demands</a></dt></dl></div><div class="indexdiv"><h3>N</h3><dl><dt>n security context, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a></dt><dt>n-memory buffer, <a class="indexterm" href="integrate-ms-networks.html#id2669148">The NetBIOS Name Cache</a></dt><dt>name conflict, <a class="indexterm" href="classicalprinting.html#id2625108">Any [my_printer_name] Section</a></dt><dt>name lookup, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a>, <a class="indexterm" href="integrate-ms-networks.html#id2669148">The NetBIOS Name Cache</a></dt><dt>name lookups, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a></dt><dt>name registration, <a class="indexterm" href="samba-bdc.html#id2567390">What Qualifies a Domain Controller on the Network?</a></dt><dt>name resolution, <a class="indexterm" href="NetworkBrowsing.html#id2579723">What Is Browsing?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584823">Technical Overview of Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2586371">Common Errors</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668313">/etc/hosts</a>, <a class="indexterm" href="diagnosis.html#id2682839">Assumptions</a></dt><dt>name resolution across routed networks, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a></dt><dt>name resolve order, <a class="indexterm" href="NetworkBrowsing.html#id2584620">Name Resolution Order</a></dt><dt>name service switch (see NSS)</dt><dt>name-to-address, <a class="indexterm" href="NetworkBrowsing.html#id2583591">WINS: The Windows Internetworking Name Server</a></dt><dt>nameserv.h, <a class="indexterm" href="NetworkBrowsing.html#id2584236">Static WINS Entries</a></dt><dt>name_type, <a class="indexterm" href="NetworkBrowsing.html#id2583591">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584620">Name Resolution Order</a></dt><dt>native ACLs, <a class="indexterm" href="AccessControls.html#id2610573">Features and Benefits</a></dt><dt>native dump, <a class="indexterm" href="Backup.html#id2671892">Amanda</a></dt><dt>native member, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a>, <a class="indexterm" href="domain-member.html#id2569122">Features and Benefits</a></dt><dt>native mode, <a class="indexterm" href="ServerType.html#id2560148">ADS Security Mode (User-Level Security)</a>, <a class="indexterm" href="winbind.html#id2654018">Microsoft Active Directory Services</a></dt><dt>NBT, <a class="indexterm" href="integrate-ms-networks.html#id2668713">Name Resolution as Used within MS Windows Networking</a></dt><dt>nbtstat, <a class="indexterm" href="domain-member.html#id2573719">Cannot Add Machine Back to Domain</a>, <a class="indexterm" href="integrate-ms-networks.html#id2669148">The NetBIOS Name Cache</a></dt><dt>necessary rights, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a></dt><dt>negotiate, <a class="indexterm" href="passdb.html#id2588044">Important Notes About Security</a></dt><dt>negotiating the charset, <a class="indexterm" href="unicode.html#id2669946">What Are Charsets and Unicode?</a></dt><dt>nested group, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>Nested Group Support, <a class="indexterm" href="rights.html#id2610076">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>nested groups, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>net, <a class="indexterm" href="passdb.html#acctmgmttools">Account Management Tools</a>, <a class="indexterm" href="groupmapping.html">Group Mapping: MS Windows and UNIX</a>, <a class="indexterm" href="NetCommand.html">Remote and Local Management: The Net Command</a>, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a>, <a class="indexterm" href="NetCommand.html#id2599319">Administrative Tasks and Methods</a>, <a class="indexterm" href="NetCommand.html#id2599400">UNIX and Windows Group Management</a>, <a class="indexterm" href="rights.html#id2610076">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dd><dl><dt>ads, <a class="indexterm" href="NetCommand.html#id2599400">UNIX and Windows Group Management</a></dt><dd><dl><dt>join, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="domain-member.html#ads-create-machine-account">Create the Computer Account</a>, <a class="indexterm" href="NetCommand.html#id2601699">Machine Trust Accounts</a>, <a class="indexterm" href="idmapper.html#id2606188">ADS Domains</a></dt><dt>leave, <a class="indexterm" href="NetCommand.html#id2601699">Machine Trust Accounts</a></dt><dt>printer info, <a class="indexterm" href="NetCommand.html#id2603746">Printers and ADS</a></dt><dt>printer publish, <a class="indexterm" href="NetCommand.html#id2603746">Printers and ADS</a></dt><dt>printer remove, <a class="indexterm" href="NetCommand.html#id2603746">Printers and ADS</a></dt><dt>printer search, <a class="indexterm" href="NetCommand.html#id2603746">Printers and ADS</a></dt><dt>status, <a class="indexterm" href="NetCommand.html#id2601699">Machine Trust Accounts</a></dt><dt>testjoin, <a class="indexterm" href="NetCommand.html#id2601699">Machine Trust Accounts</a></dt></dl></dd><dt>getlocalsid, <a class="indexterm" href="ChangeNotes.html#id2578662">User and Group Changes</a>, <a class="indexterm" href="NetCommand.html#id2602302">Managing Security Identifiers (SIDS)</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a></dt><dt>groupmap, <a class="indexterm" href="FastStart.html#id2556907">Example: Engineering Office</a>, <a class="indexterm" href="ChangeNotes.html#id2578662">User and Group Changes</a>, <a class="indexterm" href="groupmapping.html#id2595891">Features and Benefits</a>, <a class="indexterm" href="groupmapping.html#id2598143">Example Configuration</a>, <a class="indexterm" href="NT4Migration.html#id2680070">Steps in Migration Process</a></dt><dd><dl><dt>add, <a class="indexterm" href="NetCommand.html#id2599802">Mapping Windows Groups to UNIX Groups</a></dt><dt>delete, <a class="indexterm" href="NetCommand.html#id2599802">Mapping Windows Groups to UNIX Groups</a></dt><dt>list, <a class="indexterm" href="groupmapping.html#id2598143">Example Configuration</a>, <a class="indexterm" href="NetCommand.html#id2599600">Adding or Creating a New Group</a></dt><dt>modify, <a class="indexterm" href="NetCommand.html#id2599802">Mapping Windows Groups to UNIX Groups</a></dt></dl></dd><dt>localgroup, <a class="indexterm" href="rights.html#id2610076">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>rap, <a class="indexterm" href="NetCommand.html#id2599400">UNIX and Windows Group Management</a></dt><dd><dl><dt>session, <a class="indexterm" href="NetCommand.html#id2603680">Session and Connection Management</a></dt></dl></dd><dt>rpc, <a class="indexterm" href="FastStart.html#id2556059">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2559868">Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2565803">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2599400">UNIX and Windows Group Management</a></dt><dd><dl><dt>getsid, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a>, <a class="indexterm" href="NetCommand.html#id2602302">Managing Security Identifiers (SIDS)</a></dt><dt>group, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="NetCommand.html#id2599600">Adding or Creating a New Group</a></dt><dt>group add, <a class="indexterm" href="NetCommand.html#id2599600">Adding or Creating a New Group</a></dt><dt>group addmem, <a class="indexterm" href="NetCommand.html#grpmemshipchg">Manipulating Group Memberships</a>, <a class="indexterm" href="NetCommand.html#id2600629">Managing Nest Groups on Workstations from the Samba Server</a></dt><dt>group delete, <a class="indexterm" href="NetCommand.html#id2600110">Deleting a Group Account</a></dt><dt>group delmem, <a class="indexterm" href="NetCommand.html#grpmemshipchg">Manipulating Group Memberships</a></dt><dt>group list, <a class="indexterm" href="NetCommand.html#id2599600">Adding or Creating a New Group</a></dt><dt>group members, <a class="indexterm" href="NetCommand.html#grpmemshipchg">Manipulating Group Memberships</a></dt><dt>group rename, <a class="indexterm" href="NetCommand.html#id2600150">Rename Group Accounts</a></dt><dt>info, <a class="indexterm" href="NetCommand.html#netmisc1">Other Miscellaneous Operations</a>, <a class="indexterm" href="ProfileMgmt.html#id2662971">Side Bar Notes</a></dt><dt>join, <a class="indexterm" href="ServerType.html#id2559868">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="NetCommand.html#id2601699">Machine Trust Accounts</a>, <a class="indexterm" href="winbind.html#id2655654">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="NT4Migration.html#id2680070">Steps in Migration Process</a></dt><dt>join bdc, <a class="indexterm" href="NetCommand.html#id2601699">Machine Trust Accounts</a></dt><dt>join member, <a class="indexterm" href="NetCommand.html#id2601699">Machine Trust Accounts</a></dt><dt>list, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a></dt><dt>printer migrate drivers, <a class="indexterm" href="NetCommand.html#id2603410">Printer Migration</a></dt><dt>printer migrate forms, <a class="indexterm" href="NetCommand.html#id2603410">Printer Migration</a></dt><dt>printer migrate printers, <a class="indexterm" href="NetCommand.html#id2603410">Printer Migration</a></dt><dt>printer migrate security, <a class="indexterm" href="NetCommand.html#id2603410">Printer Migration</a></dt><dt>printer migrate settings, <a class="indexterm" href="NetCommand.html#id2603410">Printer Migration</a></dt><dt>right list accounts, <a class="indexterm" href="NetCommand.html#id2602897">Share Migration</a></dt><dt>rights grant, <a class="indexterm" href="NetCommand.html#id2601339">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a></dt><dt>rights list, <a class="indexterm" href="NetCommand.html#id2601339">Administering User Rights and Privileges</a></dt><dt>rights list accounts, <a class="indexterm" href="NetCommand.html#id2601339">Administering User Rights and Privileges</a></dt><dt>share add, <a class="indexterm" href="NetCommand.html#id2602569">Creating, Editing, and Removing Shares</a></dt><dt>share delete, <a class="indexterm" href="NetCommand.html#id2602569">Creating, Editing, and Removing Shares</a></dt><dt>share migrate, <a class="indexterm" href="NetCommand.html#id2602897">Share Migration</a></dt><dt>share migrate all, <a class="indexterm" href="NetCommand.html#id2603351">Simultaneous Share and File Migration</a></dt><dt>share migrate files, <a class="indexterm" href="NetCommand.html#id2603094">File and Directory Migration</a></dt><dt>share migrate security, <a class="indexterm" href="NetCommand.html#id2603309">Share-ACL Migration</a></dt><dt>testjoin, <a class="indexterm" href="NetCommand.html#id2601699">Machine Trust Accounts</a></dt><dt>trustdom add, <a class="indexterm" href="NetCommand.html#id2602068">Interdomain Trusts</a></dt><dt>trustdom establish, <a class="indexterm" href="NetCommand.html#id2602068">Interdomain Trusts</a>, <a class="indexterm" href="InterdomainTrusts.html#id2620873">Samba as the Trusting Domain</a></dt><dt>trustdom list, <a class="indexterm" href="NetCommand.html#id2602068">Interdomain Trusts</a></dt><dt>trustdom revoke, <a class="indexterm" href="NetCommand.html#id2602068">Interdomain Trusts</a></dt><dt>user add, <a class="indexterm" href="NetCommand.html#sbeuseraddn">Adding User Accounts</a></dt><dt>user delete, <a class="indexterm" href="NetCommand.html#id2601139">Deletion of User Accounts</a>, <a class="indexterm" href="NetCommand.html#id2601699">Machine Trust Accounts</a></dt><dt>user info, <a class="indexterm" href="NetCommand.html#id2601187">Managing User Accounts</a></dt><dt>user password, <a class="indexterm" href="NetCommand.html#sbeuseraddn">Adding User Accounts</a></dt><dt>user rename, <a class="indexterm" href="NetCommand.html#id2601187">Managing User Accounts</a></dt><dt>vampire, <a class="indexterm" href="ChangeNotes.html#id2578662">User and Group Changes</a>, <a class="indexterm" href="NetCommand.html#id2602787">Share, Directory, and File Migration</a>, <a class="indexterm" href="NT4Migration.html#id2680070">Steps in Migration Process</a></dt></dl></dd><dt>setlocalsid, <a class="indexterm" href="NetCommand.html#id2602302">Managing Security Identifiers (SIDS)</a></dt><dt>time, <a class="indexterm" href="NetCommand.html#netmisc1">Other Miscellaneous Operations</a></dt><dd><dl><dt>set, <a class="indexterm" href="NetCommand.html#netmisc1">Other Miscellaneous Operations</a></dt><dt>system, <a class="indexterm" href="NetCommand.html#netmisc1">Other Miscellaneous Operations</a></dt><dt>zone, <a class="indexterm" href="NetCommand.html#netmisc1">Other Miscellaneous Operations</a></dt></dl></dd><dt>use, <a class="indexterm" href="domain-member.html#ads-test-server">Testing Server Setup</a></dt></dl></dd><dt>NET, <a class="indexterm" href="PolicyMgmt.html#id2660268">Samba PDC</a></dt><dt>net command, <a class="indexterm" href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></dt><dt>net getlocalsid, <a class="indexterm" href="rights.html#id2609893">The Administrator Domain SID</a></dt><dt>net groupmap, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a></dt><dt>net rpc user add, <a class="indexterm" href="rights.html#id2609072">Description of Privileges</a></dt><dt>net tool, <a class="indexterm" href="upgrading-to-3.0.html#id2678169">Passdb Backends and Authentication</a></dt><dt>net use, <a class="indexterm" href="classicalprinting.html#id2631467">Error Message: Cannot connect under a different Name</a></dt><dt>net use /home, <a class="indexterm" href="ProfileMgmt.html#id2660841">Windows 9x/Me User Profiles</a></dt><dt>net use lpt1:, <a class="indexterm" href="CUPS-printing.html#id2643314">Installing the PostScript Driver on a Client</a></dt><dt>net view, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a>, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>netatalk, <a class="indexterm" href="VFS.html#id2651777">netatalk</a></dt><dt>NetAtalk, <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a></dt><dt>Netatalk, <a class="indexterm" href="Other-Clients.html#id2689706">Macintosh Clients</a></dt><dt>NetBEUI, <a class="indexterm" href="integrate-ms-networks.html">Integrating MS Windows Networks with Samba</a></dt><dt>NetBIOS, <a class="indexterm" href="ServerType.html#id2559653">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2567390">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="samba-bdc.html#id2567481">How Does a Workstation find its Domain Controller?</a>, <a class="indexterm" href="samba-bdc.html#id2568163">Example Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579539">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#netdiscuss">Discussion</a>, <a class="indexterm" href="NetworkBrowsing.html#id2580799">TCP/IP without NetBIOS</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584823">Technical Overview of Browsing</a>, <a class="indexterm" href="integrate-ms-networks.html">Integrating MS Windows Networks with Samba</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668713">Name Resolution as Used within MS Windows Networking</a>, <a class="indexterm" href="integrate-ms-networks.html#id2669148">The NetBIOS Name Cache</a></dt><dd><dl><dt>brooadcast, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a></dt><dt>name, <a class="indexterm" href="ServerType.html#id2559653">Domain Security Mode (User-Level Security)</a></dt></dl></dd><dt>netbios alias, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></dt><dt>netbios aliases, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></dt><dt>NetBIOS broadcast, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></dt><dt>NetBIOS disabled, <a class="indexterm" href="NetworkBrowsing.html#id2579539">Features and Benefits</a></dt><dt>NetBIOS flags, <a class="indexterm" href="NetworkBrowsing.html#id2584236">Static WINS Entries</a></dt><dt>NetBIOS name, <a class="indexterm" href="samba-pdc.html#id2564926">Security Mode and Master Browsers</a>, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668713">Name Resolution as Used within MS Windows Networking</a>, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></dt><dt>netbios name, <a class="indexterm" href="cfgsmarts.html#id2673932">Multiple Server Hosting</a></dt><dt>NetBIOS name cache, <a class="indexterm" href="domain-member.html#id2573719">Cannot Add Machine Back to Domain</a>, <a class="indexterm" href="NetworkBrowsing.html#id2586398">Flushing the Samba NetBIOS Name Cache</a></dt><dt>NetBIOS name length, <a class="indexterm" href="NetworkBrowsing.html#id2583591">WINS: The Windows Internetworking Name Server</a></dt><dt>NetBIOS name resolution, <a class="indexterm" href="NetworkBrowsing.html#id2585529">Behavior of Cross-Subnet Browsing</a></dt><dt>NetBIOS Name Server (see NBNS)</dt><dt>NetBIOS name type, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a></dt><dt>NetBIOS names, <a class="indexterm" href="NetworkBrowsing.html#id2584620">Name Resolution Order</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668589">/etc/nsswitch.conf</a></dt><dt>NetBIOS network interface, <a class="indexterm" href="NetworkBrowsing.html#id2584479">Windows Networking Protocols</a></dt><dt>NetBIOS networking, <a class="indexterm" href="NetworkBrowsing.html#id2579539">Features and Benefits</a></dt><dt>NetBIOS over TCP/IP, <a class="indexterm" href="NetworkBrowsing.html">Network Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579539">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584823">Technical Overview of Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585358">Cross-Subnet Browsing</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668111">Background Information</a></dt><dt>NetBIOS over TCP/IP disabled, <a class="indexterm" href="NetworkBrowsing.html#id2586566">Browsing of Shares and Directories is Very Slow</a></dt><dt>NetBIOS-less, <a class="indexterm" href="NetworkBrowsing.html#id2580799">TCP/IP without NetBIOS</a>, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></dt><dt>NetBIOS-less SMB, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></dt><dt>NetBIOSless SMB over TCP/IP, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a></dt><dt>NetBT, <a class="indexterm" href="integrate-ms-networks.html#id2668713">Name Resolution as Used within MS Windows Networking</a></dt><dt>netlogon, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a></dt><dt>NETLOGON, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a>, <a class="indexterm" href="PolicyMgmt.html#id2658910">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2659457">MS Windows 200x/XP Professional Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2659906">Managing Account/User Policies</a>, <a class="indexterm" href="ProfileMgmt.html#id2663529">MS Windows NT4 Workstation</a>, <a class="indexterm" href="ProfileMgmt.html#id2664091">MS Windows 200x/XP</a></dt><dt>Netlogon, <a class="indexterm" href="samba-bdc.html#id2566209">Essential Background Information</a></dt><dt>NetLogon service, <a class="indexterm" href="NetworkBrowsing.html#id2583591">WINS: The Windows Internetworking Name Server</a></dt><dt>netlogon share, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a>, <a class="indexterm" href="NT4Migration.html#id2680070">Steps in Migration Process</a></dt><dt>Netmon, <a class="indexterm" href="problems.html#id2685381">The Windows Network Monitor</a></dt><dt>Netmon., <a class="indexterm" href="problems.html#id2685441">Installing Network Monitor on an NT Workstation</a></dt><dt>netmon.exe, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a></dt><dt>NetSAMLogon, <a class="indexterm" href="ProfileMgmt.html#id2660636">Roaming Profiles</a></dt><dt>Netscape's Directory Server, <a class="indexterm" href="passdb.html#id2593320">Supported LDAP Servers</a></dt><dt>NetServerEnum2, <a class="indexterm" href="NetworkBrowsing.html#id2585529">Behavior of Cross-Subnet Browsing</a></dt><dt>NetUserGetInfo, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="ProfileMgmt.html#id2660636">Roaming Profiles</a></dt><dt>NetWare, <a class="indexterm" href="integrate-ms-networks.html#id2668713">Name Resolution as Used within MS Windows Networking</a></dt><dt>NetWare Bindery, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>NetWare Core Protocol-based server, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>NetWkstaUserLogon, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a></dt><dt>network</dt><dd><dl><dt>browsing, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a></dt><dt>logon, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a></dt><dd><dl><dt>service, <a class="indexterm" href="samba-pdc.html#id2564926">Security Mode and Master Browsers</a></dt></dl></dd><dt>performance, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a></dt><dt>wide-area, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a></dt></dl></dd><dt>network access controls, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a></dt><dt>network access profile, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a></dt><dt>network administrator, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a></dt><dt>network administrator's toolbox, <a class="indexterm" href="NetCommand.html">Remote and Local Management: The Net Command</a></dt><dt>network administrators, <a class="indexterm" href="NT4Migration.html#id2679736">Server Share and Directory Layout</a></dt><dt>network analyzer, <a class="indexterm" href="problems.html#id2684879">Diagnostics Tools</a></dt><dt>network bandwidth, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a>, <a class="indexterm" href="NT4Migration.html#id2679535">Domain Layout</a></dt><dt>Network Basic Extended User Interface (see NetBEUI)</dt><dt>Network Basic Input/Output System (see NetBIOS)</dt><dt>Network Bridge, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a></dt><dt>Network Bridge Configuration, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a></dt><dt>network browsing problems, <a class="indexterm" href="NetworkBrowsing.html#id2582910">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2586566">Browsing of Shares and Directories is Very Slow</a></dt><dt>network client, <a class="indexterm" href="ClientConfig.html#id2575509">Features and Benefits</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a></dt><dt>network clients, <a class="indexterm" href="ClientConfig.html#id2576332">MS Windows 2000</a></dt><dt>network configuration problems, <a class="indexterm" href="ClientConfig.html#id2575613">TCP/IP Configuration</a></dt><dt>network difficulty, <a class="indexterm" href="ClientConfig.html#id2575509">Features and Benefits</a></dt><dt>network environment, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657803">Remote Desktop Management</a></dt><dt>Network ID, <a class="indexterm" href="ClientConfig.html#id2577384">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>network interface, <a class="indexterm" href="securing-samba.html#id2618550">Using Interface Protection</a>, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>network logon, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="domain-member.html#id2569122">Features and Benefits</a>, <a class="indexterm" href="ClientConfig.html#id2577911">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>network logon services, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a></dt><dt>network membership, <a class="indexterm" href="ClientConfig.html#id2575569">Technical Details</a></dt><dt>Network Monitor, <a class="indexterm" href="problems.html#id2685381">The Windows Network Monitor</a></dt><dt>Network Monitor Tools and Agent, <a class="indexterm" href="problems.html#id2685441">Installing Network Monitor on an NT Workstation</a></dt><dt>Network Neighborhood, <a class="indexterm" href="NetworkBrowsing.html#id2579723">What Is Browsing?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585107">Problem Resolution</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585529">Behavior of Cross-Subnet Browsing</a>, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a>, <a class="indexterm" href="classicalprinting.html#id2629206">Check Samba for Driver Recognition</a></dt><dt>network neighborhood, <a class="indexterm" href="NetworkBrowsing.html#id2585529">Behavior of Cross-Subnet Browsing</a></dt><dt>network policies, <a class="indexterm" href="PolicyMgmt.html#id2658910">Creating and Managing System Policies</a></dt><dt>network security, <a class="indexterm" href="NT4Migration.html#id2679535">Domain Layout</a></dt><dt>network segment, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a>, <a class="indexterm" href="NT4Migration.html#id2679535">Domain Layout</a></dt><dt>Network settings, <a class="indexterm" href="NetworkBrowsing.html#id2585358">Cross-Subnet Browsing</a></dt><dt>network sniffer, <a class="indexterm" href="passdb.html#id2588360">Advantages of Encrypted Passwords</a></dt><dt>network storage, <a class="indexterm" href="Backup.html#id2671551">BackupPC</a></dt><dt>network traffic, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a></dt><dt>networked workstation, <a class="indexterm" href="winbind.html#id2654066">Name Service Switch</a></dt><dt>networking advocates, <a class="indexterm" href="Backup.html#id2671454">Discussion of Backup Solutions</a></dt><dt>networking environment, <a class="indexterm" href="passdb.html#id2589388">Caution Regarding LDAP and Samba</a></dt><dt>networking systems, <a class="indexterm" href="ClientConfig.html#id2578354">Common Errors</a></dt><dt>networks access, <a class="indexterm" href="speed.html#id2691323">Samba Performance is Very Slow</a></dt><dt>Networks Properties, <a class="indexterm" href="ClientConfig.html#id2577911">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>new account, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>new parameters, <a class="indexterm" href="upgrading-to-3.0.html#id2676994">New Parameters</a></dt><dt>newsgroup, <a class="indexterm" href="bugreport.html#id2686050">Introduction</a></dt><dt>Nexus toolkit, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>Nexus.exe, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#id2570246">Managing Domain Machine Accounts using NT4 Server Manager</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657660">Remote Server Administration</a></dt><dt>NFS, <a class="indexterm" href="domain-member.html#id2573472">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2658207">Remote Management with ThinLinc</a>, <a class="indexterm" href="SambaHA.html#id2672640">The Distributed File System Challenge</a>, <a class="indexterm" href="SambaHA.html#id2672767">Restrictive Constraints on Distributed File Systems</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678922">IdMap LDAP Support</a></dt><dt>NFS clients, <a class="indexterm" href="locking.html#id2616511">UNIX or NFS Client-Accessed Files</a></dt><dt>NIS, <a class="indexterm" href="ServerType.html#id2559461">Share-Level Security</a>, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a>, <a class="indexterm" href="passdb.html#id2593375">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="winbind.html#id2654066">Name Service Switch</a></dt><dt>NIS database, <a class="indexterm" href="winbind.html#id2654298">Pluggable Authentication Modules</a></dt><dt>nmbd, <a class="indexterm" href="install.html#id2552921">Starting Samba</a>, <a class="indexterm" href="install.html#id2553334">Test Your Config File with testparm</a>, <a class="indexterm" href="FastStart.html#id2555235">Secure Read-Write File and Print Server</a>, <a class="indexterm" href="FastStart.html#id2556059">Example Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579723">What Is Browsing?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584910">Browsing Support in Samba</a>, <a class="indexterm" href="NetworkBrowsing.html#id2586398">Flushing the Samba NetBIOS Name Cache</a>, <a class="indexterm" href="idmapper.html#id2605900">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="winbind.html#id2654858">Testing Things Out</a>, <a class="indexterm" href="winbind.html#id2656253">Linux</a>, <a class="indexterm" href="winbind.html#id2656458">Solaris</a>, <a class="indexterm" href="cfgsmarts.html#id2673932">Multiple Server Hosting</a>, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a>, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a>, <a class="indexterm" href="problems.html#id2684931">Debugging with Samba Itself</a>, <a class="indexterm" href="speed.html#id2691227">Corrupt tdb Files</a></dt><dt>nmblookup, <a class="indexterm" href="integrate-ms-networks.html#id2669148">The NetBIOS Name Cache</a>, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>No NetBIOS layer, <a class="indexterm" href="NetworkBrowsing.html#id2580799">TCP/IP without NetBIOS</a></dt><dt>no network logon service, <a class="indexterm" href="StandAloneServer.html#id2574257">Background</a></dt><dt>no printcap file, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>nobody, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>nobody account, <a class="indexterm" href="classicalprinting.html#id2626023">Custom Print Commands</a>, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></dt><dt>node-type, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a></dt><dt>NoMachine, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></dt><dt>NoMachine.Com, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></dt><dt>non-authentication-based account management, <a class="indexterm" href="pam.html#id2665943">Anatomy of /etc/pam.d Entries</a></dt><dt>non-authoritative, <a class="indexterm" href="NetworkBrowsing.html#id2585529">Behavior of Cross-Subnet Browsing</a></dt><dt>non-LDAP</dt><dd><dl><dt>backend, <a class="indexterm" href="samba-bdc.html#id2565803">Features and Benefits</a></dt></dl></dd><dt>non-member Windows client, <a class="indexterm" href="passdb.html#id2588564">Mapping User Identifiers between MS Windows and UNIX</a></dt><dt>non-PostScript, <a class="indexterm" href="CUPS-printing.html#id2635936">CUPS Also Uses PPDs for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2638977">PostScript Printer Descriptions for Non-PostScript Printers</a></dt><dt>non-PostScript printers, <a class="indexterm" href="CUPS-printing.html#id2637005">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2646836">Foomatic Database-Generated PPDs</a></dt><dt>nonhierarchical, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a></dt><dt>nontransitive, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a></dt><dt>normal color, <a class="indexterm" href="CUPS-printing.html#id2638273">The Role of cupsomatic/foomatic</a></dt><dt>normal user, <a class="indexterm" href="NetCommand.html#id2601339">Administering User Rights and Privileges</a></dt><dt>not domain member, <a class="indexterm" href="StandAloneServer.html#id2574257">Background</a></dt><dt>not domain members, <a class="indexterm" href="StandAloneServer.html">Standalone Servers</a></dt><dt>not part of domain, <a class="indexterm" href="NetworkBrowsing.html#id2583862">WINS Server Configuration</a></dt><dt>not stored anywhere, <a class="indexterm" href="passdb.html#id2588360">Advantages of Encrypted Passwords</a></dt><dt>not transitive, <a class="indexterm" href="InterdomainTrusts.html#id2621070">NT4-Style Domain Trusts with Windows 2000</a></dt><dt>Novell, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a>, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a></dt><dt>Novell eDirectory server, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>NSS, <a class="indexterm" href="StandAloneServer.html#id2574257">Background</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2593072">ldapsam</a>, <a class="indexterm" href="passdb.html#id2593375">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2594483">Accounts and Groups Management</a>, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2606598">IDMAP_RID with Winbind</a>, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2653551">What Winbind Provides</a>, <a class="indexterm" href="winbind.html#id2653875">How Winbind Works</a>, <a class="indexterm" href="winbind.html#id2654066">Name Service Switch</a>, <a class="indexterm" href="winbind.html#id2656647">Configure Winbind and PAM</a>, <a class="indexterm" href="winbind.html#id2657317">Conclusion</a></dt><dt>nsswitch.conf, <a class="indexterm" href="ServerType.html#id2559461">Share-Level Security</a></dt><dt>nss_ldap, <a class="indexterm" href="samba-bdc.html#id2568163">Example Configuration</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2607774">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></dt><dt>nss_winbind.so.1, <a class="indexterm" href="winbind.html#id2654945">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>NT domain, <a class="indexterm" href="winbind.html#id2653551">What Winbind Provides</a></dt><dt>NT groups, <a class="indexterm" href="domain-member.html#id2571833">Why Is This Better Than security = server?</a>, <a class="indexterm" href="groupmapping.html#id2597518">Default Users, Groups, and Relative Identifiers</a></dt><dt>NT migration scripts, <a class="indexterm" href="passdb.html#id2593072">ldapsam</a></dt><dt>NT password, <a class="indexterm" href="passdb.html#id2591158">Listing User and Machine Accounts</a></dt><dt>NT Server Manager, <a class="indexterm" href="AccessControls.html#id2613141">Windows NT4 Workstation/Server</a></dt><dt>NT-controlled domain, <a class="indexterm" href="InterdomainTrusts.html#id2620873">Samba as the Trusting Domain</a></dt><dt>NT-encrypted password, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>NT-encrypted passwords, <a class="indexterm" href="passdb.html#id2587285">Backward Compatibility Account Storage Systems</a></dt><dt>NT4, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a></dt><dt>NT4 Domain, <a class="indexterm" href="idmapper.html#id2604493">Standalone Samba Server</a></dt><dt>NT4 domain, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a></dt><dt>NT4 domain members, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a></dt><dt>NT4 style policy updates, <a class="indexterm" href="PolicyMgmt.html#id2659906">Managing Account/User Policies</a></dt><dt>NT4 User Manager for Domains, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a></dt><dt>NT4-style, <a class="indexterm" href="InterdomainTrusts.html#id2621070">NT4-Style Domain Trusts with Windows 2000</a></dt><dt>NT4-style domain, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a></dt><dt>NT4-style domains, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a></dt><dt>Nt4sp6ai.exe, <a class="indexterm" href="PolicyMgmt.html#id2659235">Windows NT4-Style Policy Files</a></dt><dt>NTConfig.POL, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2569122">Features and Benefits</a>, <a class="indexterm" href="PolicyMgmt.html#id2659098">Windows 9x/ME Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2659418">Registry Spoiling</a>, <a class="indexterm" href="PolicyMgmt.html#id2659457">MS Windows 200x/XP Professional Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2659660">Administration of Windows 200x/XP Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2659906">Managing Account/User Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2660146">Samba Editreg Toolset</a>, <a class="indexterm" href="ProfileMgmt.html#id2663529">MS Windows NT4 Workstation</a>, <a class="indexterm" href="NT4Migration.html#id2680625">Samba-3 Implementation Choices</a></dt><dt>ntconfig.pol, <a class="indexterm" href="PolicyMgmt.html#id2659235">Windows NT4-Style Policy Files</a></dt><dt>ntdrivers.tdb, <a class="indexterm" href="classicalprinting.html#prt-modeset">Setting Device Modes on New Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2645458">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>ntforms.tdb, <a class="indexterm" href="classicalprinting.html#prt-modeset">Setting Device Modes on New Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2645458">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>NTFS, <a class="indexterm" href="ChangeNotes.html#id2578662">User and Group Changes</a>, <a class="indexterm" href="AccessControls.html#id2610774">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>NTLMv2, <a class="indexterm" href="securing-samba.html#id2619044">NTLMv2 Security</a></dt><dt>ntlm_auth, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></dt><dt>ntprinters.tdb, <a class="indexterm" href="classicalprinting.html#prt-modeset">Setting Device Modes on New Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2645458">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>NTUser.DAT, <a class="indexterm" href="PolicyMgmt.html#id2660146">Samba Editreg Toolset</a>, <a class="indexterm" href="ProfileMgmt.html#id2663129">Mandatory Profiles</a>, <a class="indexterm" href="NT4Migration.html#id2680625">Samba-3 Implementation Choices</a></dt><dt>NTuser.DAT, <a class="indexterm" href="ProfileMgmt.html#id2662004">Windows NT4 Workstation</a>, <a class="indexterm" href="ProfileMgmt.html#id2662678">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a>, <a class="indexterm" href="NT4Migration.html#id2679977">Profile Migration/Creation</a></dt><dt>NTuser.MAN, <a class="indexterm" href="ProfileMgmt.html#id2662004">Windows NT4 Workstation</a></dt><dt>NTUser.MAN, <a class="indexterm" href="ProfileMgmt.html#id2663129">Mandatory Profiles</a></dt><dt>NT_STATUS_LOGON_FAILURE, <a class="indexterm" href="upgrading-to-3.0.html#id2678073">Changes in Behavior</a></dt><dt>NT_STATUS_UNSUCCESSFUL, <a class="indexterm" href="classicalprinting.html#id2628941">Running rpcclient with adddriver</a></dt><dt>null shell, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a></dt><dt>NX, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></dt></dl></div><div class="indexdiv"><h3>O</h3><dl><dt>object class, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a></dt><dt>object class declaration, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a></dt><dt>object module dependencies, <a class="indexterm" href="winbind.html#id2654945">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>ObjectClass, <a class="indexterm" href="passdb.html#id2593375">Schema and Relationship to the RFC 2307 posixAccount</a></dt><dt>ObjectClasses, <a class="indexterm" href="passdb.html#id2593375">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2593601">OpenLDAP Configuration</a></dt><dt>obtuse complexity, <a class="indexterm" href="NT4Migration.html#id2679736">Server Share and Directory Layout</a></dt><dt>office server, <a class="indexterm" href="FastStart.html#id2555235">Secure Read-Write File and Print Server</a></dt><dt>OID, <a class="indexterm" href="passdb.html#id2593375">Schema and Relationship to the RFC 2307 posixAccount</a></dt><dt>old sambaAccount, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a></dt><dt>Omni, <a class="indexterm" href="CUPS-printing.html#id2646648">Driver Development Outside</a></dt><dt>on the fly, <a class="indexterm" href="domain-member.html#id2570806">Windows NT4 Client</a></dt><dt>on-the-fly, <a class="indexterm" href="idmapper.html#id2605507">Primary Domain Controller</a></dt><dt>on-the-fly logon scripts, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>on-the-fly policy files, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>one direction, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a></dt><dt>one domain, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a></dt><dt>one-way trust, <a class="indexterm" href="InterdomainTrusts.html#id2620323">Interdomain Trust Facilities</a></dt><dt>only one WINS server, <a class="indexterm" href="NetworkBrowsing.html#id2583862">WINS Server Configuration</a></dt><dt>OpenGFS, <a class="indexterm" href="SambaHA.html#id2672640">The Distributed File System Challenge</a></dt><dt>OpenLDAP, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-bdc.html#id2566966">LDAP Configuration Notes</a>, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a>, <a class="indexterm" href="ChangeNotes.html#id2579276">LDAP Changes in Samba-3.0.23</a>, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2593320">Supported LDAP Servers</a>, <a class="indexterm" href="passdb.html#id2593375">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2593601">OpenLDAP Configuration</a>, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>OpenLDAP backend, <a class="indexterm" href="passdb.html#id2587285">Backward Compatibility Account Storage Systems</a></dt><dt>OpenSSL, <a class="indexterm" href="SWAT.html#id2681902">Securing SWAT through SSL</a>, <a class="indexterm" href="ch-ldap-tls.html#s1-config-ldap-tls-certs">Generating the Certificate Authority</a></dt><dt>operating costs, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>operating system search path, <a class="indexterm" href="SWAT.html#id2681334">Locating the SWAT File</a></dt><dt>oplock, <a class="indexterm" href="SambaHA.html#id2672640">The Distributed File System Challenge</a></dt><dt>oplock break, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a>, <a class="indexterm" href="locking.html#id2616704">Beware of Force User</a></dt><dt>oplock handling, <a class="indexterm" href="SambaHA.html#id2672767">Restrictive Constraints on Distributed File Systems</a></dt><dt>oplock mechanism, <a class="indexterm" href="locking.html#id2616792">Advanced Samba Oplocks Parameters</a></dt><dt>oplock messages, <a class="indexterm" href="SambaHA.html#id2672976">Required Modifications to Samba</a></dt><dt>oplock parameters, <a class="indexterm" href="locking.html#id2616792">Advanced Samba Oplocks Parameters</a></dt><dt>oplocks, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>oplocks disabled, <a class="indexterm" href="locking.html#id2616594">Multiuser Databases</a></dt><dt>oplocks management, <a class="indexterm" href="locking.html#id2616635">PDM Data Shares</a></dt><dt>opportunistic locking, <a class="indexterm" href="locking.html#id2615585">Features and Benefits</a>, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>Opportunistic locking, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>optional, <a class="indexterm" href="pam.html#id2665943">Anatomy of /etc/pam.d Entries</a></dt><dt>ordinary connection, <a class="indexterm" href="InterdomainTrusts.html#id2620873">Samba as the Trusting Domain</a></dt><dt>Organization for the Advancement of Structured Information Standards (see OASIS)</dt><dt>organizational directory, <a class="indexterm" href="domain-member.html#ads-create-machine-account">Create the Computer Account</a></dt><dt>organizational unit, <a class="indexterm" href="domain-member.html#ads-create-machine-account">Create the Computer Account</a> (see OU)</dt><dt>os level, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a></dt><dt>OSS/Free Software, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></dt><dt>other, <a class="indexterm" href="AccessControls.html#id2611240">File and Directory Access Control</a></dt><dt>output duplexing, <a class="indexterm" href="CUPS-printing.html#id2637193">pstops</a></dt><dt>outside threat, <a class="indexterm" href="securing-samba.html#id2618336">Using Host-Based Protection</a></dt><dt>own home directory, <a class="indexterm" href="securing-samba.html#id2619187">Why Can Users Access Other Users' Home Directories?</a></dt><dt>ownership, <a class="indexterm" href="AccessControls.html#id2613601">Viewing File Ownership</a></dt><dt>ownership cost, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>ownership rights, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a></dt></dl></div><div class="indexdiv"><h3>P</h3><dl><dt>p-node, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a></dt><dt>package, <a class="indexterm" href="install.html#id2553100">Example Configuration</a></dt><dt>packages, <a class="indexterm" href="install.html#id2551936">Obtaining and Installing Samba</a></dt><dt>packet sniffer, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a></dt><dt>packet trace, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a></dt><dt>PADL, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2607189">IDMAP Storage in LDAP Using Winbind</a></dt><dt>PADL Software, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a></dt><dt>page description languages (see PDL)</dt><dt>pager program, <a class="indexterm" href="classicalprinting.html#id2622641">Simple Print Configuration</a></dt><dt>page_log, <a class="indexterm" href="CUPS-printing.html#id2647706">The page_log File Syntax</a></dt><dt>paid-for support, <a class="indexterm" href="ch47.html">Samba Support</a></dt><dt>PAM, <a class="indexterm" href="StandAloneServer.html#id2574257">Background</a>, <a class="indexterm" href="passdb.html#id2587285">Backward Compatibility Account Storage Systems</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2592572">Plaintext</a>, <a class="indexterm" href="passdb.html#id2593072">ldapsam</a>, <a class="indexterm" href="winbind.html#id2653875">How Winbind Works</a>, <a class="indexterm" href="winbind.html#id2654298">Pluggable Authentication Modules</a>, <a class="indexterm" href="winbind.html#id2654706">Requirements</a>, <a class="indexterm" href="winbind.html#id2654858">Testing Things Out</a>, <a class="indexterm" href="winbind.html#id2654945">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a>, <a class="indexterm" href="winbind.html#id2656647">Configure Winbind and PAM</a>, <a class="indexterm" href="winbind.html#id2657317">Conclusion</a>, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a>, <a class="indexterm" href="pam.html#id2665810">Technical Discussion</a></dt><dt>PAM authentication module, <a class="indexterm" href="pam.html#id2665864">PAM Configuration Syntax</a></dt><dt>PAM configuration, <a class="indexterm" href="winbind.html#id2654706">Requirements</a></dt><dt>PAM management, <a class="indexterm" href="pam.html">PAM-Based Distributed Authentication</a></dt><dt>PAM module, <a class="indexterm" href="winbind.html#id2655343">NSS Winbind on AIX</a></dt><dt>PAM modules, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>PAM-capable, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>pam-devel, <a class="indexterm" href="winbind.html#id2654945">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>PAM-enabled, <a class="indexterm" href="winbind.html#id2653551">What Winbind Provides</a>, <a class="indexterm" href="pam.html">PAM-Based Distributed Authentication</a>, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>PAM-specific tokens, <a class="indexterm" href="pam.html#id2665864">PAM Configuration Syntax</a></dt><dt>pam_krb5.so, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>pam_ldap, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a></dt><dt>pam_ldap.so, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>pam_mkhomedir, <a class="indexterm" href="winbind.html#id2656813">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>pam_ncp_auth.so, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>pam_pwdb.so, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>pam_securetty.so, <a class="indexterm" href="winbind.html#id2656813">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>pam_smbpass.so, <a class="indexterm" href="pam.html">PAM-Based Distributed Authentication</a>, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>pam_smbpasswd.so, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>pam_smb_auth.so, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>pam_unix.so, <a class="indexterm" href="winbind.html#id2656813">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>pam_unix2.so, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>pam_userdb.so, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>pam_winbind.so, <a class="indexterm" href="winbind.html#id2654298">Pluggable Authentication Modules</a>, <a class="indexterm" href="winbind.html#id2656647">Configure Winbind and PAM</a>, <a class="indexterm" href="winbind.html#id2656813">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>parameters, <a class="indexterm" href="classicalprinting.html#id2623122">Rapid Configuration Validation</a></dt><dt>paranoid, <a class="indexterm" href="winbind.html#id2655892">Starting and Testing the winbindd Daemon</a></dt><dt>passdb, <a class="indexterm" href="samba-bdc.html#id2568664">Machine Accounts Keep Expiring</a></dt><dt>passdb backend, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a>, <a class="indexterm" href="ChangeNotes.html#id2579156">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#id2589966">The smbpasswd Tool</a>, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a>, <a class="indexterm" href="passdb.html#id2591481">Deleting Accounts</a>, <a class="indexterm" href="passdb.html#id2592915">tdbsam</a>, <a class="indexterm" href="groupmapping.html#id2597518">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2605507">Primary Domain Controller</a>, <a class="indexterm" href="rights.html#id2609893">The Administrator Domain SID</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678757">New Suffix for Searching</a></dt><dt>passdb backends, <a class="indexterm" href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></dt><dt>passed across the network, <a class="indexterm" href="passdb.html#id2588360">Advantages of Encrypted Passwords</a></dt><dt>passwd, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2589966">The smbpasswd Tool</a>, <a class="indexterm" href="winbind.html#id2654066">Name Service Switch</a>, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>password, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a>, <a class="indexterm" href="InterdomainTrusts.html#id2620873">Samba as the Trusting Domain</a>, <a class="indexterm" href="pam.html#id2665943">Anatomy of /etc/pam.d Entries</a></dt><dd><dl><dt>plaintext, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a></dt></dl></dd><dt>password aging, <a class="indexterm" href="passdb.html#acctmgmttools">Account Management Tools</a></dt><dt>password assigned, <a class="indexterm" href="InterdomainTrusts.html#id2620238">Completing an NT4 Domain Trust</a></dt><dt>password backend, <a class="indexterm" href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a>, <a class="indexterm" href="passdb.html#id2591158">Listing User and Machine Accounts</a></dt><dt>password backends, <a class="indexterm" href="passdb.html">Account Information Databases</a></dt><dt>password change facility, <a class="indexterm" href="SWAT.html#xinetd">Enabling SWAT for Use</a></dt><dt>password database, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a>, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>password encryption, <a class="indexterm" href="passdb.html#id2592572">Plaintext</a></dt><dt>password expiration, <a class="indexterm" href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a></dt><dt>password expired, <a class="indexterm" href="passdb.html#id2591566">Changing User Accounts</a></dt><dt>password history, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></dt><dt>password management, <a class="indexterm" href="winbind.html#id2654298">Pluggable Authentication Modules</a></dt><dt>password prompt, <a class="indexterm" href="passdb.html#id2588360">Advantages of Encrypted Passwords</a></dt><dt>password scheme, <a class="indexterm" href="passdb.html#id2588044">Important Notes About Security</a></dt><dt>password server, <a class="indexterm" href="ServerType.html#id2560291">Server Security (User Level Security)</a>, <a class="indexterm" href="domain-member.html#id2572115">Configure smb.conf</a></dt><dt>password uniqueness, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></dt><dt>passwords, <a class="indexterm" href="winbind.html#id2653461">Introduction</a></dt><dt>patch, <a class="indexterm" href="bugreport.html#id2686836">Patches</a></dt><dt>path specified, <a class="indexterm" href="domain-member.html#id2573794">Adding Machine to Domain Fails</a></dt><dt>pauses, <a class="indexterm" href="speed.html#id2691323">Samba Performance is Very Slow</a></dt><dt>PBM, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt><dt>PCL, <a class="indexterm" href="CUPS-printing.html#gdipost">GDI on Windows, PostScript on UNIX</a>, <a class="indexterm" href="CUPS-printing.html#id2635042">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2635220">UNIX Printfile Conversion and GUI Basics</a>, <a class="indexterm" href="CUPS-printing.html#id2640148">Printing with Interface Scripts</a>, <a class="indexterm" href="CUPS-printing.html#id2640393">Driver Execution on the Server</a>, <a class="indexterm" href="CUPS-printing.html#id2640785">Network PostScript RIP</a></dt><dt>pdbedit, <a class="indexterm" href="FastStart.html#id2556907">Example: Engineering Office</a>, <a class="indexterm" href="passdb.html#acctmgmttools">Account Management Tools</a>, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a>, <a class="indexterm" href="passdb.html#id2591042">User Account Management</a>, <a class="indexterm" href="passdb.html#id2591158">Listing User and Machine Accounts</a>, <a class="indexterm" href="passdb.html#id2591394">Adding User Accounts</a>, <a class="indexterm" href="passdb.html#id2591481">Deleting Accounts</a>, <a class="indexterm" href="passdb.html#id2591566">Changing User Accounts</a>, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a>, <a class="indexterm" href="passdb.html#id2592394">Account Import/Export</a>, <a class="indexterm" href="rights.html#id2609893">The Administrator Domain SID</a>, <a class="indexterm" href="PolicyMgmt.html#id2660268">Samba PDC</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2676324">Quick Migration Guide</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678169">Passdb Backends and Authentication</a>, <a class="indexterm" href="NT4Migration.html#id2680070">Steps in Migration Process</a>, <a class="indexterm" href="NT4Migration.html#id2680625">Samba-3 Implementation Choices</a></dt><dt>pdb_ldap, <a class="indexterm" href="samba-bdc.html#id2568879">Can I Do This All with LDAP?</a></dt><dt>PDC, <a class="indexterm" href="ServerType.html#id2559653">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="ServerType.html#id2559868">Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a>, <a class="indexterm" href="samba-pdc.html#id2564926">Security Mode and Master Browsers</a>, <a class="indexterm" href="samba-bdc.html#id2565803">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2566715">Example PDC Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2566966">LDAP Configuration Notes</a>, <a class="indexterm" href="samba-bdc.html#id2567390">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2568163">Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2568719">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="domain-member.html#id2571833">Why Is This Better Than security = server?</a>, <a class="indexterm" href="domain-member.html#id2573794">Adding Machine to Domain Fails</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2582305">Domain Browsing Configuration</a>, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2588360">Advantages of Encrypted Passwords</a>, <a class="indexterm" href="passdb.html#id2592915">tdbsam</a>, <a class="indexterm" href="passdb.html#id2594832">LDAP Special Attributes for sambaSamAccounts</a>, <a class="indexterm" href="groupmapping.html#id2596307">Discussion</a>, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2605507">Primary Domain Controller</a>, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a>, <a class="indexterm" href="InterdomainTrusts.html#id2620873">Samba as the Trusting Domain</a>, <a class="indexterm" href="CUPS-printing.html#id2643152">cupsaddsmb with a Samba PDC</a>, <a class="indexterm" href="winbind.html#id2653749">Handling of Foreign SIDs</a>, <a class="indexterm" href="winbind.html#id2653925">Microsoft Remote Procedure Calls</a>, <a class="indexterm" href="winbind.html#id2654298">Pluggable Authentication Modules</a>, <a class="indexterm" href="winbind.html#id2654529">Result Caching</a>, <a class="indexterm" href="winbind.html#id2654592">Introduction</a>, <a class="indexterm" href="winbind.html#id2655654">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="winbind.html#id2655892">Starting and Testing the winbindd Daemon</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a>, <a class="indexterm" href="NT4Migration.html#id2679535">Domain Layout</a>, <a class="indexterm" href="problems.html#id2685744">Getting Mailing List Help</a>, <a class="indexterm" href="speed.html#id2691227">Corrupt tdb Files</a></dt><dt>PDF, <a class="indexterm" href="CUPS-printing.html#id2633517">Simple smb.conf Settings for CUPS</a>, <a class="indexterm" href="CUPS-printing.html#id2635042">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2635733">PostScript Printer Description (PPD) Specification</a>, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2637005">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2639597">Examples for Filtering Chains</a></dt><dt>pdf, <a class="indexterm" href="CUPS-printing.html#id2636640">MIME Type Conversion Rules</a></dt><dt>PDF distilling, <a class="indexterm" href="CUPS-printing.html#id2635733">PostScript Printer Description (PPD) Specification</a></dt><dt>PDF filter, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>pdftops, <a class="indexterm" href="CUPS-printing.html#id2636640">MIME Type Conversion Rules</a>, <a class="indexterm" href="CUPS-printing.html#id2639597">Examples for Filtering Chains</a></dt><dt>pdftosocket, <a class="indexterm" href="CUPS-printing.html#id2639597">Examples for Filtering Chains</a></dt><dt>PDL, <a class="indexterm" href="CUPS-printing.html#gdipost">GDI on Windows, PostScript on UNIX</a>, <a class="indexterm" href="CUPS-printing.html#post-and-ghost">PostScript and Ghostscript</a>, <a class="indexterm" href="CUPS-printing.html#id2635733">PostScript Printer Description (PPD) Specification</a></dt><dt>PDM, <a class="indexterm" href="locking.html#id2616635">PDM Data Shares</a></dt><dt>peer domain, <a class="indexterm" href="InterdomainTrusts.html#id2620532">Configuring Samba NT-Style Domain Trusts</a></dt><dt>Peer node, <a class="indexterm" href="NetworkBrowsing.html#id2584236">Static WINS Entries</a></dt><dt>per-share access control, <a class="indexterm" href="AccessControls.html#id2612982">Access Controls on Shares</a></dt><dt>performance, <a class="indexterm" href="largefile.html">Handling Large Directories</a>, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>performance advantage, <a class="indexterm" href="locking.html#id2615585">Features and Benefits</a></dt><dt>performance degradation, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>performance enhancement, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>performance improvement, <a class="indexterm" href="locking.html#id2616546">Slow and/or Unreliable Networks</a></dt><dt>performance-based, <a class="indexterm" href="passdb.html#id2592915">tdbsam</a></dt><dt>performed as root, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a></dt><dt>perimeter firewall, <a class="indexterm" href="securing-samba.html#id2618174">Features and Benefits</a></dt><dt>permanent changes, <a class="indexterm" href="NT4Migration.html#id2680625">Samba-3 Implementation Choices</a></dt><dt>Permanent name, <a class="indexterm" href="NetworkBrowsing.html#id2584236">Static WINS Entries</a></dt><dt>permissions, <a class="indexterm" href="securing-samba.html#id2619187">Why Can Users Access Other Users' Home Directories?</a>, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dd><dl><dt>file/directory ACLs, <a class="indexterm" href="AccessControls.html#id2613483">Managing UNIX Permissions Using NT Security Dialogs</a></dt><dt>share, <a class="indexterm" href="AccessControls.html#id2611906">Share Definition Access Controls</a></dt><dt>share ACLs, <a class="indexterm" href="AccessControls.html#id2612982">Access Controls on Shares</a></dt><dt>UNIX file and directory, <a class="indexterm" href="AccessControls.html#id2610573">Features and Benefits</a></dt></dl></dd><dt>Permissions, <a class="indexterm" href="AccessControls.html#id2613247">Windows 200x/XP</a></dt><dt>permissions and controls, <a class="indexterm" href="AccessControls.html#id2610573">Features and Benefits</a></dt><dt>PGP, <a class="indexterm" href="compiling.html#id2687884">Verifying Samba's PGP Signature</a></dt><dt>phasing out NetBIOS, <a class="indexterm" href="NetworkBrowsing.html#netdiscuss">Discussion</a></dt><dt>Photo-CD, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt><dt>physical locations, <a class="indexterm" href="msdfs.html#id2621456">Features and Benefits</a></dt><dt>physical network transport layer, <a class="indexterm" href="integrate-ms-networks.html#id2668313">/etc/hosts</a></dt><dt>PID, <a class="indexterm" href="bugreport.html#id2686710">Attaching to a Running Process</a></dt><dt>pid directory, <a class="indexterm" href="cfgsmarts.html#id2673932">Multiple Server Hosting</a></dt><dt>ping, <a class="indexterm" href="NT4Migration.html#id2679535">Domain Layout</a>, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>pipe device, <a class="indexterm" href="AccessControls.html#id2611240">File and Directory Access Control</a></dt><dt>PJL, <a class="indexterm" href="CUPS-printing.html#id2640785">Network PostScript RIP</a>, <a class="indexterm" href="CUPS-printing.html#id2642336">Windows CUPS PostScript Driver Versus Adobe Driver</a>, <a class="indexterm" href="CUPS-printing.html#id2647565">Adobe and CUPS PostScript Drivers for Windows Clients</a></dt><dt>PJL-header, <a class="indexterm" href="CUPS-printing.html#id2647565">Adobe and CUPS PostScript Drivers for Windows Clients</a></dt><dt>plague network users, <a class="indexterm" href="ClientConfig.html#id2575613">TCP/IP Configuration</a></dt><dt>plain-text</dt><dd><dl><dt>passwords, <a class="indexterm" href="ServerType.html#id2560566">Password Checking</a></dt></dl></dd><dt>plaintext, <a class="indexterm" href="passdb.html#id2587285">Backward Compatibility Account Storage Systems</a></dt><dt>plaintext authentication, <a class="indexterm" href="passdb.html#id2587285">Backward Compatibility Account Storage Systems</a></dt><dt>plaintext password, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="samba-bdc.html#id2568774">How Do I Replicate the smbpasswd File?</a></dt><dt>plaintext passwords, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a>, <a class="indexterm" href="passdb.html#id2588044">Important Notes About Security</a></dt><dt>platforms, <a class="indexterm" href="Portability.html">Portability</a></dt><dt>PLP, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>Pluggable Authentication Modules (see PAM)</dt><dt>PNG, <a class="indexterm" href="CUPS-printing.html#id2635579">Ghostscript: The Software RIP for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt><dt>PNM, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt><dt>point 'n' print, <a class="indexterm" href="CUPS-printing.html#id2634441">Installation of Windows Client Drivers</a>, <a class="indexterm" href="CUPS-printing.html#id2642554">Run cupsaddsmb (Quiet Mode)</a>, <a class="indexterm" href="CUPS-printing.html#id2644357">Manual Driver Installation in 15 Steps</a></dt><dt>Point'n'Print, <a class="indexterm" href="classicalprinting.html#id2622106">Features and Benefits</a>, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a>, <a class="indexterm" href="classicalprinting.html#id2626693">Point'n'Print Client Drivers on Samba Servers</a>, <a class="indexterm" href="classicalprinting.html#id2628804">smbclient to Confirm Driver Installation</a></dt><dt>point'n'print, <a class="indexterm" href="CUPS-printing.html#id2634728">Driver Upload Methods</a>, <a class="indexterm" href="CUPS-printing.html#id2638273">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2643314">Installing the PostScript Driver on a Client</a></dt><dt>Poledit, <a class="indexterm" href="PolicyMgmt.html#id2659660">Administration of Windows 200x/XP Policies</a></dt><dt>poledit.exe, <a class="indexterm" href="PolicyMgmt.html#id2658910">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2659235">Windows NT4-Style Policy Files</a>, <a class="indexterm" href="PolicyMgmt.html#id2659660">Administration of Windows 200x/XP Policies</a></dt><dt>Policies, <a class="indexterm" href="PolicyMgmt.html#id2658910">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2659906">Managing Account/User Policies</a></dt><dt>policies, <a class="indexterm" href="NT4Migration.html#id2680625">Samba-3 Implementation Choices</a></dt><dt>policy editor, <a class="indexterm" href="PolicyMgmt.html#id2658910">Creating and Managing System Policies</a></dt><dt>Policy Editor, <a class="indexterm" href="PolicyMgmt.html#id2659235">Windows NT4-Style Policy Files</a></dt><dt>policy file , <a class="indexterm" href="PolicyMgmt.html#id2659906">Managing Account/User Policies</a></dt><dt>policy files, <a class="indexterm" href="domain-member.html#id2569122">Features and Benefits</a></dt><dt>policy settings, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a></dt><dt>port 135, <a class="indexterm" href="NetworkBrowsing.html#id2583172">Multiple Interfaces</a></dt><dt>Port 135/TCP, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>port 137, <a class="indexterm" href="NetworkBrowsing.html#id2583172">Multiple Interfaces</a>, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>Port 137/UDP, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>port 138, <a class="indexterm" href="NetworkBrowsing.html#id2583172">Multiple Interfaces</a></dt><dt>Port 138/UDP, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>port 139, <a class="indexterm" href="NetworkBrowsing.html#id2583172">Multiple Interfaces</a></dt><dt>Port 139/TCP, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>port 445, <a class="indexterm" href="NetworkBrowsing.html#id2583172">Multiple Interfaces</a></dt><dt>Port 445/TCP, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>ports, <a class="indexterm" href="classicalprinting.html#id2622925">Verifying Configuration with testparm</a>, <a class="indexterm" href="problems.html#id2685238">Ethereal</a></dt><dt>POSIX, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a>, <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2594483">Accounts and Groups Management</a>, <a class="indexterm" href="NetCommand.html#id2599600">Adding or Creating a New Group</a></dt><dt>POSIX account, <a class="indexterm" href="passdb.html#id2591042">User Account Management</a>, <a class="indexterm" href="NetCommand.html#id2600928">UNIX and Windows User Management</a></dt><dt>POSIX ACLs, <a class="indexterm" href="AccessControls.html#id2611240">File and Directory Access Control</a>, <a class="indexterm" href="AccessControls.html#id2611652">Protecting Directories and Files from Deletion</a></dt><dt>POSIX ACLS, <a class="indexterm" href="NT4Migration.html#id2680625">Samba-3 Implementation Choices</a></dt><dt>POSIX identity, <a class="indexterm" href="passdb.html#id2589388">Caution Regarding LDAP and Samba</a></dt><dt>POSIX locks, <a class="indexterm" href="SambaHA.html#id2672836">Server Pool Communications</a></dt><dt>POSIX semantics, <a class="indexterm" href="SambaHA.html#id2672836">Server Pool Communications</a></dt><dt>POSIX user accounts, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a></dt><dt>posixAccount, <a class="indexterm" href="passdb.html#id2593375">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2593601">OpenLDAP Configuration</a></dt><dt>posixGroup, <a class="indexterm" href="passdb.html#id2593601">OpenLDAP Configuration</a>, <a class="indexterm" href="passdb.html#id2594483">Accounts and Groups Management</a></dt><dt>PostScript, <a class="indexterm" href="CUPS-printing.html#id2633517">Simple smb.conf Settings for CUPS</a>, <a class="indexterm" href="CUPS-printing.html#id2634850">Advanced Intelligent Printing with PostScript Driver Download</a>, <a class="indexterm" href="CUPS-printing.html#gdipost">GDI on Windows, PostScript on UNIX</a>, <a class="indexterm" href="CUPS-printing.html#id2635042">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2635220">UNIX Printfile Conversion and GUI Basics</a>, <a class="indexterm" href="CUPS-printing.html#post-and-ghost">PostScript and Ghostscript</a>, <a class="indexterm" href="CUPS-printing.html#id2635733">PostScript Printer Description (PPD) Specification</a>, <a class="indexterm" href="CUPS-printing.html#id2635816">Using Windows-Formatted Vendor PPDs</a>, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2637005">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2637193">pstops</a>, <a class="indexterm" href="CUPS-printing.html#id2638977">PostScript Printer Descriptions for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2639597">Examples for Filtering Chains</a>, <a class="indexterm" href="CUPS-printing.html#id2640393">Driver Execution on the Server</a>, <a class="indexterm" href="CUPS-printing.html#id2640785">Network PostScript RIP</a>, <a class="indexterm" href="CUPS-printing.html#id2641059">CUPS: A Magical Stone?</a>, <a class="indexterm" href="CUPS-printing.html#id2641102">PostScript Drivers with No Major Problems, Even in Kernel6 Mode</a>, <a class="indexterm" href="CUPS-printing.html#id264 1591">CUPS PostScript Driver for Windows NT/200x/XP</a></dt><dd><dl><dt>(see also Ghostscript)</dt><dt>RIP, <a class="indexterm" href="CUPS-printing.html#post-and-ghost">PostScript and Ghostscript</a></dt></dl></dd><dt>PostScript driver, <a class="indexterm" href="classicalprinting.html#id2628585">Installing Driver Files into [print$]</a></dt><dt>PostScript interpreter, <a class="indexterm" href="CUPS-printing.html#post-and-ghost">PostScript and Ghostscript</a></dt><dt>PostScript Printer Description (see PPD)</dt><dt>PostScript printers, <a class="indexterm" href="CUPS-printing.html#id2648535">Printing from CUPS to Windows-Attached Printers</a></dt><dt>potential master browsers, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>potential printer, <a class="indexterm" href="classicalprinting.html#id2627200">[print$] Stanza Parameters</a></dt><dt>Power Users, <a class="indexterm" href="rights.html#id2610076">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>powerful, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a></dt><dt>PPD, <a class="indexterm" href="classicalprinting.html#id2628585">Installing Driver Files into [print$]</a>, <a class="indexterm" href="CUPS-printing.html#post-and-ghost">PostScript and Ghostscript</a>, <a class="indexterm" href="CUPS-printing.html#id2635733">PostScript Printer Description (PPD) Specification</a>, <a class="indexterm" href="CUPS-printing.html#id2635936">CUPS Also Uses PPDs for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2638590">Raw Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2638977">PostScript Printer Descriptions for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2640876">PPDs for Non-PS Printers on UNIX</a>, <a class="indexterm" href="CUPS-printing.html#id2640920">PPDs for Non-PS Printers on Windows</a>, <a class="indexterm" href="CUPS-printing.html#id2641059">CUPS: A Magical Stone?</a>, <a class="indexterm" href="CUPS-printing.html#id2643314">Installing the PostScript Driver on a Client</a>, <a class="indexterm" href="CUPS-printing.html#id2647565">Adobe and CUPS PostScript Drivers for Windows Clients</a>, <a class="indexterm" href="CUPS-printing.html#id2648535">Printing from CUPS to Windows-Attached Printers</a></dt><dd><dl><dt>CUPS (see CUPS-PPD)</dt></dl></dd><dt>PPD-aware, <a class="indexterm" href="CUPS-printing.html#post-and-ghost">PostScript and Ghostscript</a></dt><dt>PPDs, <a class="indexterm" href="CUPS-printing.html#id2635816">Using Windows-Formatted Vendor PPDs</a>, <a class="indexterm" href="CUPS-printing.html#id2638273">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2646520">The Grand Unification Achieved</a></dt><dt>PPP, <a class="indexterm" href="securing-samba.html#id2618550">Using Interface Protection</a></dt><dt>precedence, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>preferred master, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a></dt><dt>prefilter, <a class="indexterm" href="CUPS-printing.html#id2637630">imagetops and imagetoraster</a></dt><dt>prefilters, <a class="indexterm" href="CUPS-printing.html#id2637005">Prefilters</a></dt><dt>primary domain controller, <a class="indexterm" href="cfgsmarts.html#id2675343">Multiple Virtual Server Hosting</a></dt><dt>primary group, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a></dt><dt>Primary Logon, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a></dt><dt>Primary WINS Server, <a class="indexterm" href="NetworkBrowsing.html#id2583862">WINS Server Configuration</a></dt><dt>print, <a class="indexterm" href="classicalprinting.html#id2622925">Verifying Configuration with testparm</a></dt><dd><dl><dt>queue, <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a></dt><dt>spooler, <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a></dt></dl></dd><dt>print accounting, <a class="indexterm" href="classicalprinting.html#id2622106">Features and Benefits</a></dt><dt>print command, <a class="indexterm" href="classicalprinting.html#id2625403">Print Commands</a></dt><dt>print commands, <a class="indexterm" href="classicalprinting.html#id2626023">Custom Print Commands</a></dt><dt>print configuration, <a class="indexterm" href="classicalprinting.html#id2622330">Technical Introduction</a>, <a class="indexterm" href="classicalprinting.html#id2622925">Verifying Configuration with testparm</a></dt><dt>print environment, <a class="indexterm" href="classicalprinting.html#id2622641">Simple Print Configuration</a></dt><dt>print filtering, <a class="indexterm" href="classicalprinting.html#id2622330">Technical Introduction</a></dt><dt>print job, <a class="indexterm" href="classicalprinting.html#id2626023">Custom Print Commands</a></dt><dt>print jobs, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>print processing, <a class="indexterm" href="classicalprinting.html#id2622330">Technical Introduction</a></dt><dt>print queue, <a class="indexterm" href="classicalprinting.html#id2626693">Point'n'Print Client Drivers on Samba Servers</a>, <a class="indexterm" href="classicalprinting.html#id2628804">smbclient to Confirm Driver Installation</a>, <a class="indexterm" href="classicalprinting.html#id2629434">Specific Driver Name Flexibility</a>, <a class="indexterm" href="CUPS-printing.html#id2637934">CUPS Backends</a></dt><dt>print quota, <a class="indexterm" href="CUPS-printing.html#id2634850">Advanced Intelligent Printing with PostScript Driver Download</a></dt><dt>print server, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="classicalprinting.html#id2622106">Features and Benefits</a></dt><dt>print service, <a class="indexterm" href="classicalprinting.html#id2622106">Features and Benefits</a></dt><dt>print spooling, <a class="indexterm" href="winbind.html#id2653925">Microsoft Remote Procedure Calls</a></dt><dt>print spooling system, <a class="indexterm" href="CUPS-printing.html#id2633034">Overview</a></dt><dt>print statistics, <a class="indexterm" href="CUPS-printing.html#id2634850">Advanced Intelligent Printing with PostScript Driver Download</a></dt><dt>print subsystem, <a class="indexterm" href="classicalprinting.html#id2622330">Technical Introduction</a>, <a class="indexterm" href="classicalprinting.html#id2625403">Print Commands</a></dt><dt>print test page, <a class="indexterm" href="classicalprinting.html#id2629706">First Client Driver Installation</a></dt><dt>printcap, <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a>, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a>, <a class="indexterm" href="classicalprinting.html#ptrsect">The [printers] Section</a></dt><dt>Printcap, <a class="indexterm" href="CUPS-printing.html#id2633153">Basic CUPS Support Configuration</a></dt><dt>printcap name, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>PrintcapFormat, <a class="indexterm" href="CUPS-printing.html#id2633153">Basic CUPS Support Configuration</a></dt><dt>printer attributes publishing, <a class="indexterm" href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></dt><dt>printer default permissions, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>printer driver, <a class="indexterm" href="classicalprinting.html#id2626862">The Obsoleted [printer$] Section</a>, <a class="indexterm" href="classicalprinting.html#id2626984">Creating the [print$] Share</a>, <a class="indexterm" href="CUPS-printing.html#id2633517">Simple smb.conf Settings for CUPS</a></dt><dt>printer driver data, <a class="indexterm" href="classicalprinting.html#prt-modeset">Setting Device Modes on New Printers</a></dt><dt>printer driver file, <a class="indexterm" href="classicalprinting.html#id2626862">The Obsoleted [printer$] Section</a></dt><dt>printer driver files, <a class="indexterm" href="classicalprinting.html#id2628804">smbclient to Confirm Driver Installation</a></dt><dt>printer drivers, <a class="indexterm" href="classicalprinting.html#id2626693">Point'n'Print Client Drivers on Samba Servers</a>, <a class="indexterm" href="CUPS-printing.html#id2646520">The Grand Unification Achieved</a></dt><dt>printer icon, <a class="indexterm" href="classicalprinting.html#id2629206">Check Samba for Driver Recognition</a></dt><dt>printer management, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a></dt><dt>printer management system, <a class="indexterm" href="CUPS-printing.html#id2633034">Overview</a></dt><dt>printer migration, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a></dt><dt>printer monitor, <a class="indexterm" href="speed.html#id2691323">Samba Performance is Very Slow</a></dt><dt>printer objects, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>Printer Pooling, <a class="indexterm" href="classicalprinting.html#id2631890">Samba and Printer Ports</a></dt><dt>printer queue, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>printer share, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>printer shares , <a class="indexterm" href="classicalprinting.html#id2622925">Verifying Configuration with testparm</a>, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>printer$ share, <a class="indexterm" href="classicalprinting.html#id2626862">The Obsoleted [printer$] Section</a></dt><dt>printers, <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a>, <a class="indexterm" href="StandAloneServer.html#id2574163">Features and Benefits</a></dt><dt>Printers, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>printers admin, <a class="indexterm" href="rights.html#id2609072">Description of Privileges</a></dt><dt>Printers and Faxes, <a class="indexterm" href="classicalprinting.html#id2629206">Check Samba for Driver Recognition</a></dt><dt>printers available, <a class="indexterm" href="NetworkBrowsing.html#id2579723">What Is Browsing?</a></dt><dt>printers section, <a class="indexterm" href="classicalprinting.html#ptrsect">The [printers] Section</a></dt><dt>printing, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>printing behavior, <a class="indexterm" href="classicalprinting.html#id2622540">Printing-Related Configuration Parameters</a></dt><dt>printing calls, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>printing now, <a class="indexterm" href="speed.html#id2691323">Samba Performance is Very Slow</a></dt><dt>printing support, <a class="indexterm" href="classicalprinting.html#id2622106">Features and Benefits</a>, <a class="indexterm" href="classicalprinting.html#id2622330">Technical Introduction</a></dt><dt>printing system, <a class="indexterm" href="classicalprinting.html#id2622330">Technical Introduction</a></dt><dt>printing systems, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a></dt><dt>printing-related settings, <a class="indexterm" href="classicalprinting.html#id2622925">Verifying Configuration with testparm</a></dt><dt>printing.tdb, <a class="indexterm" href="classicalprinting.html#prt-modeset">Setting Device Modes on New Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2645458">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>PrintPro (see ESP Print Pro)</dt><dt>private dir, <a class="indexterm" href="cfgsmarts.html#id2673932">Multiple Server Hosting</a></dt><dt>private groups, <a class="indexterm" href="groupmapping.html#id2596644">Warning: User Private Group Problems</a></dt><dt>private key, <a class="indexterm" href="SWAT.html#id2681902">Securing SWAT through SSL</a></dt><dt>private network, <a class="indexterm" href="securing-samba.html#id2618075">Introduction</a></dt><dt>private networks, <a class="indexterm" href="securing-samba.html#id2618336">Using Host-Based Protection</a></dt><dt>private/MACHINE.SID, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a></dt><dt>private/secrets.tdb, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a></dt><dt>privilege, <a class="indexterm" href="groupmapping.html#id2597396">Applicable Only to Versions Earlier than 3.0.11</a>, <a class="indexterm" href="rights.html#id2609072">Description of Privileges</a></dt><dt>privilege management, <a class="indexterm" href="groupmapping.html#id2597278">Important Administrative Information</a>, <a class="indexterm" href="NetCommand.html#id2601339">Administering User Rights and Privileges</a></dt><dt>privilege model, <a class="indexterm" href="rights.html#id2608451">Rights Management Capabilities</a></dt><dt>privilege-granting applications, <a class="indexterm" href="pam.html#id2665810">Technical Discussion</a></dt><dt>privileged accounts, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a></dt><dt>privileges, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a>, <a class="indexterm" href="domain-member.html#id2570643">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="groupmapping.html#id2597396">Applicable Only to Versions Earlier than 3.0.11</a>, <a class="indexterm" href="rights.html#id2608451">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2609072">Description of Privileges</a>, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a>, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>privileges assigned, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a></dt><dt>problem report, <a class="indexterm" href="ch47.html#id2692514">Free Support</a></dt><dt>problem resolution, <a class="indexterm" href="ch47.html">Samba Support</a></dt><dt>problematic print, <a class="indexterm" href="classicalprinting.html#id2622330">Technical Introduction</a></dt><dt>Process data management, <a class="indexterm" href="locking.html#id2616635">PDM Data Shares</a></dt><dt>professional support, <a class="indexterm" href="ch47.html#id2692514">Free Support</a></dt><dt>profile, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a></dt><dt>profile access rights, <a class="indexterm" href="ProfileMgmt.html#id2663269">Creating and Managing Group Profiles</a></dt><dt>profile contents, <a class="indexterm" href="ProfileMgmt.html#id2662678">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></dt><dt>profile directory, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a></dt><dt>profile migration tool, <a class="indexterm" href="ProfileMgmt.html#id2663269">Creating and Managing Group Profiles</a></dt><dt>profile path, <a class="indexterm" href="samba-bdc.html#id2566715">Example PDC Configuration</a>, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a>, <a class="indexterm" href="ProfileMgmt.html#id2662004">Windows NT4 Workstation</a></dt><dt>profile sharing, <a class="indexterm" href="ProfileMgmt.html#id2662678">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></dt><dt>Profile Type, <a class="indexterm" href="ProfileMgmt.html#id2661076">Disabling Roaming Profile Support</a></dt><dt>ProfilePath, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a></dt><dt>profiles, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a></dt><dt>Profiles, <a class="indexterm" href="PolicyMgmt.html#id2658910">Creating and Managing System Policies</a></dt><dt>project, <a class="indexterm" href="ch47.html#id2692514">Free Support</a></dt><dt>promiscuous mode, <a class="indexterm" href="problems.html#id2685381">The Windows Network Monitor</a></dt><dt>promote, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a></dt><dt>promoted, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a></dt><dt>propagate, <a class="indexterm" href="samba-bdc.html#id2565803">Features and Benefits</a></dt><dt>Properties, <a class="indexterm" href="ClientConfig.html#id2576878">MS Windows Me</a>, <a class="indexterm" href="ClientConfig.html#id2577911">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>protect directories, <a class="indexterm" href="AccessControls.html#id2611652">Protecting Directories and Files from Deletion</a></dt><dt>protect files, <a class="indexterm" href="AccessControls.html#id2611652">Protecting Directories and Files from Deletion</a></dt><dt>protection against attackers, <a class="indexterm" href="securing-samba.html#id2618900">Using IPC$ Share-Based Denials </a></dt><dt>protocol stack settings, <a class="indexterm" href="ClientConfig.html#id2576332">MS Windows 2000</a></dt><dt>provided services, <a class="indexterm" href="ch47.html">Samba Support</a></dt><dt>provisioned, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></dt><dt>pstops, <a class="indexterm" href="CUPS-printing.html#id2637005">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2637193">pstops</a>, <a class="indexterm" href="CUPS-printing.html#id2639597">Examples for Filtering Chains</a>, <a class="indexterm" href="CUPS-printing.html#id2647565">Adobe and CUPS PostScript Drivers for Windows Clients</a></dt><dt>pstoraster, <a class="indexterm" href="CUPS-printing.html#id2637361">pstoraster</a>, <a class="indexterm" href="CUPS-printing.html#id2639260">cupsomatic/foomatic-rip Versus Native CUPS Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2647565">Adobe and CUPS PostScript Drivers for Windows Clients</a></dt><dt>publish printers, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>publishing printers, <a class="indexterm" href="classicalprinting.html#id2623122">Rapid Configuration Validation</a></dt><dt>PulseAudio, <a class="indexterm" href="AdvancedNetworkManagement.html#id2658207">Remote Management with ThinLinc</a></dt><dt>punching, <a class="indexterm" href="CUPS-printing.html#id2637193">pstops</a></dt><dt>purchase support, <a class="indexterm" href="ch47.html#id2692514">Free Support</a></dt><dt>put, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>pvcreate, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt></dl></div><div class="indexdiv"><h3>Q</h3><dl><dt>QNX, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>qualified problem, <a class="indexterm" href="ch47.html#id2692514">Free Support</a></dt><dt>queue control, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>quota controls, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a></dt></dl></div><div class="indexdiv"><h3>R</h3><dl><dt>RAID, <a class="indexterm" href="Backup.html#id2671551">BackupPC</a></dt><dt>random machine account password, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></dt><dt>range, <a class="indexterm" href="NetCommand.html#id2600928">UNIX and Windows User Management</a></dt><dt>range of hosts, <a class="indexterm" href="securing-samba.html#id2618336">Using Host-Based Protection</a></dt><dt>RAP, <a class="indexterm" href="NetCommand.html#id2599400">UNIX and Windows Group Management</a></dt><dt>raster, <a class="indexterm" href="CUPS-printing.html#id2637005">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2646836">Foomatic Database-Generated PPDs</a></dt><dt>raster driver, <a class="indexterm" href="CUPS-printing.html#id2635975">The CUPS Filtering Architecture</a></dt><dt>raster drivers, <a class="indexterm" href="CUPS-printing.html#id2637361">pstoraster</a></dt><dt>raster image processor (see RIP)</dt><dt>raster images, <a class="indexterm" href="CUPS-printing.html#id2635220">UNIX Printfile Conversion and GUI Basics</a></dt><dt>rasterization, <a class="indexterm" href="CUPS-printing.html#id2637361">pstoraster</a>, <a class="indexterm" href="CUPS-printing.html#id2639260">cupsomatic/foomatic-rip Versus Native CUPS Printing</a></dt><dt>rastertoalps, <a class="indexterm" href="CUPS-printing.html#id2637715">rasterto [printers specific]</a></dt><dt>rastertobj, <a class="indexterm" href="CUPS-printing.html#id2637715">rasterto [printers specific]</a></dt><dt>rastertoepson, <a class="indexterm" href="CUPS-printing.html#id2637715">rasterto [printers specific]</a>, <a class="indexterm" href="CUPS-printing.html#id2639597">Examples for Filtering Chains</a></dt><dt>rastertoescp, <a class="indexterm" href="CUPS-printing.html#id2637715">rasterto [printers specific]</a></dt><dt>rastertohp, <a class="indexterm" href="CUPS-printing.html#id2637715">rasterto [printers specific]</a></dt><dt>rastertopcl, <a class="indexterm" href="CUPS-printing.html#id2637715">rasterto [printers specific]</a></dt><dt>rastertoprinter, <a class="indexterm" href="CUPS-printing.html#id2637715">rasterto [printers specific]</a></dt><dt>rastertosomething, <a class="indexterm" href="CUPS-printing.html#id2639260">cupsomatic/foomatic-rip Versus Native CUPS Printing</a></dt><dt>rastertoturboprint, <a class="indexterm" href="CUPS-printing.html#id2637715">rasterto [printers specific]</a></dt><dt>raw mode, <a class="indexterm" href="CUPS-printing.html#id2638698">application/octet-stream Printing</a></dt><dt>raw print, <a class="indexterm" href="CUPS-printing.html#id2643233">cupsaddsmb Flowchart</a></dt><dt>raw printers, <a class="indexterm" href="CUPS-printing.html#id2633034">Overview</a></dt><dt>raw printing, <a class="indexterm" href="FastStart.html#id2554870">Anonymous Print Server</a>, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="CUPS-printing.html#id2634206">Raw Print Serving: Vendor Drivers on Windows Clients</a>, <a class="indexterm" href="CUPS-printing.html#cups-raw">Explicitly Enable raw Printing for application/octet-stream</a></dt><dt>raw SMB, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a></dt><dt>raw SMB over TCP/IP, <a class="indexterm" href="NetworkBrowsing.html#id2580799">TCP/IP without NetBIOS</a></dt><dt>rawprinter, <a class="indexterm" href="CUPS-printing.html#id2638590">Raw Printing</a></dt><dt>rcp, <a class="indexterm" href="Backup.html#id2671723">Rsync</a></dt><dt>rdesktop, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></dt><dt>rdesktop/RDP, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></dt><dt>read, <a class="indexterm" href="AccessControls.html#id2611240">File and Directory Access Control</a></dt><dt>read directory into memory, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>read only, <a class="indexterm" href="VFS.html#fakeperms">fake_perms</a></dt><dd><dl><dt>server, <a class="indexterm" href="FastStart.html#anon-ro">Anonymous Read-Only Document Server</a></dt></dl></dd><dt>Read-ahead, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>read-only, <a class="indexterm" href="StandAloneServer.html#id2574163">Features and Benefits</a>, <a class="indexterm" href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a></dt><dt>read-only access, <a class="indexterm" href="idmapper.html#id2605741">Backup Domain Controller</a>, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></dt><dt>read-only files, <a class="indexterm" href="StandAloneServer.html#id2574163">Features and Benefits</a></dt><dt>read-write access, <a class="indexterm" href="classicalprinting.html#id2626862">The Obsoleted [printer$] Section</a></dt><dt>realm, <a class="indexterm" href="ServerType.html#id2560148">ADS Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-bdc.html#id2567603">NetBIOS Over TCP/IP Disabled</a>, <a class="indexterm" href="domain-member.html#id2572115">Configure smb.conf</a>, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a>, <a class="indexterm" href="idmapper.html#id2606598">IDMAP_RID with Winbind</a>, <a class="indexterm" href="idmapper.html#id2607189">IDMAP Storage in LDAP Using Winbind</a></dt><dt>rebooted, <a class="indexterm" href="ClientConfig.html#id2577384">Joining a Domain: Windows 2000/XP Professional</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a></dt><dt>rebooting server, <a class="indexterm" href="rights.html#id2609072">Description of Privileges</a></dt><dt>recompiling, <a class="indexterm" href="cfgsmarts.html#id2673932">Multiple Server Hosting</a></dt><dt>reconfiguration, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a></dt><dt>record locking, <a class="indexterm" href="locking.html#id2615682">Discussion</a></dt><dt>recycle, <a class="indexterm" href="VFS.html#id2651380">recycle</a></dt><dt>recycle bin, <a class="indexterm" href="VFS.html#id2650394">Discussion</a></dt><dt>recycle directory, <a class="indexterm" href="VFS.html#id2651380">recycle</a></dt><dt>recycle:exclude, <a class="indexterm" href="VFS.html#id2651380">recycle</a></dt><dt>recycle:exclude_dir, <a class="indexterm" href="VFS.html#id2651380">recycle</a></dt><dt>recycle:keeptree, <a class="indexterm" href="VFS.html#id2651380">recycle</a></dt><dt>recycle:maxsize, <a class="indexterm" href="VFS.html#id2651380">recycle</a></dt><dt>recycle:noversions, <a class="indexterm" href="VFS.html#id2651380">recycle</a></dt><dt>recycle:repository, <a class="indexterm" href="VFS.html#id2651380">recycle</a></dt><dt>recycle:subdir_mode, <a class="indexterm" href="VFS.html#id2651380">recycle</a></dt><dt>recycle:touch, <a class="indexterm" href="VFS.html#id2651380">recycle</a></dt><dt>recycle:versions, <a class="indexterm" href="VFS.html#id2651380">recycle</a></dt><dt>Red Hat Cluster Manager, <a class="indexterm" href="SambaHA.html#id2673115">High-Availability Server Products</a></dt><dt>Red Hat Linux, <a class="indexterm" href="samba-bdc.html#id2566966">LDAP Configuration Notes</a>, <a class="indexterm" href="domain-member.html#id2570526">On-the-Fly Creation of Machine Trust Accounts</a>, <a class="indexterm" href="groupmapping.html#id2596644">Warning: User Private Group Problems</a></dt><dt>redirect, <a class="indexterm" href="samba-bdc.html#id2568163">Example Configuration</a></dt><dt>redirection, <a class="indexterm" href="winbind.html#id2653551">What Winbind Provides</a></dt><dt>redirector, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>redundancy, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a></dt><dt>reference documents, <a class="indexterm" href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a></dt><dt>refusing connection, <a class="indexterm" href="securing-samba.html#id2618550">Using Interface Protection</a></dt><dt>regedit.exe, <a class="indexterm" href="ProfileMgmt.html#id2663378">MS Windows 9x/Me</a></dt><dt>regedt32, <a class="indexterm" href="ProfileMgmt.html#id2663529">MS Windows NT4 Workstation</a></dt><dt>regedt32.exe, <a class="indexterm" href="PolicyMgmt.html#id2660228">Windows NT4/200x</a></dt><dt>register driver files, <a class="indexterm" href="classicalprinting.html#id2628941">Running rpcclient with adddriver</a></dt><dt>register NetBIOS names, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a></dt><dt>registered, <a class="indexterm" href="NetworkBrowsing.html#id2583591">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="classicalprinting.html#id2629206">Check Samba for Driver Recognition</a></dt><dt>registers, <a class="indexterm" href="NetworkBrowsing.html#id2582305">Domain Browsing Configuration</a></dt><dt>registry, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a>, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a>, <a class="indexterm" href="locking.html#id2615585">Features and Benefits</a>, <a class="indexterm" href="PolicyMgmt.html#id2658910">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2659098">Windows 9x/ME Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2659457">MS Windows 200x/XP Professional Policies</a>, <a class="indexterm" href="ProfileMgmt.html#id2663378">MS Windows 9x/Me</a></dt><dt>registry change, <a class="indexterm" href="passdb.html#id2588044">Important Notes About Security</a></dt><dt>registry keys, <a class="indexterm" href="ProfileMgmt.html#id2663347">Default Profile for Windows Users</a></dt><dt>registry settings, <a class="indexterm" href="PolicyMgmt.html#id2659906">Managing Account/User Policies</a></dt><dt>regulations, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a></dt><dt>rejoin, <a class="indexterm" href="NetCommand.html#id2602302">Managing Security Identifiers (SIDS)</a></dt><dt>relationship password, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>relative identifier, <a class="indexterm" href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a> (see RID)</dt><dt>Relative Identifier (see RID)</dt><dt>Relative Identifiers (see RID)</dt><dt>reliability, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>Remote Access Dial-In User Service (see RADIUS)</dt><dt>remote announce, <a class="indexterm" href="NetworkBrowsing.html#id2585358">Cross-Subnet Browsing</a></dt><dt>remote browse sync, <a class="indexterm" href="NetworkBrowsing.html#id2585358">Cross-Subnet Browsing</a></dt><dt>remote desktop capabilities, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></dt><dt>remote desktop management, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657803">Remote Desktop Management</a></dt><dt>remote domain, <a class="indexterm" href="InterdomainTrusts.html#id2620141">Creating an NT4 Domain Trust</a>, <a class="indexterm" href="InterdomainTrusts.html#id2620238">Completing an NT4 Domain Trust</a>, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>remote login, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></dt><dt>remote management, <a class="indexterm" href="NetCommand.html">Remote and Local Management: The Net Command</a>, <a class="indexterm" href="winbind.html#id2653925">Microsoft Remote Procedure Calls</a></dt><dt>Remote Procedure Call (see RPC)</dt><dt>Remote Procedure Call System Service (see RPCSS)</dt><dt>remote profile, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a></dt><dt>remote segment, <a class="indexterm" href="NetworkBrowsing.html#id2583498">Use of the Remote Browse Sync Parameter</a>, <a class="indexterm" href="NT4Migration.html#id2679535">Domain Layout</a></dt><dt>Remote X, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></dt><dt>Remote X protocol, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></dt><dt>remote-update protocol, <a class="indexterm" href="Backup.html#id2671723">Rsync</a></dt><dt>rename, <a class="indexterm" href="AccessControls.html#id2611116">Managing Directories</a></dt><dt>render, <a class="indexterm" href="CUPS-printing.html#id2634206">Raw Print Serving: Vendor Drivers on Windows Clients</a></dt><dt>rendering, <a class="indexterm" href="CUPS-printing.html#id2639260">cupsomatic/foomatic-rip Versus Native CUPS Printing</a></dt><dt>repeated intervals, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a></dt><dt>replicate, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a>, <a class="indexterm" href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a></dt><dt>replicated, <a class="indexterm" href="ServerType.html#id2558832">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2567331">Active Directory Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a>, <a class="indexterm" href="PolicyMgmt.html#id2659457">MS Windows 200x/XP Professional Policies</a></dt><dt>replicated SYSVOL, <a class="indexterm" href="PolicyMgmt.html#id2659457">MS Windows 200x/XP Professional Policies</a></dt><dt>replication, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2566966">LDAP Configuration Notes</a></dt><dd><dl><dt>browse lists, <a class="indexterm" href="NetworkBrowsing.html#id2585358">Cross-Subnet Browsing</a></dt><dt>SAM, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2565803">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2568719">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a>, <a class="indexterm" href="samba-bdc.html#id2568774">How Do I Replicate the smbpasswd File?</a></dt><dt>WINS, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583862">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584183">WINS Replication</a></dt></dl></dd><dt>replication protocols, <a class="indexterm" href="NetworkBrowsing.html#id2583862">WINS Server Configuration</a></dt><dt>repository, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a></dt><dt>requesting payment, <a class="indexterm" href="ch47.html#id2692514">Free Support</a></dt><dt>required, <a class="indexterm" href="pam.html#id2665943">Anatomy of /etc/pam.d Entries</a></dt><dt>requisite, <a class="indexterm" href="pam.html#id2665943">Anatomy of /etc/pam.d Entries</a></dt><dt>research, <a class="indexterm" href="Backup.html#id2671454">Discussion of Backup Solutions</a></dt><dt>resizing, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>resolution, <a class="indexterm" href="CUPS-printing.html#id2638273">The Role of cupsomatic/foomatic</a></dt><dt>resolution of NetBIOS names, <a class="indexterm" href="NetworkBrowsing.html">Network Browsing</a></dt><dt>resolve NetBIOS names, <a class="indexterm" href="NetworkBrowsing.html#id2582910">Making Samba the Domain Master</a></dt><dt>resolver functions, <a class="indexterm" href="winbind.html#id2654066">Name Service Switch</a></dt><dt>resource failover, <a class="indexterm" href="SambaHA.html#id2673115">High-Availability Server Products</a></dt><dt>resource kit, <a class="indexterm" href="PolicyMgmt.html#id2659660">Administration of Windows 200x/XP Policies</a>, <a class="indexterm" href="ProfileMgmt.html#profilemigrn">Windows NT4 Profile Management Tools</a></dt><dt>resource-based exclusion, <a class="indexterm" href="securing-samba.html#id2618174">Features and Benefits</a></dt><dt>response, <a class="indexterm" href="idmapper.html#id2606598">IDMAP_RID with Winbind</a></dt><dt>restore, <a class="indexterm" href="tdb.html#id2686919">Features and Benefits</a></dt><dt>restrict DNS, <a class="indexterm" href="NetworkBrowsing.html#id2584620">Name Resolution Order</a></dt><dt>reviewers, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a></dt><dt>revoke privileges, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a></dt><dt>RFC 1001, <a class="indexterm" href="DNSDHCP.html#id2693070">Example Configuration</a></dt><dt>RFC 1002, <a class="indexterm" href="DNSDHCP.html#id2693070">Example Configuration</a></dt><dt>RFC 1179, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>RFC 2307, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a></dt><dt>RFC 2307., <a class="indexterm" href="passdb.html#id2593375">Schema and Relationship to the RFC 2307 posixAccount</a></dt><dt>RFC 2830, <a class="indexterm" href="ch-ldap-tls.html#s1-intro-ldap-tls">Introduction</a></dt><dt>rfc2307bis, <a class="indexterm" href="idmapper.html#id2607774">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></dt><dt>RFC2830, <a class="indexterm" href="samba-bdc.html#id2566966">LDAP Configuration Notes</a></dt><dt>RFCs, <a class="indexterm" href="problems.html">Analyzing and Solving Samba Problems</a></dt><dt>rich database backend, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a></dt><dt>rich directory backend, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a></dt><dt>RID, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="ChangeNotes.html#id2578662">User and Group Changes</a>, <a class="indexterm" href="groupmapping.html#id2596307">Discussion</a>, <a class="indexterm" href="groupmapping.html#id2597518">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2605507">Primary Domain Controller</a>, <a class="indexterm" href="idmapper.html#id2606598">IDMAP_RID with Winbind</a>, <a class="indexterm" href="rights.html#id2609893">The Administrator Domain SID</a>, <a class="indexterm" href="winbind.html#id2654453">User and Group ID Allocation</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a></dt><dt>RID 500, <a class="indexterm" href="rights.html#id2609893">The Administrator Domain SID</a></dt><dt>RID base, <a class="indexterm" href="idmapper.html#id2605507">Primary Domain Controller</a></dt><dt>right to join domain, <a class="indexterm" href="rights.html#id2609072">Description of Privileges</a></dt><dt>rights, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="domain-member.html#id2573107">Possible Errors</a>, <a class="indexterm" href="rights.html#id2608451">Rights Management Capabilities</a></dt><dt>rights and privilege, <a class="indexterm" href="NetCommand.html#id2601339">Administering User Rights and Privileges</a></dt><dt>rights and privileges, <a class="indexterm" href="groupmapping.html#id2597278">Important Administrative Information</a>, <a class="indexterm" href="rights.html#id2609893">The Administrator Domain SID</a></dt><dt>rights assigned, <a class="indexterm" href="rights.html#id2608451">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a></dt><dt>RIP, <a class="indexterm" href="CUPS-printing.html#id2638977">PostScript Printer Descriptions for Non-PostScript Printers</a></dt><dt>rlogind, <a class="indexterm" href="pam.html#id2665943">Anatomy of /etc/pam.d Entries</a></dt><dt>Roaming Profile, <a class="indexterm" href="VFS.html#fakeperms">fake_perms</a></dt><dt>roaming profiles, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a>, <a class="indexterm" href="ProfileMgmt.html#id2660587">Features and Benefits</a>, <a class="indexterm" href="ProfileMgmt.html#id2661076">Disabling Roaming Profile Support</a>, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a></dt><dt>rogue machine, <a class="indexterm" href="NetworkBrowsing.html#id2586398">Flushing the Samba NetBIOS Name Cache</a></dt><dt>rogue user, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>root, <a class="indexterm" href="domain-member.html#id2570643">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="ClientConfig.html#id2577384">Joining a Domain: Windows 2000/XP Professional</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>root account, <a class="indexterm" href="rights.html">User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2609893">The Administrator Domain SID</a></dt><dt>root user, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a></dt><dt>rotate, <a class="indexterm" href="CUPS-printing.html#id2635220">UNIX Printfile Conversion and GUI Basics</a></dt><dt>RPC, <a class="indexterm" href="domain-member.html#id2571833">Why Is This Better Than security = server?</a>, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2655654">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="ProfileMgmt.html#id2660636">Roaming Profiles</a></dt><dt>RPC calls, <a class="indexterm" href="winbind.html#id2657317">Conclusion</a>, <a class="indexterm" href="SambaHA.html#id2672440">The Front-End Challenge</a></dt><dt>RPC modules, <a class="indexterm" href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></dt><dt>rpc.lockd, <a class="indexterm" href="locking.html#id2615682">Discussion</a></dt><dt>rpcclient, <a class="indexterm" href="NetCommand.html">Remote and Local Management: The Net Command</a>, <a class="indexterm" href="classicalprinting.html#id2628032">Identifying Driver Files</a>, <a class="indexterm" href="classicalprinting.html#id2629434">Specific Driver Name Flexibility</a>, <a class="indexterm" href="CUPS-printing.html#id2645315">Troubleshooting Revisited</a>, <a class="indexterm" href="PolicyMgmt.html#id2660268">Samba PDC</a></dt><dd><dl><dt>adddriver, <a class="indexterm" href="CUPS-printing.html#id2642694">Run cupsaddsmb with Verbose Output</a>, <a class="indexterm" href="CUPS-printing.html#id2642886">Understanding cupsaddsmb</a>, <a class="indexterm" href="CUPS-printing.html#id2643549">Installing PostScript Driver Files Manually Using rpcclient</a>, <a class="indexterm" href="CUPS-printing.html#id2643895">Understanding the rpcclient man Page</a>, <a class="indexterm" href="CUPS-printing.html#id2644132">Requirements for adddriver and setdriver to Succeed</a>, <a class="indexterm" href="CUPS-printing.html#id2644357">Manual Driver Installation in 15 Steps</a></dt><dt>enumdrivers, <a class="indexterm" href="CUPS-printing.html#id2643549">Installing PostScript Driver Files Manually Using rpcclient</a>, <a class="indexterm" href="CUPS-printing.html#id2644357">Manual Driver Installation in 15 Steps</a></dt><dt>enumports, <a class="indexterm" href="CUPS-printing.html#id2643549">Installing PostScript Driver Files Manually Using rpcclient</a></dt><dt>enumprinters, <a class="indexterm" href="CUPS-printing.html#id2643549">Installing PostScript Driver Files Manually Using rpcclient</a>, <a class="indexterm" href="CUPS-printing.html#id2644132">Requirements for adddriver and setdriver to Succeed</a>, <a class="indexterm" href="CUPS-printing.html#id2644357">Manual Driver Installation in 15 Steps</a>, <a class="indexterm" href="CUPS-printing.html#id2645315">Troubleshooting Revisited</a></dt><dt>getdriver, <a class="indexterm" href="CUPS-printing.html#id2644000">Producing an Example by Querying a Windows Box</a>, <a class="indexterm" href="CUPS-printing.html#id2644357">Manual Driver Installation in 15 Steps</a></dt><dt>getprinter, <a class="indexterm" href="CUPS-printing.html#id2644000">Producing an Example by Querying a Windows Box</a>, <a class="indexterm" href="CUPS-printing.html#id2644357">Manual Driver Installation in 15 Steps</a>, <a class="indexterm" href="CUPS-printing.html#id2645315">Troubleshooting Revisited</a></dt><dt>setdriver, <a class="indexterm" href="CUPS-printing.html#id2642037">Caveats to Be Considered</a>, <a class="indexterm" href="CUPS-printing.html#id2642694">Run cupsaddsmb with Verbose Output</a>, <a class="indexterm" href="CUPS-printing.html#id2642886">Understanding cupsaddsmb</a>, <a class="indexterm" href="CUPS-printing.html#id2643549">Installing PostScript Driver Files Manually Using rpcclient</a>, <a class="indexterm" href="CUPS-printing.html#id2644132">Requirements for adddriver and setdriver to Succeed</a>, <a class="indexterm" href="CUPS-printing.html#id2644357">Manual Driver Installation in 15 Steps</a></dt></dl></dd><dt>rsh, <a class="indexterm" href="Backup.html#id2671551">BackupPC</a></dt><dt>rsync, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2568774">How Do I Replicate the smbpasswd File?</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="Backup.html#id2671551">BackupPC</a>, <a class="indexterm" href="Backup.html#id2671723">Rsync</a>, <a class="indexterm" href="compiling.html#id2687810">Accessing the Samba Sources via rsync and ftp</a></dt><dt>rsyncd, <a class="indexterm" href="Backup.html#id2671551">BackupPC</a></dt><dt>runas, <a class="indexterm" href="classicalprinting.html#id2630390">Always Make First Client Connection as root or printer admin</a></dt><dt>rundll32, <a class="indexterm" href="classicalprinting.html#id2630271">Additional Client Driver Installation</a>, <a class="indexterm" href="classicalprinting.html#id2630584">Setting Default Print Options for Client Drivers</a>, <a class="indexterm" href="CUPS-printing.html#id2644357">Manual Driver Installation in 15 Steps</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2658618">Adding Printers without User Intervention</a></dt></dl></div><div class="indexdiv"><h3>S</h3><dl><dt>SAM, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2568664">Machine Accounts Keep Expiring</a>, <a class="indexterm" href="samba-bdc.html#id2568719">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a>, <a class="indexterm" href="samba-bdc.html#id2568774">How Do I Replicate the smbpasswd File?</a>, <a class="indexterm" href="domain-member.html#id2569122">Features and Benefits</a>, <a class="indexterm" href="ChangeNotes.html#id2578662">User and Group Changes</a>, <a class="indexterm" href="passdb.html#id2587285">Backward Compatibility Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2588564">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="winbind.html#id2654529">Result Caching</a></dt><dd><dl><dt>delta file, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a></dt><dt>replication, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a></dt></dl></dd><dt>SAM backend, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a></dt><dd><dl><dt>LDAP, <a class="indexterm" href="samba-bdc.html#id2565803">Features and Benefits</a></dt><dt>ldapsam, <a class="indexterm" href="samba-bdc.html#id2565803">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2593072">ldapsam</a></dt><dt>ldapsam_compat, <a class="indexterm" href="passdb.html#id2587249">Features and Benefits</a></dt><dt>non-LDAP, <a class="indexterm" href="samba-bdc.html#id2565803">Features and Benefits</a></dt><dt>smbpasswd, <a class="indexterm" href="passdb.html#id2587249">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a></dt><dt>tdbsam, <a class="indexterm" href="samba-bdc.html#id2565803">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2592915">tdbsam</a></dt></dl></dd><dt>Samba 1.9.17, <a class="indexterm" href="NetworkBrowsing.html#id2583862">WINS Server Configuration</a></dt><dt>Samba account, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a></dt><dt>Samba administrator, <a class="indexterm" href="winbind.html#id2654592">Introduction</a></dt><dt>Samba backend database, <a class="indexterm" href="domain-member.html#id2573794">Adding Machine to Domain Fails</a></dt><dt>Samba daemons, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></dt><dt>Samba differences, <a class="indexterm" href="upgrading-to-3.0.html#oldupdatenotes">Upgrading from Samba-2.x to Samba-3.0.25</a></dt><dt>Samba mailing lists, <a class="indexterm" href="Backup.html#id2671410">Features and Benefits</a></dt><dt>Samba private directory, <a class="indexterm" href="domain-member.html#ads-create-machine-account">Create the Computer Account</a></dt><dt>Samba SAM, <a class="indexterm" href="passdb.html#id2588564">Mapping User Identifiers between MS Windows and UNIX</a></dt><dt>Samba SAM account, <a class="indexterm" href="domain-member.html#id2573794">Adding Machine to Domain Fails</a></dt><dt>Samba SAM account flags, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a></dt><dt>Samba schema, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a></dt><dt>Samba security, <a class="indexterm" href="securing-samba.html#id2618174">Features and Benefits</a></dt><dt>Samba-2.2.x LDAP schema, <a class="indexterm" href="passdb.html#id2587285">Backward Compatibility Account Storage Systems</a></dt><dt>Samba-3-compatible LDAP backend, <a class="indexterm" href="upgrading-to-3.0.html#id2676324">Quick Migration Guide</a></dt><dt>Samba-PDC-LDAP-HOWTO, <a class="indexterm" href="passdb.html#id2593072">ldapsam</a></dt><dt>samba-to-samba trusts, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a></dt><dt>samba-vscan, <a class="indexterm" href="VFS.html#id2652814">vscan</a></dt><dt>samba.schema, <a class="indexterm" href="passdb.html#id2593375">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2593601">OpenLDAP Configuration</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a></dt><dt>sambaDomain, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a></dt><dt>sambaGroupMapping, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a></dt><dt>sambaHomeDrive, <a class="indexterm" href="passdb.html#id2594832">LDAP Special Attributes for sambaSamAccounts</a></dt><dt>sambaHomePath, <a class="indexterm" href="passdb.html#id2594832">LDAP Special Attributes for sambaSamAccounts</a></dt><dt>sambaIdmapEntry, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a></dt><dt>sambaLogonScript, <a class="indexterm" href="passdb.html#id2594832">LDAP Special Attributes for sambaSamAccounts</a></dt><dt>SambaNTPassword, <a class="indexterm" href="passdb.html#id2594596">Security and sambaSamAccount</a></dt><dt>sambaProfilePath, <a class="indexterm" href="passdb.html#id2594832">LDAP Special Attributes for sambaSamAccounts</a></dt><dt>SambaSAMAccount, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a>, <a class="indexterm" href="passdb.html#acctmgmttools">Account Management Tools</a>, <a class="indexterm" href="passdb.html#id2591394">Adding User Accounts</a>, <a class="indexterm" href="passdb.html#id2591481">Deleting Accounts</a>, <a class="indexterm" href="passdb.html#id2591566">Changing User Accounts</a>, <a class="indexterm" href="passdb.html#id2592915">tdbsam</a></dt><dt>sambaSamAccount, <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2593375">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2593601">OpenLDAP Configuration</a>, <a class="indexterm" href="passdb.html#id2594483">Accounts and Groups Management</a>, <a class="indexterm" href="passdb.html#id2594832">LDAP Special Attributes for sambaSamAccounts</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a></dt><dt>sambaSAMAccount, <a class="indexterm" href="passdb.html#id2594596">Security and sambaSamAccount</a></dt><dt>sambaSID, <a class="indexterm" href="ChangeNotes.html#id2579276">LDAP Changes in Samba-3.0.23</a></dt><dt>sambaUNIXIdPool, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a></dt><dt>SambaXP conference, <a class="indexterm" href="SambaHA.html#id2672157">Technical Discussion</a></dt><dt>samdb interface, <a class="indexterm" href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a></dt><dt>same domain/workgroup, <a class="indexterm" href="cfgsmarts.html#id2675343">Multiple Virtual Server Hosting</a></dt><dt>Sarbanes-Oxley, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a></dt><dt>scalability, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2565803">Features and Benefits</a>, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2592915">tdbsam</a>, <a class="indexterm" href="InterdomainTrusts.html#id2619747">Features and Benefits</a></dt><dt>scalable, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a></dt><dt>scalable backend, <a class="indexterm" href="InterdomainTrusts.html#id2619747">Features and Benefits</a></dt><dt>scalable coherent interface (see SCI)</dt><dt>scale, <a class="indexterm" href="CUPS-printing.html#id2635220">UNIX Printfile Conversion and GUI Basics</a></dt><dt>scanner module, <a class="indexterm" href="VFS.html#id2650394">Discussion</a></dt><dt>schannel, <a class="indexterm" href="samba-pdc.html#id2565619">Cannot Log onto Domain Member Workstation After Joining Domain</a></dt><dt>schema, <a class="indexterm" href="idmapper.html#id2607774">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></dt><dt>schema file, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a></dt><dt>scp, <a class="indexterm" href="Backup.html#id2671723">Rsync</a></dt><dt>script, <a class="indexterm" href="domain-member.html#id2573794">Adding Machine to Domain Fails</a></dt><dt>scripted control, <a class="indexterm" href="NetCommand.html">Remote and Local Management: The Net Command</a></dt><dt>scripts, <a class="indexterm" href="NetworkBrowsing.html#id2584910">Browsing Support in Samba</a>, <a class="indexterm" href="passdb.html#id2589388">Caution Regarding LDAP and Samba</a></dt><dt>SCSI, <a class="indexterm" href="SambaHA.html#id2673115">High-Availability Server Products</a></dt><dt>SeAddUsersPrivilege, <a class="indexterm" href="NetCommand.html#id2601339">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2608451">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2609072">Description of Privileges</a></dt><dt>SeAssignPrimaryTokenPrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeAuditPrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeBackupPrivilege, <a class="indexterm" href="NetCommand.html#id2601339">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeChangeNotifyPrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>Seclib, <a class="indexterm" href="AccessControls.html#id2613601">Viewing File Ownership</a></dt><dt>secondary controller, <a class="indexterm" href="NT4Migration.html#id2679535">Domain Layout</a></dt><dt>SeCreateGlobalPrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeCreatePagefilePrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeCreatePermanentPrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeCreateTokenPrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>secret, <a class="indexterm" href="passdb.html#id2588044">Important Notes About Security</a></dt><dt>secrets.tdb, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a>, <a class="indexterm" href="domain-member.html#id2573472">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="passdb.html#id2593873">Initialize the LDAP Database</a>, <a class="indexterm" href="CUPS-printing.html#id2645458">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>section name, <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a></dt><dt>secure, <a class="indexterm" href="StandAloneServer.html#id2574163">Features and Benefits</a></dt><dt>secure access, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></dt><dt>secure authentication, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>secure communications, <a class="indexterm" href="passdb.html#id2594596">Security and sambaSamAccount</a></dt><dt>secured networks, <a class="indexterm" href="securing-samba.html#id2618075">Introduction</a></dt><dt>security, <a class="indexterm" href="ServerType.html#id2559136">Samba Security Modes</a>, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a>, <a class="indexterm" href="securing-samba.html#id2618075">Introduction</a>, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></dt><dd><dl><dt>controllers, <a class="indexterm" href="ServerType.html#id2559653">Domain Security Mode (User-Level Security)</a></dt><dt>modes, <a class="indexterm" href="ServerType.html#id2558832">Features and Benefits</a></dt><dt>settings, <a class="indexterm" href="install.html#id2553100">Example Configuration</a></dt></dl></dd><dt>security = user, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></dt><dt>security account, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a></dt><dt>Security Account Manager (see SAM)</dt><dt>Security Assertion Markup Language (see SAML)</dt><dt>security context, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a></dt><dt>security contexts, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a></dt><dt>security credentials, <a class="indexterm" href="idmapper.html#id2605741">Backup Domain Controller</a>, <a class="indexterm" href="InterdomainTrusts.html#id2620105">Native MS Windows NT4 Trusts Configuration</a></dt><dt>security domain, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a></dt><dt>security domains, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a></dt><dt>security flaw, <a class="indexterm" href="securing-samba.html#id2619187">Why Can Users Access Other Users' Home Directories?</a></dt><dt>security hole, <a class="indexterm" href="securing-samba.html#id2618900">Using IPC$ Share-Based Denials </a></dt><dt>security identifier, <a class="indexterm" href="NetCommand.html#id2602302">Managing Security Identifiers (SIDS)</a> (see SID)</dt><dt>security level, <a class="indexterm" href="ServerType.html#id2560291">Server Security (User Level Security)</a></dt><dt>security levels, <a class="indexterm" href="ServerType.html#id2559136">Samba Security Modes</a></dt><dt>security mode, <a class="indexterm" href="ServerType.html">Server Types and Security Modes</a>, <a class="indexterm" href="samba-pdc.html#id2564926">Security Mode and Master Browsers</a></dt><dt>Security Mode, <a class="indexterm" href="ServerType.html#id2559136">Samba Security Modes</a></dt><dt>security modes, <a class="indexterm" href="ServerType.html#id2559136">Samba Security Modes</a></dt><dt>security name-space, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a></dt><dt>security policies, <a class="indexterm" href="securing-samba.html#id2619187">Why Can Users Access Other Users' Home Directories?</a></dt><dt>security settings, <a class="indexterm" href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></dt><dt>security structure, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a></dt><dt>security vulnerability, <a class="indexterm" href="securing-samba.html#id2619099">Upgrading Samba</a></dt><dt>security-aware, <a class="indexterm" href="CUPS-printing.html#id2638698">application/octet-stream Printing</a></dt><dt>SeDebugPrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeDiskOperatorPrivilege, <a class="indexterm" href="NetCommand.html#id2601339">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2608451">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2609072">Description of Privileges</a></dt><dt>SeEnableDelegationPrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeImpersonatePrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeIncreaseBasePriorityPrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeIncreaseQuotaPrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeLoadDriverPrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeLockMemoryPrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeMachineAccountPrivilege, <a class="indexterm" href="NetCommand.html#id2601339">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2608451">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2609072">Description of Privileges</a>, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeManageVolumePrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>separate instances, <a class="indexterm" href="cfgsmarts.html#id2673932">Multiple Server Hosting</a></dt><dt>separate servers, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a></dt><dt>separate shares, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>separate workgroups, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></dt><dt>SePrintOperatorPrivilege, <a class="indexterm" href="NetCommand.html#id2601339">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2608451">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2609072">Description of Privileges</a></dt><dt>SeProfileSingleProcessPrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeRemoteShutdownPrivilege, <a class="indexterm" href="NetCommand.html#id2601339">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2608451">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2609072">Description of Privileges</a>, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeRestorePrivilege, <a class="indexterm" href="NetCommand.html#id2601339">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>server failure, <a class="indexterm" href="SambaHA.html#id2672321">Why Is This So Hard?</a></dt><dt>Server Manager, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2570246">Managing Domain Machine Accounts using NT4 Server Manager</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657660">Remote Server Administration</a></dt><dt>Server Manager for Domains, <a class="indexterm" href="domain-member.html#id2570246">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>Server Message Block (see SMB)</dt><dt>server pool, <a class="indexterm" href="SambaHA.html#id2672640">The Distributed File System Challenge</a>, <a class="indexterm" href="SambaHA.html#id2672767">Restrictive Constraints on Distributed File Systems</a></dt><dt>Server Type, <a class="indexterm" href="ServerType.html#id2558991">Server Types</a></dt><dd><dl><dt>Domain Controller, <a class="indexterm" href="FastStart.html#id2556827">Domain Controller</a></dt><dt>Domain Member, <a class="indexterm" href="FastStart.html#id2555984">Domain Member Server</a>, <a class="indexterm" href="samba-bdc.html#id2568163">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2569122">Features and Benefits</a></dt><dt>Stand-alone, <a class="indexterm" href="FastStart.html#id2554243">Standalone Server</a></dt></dl></dd><dt>server type, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a></dt><dd><dl><dt>domain member, <a class="indexterm" href="ServerType.html#id2559868">Example Configuration</a></dt></dl></dd><dt>Server Types, <a class="indexterm" href="idmapper.html#id2604468">Samba Server Deployment Types and IDMAP</a></dt><dt>server-mode, <a class="indexterm" href="ServerType.html#id2560815">What Makes Samba a Domain Controller?</a></dt><dt>service name, <a class="indexterm" href="install.html#id2553100">Example Configuration</a></dt><dt>service-level, <a class="indexterm" href="classicalprinting.html#id2622540">Printing-Related Configuration Parameters</a>, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>services provided, <a class="indexterm" href="ch47.html">Samba Support</a></dt><dt>SeSecurityPrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeShutdownPrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>session, <a class="indexterm" href="pam.html#id2665943">Anatomy of /etc/pam.d Entries</a></dt><dt>session services, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a></dt><dt>session setup, <a class="indexterm" href="ServerType.html#id2559298">User Level Security</a>, <a class="indexterm" href="ServerType.html#id2560291">Server Security (User Level Security)</a></dt><dt>sessionid.tdb, <a class="indexterm" href="CUPS-printing.html#id2645458">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>SessionSetupAndX, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a></dt><dt>SeSyncAgentPrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeSystemEnvironmentPrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeSystemProfilePrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeSystemtimePrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>set a password, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>set group id (see SGID)</dt><dt>set printer properties, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>set user id (see SUID)</dt><dt>SeTakeOwnershipPrivilege, <a class="indexterm" href="NetCommand.html#id2601339">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2608451">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2609072">Description of Privileges</a>, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeTcbPrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>setdriver, <a class="indexterm" href="CUPS-printing.html#id2643723">A Check of the rpcclient man Page</a>, <a class="indexterm" href="CUPS-printing.html#id2644132">Requirements for adddriver and setdriver to Succeed</a></dt><dt>SetPrinter(), <a class="indexterm" href="CUPS-printing.html#id2643723">A Check of the rpcclient man Page</a></dt><dt>setting up directories, <a class="indexterm" href="AccessControls.html#id2611240">File and Directory Access Control</a></dt><dt>SeUndockPrivilege, <a class="indexterm" href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>severely impaired, <a class="indexterm" href="NetworkBrowsing.html#id2580799">TCP/IP without NetBIOS</a></dt><dt>SFU, <a class="indexterm" href="idmapper.html#id2608044">IDMAP, Active Directory, and MS Services for UNIX 3.5</a></dt><dt>SFU 3.5, <a class="indexterm" href="idmapper.html#id2605507">Primary Domain Controller</a></dt><dt>SGI-RGB, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt><dt>SGID, <a class="indexterm" href="AccessControls.html#id2611240">File and Directory Access Control</a></dt><dt>shadow, <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a></dt><dt>shadow copies, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>shadow password file, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></dt><dt>shadow utilities, <a class="indexterm" href="groupmapping.html#id2595891">Features and Benefits</a></dt><dt>shadow_copy, <a class="indexterm" href="VFS.html#id2651827">shadow_copy</a>, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>shadow_copy module, <a class="indexterm" href="VFS.html#id2651827">shadow_copy</a></dt><dt>share, <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a>, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a>, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>share access, <a class="indexterm" href="AccessControls.html#id2612982">Access Controls on Shares</a></dt><dt>share ACLs, <a class="indexterm" href="NT4Migration.html#id2680625">Samba-3 Implementation Choices</a></dt><dt>share management, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a></dt><dt>share modes, <a class="indexterm" href="SambaHA.html#id2672640">The Distributed File System Challenge</a></dt><dt>share permissions, <a class="indexterm" href="AccessControls.html#id2613141">Windows NT4 Workstation/Server</a></dt><dt>Share Permissions, <a class="indexterm" href="AccessControls.html#id2613247">Windows 200x/XP</a></dt><dt>share settings, <a class="indexterm" href="AccessControls.html#id2610573">Features and Benefits</a></dt><dt>share stanza controls, <a class="indexterm" href="NT4Migration.html#id2680625">Samba-3 Implementation Choices</a></dt><dt>share-level, <a class="indexterm" href="ServerType.html#id2559136">Samba Security Modes</a>, <a class="indexterm" href="ServerType.html#id2559461">Share-Level Security</a>, <a class="indexterm" href="msdfs.html#id2621456">Features and Benefits</a></dt><dt>share-level ACLs, <a class="indexterm" href="groupmapping.html#id2597396">Applicable Only to Versions Earlier than 3.0.11</a></dt><dt>share-mode, <a class="indexterm" href="StandAloneServer.html#id2574163">Features and Benefits</a></dt><dt>share-mode security, <a class="indexterm" href="samba-pdc.html#id2564926">Security Mode and Master Browsers</a></dt><dt>share-mode server, <a class="indexterm" href="StandAloneServer.html#id2574163">Features and Benefits</a></dt><dt>shared secret, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>shares, <a class="indexterm" href="NetworkBrowsing.html#id2579723">What Is Browsing?</a></dt><dt>shares and files, <a class="indexterm" href="winbind.html#id2654706">Requirements</a></dt><dt>share_info.tdb, <a class="indexterm" href="AccessControls.html#id2612982">Access Controls on Shares</a>, <a class="indexterm" href="CUPS-printing.html#id2645458">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>Sharing, <a class="indexterm" href="AccessControls.html#id2613247">Windows 200x/XP</a></dt><dt>shell scripts, <a class="indexterm" href="classicalprinting.html#id2625403">Print Commands</a></dt><dt>shift, <a class="indexterm" href="CUPS-printing.html#id2635220">UNIX Printfile Conversion and GUI Basics</a></dt><dt>Shift_JIS, <a class="indexterm" href="unicode.html#id2670247">Japanese Charsets</a>, <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a></dt><dt>shortcuts, <a class="indexterm" href="ClientConfig.html#id2575613">TCP/IP Configuration</a>, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a></dt><dt>Shortcuts, <a class="indexterm" href="AccessControls.html#id2610774">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>show-stopper-type, <a class="indexterm" href="NT4Migration.html#id2679090">Planning and Getting Started</a></dt><dt>SID, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2565377">The System Cannot Log You On (C000019B)</a>, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2568163">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2571833">Why Is This Better Than security = server?</a>, <a class="indexterm" href="domain-member.html#id2573472">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="ChangeNotes.html#id2578662">User and Group Changes</a>, <a class="indexterm" href="ChangeNotes.html#id2579156">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a>, <a class="indexterm" href="passdb.html#id2588564">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="groupmapping.html">Group Mapping: MS Windows and UNIX</a>, <a class="indexterm" href="groupmapping.html#id2595891">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2602302">Managing Security Identifiers (SIDS)</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2605507">Primary Domain Controller</a>, <a class="indexterm" href="idmapper.html#id2606598">IDMAP_RID with Winbind</a>, <a class="indexterm" href="rights.html#id2608451">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2609893">The Administrator Domain SID</a>, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2653749">Handling of Foreign SIDs</a>, <a class="indexterm" href="ProfileMgmt.html#id2662971">Side Bar Notes</a>, <a class="indexterm" href="ProfileMgmt.html#id2663064">Get SID</a>, <a class="indexterm" href="cfgsmarts.html#id2673932">Multiple Server Hosting</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a>, <a class="indexterm" href="NT4Migration.html#id2679977">Profile Migration/Creation</a></dt><dt>SID management, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a></dt><dt>SID-to-GID, <a class="indexterm" href="groupmapping.html#id2595891">Features and Benefits</a></dt><dt>SIDs, <a class="indexterm" href="NT4Migration.html#id2680625">Samba-3 Implementation Choices</a></dt><dt>signing, <a class="indexterm" href="samba-pdc.html#id2565619">Cannot Log onto Domain Member Workstation After Joining Domain</a></dt><dt>simple access controls, <a class="indexterm" href="NT4Migration.html#id2679736">Server Share and Directory Layout</a></dt><dt>simple configuration, <a class="indexterm" href="install.html#id2553100">Example Configuration</a></dt><dt>simple guide, <a class="indexterm" href="upgrading-to-3.0.html#oldupdatenotes">Upgrading from Samba-2.x to Samba-3.0.25</a></dt><dt>Simple Object Access Protocol (see SOAP)</dt><dt>simple operation, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a></dt><dt>simple print server, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>simple printing, <a class="indexterm" href="classicalprinting.html#id2622641">Simple Print Configuration</a></dt><dt>simplest</dt><dd><dl><dt>configuration, <a class="indexterm" href="install.html#id2553100">Example Configuration</a></dt></dl></dd><dt>simplicity, <a class="indexterm" href="StandAloneServer.html#id2574163">Features and Benefits</a></dt><dt>Simplicity is king, <a class="indexterm" href="NT4Migration.html#id2679736">Server Share and Directory Layout</a></dt><dt>single DHCP server, <a class="indexterm" href="ClientConfig.html#id2576878">MS Windows Me</a></dt><dt>single repository, <a class="indexterm" href="passdb.html">Account Information Databases</a></dt><dt>single server, <a class="indexterm" href="SambaHA.html#id2672440">The Front-End Challenge</a></dt><dt>single sign-on, <a class="indexterm" href="domain-member.html#id2569122">Features and Benefits</a> (see SSO)</dt><dt>Single Sign-On, <a class="indexterm" href="CUPS-printing.html#id2642037">Caveats to Be Considered</a></dt><dt>single-byte charsets, <a class="indexterm" href="unicode.html#id2669946">What Are Charsets and Unicode?</a></dt><dt>single-logon, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a></dt><dt>single-sign-on, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>single-user mode, <a class="indexterm" href="winbind.html#id2654706">Requirements</a></dt><dt>slapadd, <a class="indexterm" href="passdb.html#id2593873">Initialize the LDAP Database</a></dt><dt>slapd, <a class="indexterm" href="passdb.html#id2593601">OpenLDAP Configuration</a></dt><dt>slapd.conf, <a class="indexterm" href="ChangeNotes.html#id2579276">LDAP Changes in Samba-3.0.23</a>, <a class="indexterm" href="passdb.html#id2593601">OpenLDAP Configuration</a>, <a class="indexterm" href="passdb.html#id2594596">Security and sambaSamAccount</a></dt><dt>slapd.pem, <a class="indexterm" href="samba-bdc.html#id2566966">LDAP Configuration Notes</a></dt><dt>slapindex, <a class="indexterm" href="ChangeNotes.html#id2579276">LDAP Changes in Samba-3.0.23</a></dt><dt>slappasswd, <a class="indexterm" href="passdb.html#id2593873">Initialize the LDAP Database</a></dt><dt>slave servers, <a class="indexterm" href="NT4Migration.html#id2679535">Domain Layout</a></dt><dt>slow browsing, <a class="indexterm" href="NetworkBrowsing.html#id2586566">Browsing of Shares and Directories is Very Slow</a></dt><dt>slow network, <a class="indexterm" href="speed.html#id2691136">Samba Performance Problem Due to Changing Linux Kernel</a></dt><dt>slow network browsing, <a class="indexterm" href="NetworkBrowsing.html#id2586766">Invalid Cached Share References Affects Network Browsing</a></dt><dt>slow performance, <a class="indexterm" href="speed.html#id2691323">Samba Performance is Very Slow</a></dt><dt>smart printers, <a class="indexterm" href="CUPS-printing.html#id2633034">Overview</a></dt><dt>SMB, <a class="indexterm" href="ServerType.html#id2560291">Server Security (User Level Security)</a>, <a class="indexterm" href="domain-member.html#id2574030">I Can't Join a Windows 2003 PDC</a>, <a class="indexterm" href="StandAloneServer.html#id2574257">Background</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579539">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584823">Technical Overview of Browsing</a>, <a class="indexterm" href="securing-samba.html#id2618550">Using Interface Protection</a>, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668713">Name Resolution as Used within MS Windows Networking</a>, <a class="indexterm" href="Backup.html#id2671551">BackupPC</a>, <a class="indexterm" href="SambaHA.html#id2672440">The Front-End Challenge</a>, <a class="indexterm" href="SambaHA.html#id2672836">Server Pool Communications</a>, <a class="indexterm" href="problems.html">Analyzing and Solving Samba Problems</a></dt><dt>SMB encryption, <a class="indexterm" href="passdb.html#id2588360">Advantages of Encrypted Passwords</a></dt><dt>SMB locks, <a class="indexterm" href="SambaHA.html#id2672836">Server Pool Communications</a></dt><dt>SMB name, <a class="indexterm" href="integrate-ms-networks.html#id2668713">Name Resolution as Used within MS Windows Networking</a></dt><dt>SMB networking, <a class="indexterm" href="problems.html#id2684879">Diagnostics Tools</a></dt><dt>SMB password, <a class="indexterm" href="passdb.html#id2589966">The smbpasswd Tool</a></dt><dt>SMB Password, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>SMB password encryption, <a class="indexterm" href="passdb.html#id2588044">Important Notes About Security</a></dt><dt>smb ports, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></dt><dt>SMB printers, <a class="indexterm" href="CUPS-printing.html#id2649445">Administrator Cannot Install Printers for All Local Users</a></dt><dt>SMB requests, <a class="indexterm" href="SambaHA.html#id2672534">Demultiplexing SMB Requests</a></dt><dt>SMB semantics, <a class="indexterm" href="SambaHA.html#id2672640">The Distributed File System Challenge</a></dt><dt>SMB server, <a class="indexterm" href="passdb.html#id2588360">Advantages of Encrypted Passwords</a></dt><dt>SMB Server, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>SMB services, <a class="indexterm" href="SambaHA.html#id2672767">Restrictive Constraints on Distributed File Systems</a></dt><dt>SMB signing, <a class="indexterm" href="domain-member.html#id2574030">I Can't Join a Windows 2003 PDC</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></dt><dt>SMB state information, <a class="indexterm" href="SambaHA.html#id2672534">Demultiplexing SMB Requests</a></dt><dt>SMB-based messaging, <a class="indexterm" href="NetworkBrowsing.html#netdiscuss">Discussion</a></dt><dt>smb-cdserver.conf, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></dt><dt>smb.conf, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></dt><dt>SMB/CIFS, <a class="indexterm" href="samba-bdc.html#id2567390">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="domain-member.html#id2574030">I Can't Join a Windows 2003 PDC</a>, <a class="indexterm" href="passdb.html#id2588044">Important Notes About Security</a>, <a class="indexterm" href="unicode.html#id2669946">What Are Charsets and Unicode?</a></dt><dt>SMB/CIFS server, <a class="indexterm" href="passdb.html#id2592519">Password Backends</a></dt><dt>smbclient, <a class="indexterm" href="domain-member.html#ads-test-smbclient">Testing with smbclient</a>, <a class="indexterm" href="classicalprinting.html#id2628585">Installing Driver Files into [print$]</a>, <a class="indexterm" href="classicalprinting.html#id2628804">smbclient to Confirm Driver Installation</a>, <a class="indexterm" href="Backup.html#id2671551">BackupPC</a>, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a>, <a class="indexterm" href="problems.html#id2684931">Debugging with Samba Itself</a></dt><dt>smbd, <a class="indexterm" href="install.html#id2552921">Starting Samba</a>, <a class="indexterm" href="install.html#id2553100">Example Configuration</a>, <a class="indexterm" href="install.html#id2553334">Test Your Config File with testparm</a>, <a class="indexterm" href="FastStart.html#id2555235">Secure Read-Write File and Print Server</a>, <a class="indexterm" href="FastStart.html#id2556059">Example Configuration</a>, <a class="indexterm" href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="passdb.html#id2593375">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2594059">Configuring Samba</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2605900">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="rights.html#id2609072">Description of Privileges</a>, <a class="indexterm" href="classicalprinting.html#id2622925">Verifying Configuration with testparm</a>, <a class="indexterm" href="classicalprinting.html#id2623122">Rapid Configuration Validation</a>, <a class="indexterm" href="VFS.html#id2651054">extd_audit</a>, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2654858">Testing Things Out</a>, <a class="indexterm" href="winbind.html#id2655654">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="winbind.html#id2656253">Linux</a>, <a class="indexterm" href="winbind.html#id2656458">Solaris</a>, <a class="indexterm" href="SambaHA.html#id2672836">Server Pool Communications</a>, <a class="indexterm" href="largefile.html">Handling Large Directories</a>, <a class="indexterm" href="cfgsmarts.html#id2673932">Multiple Server Hosting</a>, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a>, <a class="indexterm" href="problems.html#id2684931">Debugging with Samba Itself</a></dt><dt>smbgroupedit, <a class="indexterm" href="NetCommand.html">Remote and Local Management: The Net Command</a></dt><dt>smbgrpadd.sh, <a class="indexterm" href="groupmapping.html#id2598231">Sample smb.conf Add Group Script</a></dt><dt>smbHome, <a class="indexterm" href="passdb.html#id2594832">LDAP Special Attributes for sambaSamAccounts</a></dt><dt>smbldap-groupadd, <a class="indexterm" href="NetCommand.html#id2599600">Adding or Creating a New Group</a></dt><dt>smbldap-tools, <a class="indexterm" href="passdb.html#id2593072">ldapsam</a></dt><dt>smbpasswd, <a class="indexterm" href="ServerType.html#id2559868">Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2568774">How Do I Replicate the smbpasswd File?</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2572115">Configure smb.conf</a>, <a class="indexterm" href="domain-member.html#id2573472">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="ChangeNotes.html#id2579156">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2587285">Backward Compatibility Account Storage Systems</a>, <a class="indexterm" href="passdb.html#acctmgmttools">Account Management Tools</a>, <a class="indexterm" href="passdb.html#id2589966">The smbpasswd Tool</a>, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a>, <a class="indexterm" href="passdb.html#id2591042">User Account Management</a>, <a class="indexterm" href="passdb.html#id2592394">Account Import/Export</a>, <a class="indexterm" href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="passdb.html#id2593072">ldapsam</a>, <a class="indexterm" href="passdb.html#id2593375">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2593873">Initialize the LDAP Database</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a>, <a class="indexterm" href="PolicyMgmt.html#id2660268">Samba PDC</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678169">Passdb Backends and Authentication</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2678364">New Schema</a></dt><dt>smbpasswd format, <a class="indexterm" href="passdb.html#id2591158">Listing User and Machine Accounts</a></dt><dt>smbpasswd plaintext database, <a class="indexterm" href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a></dt><dt>SMBsessetupX, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a></dt><dt>smbspool, <a class="indexterm" href="CUPS-printing.html#id2648535">Printing from CUPS to Windows-Attached Printers</a></dt><dt>smbstatus, <a class="indexterm" href="CUPS-printing.html#id2649253">Avoid Being Connected to the Samba Server as the Wrong User</a>, <a class="indexterm" href="bugreport.html#id2686710">Attaching to a Running Process</a></dt><dt>SMBtconX, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a></dt><dt>smbusers, <a class="indexterm" href="securing-samba.html#id2618490">User-Based Protection</a></dt><dt>SMS, <a class="indexterm" href="problems.html#id2685381">The Windows Network Monitor</a></dt><dt>Snapshots, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>sniffer, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="problems.html#id2684879">Diagnostics Tools</a></dt><dt>socket, <a class="indexterm" href="cfgsmarts.html#id2673932">Multiple Server Hosting</a></dt><dt>socket address, <a class="indexterm" href="cfgsmarts.html#id2673932">Multiple Server Hosting</a></dt><dt>SOFTQ printing system, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>Solaris, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="winbind.html#id2656647">Configure Winbind and PAM</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2658207">Remote Management with ThinLinc</a>, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a>, <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a></dt><dt>Solaris 9, <a class="indexterm" href="winbind.html#id2656458">Solaris</a></dt><dt>source code, <a class="indexterm" href="install.html#id2553100">Example Configuration</a></dt><dt>space character, <a class="indexterm" href="groupmapping.html#id2598543">Adding Groups Fails</a></dt><dt>special account, <a class="indexterm" href="rights.html">User Rights and Privileges</a>, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>special section, <a class="indexterm" href="classicalprinting.html#id2627200">[print$] Stanza Parameters</a></dt><dt>special sections, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>special stanza, <a class="indexterm" href="classicalprinting.html#id2627200">[print$] Stanza Parameters</a></dt><dt>specific restrictions, <a class="indexterm" href="AccessControls.html#id2612982">Access Controls on Shares</a></dt><dt>Specify an IP address, <a class="indexterm" href="ClientConfig.html#id2576878">MS Windows Me</a></dt><dt>spinning process, <a class="indexterm" href="bugreport.html#id2686710">Attaching to a Running Process</a></dt><dt>spool, <a class="indexterm" href="classicalprinting.html#id2622925">Verifying Configuration with testparm</a></dt><dd><dl><dt>directory, <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a></dt></dl></dd><dt>spool files, <a class="indexterm" href="classicalprinting.html#id2626023">Custom Print Commands</a></dt><dt>spooled file, <a class="indexterm" href="classicalprinting.html#id2622330">Technical Introduction</a></dt><dt>spooler., <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a></dt><dt>spooling, <a class="indexterm" href="classicalprinting.html#id2626023">Custom Print Commands</a>, <a class="indexterm" href="CUPS-printing.html#id2634156">Central Spooling vs. Peer-to-Peer Printing</a></dt><dd><dl><dt>central, <a class="indexterm" href="CUPS-printing.html#id2634156">Central Spooling vs. Peer-to-Peer Printing</a></dt><dt>peer-to-peer, <a class="indexterm" href="CUPS-printing.html#id2634156">Central Spooling vs. Peer-to-Peer Printing</a></dt></dl></dd><dt>spooling path, <a class="indexterm" href="classicalprinting.html#id2622925">Verifying Configuration with testparm</a></dt><dt>spooling-only, <a class="indexterm" href="CUPS-printing.html#id2634206">Raw Print Serving: Vendor Drivers on Windows Clients</a></dt><dt>SPOOLSS, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>SQL, <a class="indexterm" href="ChangeNotes.html#id2579095">Passdb Changes</a></dt><dt>SQUID, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></dt><dt>SRV records, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a>, <a class="indexterm" href="NetworkBrowsing.html#adsdnstech">DNS and Active Directory</a></dt><dt>SRV RR, <a class="indexterm" href="integrate-ms-networks.html#id2668111">Background Information</a></dt><dt>SrvMgr.exe, <a class="indexterm" href="domain-member.html#id2570246">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>srvmgr.exe, <a class="indexterm" href="domain-member.html#id2570246">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>SRVTOOLS.EXE, <a class="indexterm" href="domain-member.html#id2570246">Managing Domain Machine Accounts using NT4 Server Manager</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657660">Remote Server Administration</a></dt><dt>ssh, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2568774">How Do I Replicate the smbpasswd File?</a>, <a class="indexterm" href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="Backup.html#id2671551">BackupPC</a></dt><dt>SSH, <a class="indexterm" href="classicalprinting.html#id2628804">smbclient to Confirm Driver Installation</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2658207">Remote Management with ThinLinc</a></dt><dt>SSL, <a class="indexterm" href="SWAT.html#id2681902">Securing SWAT through SSL</a></dt><dt>SSO, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a>, <a class="indexterm" href="domain-member.html#id2569122">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2589112">Comments Regarding LDAP</a></dt><dt>stability, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>stack trace, <a class="indexterm" href="bugreport.html#id2686577">Internal Errors</a></dt><dt>stale network links, <a class="indexterm" href="NetworkBrowsing.html#id2586766">Invalid Cached Share References Affects Network Browsing</a></dt><dt>stand-alone server, <a class="indexterm" href="idmapper.html#id2604493">Standalone Samba Server</a></dt><dt>standalone, <a class="indexterm" href="ServerType.html#id2558991">Server Types</a>, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a>, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a></dt><dt>standalone filter, <a class="indexterm" href="CUPS-printing.html#id2637361">pstoraster</a></dt><dt>standalone server, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="StandAloneServer.html">Standalone Servers</a>, <a class="indexterm" href="StandAloneServer.html#id2574163">Features and Benefits</a>, <a class="indexterm" href="StandAloneServer.html#id2574257">Background</a>, <a class="indexterm" href="passdb.html#id2591394">Adding User Accounts</a>, <a class="indexterm" href="classicalprinting.html#id2622106">Features and Benefits</a>, <a class="indexterm" href="NT4Migration.html#id2679535">Domain Layout</a></dt><dt>standard confirmation, <a class="indexterm" href="InterdomainTrusts.html#id2620141">Creating an NT4 Domain Trust</a></dt><dt>stanza, <a class="indexterm" href="install.html#id2552018">Configuration File Syntax</a>, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>stapling, <a class="indexterm" href="CUPS-printing.html#id2637193">pstops</a></dt><dt>StartDocPrinter, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>starting samba</dt><dd><dl><dt>nmbd, <a class="indexterm" href="install.html#id2552921">Starting Samba</a>, <a class="indexterm" href="FastStart.html#id2555235">Secure Read-Write File and Print Server</a>, <a class="indexterm" href="FastStart.html#id2556059">Example Configuration</a></dt><dt>smbd, <a class="indexterm" href="install.html#id2552921">Starting Samba</a>, <a class="indexterm" href="FastStart.html#id2555235">Secure Read-Write File and Print Server</a>, <a class="indexterm" href="FastStart.html#id2556059">Example Configuration</a></dt><dt>winbindd, <a class="indexterm" href="install.html#id2552921">Starting Samba</a>, <a class="indexterm" href="FastStart.html#id2556059">Example Configuration</a>, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a></dt></dl></dd><dt>startsmb, <a class="indexterm" href="compiling.html#id2688751">Alternative: Starting smbd as a Daemon</a></dt><dt>StartTLS, <a class="indexterm" href="passdb.html#id2594596">Security and sambaSamAccount</a></dt><dt>startup</dt><dd><dl><dt>process, <a class="indexterm" href="install.html#id2552921">Starting Samba</a></dt></dl></dd><dt>startup script, <a class="indexterm" href="winbind.html#id2655892">Starting and Testing the winbindd Daemon</a></dt><dt>state, <a class="indexterm" href="SambaHA.html#id2672321">Why Is This So Hard?</a></dt><dt>state information, <a class="indexterm" href="SambaHA.html#id2672321">Why Is This So Hard?</a></dt><dt>state of knowledge, <a class="indexterm" href="SambaHA.html#id2672036">Features and Benefits</a></dt><dt>static WINS entries, <a class="indexterm" href="NetworkBrowsing.html#id2584236">Static WINS Entries</a></dt><dt>status32 codes, <a class="indexterm" href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></dt><dt>sticky bit, <a class="indexterm" href="AccessControls.html#id2611240">File and Directory Access Control</a>, <a class="indexterm" href="NT4Migration.html#id2679736">Server Share and Directory Layout</a></dt><dt>storage mechanism, <a class="indexterm" href="passdb.html#acctmgmttools">Account Management Tools</a></dt><dt>storage methods, <a class="indexterm" href="passdb.html#id2589966">The smbpasswd Tool</a></dt><dt>stphoto2.ppd, <a class="indexterm" href="CUPS-printing.html#id2639597">Examples for Filtering Chains</a></dt><dt>strange delete semantics, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>stripped of comments, <a class="indexterm" href="SWAT.html#id2681115">Features and Benefits</a></dt><dt>strptime, <a class="indexterm" href="passdb.html#id2591566">Changing User Accounts</a></dt><dt>stunnel, <a class="indexterm" href="SWAT.html#id2681902">Securing SWAT through SSL</a></dt><dt>su, <a class="indexterm" href="pam.html#id2665943">Anatomy of /etc/pam.d Entries</a></dt><dt>subnet mask, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2576878">MS Windows Me</a>, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>subnets, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a></dt><dt>subscription, <a class="indexterm" href="ch47.html#id2692514">Free Support</a></dt><dt>subsuffix parameters, <a class="indexterm" href="upgrading-to-3.0.html#id2678757">New Suffix for Searching</a></dt><dt>Subversion, <a class="indexterm" href="compiling.html#id2687577">Introduction</a>, <a class="indexterm" href="compiling.html#id2687668">Access via Subversion</a></dt><dt>successful join, <a class="indexterm" href="domain-member.html#ads-test-server">Testing Server Setup</a></dt><dt>successful migration, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>sufficient, <a class="indexterm" href="pam.html#id2665943">Anatomy of /etc/pam.d Entries</a></dt><dt>suffixes, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt><dt>SUID, <a class="indexterm" href="AccessControls.html#id2611240">File and Directory Access Control</a></dt><dt>Sun, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a></dt><dt>Sun ONE iDentity server, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>Sun Solaris, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>SUN-Raster, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt><dt>support, <a class="indexterm" href="ch47.html">Samba Support</a></dt><dt>support exposure, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>SVN</dt><dd><dl><dt>web, <a class="indexterm" href="compiling.html#id2687632">Access via ViewCVS</a></dt></dl></dd><dt>SVRTOOLS.EXE, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a></dt><dt>SWAT, <a class="indexterm" href="install.html#id2551976">Configuring Samba (smb.conf)</a>, <a class="indexterm" href="SWAT.html">SWAT: The Samba Web Administration Tool</a></dt><dt>swat, <a class="indexterm" href="install.html#id2553503">SWAT</a>, <a class="indexterm" href="SWAT.html#id2681264">Validate SWAT Installation</a>, <a class="indexterm" href="SWAT.html#id2681334">Locating the SWAT File</a>, <a class="indexterm" href="SWAT.html#xinetd">Enabling SWAT for Use</a></dt><dd><dl><dt>enable, <a class="indexterm" href="SWAT.html#xinetd">Enabling SWAT for Use</a></dt><dt>security, <a class="indexterm" href="SWAT.html#id2681902">Securing SWAT through SSL</a></dt></dl></dd><dt>SWAT binary support, <a class="indexterm" href="SWAT.html#id2681264">Validate SWAT Installation</a></dt><dt>swat command-line options, <a class="indexterm" href="SWAT.html#id2681334">Locating the SWAT File</a></dt><dt>SWAT permission allowed, <a class="indexterm" href="SWAT.html#xinetd">Enabling SWAT for Use</a></dt><dt>symbolic links, <a class="indexterm" href="msdfs.html#id2621456">Features and Benefits</a></dt><dt>synchronization, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a>, <a class="indexterm" href="samba-pdc.html#id2564926">Security Mode and Master Browsers</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583591">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585529">Behavior of Cross-Subnet Browsing</a></dt><dt>synchronization problems, <a class="indexterm" href="winbind.html#id2653461">Introduction</a></dt><dt>synchronize, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a>, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583498">Use of the Remote Browse Sync Parameter</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585529">Behavior of Cross-Subnet Browsing</a></dt><dt>synchronized, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a></dt><dt>syntax tolerates spelling errors, <a class="indexterm" href="classicalprinting.html#id2622641">Simple Print Configuration</a></dt><dt>system access controls, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a></dt><dt>system accounts, <a class="indexterm" href="passdb.html#id2591042">User Account Management</a></dt><dt>system administrator, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>system groups, <a class="indexterm" href="NetCommand.html#id2599802">Mapping Windows Groups to UNIX Groups</a></dt><dt>system interface scripts, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>system policies, <a class="indexterm" href="PolicyMgmt.html#id2658910">Creating and Managing System Policies</a></dt><dt>System Policy Editor, <a class="indexterm" href="PolicyMgmt.html#id2658910">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2659660">Administration of Windows 200x/XP Policies</a>, <a class="indexterm" href="ProfileMgmt.html#id2663378">MS Windows 9x/Me</a></dt><dt>system security, <a class="indexterm" href="groupmapping.html#id2597396">Applicable Only to Versions Earlier than 3.0.11</a></dt><dt>system tools, <a class="indexterm" href="Backup.html#id2671410">Features and Benefits</a></dt><dt>SYSV, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>SYSVOL, <a class="indexterm" href="PolicyMgmt.html#id2659457">MS Windows 200x/XP Professional Policies</a></dt></dl></div><div class="indexdiv"><h3>T</h3><dl><dt>tail, <a class="indexterm" href="diagnosis.html#id2682839">Assumptions</a></dt><dt>take ownership, <a class="indexterm" href="rights.html#id2609072">Description of Privileges</a></dt><dt>Take Ownership, <a class="indexterm" href="AccessControls.html#id2613601">Viewing File Ownership</a></dt><dt>tape, <a class="indexterm" href="NT4Migration.html#id2679736">Server Share and Directory Layout</a></dt><dt>tar, <a class="indexterm" href="Backup.html#id2671551">BackupPC</a></dt><dt>tarball, <a class="indexterm" href="install.html#id2553100">Example Configuration</a></dt><dt>tattoo effect, <a class="indexterm" href="NT4Migration.html#id2680625">Samba-3 Implementation Choices</a></dt><dt>TCP, <a class="indexterm" href="NetworkBrowsing.html#id2583172">Multiple Interfaces</a>, <a class="indexterm" href="SambaHA.html#id2672321">Why Is This So Hard?</a></dt><dt>TCP data streams, <a class="indexterm" href="SambaHA.html#id2672440">The Front-End Challenge</a></dt><dt>TCP failover, <a class="indexterm" href="SambaHA.html#id2672321">Why Is This So Hard?</a></dt><dt>TCP port, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a></dt><dt>TCP port 139, <a class="indexterm" href="integrate-ms-networks.html#id2668111">Background Information</a>, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></dt><dt>TCP port 445, <a class="indexterm" href="integrate-ms-networks.html#id2668111">Background Information</a>, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></dt><dt>tcp ports, <a class="indexterm" href="winbind.html#id2655654">Join the Samba Server to the PDC Domain</a></dt><dt>TCP/IP, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2576878">MS Windows Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579539">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584479">Windows Networking Protocols</a></dt><dt>TCP/IP configuration, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2576878">MS Windows Me</a></dt><dt>TCP/IP configuration panel, <a class="indexterm" href="ClientConfig.html#id2576332">MS Windows 2000</a></dt><dt>TCP/IP protocol configuration, <a class="indexterm" href="ClientConfig.html#id2575569">Technical Details</a></dt><dt>TCP/IP protocol settings, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2576332">MS Windows 2000</a></dt><dt>TCP/IP protocol stack, <a class="indexterm" href="NetworkBrowsing.html#id2583591">WINS: The Windows Internetworking Name Server</a></dt><dt>TCP/IP-only, <a class="indexterm" href="NetworkBrowsing.html#id2584479">Windows Networking Protocols</a></dt><dt>tcpdump, <a class="indexterm" href="problems.html#id2685187">Tcpdump</a></dt><dt>TDB, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a>, <a class="indexterm" href="classicalprinting.html#id2629548">Running rpcclient with setdriver</a>, <a class="indexterm" href="CUPS-printing.html#id2645458">The Printing *.tdb Files</a>, <a class="indexterm" href="CUPS-printing.html#id2645661">Trivial Database Files</a>, <a class="indexterm" href="cfgsmarts.html#id2673932">Multiple Server Hosting</a></dt><dd><dl><dt>backing up (see tdbbackup)</dt></dl></dd><dt>tdb, <a class="indexterm" href="winbind.html#id2654453">User and Group ID Allocation</a>, <a class="indexterm" href="SambaHA.html#id2672836">Server Pool Communications</a>, <a class="indexterm" href="tdb.html#id2686919">Features and Benefits</a></dt><dt>tdb data files, <a class="indexterm" href="upgrading-to-3.0.html#id2677721">TDB Data Files</a></dt><dt>TDB database, <a class="indexterm" href="classicalprinting.html#id2628941">Running rpcclient with adddriver</a></dt><dt>TDB database files, <a class="indexterm" href="classicalprinting.html#prt-modeset">Setting Device Modes on New Printers</a></dt><dt>tdb file backup, <a class="indexterm" href="upgrading-to-3.0.html#id2677721">TDB Data Files</a></dt><dt>tdb file descriptions, <a class="indexterm" href="install.html#tdbdocs">TDB Database File Information</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2677721">TDB Data Files</a></dt><dt>tdb file locations, <a class="indexterm" href="install.html#tdbdocs">TDB Database File Information</a></dt><dt>tdb files, <a class="indexterm" href="AccessControls.html#id2612982">Access Controls on Shares</a></dt><dt>tdbbackup, <a class="indexterm" href="CUPS-printing.html#id2645846">Using tdbbackup</a>, <a class="indexterm" href="speed.html#id2691227">Corrupt tdb Files</a></dt><dt>tdbdump, <a class="indexterm" href="AccessControls.html#id2612982">Access Controls on Shares</a></dt><dt>tdbsam, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a>, <a class="indexterm" href="ChangeNotes.html#id2579156">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a>, <a class="indexterm" href="passdb.html#id2591158">Listing User and Machine Accounts</a>, <a class="indexterm" href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="passdb.html#id2592915">tdbsam</a>, <a class="indexterm" href="groupmapping.html#id2597518">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>tdbsam databases, <a class="indexterm" href="passdb.html#id2592519">Password Backends</a></dt><dt>technical reviewers, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a></dt><dt>Telnet, <a class="indexterm" href="passdb.html#id2588500">Advantages of Non-Encrypted Passwords</a></dt><dt>telnet logins, <a class="indexterm" href="winbind.html#id2656813">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>template, <a class="indexterm" href="ProfileMgmt.html#id2663269">Creating and Managing Group Profiles</a></dt><dt>temporary location, <a class="indexterm" href="classicalprinting.html#id2625403">Print Commands</a></dt><dt>terminal server, <a class="indexterm" href="AdvancedNetworkManagement.html#id2658207">Remote Management with ThinLinc</a></dt><dt>Terminal Server, <a class="indexterm" href="SambaHA.html#id2672534">Demultiplexing SMB Requests</a></dt><dt>Testing Server Setup, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a></dt><dt>testparm, <a class="indexterm" href="install.html#id2553334">Test Your Config File with testparm</a>, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="classicalprinting.html#id2622641">Simple Print Configuration</a>, <a class="indexterm" href="classicalprinting.html#id2622925">Verifying Configuration with testparm</a>, <a class="indexterm" href="classicalprinting.html#id2623122">Rapid Configuration Validation</a>, <a class="indexterm" href="classicalprinting.html#id2623522">Extended Printing Configuration</a>, <a class="indexterm" href="diagnosis.html#id2682839">Assumptions</a>, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a>, <a class="indexterm" href="problems.html#id2684931">Debugging with Samba Itself</a></dt><dt>tethereal, <a class="indexterm" href="problems.html#id2685187">Tcpdump</a></dt><dt>text/plain, <a class="indexterm" href="CUPS-printing.html#id2636640">MIME Type Conversion Rules</a></dt><dt>texttops, <a class="indexterm" href="CUPS-printing.html#id2636640">MIME Type Conversion Rules</a></dt><dt>thin client, <a class="indexterm" href="AdvancedNetworkManagement.html#id2658207">Remote Management with ThinLinc</a></dt><dt>ThinLinc, <a class="indexterm" href="AdvancedNetworkManagement.html#id2658207">Remote Management with ThinLinc</a></dt><dt>tid, <a class="indexterm" href="SambaHA.html#id2672534">Demultiplexing SMB Requests</a></dt><dt>TIFF, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt><dt>TightVNC, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2658207">Remote Management with ThinLinc</a></dt><dt>time difference, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a></dt><dt>time format, <a class="indexterm" href="passdb.html#id2591566">Changing User Accounts</a></dt><dt>time-to-live (see TTL)</dt><dt>tool, <a class="indexterm" href="AccessControls.html#id2613247">Windows 200x/XP</a></dt><dt>tools, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="passdb.html#id2589388">Caution Regarding LDAP and Samba</a></dt><dt>tools\reskit\netadmin\poledit, <a class="indexterm" href="PolicyMgmt.html#id2659098">Windows 9x/ME Policies</a></dt><dt>traditional printing, <a class="indexterm" href="classicalprinting.html#id2626023">Custom Print Commands</a></dt><dt>training course, <a class="indexterm" href="Backup.html#id2671454">Discussion of Backup Solutions</a></dt><dt>transfer differences, <a class="indexterm" href="Backup.html#id2671723">Rsync</a></dt><dt>transformation, <a class="indexterm" href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></dt><dt>transitive, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a></dt><dt>transparent access, <a class="indexterm" href="domain-member.html#id2569122">Features and Benefits</a></dt><dt>transparently reconnected, <a class="indexterm" href="SambaHA.html#id2672191">The Ultimate Goal</a></dt><dt>transport connection loss, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>Transport Layer Seccurity, TLS</dt><dd><dl><dt>Configuring, <a class="indexterm" href="ch-ldap-tls.html#s1-config-ldap-tls">Configuring</a></dt><dt>Introduction, <a class="indexterm" href="ch-ldap-tls.html#s1-intro-ldap-tls">Introduction</a></dt></dl></dd><dt>transport layer security (see TLS)</dt><dt>Transport Layer Security, TLS</dt><dd><dl><dt>Testing, <a class="indexterm" href="ch-ldap-tls.html#s1-test-ldap-tls">Testing</a></dt><dt>Troubleshooting, <a class="indexterm" href="ch-ldap-tls.html#s1-int-ldap-tls">Troubleshooting</a></dt></dl></dd><dt>trigger, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a></dt><dt>trivial database, <a class="indexterm" href="passdb.html#id2587476">New Account Storage Systems</a> (see TDB)</dt><dt>Trivial Database, <a class="indexterm" href="tdb.html#id2686919">Features and Benefits</a></dt><dt>troubleshoot, <a class="indexterm" href="classicalprinting.html#id2623122">Rapid Configuration Validation</a></dt><dt>troubleshooting, <a class="indexterm" href="CUPS-printing.html#id2648535">Printing from CUPS to Windows-Attached Printers</a></dt><dt>Tru64 UNIX, <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a></dt><dt>trust, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a></dt><dd><dl><dt>account, <a class="indexterm" href="ServerType.html#id2559653">Domain Security Mode (User-Level Security)</a></dt></dl></dd><dt>trust account, <a class="indexterm" href="ServerType.html#id2559653">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a>, <a class="indexterm" href="InterdomainTrusts.html#id2621070">NT4-Style Domain Trusts with Windows 2000</a></dt><dd><dl><dt>interdomain, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a></dt><dt>machine, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a></dt></dl></dd><dt>trust account password, <a class="indexterm" href="samba-bdc.html#id2565803">Features and Benefits</a></dt><dt>trust accounts, <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a></dt><dt>trust established, <a class="indexterm" href="InterdomainTrusts.html#id2620323">Interdomain Trust Facilities</a></dt><dt>trust relationship, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2620238">Completing an NT4 Domain Trust</a>, <a class="indexterm" href="InterdomainTrusts.html#id2620323">Interdomain Trust Facilities</a>, <a class="indexterm" href="InterdomainTrusts.html#id2620532">Configuring Samba NT-Style Domain Trusts</a>, <a class="indexterm" href="InterdomainTrusts.html#id2621070">NT4-Style Domain Trusts with Windows 2000</a></dt><dt>trust relationships, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="InterdomainTrusts.html#id2619747">Features and Benefits</a>, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2620141">Creating an NT4 Domain Trust</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></dt><dt>trusted, <a class="indexterm" href="NetworkBrowsing.html#id2585529">Behavior of Cross-Subnet Browsing</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>trusted domain, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2620238">Completing an NT4 Domain Trust</a>, <a class="indexterm" href="InterdomainTrusts.html#id2620873">Samba as the Trusting Domain</a>, <a class="indexterm" href="winbind.html#id2654066">Name Service Switch</a></dt><dt>trusted domain name, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>trusted party, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>trusting domain, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2620238">Completing an NT4 Domain Trust</a></dt><dt>trusting party, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>trusts, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a></dt><dt>TTL, <a class="indexterm" href="NetworkBrowsing.html#id2584236">Static WINS Entries</a></dt><dt>turn oplocks off, <a class="indexterm" href="locking.html#id2616792">Advanced Samba Oplocks Parameters</a></dt><dt>turnkey solution, <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a></dt><dt>two-up, <a class="indexterm" href="CUPS-printing.html#id2639597">Examples for Filtering Chains</a></dt><dt>two-way</dt><dd><dl><dt>propagation, <a class="indexterm" href="samba-bdc.html#id2565803">Features and Benefits</a></dt></dl></dd><dt>two-way trust, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2620105">Native MS Windows NT4 Trusts Configuration</a>, <a class="indexterm" href="InterdomainTrusts.html#id2620323">Interdomain Trust Facilities</a></dt></dl></div><div class="indexdiv"><h3>U</h3><dl><dt>UCS-2, <a class="indexterm" href="unicode.html#id2670247">Japanese Charsets</a></dt><dt>UDP, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a>, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583172">Multiple Interfaces</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585358">Cross-Subnet Browsing</a></dt><dt>UDP port 137, <a class="indexterm" href="integrate-ms-networks.html#id2668111">Background Information</a></dt><dt>udp ports, <a class="indexterm" href="winbind.html#id2655654">Join the Samba Server to the PDC Domain</a></dt><dt>UDP unicast, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a></dt><dt>UID, <a class="indexterm" href="samba-bdc.html#id2568163">Example Configuration</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2571833">Why Is This Better Than security = server?</a>, <a class="indexterm" href="domain-member.html#id2573472">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a>, <a class="indexterm" href="passdb.html#id2588564">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2591158">Listing User and Machine Accounts</a>, <a class="indexterm" href="groupmapping.html#id2595891">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a>, <a class="indexterm" href="NetCommand.html#id2599802">Mapping Windows Groups to UNIX Groups</a>, <a class="indexterm" href="NetCommand.html#id2600928">UNIX and Windows User Management</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2605507">Primary Domain Controller</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a>, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2653749">Handling of Foreign SIDs</a>, <a class="indexterm" href="winbind.html#id2655892">Starting and Testing the winbindd Daemon</a></dt><dt>uid, <a class="indexterm" href="passdb.html#id2593601">OpenLDAP Configuration</a></dt><dt>UID numbers, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a></dt><dt>UID range, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a></dt><dt>unauthorized, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>unauthorized access, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a></dt><dt>UNC notation, <a class="indexterm" href="classicalprinting.html#id2628032">Identifying Driver Files</a></dt><dt>unexpected.tdb, <a class="indexterm" href="CUPS-printing.html#id2645458">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>unicast, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a></dt><dt>unicode, <a class="indexterm" href="unicode.html#id2669946">What Are Charsets and Unicode?</a></dt><dt>Unicode, <a class="indexterm" href="unicode.html#id2670080">Samba and Charsets</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></dt><dt>Unicode UTF-8, <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a></dt><dt>unified logon, <a class="indexterm" href="winbind.html#id2653461">Introduction</a></dt><dt>UNIX, <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a></dt><dd><dl><dt>server, <a class="indexterm" href="ServerType.html#id2558832">Features and Benefits</a></dt></dl></dd><dt>UNIX account, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2570526">On-the-Fly Creation of Machine Trust Accounts</a></dt><dt>unix charset, <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a></dt><dt>UNIX Domain Socket, <a class="indexterm" href="AccessControls.html#id2611240">File and Directory Access Control</a></dt><dt>UNIX domain socket, <a class="indexterm" href="winbind.html#id2653875">How Winbind Works</a></dt><dt>UNIX file system access controls, <a class="indexterm" href="AccessControls.html#id2610573">Features and Benefits</a></dt><dt>UNIX group, <a class="indexterm" href="NetCommand.html#id2599802">Mapping Windows Groups to UNIX Groups</a></dt><dt>UNIX groups, <a class="indexterm" href="groupmapping.html">Group Mapping: MS Windows and UNIX</a>, <a class="indexterm" href="winbind.html#id2653551">What Winbind Provides</a></dt><dt>UNIX home directories, <a class="indexterm" href="securing-samba.html#id2619187">Why Can Users Access Other Users' Home Directories?</a></dt><dt>UNIX host system, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>UNIX ID, <a class="indexterm" href="winbind.html#id2654453">User and Group ID Allocation</a></dt><dt>UNIX locking, <a class="indexterm" href="locking.html#id2615682">Discussion</a></dt><dt>UNIX login ID, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>UNIX permissions, <a class="indexterm" href="NT4Migration.html#id2680625">Samba-3 Implementation Choices</a></dt><dt>UNIX printer, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>UNIX printing, <a class="indexterm" href="classicalprinting.html#id2622330">Technical Introduction</a></dt><dt>UNIX system account, <a class="indexterm" href="domain-member.html#id2573794">Adding Machine to Domain Fails</a></dt><dt>UNIX system accounts, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>UNIX system files, <a class="indexterm" href="Backup.html#id2671410">Features and Benefits</a></dt><dt>UNIX user identifier (see UID)</dt><dt>UNIX users, <a class="indexterm" href="domain-member.html#id2571833">Why Is This Better Than security = server?</a>, <a class="indexterm" href="winbind.html#id2653551">What Winbind Provides</a></dt><dt>UNIX-style encrypted passwords, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a></dt><dt>UNIX-user database, <a class="indexterm" href="StandAloneServer.html#id2574257">Background</a></dt><dt>UNIX/Linux group, <a class="indexterm" href="groupmapping.html#id2596644">Warning: User Private Group Problems</a></dt><dt>UNIX/Linux user account, <a class="indexterm" href="NetCommand.html#id2600928">UNIX and Windows User Management</a></dt><dt>unlink calls, <a class="indexterm" href="VFS.html#id2651380">recycle</a></dt><dt>unlinked, <a class="indexterm" href="AccessControls.html#id2611240">File and Directory Access Control</a></dt><dt>unmapped groups, <a class="indexterm" href="ChangeNotes.html#id2578662">User and Group Changes</a></dt><dt>unmapped users, <a class="indexterm" href="ChangeNotes.html#id2578662">User and Group Changes</a></dt><dt>unprivileged account names, <a class="indexterm" href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a></dt><dt>unsigned drivers, <a class="indexterm" href="CUPS-printing.html#id2649412">Windows 200x/XP Local Security Policies</a></dt><dt>unstoppable services, <a class="indexterm" href="SambaHA.html#id2672191">The Ultimate Goal</a></dt><dt>unsupported encryption, <a class="indexterm" href="domain-member.html#id2573107">Possible Errors</a></dt><dt>unsupported software, <a class="indexterm" href="ch47.html#id2692732">Commercial Support</a></dt><dt>updates, <a class="indexterm" href="securing-samba.html#id2619099">Upgrading Samba</a></dt><dt>upload drivers, <a class="indexterm" href="classicalprinting.html#id2622106">Features and Benefits</a></dt><dt>uploaded driver, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>uploaded drivers, <a class="indexterm" href="classicalprinting.html#id2626693">Point'n'Print Client Drivers on Samba Servers</a></dt><dt>uploading, <a class="indexterm" href="classicalprinting.html#id2626693">Point'n'Print Client Drivers on Samba Servers</a></dt><dt>upper-case, <a class="indexterm" href="ServerType.html#id2559298">User Level Security</a></dt><dt>uppercase, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2573794">Adding Machine to Domain Fails</a>, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>uppercase character, <a class="indexterm" href="groupmapping.html#id2598543">Adding Groups Fails</a></dt><dt>USB, <a class="indexterm" href="CUPS-printing.html#id2639597">Examples for Filtering Chains</a></dt><dt>use computer anywhere, <a class="indexterm" href="unicode.html#id2669894">Features and Benefits</a></dt><dt>user, <a class="indexterm" href="ChangeNotes.html#id2578662">User and Group Changes</a>, <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="AccessControls.html#id2611240">File and Directory Access Control</a></dt><dt>user access management, <a class="indexterm" href="domain-member.html#id2569122">Features and Benefits</a></dt><dt>user account, <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2591042">User Account Management</a>, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a>, <a class="indexterm" href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="NetCommand.html#id2600928">UNIX and Windows User Management</a></dt><dd><dl><dt>Adding/Deleting, <a class="indexterm" href="passdb.html#id2589966">The smbpasswd Tool</a></dt></dl></dd><dt>user account database, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a></dt><dt>user accounts, <a class="indexterm" href="passdb.html#id2589388">Caution Regarding LDAP and Samba</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>User Accounts</dt><dd><dl><dt>Adding/Deleting, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a>, <a class="indexterm" href="passdb.html#id2594483">Accounts and Groups Management</a></dt></dl></dd><dt>user and group, <a class="indexterm" href="winbind.html#id2653551">What Winbind Provides</a></dt><dt>user and trust accounts, <a class="indexterm" href="passdb.html">Account Information Databases</a></dt><dt>user attributes, <a class="indexterm" href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a></dt><dt>user authentication, <a class="indexterm" href="winbind.html#id2653925">Microsoft Remote Procedure Calls</a></dt><dt>user database, <a class="indexterm" href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a>, <a class="indexterm" href="passdb.html#id2592572">Plaintext</a></dt><dt>user encoded, <a class="indexterm" href="NetCommand.html#id2602302">Managing Security Identifiers (SIDS)</a></dt><dt>user groups, <a class="indexterm" href="ch47.html#id2692514">Free Support</a></dt><dt>user logons, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>user management, <a class="indexterm" href="passdb.html#id2589966">The smbpasswd Tool</a>, <a class="indexterm" href="NetCommand.html#id2599024">Overview</a>, <a class="indexterm" href="NetCommand.html#id2599400">UNIX and Windows Group Management</a></dt><dt>User Management, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a>, <a class="indexterm" href="passdb.html#id2594483">Accounts and Groups Management</a></dt><dt>User Manager, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a>, <a class="indexterm" href="InterdomainTrusts.html#id2620873">Samba as the Trusting Domain</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657660">Remote Server Administration</a>, <a class="indexterm" href="ProfileMgmt.html#id2663269">Creating and Managing Group Profiles</a></dt><dt>User Manager for Domains, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657660">Remote Server Administration</a></dt><dt>user or group, <a class="indexterm" href="rights.html#id2608726">Using the net rpc rights Utility</a></dt><dt>user profiles, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a></dt><dt>User Rights and Privileges, <a class="indexterm" href="rights.html#id2609893">The Administrator Domain SID</a></dt><dt>user-level, <a class="indexterm" href="ServerType.html#id2559136">Samba Security Modes</a>, <a class="indexterm" href="ServerType.html#id2559298">User Level Security</a></dt><dt>User-level access control, <a class="indexterm" href="ClientConfig.html#id2577911">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>user-level security, <a class="indexterm" href="passdb.html#id2588360">Advantages of Encrypted Passwords</a></dt><dt>user-mode security, <a class="indexterm" href="samba-pdc.html#id2564926">Security Mode and Master Browsers</a></dt><dt>user.DAT, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a>, <a class="indexterm" href="ProfileMgmt.html#id2662678">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></dt><dt>user.MAN, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a></dt><dt>User.MAN, <a class="indexterm" href="ProfileMgmt.html#id2663129">Mandatory Profiles</a></dt><dt>useradd, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2570526">On-the-Fly Creation of Machine Trust Accounts</a></dt><dt>username, <a class="indexterm" href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a></dt><dt>username and password, <a class="indexterm" href="ClientConfig.html#id2577384">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>username map, <a class="indexterm" href="NetCommand.html#id2601256">User Mapping</a></dt><dt>userPassword, <a class="indexterm" href="passdb.html#id2593873">Initialize the LDAP Database</a></dt><dt>users, <a class="indexterm" href="PolicyMgmt.html#id2658804">Features and Benefits</a></dt><dt>UsrMgr.exe, <a class="indexterm" href="domain-member.html#id2570246">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>UTF-8, <a class="indexterm" href="unicode.html#id2670080">Samba and Charsets</a>, <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a></dt><dt>UTF-8 encoding, <a class="indexterm" href="SWAT.html#id2682054">Enabling SWAT Internationalization Support</a></dt></dl></div><div class="indexdiv"><h3>V</h3><dl><dt>valid username/password, <a class="indexterm" href="securing-samba.html#id2618900">Using IPC$ Share-Based Denials </a></dt><dt>valid users, <a class="indexterm" href="diagnosis.html#id2683132">The Tests</a></dt><dt>validate, <a class="indexterm" href="install.html#id2553334">Test Your Config File with testparm</a>, <a class="indexterm" href="diagnosis.html#id2682800">Introduction</a></dt><dt>validate every backup, <a class="indexterm" href="NT4Migration.html#id2679736">Server Share and Directory Layout</a></dt><dt>validation, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a>, <a class="indexterm" href="PolicyMgmt.html">System and Account Policies</a></dt><dt>vendor-provided drivers, <a class="indexterm" href="CUPS-printing.html#id2634206">Raw Print Serving: Vendor Drivers on Windows Clients</a></dt><dt>verifiable, <a class="indexterm" href="NetworkBrowsing.html#id2585529">Behavior of Cross-Subnet Browsing</a></dt><dt>verify, <a class="indexterm" href="classicalprinting.html#id2623122">Rapid Configuration Validation</a></dt><dt>version control, <a class="indexterm" href="VFS.html#id2651827">shadow_copy</a></dt><dt>VFS, <a class="indexterm" href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a>, <a class="indexterm" href="VFS.html#id2650394">Discussion</a></dt><dt>VFS module, <a class="indexterm" href="VFS.html#id2651827">shadow_copy</a>, <a class="indexterm" href="ProfileMgmt.html#id2663129">Mandatory Profiles</a></dt><dt>VFS modules, <a class="indexterm" href="VFS.html#id2650394">Discussion</a>, <a class="indexterm" href="VFS.html#id2652729">VFS Modules Available Elsewhere</a></dt><dt>vgcreate, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>vgdisplay, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>vipw, <a class="indexterm" href="samba-pdc.html#id2565212">$ Cannot Be Included in Machine Name</a>, <a class="indexterm" href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a></dt><dt>Virtual File System (see VFS)</dt><dt>virtual server, <a class="indexterm" href="SambaHA.html#id2672440">The Front-End Challenge</a>, <a class="indexterm" href="SambaHA.html#id2673034">A Simple Solution</a></dt><dt>virus scanner, <a class="indexterm" href="VFS.html#id2650394">Discussion</a></dt><dt>Visual Studio, <a class="indexterm" href="CUPS-printing.html#id2641102">PostScript Drivers with No Major Problems, Even in Kernel7 Mode</a></dt><dt>vital task, <a class="indexterm" href="SambaHA.html#id267 2036">Features and Benefits</a></dt><dt>VNC/RFB, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></dt><dt>volume group, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>volunteers, <a class="indexterm" href="problems.html#id2685744">Getting Mailing List Help</a></dt><dt>vscan, <a class="indexterm" href="VFS.html#id2652814">vscan</a></dt><dt>vuid, <a class="indexterm" href="SambaHA.html#id2672534">Demultiplexing SMB Requests</a></dt></dl></div><div class="indexdiv"><h3>W</h3><dl><dt>W32X86, <a class="indexterm" href="classicalprinting.html#id2628032">Identifying Driver Files</a>, <a class="indexterm" href="CUPS-printing.html#id2641102">PostScript Drivers with No Major Problems, Even in Kernel8 Mode</a>, <a class="indexterm" href="CUPS-printing.html#id264 2037">Caveats to Be Considered</a></dt><dt>W32X86/2, <a class="indexterm" href="CUPS-printing.html#id2635816">Using Windows-Formatted Vendor PPDs</a></dt><dt>WAN, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a>, <a class="indexterm" href="locking.html#id2616546">Slow and/or Unreliable Networks</a></dt><dt>wbinfo, <a class="indexterm" href="winbind.html#id2655892">Starting and Testing the winbindd Daemon</a></dt><dt>Web-based configuration, <a class="indexterm" href="SWAT.html">SWAT: The Samba Web Administration Tool</a></dt><dt>WebClient, <a class="indexterm" href="NetworkBrowsing.html#id2586566">Browsing of Shares and Directories is Very Slow</a></dt><dt>Welcome, <a class="indexterm" href="ClientConfig.html#id2577384">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>well known RID, <a class="indexterm" href="rights.html#id2609893">The Administrator Domain SID</a></dt><dt>well-controlled network, <a class="indexterm" href="NT4Migration.html#id2679736">Server Share and Directory Layout</a></dt><dt>well-known RID, <a class="indexterm" href="groupmapping.html#id2597518">Default Users, Groups, and Relative Identifiers</a></dt><dt>wide-area network bandwidth, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>win election, <a class="indexterm" href="NetworkBrowsing.html#id2582910">Making Samba the Domain Master</a></dt><dt>Win32 printing API, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>WIN40, <a class="indexterm" href="classicalprinting.html#id2628032">Identifying Driver Files</a>, <a class="indexterm" href="classicalprinting.html#id2628439">Obtaining Driver Files from Windows Client [print$] Shares</a>, <a class="indexterm" href="CUPS-printing.html#id2642037">Caveats to Be Considered</a></dt><dt>winbind, <a class="indexterm" href="domain-member.html#id2571833">Why Is This Better Than security = server?</a>, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2605813">Examples of IDMAP Backend Usage</a>, <a class="indexterm" href="idmapper.html#id2605900">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2655457">Configure smb.conf</a></dt><dt>Winbind, <a class="indexterm" href="StandAloneServer.html#id2574257">Background</a>, <a class="indexterm" href="winbind.html#id2653704">Target Uses</a>, <a class="indexterm" href="winbind.html#id2654018">Microsoft Active Directory Services</a>, <a class="indexterm" href="winbind.html#id2654298">Pluggable Authentication Modules</a>, <a class="indexterm" href="winbind.html#id2654453">User and Group ID Allocation</a>, <a class="indexterm" href="winbind.html#id2654529">Result Caching</a>, <a class="indexterm" href="winbind.html#id2654592">Introduction</a>, <a class="indexterm" href="winbind.html#id2654945">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a>, <a class="indexterm" href="winbind.html#id2655343">NSS Winbind on AIX</a>, <a class="indexterm" href="winbind.html#id2655892">Starting and Testing the winbindd Daemon</a>, <a class="indexterm" href="winbind.html#id2656813">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="winbind.html#id2657317">Conclusion</a>, <a class="indexterm" href="pam.html">PAM-Based Distributed Authentication</a>, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt><dt>Winbind architecture, <a class="indexterm" href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></dt><dt>Winbind hooks, <a class="indexterm" href="winbind.html#id2653551">What Winbind Provides</a></dt><dt>Winbind services, <a class="indexterm" href="winbind.html#id2655892">Starting and Testing the winbindd Daemon</a></dt><dt>Winbind-based authentication, <a class="indexterm" href="pam.html">PAM-Based Distributed Authentication</a></dt><dt>winbind.so, <a class="indexterm" href="winbind.html#id2657160">Solaris-Specific Configuration</a></dt><dt>winbindd, <a class="indexterm" href="install.html#id2552921">Starting Samba</a>, <a class="indexterm" href="install.html#id2553334">Test Your Config File with testparm</a>, <a class="indexterm" href="FastStart.html#id2556059">Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2568163">Example Configuration</a>, <a class="indexterm" href="ChangeNotes.html#id2579156">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="groupmapping.html#id2595891">Features and Benefits</a>, <a class="indexterm" href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="NetCommand.html#id2600928">UNIX and Windows User Management</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="winbind.html#id2653118">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2653875">How Winbind Works</a>, <a class="indexterm" href="winbind.html#id2654706">Requirements</a>, <a class="indexterm" href="winbind.html#id2654858">Testing Things Out</a>, <a class="indexterm" href="winbind.html#id2654945">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a>, <a class="indexterm" href="winbind.html#id2655457">Configure smb.conf</a>, <a class="indexterm" href="winbind.html#id2655892">Starting and Testing the winbindd Daemon</a>, <a class="indexterm" href="winbind.html#id2656458">Solaris</a>, <a class="indexterm" href="winbind.html#id2656647">Configure Winbind and PAM</a>, <a class="indexterm" href="cfgsmarts.html#id2673932">Multiple Server Hosting</a></dt><dt>winbindd daemon, <a class="indexterm" href="winbind.html#id2656253">Linux</a></dt><dt>Windows, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="unicode.html#id2670386">Basic Parameter Setting</a></dt><dt>Windows 2000, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#ads-test-server">Testing Server Setup</a>, <a class="indexterm" href="NetworkBrowsing.html">Network Browsing</a>, <a class="indexterm" href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a></dt><dt>Windows 2000 Professional TCP/IP, <a class="indexterm" href="ClientConfig.html#id2576332">MS Windows 2000</a></dt><dt>Windows 2000 server, <a class="indexterm" href="InterdomainTrusts.html#id2621070">NT4-Style Domain Trusts with Windows 2000</a></dt><dt>Windows 2003, <a class="indexterm" href="domain-member.html#id2572306">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2574030">I Can't Join a Windows 2003 PDC</a></dt><dt>Windows 200x/XP, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a>, <a class="indexterm" href="classicalprinting.html#id2622106">Features and Benefits</a></dt><dt>Windows 9x/Me, <a class="indexterm" href="ClientConfig.html#id2577911">Domain Logon Configuration: Windows 9x/Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583862">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584479">Windows Networking Protocols</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657660">Remote Server Administration</a></dt><dt>Windows 9x/Me/XP Home, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>Windows account management, <a class="indexterm" href="winbind.html#id2653551">What Winbind Provides</a></dt><dt>Windows client, <a class="indexterm" href="rights.html#id2610076">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>Windows client failover, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>Windows domain, <a class="indexterm" href="upgrading-to-3.0.html#id2678073">Changes in Behavior</a></dt><dt>Windows Explorer, <a class="indexterm" href="NetworkBrowsing.html#id2585107">Problem Resolution</a>, <a class="indexterm" href="classicalprinting.html#id2628032">Identifying Driver Files</a></dt><dt>Windows group, <a class="indexterm" href="groupmapping.html">Group Mapping: MS Windows and UNIX</a>, <a class="indexterm" href="groupmapping.html#id2596644">Warning: User Private Group Problems</a>, <a class="indexterm" href="NetCommand.html#id2599802">Mapping Windows Groups to UNIX Groups</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>Windows group account, <a class="indexterm" href="rights.html#id2609893">The Administrator Domain SID</a></dt><dt>Windows groups, <a class="indexterm" href="NetCommand.html#id2599802">Mapping Windows Groups to UNIX Groups</a></dt><dt>Windows Internet Name Server (see WINS)</dt><dt>Windows Logon, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a></dt><dt>Windows Me TCP/IP, <a class="indexterm" href="ClientConfig.html#id2576878">MS Windows Me</a></dt><dt>Windows Millennium, <a class="indexterm" href="ClientConfig.html#id2576878">MS Windows Me</a></dt><dt>Windows Millennium edition (Me) TCP/IP, <a class="indexterm" href="ClientConfig.html#id2576878">MS Windows Me</a></dt><dt>Windows network clients, <a class="indexterm" href="NetworkBrowsing.html#id2579539">Features and Benefits</a></dt><dt>Windows NT domain name, <a class="indexterm" href="ClientConfig.html#id2577911">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>Windows NT PostScript driver, <a class="indexterm" href="CUPS-printing.html#id2648535">Printing from CUPS to Windows-Attached Printers</a></dt><dt>Windows NT Server, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>Windows NT/2000/XP, <a class="indexterm" href="classicalprinting.html#id2629206">Check Samba for Driver Recognition</a></dt><dt>Windows NT/200x, <a class="indexterm" href="NetworkBrowsing.html#id2583862">WINS Server Configuration</a>, <a class="indexterm" href="winbind.html#id2654592">Introduction</a></dt><dt>Windows NT/200x/XP, <a class="indexterm" href="classicalprinting.html#id2624002">The [global] Section</a></dt><dt>Windows NT/200x/XP Professional, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="ClientConfig.html#id2577384">Joining a Domain: Windows 2000/XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2578354">Common Errors</a></dt><dt>Windows NT3.10, <a class="indexterm" href="samba-bdc.html#id2566209">Essential Background Information</a></dt><dt>Windows NT4, <a class="indexterm" href="AccessControls.html#id2613141">Windows NT4 Workstation/Server</a>, <a class="indexterm" href="classicalprinting.html#id2622106">Features and Benefits</a></dt><dt>Windows NT4 domains, <a class="indexterm" href="InterdomainTrusts.html#id2620323">Interdomain Trust Facilities</a></dt><dt>Windows NT4 Server, <a class="indexterm" href="InterdomainTrusts.html#id2620532">Configuring Samba NT-Style Domain Trusts</a></dt><dt>Windows NT4/200X, <a class="indexterm" href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a></dt><dt>Windows NT4/200x, <a class="indexterm" href="groupmapping.html#id2596307">Discussion</a></dt><dt>Windows NT4/200x/XP, <a class="indexterm" href="samba-bdc.html#id2567537">NetBIOS Over TCP/IP Enabled</a>, <a class="indexterm" href="groupmapping.html#id2597518">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="AccessControls.html#id2613247">Windows 200x/XP</a></dt><dt>Windows NT4/2kX/XPPro, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>Windows PPD, <a class="indexterm" href="CUPS-printing.html#id2646210">690 Perfect Printers</a></dt><dt>Windows privilege model, <a class="indexterm" href="rights.html#id2608451">Rights Management Capabilities</a></dt><dt>Windows Registry, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>windows registry settings, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a></dt><dd><dl><dt>default profile locations, <a class="indexterm" href="ProfileMgmt.html#id2663529">MS Windows NT4 Workstation</a>, <a class="indexterm" href="ProfileMgmt.html#id2664091">MS Windows 200x/XP</a></dt><dt>profile path, <a class="indexterm" href="ProfileMgmt.html#id2661302">Windows 9x/Me Profile Setup</a></dt><dt>roaming profiles, <a class="indexterm" href="ProfileMgmt.html#id2661076">Disabling Roaming Profile Support</a></dt></dl></dd><dt>Windows Resource Kit, <a class="indexterm" href="ProfileMgmt.html#id2661076">Disabling Roaming Profile Support</a></dt><dt>Windows Security Identifiers (see SID)</dt><dt>Windows Terminal server, <a class="indexterm" href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></dt><dt>Windows Terminal Server, <a class="indexterm" href="AdvancedNetworkManagement.html#id2658207">Remote Management with ThinLinc</a></dt><dt>Windows user, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>Windows user accounts, <a class="indexterm" href="NetCommand.html#id2600928">UNIX and Windows User Management</a></dt><dt>Windows workstation., <a class="indexterm" href="rights.html#id2610076">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>Windows XP Home, <a class="indexterm" href="passdb.html#id2588044">Important Notes About Security</a></dt><dt>Windows XP Home edition, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2564493">The Special Case of MS Windows XP Home Edition</a>, <a class="indexterm" href="ClientConfig.html#id2577911">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>Windows XP Home Edition, <a class="indexterm" href="ProfileMgmt.html#id2664091">MS Windows 200x/XP</a></dt><dt>Windows XP Professional, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a>, <a class="indexterm" href="classicalprinting.html#id2622106">Features and Benefits</a></dt><dt>Windows XP Professional TCP/IP, <a class="indexterm" href="ClientConfig.html#id2576332">MS Windows 2000</a></dt><dt>Windows XP TCP/IP, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a></dt><dt>Windows95/98/ME, <a class="indexterm" href="classicalprinting.html#id2629206">Check Samba for Driver Recognition</a></dt><dt>winnt.adm, <a class="indexterm" href="PolicyMgmt.html#id2659235">Windows NT4-Style Policy Files</a></dt><dt>WINS, <a class="indexterm" href="samba-pdc.html#id2561262">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2562505">Domain Controller Types</a>, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2567390">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a>, <a class="indexterm" href="ClientConfig.html#id2575688">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2576332">MS Windows 2000</a>, <a class="indexterm" href="ClientConfig.html#id2576878">MS Windows Me</a>, <a class="indexterm" href="NetworkBrowsing.html">Network Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579539">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2579723">What Is Browsing?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#id2582305">Domain Browsing Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2582910">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583591">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583862">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584823">Technical Overview of Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584910">Browsing Support in Samba</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585358">Cross-Subnet Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585529">Behavior of Cross-Subnet Browsing</a>, <a class="indexterm" href="integrate-ms-networks.html#id2669465">WINS Lookup</a>, <a class="indexterm" href="DNSDHCP.html#id2693070">Example Configuration</a></dt><dt>wins, <a class="indexterm" href="integrate-ms-networks.html#id2668589">/etc/nsswitch.conf</a></dt><dt>WINS Configuration, <a class="indexterm" href="NetworkBrowsing.html#id2586566">Browsing of Shares and Directories is Very Slow</a></dt><dt>WINS lookup, <a class="indexterm" href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></dt><dt>WINS replication, <a class="indexterm" href="NetworkBrowsing.html#id2584183">WINS Replication</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584236">Static WINS Entries</a></dt><dt>WINS Server, <a class="indexterm" href="NetworkBrowsing.html#id2579723">What Is Browsing?</a></dt><dt>WINS server, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2582910">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2583862">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2584910">Browsing Support in Samba</a>, <a class="indexterm" href="NetworkBrowsing.html#id2586566">Browsing of Shares and Directories is Very Slow</a></dt><dt>WINS server address, <a class="indexterm" href="NetworkBrowsing.html#id2581358">How Browsing Functions</a></dt><dt>WINS server settings, <a class="indexterm" href="ClientConfig.html#id2576878">MS Windows Me</a></dt><dt>WINS servers, <a class="indexterm" href="NetworkBrowsing.html#id2583591">WINS: The Windows Internetworking Name Server</a></dt><dt>WINS service, <a class="indexterm" href="NetworkBrowsing.html#id2583862">WINS Server Configuration</a></dt><dt>WINS Support, <a class="indexterm" href="NetworkBrowsing.html#id2579723">What Is Browsing?</a></dt><dt>wins.dat, <a class="indexterm" href="NetworkBrowsing.html#id2584236">Static WINS Entries</a></dt><dt>without Administrator account, <a class="indexterm" href="rights.html#id2609893">The Administrator Domain SID</a></dt><dt>without ADS, <a class="indexterm" href="NT4Migration.html#id2679125">Objectives</a></dt><dt>work-flow protocol, <a class="indexterm" href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></dt><dt>workgroup, <a class="indexterm" href="ServerType.html#id2560291">Server Security (User Level Security)</a>, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2564531">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="ClientConfig.html#id2577911">Domain Logon Configuration: Windows 9x/Me</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2582910">Making Samba the Domain Master</a>, <a class="indexterm" href="integrate-ms-networks.html#id2668713">Name Resolution as Used within MS Windows Networking</a>, <a class="indexterm" href="cfgsmarts.html#id2673932">Multiple Server Hosting</a>, <a class="indexterm" href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></dt><dd><dl><dt>membership, <a class="indexterm" href="samba-pdc.html#id2563009">Preparing for Domain Control</a></dt></dl></dd><dt>workstations, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a></dt><dt>world-writable, <a class="indexterm" href="AccessControls.html#id2611240">File and Directory Access Control</a></dt><dt>write, <a class="indexterm" href="AccessControls.html#id2611240">File and Directory Access Control</a></dt><dt>write access, <a class="indexterm" href="AccessControls.html#id2611652">Protecting Directories and Files from Deletion</a></dt><dt>Write caching, <a class="indexterm" href="locking.html#id2615940">Opportunistic Locking Overview</a></dt><dt>write changes, <a class="indexterm" href="idmapper.html#id2605741">Backup Domain Controller</a></dt><dt>write permission, <a class="indexterm" href="domain-member.html#ads-create-machine-account">Create the Computer Account</a></dt><dt>writeable, <a class="indexterm" href="VFS.html#fakeperms">fake_perms</a></dt><dt>WYSIWYG, <a class="indexterm" href="CUPS-printing.html#id2635042">Windows Drivers, GDI, and EMF</a></dt></dl></div><div class="indexdiv"><h3>X</h3><dl><dt>X Window9 System, <a class="indexterm" href="CUPS-printing.html#id26 35042">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2635220">UNIX Printfile Conversion and GUI Basics</a></dt><dt>X.509 certificates, <a class="indexterm" href="ch-ldap-tls.html#s1-intro-ldap-tls">Introduction</a></dt><dt>XFS file system, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>xfsprogs, <a class="indexterm" href="VFS.html#id2652015">Shadow Copy Setup</a></dt><dt>xinetd, <a class="indexterm" href="SWAT.html#id2681264">Validate SWAT Installation</a>, <a class="indexterm" href="compiling.html#id2688531">Starting from inetd.conf</a> (see inetd)</dt><dt>XML, <a class="indexterm" href="ChangeNotes.html#id2579095">Passdb Changes</a></dt><dt>XML-based datasets, <a class="indexterm" href="CUPS-printing.html#id2646836">Foomatic Database-Generated PPDs</a></dt><dt>xpp, <a class="indexterm" href="CUPS-printing.html#id2646836">Foomatic Database-Generated PPDs</a></dt><dt>Xprint, <a class="indexterm" href="CUPS-printing.html#id2635042">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2635220">UNIX Printfile Conversion and GUI Basics</a></dt><dt>xxxxBSD, <a class="indexterm" href="pam.html#id2665180">Features and Benefits</a></dt></dl></div><div class="indexdiv"><h3>Y</h3><dl><dt>yppasswd, <a class="indexterm" href="passdb.html#id2589966">The smbpasswd Tool</a></dt></dl></div><div class="indexdiv"><h3>Z</h3><dl><dt>Zero Administration Kit, <a class="indexterm" href="PolicyMgmt.html#id2659235">Windows NT4-Style Policy Files</a></dt><dt>zero-based broadcast, <a class="indexterm" href="NetworkBrowsing.html#id2583150">Note about Broadcast Addresses</a></dt></dl></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="go01.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> </td></tr><tr><td width="40%" align="left" valign="top">Glossary </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></body></html>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Index</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="go01.html" title="Glossary"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Index</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="go01.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> </td></tr></table><hr></div><div class="index" title="Index"><div class="titlepage"><div><div><h2 class="title"><a name="id2701548"></a>Index</h2></div></div></div><div class="index"><div class="indexdiv"><h3>Symbols</h3><dl><dt>"Printers" folder, <a class="indexterm" href="CUPS-printing.html#id2648129">Caveats to Be Considered</a>, <a class="indexterm" href="CUPS-printing.html#id2649407">Installing the PostScript Driver on a Client</a>, <a class="indexterm" href="CUPS-printing.html#id2650449">Manual Driver Installation in 15 Steps</a></dt><dt>$, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a></dt><dt>%i macro, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></dt><dt>%L, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></dt><dt>%PDF, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt><dt>%SystemRoot%\System32\config, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a></dt><dt>../source/nsswitch, <a class="indexterm" href="winbind.html#id2662740">Configure Winbind and PAM</a></dt><dt>.ai, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt><dt>.AppleDouble, <a class="indexterm" href="VFS.html#id2657868">netatalk</a></dt><dt>.eps, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt><dt>.pdf, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt><dt>.PDS extension, <a class="indexterm" href="ProfileMgmt.html#id2668056">Windows NT4 Workstation</a></dt><dt>.profiles, <a class="indexterm" href="ProfileMgmt.html#id2666893">Windows 9x/Me User Profiles</a></dt><dt>.ps, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt><dt>.recycle, <a class="indexterm" href="VFS.html#id2657472">recycle</a></dt><dt>/bin/false, <a class="indexterm" href="ServerType.html#id2565925">Example Configuration</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>/dev/null, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>/dev/shadowvol, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>/etc/cups/, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt><dt>/etc/cups/mime.convs, <a class="indexterm" href="CUPS-printing.html#id2640299">Raw Print Serving: Vendor Drivers on Windows Clients</a>, <a class="indexterm" href="CUPS-printing.html#cups-raw">Explicitly Enable “raw” Printing for application/octet-stream</a>, <a class="indexterm" href="CUPS-printing.html#id2642732">MIME Type Conversion Rules</a>, <a class="indexterm" href="CUPS-printing.html#id2644790">application/octet-stream Printing</a></dt><dt>/etc/cups/mime.types, <a class="indexterm" href="CUPS-printing.html#id2640299">Raw Print Serving: Vendor Drivers on Windows Clients</a>, <a class="indexterm" href="CUPS-printing.html#cups-raw">Explicitly Enable “raw” Printing for application/octet-stream</a>, <a class="indexterm" href="CUPS-printing.html#id2644790">application/octet-stream Printing</a></dt><dt>/etc/fstab, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>/etc/group, <a class="indexterm" href="ServerType.html#id2565518">Share-Level Security</a>, <a class="indexterm" href="groupmapping.html#id2602374">Discussion</a>, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="groupmapping.html#id2604298">Sample smb.conf Add Group Script</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a>, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a>, <a class="indexterm" href="Portability.html#id2695192">HPUX</a></dt><dt>/etc/groups, <a class="indexterm" href="pam.html#id2672001">Anatomy of /etc/pam.d Entries</a></dt><dt>/etc/host.conf, <a class="indexterm" href="integrate-ms-networks.html#id2674293">Name Resolution in a Pure UNIX/Linux World</a>, <a class="indexterm" href="integrate-ms-networks.html#id2674591">/etc/host.conf</a></dt><dt>/etc/hosts, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a>, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a>, <a class="indexterm" href="integrate-ms-networks.html#id2674293">Name Resolution in a Pure UNIX/Linux World</a>, <a class="indexterm" href="integrate-ms-networks.html#id2674366">/etc/hosts</a>, <a class="indexterm" href="integrate-ms-networks.html#id2674766">Name Resolution as Used within MS Windows Networking</a>, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>/etc/hosts>, <a class="indexterm" href="integrate-ms-networks.html#id2674366">/etc/hosts</a></dt><dt>/etc/inetd.conf, <a class="indexterm" href="winbind.html#id2662906">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="compiling.html#id2694587">Starting from inetd.conf</a></dt><dt>/etc/init.d/samba, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="winbind.html#id2662345">Linux</a></dt><dt>/etc/init.d/samba.server, <a class="indexterm" href="winbind.html#id2662551">Solaris</a></dt><dt>/etc/init.d/smb, <a class="indexterm" href="winbind.html#id2662345">Linux</a></dt><dt>/etc/krb5.conf, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2579178">Possible Errors</a>, <a class="indexterm" href="idmapper.html#id2612260">ADS Domains</a>, <a class="indexterm" href="idmapper.html#id2613261">IDMAP Storage in LDAP Using Winbind</a></dt><dt>/etc/ldap.conf, <a class="indexterm" href="idmapper.html#id2613261">IDMAP Storage in LDAP Using Winbind</a>, <a class="indexterm" href="idmapper.html#id2613846">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></dt><dt>/etc/logingroup, <a class="indexterm" href="Portability.html#id2695192">HPUX</a></dt><dt>/etc/mime.conv, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>/etc/mime.types, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>/etc/nsswitch.conf, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2611972">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="idmapper.html#id2612670">IDMAP_RID with Winbind</a>, <a class="indexterm" href="idmapper.html#id2613846">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a>, <a class="indexterm" href="winbind.html#id2660159">Name Service Switch</a>, <a class="indexterm" href="winbind.html#id2661038">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a>, <a class="indexterm" href="integrate-ms-networks.html#id2674293">Name Resolution in a Pure UNIX/Linux World</a>, <a class="indexterm" href="integrate-ms-networks.html#id2674642">/etc/nsswitch.conf</a></dt><dt>/etc/openldap/slapd.conf, <a class="indexterm" href="FastStart.html#id2563779">The Primary Domain Controller</a></dt><dt>/etc/openldap/sldap.conf, <a class="indexterm" href="passdb.html#id2600550">Accounts and Groups Management</a></dt><dt>/etc/pam.conf, <a class="indexterm" href="winbind.html#id2663252">Solaris-Specific Configuration</a>, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a>, <a class="indexterm" href="pam.html#id2671868">Technical Discussion</a>, <a class="indexterm" href="pam.html#id2672001">Anatomy of /etc/pam.d Entries</a></dt><dt>/etc/pam.d, <a class="indexterm" href="winbind.html#id2660799">Requirements</a>, <a class="indexterm" href="winbind.html#id2660951">Testing Things Out</a>, <a class="indexterm" href="winbind.html#id2662740">Configure Winbind and PAM</a>, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>/etc/pam.d/, <a class="indexterm" href="winbind.html#id2660391">Pluggable Authentication Modules</a>, <a class="indexterm" href="pam.html#id2671868">Technical Discussion</a></dt><dt>/etc/pam.d/ftp, <a class="indexterm" href="winbind.html#id2662906">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>/etc/pam.d/login, <a class="indexterm" href="winbind.html#id2662906">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>/etc/pam.d/samba, <a class="indexterm" href="winbind.html#id2662906">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>/etc/passwd, <a class="indexterm" href="ServerType.html#id2565518">Share-Level Security</a>, <a class="indexterm" href="ServerType.html#id2565925">Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2571270">“$” Cannot Be Included in Machine Name</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2576714">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="domain-member.html#id2579865">Adding Machine to Domain Fails</a>, <a class="indexterm" href="StandAloneServer.html#id2580328">Background</a>, <a class="indexterm" href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a>, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="passdb.html#id2593352">Backward Compatibility Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2598639">Plaintext</a>, <a class="indexterm" href="passdb.html#id2599442">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="groupmapping.html#id2603463">Applicable Only to Versions Earlier than 3.0.11</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a>, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2661984">Starting and Testing the winbindd Daemon</a>, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>/etc/printcap, <a class="indexterm" href="CUPS-printing.html#id2639245">Basic CUPS Support Configuration</a></dt><dt>/etc/resolv.conf, <a class="indexterm" href="integrate-ms-networks.html#id2674293">Name Resolution in a Pure UNIX/Linux World</a>, <a class="indexterm" href="diagnosis.html#id2688896">Assumptions</a>, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>/etc/samba, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a>, <a class="indexterm" href="cfgsmarts.html#id2681404">Multiple Virtual Server Hosting</a>, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>/etc/samba/scripts, <a class="indexterm" href="NetCommand.html#id2606695">Managing Nest Groups on Workstations from the Samba Server</a></dt><dt>/etc/samba/secrets.tdb, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></dt><dt>/etc/samba/smb.conf, <a class="indexterm" href="install.html#id2558033">Configuring Samba (smb.conf)</a></dt><dt>/etc/samba/smbpasswd, <a class="indexterm" href="passdb.html#id2598639">Plaintext</a></dt><dt>/etc/samba/smbusers, <a class="indexterm" href="NetCommand.html#id2607322">User Mapping</a></dt><dt>/etc/shadow, <a class="indexterm" href="StandAloneServer.html#id2580328">Background</a>, <a class="indexterm" href="passdb.html#id2593352">Backward Compatibility Account Storage Systems</a></dt><dt>/etc/smbpasswd, <a class="indexterm" href="passdb.html#id2598639">Plaintext</a></dt><dt>/etc/ssl/certs/slapd.pem, <a class="indexterm" href="samba-bdc.html#id2573025">LDAP Configuration Notes</a></dt><dt>/etc/xinetd.d, <a class="indexterm" href="winbind.html#id2662906">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>/etc/xinetd.d/telnet, <a class="indexterm" href="winbind.html#id2662906">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>/export, <a class="indexterm" href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a></dt><dt>/lib/libnss_example.so, <a class="indexterm" href="winbind.html#id2660159">Name Service Switch</a></dt><dt>/lib/libnss_files.so, <a class="indexterm" href="winbind.html#id2660159">Name Service Switch</a></dt><dt>/lib/security, <a class="indexterm" href="winbind.html#id2662740">Configure Winbind and PAM</a>, <a class="indexterm" href="pam.html#id2671922">PAM Configuration Syntax</a></dt><dt>/lib/security/, <a class="indexterm" href="winbind.html#id2660391">Pluggable Authentication Modules</a></dt><dt>/opt/samba/bin, <a class="indexterm" href="SWAT.html#id2687391">Locating the SWAT File</a></dt><dt>/tmp, <a class="indexterm" href="AccessControls.html#id2617311">File and Directory Access Control</a></dt><dt>/usr/bin/openssl, <a class="indexterm" href="SWAT.html#id2687958">Securing SWAT through SSL</a></dt><dt>/usr/lib/samba/vfs, <a class="indexterm" href="VFS.html#id2656487">Discussion</a></dt><dt>/usr/lib/security, <a class="indexterm" href="winbind.html#id2661436">NSS Winbind on AIX</a>, <a class="indexterm" href="winbind.html#id2662740">Configure Winbind and PAM</a></dt><dt>/usr/lib/security/methods.cfg, <a class="indexterm" href="winbind.html#id2661436">NSS Winbind on AIX</a></dt><dt>/usr/local/lib, <a class="indexterm" href="winbind.html#id2661038">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>/usr/local/samba, <a class="indexterm" href="winbind.html#id2661984">Starting and Testing the winbindd Daemon</a></dt><dt>/usr/local/samba/bin, <a class="indexterm" href="winbind.html#id2662345">Linux</a>, <a class="indexterm" href="winbind.html#id2662551">Solaris</a>, <a class="indexterm" href="SWAT.html#id2687391">Locating the SWAT File</a></dt><dt>/usr/local/samba/lib, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>/usr/local/samba/lib/vfs, <a class="indexterm" href="VFS.html#id2656487">Discussion</a></dt><dt>/usr/local/samba/private/secrets.tdb, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></dt><dt>/usr/local/samba/swat, <a class="indexterm" href="SWAT.html#xinetd">Enabling SWAT for Use</a></dt><dt>/usr/local/samba/var, <a class="indexterm" href="AccessControls.html#id2619058">Access Controls on Shares</a>, <a class="indexterm" href="diagnosis.html#id2688896">Assumptions</a></dt><dt>/usr/local/samba/var/locks, <a class="indexterm" href="NetworkBrowsing.html#id2590302">Static WINS Entries</a></dt><dt>/usr/sbin, <a class="indexterm" href="SWAT.html#id2687391">Locating the SWAT File</a>, <a class="indexterm" href="SWAT.html#xinetd">Enabling SWAT for Use</a></dt><dt>/usr/share/samba/swat, <a class="indexterm" href="SWAT.html#xinetd">Enabling SWAT for Use</a></dt><dt>/var/locks/*.tdb, <a class="indexterm" href="speed.html#id2697284">Corrupt tdb Files</a></dt><dt>/var/log/samba, <a class="indexterm" href="diagnosis.html#id2688896">Assumptions</a></dt><dt>/var/run/samba, <a class="indexterm" href="NetworkBrowsing.html#id2590302">Static WINS Entries</a></dt><dt>/var/spool/cups/, <a class="indexterm" href="CUPS-printing.html#id2654280">Autodeletion or Preservation of CUPS Spool Files</a></dt><dt>/var/spool/samba, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="CUPS-printing.html#id2654280">Autodeletion or Preservation of CUPS Spool Files</a></dt><dt>250-user limit, <a class="indexterm" href="passdb.html#id2598981">tdbsam</a></dt><dt>3.0.11, <a class="indexterm" href="rights.html#id2615970">The Administrator Domain SID</a></dt><dt>4,500 user accounts, <a class="indexterm" href="passdb.html#id2598981">tdbsam</a></dt><dt>4294967295, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a></dt><dt>8.3 file names, <a class="indexterm" href="AccessControls.html#id2616851">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>>Domain User Manager, <a class="indexterm" href="InterdomainTrusts.html#id2626238">Creating an NT4 Domain Trust</a></dt><dt>\\%L\%U\.profiles, <a class="indexterm" href="ProfileMgmt.html#id2666893">Windows 9x/Me User Profiles</a></dt><dt>\\SERVER, <a class="indexterm" href="NetworkBrowsing.html#id2591173">Problem Resolution</a></dt><dt>_kerberos.REALM.NAME, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a></dt><dt>_kerberos._udp, <a class="indexterm" href="domain-member.html#id2579471">Notes</a></dt><dt>_ldap._tcp, <a class="indexterm" href="domain-member.html#id2579471">Notes</a></dt><dt>_ldap._tcp.pdc._msdcs.quenya.org, <a class="indexterm" href="samba-bdc.html#id2573662">NetBIOS Over TCP/IP Disabled</a></dt></dl></div><div class="indexdiv"><h3></h3><dl><dt>, <a class="indexterm" href="install.html#id2558075">Configuration File Syntax</a>, <a class="indexterm" href="install.html#id2559157">Example Configuration</a>, <a class="indexterm" href="FastStart.html#anon-ro">Anonymous Read-Only Document Server</a>, <a class="indexterm" href="FastStart.html#id2560716">Anonymous Read-Write Document Server</a>, <a class="indexterm" href="FastStart.html#id2560928">Anonymous Print Server</a>, <a class="indexterm" href="FastStart.html#id2561292">Secure Read-Write File and Print Server</a>, <a class="indexterm" href="FastStart.html#id2562116">Example Configuration</a>, <a class="indexterm" href="FastStart.html#id2562964">Example: Engineering Office</a>, <a class="indexterm" href="FastStart.html#id2563779">The Primary Domain Controller</a>, <a class="indexterm" href="FastStart.html#id2564396">Backup Domain Controller</a>, <a class="indexterm" href="ServerType.html#id2565481">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2565677">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2565925">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2566278">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2566526">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2566623">Password Checking</a>, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2570441">Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2572774">Example PDC Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2573025">LDAP Configuration Notes</a>, <a class="indexterm" href="samba-bdc.html#id2574222">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2576597">On-the-Fly Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2576961">Samba Client</a>, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="domain-member.html#id2578186">Configure smb.conf</a>, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2579543">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a>, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2588376">Domain Browsing Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2589238">Multiple Interfaces</a>, <a class="indexterm" href="NetworkBrowsing.html#id2589424">Use of the Remote Announce Parameter</a>, <a class="indexterm" href="NetworkBrowsing.html#id2589564">Use of the Remote Browse Sync Parameter</a>, <a class="indexterm" href="NetworkBrowsing.html#id2589928">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2590686">Name Resolution Order</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2600125">Configuring Samba</a>, <a class="indexterm" href="groupmapping.html#id2604298">Sample smb.conf Add Group Script</a>, <a class="indexterm" href="NetCommand.html#id2606695">Managing Nest Groups on Workstations from the Samba Server</a>, <a class="indexterm" href="idmapper.html#id2611972">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="idmapper.html#id2612260">ADS Domains</a>, <a class="indexterm" href="idmapper.html#id2612670">IDMAP_RID with Winbind</a>, <a class="indexterm" href="idmapper.html#id2613261">IDMAP Storage in LDAP Using Winbind</a>, <a class="indexterm" href="idmapper.html#id2613846">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a>, <a class="indexterm" href="rights.html#id2614798">Using the “net rpc rights” Utility</a>, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a>, <a class="indexterm" href="AccessControls.html#id2620193">Interaction with the Standard Samba “create mask” Parameters</a>, <a class="indexterm" href="AccessControls.html#id2621066">Users Cannot Write to a Public Share</a>, <a class="indexterm" href="AccessControls.html#id2621434">MS Word with Samba Changes Owner of File</a>, <a class="indexterm" href="locking.html#id2623136">Disabling Oplocks</a>, <a class="indexterm" href="locking.html#id2623231">Disabling Kernel Oplocks</a>, <a class="indexterm" href="securing-samba.html#id2624266">Features and Benefits</a>, <a class="indexterm" href="securing-samba.html#id2624429">Using Host-Based Protection</a>, <a class="indexterm" href="securing-samba.html#id2624583">User-Based Protection</a>, <a class="indexterm" href="securing-samba.html#id2624642">Using Interface Protection</a>, <a class="indexterm" href="securing-samba.html#id2624993">Using IPC$ Share-Based Denials </a>, <a class="indexterm" href="securing-samba.html#id2625284">Why Can Users Access Other Users' Home Directories?</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="msdfs.html#id2627553">Features and Benefits</a>, <a class="indexterm" href="msdfs.html#id2628005">MSDFS UNIX Path Is Case-Critical</a>, <a class="indexterm" href="classicalprinting.html#id2628739">Simple Print Configuration</a>, <a class="indexterm" href="classicalprinting.html#id2629220">Rapid Configuration Validation</a>, <a class="indexterm" href="classicalprinting.html#id2629619">Extended Printing Configuration</a>, <a class="indexterm" href="classicalprinting.html#id2632121">Custom Print Commands</a>, <a class="indexterm" href="classicalprinting.html#id2633081">Creating the [print$] Share</a>, <a class="indexterm" href="classicalprinting.html#id2634130">Identifying Driver Files</a>, <a class="indexterm" href="CUPS-printing.html#id2639609">Simple smb.conf Settings for CUPS</a>, <a class="indexterm" href="CUPS-printing.html#id2639853">More Complex CUPS smb.conf Settings</a>, <a class="indexterm" href="CUPS-printing.html#id2646608">From Windows Clients to a CUPS/Samba Print Server</a>, <a class="indexterm" href="CUPS-printing.html#id2647402">Prepare Your smb.conf for cupsaddsmb</a>, <a class="indexterm" href="VFS.html#id2656487">Discussion</a>, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a>, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2661549">Configure smb.conf</a>, <a class="indexterm" href="winbind.html#id2662345">Linux</a>, <a class="indexterm" href="winbind.html#id2663252">Solaris-Specific Configuration</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a>, <a class="indexterm" href="ProfileMgmt.html#id2666753">NT4/200x User Profiles</a>, <a class="indexterm" href="ProfileMgmt.html#id2666893">Windows 9x/Me User Profiles</a>, <a class="indexterm" href="ProfileMgmt.html#id2667050">Mixed Windows Windows 9x/Me and NT4/200x User Profiles</a>, <a class="indexterm" href="ProfileMgmt.html#id2670898">Changing the Default Profile</a>, <a class="indexterm" href="integrate-ms-networks.html#id2675201">The NetBIOS Name Cache</a>, <a class="indexterm" href="integrate-ms-networks.html#id2675520">WINS Lookup</a>, <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a>, <a class="indexterm" href="unicode.html#id2677082">Individual Implementations</a>, <a class="indexterm" href="largefile.html">Handling Large Directories</a>, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a>, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a>, <a class="indexterm" href="cfgsmarts.html#id2681404">Multiple Virtual Server Hosting</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684984">IdMap LDAP Support</a>, <a class="indexterm" href="diagnosis.html#id2688896">Assumptions</a>, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a>, <a class="indexterm" href="bugreport.html#dbglvl">Debug Levels</a>, <a class="indexterm" href="bugreport.html#id2692432">Debugging-Specific Operations</a>, <a class="indexterm" href="Other-Clients.html#id2696474">Windows 2000 Service Pack 2</a> (see SSO)</dt><dd><dl><dt>backend, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a></dt><dt>logon</dt><dd><dl><dt>service, <a class="indexterm" href="samba-bdc.html#id2572268">Essential Background Information</a></dt></dl></dd></dl></dd></dl></div><div class="indexdiv"><h3>A</h3><dl><dt>abbreviated keystrokes, <a class="indexterm" href="ClientConfig.html#id2581683">TCP/IP Configuration</a></dt><dt>aborting shutdown, <a class="indexterm" href="rights.html#id2615144">Description of Privileges</a></dt><dt>accept connections, <a class="indexterm" href="securing-samba.html#id2624642">Using Interface Protection</a></dt><dt>access, <a class="indexterm" href="ChangeNotes.html#id2584733">User and Group Changes</a></dt><dt>Access, <a class="indexterm" href="rights.html#id2614798">Using the “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#id2567320">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a>, <a class="indexterm" href="StandAloneServer.html#id2580328">Background</a>, <a class="indexterm" href="AccessControls.html#id2619058">Access Controls on Shares</a>, <a class="indexterm" href="AdvancedNetworkManagement.html">Advanced Network Management</a></dt><dt>Access Control, <a class="indexterm" href="ClientConfig.html#id2583981">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>Access Control Entries (see ACE)</dt><dt>Access Control List, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a></dt><dt>access control needs, <a class="indexterm" href="NT4Migration.html#id2685798">Server Share and Directory Layout</a></dt><dt>access controls, <a class="indexterm" href="domain-member.html#id2575193">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a>, <a class="indexterm" href="NetCommand.html#id2605869">Mapping Windows Groups to UNIX Groups</a>, <a class="indexterm" href="AccessControls.html#id2616650">Features and Benefits</a>, <a class="indexterm" href="AccessControls.html#id2617728">Protecting Directories and Files from Deletion</a></dt><dt>Access Controls, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>access denied, <a class="indexterm" href="securing-samba.html#id2624993">Using IPC$ Share-Based Denials </a></dt><dt>access policies, <a class="indexterm" href="passdb.html#id2598299">Domain Account Policy Managment</a></dt><dt>access rights, <a class="indexterm" href="domain-member.html#id2575193">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a>, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a></dt><dt>account, <a class="indexterm" href="install.html#id2559157">Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#id2576714">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="pam.html#id2672001">Anatomy of /etc/pam.d Entries</a></dt><dd><dl><dt>backend, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a></dt><dt>database, <a class="indexterm" href="ServerType.html#id2565710">Domain Security Mode (User-Level Security)</a></dt><dd><dl><dt>backends, <a class="indexterm" href="ServerType.html#id2564889">Features and Benefits</a></dt></dl></dd></dl></dd><dt>account access controls, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a></dt><dt>account attributes, <a class="indexterm" href="idmapper.html#id2611579">Primary Domain Controller</a></dt><dt>account backends, <a class="indexterm" href="passdb.html">Account Information Databases</a></dt><dt>account containers, <a class="indexterm" href="passdb.html#id2599940">Initialize the LDAP Database</a></dt><dt>account control block (see ACB)</dt><dt>account control flags, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a></dt><dt>account controls, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>Account Controls, <a class="indexterm" href="PolicyMgmt.html#id2665958">Managing Account/User Policies</a></dt><dt>account database, <a class="indexterm" href="passdb.html#id2598586">Password Backends</a></dt><dt>account deleted, <a class="indexterm" href="passdb.html#id2597548">Deleting Accounts</a></dt><dt>account encode_bits, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a></dt><dt>account flag order, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a></dt><dt>Account Flags, <a class="indexterm" href="passdb.html#id2597225">Listing User and Machine Accounts</a></dt><dt>account flags, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a></dt><dt>account import/export, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a>, <a class="indexterm" href="passdb.html#id2598461">Account Import/Export</a></dt><dt>account information, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="passdb.html#id2599442">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="NetCommand.html#id2606994">UNIX and Windows User Management</a></dt><dt>account information database, <a class="indexterm" href="passdb.html#id2594631">Mapping User Identifiers between MS Windows and UNIX</a></dt><dt>account management, <a class="indexterm" href="idmapper.html#id2611579">Primary Domain Controller</a></dt><dt>account name, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a>, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>account policies, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a></dt><dt>account policy, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a></dt><dt>account restrictions, <a class="indexterm" href="PolicyMgmt.html#id2665958">Managing Account/User Policies</a></dt><dt>account security, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a></dt><dt>account storage backends, <a class="indexterm" href="upgrading-to-3.0.html#id2684231">Passdb Backends and Authentication</a></dt><dt>account storage mechanisms, <a class="indexterm" href="passdb.html">Account Information Databases</a></dt><dt>account storage system, <a class="indexterm" href="passdb.html">Account Information Databases</a></dt><dt>Account Unknown, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>accountability, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a></dt><dt>accounts, <a class="indexterm" href="winbind.html#id2660684">Introduction</a></dt><dt>ACL, <a class="indexterm" href="ChangeNotes.html#id2584733">User and Group Changes</a>, <a class="indexterm" href="passdb.html#id2600663">Security and sambaSamAccount</a>, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="rights.html#id2615144">Description of Privileges</a>, <a class="indexterm" href="securing-samba.html#id2624266">Features and Benefits</a>, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a>, <a class="indexterm" href="ch-ldap-tls.html#s1-intro-ldap-tls">Introduction</a></dt><dt>ACLs, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a>, <a class="indexterm" href="classicalprinting.html#id2632959">The Obsoleted [printer$] Section</a></dt><dd><dl><dt>File System, <a class="indexterm" href="AccessControls.html#id2617311">File and Directory Access Control</a></dt><dt>POSIX, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a>, <a class="indexterm" href="AccessControls.html#id2616650">Features and Benefits</a></dt><dt>share, <a class="indexterm" href="AccessControls.html#id2616650">Features and Benefits</a></dt><dt>Windows, <a class="indexterm" href="AccessControls.html#id2616650">Features and Benefits</a></dt></dl></dd><dt>ACLs on share, <a class="indexterm" href="AccessControls.html#id2619323">Windows 200x/XP</a></dt><dt>ACLs on shares, <a class="indexterm" href="AccessControls.html#id2616650">Features and Benefits</a></dt><dt>across network segments, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a></dt><dt>active directory, <a class="indexterm" href="ServerType.html#id2564889">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2570321">Samba ADS Domain Control</a></dt><dt>Active Directory, <a class="indexterm" href="samba-bdc.html#id2573390">Active Directory Domain Control</a>, <a class="indexterm" href="domain-member.html#ads-member">Samba ADS Domain Membership</a>, <a class="indexterm" href="NetCommand.html#id2605466">UNIX and Windows Group Management</a>, <a class="indexterm" href="idmapper.html#id2610560">Standalone Samba Server</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2612670">IDMAP_RID with Winbind</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a></dt><dt>Active Directory Server, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>AD4UNIX, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a></dt><dt>ADAM, <a class="indexterm" href="idmapper.html#id2613261">IDMAP Storage in LDAP Using Winbind</a></dt><dt>add a user account, <a class="indexterm" href="passdb.html#id2597460">Adding User Accounts</a></dt><dt>add client machines, <a class="indexterm" href="rights.html#id2614798">Using the “net rpc rights” Utility</a></dt><dt>add domain users and groups to a local group, <a class="indexterm" href="rights.html#id2616153">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>add drivers, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>add machine script, <a class="indexterm" href="domain-member.html#id2576597">On-the-Fly Creation of Machine Trust Accounts</a>, <a class="indexterm" href="rights.html#id2614798">Using the “net rpc rights” Utility</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684135">Changes in Behavior</a></dt><dt>Add Printer Wizard, <a class="indexterm" href="classicalprinting.html#id2628204">Features and Benefits</a>, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a>, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>add printer wizard, <a class="indexterm" href="CUPS-printing.html#id2640821">Driver Upload Methods</a></dt><dt>add user script, <a class="indexterm" href="passdb.html#id2597109">User Account Management</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684135">Changes in Behavior</a></dt><dt>add/delete/change share, <a class="indexterm" href="rights.html#id2615144">Description of Privileges</a></dt><dt>adddriver, <a class="indexterm" href="classicalprinting.html#id2634683">Installing Driver Files into [print$]</a>, <a class="indexterm" href="classicalprinting.html#id2635038">Running rpcclient with adddriver</a>, <a class="indexterm" href="classicalprinting.html#id2635531">Specific Driver Name Flexibility</a>, <a class="indexterm" href="CUPS-printing.html#id2649816">A Check of the rpcclient man Page</a>, <a class="indexterm" href="CUPS-printing.html#id2651408">Troubleshooting Revisited</a></dt><dt>additional driver, <a class="indexterm" href="classicalprinting.html#id2636368">Additional Client Driver Installation</a></dt><dt>additional privileges, <a class="indexterm" href="rights.html#id2615144">Description of Privileges</a></dt><dt>addmem, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>AddPrinterDriver(), <a class="indexterm" href="CUPS-printing.html#id2649816">A Check of the rpcclient man Page</a></dt><dt>admincfg.exe, <a class="indexterm" href="Other-Clients.html#id2696237">Configuring Windows for Workgroups Password Handling</a></dt><dt>administrative actions, <a class="indexterm" href="rights.html#id2614798">Using the “net rpc rights” Utility</a></dt><dt>administrative duties, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a></dt><dt>administrative privileges, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="winbind.html#id2661746">Join the Samba Server to the PDC Domain</a></dt><dt>administrative responsibilities, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a></dt><dt>administrative rights, <a class="indexterm" href="rights.html#id2615144">Description of Privileges</a>, <a class="indexterm" href="rights.html#id2616153">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>administrative rights and privileges, <a class="indexterm" href="rights.html#id2616153">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>Administrative Templates, <a class="indexterm" href="PolicyMgmt.html#id2665509">MS Windows 200x/XP Professional Policies</a></dt><dt>Administrator, <a class="indexterm" href="groupmapping.html#id2602374">Discussion</a>, <a class="indexterm" href="groupmapping.html#id2603344">Important Administrative Information</a>, <a class="indexterm" href="winbind.html#id2661746">Join the Samba Server to the PDC Domain</a></dt><dt>administrator account, <a class="indexterm" href="domain-member.html#id2576714">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="domain-member.html#id2576878">Windows NT4 Client</a></dt><dt>Administrator account, <a class="indexterm" href="domain-member.html#ads-create-machine-account">Create the Computer Account</a></dt><dt>administrator password, <a class="indexterm" href="domain-member.html#id2579471">Notes</a></dt><dt>Administrator%password, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></dt><dt>Adobe, <a class="indexterm" href="CUPS-printing.html#gdipost">GDI on Windows, PostScript on UNIX</a>, <a class="indexterm" href="CUPS-printing.html#id2647194">PostScript Drivers with No Major Problems, Even in Kernel 2 Mode</a>, <a class="indexterm" href="CUPS-printing.html#id2652612">The Grand Unification Achieved</a></dt><dt>Adobe driver, <a class="indexterm" href="CUPS-printing.html#id2648429">Windows CUPS PostScript Driver Versus Adobe Driver</a></dt><dt>Adobe driver files, <a class="indexterm" href="CUPS-printing.html#id2647923">Recognizing Different Driver Files</a></dt><dt>Adobe PostScript, <a class="indexterm" href="CUPS-printing.html#id2648129">Caveats to Be Considered</a>, <a class="indexterm" href="CUPS-printing.html#id2653658">Adobe and CUPS PostScript Drivers for Windows Clients</a></dt><dt>Adobe PostScript driver, <a class="indexterm" href="CUPS-printing.html#id2649407">Installing the PostScript Driver on a Client</a></dt><dt>Adobe PPD, <a class="indexterm" href="CUPS-printing.html#id2652058">CUPS Print Drivers from Linuxprinting.org</a></dt><dt>Adobe specifications, <a class="indexterm" href="CUPS-printing.html#id2644365">The Role of cupsomatic/foomatic</a></dt><dt>ADS, <a class="indexterm" href="ServerType.html#id2566205">ADS Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a>, <a class="indexterm" href="domain-member.html#id2575193">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a>, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="domain-member.html#id2578186">Configure smb.conf</a>, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#ads-create-machine-account">Create the Computer Account</a>, <a class="indexterm" href="domain-member.html#ads-test-server">Testing Server Setup</a>, <a class="indexterm" href="NetworkBrowsing.html">Network Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2586870">TCP/IP without NetBIOS</a>, <a class="indexterm" href="NetworkBrowsing.html#adsdnstech">DNS and Active Directory</a>, <a class="indexterm" href="NetworkBrowsing.html#id2591424">Cross-Subnet Browsing</a>, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#id2600550">Accounts and Groups Management</a>, <a class="indexterm" href="NetCommand.html#id2605385">Administrative Tasks and Methods</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2611579">Primary Domain Controller</a>, <a class="indexterm" href="idmapper.html#id2613261">IDMAP Storage in LDAP Using Winbind</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="InterdomainTrusts.html#id2625845">Features and Benefits</a>, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2627167">NT4-Style Domain Trusts with Windows 2000</a>, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a>, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2660622">Result Caching</a>, <a class="indexterm" href="PolicyMgmt.html#id2664856">Features and Benefits</a>, <a class="indexterm" href="PolicyMgmt.html#id2665509">MS Windows 200x/XP Professional Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2665958">Managing Account/User Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2666385">System Startup and Logon Processing Overview</a>, <a class="indexterm" href="ProfileMgmt.html#id2670149">MS Windows 200x/XP</a>, <a class="indexterm" href="pam.html">PAM-Based Distributed Authentication</a>, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a>, <a class="indexterm" href="integrate-ms-networks.html#id2674165">Background Information</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684231">Passdb Backends and Authentication</a>, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a>, <a class="indexterm" href="DNSDHCP.html#id2698948">Features and Benefits</a> (see Active Directory)</dt><dt>ADS DC, <a class="indexterm" href="domain-member.html#id2578186">Configure smb.conf</a></dt><dt>ADS domain, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2612260">ADS Domains</a></dt><dt>ADS domain members, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a></dt><dt>ADS manager, <a class="indexterm" href="domain-member.html#ads-create-machine-account">Create the Computer Account</a></dt><dt>ADS schema, <a class="indexterm" href="idmapper.html#id2611579">Primary Domain Controller</a></dt><dt>Advanced TCP/IP configuration, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a></dt><dt>advantages, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>affect users, <a class="indexterm" href="PolicyMgmt.html#id2664962">Creating and Managing System Policies</a></dt><dt>affordable power, <a class="indexterm" href="SambaHA.html#id2678246">The Ultimate Goal</a></dt><dt>AFPL, <a class="indexterm" href="CUPS-printing.html#id2641672">Ghostscript: The Software RIP for Non-PostScript Printers</a></dt><dt>AFPL Ghostscript, <a class="indexterm" href="CUPS-printing.html#id2643453">pstoraster</a></dt><dt>AFS, <a class="indexterm" href="SambaHA.html#id2678695">The Distributed File System Challenge</a></dt><dt>AIX, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a>, <a class="indexterm" href="winbind.html#id2661436">NSS Winbind on AIX</a></dt><dt>algorithmic mapping, <a class="indexterm" href="idmapper.html#id2611579">Primary Domain Controller</a></dt><dt>alias group, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>allow access, <a class="indexterm" href="securing-samba.html#id2624429">Using Host-Based Protection</a></dt><dt>allow trusted domains, <a class="indexterm" href="idmapper.html#id2612670">IDMAP_RID with Winbind</a></dt><dt>already exists, <a class="indexterm" href="domain-member.html#id2579789">Cannot Add Machine Back to Domain</a></dt><dt>alternative solution, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>Amanda, <a class="indexterm" href="Backup.html#id2677947">Amanda</a></dt><dt>analyzes data, <a class="indexterm" href="problems.html#id2690936">Diagnostics Tools</a></dt><dt>anonymous, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dd><dl><dt>print server, <a class="indexterm" href="FastStart.html#id2560928">Anonymous Print Server</a></dt><dt>read-write server, <a class="indexterm" href="FastStart.html#id2560716">Anonymous Read-Write Document Server</a></dt></dl></dd><dt>anonymous access, <a class="indexterm" href="NetworkBrowsing.html#id2591173">Problem Resolution</a></dt><dt>anonymous file server, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></dt><dt>anonymous server, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a></dt><dt>ANSI compiler, <a class="indexterm" href="Portability.html#id2695192">HPUX</a></dt><dt>anticipate failure, <a class="indexterm" href="SambaHA.html#id2678091">Features and Benefits</a></dt><dt>API, <a class="indexterm" href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a></dt><dt>Appliances, <a class="indexterm" href="winbind.html#id2659796">Target Uses</a></dt><dt>application servers, <a class="indexterm" href="domain-member.html#id2575193">Features and Benefits</a></dt><dt>application/cups.vnd-postscript, <a class="indexterm" href="CUPS-printing.html#id2648429">Windows CUPS PostScript Driver Versus Adobe Driver</a></dt><dt>application/octet-stream, <a class="indexterm" href="CUPS-printing.html#cups-raw">Explicitly Enable “raw” Printing for application/octet-stream</a>, <a class="indexterm" href="CUPS-printing.html#id2642732">MIME Type Conversion Rules</a>, <a class="indexterm" href="CUPS-printing.html#id2644790">application/octet-stream Printing</a></dt><dt>application/pdf, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2642732">MIME Type Conversion Rules</a></dt><dt>application/postscript, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2642732">MIME Type Conversion Rules</a>, <a class="indexterm" href="CUPS-printing.html#id2643098">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2643286">pstops</a>, <a class="indexterm" href="CUPS-printing.html#id2648429">Windows CUPS PostScript Driver Versus Adobe Driver</a></dt><dt>application/vnd.cups-postscript, <a class="indexterm" href="CUPS-printing.html#id2643098">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2643286">pstops</a></dt><dt>application/vnd.cups-raster, <a class="indexterm" href="CUPS-printing.html#id2645069">PostScript Printer Descriptions for Non-PostScript Printers</a></dt><dt>application/vnd.cups-raw, <a class="indexterm" href="CUPS-printing.html#cups-raw">Explicitly Enable “raw” Printing for application/octet-stream</a></dt><dt>application/x-shell, <a class="indexterm" href="CUPS-printing.html#id2642732">MIME Type Conversion Rules</a></dt><dt>apt-get, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>ARCFOUR-HMAC-MD5, <a class="indexterm" href="domain-member.html#ads-test-server">Testing Server Setup</a></dt><dt>architecture, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a></dt><dt>ARP/RARP, <a class="indexterm" href="integrate-ms-networks.html#id2674366">/etc/hosts</a></dt><dt>ASCII, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a>, <a class="indexterm" href="unicode.html#id2676001">What Are Charsets and Unicode?</a>, <a class="indexterm" href="unicode.html#id2676302">Japanese Charsets</a></dt><dt>ASCII text, <a class="indexterm" href="CUPS-printing.html#id2643098">Prefilters</a></dt><dt>assign rights, <a class="indexterm" href="rights.html#id2614798">Using the “net rpc rights” Utility</a></dt><dt>assigned RID, <a class="indexterm" href="groupmapping.html#id2602374">Discussion</a></dt><dt>assistance, <a class="indexterm" href="ch47.html#id2698571">Free Support</a></dt><dt>associations, <a class="indexterm" href="groupmapping.html">Group Mapping: MS Windows and UNIX</a></dt><dt>attach gdb, <a class="indexterm" href="problems.html#id2690988">Debugging with Samba Itself</a></dt><dt>attribute, <a class="indexterm" href="passdb.html#id2599668">OpenLDAP Configuration</a></dt><dt>attributes, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a></dt><dt>audit file access, <a class="indexterm" href="VFS.html#id2656888">audit</a></dt><dt>audit module, <a class="indexterm" href="VFS.html#id2657146">extd_audit</a></dt><dt>auth, <a class="indexterm" href="pam.html#id2672001">Anatomy of /etc/pam.d Entries</a></dt><dt>authenticate, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></dt><dt>authenticate users, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></dt><dt>authenticated, <a class="indexterm" href="domain-member.html#id2578186">Configure smb.conf</a></dt><dt>authenticating server, <a class="indexterm" href="ProfileMgmt.html#id2669587">MS Windows NT4 Workstation</a></dt><dt>authentication, <a class="indexterm" href="ServerType.html#id2564889">Features and Benefits</a>, <a class="indexterm" href="ServerType.html#id2565710">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a>, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="domain-member.html#id2577904">Why Is This Better Than security = server?</a>, <a class="indexterm" href="passdb.html#id2594111">Important Notes About Security</a>, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#id2598461">Account Import/Export</a>, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a>, <a class="indexterm" href="winbind.html#id2662740">Configure Winbind and PAM</a>, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dd><dl><dt>backend, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a></dt></dl></dd><dt>authentication agents, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></dt><dt>authentication architecture, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></dt><dt>authentication backend, <a class="indexterm" href="NT4Migration.html#id2685596">Domain Layout</a></dt><dt>authentication control, <a class="indexterm" href="winbind.html#id2660684">Introduction</a></dt><dt>authentication database, <a class="indexterm" href="InterdomainTrusts.html#id2625845">Features and Benefits</a></dt><dt>authentication management, <a class="indexterm" href="winbind.html#id2660391">Pluggable Authentication Modules</a></dt><dt>authentication mechanisms, <a class="indexterm" href="winbind.html#id2660684">Introduction</a></dt><dt>authentication methods, <a class="indexterm" href="winbind.html#id2660391">Pluggable Authentication Modules</a></dt><dt>authentication module API, <a class="indexterm" href="winbind.html#id2661436">NSS Winbind on AIX</a></dt><dt>authentication regime, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a></dt><dt>authentication reply, <a class="indexterm" href="domain-member.html#id2577904">Why Is This Better Than security = server?</a></dt><dt>authentication server, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a></dt><dt>authentication service, <a class="indexterm" href="winbind.html#id2662906">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>authentication system, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></dt><dt>authenticatior, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a></dt><dt>authoritative, <a class="indexterm" href="NetworkBrowsing.html#id2591595">Behavior of Cross-Subnet Browsing</a></dt><dt>authoritive, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a></dt><dt>authorization, <a class="indexterm" href="winbind.html#id2660391">Pluggable Authentication Modules</a></dt><dt>auto-reconnect, <a class="indexterm" href="passdb.html#id2594111">Important Notes About Security</a></dt><dt>autogen.sh, <a class="indexterm" href="compiling.html#id2694079">Building the Binaries</a></dt><dt>autogenerated printcap, <a class="indexterm" href="classicalprinting.html#id2631576">Default UNIX System Printing Commands</a></dt><dt>automatic account creation, <a class="indexterm" href="domain-member.html#id2576317">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>automatic mapping, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a></dt><dt>automatic reconnects, <a class="indexterm" href="passdb.html#id2594426">Advantages of Encrypted Passwords</a></dt><dt>automatic redundancy, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>autopoweruser.sh, <a class="indexterm" href="NetCommand.html#id2606695">Managing Nest Groups on Workstations from the Samba Server</a></dt><dt>autotyping, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt><dt>AUXILIARY, <a class="indexterm" href="passdb.html#id2599442">Schema and Relationship to the RFC 2307 posixAccount</a></dt><dt>auxiliary members, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>availability, <a class="indexterm" href="SambaHA.html#id2678091">Features and Benefits</a>, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>available, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>available port, <a class="indexterm" href="classicalprinting.html#id2637988">Samba and Printer Ports</a></dt><dt>available printerd, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>available rights, <a class="indexterm" href="rights.html#id2614798">Using the “net rpc rights” Utility</a></dt><dt>average print run, <a class="indexterm" href="CUPS-printing.html#id2640942">Advanced Intelligent Printing with PostScript Driver Download</a></dt></dl></div><div class="indexdiv"><h3>B</h3><dl><dt>b-node, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a></dt><dt>back up, <a class="indexterm" href="winbind.html#id2660799">Requirements</a></dt><dt>backed up, <a class="indexterm" href="NT4Migration.html#id2685798">Server Share and Directory Layout</a></dt><dt>backend, <a class="indexterm" href="SambaHA.html#id2678695">The Distributed File System Challenge</a></dt><dt>backend authentication, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>backend database, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2579865">Adding Machine to Domain Fails</a></dt><dt>backend failures, <a class="indexterm" href="SambaHA.html#id2679176">High-Availability Server Products</a></dt><dt>backend file system pool, <a class="indexterm" href="SambaHA.html#id2678822">Restrictive Constraints on Distributed File Systems</a></dt><dt>backends, <a class="indexterm" href="ChangeNotes.html#id2585166">Passdb Changes</a>, <a class="indexterm" href="CUPS-printing.html#id2654628">Printing from CUPS to Windows-Attached Printers</a></dt><dt>backup, <a class="indexterm" href="Backup.html#id2677464">Features and Benefits</a>, <a class="indexterm" href="NT4Migration.html#id2685798">Server Share and Directory Layout</a>, <a class="indexterm" href="tdb.html#id2692976">Features and Benefits</a></dt><dt>backup domain controller, <a class="indexterm" href="NT4Migration.html#id2685596">Domain Layout</a></dt><dt>backup solution, <a class="indexterm" href="Backup.html#id2677509">Discussion of Backup Solutions</a></dt><dt>BackupPC, <a class="indexterm" href="Backup.html#id2677606">BackupPC</a></dt><dt>bad hardware, <a class="indexterm" href="NetworkBrowsing.html#id2592632">Browsing of Shares and Directories is Very Slow</a></dt><dt>bad logon attempts, <a class="indexterm" href="passdb.html#id2597632">Changing User Accounts</a></dt><dt>Bad networking hardware, <a class="indexterm" href="NetworkBrowsing.html#id2592632">Browsing of Shares and Directories is Very Slow</a></dt><dt>bad password, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>banner pages, <a class="indexterm" href="CUPS-printing.html#id2648429">Windows CUPS PostScript Driver Versus Adobe Driver</a>, <a class="indexterm" href="CUPS-printing.html#id2648647">Run cupsaddsmb (Quiet Mode)</a></dt><dt>barriers, <a class="indexterm" href="securing-samba.html#id2624168">Introduction</a></dt><dt>Batch Oplock, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>BDC, <a class="indexterm" href="ServerType.html#id2565710">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="ServerType.html#id2565925">Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2571862">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2573025">LDAP Configuration Notes</a>, <a class="indexterm" href="samba-bdc.html#id2573390">Active Directory Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2574222">Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2574784">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a>, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="domain-member.html#id2577904">Why Is This Better Than security = server?</a>, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2594426">Advantages of Encrypted Passwords</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2598981">tdbsam</a>, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2611579">Primary Domain Controller</a>, <a class="indexterm" href="idmapper.html#id2611813">Backup Domain Controller</a>, <a class="indexterm" href="winbind.html#id2661746">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a>, <a class="indexterm" href="NT4Migration.html#id2685596">Domain Layout</a>, <a class="indexterm" href="NT4Migration.html#id2686132">Steps in Migration Process</a></dt><dt>BDCs, <a class="indexterm" href="NT4Migration.html#id2685596">Domain Layout</a></dt><dt>behavior approximately same, <a class="indexterm" href="upgrading-to-3.0.html#id2682386">Quick Migration Guide</a></dt><dt>between domains, <a class="indexterm" href="InterdomainTrusts.html#id2626630">Configuring Samba NT-Style Domain Trusts</a></dt><dt>bias, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>binary format TDB, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a></dt><dt>BIND, <a class="indexterm" href="DNSDHCP.html#id2699218">Dynamic DNS</a></dt><dt>bind interfaces only, <a class="indexterm" href="cfgsmarts.html#id2679993">Multiple Server Hosting</a></dt><dt>BIND9, <a class="indexterm" href="NetworkBrowsing.html#adsdnstech">DNS and Active Directory</a></dt><dt>BIND9.NET, <a class="indexterm" href="DNSDHCP.html#id2698948">Features and Benefits</a></dt><dt>bindery-enabled, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>block device, <a class="indexterm" href="AccessControls.html#id2617311">File and Directory Access Control</a></dt><dt>block incoming packets, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>BOBS, <a class="indexterm" href="Backup.html#id2677995">BOBS: Browseable Online Backup System</a></dt><dt>bogus, <a class="indexterm" href="ServerType.html#id2566526">Example Configuration</a></dt><dt>boot disk`, <a class="indexterm" href="winbind.html#id2660799">Requirements</a></dt><dt>bridge, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a></dt><dt>bridges networks, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a></dt><dt>brlock.tdb, <a class="indexterm" href="CUPS-printing.html#id2651551">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>broadcast, <a class="indexterm" href="samba-bdc.html#id2573448">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a></dt><dt>broadcast address, <a class="indexterm" href="NetworkBrowsing.html#id2591173">Problem Resolution</a>, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>broadcast isolated subnet, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>broadcast messages, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a></dt><dt>broadcast messaging, <a class="indexterm" href="samba-bdc.html#id2573539">How Does a Workstation find its Domain Controller?</a></dt><dt>Broadcast node, <a class="indexterm" href="NetworkBrowsing.html#id2590302">Static WINS Entries</a></dt><dt>broadcast request, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a></dt><dt>broadcast traffic, <a class="indexterm" href="NetworkBrowsing.html#id2591424">Cross-Subnet Browsing</a></dt><dt>broadcast-based, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a></dt><dt>broadcast-based name resolution, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></dt><dt>broadcasts, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2591595">Behavior of Cross-Subnet Browsing</a></dt><dt>browse across subnet, <a class="indexterm" href="NetworkBrowsing.html#id2591424">Cross-Subnet Browsing</a></dt><dt>browse list, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a>, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#id2589657">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2591595">Behavior of Cross-Subnet Browsing</a></dt><dt>browse list handling, <a class="indexterm" href="NetworkBrowsing.html">Network Browsing</a></dt><dt>browse list maintainers, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a></dt><dt>browse list management, <a class="indexterm" href="samba-pdc.html#id2570985">Security Mode and Master Browsers</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585793">What Is Browsing?</a></dt><dt>browse lists, <a class="indexterm" href="NetworkBrowsing.html#id2588976">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2591424">Cross-Subnet Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2591595">Behavior of Cross-Subnet Browsing</a></dt><dt>browse resources, <a class="indexterm" href="NetworkBrowsing.html#id2591173">Problem Resolution</a></dt><dt>browse server resources, <a class="indexterm" href="NetworkBrowsing.html#id2591173">Problem Resolution</a></dt><dt>browse shares, <a class="indexterm" href="securing-samba.html#id2624993">Using IPC$ Share-Based Denials </a></dt><dt>browse.dat, <a class="indexterm" href="NetworkBrowsing.html#id2591173">Problem Resolution</a></dt><dt>browseable, <a class="indexterm" href="install.html#id2558075">Configuration File Syntax</a></dt><dt>browser election, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a></dt><dt>browser elections, <a class="indexterm" href="NetworkBrowsing.html#id2588376">Domain Browsing Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>BrowseShortNames, <a class="indexterm" href="CUPS-printing.html#id2656138">Print Queue Called “lp” Mishandles Print Jobs</a></dt><dt>browsing, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585793">What Is Browsing?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2588976">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2590976">Browsing Support in Samba</a></dt><dt>browsing across subnets, <a class="indexterm" href="NetworkBrowsing.html">Network Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2591424">Cross-Subnet Browsing</a></dt><dt>browsing another subnet, <a class="indexterm" href="NetworkBrowsing.html#id2590976">Browsing Support in Samba</a></dt><dt>browsing intrinsics, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a></dt><dt>browsing problems, <a class="indexterm" href="NetworkBrowsing.html#id2590545">Windows Networking Protocols</a>, <a class="indexterm" href="NetworkBrowsing.html#id2592438">Common Errors</a>, <a class="indexterm" href="NetworkBrowsing.html#id2592585">I Get an "Unable to browse the network" Error</a></dt><dt>BSD, <a class="indexterm" href="samba-pdc.html#id2571270">“$” Cannot Be Included in Machine Name</a>, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="classicalprinting.html#id2628204">Features and Benefits</a></dt><dt>BSD Printing, <a class="indexterm" href="classicalprinting.html#id2628739">Simple Print Configuration</a></dt><dt>BSD-style printing, <a class="indexterm" href="classicalprinting.html#id2629619">Extended Printing Configuration</a></dt><dt>bug report, <a class="indexterm" href="ch47.html#id2698571">Free Support</a></dt><dt>bug reports, <a class="indexterm" href="bugreport.html#id2692107">Introduction</a></dt><dt>Bugzilla, <a class="indexterm" href="bugreport.html#id2692107">Introduction</a></dt><dt>built-in commands, <a class="indexterm" href="classicalprinting.html#id2632121">Custom Print Commands</a></dt><dt>bypasses privilege, <a class="indexterm" href="rights.html#id2614798">Using the “net rpc rights” Utility</a></dt><dt>byte ranges, <a class="indexterm" href="locking.html#id2621768">Discussion</a></dt><dt>byte-range lock, <a class="indexterm" href="locking.html#id2621768">Discussion</a></dt><dt>byte-range locking, <a class="indexterm" href="locking.html#id2621768">Discussion</a>, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt></dl></div><div class="indexdiv"><h3>C</h3><dl><dt>c:\winnt\inf, <a class="indexterm" href="PolicyMgmt.html#id2665288">Windows NT4-Style Policy Files</a></dt><dt>C:\WinNT\System32\config, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a></dt><dt>cached</dt><dd><dl><dt>password, <a class="indexterm" href="ServerType.html#id2566623">Password Checking</a></dt></dl></dd><dt>cached encrypted password, <a class="indexterm" href="passdb.html#id2594111">Important Notes About Security</a></dt><dt>cached in memory, <a class="indexterm" href="passdb.html#id2594567">Advantages of Non-Encrypted Passwords</a></dt><dt>cached local file, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>cached locally, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a></dt><dt>cached references, <a class="indexterm" href="NetworkBrowsing.html#id2592832">Invalid Cached Share References Affects Network Browsing</a></dt><dt>caching, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>caching reads, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>caching scheme, <a class="indexterm" href="winbind.html#id2660622">Result Caching</a></dt><dt>caching writes, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>called name, <a class="indexterm" href="securing-samba.html#id2624429">Using Host-Based Protection</a></dt><dt>cannot join domain, <a class="indexterm" href="ClientConfig.html#id2584425">Common Errors</a></dt><dt>canonicalize files, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>CAP, <a class="indexterm" href="unicode.html#id2676302">Japanese Charsets</a>, <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a>, <a class="indexterm" href="Other-Clients.html#id2695763">Macintosh Clients</a></dt><dt>cap-share, <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a></dt><dt>capability to delete, <a class="indexterm" href="AccessControls.html#id2617728">Protecting Directories and Files from Deletion</a></dt><dt>CAP_LINUX_IMMUTABLE, <a class="indexterm" href="AccessControls.html#id2617728">Protecting Directories and Files from Deletion</a></dt><dt>case options, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>case sensitivity, <a class="indexterm" href="pam.html#id2671922">PAM Configuration Syntax</a></dt><dt>case-insensitive, <a class="indexterm" href="ServerType.html#id2565355">User Level Security</a>, <a class="indexterm" href="classicalprinting.html#id2628739">Simple Print Configuration</a>, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>case-preserving, <a class="indexterm" href="ServerType.html#id2565355">User Level Security</a></dt><dt>central environment, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a></dt><dt>centralized</dt><dd><dl><dt>authentication, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></dt></dl></dd><dt>centralized identity management, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></dt><dt>centrally managed, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>certificate, <a class="indexterm" href="SWAT.html#id2687958">Securing SWAT through SSL</a></dt><dt>Certificate Authority (see CA)</dt><dt>cfdisk, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>challenge/response mechanis, <a class="indexterm" href="passdb.html#id2594111">Important Notes About Security</a></dt><dt>change capabilities, <a class="indexterm" href="passdb.html#id2596033">The smbpasswd Tool</a></dt><dt>change motivations, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>change password, <a class="indexterm" href="domain-member.html#id2579471">Notes</a></dt><dt>change passwords, <a class="indexterm" href="passdb.html#id2596033">The smbpasswd Tool</a></dt><dt>changed parameters, <a class="indexterm" href="upgrading-to-3.0.html#oldupdatenotes">Upgrading from Samba-2.x to Samba-3.0.25</a></dt><dt>changes password, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a></dt><dt>character device, <a class="indexterm" href="AccessControls.html#id2617311">File and Directory Access Control</a></dt><dt>character set, <a class="indexterm" href="unicode.html#id2676001">What Are Charsets and Unicode?</a></dt><dt>character sets, <a class="indexterm" href="unicode.html#id2676134">Samba and Charsets</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></dt><dt>charset, <a class="indexterm" href="unicode.html#id2676001">What Are Charsets and Unicode?</a></dt><dt>charset conversion, <a class="indexterm" href="unicode.html#id2676270">Conversion from Old Names</a></dt><dt>chattr, <a class="indexterm" href="AccessControls.html#id2617728">Protecting Directories and Files from Deletion</a></dt><dt>check for locks, <a class="indexterm" href="locking.html#id2621768">Discussion</a></dt><dt>check logs, <a class="indexterm" href="domain-member.html#id2579865">Adding Machine to Domain Fails</a></dt><dt>checksum-search, <a class="indexterm" href="Backup.html#id2677778">Rsync</a></dt><dt>chmod, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>chown, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="AccessControls.html#id2619677">Viewing File Ownership</a>, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>chpass, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a></dt><dt>CIFS, <a class="indexterm" href="domain-member.html#id2579543">Sharing User ID Mappings between Samba Domain Members</a></dt><dt>CIFS function calls, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>CIFS/SMB, <a class="indexterm" href="SambaHA.html#id2678091">Features and Benefits</a>, <a class="indexterm" href="SambaHA.html#id2678376">Why Is This So Hard?</a></dt><dt>Citrix, <a class="indexterm" href="AdvancedNetworkManagement.html#id2664260">Remote Management with ThinLinc</a></dt><dt>clear purpose preferred, <a class="indexterm" href="Backup.html#id2677509">Discussion of Backup Solutions</a></dt><dt>clear-text, <a class="indexterm" href="ServerType.html#id2566623">Password Checking</a>, <a class="indexterm" href="passdb.html#id2594111">Important Notes About Security</a>, <a class="indexterm" href="passdb.html#id2600663">Security and sambaSamAccount</a></dt><dt>clear-text passwords, <a class="indexterm" href="passdb.html#id2594111">Important Notes About Security</a></dt><dt>client client instructions, <a class="indexterm" href="ClientConfig.html#id2581580">Features and Benefits</a></dt><dt>Client for Microsoft Networks, <a class="indexterm" href="ClientConfig.html#id2583981">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>Client for Novell Networks, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a></dt><dt>client-server mode, <a class="indexterm" href="passdb.html#id2596033">The smbpasswd Tool</a></dt><dt>client-side caching, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>client-side data caching, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a>, <a class="indexterm" href="locking.html#id2622728">PDM Data Shares</a></dt><dt>clock skew, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a></dt><dt>cluster servers, <a class="indexterm" href="SambaHA.html#id2678494">The Front-End Challenge</a></dt><dt>clustered file server, <a class="indexterm" href="SambaHA.html#id2678246">The Ultimate Goal</a></dt><dt>Clustered smbds, <a class="indexterm" href="SambaHA.html#id2678898">Server Pool Communications</a></dt><dt>clustering technologies, <a class="indexterm" href="SambaHA.html#id2678246">The Ultimate Goal</a></dt><dt>cluttering, <a class="indexterm" href="bugreport.html#id2692432">Debugging-Specific Operations</a></dt><dt>cmd, <a class="indexterm" href="NetworkBrowsing.html#id2592632">Browsing of Shares and Directories is Very Slow</a>, <a class="indexterm" href="rights.html#id2616153">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>cmd shell, <a class="indexterm" href="rights.html#id2616153">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>CN, <a class="indexterm" href="samba-bdc.html#id2573025">LDAP Configuration Notes</a>, <a class="indexterm" href="ch-ldap-tls.html#s1-intro-ldap-tls">Introduction</a></dt><dt>code maintainer, <a class="indexterm" href="ch47.html#id2698571">Free Support</a></dt><dt>codepages, <a class="indexterm" href="unicode.html#id2675949">Features and Benefits</a></dt><dt>collating, <a class="indexterm" href="NetworkBrowsing.html#id2588976">Making Samba the Domain Master</a></dt><dt>collisions, <a class="indexterm" href="speed.html#id2697192">Samba Performance Problem Due to Changing Linux Kernel</a></dt><dt>color, <a class="indexterm" href="CUPS-printing.html#id2641313">UNIX Printfile Conversion and GUI Basics</a></dt><dt>COM1:, <a class="indexterm" href="classicalprinting.html#id2637988">Samba and Printer Ports</a></dt><dt>command-line, <a class="indexterm" href="NetCommand.html">Remote and Local Management: The Net Command</a></dt><dt>command-line utility, <a class="indexterm" href="rights.html#id2614798">Using the “net rpc rights” Utility</a></dt><dt>commenting out setting, <a class="indexterm" href="classicalprinting.html#id2629220">Rapid Configuration Validation</a></dt><dt>commercial Linux products, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a></dt><dt>commercial support, <a class="indexterm" href="ch47.html">Samba Support</a>, <a class="indexterm" href="ch47.html#id2698789">Commercial Support</a></dt><dt>commit the settings, <a class="indexterm" href="ClientConfig.html#id2582402">MS Windows 2000</a></dt><dt>Common Internet Filesystem (see CIFS)</dt><dt>Common restrictions, <a class="indexterm" href="PolicyMgmt.html#id2665958">Managing Account/User Policies</a></dt><dt>Common UNIX Printing System (see CUPS)</dt><dt>common.adm, <a class="indexterm" href="PolicyMgmt.html#id2665288">Windows NT4-Style Policy Files</a></dt><dt>comp.protocols.smb, <a class="indexterm" href="bugreport.html#id2692107">Introduction</a></dt><dt>compatible, <a class="indexterm" href="passdb.html#id2594111">Important Notes About Security</a>, <a class="indexterm" href="Portability.html">Portability</a></dt><dt>compile, <a class="indexterm" href="install.html#id2557993">Obtaining and Installing Samba</a></dt><dt>compile-time options, <a class="indexterm" href="classicalprinting.html#id2629220">Rapid Configuration Validation</a></dt><dt>complex file name space, <a class="indexterm" href="SambaHA.html#id2679095">A Simple Solution</a></dt><dt>complex organization, <a class="indexterm" href="NT4Migration.html#id2685596">Domain Layout</a></dt><dt>complexity, <a class="indexterm" href="StandAloneServer.html#id2580529">Example Configuration</a></dt><dt>compliance, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a></dt><dt>complicated, <a class="indexterm" href="NetworkBrowsing.html#id2591595">Behavior of Cross-Subnet Browsing</a></dt><dt>complicated problem, <a class="indexterm" href="SambaHA.html#id2678589">Demultiplexing SMB Requests</a></dt><dt>comprehensive documentation, <a class="indexterm" href="cfgsmarts.html#id2679993">Multiple Server Hosting</a></dt><dt>Computer Account, <a class="indexterm" href="domain-member.html#id2576878">Windows NT4 Client</a></dt><dt>computer account, <a class="indexterm" href="domain-member.html#ads-test-server">Testing Server Setup</a></dt><dt>computer accounts, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>Computer Management, <a class="indexterm" href="AccessControls.html#id2619058">Access Controls on Shares</a>, <a class="indexterm" href="AccessControls.html#id2619323">Windows 200x/XP</a></dt><dt>Computer Name, <a class="indexterm" href="ClientConfig.html#id2583455">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>computer name, <a class="indexterm" href="ClientConfig.html#id2583981">Domain Logon Configuration: Windows 9x/Me</a>, <a class="indexterm" href="integrate-ms-networks.html#id2674766">Name Resolution as Used within MS Windows Networking</a></dt><dt>concurrent access, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>Conectiva, <a class="indexterm" href="CUPS-printing.html#id2652845">Forums, Downloads, Tutorials, Howtos (Also for Mac OS X and Commercial UNIX)</a></dt><dt>config.cache, <a class="indexterm" href="domain-member.html#id2579178">Possible Errors</a></dt><dt>CONFIG.POL, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a></dt><dt>Config.POL, <a class="indexterm" href="PolicyMgmt.html#id2664962">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2665151">Windows 9x/ME Policies</a></dt><dt>configuration</dt><dd><dl><dt>documentation, <a class="indexterm" href="install.html#id2559391">Test Your Config File with testparm</a></dt></dl></dd><dt>configuration files, <a class="indexterm" href="SWAT.html#id2687177">Features and Benefits</a></dt><dt>configuration problem, <a class="indexterm" href="bugreport.html#id2692107">Introduction</a></dt><dt>configuration syntax, <a class="indexterm" href="classicalprinting.html#id2628739">Simple Print Configuration</a></dt><dt>configuration techniques, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a></dt><dt>configuration too complex, <a class="indexterm" href="StandAloneServer.html#id2581512">Common Errors</a></dt><dt>configuration tool, <a class="indexterm" href="SWAT.html">SWAT: The Samba Web Administration Tool</a></dt><dt>configuration wizard, <a class="indexterm" href="ClientConfig.html#id2583455">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>configure, <a class="indexterm" href="compiling.html#id2694079">Building the Binaries</a></dt><dt>configuring a firewall, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>confirm address, <a class="indexterm" href="securing-samba.html#id2624642">Using Interface Protection</a></dt><dt>confirm the password, <a class="indexterm" href="InterdomainTrusts.html#id2626971">Samba as the Trusting Domain</a></dt><dt>confirm the trust, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>connect transparently, <a class="indexterm" href="SambaHA.html#id2678246">The Ultimate Goal</a></dt><dt>connection resources, <a class="indexterm" href="domain-member.html#id2577904">Why Is This Better Than security = server?</a></dt><dt>connections, <a class="indexterm" href="install.html#id2559157">Example Configuration</a></dt><dt>connections.tdb, <a class="indexterm" href="CUPS-printing.html#id2651551">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>consistent case, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>console, <a class="indexterm" href="winbind.html#id2662906">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>consumer expects, <a class="indexterm" href="ch47.html">Samba Support</a></dt><dt>container, <a class="indexterm" href="domain-member.html#ads-create-machine-account">Create the Computer Account</a></dt><dt>continuity of service, <a class="indexterm" href="SambaHA.html#id2679176">High-Availability Server Products</a></dt><dt>contribute, <a class="indexterm" href="cfgsmarts.html#id2679993">Multiple Server Hosting</a></dt><dt>Control Panel, <a class="indexterm" href="ClientConfig.html#id2583455">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>convert</dt><dd><dl><dt>domain member server, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a></dt></dl></dd><dt>converted, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a></dt><dt>copy'n'paste, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></dt><dt>core files, <a class="indexterm" href="bugreport.html#id2692634">Internal Errors</a></dt><dt>core graphic engine, <a class="indexterm" href="CUPS-printing.html#id2641134">Windows Drivers, GDI, and EMF</a></dt><dt>core values, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>corrupted file, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a></dt><dt>cosine.schema, <a class="indexterm" href="passdb.html#id2599668">OpenLDAP Configuration</a></dt><dt>country of origin, <a class="indexterm" href="ch47.html#id2698789">Commercial Support</a></dt><dt>CP850, <a class="indexterm" href="unicode.html#id2676134">Samba and Charsets</a></dt><dt>CP932, <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a></dt><dt>cracker, <a class="indexterm" href="securing-samba.html#id2624642">Using Interface Protection</a></dt><dt>create, <a class="indexterm" href="AccessControls.html#id2617188">Managing Directories</a></dt><dt>Create a Computer Account, <a class="indexterm" href="domain-member.html#id2576878">Windows NT4 Client</a></dt><dt>create a domain machine account, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a></dt><dt>create domain member, <a class="indexterm" href="domain-member.html#id2576714">Windows 200x/XP Professional Client</a></dt><dt>create machine trust account, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></dt><dt>create partition, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>Create the Computer Account, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a></dt><dt>create user accounts, <a class="indexterm" href="StandAloneServer.html#id2580328">Background</a></dt><dt>create volume, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>credentials, <a class="indexterm" href="ServerType.html#id2565355">User Level Security</a>, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-bdc.html#id2573025">LDAP Configuration Notes</a>, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a>, <a class="indexterm" href="ClientConfig.html#id2583455">Joining a Domain: Windows 2000/XP Professional</a>, <a class="indexterm" href="NetCommand.html#id2607406">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>credentials validation, <a class="indexterm" href="samba-bdc.html#id2573596">NetBIOS Over TCP/IP Enabled</a></dt><dt>critical aspects of configuration, <a class="indexterm" href="ClientConfig.html#id2581580">Features and Benefits</a></dt><dt>crle, <a class="indexterm" href="winbind.html#id2661038">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>cron, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a></dt><dt>cross post, <a class="indexterm" href="problems.html#id2691801">Getting Mailing List Help</a></dt><dt>cross-segment browsing, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a></dt><dt>cross-subnet browsing, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2589928">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2591595">Behavior of Cross-Subnet Browsing</a></dt><dt>CUPS, <a class="indexterm" href="classicalprinting.html#id2628204">Features and Benefits</a>, <a class="indexterm" href="classicalprinting.html#id2628427">Technical Introduction</a>, <a class="indexterm" href="classicalprinting.html#id2629619">Extended Printing Configuration</a>, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a>, <a class="indexterm" href="CUPS-printing.html#id2639066">Features and Benefits</a>, <a class="indexterm" href="CUPS-printing.html#id2639126">Overview</a>, <a class="indexterm" href="CUPS-printing.html#id2639245">Basic CUPS Support Configuration</a>, <a class="indexterm" href="CUPS-printing.html#id2641909">Using Windows-Formatted Vendor PPDs</a></dt><dd><dl><dt>Page Accounting, <a class="indexterm" href="CUPS-printing.html#id2653528">Page Accounting with CUPS</a></dt><dt>quotas, <a class="indexterm" href="CUPS-printing.html#id2653563">Setting Up Quotas</a></dt></dl></dd><dt>CUPS API, <a class="indexterm" href="install.html#id2558075">Configuration File Syntax</a>, <a class="indexterm" href="classicalprinting.html#id2631576">Default UNIX System Printing Commands</a></dt><dt>CUPS backends, <a class="indexterm" href="CUPS-printing.html#id2644027">CUPS Backends</a></dt><dt>CUPS filtering, <a class="indexterm" href="CUPS-printing.html#id2642028">CUPS Also Uses PPDs for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2642068">The CUPS Filtering Architecture</a></dt><dt>CUPS filtering chain, <a class="indexterm" href="CUPS-printing.html#id2644027">CUPS Backends</a></dt><dt>CUPS libarary API, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>CUPS PostScript, <a class="indexterm" href="CUPS-printing.html#id2648129">Caveats to Be Considered</a></dt><dt>CUPS PostScript driver, <a class="indexterm" href="CUPS-printing.html#id2648429">Windows CUPS PostScript Driver Versus Adobe Driver</a></dt><dt>CUPS print filters, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>CUPS raster, <a class="indexterm" href="CUPS-printing.html#id2642068">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2643453">pstoraster</a></dt><dt>CUPS-PPD, <a class="indexterm" href="CUPS-printing.html#id2652456">cupsomatic, pdqomatic, lpdomatic, directomatic</a></dt><dt>cups.hlp, <a class="indexterm" href="CUPS-printing.html#id2648129">Caveats to Be Considered</a></dt><dt>cupsaddsmb, <a class="indexterm" href="CUPS-printing.html#id2640821">Driver Upload Methods</a>, <a class="indexterm" href="CUPS-printing.html#id2647304">cupsaddsmb: The Unknown Utility</a>, <a class="indexterm" href="CUPS-printing.html#id2648129">Caveats to Be Considered</a>, <a class="indexterm" href="CUPS-printing.html#id2648647">Run cupsaddsmb (Quiet Mode)</a>, <a class="indexterm" href="CUPS-printing.html#id2648787">Run cupsaddsmb with Verbose Output</a>, <a class="indexterm" href="CUPS-printing.html#id2648978">Understanding cupsaddsmb</a>, <a class="indexterm" href="CUPS-printing.html#id2649245">cupsaddsmb with a Samba PDC</a>, <a class="indexterm" href="CUPS-printing.html#id2649326">cupsaddsmb Flowchart</a>, <a class="indexterm" href="CUPS-printing.html#id2649407">Installing the PostScript Driver on a Client</a>, <a class="indexterm" href="CUPS-printing.html#id2650224">Requirements for adddriver and setdriver to Succeed</a></dt><dt>cupsd.conf, <a class="indexterm" href="classicalprinting.html#id2631576">Default UNIX System Printing Commands</a>, <a class="indexterm" href="CUPS-printing.html#id2639245">Basic CUPS Support Configuration</a>, <a class="indexterm" href="CUPS-printing.html#id2644613">mime.convs</a>, <a class="indexterm" href="CUPS-printing.html#id2654280">Autodeletion or Preservation of CUPS Spool Files</a></dt><dt>cupsomatic, <a class="indexterm" href="CUPS-printing.html#id2641909">Using Windows-Formatted Vendor PPDs</a>, <a class="indexterm" href="CUPS-printing.html#id2642068">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2644365">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2645352">cupsomatic/foomatic-rip Versus Native CUPS Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2652058">CUPS Print Drivers from Linuxprinting.org</a>, <a class="indexterm" href="CUPS-printing.html#id2652456">cupsomatic, pdqomatic, lpdomatic, directomatic</a></dt><dt>currupted, <a class="indexterm" href="tdb.html#id2692976">Features and Benefits</a></dt><dt>custom scripts, <a class="indexterm" href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a></dt><dt>customer expected, <a class="indexterm" href="ch47.html">Samba Support</a></dt><dt>customers, <a class="indexterm" href="ch47.html">Samba Support</a></dt><dt>customized print commands, <a class="indexterm" href="classicalprinting.html#id2632121">Custom Print Commands</a></dt></dl></div><div class="indexdiv"><h3>D</h3><dl><dt>daemon, <a class="indexterm" href="install.html#id2558977">Starting Samba</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="winbind.html#id2660799">Requirements</a>, <a class="indexterm" href="compiling.html#id2694807">Alternative: Starting smbd as a Daemon</a></dt><dt>daemon running, <a class="indexterm" href="winbind.html#id2661984">Starting and Testing the winbindd Daemon</a></dt><dt>daemons, <a class="indexterm" href="winbind.html#id2662695">Restarting</a></dt><dt>damaged data, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a></dt><dt>data caching, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>data corruption, <a class="indexterm" href="NetworkBrowsing.html#id2592632">Browsing of Shares and Directories is Very Slow</a>, <a class="indexterm" href="locking.html#id2622603">UNIX or NFS Client-Accessed Files</a></dt><dt>data interchange, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a></dt><dt>data stream, <a class="indexterm" href="classicalprinting.html#id2628427">Technical Introduction</a></dt><dt>database, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2682386">Quick Migration Guide</a></dt><dt>DatabaseFS, <a class="indexterm" href="VFS.html#id2658847">DatabaseFS</a></dt><dt>DAVE, <a class="indexterm" href="Other-Clients.html#id2695763">Macintosh Clients</a></dt><dt>dbx, <a class="indexterm" href="bugreport.html#id2692634">Internal Errors</a></dt><dt>DCE RPC, <a class="indexterm" href="winbind.html#id2661746">Join the Samba Server to the PDC Domain</a></dt><dt>DDK, <a class="indexterm" href="CUPS-printing.html#id2647194">PostScript Drivers with No Major Problems, Even in Kernel 3 Mode</a>, <a class="indexterm" href="CUPS-printing.html#id2647683">CUPS “PostScript Driver for Windows NT/200x/XP”</a></dt><dt>DDNS, <a class="indexterm" href="NetworkBrowsing.html#id2586870">TCP/IP without NetBIOS</a>, <a class="indexterm" href="NetworkBrowsing.html#adsdnstech">DNS and Active Directory</a>, <a class="indexterm" href="integrate-ms-networks.html#id2674165">Background Information</a></dt><dt>de-multiplex, <a class="indexterm" href="SambaHA.html#id2678494">The Front-End Challenge</a></dt><dt>de-multiplexing, <a class="indexterm" href="SambaHA.html#id2678589">Demultiplexing SMB Requests</a></dt><dt>Debian, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>Debian Sarge, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>debug, <a class="indexterm" href="bugreport.html#id2692634">Internal Errors</a></dt><dt>debug level, <a class="indexterm" href="problems.html#id2690988">Debugging with Samba Itself</a>, <a class="indexterm" href="bugreport.html#dbglvl">Debug Levels</a></dt><dt>debugging, <a class="indexterm" href="problems.html#id2690988">Debugging with Samba Itself</a>, <a class="indexterm" href="bugreport.html#id2692432">Debugging-Specific Operations</a></dt><dt>debugging passwords, <a class="indexterm" href="problems.html#id2690988">Debugging with Samba Itself</a></dt><dt>debugging problems, <a class="indexterm" href="problems.html#id2690988">Debugging with Samba Itself</a></dt><dt>dedicated heartbeat, <a class="indexterm" href="SambaHA.html#id2679176">High-Availability Server Products</a></dt><dt>dedicated print server, <a class="indexterm" href="classicalprinting.html#id2628204">Features and Benefits</a></dt><dt>default accounts, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a></dt><dt>default aliases, <a class="indexterm" href="groupmapping.html#id2603585">Default Users, Groups, and Relative Identifiers</a></dt><dt>default behavior, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a></dt><dt>default devmode, <a class="indexterm" href="classicalprinting.html#prt-modeset">Setting Device Modes on New Printers</a></dt><dt>default DNS setup, <a class="indexterm" href="domain-member.html#id2579471">Notes</a></dt><dt>default gateways, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a></dt><dt>default groups, <a class="indexterm" href="groupmapping.html#id2603585">Default Users, Groups, and Relative Identifiers</a></dt><dt>default mapping, <a class="indexterm" href="ChangeNotes.html#id2585226">Group Mapping Changes in Samba-3.0.23</a></dt><dt>default mappings, <a class="indexterm" href="NetCommand.html#id2605869">Mapping Windows Groups to UNIX Groups</a></dt><dt>default print command, <a class="indexterm" href="classicalprinting.html#id2631576">Default UNIX System Printing Commands</a></dt><dt>default print commands, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>default printer, <a class="indexterm" href="classicalprinting.html#id2632121">Custom Print Commands</a></dt><dt>default printing, <a class="indexterm" href="CUPS-printing.html#id2639066">Features and Benefits</a></dt><dt>default profile, <a class="indexterm" href="ProfileMgmt.html#id2669400">Default Profile for Windows Users</a>, <a class="indexterm" href="ProfileMgmt.html#id2670898">Changing the Default Profile</a></dt><dt>default settings, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a></dt><dt>default shells, <a class="indexterm" href="winbind.html#id2661984">Starting and Testing the winbindd Daemon</a></dt><dt>Default User, <a class="indexterm" href="ProfileMgmt.html#id2670149">MS Windows 200x/XP</a></dt><dt>default users, <a class="indexterm" href="groupmapping.html#id2603585">Default Users, Groups, and Relative Identifiers</a></dt><dt>defective hardware, <a class="indexterm" href="NetworkBrowsing.html#id2592632">Browsing of Shares and Directories is Very Slow</a></dt><dt>deferred open, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>defined shares, <a class="indexterm" href="securing-samba.html#id2625284">Why Can Users Access Other Users' Home Directories?</a></dt><dt>delegate administrative privileges, <a class="indexterm" href="NetCommand.html#id2607406">Administering User Rights and Privileges</a></dt><dt>delegated, <a class="indexterm" href="groupmapping.html#id2603344">Important Administrative Information</a></dt><dt>delegation, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a></dt><dt>delete, <a class="indexterm" href="AccessControls.html#id2617188">Managing Directories</a></dt><dt>delete a file, <a class="indexterm" href="AccessControls.html#id2617728">Protecting Directories and Files from Deletion</a></dt><dt>delete roaming profiles, <a class="indexterm" href="ProfileMgmt.html#id2670149">MS Windows 200x/XP</a></dt><dt>delete user script, <a class="indexterm" href="passdb.html#id2597548">Deleting Accounts</a></dt><dt>deleted files, <a class="indexterm" href="VFS.html#id2657472">recycle</a></dt><dt>deleted parameters, <a class="indexterm" href="upgrading-to-3.0.html#id2682885">Removed Parameters</a></dt><dt>delmem, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>demote, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a></dt><dt>demoted, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a></dt><dt>denial of service, <a class="indexterm" href="securing-samba.html#id2624642">Using Interface Protection</a></dt><dt>deny, <a class="indexterm" href="securing-samba.html#id2624993">Using IPC$ Share-Based Denials </a></dt><dt>deny access, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>deny modes, <a class="indexterm" href="locking.html#id2621768">Discussion</a></dt><dt>deny-none, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>DENY_ALL, <a class="indexterm" href="locking.html#id2621768">Discussion</a></dt><dt>DENY_DOS, <a class="indexterm" href="locking.html#id2621768">Discussion</a></dt><dt>DENY_FCB, <a class="indexterm" href="locking.html#id2621768">Discussion</a></dt><dt>DENY_NONE, <a class="indexterm" href="locking.html#id2621768">Discussion</a></dt><dt>DENY_READ, <a class="indexterm" href="locking.html#id2621768">Discussion</a></dt><dt>DENY_WRITE, <a class="indexterm" href="locking.html#id2621768">Discussion</a></dt><dt>deployment, <a class="indexterm" href="ch47.html#id2698571">Free Support</a></dt><dt>deployment guidelines, <a class="indexterm" href="passdb.html#id2595454">Caution Regarding LDAP and Samba</a></dt><dt>DES-CBC-CRC, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a></dt><dt>DES-CBC-MD5, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#ads-test-server">Testing Server Setup</a></dt><dt>desirable solution, <a class="indexterm" href="rights.html#id2616153">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>desktop cache, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a></dt><dt>desktop profile, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a></dt><dt>desktop profiles, <a class="indexterm" href="domain-member.html#id2575193">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2608369">Managing Security Identifiers (SIDS)</a></dt><dt>deterents, <a class="indexterm" href="securing-samba.html#id2624168">Introduction</a></dt><dt>development libraries, <a class="indexterm" href="winbind.html#id2660799">Requirements</a></dt><dt>devfsd package, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>device mode, <a class="indexterm" href="classicalprinting.html#prt-modeset">Setting Device Modes on New Printers</a></dt><dt>device-specific commands, <a class="indexterm" href="CUPS-printing.html#id2645069">PostScript Printer Descriptions for Non-PostScript Printers</a></dt><dt>DFS, <a class="indexterm" href="msdfs.html#id2627553">Features and Benefits</a> (see MS-DFS, Distributed File Systems)</dt><dt>DFS junction, <a class="indexterm" href="msdfs.html#id2627553">Features and Benefits</a></dt><dt>DFS links, <a class="indexterm" href="msdfs.html#id2627553">Features and Benefits</a></dt><dt>DFS root, <a class="indexterm" href="msdfs.html#id2627553">Features and Benefits</a></dt><dt>DFS server, <a class="indexterm" href="msdfs.html#id2627553">Features and Benefits</a></dt><dt>DFS tree, <a class="indexterm" href="msdfs.html#id2627553">Features and Benefits</a></dt><dt>DFS-aware, <a class="indexterm" href="msdfs.html#id2627553">Features and Benefits</a></dt><dt>DFS-aware clients, <a class="indexterm" href="msdfs.html#id2627553">Features and Benefits</a></dt><dt>DHCP, <a class="indexterm" href="ClientConfig.html#id2581683">TCP/IP Configuration</a>, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2582402">MS Windows 2000</a>, <a class="indexterm" href="ClientConfig.html#id2582949">MS Windows Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2591424">Cross-Subnet Browsing</a>, <a class="indexterm" href="integrate-ms-networks.html#id2674165">Background Information</a>, <a class="indexterm" href="DNSDHCP.html#id2698948">Features and Benefits</a></dt><dt>DHCP servers, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a></dt><dt>DHCP-enabled, <a class="indexterm" href="ClientConfig.html#id2582402">MS Windows 2000</a></dt><dt>DHCP-enabled operation, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a></dt><dt>diagnostic, <a class="indexterm" href="idmapper.html#id2613261">IDMAP Storage in LDAP Using Winbind</a></dt><dt>diagnostic tools, <a class="indexterm" href="problems.html#id2690988">Debugging with Samba Itself</a></dt><dt>diff, <a class="indexterm" href="bugreport.html#id2692892">Patches</a></dt><dt>differences, <a class="indexterm" href="Backup.html#id2677778">Rsync</a></dt><dt>different resources, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></dt><dt>differently encrypted passwords, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a></dt><dt>differing protocol, <a class="indexterm" href="upgrading-to-3.0.html#id2682386">Quick Migration Guide</a></dt><dt>dir, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>direct internet access, <a class="indexterm" href="securing-samba.html#id2624168">Introduction</a></dt><dt>directory, <a class="indexterm" href="samba-bdc.html#id2573390">Active Directory Domain Control</a>, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="idmapper.html#id2611813">Backup Domain Controller</a></dt><dt>directory access control, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>directory access permissions, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a></dt><dt>directory controls, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a></dt><dt>Directory Information Tree (see DIT)</dt><dt>directory permissions, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a>, <a class="indexterm" href="AccessControls.html#id2617728">Protecting Directories and Files from Deletion</a></dt><dt>directory schema, <a class="indexterm" href="idmapper.html#id2611579">Primary Domain Controller</a></dt><dt>Directory Separators, <a class="indexterm" href="AccessControls.html#id2616851">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>directory server, <a class="indexterm" href="passdb.html#id2599139">ldapsam</a></dt><dt>directory_mode, <a class="indexterm" href="VFS.html#id2657472">recycle</a></dt><dt>disable LMB, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a></dt><dt>disable locking, <a class="indexterm" href="locking.html#id2621671">Features and Benefits</a></dt><dt>disable roaming profiles, <a class="indexterm" href="ProfileMgmt.html#id2667128">Disabling Roaming Profile Support</a></dt><dt>disabling oplocks, <a class="indexterm" href="locking.html#id2622728">PDM Data Shares</a></dt><dt>disass, <a class="indexterm" href="bugreport.html#id2692634">Internal Errors</a></dt><dt>disaster recovery, <a class="indexterm" href="NT4Migration.html#id2685798">Server Share and Directory Layout</a></dt><dt>disconnect a connection, <a class="indexterm" href="ProfileMgmt.html#id2666753">NT4/200x User Profiles</a></dt><dt>disk, <a class="indexterm" href="passdb.html#id2594426">Advantages of Encrypted Passwords</a></dt><dt>disk space, <a class="indexterm" href="NT4Migration.html#id2685798">Server Share and Directory Layout</a></dt><dt>disparate information systems, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></dt><dt>display PostScript, <a class="indexterm" href="CUPS-printing.html#id2641313">UNIX Printfile Conversion and GUI Basics</a></dt><dt>displayName, <a class="indexterm" href="passdb.html#id2599668">OpenLDAP Configuration</a></dt><dt>distort, <a class="indexterm" href="CUPS-printing.html#id2641313">UNIX Printfile Conversion and GUI Basics</a></dt><dt>distribute authentication systems, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>distributed, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a></dt><dt>distributed account, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a></dt><dt>Distributed Computing Environment (see DCE)</dt><dt>distributed directory, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a></dt><dt>distributed file system, <a class="indexterm" href="SambaHA.html#id2678246">The Ultimate Goal</a> (see DFS)</dt><dt>Distributed File Systems, <a class="indexterm" href="SambaHA.html#id2678695">The Distributed File System Challenge</a></dt><dt>distributed file systems, <a class="indexterm" href="SambaHA.html#id2678695">The Distributed File System Challenge</a></dt><dt>distributed locking protocol, <a class="indexterm" href="SambaHA.html#id2679095">A Simple Solution</a></dt><dt>distribution, <a class="indexterm" href="install.html#id2559157">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></dt><dt>dithering algorithm, <a class="indexterm" href="CUPS-printing.html#id2644365">The Role of cupsomatic/foomatic</a></dt><dt>DMB, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2570985">Security Mode and Master Browsers</a>, <a class="indexterm" href="samba-bdc.html#id2573448">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2588376">Domain Browsing Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2588976">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2589657">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2590545">Windows Networking Protocols</a>, <a class="indexterm" href="NetworkBrowsing.html#id2591595">Behavior of Cross-Subnet Browsing</a></dt><dt>DMB for a workgroup, <a class="indexterm" href="NetworkBrowsing.html#id2590976">Browsing Support in Samba</a></dt><dt>DMC, <a class="indexterm" href="idmapper.html#id2611885">Examples of IDMAP Backend Usage</a></dt><dt>DMS, <a class="indexterm" href="ServerType.html#id2565710">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a>, <a class="indexterm" href="idmapper.html#id2611885">Examples of IDMAP Backend Usage</a>, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a></dt><dt>DN, <a class="indexterm" href="samba-bdc.html#id2573025">LDAP Configuration Notes</a>, <a class="indexterm" href="ch-ldap-tls.html#s1-intro-ldap-tls">Introduction</a></dt><dt>DNS, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2573539">How Does a Workstation find its Domain Controller?</a>, <a class="indexterm" href="samba-bdc.html#id2573662">NetBIOS Over TCP/IP Disabled</a>, <a class="indexterm" href="domain-member.html#id2578186">Configure smb.conf</a>, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a>, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2582402">MS Windows 2000</a>, <a class="indexterm" href="ClientConfig.html#id2582949">MS Windows Me</a>, <a class="indexterm" href="NetworkBrowsing.html">Network Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585610">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2586870">TCP/IP without NetBIOS</a>, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#id2591424">Cross-Subnet Browsing</a>, <a class="indexterm" href="passdb.html#id2599940">Initialize the LDAP Database</a>, <a class="indexterm" href="winbind.html#id2660159">Name Service Switch</a>, <a class="indexterm" href="integrate-ms-networks.html#id2674165">Background Information</a>, <a class="indexterm" href="integrate-ms-networks.html#id2675493">DNS Lookup</a>, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a>, <a class="indexterm" href="DNSDHCP.html#id2698948">Features and Benefits</a>, <a class="indexterm" href="DNSDHCP.html#id2699127">Example Configuration</a></dt><dd><dl><dt>Active Directory, <a class="indexterm" href="NetworkBrowsing.html#adsdnstech">DNS and Active Directory</a></dt><dt>Dynamic, <a class="indexterm" href="integrate-ms-networks.html#id2674165">Background Information</a>, <a class="indexterm" href="DNSDHCP.html#id2699218">Dynamic DNS</a></dt><dt>SRV records, <a class="indexterm" href="NetworkBrowsing.html#adsdnstech">DNS and Active Directory</a></dt></dl></dd><dt>DNS Configuration, <a class="indexterm" href="NetworkBrowsing.html#id2592632">Browsing of Shares and Directories is Very Slow</a></dt><dt>DNS lookup, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a></dt><dt>DNS name resolution, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></dt><dt>dns proxy, <a class="indexterm" href="diagnosis.html#id2688896">Assumptions</a></dt><dt>DNS server, <a class="indexterm" href="NetworkBrowsing.html#id2591595">Behavior of Cross-Subnet Browsing</a></dt><dt>DNS server access, <a class="indexterm" href="diagnosis.html#id2688896">Assumptions</a></dt><dt>DNS server settings, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2582402">MS Windows 2000</a></dt><dt>DNS servers, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a></dt><dt>DNS zon, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a></dt><dt>DNS/LDAP/ADS, <a class="indexterm" href="NetworkBrowsing.html#id2590890">Technical Overview of Browsing</a></dt><dt>document design, <a class="indexterm" href="NT4Migration.html#id2685798">Server Share and Directory Layout</a></dt><dt>documentation, <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="SWAT.html#id2687177">Features and Benefits</a>, <a class="indexterm" href="problems.html">Analyzing and Solving Samba Problems</a></dt><dt>domain, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="passdb.html#id2597460">Adding User Accounts</a>, <a class="indexterm" href="integrate-ms-networks.html#id2674766">Name Resolution as Used within MS Windows Networking</a></dt><dd><dl><dt>control, <a class="indexterm" href="ServerType.html#id2565049">Server Types</a></dt><dd><dl><dt>role, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a></dt></dl></dd><dt>controller, <a class="indexterm" href="ServerType.html#id2564889">Features and Benefits</a>, <a class="indexterm" href="ServerType.html#id2565710">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-pdc.html">Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a></dt><dd><dl><dt>convert, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a></dt><dt>hierarchy, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a></dt></dl></dd><dt>controllers, <a class="indexterm" href="ServerType.html#id2565710">Domain Security Mode (User-Level Security)</a></dt><dt>groups, <a class="indexterm" href="NetCommand.html#id2605466">UNIX and Windows Group Management</a></dt><dt>master</dt><dd><dl><dt>browser, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a></dt></dl></dd><dt>member, <a class="indexterm" href="ServerType.html#id2565049">Server Types</a>, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a></dt><dd><dl><dt>server, <a class="indexterm" href="samba-bdc.html#id2571862">Features and Benefits</a></dt></dl></dd><dt>member server, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a></dt><dt>security, <a class="indexterm" href="ServerType.html#id2565710">Domain Security Mode (User-Level Security)</a></dt><dd><dl><dt>protocols, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a></dt></dl></dd><dt>trust account, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a></dt></dl></dd><dt>domain access, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a></dt><dt>domain account access policies, <a class="indexterm" href="passdb.html#id2598299">Domain Account Policy Managment</a></dt><dt>domain admin group, <a class="indexterm" href="groupmapping.html">Group Mapping: MS Windows and UNIX</a></dt><dt>domain Administrator, <a class="indexterm" href="rights.html#id2615970">The Administrator Domain SID</a></dt><dt>Domain Admins, <a class="indexterm" href="ChangeNotes.html#id2585226">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="groupmapping.html#id2602374">Discussion</a>, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="groupmapping.html#id2603344">Important Administrative Information</a>, <a class="indexterm" href="NetCommand.html#id2605869">Mapping Windows Groups to UNIX Groups</a>, <a class="indexterm" href="rights.html#id2614798">Using the “net rpc rights” Utility</a></dt><dt>Domain Admins group, <a class="indexterm" href="groupmapping.html#id2602374">Discussion</a></dt><dt>domain authentication, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a></dt><dt>domain context, <a class="indexterm" href="NT4Migration.html#id2685596">Domain Layout</a></dt><dt>domain control, <a class="indexterm" href="samba-pdc.html#id2568544">Basics of Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2570985">Security Mode and Master Browsers</a>, <a class="indexterm" href="samba-bdc.html#id2574686">Common Errors</a>, <a class="indexterm" href="domain-member.html#id2575193">Features and Benefits</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="NT4Migration.html">Migration from NT4 PDC to Samba-3 PDC</a></dt><dd><dl><dt>backup, <a class="indexterm" href="ServerType.html#id2565049">Server Types</a></dt><dt>primary, <a class="indexterm" href="ServerType.html#id2565049">Server Types</a></dt></dl></dd><dt>domain control database (see SAM)</dt><dt>domain controller, <a class="indexterm" href="samba-pdc.html#id2570985">Security Mode and Master Browsers</a>, <a class="indexterm" href="samba-bdc.html#id2572268">Essential Background Information</a>, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2573390">Active Directory Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2573596">NetBIOS Over TCP/IP Enabled</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a>, <a class="indexterm" href="winbind.html#id2659643">What Winbind Provides</a>, <a class="indexterm" href="winbind.html#id2661746">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="PolicyMgmt.html#id2664962">Creating and Managing System Policies</a>, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a>, <a class="indexterm" href="NT4Migration.html#id2685596">Domain Layout</a>, <a class="indexterm" href="NT4Migration.html#id2686132">Steps in Migration Process</a></dt><dt>Domain Controller, <a class="indexterm" href="CUPS-printing.html#id2648129">Caveats to Be Considered</a></dt><dt>domain controllers, <a class="indexterm" href="samba-pdc.html#id2570321">Samba ADS Domain Control</a>, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="PolicyMgmt.html#id2665509">MS Windows 200x/XP Professional Policies</a>, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></dt><dt>domain environment, <a class="indexterm" href="passdb.html#id2594111">Important Notes About Security</a></dt><dt>domain global, <a class="indexterm" href="rights.html#id2616153">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>domain global group, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a>, <a class="indexterm" href="rights.html#id2616153">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>domain global groups, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>domain global user, <a class="indexterm" href="rights.html#id2616153">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>domain global users, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>domain group, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a></dt><dt>domain group settings, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>domain groups, <a class="indexterm" href="ChangeNotes.html#id2585226">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="groupmapping.html">Group Mapping: MS Windows and UNIX</a>, <a class="indexterm" href="groupmapping.html#id2603585">Default Users, Groups, and Relative Identifiers</a></dt><dt>Domain Groups, <a class="indexterm" href="passdb.html#id2600550">Accounts and Groups Management</a></dt><dt>Domain Guests, <a class="indexterm" href="NetCommand.html#id2605869">Mapping Windows Groups to UNIX Groups</a></dt><dt>domain information, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a></dt><dt>domain join, <a class="indexterm" href="idmapper.html#id2612260">ADS Domains</a>, <a class="indexterm" href="winbind.html#id2661746">Join the Samba Server to the PDC Domain</a></dt><dt>domain joining, <a class="indexterm" href="ClientConfig.html#id2583455">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>domain logon, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2570374">Domain and Network Logon Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2570393">Domain Network Logon Service</a>, <a class="indexterm" href="samba-bdc.html#id2572774">Example PDC Configuration</a>, <a class="indexterm" href="ClientConfig.html#id2583981">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>domain logon server, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a></dt><dt>domain logons, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2590976">Browsing Support in Samba</a>, <a class="indexterm" href="passdb.html#id2594111">Important Notes About Security</a></dt><dt>domain management tools, <a class="indexterm" href="domain-member.html#id2576317">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>domain master, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2590976">Browsing Support in Samba</a></dt><dt>domain member, <a class="indexterm" href="ServerType.html#id2565710">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a>, <a class="indexterm" href="domain-member.html">Domain Membership</a>, <a class="indexterm" href="domain-member.html#id2575193">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#id2576714">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="domain-member.html#id2579750">Common Errors</a>, <a class="indexterm" href="ClientConfig.html#id2583455">Joining a Domain: Windows 2000/XP Professional</a>, <a class="indexterm" href="passdb.html#id2594111">Important Notes About Security</a>, <a class="indexterm" href="groupmapping.html#id2602374">Discussion</a>, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a>, <a class="indexterm" href="winbind.html#id2659842">Handling of Foreign SIDs</a>, <a class="indexterm" href="NT4Migration.html#id2685596">Domain Layout</a></dt><dt>Domain Member, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a></dt><dd><dl><dt>joining, <a class="indexterm" href="ServerType.html#id2565925">Example Configuration</a></dt></dl></dd><dt>domain member client, <a class="indexterm" href="groupmapping.html#id2603344">Important Administrative Information</a></dt><dt>Domain Member Client (see DMC)</dt><dt>domain member server, <a class="indexterm" href="samba-bdc.html#id2574222">Example Configuration</a>, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a>, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="NetworkBrowsing.html#id2586870">TCP/IP without NetBIOS</a>, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="classicalprinting.html#id2628204">Features and Benefits</a></dt><dt>Domain Member Server (see DMS)</dt><dt>domain member servers, <a class="indexterm" href="samba-bdc.html#id2574222">Example Configuration</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>domain member workstations, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>domain members, <a class="indexterm" href="domain-member.html#id2575193">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2588376">Domain Browsing Configuration</a>, <a class="indexterm" href="winbind.html#id2660684">Introduction</a></dt><dt>domain membership, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a>, <a class="indexterm" href="domain-member.html">Domain Membership</a></dt><dt>domain name, <a class="indexterm" href="ClientConfig.html#id2583981">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>Domain Name System (see DNS)</dt><dt>domain non-member, <a class="indexterm" href="winbind.html#id2659842">Handling of Foreign SIDs</a></dt><dt>domain policies, <a class="indexterm" href="PolicyMgmt.html#id2665288">Windows NT4-Style Policy Files</a></dt><dt>domain radio button, <a class="indexterm" href="ClientConfig.html#id2583455">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>domain security, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="domain-member.html">Domain Membership</a>, <a class="indexterm" href="domain-member.html#id2575193">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a>, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="domain-member.html#id2577904">Why Is This Better Than security = server?</a>, <a class="indexterm" href="ClientConfig.html#id2583455">Joining a Domain: Windows 2000/XP Professional</a>, <a class="indexterm" href="passdb.html#id2594111">Important Notes About Security</a>, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="idmapper.html#id2611579">Primary Domain Controller</a>, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a>, <a class="indexterm" href="winbind.html#id2661746">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="ProfileMgmt.html#id2670149">MS Windows 200x/XP</a></dt><dt>domain security account, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>Domain Server Manager, <a class="indexterm" href="groupmapping.html#id2603463">Applicable Only to Versions Earlier than 3.0.11</a></dt><dt>domain SID, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a>, <a class="indexterm" href="NetCommand.html#id2608369">Managing Security Identifiers (SIDS)</a></dt><dt>domain trust, <a class="indexterm" href="samba-bdc.html#id2571862">Features and Benefits</a>, <a class="indexterm" href="InterdomainTrusts.html#id2626238">Creating an NT4 Domain Trust</a></dt><dt>domain user, <a class="indexterm" href="ClientConfig.html#id2583981">Domain Logon Configuration: Windows 9x/Me</a>, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2659643">What Winbind Provides</a></dt><dt>domain user accounts, <a class="indexterm" href="NetCommand.html#id2605466">UNIX and Windows Group Management</a></dt><dt>domain user manager, <a class="indexterm" href="passdb.html#id2597109">User Account Management</a></dt><dt>Domain User Manager, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="groupmapping.html#id2603463">Applicable Only to Versions Earlier than 3.0.11</a>, <a class="indexterm" href="PolicyMgmt.html#id2665958">Managing Account/User Policies</a></dt><dt>Domain Users, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="NetCommand.html#id2605869">Mapping Windows Groups to UNIX Groups</a></dt><dt>domain users, <a class="indexterm" href="winbind.html#id2660799">Requirements</a>, <a class="indexterm" href="winbind.html#id2662906">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="winbind.html#id2663370">Conclusion</a></dt><dt>Domain Users group, <a class="indexterm" href="groupmapping.html#id2604697">Adding Domain Users to the Workstation Power Users Group</a></dt><dt>domain-level, <a class="indexterm" href="domain-member.html#id2577904">Why Is This Better Than security = server?</a></dt><dt>domain-level security, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></dt><dt>domain-wide browse list, <a class="indexterm" href="NetworkBrowsing.html#id2588976">Making Samba the Domain Master</a></dt><dt>DOMAIN<1B>, <a class="indexterm" href="samba-pdc.html#id2570985">Security Mode and Master Browsers</a></dt><dt>DOMAIN<1C>, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="samba-pdc.html#id2570985">Security Mode and Master Browsers</a></dt><dt>DOMAIN<1D>, <a class="indexterm" href="samba-pdc.html#id2570985">Security Mode and Master Browsers</a></dt><dt>draft, <a class="indexterm" href="CUPS-printing.html#id2644365">The Role of cupsomatic/foomatic</a></dt><dt>Drive Identification, <a class="indexterm" href="AccessControls.html#id2616851">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>driver, <a class="indexterm" href="classicalprinting.html#id2629022">Verifying Configuration with testparm</a></dt><dt>driver CDROM, <a class="indexterm" href="classicalprinting.html#id2634130">Identifying Driver Files</a></dt><dt>driver download, <a class="indexterm" href="classicalprinting.html#id2633298">[print$] Stanza Parameters</a></dt><dt>Driver File, <a class="indexterm" href="classicalprinting.html#id2634130">Identifying Driver Files</a></dt><dt>driver files, <a class="indexterm" href="classicalprinting.html#id2634130">Identifying Driver Files</a></dt><dt>Driver Path, <a class="indexterm" href="classicalprinting.html#id2634130">Identifying Driver Files</a></dt><dt>dual-daemon winbindd, <a class="indexterm" href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></dt><dt>due diligence, <a class="indexterm" href="Backup.html#id2677509">Discussion of Backup Solutions</a></dt><dt>duplex, <a class="indexterm" href="CUPS-printing.html#id2645689">Examples for Filtering Chains</a></dt><dt>duplex printing, <a class="indexterm" href="CUPS-printing.html#id2645689">Examples for Filtering Chains</a></dt><dt>duplicate, <a class="indexterm" href="samba-bdc.html#id2573025">LDAP Configuration Notes</a></dt><dt>duplication of information, <a class="indexterm" href="winbind.html#id2659554">Introduction</a></dt><dt>DVI, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2643098">Prefilters</a></dt><dt>Dynamic DNS (see DDNS)</dt><dt>Dynamic Host Configuration Protocol (see DHCP)</dt><dt>dynamic link loader, <a class="indexterm" href="winbind.html#id2661038">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>dynamic registration files, <a class="indexterm" href="DNSDHCP.html#id2699218">Dynamic DNS</a></dt><dt>Dynamic SMB servers, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>dynamically loadable library modules, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt></dl></div><div class="indexdiv"><h3>E</h3><dl><dt>e-Directory, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a>, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a></dt><dt>EAs, <a class="indexterm" href="AccessControls.html#id2617311">File and Directory Access Control</a></dt><dt>economically wise, <a class="indexterm" href="SambaHA.html#id2678091">Features and Benefits</a></dt><dt>eDirectory, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a></dt><dt>editreg, <a class="indexterm" href="PolicyMgmt.html#id2666198">Samba Editreg Toolset</a></dt><dt>efficient authentication, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>election, <a class="indexterm" href="samba-pdc.html#id2570985">Security Mode and Master Browsers</a>, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#id2588376">Domain Browsing Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>election criteria, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a></dt><dt>election packet, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>election process, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>EMF, <a class="indexterm" href="CUPS-printing.html#id2641134">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2646352">From Windows Clients to an NT Print Server</a>, <a class="indexterm" href="CUPS-printing.html#id2646485">Driver Execution on the Server</a></dt><dt>enables clients to print, <a class="indexterm" href="classicalprinting.html#id2628739">Simple Print Configuration</a></dt><dt>enables NetBIOS over TCP/IP, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a></dt><dt>encapsulating, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a></dt><dt>encoding, <a class="indexterm" href="domain-member.html#ads-test-server">Testing Server Setup</a></dt><dt>encryped password, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a></dt><dt>encrypted, <a class="indexterm" href="ServerType.html#id2564889">Features and Benefits</a>, <a class="indexterm" href="ServerType.html#id2566623">Password Checking</a>, <a class="indexterm" href="passdb.html#id2594111">Important Notes About Security</a></dt><dt>encrypted password, <a class="indexterm" href="passdb.html#id2594426">Advantages of Encrypted Passwords</a></dt><dt>encrypted passwords, <a class="indexterm" href="ServerType.html#id2566623">Password Checking</a>, <a class="indexterm" href="passdb.html#id2593316">Features and Benefits</a>, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a>, <a class="indexterm" href="passdb.html#id2594111">Important Notes About Security</a>, <a class="indexterm" href="passdb.html#id2594426">Advantages of Encrypted Passwords</a>, <a class="indexterm" href="ProfileMgmt.html#id2668829">Profile Migration from Windows NT4/200x Server to Samba</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684231">Passdb Backends and Authentication</a></dt><dt>encrypted session, <a class="indexterm" href="passdb.html#id2600663">Security and sambaSamAccount</a></dt><dt>encryption, <a class="indexterm" href="ServerType.html#id2566348">Server Security (User Level Security)</a></dt><dt>encryption key, <a class="indexterm" href="domain-member.html#id2576714">Windows 200x/XP Professional Client</a></dt><dt>encryption types, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2579471">Notes</a></dt><dt>enforcing, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>English, <a class="indexterm" href="unicode.html#id2676302">Japanese Charsets</a>, <a class="indexterm" href="SWAT.html#id2688110">Enabling SWAT Internationalization Support</a></dt><dt>Enhanced MetaFile (see EMF)</dt><dt>enterprise, <a class="indexterm" href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a></dt><dt>enumdrivers, <a class="indexterm" href="classicalprinting.html#id2634130">Identifying Driver Files</a>, <a class="indexterm" href="CUPS-printing.html#id2649816">A Check of the rpcclient man Page</a></dt><dt>enumerate domain groups, <a class="indexterm" href="winbind.html#id2660018">Microsoft Remote Procedure Calls</a></dt><dt>enumerate domain users, <a class="indexterm" href="winbind.html#id2660018">Microsoft Remote Procedure Calls</a></dt><dt>EnumJobs(), <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>enumprinters, <a class="indexterm" href="CUPS-printing.html#id2649816">A Check of the rpcclient man Page</a></dt><dt>environment variables, <a class="indexterm" href="classicalprinting.html#id2632121">Custom Print Commands</a></dt><dt>EPM (see ESP meta packager)</dt><dt>Epson Stylus, <a class="indexterm" href="CUPS-printing.html#id2645689">Examples for Filtering Chains</a></dt><dt>Epson Stylus inkjet, <a class="indexterm" href="CUPS-printing.html#id2652928">Foomatic Database-Generated PPDs</a></dt><dt>equivalence, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>equivalent rights and privileges, <a class="indexterm" href="rights.html#id2615970">The Administrator Domain SID</a></dt><dt>error message, <a class="indexterm" href="idmapper.html#id2612260">ADS Domains</a>, <a class="indexterm" href="classicalprinting.html#id2635038">Running rpcclient with adddriver</a></dt><dt>error messages, <a class="indexterm" href="diagnosis.html#id2688896">Assumptions</a></dt><dt>errors that can afflict, <a class="indexterm" href="ClientConfig.html#id2584425">Common Errors</a></dt><dt>ESC/P, <a class="indexterm" href="CUPS-printing.html#id2646485">Driver Execution on the Server</a></dt><dt>ESP, <a class="indexterm" href="CUPS-printing.html#id2641672">Ghostscript: The Software RIP for Non-PostScript Printers</a></dt><dd><dl><dt>Ghostscript, <a class="indexterm" href="CUPS-printing.html#id2642068">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2645352">cupsomatic/foomatic-rip Versus Native CUPS Printing</a></dt><dt>meta packager, <a class="indexterm" href="CUPS-printing.html#id2647683">CUPS “PostScript Driver for Windows NT/200x/XP”</a></dt><dt>Print Pro, <a class="indexterm" href="CUPS-printing.html#id2646117">Sources of CUPS Drivers/PPDs</a>, <a class="indexterm" href="CUPS-printing.html#id2648067">ESP Print Pro PostScript Driver for Windows NT/200x/XP</a></dt></dl></dd><dt>ESP Ghostscript, <a class="indexterm" href="CUPS-printing.html#id2642068">The CUPS Filtering Architecture</a></dt><dt>established, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>ethereal, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a>, <a class="indexterm" href="problems.html#id2691244">Tcpdump</a>, <a class="indexterm" href="problems.html#id2691294">Ethereal</a>, <a class="indexterm" href="problems.html#id2691438">The Windows Network Monitor</a></dt><dt>Ethernet adapters, <a class="indexterm" href="securing-samba.html#id2624642">Using Interface Protection</a></dt><dt>EUC-JP, <a class="indexterm" href="unicode.html#id2676302">Japanese Charsets</a>, <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a></dt><dt>eucJP-ms locale, <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a></dt><dt>Event Viewer, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663712">Remote Server Administration</a></dt><dt>Everyone - Full Control, <a class="indexterm" href="AccessControls.html#id2619058">Access Controls on Shares</a></dt><dt>Everyone group, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>EVMS, <a class="indexterm" href="VFS.html#id2657919">shadow_copy</a></dt><dt>examples, <a class="indexterm" href="install.html#id2559157">Example Configuration</a></dt><dt>examples/LDAP, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a></dt><dt>execute, <a class="indexterm" href="AccessControls.html#id2617311">File and Directory Access Control</a></dt><dt>existing LDAP DIT, <a class="indexterm" href="passdb.html#id2595454">Caution Regarding LDAP and Samba</a></dt><dt>expands control abilities, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a></dt><dt>expired password, <a class="indexterm" href="passdb.html#id2597632">Changing User Accounts</a></dt><dt>explicit trust, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a></dt><dt>explicitly set, <a class="indexterm" href="classicalprinting.html#id2629220">Rapid Configuration Validation</a></dt><dt>exploit opportunities, <a class="indexterm" href="PolicyMgmt.html#id2664856">Features and Benefits</a></dt><dt>exploitation, <a class="indexterm" href="securing-samba.html#id2624642">Using Interface Protection</a></dt><dt>exported file system, <a class="indexterm" href="SambaHA.html#id2679095">A Simple Solution</a></dt><dt>exposed, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>extd_audit module, <a class="indexterm" href="VFS.html#id2657146">extd_audit</a></dt><dt>Extended Attributes, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a></dt><dt>extended attributes, <a class="indexterm" href="AccessControls.html#id2617728">Protecting Directories and Files from Deletion</a></dt><dt>Extended BSD Printing, <a class="indexterm" href="classicalprinting.html#id2629619">Extended Printing Configuration</a></dt><dt>extended characters, <a class="indexterm" href="unicode.html#id2676001">What Are Charsets and Unicode?</a></dt><dt>extended protocol, <a class="indexterm" href="NetworkBrowsing.html#id2590545">Windows Networking Protocols</a></dt><dt>extended SAM, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a></dt><dt>extra machine, <a class="indexterm" href="cfgsmarts.html#id2681404">Multiple Virtual Server Hosting</a></dt></dl></div><div class="indexdiv"><h3>F</h3><dl><dt>fail, <a class="indexterm" href="SambaHA.html#id2678091">Features and Benefits</a></dt><dt>failed join, <a class="indexterm" href="idmapper.html#id2611972">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="idmapper.html#id2612670">IDMAP_RID with Winbind</a></dt><dt>failed logins, <a class="indexterm" href="passdb.html#acctmgmttools">Account Management Tools</a></dt><dt>failover communication, <a class="indexterm" href="SambaHA.html#id2679176">High-Availability Server Products</a></dt><dt>failover process, <a class="indexterm" href="SambaHA.html#id2679176">High-Availability Server Products</a></dt><dt>failover servers, <a class="indexterm" href="SambaHA.html#id2679095">A Simple Solution</a></dt><dt>fails, <a class="indexterm" href="domain-member.html#id2579865">Adding Machine to Domain Fails</a></dt><dt>failure, <a class="indexterm" href="idmapper.html#id2612260">ADS Domains</a></dt><dt>failure semantics, <a class="indexterm" href="SambaHA.html#id2679038">Required Modifications to Samba</a></dt><dt>fake-permissions module, <a class="indexterm" href="ProfileMgmt.html#id2669181">Mandatory Profiles</a></dt><dt>fake_permissions, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a></dt><dt>fake_perms, <a class="indexterm" href="VFS.html#fakeperms">fake_perms</a>, <a class="indexterm" href="ProfileMgmt.html#id2669181">Mandatory Profiles</a></dt><dt>fdisk, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>Federated Identity Management (see FIM)</dt><dt>federated organizations, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></dt><dt>federated-identity, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></dt><dt>Fiber Channel, <a class="indexterm" href="SambaHA.html#id2679176">High-Availability Server Products</a></dt><dt>fickle, <a class="indexterm" href="NetworkBrowsing.html#id2585610">Features and Benefits</a></dt><dt>fid, <a class="indexterm" href="SambaHA.html#id2678589">Demultiplexing SMB Requests</a></dt><dt>file access permissions, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a></dt><dt>File Naming Conventions, <a class="indexterm" href="AccessControls.html#id2616851">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>file ownership, <a class="indexterm" href="domain-member.html#id2575193">Features and Benefits</a></dt><dt>file serving, <a class="indexterm" href="classicalprinting.html#id2628204">Features and Benefits</a></dt><dt>File System, <a class="indexterm" href="AccessControls.html#id2616851">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dd><dl><dt>case sensitivity, <a class="indexterm" href="AccessControls.html#id2616851">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>feature comparison, <a class="indexterm" href="AccessControls.html#id2616851">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>UNIX, <a class="indexterm" href="AccessControls.html#id2616851">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>Windows, <a class="indexterm" href="AccessControls.html#id2616851">MS Windows NTFS Comparison with UNIX File Systems</a></dt></dl></dd><dt>file system capabilities, <a class="indexterm" href="AccessControls.html#id2617728">Protecting Directories and Files from Deletion</a></dt><dt>FILE:, <a class="indexterm" href="classicalprinting.html#id2637988">Samba and Printer Ports</a></dt><dt>filemanager, <a class="indexterm" href="NetworkBrowsing.html#id2591173">Problem Resolution</a></dt><dt>filename mangling, <a class="indexterm" href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></dt><dt>filter, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt><dt>Filter Oplock, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>FilterLimit, <a class="indexterm" href="CUPS-printing.html#id2644613">mime.convs</a></dt><dt>filters, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt><dt>FIM, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a>, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a></dt><dt>firewall, <a class="indexterm" href="securing-samba.html#id2624168">Introduction</a>, <a class="indexterm" href="securing-samba.html#id2624642">Using Interface Protection</a>, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>firewall active, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>firewall setups, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>fixed IP address, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2582402">MS Windows 2000</a></dt><dt>fixed IP addresses, <a class="indexterm" href="ClientConfig.html#id2581683">TCP/IP Configuration</a></dt><dt>flush local locks, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>flush name cache, <a class="indexterm" href="NetworkBrowsing.html#id2592464">Flushing the Samba NetBIOS Name Cache</a></dt><dt>foomatic, <a class="indexterm" href="CUPS-printing.html#id2641909">Using Windows-Formatted Vendor PPDs</a>, <a class="indexterm" href="CUPS-printing.html#id2642068">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2644365">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2645352">cupsomatic/foomatic-rip Versus Native CUPS Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2652233">foomatic-rip and Foomatic Explained</a>, <a class="indexterm" href="CUPS-printing.html#id2652382">Foomatic's Strange Name</a></dt><dt>Foomatic database, <a class="indexterm" href="CUPS-printing.html#id2652928">Foomatic Database-Generated PPDs</a></dt><dt>Foomatic Printer, <a class="indexterm" href="CUPS-printing.html#id2644365">The Role of cupsomatic/foomatic</a></dt><dt>Foomatic tutorial, <a class="indexterm" href="CUPS-printing.html#id2652612">The Grand Unification Achieved</a></dt><dt>foomatic-rip, <a class="indexterm" href="CUPS-printing.html#id2642068">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2644365">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2645352">cupsomatic/foomatic-rip Versus Native CUPS Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2652058">CUPS Print Drivers from Linuxprinting.org</a>, <a class="indexterm" href="CUPS-printing.html#id2652233">foomatic-rip and Foomatic Explained</a>, <a class="indexterm" href="CUPS-printing.html#id2652612">The Grand Unification Achieved</a></dt><dt>Foomatic/cupsomatic, <a class="indexterm" href="CUPS-printing.html#id2645352">cupsomatic/foomatic-rip Versus Native CUPS Printing</a></dt><dt>force an election, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>force election, <a class="indexterm" href="NetworkBrowsing.html#id2588976">Making Samba the Domain Master</a></dt><dt>forced synchronization, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a></dt><dt>foreign domain, <a class="indexterm" href="passdb.html#id2594631">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>foreign SID, <a class="indexterm" href="winbind.html#id2659842">Handling of Foreign SIDs</a></dt><dt>foreign user, <a class="indexterm" href="winbind.html#id2659842">Handling of Foreign SIDs</a></dt><dt>FQDN, <a class="indexterm" href="ch-ldap-tls.html#s1-intro-ldap-tls">Introduction</a></dt><dt>framing error, <a class="indexterm" href="speed.html#id2697192">Samba Performance Problem Due to Changing Linux Kernel</a></dt><dt>free support, <a class="indexterm" href="ch47.html">Samba Support</a>, <a class="indexterm" href="ch47.html#id2698571">Free Support</a></dt><dt>FreeBSD, <a class="indexterm" href="samba-pdc.html#id2571270">“$” Cannot Be Included in Machine Name</a>, <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a></dt><dt>freezing, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>French, <a class="indexterm" href="SWAT.html#id2688110">Enabling SWAT Internationalization Support</a></dt><dt>front-end virtual server, <a class="indexterm" href="SambaHA.html#id2678494">The Front-End Challenge</a>, <a class="indexterm" href="SambaHA.html#id2678589">Demultiplexing SMB Requests</a></dt><dt>frustrating experience, <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a></dt><dt>FTP, <a class="indexterm" href="passdb.html#id2594567">Advantages of Non-Encrypted Passwords</a></dt><dt>ftp, <a class="indexterm" href="Backup.html#id2677778">Rsync</a>, <a class="indexterm" href="compiling.html#id2693866">Accessing the Samba Sources via rsync and ftp</a></dt><dt>ftp access, <a class="indexterm" href="winbind.html#id2662906">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>ftp service, <a class="indexterm" href="winbind.html#id2662906">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>ftp services, <a class="indexterm" href="winbind.html#id2662906">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>ftpd, <a class="indexterm" href="pam.html#id2672001">Anatomy of /etc/pam.d Entries</a></dt><dt>full rights, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>functional components, <a class="indexterm" href="bugreport.html#id2692432">Debugging-Specific Operations</a></dt><dt>functionality, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt></dl></div><div class="indexdiv"><h3>G</h3><dl><dt>gateway address, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a></dt><dt>gcc, <a class="indexterm" href="problems.html#id2690988">Debugging with Samba Itself</a>, <a class="indexterm" href="Portability.html#id2695192">HPUX</a></dt><dt>gdb, <a class="indexterm" href="problems.html#id2690988">Debugging with Samba Itself</a>, <a class="indexterm" href="bugreport.html#id2692634">Internal Errors</a>, <a class="indexterm" href="bugreport.html#id2692767">Attaching to a Running Process</a></dt><dt>GDI, <a class="indexterm" href="CUPS-printing.html#gdipost">GDI on Windows, PostScript on UNIX</a>, <a class="indexterm" href="CUPS-printing.html#id2641134">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2646352">From Windows Clients to an NT Print Server</a>, <a class="indexterm" href="CUPS-printing.html#id2646485">Driver Execution on the Server</a></dt><dt>general security service application programming interface (see GSSAPI)</dt><dt>generic PostScript, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt><dt>generic raster, <a class="indexterm" href="CUPS-printing.html#id2643453">pstoraster</a></dt><dt>generic raster format, <a class="indexterm" href="CUPS-printing.html#id2642068">The CUPS Filtering Architecture</a></dt><dt>genlogon.pl, <a class="indexterm" href="AdvancedNetworkManagement.html#id2664445">Network Logon Script Magic</a></dt><dt>Gentoo, <a class="indexterm" href="speed.html#id2697192">Samba Performance Problem Due to Changing Linux Kernel</a></dt><dt>Germany, <a class="indexterm" href="SambaHA.html#id2678212">Technical Discussion</a></dt><dt>get, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>getdriver, <a class="indexterm" href="classicalprinting.html#id2634130">Identifying Driver Files</a>, <a class="indexterm" href="classicalprinting.html#id2634683">Installing Driver Files into [print$]</a></dt><dt>getdriverdir, <a class="indexterm" href="CUPS-printing.html#id2649816">A Check of the rpcclient man Page</a></dt><dt>getent, <a class="indexterm" href="NetCommand.html#id2605667">Adding or Creating a New Group</a>, <a class="indexterm" href="idmapper.html#id2612670">IDMAP_RID with Winbind</a>, <a class="indexterm" href="winbind.html#id2661984">Starting and Testing the winbindd Daemon</a></dt><dt>getent group demo, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>gethostbyname() function call, <a class="indexterm" href="NetworkBrowsing.html#id2590686">Name Resolution Order</a></dt><dt>getpwnam, <a class="indexterm" href="passdb.html#id2599442">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a></dt><dt>getpwnam() call, <a class="indexterm" href="upgrading-to-3.0.html#id2684135">Changes in Behavior</a></dt><dt>GetSID.exe, <a class="indexterm" href="ProfileMgmt.html#id2669116">Get SID</a></dt><dt>GhostScript, <a class="indexterm" href="CUPS-printing.html#post-and-ghost">PostScript and Ghostscript</a>, <a class="indexterm" href="CUPS-printing.html#id2641672">Ghostscript: The Software RIP for Non-PostScript Printers</a></dt><dd><dl><dt>(see also PostScript)</dt></dl></dd><dt>Ghostscript, <a class="indexterm" href="CUPS-printing.html#id2642068">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2645069">PostScript Printer Descriptions for Non-PostScript Printers</a></dt><dd><dl><dt>ESP (see ESP 4 GhostScript)</dt></dl></dd><dt>GID, <a class="indexterm" href="samba-bdc.html#id2574222">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2577904">Why Is This Better Than security = server?</a>, <a class="indexterm" href="domain-member.html#id2579543">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="ChangeNotes.html#id2584733">User and Group Changes</a>, <a class="indexterm" href="ChangeNotes.html#id2585166">Passdb Changes</a>, <a class="indexterm" href="ChangeNotes.html#id2585226">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="groupmapping.html#id2601958">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a>, <a class="indexterm" href="NetCommand.html#id2605869">Mapping Windows Groups to UNIX Groups</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2611579">Primary Domain Controller</a>, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2659842">Handling of Foreign SIDs</a>, <a class="indexterm" href="winbind.html#id2661984">Starting and Testing the winbindd Daemon</a></dt><dt>GID numbers, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a></dt><dt>GID range, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a></dt><dt>GIF, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt><dt>global print command, <a class="indexterm" href="classicalprinting.html#id2632121">Custom Print Commands</a></dt><dt>global right, <a class="indexterm" href="rights.html#id2615144">Description of Privileges</a></dt><dt>global section, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>Global support, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>global-level, <a class="indexterm" href="classicalprinting.html#id2628638">Printing-Related Configuration Parameters</a></dt><dt>GNOME, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></dt><dt>GNU Ghostscript, <a class="indexterm" href="CUPS-printing.html#id2642068">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2643453">pstoraster</a></dt><dt>GNU GPL, <a class="indexterm" href="Backup.html#id2677606">BackupPC</a></dt><dt>GNU tar, <a class="indexterm" href="Backup.html#id2677947">Amanda</a></dt><dt>GNU/Linux, <a class="indexterm" href="VFS.html#id2656487">Discussion</a></dt><dt>GPG, <a class="indexterm" href="compiling.html#id2693941">Verifying Samba's PGP Signature</a></dt><dt>GPL, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></dt><dt>gpolmig.exe, <a class="indexterm" href="PolicyMgmt.html#id2665713">Administration of Windows 200x/XP Policies</a></dt><dt>GPOs, <a class="indexterm" href="PolicyMgmt.html#id2664856">Features and Benefits</a>, <a class="indexterm" href="PolicyMgmt.html#id2665509">MS Windows 200x/XP Professional Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2665713">Administration of Windows 200x/XP Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2665958">Managing Account/User Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2666385">System Startup and Logon Processing Overview</a>, <a class="indexterm" href="ProfileMgmt.html#id2670149">MS Windows 200x/XP</a></dt><dt>grace time, <a class="indexterm" href="passdb.html#id2597632">Changing User Accounts</a></dt><dt>grant rights, <a class="indexterm" href="rights.html#id2614798">Using the “net rpc rights” Utility</a></dt><dt>graphical objects, <a class="indexterm" href="CUPS-printing.html#id2641313">UNIX Printfile Conversion and GUI Basics</a></dt><dt>graphically illustrated client configuration, <a class="indexterm" href="ClientConfig.html#id2581580">Features and Benefits</a></dt><dt>grayscale, <a class="indexterm" href="CUPS-printing.html#id2644365">The Role of cupsomatic/foomatic</a></dt><dt>greater scalability, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a></dt><dt>greatest mistake, <a class="indexterm" href="StandAloneServer.html#id2581512">Common Errors</a></dt><dt>grep, <a class="indexterm" href="winbind.html#id2661038">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>group, <a class="indexterm" href="samba-bdc.html#id2574222">Example Configuration</a>, <a class="indexterm" href="ChangeNotes.html#id2584733">User and Group Changes</a>, <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="AccessControls.html#id2617311">File and Directory Access Control</a></dt><dd><dl><dt>account, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a></dt><dt>mapping, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a></dt></dl></dd><dt>group account, <a class="indexterm" href="groupmapping.html#id2603344">Important Administrative Information</a>, <a class="indexterm" href="idmapper.html#id2611813">Backup Domain Controller</a></dt><dt>group accounts, <a class="indexterm" href="ClientConfig.html#id2583981">Domain Logon Configuration: Windows 9x/Me</a>, <a class="indexterm" href="passdb.html#id2595454">Caution Regarding LDAP and Samba</a>, <a class="indexterm" href="groupmapping.html#id2601958">Features and Benefits</a>, <a class="indexterm" href="groupmapping.html#id2602711">Warning: User Private Group Problems</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a></dt><dt>group management, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a>, <a class="indexterm" href="NetCommand.html#id2605466">UNIX and Windows Group Management</a></dt><dt>group mapping, <a class="indexterm" href="ChangeNotes.html#id2584733">User and Group Changes</a>, <a class="indexterm" href="groupmapping.html">Group Mapping: MS Windows and UNIX</a></dt><dt>group mappings, <a class="indexterm" href="ChangeNotes.html#id2585226">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="groupmapping.html#id2601958">Features and Benefits</a></dt><dt>group membership, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>group ownership, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a></dt><dt>group permissions, <a class="indexterm" href="ChangeNotes.html#id2584733">User and Group Changes</a>, <a class="indexterm" href="NT4Migration.html#id2685798">Server Share and Directory Layout</a></dt><dt>Group Policies, <a class="indexterm" href="PolicyMgmt.html#id2664856">Features and Benefits</a></dt><dt>group policies, <a class="indexterm" href="PolicyMgmt.html#id2664856">Features and Benefits</a></dt><dt>group policy, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a></dt><dt>Group Policy, <a class="indexterm" href="PolicyMgmt.html#id2665151">Windows 9x/ME Policies</a></dt><dt>Group Policy Container (see GPC)</dt><dt>Group Policy Editor, <a class="indexterm" href="PolicyMgmt.html#id2665151">Windows 9x/ME Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2666280">Windows NT4/200x</a>, <a class="indexterm" href="NT4Migration.html#id2686687">Samba-3 Implementation Choices</a></dt><dt>Group Policy Objects, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a> (see GPO)</dt><dt>group policy objects (see GPOs)</dt><dt>Group Policy Template (see GPT)</dt><dt>group privileges, <a class="indexterm" href="groupmapping.html#id2602374">Discussion</a></dt><dt>group profiles, <a class="indexterm" href="ProfileMgmt.html#id2669321">Creating and Managing Group Profiles</a></dt><dt>group SID, <a class="indexterm" href="NetCommand.html#id2608369">Managing Security Identifiers (SIDS)</a></dt><dt>groupadd, <a class="indexterm" href="groupmapping.html#id2601958">Features and Benefits</a>, <a class="indexterm" href="groupmapping.html#id2604298">Sample smb.conf Add Group Script</a>, <a class="indexterm" href="groupmapping.html#id2604610">Adding Groups Fails</a></dt><dt>groupadd limitations, <a class="indexterm" href="groupmapping.html#id2604298">Sample smb.conf Add Group Script</a></dt><dt>groupdel, <a class="indexterm" href="groupmapping.html#id2601958">Features and Benefits</a></dt><dt>groupmap, <a class="indexterm" href="groupmapping.html">Group Mapping: MS Windows and UNIX</a></dt><dt>groupmod, <a class="indexterm" href="groupmapping.html#id2601958">Features and Benefits</a></dt><dt>grouppol.inf, <a class="indexterm" href="PolicyMgmt.html#id2665151">Windows 9x/ME Policies</a></dt><dt>groups, <a class="indexterm" href="NetCommand.html#id2605466">UNIX and Windows Group Management</a>, <a class="indexterm" href="PolicyMgmt.html#id2664856">Features and Benefits</a></dt><dd><dl><dt>domain, <a class="indexterm" href="groupmapping.html#id2602374">Discussion</a></dt><dt>mapping, <a class="indexterm" href="groupmapping.html">Group Mapping: MS Windows and UNIX</a></dt><dt>nested, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt></dl></dd><dt>groups of users, <a class="indexterm" href="NetCommand.html#id2607406">Administering User Rights and Privileges</a></dt><dt>growing, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>GSSAPI, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></dt><dt>gtklp, <a class="indexterm" href="CUPS-printing.html#id2652928">Foomatic Database-Generated PPDs</a></dt><dt>guest, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a>, <a class="indexterm" href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a></dt><dt>guest account, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="NetworkBrowsing.html#id2591173">Problem Resolution</a>, <a class="indexterm" href="classicalprinting.html#id2632121">Custom Print Commands</a>, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>GUI, <a class="indexterm" href="CUPS-printing.html#id2639126">Overview</a></dt><dt>Gutenprint, <a class="indexterm" href="CUPS-printing.html#id2643807">rasterto [printers specific]</a>, <a class="indexterm" href="CUPS-printing.html#id2652740">Driver Development Outside</a></dt></dl></div><div class="indexdiv"><h3>H</h3><dl><dt>h-node, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a></dt><dt>harvesting password hashes, <a class="indexterm" href="passdb.html#id2600663">Security and sambaSamAccount</a></dt><dt>hashed password equivalent, <a class="indexterm" href="passdb.html#id2594111">Important Notes About Security</a></dt><dt>headers files, <a class="indexterm" href="domain-member.html#id2579178">Possible Errors</a></dt><dt>Heimdal, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a>, <a class="indexterm" href="idmapper.html#id2612260">ADS Domains</a>, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>Heimdal kerberos, <a class="indexterm" href="idmapper.html#id2612260">ADS Domains</a>, <a class="indexterm" href="idmapper.html#id2613261">IDMAP Storage in LDAP Using Winbind</a></dt><dt>help, <a class="indexterm" href="ch47.html#id2698571">Free Support</a></dt><dt>help command, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>heterogeneous computing, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a></dt><dt>HEX, <a class="indexterm" href="unicode.html#id2676302">Japanese Charsets</a></dt><dt>hi-res photo, <a class="indexterm" href="CUPS-printing.html#id2644365">The Role of cupsomatic/foomatic</a></dt><dt>high availability, <a class="indexterm" href="SambaHA.html#id2678091">Features and Benefits</a></dt><dt>high order ports, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>high-availability, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>high-availability services, <a class="indexterm" href="SambaHA.html#id2679176">High-Availability Server Products</a></dt><dt>high-speed server interconnect, <a class="indexterm" href="SambaHA.html#id2679095">A Simple Solution</a></dt><dt>higher availability, <a class="indexterm" href="msdfs.html#id2627553">Features and Benefits</a></dt><dt>HKEY_CURRENT_USER, <a class="indexterm" href="ProfileMgmt.html#id2669587">MS Windows NT4 Workstation</a></dt><dt>HKEY_LOCAL_MACHINE, <a class="indexterm" href="PolicyMgmt.html#id2665470">Registry Spoiling</a></dt><dt>holy grail, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a></dt><dt>home directories, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a>, <a class="indexterm" href="winbind.html#id2661984">Starting and Testing the winbindd Daemon</a></dt><dt>home directory, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a></dt><dt>home directory template, <a class="indexterm" href="winbind.html#id2662906">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>home drive, <a class="indexterm" href="samba-bdc.html#id2572774">Example PDC Configuration</a></dt><dt>host multiple servers, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></dt><dt>host security, <a class="indexterm" href="securing-samba.html#id2624266">Features and Benefits</a></dt><dt>host-based protection, <a class="indexterm" href="securing-samba.html#id2624266">Features and Benefits</a></dt><dt>hostname, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a></dt><dt>hosts allow, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>hosts deny, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>house-keeping, <a class="indexterm" href="rights.html#id2615144">Description of Privileges</a></dt><dt>HOWTO documents, <a class="indexterm" href="passdb.html#id2595454">Caution Regarding LDAP and Samba</a></dt><dt>HP JetDirect, <a class="indexterm" href="CUPS-printing.html#id2645689">Examples for Filtering Chains</a></dt><dt>HP Photosmart, <a class="indexterm" href="CUPS-printing.html#id2652928">Foomatic Database-Generated PPDs</a></dt><dt>HP-GL, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt><dt>HP-GL., <a class="indexterm" href="CUPS-printing.html#id2643098">Prefilters</a></dt><dt>hpgltops, <a class="indexterm" href="CUPS-printing.html#id2642732">MIME Type Conversion Rules</a></dt><dt>HPIJS, <a class="indexterm" href="CUPS-printing.html#id2652740">Driver Development Outside</a></dt><dt>HPUX, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>http, <a class="indexterm" href="Backup.html#id2677778">Rsync</a></dt><dt>hybrid, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a></dt><dt>Hybrid node, <a class="indexterm" href="NetworkBrowsing.html#id2590302">Static WINS Entries</a></dt></dl></div><div class="indexdiv"><h3>I</h3><dl><dt>IANA, <a class="indexterm" href="CUPS-printing.html#id2643453">pstoraster</a></dt><dt>ID mapping, <a class="indexterm" href="samba-bdc.html#id2574222">Example Configuration</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></dt><dt>ID mapping database, <a class="indexterm" href="winbind.html#id2660546">User and Group ID Allocation</a></dt><dt>ID range, <a class="indexterm" href="groupmapping.html#id2601958">Features and Benefits</a></dt><dt>IDEALX, <a class="indexterm" href="passdb.html#id2599139">ldapsam</a></dt><dt>Identification, <a class="indexterm" href="ClientConfig.html#id2583981">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>identify, <a class="indexterm" href="idmapper.html#id2612260">ADS Domains</a></dt><dt>identity, <a class="indexterm" href="idmapper.html#id2610560">Standalone Samba Server</a></dt><dt>identity information, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></dt><dt>identity management, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a>, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a></dt><dd><dl><dt>centralized, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></dt></dl></dd><dt>identity resolution, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a></dt><dt>IDMAP, <a class="indexterm" href="ChangeNotes.html#id2585226">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="groupmapping.html#id2601958">Features and Benefits</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2610560">Standalone Samba Server</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2612670">IDMAP_RID with Winbind</a></dt><dt>idmap, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a></dt><dt>idmap backend, <a class="indexterm" href="samba-bdc.html#id2574222">Example Configuration</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684984">IdMap LDAP Support</a></dt><dt>IDMAP backend, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a></dt><dt>idmap gid, <a class="indexterm" href="passdb.html#id2594631">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2612670">IDMAP_RID with Winbind</a>, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a></dt><dt>idmap GID, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a></dt><dt>IDMAP infrastructure, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a></dt><dt>idmap uid, <a class="indexterm" href="passdb.html#id2594631">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="groupmapping.html#id2601958">Features and Benefits</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2612670">IDMAP_RID with Winbind</a>, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a></dt><dt>idmap UID, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a></dt><dt>idmap_ad, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a></dt><dt>idmap_ldap module, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a></dt><dt>idmap_rid, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2612670">IDMAP_RID with Winbind</a></dt><dt>IETF, <a class="indexterm" href="CUPS-printing.html#id2639126">Overview</a></dt><dt>ifconfig, <a class="indexterm" href="compiling.html#id2694587">Starting from inetd.conf</a>, <a class="indexterm" href="speed.html#id2697192">Samba Performance Problem Due to Changing Linux Kernel</a></dt><dt>ignore connection, <a class="indexterm" href="securing-samba.html#id2624642">Using Interface Protection</a></dt><dt>imagetoraster, <a class="indexterm" href="CUPS-printing.html#id2643723">imagetops and imagetoraster</a></dt><dt>immutible, <a class="indexterm" href="AccessControls.html#id2617728">Protecting Directories and Files from Deletion</a></dt><dt>impersonate, <a class="indexterm" href="passdb.html#id2600663">Security and sambaSamAccount</a></dt><dt>implementing oplocks, <a class="indexterm" href="locking.html#id2622885">Advanced Samba Oplocks Parameters</a></dt><dt>Implicit Classes, <a class="indexterm" href="CUPS-printing.html#id2656138">Print Queue Called “lp” Mishandles Print Jobs</a></dt><dt>important announcements, <a class="indexterm" href="securing-samba.html#id2625196">Upgrading Samba</a></dt><dt>Imprints, <a class="indexterm" href="classicalprinting.html#id2638134">The Imprints Toolset</a></dt><dt>imprints, <a class="indexterm" href="CUPS-printing.html#id2640821">Driver Upload Methods</a></dt><dt>include, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a></dt><dt>independent, <a class="indexterm" href="StandAloneServer.html#id2580328">Background</a>, <a class="indexterm" href="cfgsmarts.html#id2679993">Multiple Server Hosting</a></dt><dt>individual domain user, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>individual section, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>inetd, <a class="indexterm" href="SWAT.html#id2687321">Validate SWAT Installation</a>, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a>, <a class="indexterm" href="compiling.html#startingSamba">Starting the smbd nmbd and winbindd</a>, <a class="indexterm" href="compiling.html#id2694587">Starting from inetd.conf</a></dt><dt>inetd.conf, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>inetorgperson.schema, <a class="indexterm" href="passdb.html#id2599668">OpenLDAP Configuration</a></dt><dt>inf file, <a class="indexterm" href="classicalprinting.html#id2634130">Identifying Driver Files</a></dt><dt>infrastructure, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a>, <a class="indexterm" href="winbind.html#id2659796">Target Uses</a></dt><dt>inheritance, <a class="indexterm" href="AccessControls.html#id2617728">Protecting Directories and Files from Deletion</a></dt><dt>inherits rights, <a class="indexterm" href="groupmapping.html#id2602374">Discussion</a></dt><dt>initdb.ldif, <a class="indexterm" href="FastStart.html#id2563779">The Primary Domain Controller</a></dt><dt>initGroups.sh, <a class="indexterm" href="FastStart.html#id2562964">Example: Engineering Office</a>, <a class="indexterm" href="groupmapping.html#id2604470">Script to Configure Group Mapping</a>, <a class="indexterm" href="NT4Migration.html#id2686132">Steps in Migration Process</a></dt><dt>inktype, <a class="indexterm" href="CUPS-printing.html#id2644365">The Role of cupsomatic/foomatic</a></dt><dt>insecure, <a class="indexterm" href="StandAloneServer.html#id2580234">Features and Benefits</a>, <a class="indexterm" href="securing-samba.html#id2624429">Using Host-Based Protection</a></dt><dt>inspire simplicity, <a class="indexterm" href="StandAloneServer.html#id2580529">Example Configuration</a></dt><dt>inspired structure, <a class="indexterm" href="SambaHA.html#id2678212">Technical Discussion</a></dt><dt>install drivers, <a class="indexterm" href="classicalprinting.html#id2628204">Features and Benefits</a>, <a class="indexterm" href="classicalprinting.html#id2632790">Point'n'Print Client Drivers on Samba Servers</a></dt><dt>interactive help, <a class="indexterm" href="ch47.html#id2698571">Free Support</a></dt><dt>interdomain</dt><dd><dl><dt>trust</dt><dd><dl><dt>account, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a></dt></dl></dd><dt>trustrs, <a class="indexterm" href="ServerType.html#id2564889">Features and Benefits</a></dt></dl></dd><dt>interdomain connection, <a class="indexterm" href="InterdomainTrusts.html#id2626971">Samba as the Trusting Domain</a></dt><dt>interdomain trust, <a class="indexterm" href="InterdomainTrusts.html#id2626630">Configuring Samba NT-Style Domain Trusts</a>, <a class="indexterm" href="InterdomainTrusts.html#id2627167">NT4-Style Domain Trusts with Windows 2000</a></dt><dt>interdomain trust accounts, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2595454">Caution Regarding LDAP and Samba</a></dt><dt>interdomain trusts, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a>, <a class="indexterm" href="InterdomainTrusts.html#id2625845">Features and Benefits</a></dt><dt>Interdomain Trusts, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a></dt><dd><dl><dt>Completing, <a class="indexterm" href="InterdomainTrusts.html#id2626335">Completing an NT4 Domain Trust</a></dt><dt>creating, <a class="indexterm" href="InterdomainTrusts.html#id2626202">Native MS Windows NT4 Trusts Configuration</a></dt><dt>Facilities, <a class="indexterm" href="InterdomainTrusts.html#id2626421">Interdomain Trust Facilities</a></dt></dl></dd><dt>interface, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a></dt><dt>interface scripts, <a class="indexterm" href="passdb.html#id2597109">User Account Management</a></dt><dt>interface-based exclusion, <a class="indexterm" href="securing-samba.html#id2624266">Features and Benefits</a></dt><dt>interfaces, <a class="indexterm" href="securing-samba.html#id2624642">Using Interface Protection</a>, <a class="indexterm" href="cfgsmarts.html#id2679993">Multiple Server Hosting</a></dt><dt>intermediate information, <a class="indexterm" href="passdb.html#id2595454">Caution Regarding LDAP and Samba</a></dt><dt>intermediate tools, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a></dt><dt>internal ordering, <a class="indexterm" href="SWAT.html#id2687177">Features and Benefits</a></dt><dt>internationalization support, <a class="indexterm" href="SWAT.html#id2687302">Guidelines and Technical Tips</a></dt><dt>Internet, <a class="indexterm" href="securing-samba.html#id2624429">Using Host-Based Protection</a>, <a class="indexterm" href="securing-samba.html#id2624642">Using Interface Protection</a></dt><dt>Internet Engineering Task Force (see IETF)</dt><dt>Internet Printing Protocol (see IPP)</dt><dt>Internet Protocol TCP/IP, <a class="indexterm" href="ClientConfig.html#id2582949">MS Windows Me</a></dt><dt>Internetworking Packet Exchange (see IPX)</dt><dt>internetworking super daemon, <a class="indexterm" href="SWAT.html#id2687177">Features and Benefits</a></dt><dt>interoperability, <a class="indexterm" href="ServerType.html#id2564889">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a>, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a>, <a class="indexterm" href="SambaHA.html#id2678822">Restrictive Constraints on Distributed File Systems</a></dt><dt>intolerance, <a class="indexterm" href="SambaHA.html#id2678091">Features and Benefits</a></dt><dt>invalid shell, <a class="indexterm" href="ServerType.html#id2565925">Example Configuration</a></dt><dt>invalid users, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>IP address, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>IP address automatically, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2582402">MS Windows 2000</a></dt><dt>IP addresses, <a class="indexterm" href="integrate-ms-networks.html#id2674366">/etc/hosts</a></dt><dt>IP aliases, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a></dt><dt>IPC$, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2591173">Problem Resolution</a>, <a class="indexterm" href="securing-samba.html#id2624993">Using IPC$ Share-Based Denials </a></dt><dt>IPC$ connections, <a class="indexterm" href="SambaHA.html#id2678494">The Front-End Challenge</a></dt><dt>ipchains, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>ipconfig, <a class="indexterm" href="NetworkBrowsing.html#id2586870">TCP/IP without NetBIOS</a></dt><dt>iPlanet, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a></dt><dt>IPP, <a class="indexterm" href="CUPS-printing.html#id2648978">Understanding cupsaddsmb</a></dt><dt>IPP client, <a class="indexterm" href="CUPS-printing.html#id2655538">Administrator Cannot Install Printers for All Local Users</a></dt><dt>iptables, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>IPX, <a class="indexterm" href="NetworkBrowsing.html#id2590545">Windows Networking Protocols</a></dt><dt>IRC, <a class="indexterm" href="ch47.html#id2698571">Free Support</a></dt><dt>IRIX, <a class="indexterm" href="VFS.html#id2656487">Discussion</a>, <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a></dt><dt>ISC</dt><dd><dl><dt>DHCP, <a class="indexterm" href="DNSDHCP.html#id2698948">Features and Benefits</a></dt><dt>DNS, <a class="indexterm" href="DNSDHCP.html#id2698948">Features and Benefits</a></dt></dl></dd><dt>ISC DHCP server, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2582949">MS Windows Me</a></dt><dt>isolated workgroup, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a></dt><dt>IXFR, <a class="indexterm" href="integrate-ms-networks.html#id2674165">Background Information</a></dt></dl></div><div class="indexdiv"><h3>J</h3><dl><dt>Japanese, <a class="indexterm" href="unicode.html#id2676302">Japanese Charsets</a>, <a class="indexterm" href="SWAT.html#id2688110">Enabling SWAT Internationalization Support</a></dt><dt>Japanese locale, <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a></dt><dt>Japanese UNIX, <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a></dt><dt>Java, <a class="indexterm" href="AdvancedNetworkManagement.html#id2664260">Remote Management with ThinLinc</a>, <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a></dt><dt>JIS X 0208, <a class="indexterm" href="unicode.html#id2676302">Japanese Charsets</a></dt><dt>join, <a class="indexterm" href="idmapper.html#id2611972">NT4-Style Domains (Includes Samba Domains)</a></dt><dt>join client, <a class="indexterm" href="rights.html#id2615144">Description of Privileges</a></dt><dt>join domain, <a class="indexterm" href="samba-pdc.html#id2571371">Joining Domain Fails Because of Existing Machine Account</a></dt><dt>join the ADS domain, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></dt><dt>join the domain, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a>, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></dt><dt>join the machine, <a class="indexterm" href="domain-member.html#id2576878">Windows NT4 Client</a></dt><dt>joined client, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>Joined domain, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></dt><dt>joining domain, <a class="indexterm" href="winbind.html#id2661746">Join the Samba Server to the PDC Domain</a></dt><dt>joining the domain, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></dt><dt>JPEG, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt></dl></div><div class="indexdiv"><h3>K</h3><dl><dt>KB 129202, <a class="indexterm" href="locking.html#id2623993">Additional Reading</a></dt><dt>KB 224992, <a class="indexterm" href="locking.html#id2623993">Additional Reading</a></dt><dt>KB 296264, <a class="indexterm" href="locking.html#id2623993">Additional Reading</a></dt><dt>KB 811492, <a class="indexterm" href="locking.html#id2623962">Long Delays Deleting Files over Network with XP SP1</a></dt><dt>KB 812937, <a class="indexterm" href="locking.html#id2623937">Problems Saving Files in MS Office on Windows XP</a></dt><dt>KDC, <a class="indexterm" href="domain-member.html#ads-member">Samba ADS Domain Membership</a>, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a></dt><dt>KDE, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></dt><dt>KDE konqueror, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></dt><dt>KDE session, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></dt><dt>KDEPrint, <a class="indexterm" href="CUPS-printing.html#id2639126">Overview</a></dt><dt>kerberos, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a>, <a class="indexterm" href="idmapper.html#id2612260">ADS Domains</a></dt><dt>Kerberos, <a class="indexterm" href="domain-member.html#ads-member">Samba ADS Domain Membership</a>, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2579178">Possible Errors</a>, <a class="indexterm" href="domain-member.html#ads-test-smbclient">Testing with smbclient</a>, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a>, <a class="indexterm" href="winbind.html#id2660111">Microsoft Active Directory Services</a>, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684231">Passdb Backends and Authentication</a></dt><dd><dl><dt>/etc/krb5.conf, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a></dt></dl></dd><dt>Kerberos authentication, <a class="indexterm" href="domain-member.html#ads-test-smbclient">Testing with smbclient</a></dt><dt>killall, <a class="indexterm" href="compiling.html#id2694587">Starting from inetd.conf</a></dt><dt>kinit, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#ads-create-machine-account">Create the Computer Account</a>, <a class="indexterm" href="domain-member.html#id2579178">Possible Errors</a></dt><dt>kixstart, <a class="indexterm" href="NT4Migration.html#id2685972">Logon Scripts</a></dt><dt>kprinter, <a class="indexterm" href="CUPS-printing.html#id2652928">Foomatic Database-Generated PPDs</a></dt><dt>KRB, <a class="indexterm" href="idmapper.html#id2612260">ADS Domains</a></dt><dt>KRB5, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a></dt><dt>krb5.conf, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a></dt></dl></div><div class="indexdiv"><h3>L</h3><dl><dt>LAN, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2664260">Remote Management with ThinLinc</a>, <a class="indexterm" href="SambaHA.html#id2679176">High-Availability Server Products</a>, <a class="indexterm" href="problems.html#id2690936">Diagnostics Tools</a></dt><dt>LanMan, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2572268">Essential Background Information</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a>, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>LanMan logon service, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a></dt><dt>LanMan passwords, <a class="indexterm" href="passdb.html#id2593352">Backward Compatibility Account Storage Systems</a></dt><dt>LanManager, <a class="indexterm" href="ServerType.html#id2565355">User Level Security</a>, <a class="indexterm" href="ClientConfig.html#id2583981">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>LanManager-compatible, <a class="indexterm" href="NetworkBrowsing.html#id2589657">WINS: The Windows Internetworking Name Server</a></dt><dt>LanManger password, <a class="indexterm" href="passdb.html#id2597225">Listing User and Machine Accounts</a></dt><dt>laptops, <a class="indexterm" href="Backup.html#id2677606">BackupPC</a></dt><dt>large directory, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>large domain, <a class="indexterm" href="idmapper.html#id2612670">IDMAP_RID with Winbind</a></dt><dt>large numbers of files, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>large organizations, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a></dt><dt>last change time, <a class="indexterm" href="passdb.html#id2597225">Listing User and Machine Accounts</a></dt><dt>latency, <a class="indexterm" href="locking.html#id2622639">Slow and/or Unreliable Networks</a></dt><dt>laws, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a></dt><dt>LCT (see last change time)</dt><dt>LDAP, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2573025">LDAP Configuration Notes</a>, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2574840">How Do I Replicate the smbpasswd File?</a>, <a class="indexterm" href="samba-bdc.html#id2574945">Can I Do This All with LDAP?</a>, <a class="indexterm" href="domain-member.html#id2575193">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a>, <a class="indexterm" href="domain-member.html#id2579543">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2594111">Important Notes About Security</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#id2595454">Caution Regarding LDAP and Samba</a>, <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2599139">ldapsam</a>, <a class="indexterm" href="passdb.html#id2599387">Supported LDAP Servers</a>, <a class="indexterm" href="passdb.html#id2599442">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2599940">Initialize the LDAP Database</a>, <a class="indexterm" href="passdb.html#id2600125">Configuring Samba</a>, <a class="indexterm" href="groupmapping.html#id2603585">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2611813">Backup Domain Controller</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="InterdomainTrusts.html#id2625845">Features and Benefits</a>, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a>, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a>, <a class="indexterm" href="winbind.html#id2660111">Microsoft Active Directory Services</a>, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684231">Passdb Backends and Authentication</a>, <a class="indexterm" href="NT4Migration.html#id2685596">Domain Layout</a></dt><dd><dl><dt>directories, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a></dt><dt>master, <a class="indexterm" href="samba-bdc.html#id2573025">LDAP Configuration Notes</a></dt><dt>server, <a class="indexterm" href="samba-bdc.html#id2573025">LDAP Configuration Notes</a></dt><dt>slave, <a class="indexterm" href="samba-bdc.html#id2571862">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2573025">LDAP Configuration Notes</a></dt></dl></dd><dt>LDAP administration password, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a></dt><dt>LDAP administrative password, <a class="indexterm" href="domain-member.html#id2579543">Sharing User ID Mappings between Samba Domain Members</a></dt><dt>LDAP backend, <a class="indexterm" href="StandAloneServer.html#id2580328">Background</a>, <a class="indexterm" href="idmapper.html#id2611579">Primary Domain Controller</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2682386">Quick Migration Guide</a></dt><dt>LDAP backends, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a></dt><dt>LDAP database, <a class="indexterm" href="samba-bdc.html#id2574222">Example Configuration</a>, <a class="indexterm" href="passdb.html#id2599940">Initialize the LDAP Database</a>, <a class="indexterm" href="NT4Migration.html#id2685596">Domain Layout</a></dt><dt>LDAP deployment, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a></dt><dt>LDAP directory, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a>, <a class="indexterm" href="passdb.html#id2599139">ldapsam</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></dt><dt>ldap group suffix, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684818">New Suffix for Searching</a></dt><dt>LDAP idmap Backend, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a></dt><dt>ldap idmap suffix, <a class="indexterm" href="domain-member.html#id2579543">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684818">New Suffix for Searching</a></dt><dt>ldap machine suffix, <a class="indexterm" href="upgrading-to-3.0.html#id2684818">New Suffix for Searching</a></dt><dt>LDAP queries, <a class="indexterm" href="upgrading-to-3.0.html#id2684818">New Suffix for Searching</a></dt><dt>LDAP redirects, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a></dt><dt>LDAP schema, <a class="indexterm" href="ChangeNotes.html#id2585347">LDAP Changes in Samba-3.0.23</a></dt><dt>LDAP server, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a></dt><dt>ldap suffix, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684818">New Suffix for Searching</a></dt><dt>ldap user suffix, <a class="indexterm" href="upgrading-to-3.0.html#id2684818">New Suffix for Searching</a></dt><dt>LDAP-based, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a></dt><dt>LDAP., <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a></dt><dt>LDAP/Kerberos, <a class="indexterm" href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></dt><dt>LDAPS, <a class="indexterm" href="passdb.html#id2600663">Security and sambaSamAccount</a></dt><dt>ldapsam, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="passdb.html#id2599139">ldapsam</a>, <a class="indexterm" href="passdb.html#id2599387">Supported LDAP Servers</a>, <a class="indexterm" href="groupmapping.html#id2603585">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="idmapper.html#id2611579">Primary Domain Controller</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a>, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>ldapsam_compat, <a class="indexterm" href="passdb.html#id2593352">Backward Compatibility Account Storage Systems</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a></dt><dt>ldapsearch, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a></dt><dt>LDAPv3, <a class="indexterm" href="passdb.html#id2600663">Security and sambaSamAccount</a></dt><dt>ldconfig, <a class="indexterm" href="winbind.html#id2661038">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>ldd, <a class="indexterm" href="CUPS-printing.html#id2639361">Linking smbd with libcups.so</a></dt><dt>LDIF, <a class="indexterm" href="passdb.html#id2599940">Initialize the LDAP Database</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a></dt><dt>LDIF file, <a class="indexterm" href="passdb.html#id2599940">Initialize the LDAP Database</a></dt><dt>legacy systems, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></dt><dt>legal UNIX system account name, <a class="indexterm" href="domain-member.html#id2579865">Adding Machine to Domain Fails</a></dt><dt>Level1 Oplock, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>Level1 oplock, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>Level2 Oplock, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>LGPL, <a class="indexterm" href="passdb.html#id2599139">ldapsam</a></dt><dt>libcups, <a class="indexterm" href="classicalprinting.html#id2631576">Default UNIX System Printing Commands</a>, <a class="indexterm" href="CUPS-printing.html#id2639361">Linking smbd with libcups.so</a></dt><dt>libcups.so, <a class="indexterm" href="CUPS-printing.html#id2639361">Linking smbd with libcups.so</a></dt><dt>libcups.so.2, <a class="indexterm" href="CUPS-printing.html#id2639361">Linking smbd with libcups.so</a></dt><dt>Liberty Alliance, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></dt><dt>libiconv, <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a></dt><dt>libnss_winbind, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="winbind.html#id2661038">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>libnss_winbind.so, <a class="indexterm" href="winbind.html#id2660159">Name Service Switch</a>, <a class="indexterm" href="winbind.html#id2661038">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>libnss_wins.so, <a class="indexterm" href="integrate-ms-networks.html#id2674642">/etc/nsswitch.conf</a></dt><dt>libraries, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a></dt><dt>licensing, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>limitations, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a></dt><dt>linewidth, <a class="indexterm" href="CUPS-printing.html#id2641313">UNIX Printfile Conversion and GUI Basics</a></dt><dt>link loader configuration, <a class="indexterm" href="winbind.html#id2661038">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>Links</dt><dd><dl><dt>hard, <a class="indexterm" href="AccessControls.html#id2616851">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>soft, <a class="indexterm" href="AccessControls.html#id2616851">MS Windows NTFS Comparison with UNIX File Systems</a></dt></dl></dd><dt>Linux, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2664260">Remote Management with ThinLinc</a>, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a>, <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a></dt><dt>Linux High Availability project, <a class="indexterm" href="SambaHA.html#id2679176">High-Availability Server Products</a></dt><dt>Linux LVM, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>Linux LVM partition, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>LinuxKongress2002, <a class="indexterm" href="CUPS-printing.html#id2652612">The Grand Unification Achieved</a></dt><dt>Linuxprinting.org, <a class="indexterm" href="CUPS-printing.html#id2644365">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2652058">CUPS Print Drivers from Linuxprinting.org</a>, <a class="indexterm" href="CUPS-printing.html#id2652740">Driver Development Outside</a></dt><dt>list of domain controllers, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></dt><dt>listen for connections, <a class="indexterm" href="securing-samba.html#id2624642">Using Interface Protection</a></dt><dt>listen own socket, <a class="indexterm" href="cfgsmarts.html#id2679993">Multiple Server Hosting</a></dt><dt>LLC, <a class="indexterm" href="integrate-ms-networks.html">Integrating MS Windows Networks with Samba</a></dt><dt>LM/NT password hashes, <a class="indexterm" href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="passdb.html#id2600663">Security and sambaSamAccount</a></dt><dt>LMB, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a>, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2588376">Domain Browsing Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2588976">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2589564">Use of the Remote Browse Sync Parameter</a>, <a class="indexterm" href="NetworkBrowsing.html#id2589657">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2590545">Windows Networking Protocols</a>, <a class="indexterm" href="NetworkBrowsing.html#id2590976">Browsing Support in Samba</a>, <a class="indexterm" href="NetworkBrowsing.html#id2591595">Behavior of Cross-Subnet Browsing</a> (see Local Master Browser)</dt><dt>LMHOSTS, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a>, <a class="indexterm" href="integrate-ms-networks.html#id2675287">The LMHOSTS File</a></dt><dt>lmhosts, <a class="indexterm" href="NetworkBrowsing.html#id2589657">WINS: The Windows Internetworking Name Server</a></dt><dt>load balancing, <a class="indexterm" href="msdfs.html#id2627553">Features and Benefits</a></dt><dt>loaded modules, <a class="indexterm" href="VFS.html#id2656448">Features and Benefits</a></dt><dt>loading printer drivers, <a class="indexterm" href="classicalprinting.html#id2631206">Any [my_printer_name] Section</a></dt><dt>local</dt><dd><dl><dt>groups, <a class="indexterm" href="NetCommand.html#id2605466">UNIX and Windows Group Management</a></dt><dt>master</dt><dd><dl><dt>browser, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a></dt></dl></dd></dl></dd><dt>local access permissions, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>local accounts, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a></dt><dt>local administrative privileges, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>Local Area Connection, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a></dt><dt>Local Area Connection Properties, <a class="indexterm" href="ClientConfig.html#id2582402">MS Windows 2000</a></dt><dt>local authentication, <a class="indexterm" href="StandAloneServer.html#id2580328">Background</a></dt><dt>local authentication database, <a class="indexterm" href="StandAloneServer.html#id2580328">Background</a></dt><dt>local cache, <a class="indexterm" href="integrate-ms-networks.html#id2675201">The NetBIOS Name Cache</a></dt><dt>local disk, <a class="indexterm" href="Backup.html#id2677606">BackupPC</a></dt><dt>local domain, <a class="indexterm" href="winbind.html#id2659842">Handling of Foreign SIDs</a></dt><dt>local group, <a class="indexterm" href="rights.html#id2616153">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>local groups, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="winbind.html#id2660159">Name Service Switch</a></dt><dt>Local Machine Trust Account, <a class="indexterm" href="samba-bdc.html#id2574730">Machine Accounts Keep Expiring</a></dt><dt>Local Master Browser, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2588376">Domain Browsing Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2589424">Use of the Remote Announce Parameter</a></dt><dt>local master browser (see LMB)</dt><dt>local names, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a></dt><dt>local print driver, <a class="indexterm" href="classicalprinting.html#id2633298">[print$] Stanza Parameters</a></dt><dt>local profile, <a class="indexterm" href="ProfileMgmt.html#id2667128">Disabling Roaming Profile Support</a>, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a></dt><dt>local profiles, <a class="indexterm" href="ProfileMgmt.html#id2666639">Features and Benefits</a></dt><dt>local registry values, <a class="indexterm" href="PolicyMgmt.html#id2665509">MS Windows 200x/XP Professional Policies</a></dt><dt>Local security policies, <a class="indexterm" href="CUPS-printing.html#id2655505">Windows 200x/XP Local Security Policies</a></dt><dt>local smbpasswd file, <a class="indexterm" href="StandAloneServer.html#id2580328">Background</a></dt><dt>local spool area, <a class="indexterm" href="classicalprinting.html#id2628427">Technical Introduction</a></dt><dt>local subnet, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>local system printing, <a class="indexterm" href="classicalprinting.html#id2628427">Technical Introduction</a></dt><dt>local UNIX groups, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a></dt><dt>local user, <a class="indexterm" href="idmapper.html#id2610560">Standalone Samba Server</a>, <a class="indexterm" href="winbind.html#id2662695">Restarting</a></dt><dt>local user account, <a class="indexterm" href="passdb.html#id2594631">Mapping User Identifiers between MS Windows and UNIX</a></dt><dt>local users, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="winbind.html#id2660159">Name Service Switch</a></dt><dt>locale, <a class="indexterm" href="SWAT.html#id2688110">Enabling SWAT Internationalization Support</a></dt><dt>localhost, <a class="indexterm" href="securing-samba.html#id2624429">Using Host-Based Protection</a></dt><dt>locally known UID, <a class="indexterm" href="NetCommand.html#id2605869">Mapping Windows Groups to UNIX Groups</a></dt><dt>locate domain controller, <a class="indexterm" href="samba-bdc.html#id2573539">How Does a Workstation find its Domain Controller?</a></dt><dt>Lock caching, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>lock directory, <a class="indexterm" href="cfgsmarts.html#id2679993">Multiple Server Hosting</a></dt><dt>lock password, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>lock the account, <a class="indexterm" href="passdb.html#id2597632">Changing User Accounts</a></dt><dt>locking, <a class="indexterm" href="locking.html">File and Record Locking</a>, <a class="indexterm" href="locking.html#id2621671">Features and Benefits</a>, <a class="indexterm" href="locking.html#id2621768">Discussion</a>, <a class="indexterm" href="SambaHA.html#id2678695">The Distributed File System Challenge</a></dt><dt>locking protocol, <a class="indexterm" href="locking.html#id2621671">Features and Benefits</a></dt><dt>locking semantics, <a class="indexterm" href="locking.html#id2621671">Features and Benefits</a>, <a class="indexterm" href="locking.html#id2621768">Discussion</a></dt><dt>locking.tdb, <a class="indexterm" href="CUPS-printing.html#id2651551">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>lockout, <a class="indexterm" href="ServerType.html#id2566526">Example Configuration</a></dt><dt>log files, <a class="indexterm" href="diagnosis.html#id2688896">Assumptions</a></dt><dd><dl><dt>monitoring, <a class="indexterm" href="diagnosis.html#id2688896">Assumptions</a></dt></dl></dd><dt>log level, <a class="indexterm" href="idmapper.html#id2612260">ADS Domains</a>, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a>, <a class="indexterm" href="problems.html#id2690988">Debugging with Samba Itself</a>, <a class="indexterm" href="bugreport.html#dbglvl">Debug Levels</a></dt><dt>log.nmbd, <a class="indexterm" href="NetworkBrowsing.html#id2591173">Problem Resolution</a>, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>logging, <a class="indexterm" href="VFS.html#id2657303">Configuration of Auditing</a>, <a class="indexterm" href="bugreport.html#id2692432">Debugging-Specific Operations</a></dt><dt>logical directories, <a class="indexterm" href="msdfs.html#id2627553">Features and Benefits</a></dt><dt>Logical Link Control (see LLC)</dt><dt>logical volume, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>Logical Volume Manager (see LVM)</dt><dt>Login, <a class="indexterm" href="passdb.html#id2594567">Advantages of Non-Encrypted Passwords</a></dt><dt>login, <a class="indexterm" href="winbind.html#id2662906">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>login id, <a class="indexterm" href="passdb.html#id2597225">Listing User and Machine Accounts</a></dt><dt>login name, <a class="indexterm" href="install.html#id2559157">Example Configuration</a></dt><dt>login shells, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a></dt><dt>LoginID, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a></dt><dt>logon, <a class="indexterm" href="ServerType.html#id2565710">Domain Security Mode (User-Level Security)</a></dt><dt>logon authentication, <a class="indexterm" href="samba-bdc.html#id2573662">NetBIOS Over TCP/IP Disabled</a></dt><dt>logon drive, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a></dt><dt>logon home, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a>, <a class="indexterm" href="ProfileMgmt.html#id2666893">Windows 9x/Me User Profiles</a></dt><dt>logon name, <a class="indexterm" href="NetCommand.html#id2607322">User Mapping</a></dt><dt>logon path, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a></dt><dt>logon processing, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a></dt><dt>logon requests, <a class="indexterm" href="samba-bdc.html#id2572268">Essential Background Information</a>, <a class="indexterm" href="samba-bdc.html#id2573596">NetBIOS Over TCP/IP Enabled</a>, <a class="indexterm" href="samba-bdc.html#id2574784">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a></dt><dt>logon script, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2575193">Features and Benefits</a></dt><dt>Logon Scripts, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>Logon scripts, <a class="indexterm" href="NT4Migration.html#id2685972">Logon Scripts</a></dt><dt>logon server, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="ProfileMgmt.html#id2669587">MS Windows NT4 Workstation</a></dt><dt>logons, <a class="indexterm" href="ProfileMgmt.html#id2666753">NT4/200x User Profiles</a></dt><dt>lookups, <a class="indexterm" href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a></dt><dt>loopback adapter, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>loopback interface, <a class="indexterm" href="securing-samba.html#id2624642">Using Interface Protection</a>, <a class="indexterm" href="Portability.html#id2695476">Red Hat Linux</a></dt><dt>lower-case, <a class="indexterm" href="ServerType.html#id2565355">User Level Security</a></dt><dt>lowercase filenames, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>lp, <a class="indexterm" href="classicalprinting.html#id2629022">Verifying Configuration with testparm</a>, <a class="indexterm" href="CUPS-printing.html#id2656138">Print Queue Called “lp” Mishandles Print Jobs</a></dt><dt>lpadmin, <a class="indexterm" href="CUPS-printing.html#id2644682">“Raw” Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2646240">Printing with Interface Scripts</a>, <a class="indexterm" href="CUPS-printing.html#id2652058">CUPS Print Drivers from Linuxprinting.org</a>, <a class="indexterm" href="CUPS-printing.html#id2653563">Setting Up Quotas</a></dt><dt>LPD, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>lpinfo, <a class="indexterm" href="CUPS-printing.html#id2644027">CUPS Backends</a></dt><dt>lpq cache time, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>lpq command, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>LPRNG, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>lpstat, <a class="indexterm" href="install.html#id2558075">Configuration File Syntax</a>, <a class="indexterm" href="CUPS-printing.html#id2651408">Troubleshooting Revisited</a></dt><dt>LPT1:, <a class="indexterm" href="classicalprinting.html#id2637988">Samba and Printer Ports</a></dt><dt>LsaEnumTrustedDomains, <a class="indexterm" href="problems.html#id2690988">Debugging with Samba Itself</a></dt><dt>LTSP, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></dt><dt>Lustre, <a class="indexterm" href="SambaHA.html#id2678695">The Distributed File System Challenge</a></dt><dt>lvcreate, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>LVM, <a class="indexterm" href="VFS.html#id2657919">shadow_copy</a>, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>LVM snapshots, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>LVM volume, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>lvm10 package, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt></dl></div><div class="indexdiv"><h3>M</h3><dl><dt>m-node, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a></dt><dt>MAC address, <a class="indexterm" href="integrate-ms-networks.html#id2674366">/etc/hosts</a></dt><dt>MAC Addresses, <a class="indexterm" href="integrate-ms-networks.html#id2674366">/etc/hosts</a></dt><dt>Mac OS X , <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a></dt><dt>machine, <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a></dt><dd><dl><dt>account, <a class="indexterm" href="ServerType.html#id2565710">Domain Security Mode (User-Level Security)</a></dt></dl></dd><dt>machine account, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2573025">LDAP Configuration Notes</a>, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a>, <a class="indexterm" href="passdb.html#id2598981">tdbsam</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>machine account password</dt><dd><dl><dt>change protocol, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></dt></dl></dd><dt>machine accounts, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#acctmgmttools">Account Management Tools</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>machine accounts database, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a></dt><dt>machine authentication, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a></dt><dt>machine name, <a class="indexterm" href="integrate-ms-networks.html#id2674366">/etc/hosts</a>, <a class="indexterm" href="integrate-ms-networks.html#id2674766">Name Resolution as Used within MS Windows Networking</a></dt><dt>Machine Policy Objects, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>machine SID, <a class="indexterm" href="NetCommand.html#id2608369">Managing Security Identifiers (SIDS)</a></dt><dt>machine trust account, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="domain-member.html">Domain Membership</a>, <a class="indexterm" href="domain-member.html#id2576714">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="domain-member.html#ads-create-machine-account">Create the Computer Account</a>, <a class="indexterm" href="domain-member.html#id2579789">Cannot Add Machine Back to Domain</a></dt><dd><dl><dt>create privilege, <a class="indexterm" href="domain-member.html#id2576714">Windows 200x/XP Professional Client</a></dt><dt>creation, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>password, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt></dl></dd><dt>Machine Trust Account, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2576878">Windows NT4 Client</a></dt><dd><dl><dt>creation, <a class="indexterm" href="domain-member.html#id2576597">On-the-Fly Creation of Machine Trust Accounts</a></dt><dt>password, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a></dt><dt>UNIX account, <a class="indexterm" href="domain-member.html#id2576597">On-the-Fly Creation of Machine Trust Accounts</a></dt></dl></dd><dt>Machine Trust Accounts, <a class="indexterm" href="samba-bdc.html#id2574730">Machine Accounts Keep Expiring</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dd><dl><dt>creating, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt></dl></dd><dt>machine trust accounts, <a class="indexterm" href="samba-bdc.html#id2574840">How Do I Replicate the smbpasswd File?</a>, <a class="indexterm" href="domain-member.html#id2576317">Managing Domain Machine Accounts using NT4 Server Manager</a>, <a class="indexterm" href="domain-member.html#id2579750">Common Errors</a>, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2595454">Caution Regarding LDAP and Samba</a></dt><dt>machine_name, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a></dt><dt>machine_nickname, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a></dt><dt>Macintosh, <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a></dt><dt>macros, <a class="indexterm" href="classicalprinting.html#id2632121">Custom Print Commands</a></dt><dt>mail, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a></dt><dt>mailing list, <a class="indexterm" href="ch47.html#id2698571">Free Support</a></dt><dt>mailing lists, <a class="indexterm" href="ch47.html#id2698571">Free Support</a></dt><dt>maintaining ids, <a class="indexterm" href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></dt><dt>major changes, <a class="indexterm" href="upgrading-to-3.0.html#id2683756">New Functionality</a></dt><dt>make, <a class="indexterm" href="integrate-ms-networks.html#id2674642">/etc/nsswitch.conf</a>, <a class="indexterm" href="compiling.html#id2694079">Building the Binaries</a></dt><dt>man, <a class="indexterm" href="SWAT.html#id2687177">Features and Benefits</a></dt><dt>man page, <a class="indexterm" href="winbind.html#id2661549">Configure smb.conf</a></dt><dt>man pages, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a></dt><dt>man-in-the-middle, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>manage accounts, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a></dt><dt>manage drivers, <a class="indexterm" href="classicalprinting.html#id2628204">Features and Benefits</a></dt><dt>manage groups, <a class="indexterm" href="NetCommand.html#id2607406">Administering User Rights and Privileges</a></dt><dt>manage printers, <a class="indexterm" href="NetCommand.html#id2607406">Administering User Rights and Privileges</a></dt><dt>manage privileges, <a class="indexterm" href="rights.html#id2614523">Rights Management Capabilities</a></dt><dt>manage roaming profiles, <a class="indexterm" href="ProfileMgmt.html#id2666639">Features and Benefits</a></dt><dt>manage share permissions, <a class="indexterm" href="AccessControls.html#id2619218">Windows NT4 Workstation/Server</a></dt><dt>manage share-level ACL, <a class="indexterm" href="groupmapping.html#id2603463">Applicable Only to Versions Earlier than 3.0.11</a></dt><dt>manage shares, <a class="indexterm" href="NetCommand.html#id2607406">Administering User Rights and Privileges</a></dt><dt>manage users, <a class="indexterm" href="NetCommand.html#id2607406">Administering User Rights and Privileges</a></dt><dt>manageability, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>Manageability, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>managed by humans, <a class="indexterm" href="SambaHA.html#id2678091">Features and Benefits</a></dt><dt>management bottleneck, <a class="indexterm" href="locking.html#id2622686">Multiuser Databases</a></dt><dt>management costs, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a></dt><dt>management overheads, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></dt><dt>management procedures, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></dt><dt>management tools, <a class="indexterm" href="passdb.html#acctmgmttools">Account Management Tools</a></dt><dt>managing rights, <a class="indexterm" href="rights.html#id2614798">Using the “net rpc rights” Utility</a></dt><dt>mandatory profiles, <a class="indexterm" href="ProfileMgmt.html#id2669181">Mandatory Profiles</a></dt><dt>Mandrake, <a class="indexterm" href="CUPS-printing.html#id2652845">Forums, Downloads, Tutorials, Howtos (Also for Mac OS X and Commercial UNIX)</a></dt><dt>Mandriva, <a class="indexterm" href="CUPS-printing.html#id2652845">Forums, Downloads, Tutorials, Howtos (Also for Mac OS X and Commercial UNIX)</a></dt><dt>manual UNIX account creation, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>manual WINS server entries, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2582402">MS Windows 2000</a></dt><dt>manually configured, <a class="indexterm" href="ClientConfig.html#id2582949">MS Windows Me</a></dt><dt>manually configured DNS settings, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a></dt><dt>map, <a class="indexterm" href="domain-member.html#id2576714">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="NT4Migration.html#id2686083">User and Group Accounts</a></dt><dt>mapped, <a class="indexterm" href="groupmapping.html#id2603344">Important Administrative Information</a>, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a>, <a class="indexterm" href="NetCommand.html#id2605869">Mapping Windows Groups to UNIX Groups</a></dt><dt>mapping, <a class="indexterm" href="passdb.html#id2594631">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="NetCommand.html#id2605869">Mapping Windows Groups to UNIX Groups</a></dt><dt>mapping home directory, <a class="indexterm" href="securing-samba.html#id2625284">Why Can Users Access Other Users' Home Directories?</a></dt><dt>mapping printer driver, <a class="indexterm" href="classicalprinting.html#id2635646">Running rpcclient with setdriver</a></dt><dt>mappings, <a class="indexterm" href="domain-member.html#id2579543">Sharing User ID Mappings between Samba Domain Members</a></dt><dt>maps UNIX users and groups, <a class="indexterm" href="domain-member.html#id2579543">Sharing User ID Mappings between Samba Domain Members</a></dt><dt>master browser, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>master browsers, <a class="indexterm" href="NetworkBrowsing.html#id2591595">Behavior of Cross-Subnet Browsing</a></dt><dt>master server, <a class="indexterm" href="NT4Migration.html#id2685596">Domain Layout</a></dt><dt>master smb.conf, <a class="indexterm" href="cfgsmarts.html#id2681404">Multiple Virtual Server Hosting</a></dt><dt>MasterAnnouncement, <a class="indexterm" href="NetworkBrowsing.html#id2591595">Behavior of Cross-Subnet Browsing</a></dt><dt>match case, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>maximum value, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a></dt><dt>mbd kept spawning, <a class="indexterm" href="speed.html#id2697284">Corrupt tdb Files</a></dt><dt>Meccano set, <a class="indexterm" href="Backup.html#id2677509">Discussion of Backup Solutions</a></dt><dt>mechanism, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></dt><dt>media type, <a class="indexterm" href="CUPS-printing.html#id2644365">The Role of cupsomatic/foomatic</a></dt><dt>member, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a>, <a class="indexterm" href="rights.html#id2614798">Using the “net rpc rights” Utility</a></dt><dt>member machine, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>memory, <a class="indexterm" href="passdb.html#id2594426">Advantages of Encrypted Passwords</a></dt><dt>messages.tdb, <a class="indexterm" href="CUPS-printing.html#id2651551">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>messaging systems, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a></dt><dt>Meta node, <a class="indexterm" href="NetworkBrowsing.html#id2590302">Static WINS Entries</a></dt><dt>meta-directory, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></dt><dt>meta-service, <a class="indexterm" href="install.html#id2558075">Configuration File Syntax</a></dt><dt>meta-services, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></dt><dt>Microsoft Active Directory, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>Microsoft Developer Network CDs, <a class="indexterm" href="problems.html#id2691438">The Windows Network Monitor</a></dt><dt>Microsoft driver, <a class="indexterm" href="CUPS-printing.html#id2647194">PostScript Drivers with No Major Problems, Even in Kernel 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#id2576317">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>Microsoft Wolfpack, <a class="indexterm" href="SambaHA.html#id2679176">High-Availability Server Products</a></dt><dt>middle-ware, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a></dt><dt>migrate, <a class="indexterm" href="ServerType.html">Server Types and Security Modes</a>, <a class="indexterm" href="NT4Migration.html">Migration from NT4 PDC to Samba-3 PDC</a></dt><dt>migrate account settings, <a class="indexterm" href="NT4Migration.html#id2686083">User and Group Accounts</a></dt><dt>migrate group, <a class="indexterm" href="NT4Migration.html#id2686083">User and Group Accounts</a></dt><dt>migrate user, <a class="indexterm" href="NT4Migration.html#id2686083">User and Group Accounts</a></dt><dt>migrating, <a class="indexterm" href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></dt><dt>migration, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>migration plan, <a class="indexterm" href="NT4Migration.html#id2685152">Planning and Getting Started</a></dt><dt>migration process, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>MIME, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2642732">MIME Type Conversion Rules</a>, <a class="indexterm" href="CUPS-printing.html#id2642940">Filtering Overview</a>, <a class="indexterm" href="CUPS-printing.html#id2644790">application/octet-stream Printing</a></dt><dd><dl><dt>filters, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt><dt>raw, <a class="indexterm" href="FastStart.html#id2560928">Anonymous Print Server</a>, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="CUPS-printing.html#cups-raw">Explicitly Enable “raw” Printing for application/octet-stream</a></dt></dl></dd><dt>MIME conversion rules, <a class="indexterm" href="CUPS-printing.html#id2642068">The CUPS Filtering Architecture</a></dt><dt>MIME recognition, <a class="indexterm" href="CUPS-printing.html#id2642068">The CUPS Filtering Architecture</a></dt><dt>MIME type, <a class="indexterm" href="CUPS-printing.html#cups-raw">Explicitly Enable “raw” Printing for application/octet-stream</a>, <a class="indexterm" href="CUPS-printing.html#id2642068">The CUPS Filtering Architecture</a>, <a class="indexterm" href="CUPS-printing.html#id2643098">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2644790">application/octet-stream Printing</a></dt><dt>mime.types, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt><dt>minimal</dt><dd><dl><dt>configuration, <a class="indexterm" href="install.html#id2558075">Configuration File Syntax</a></dt></dl></dd><dt>minimal configuration, <a class="indexterm" href="install.html#id2558075">Configuration File Syntax</a></dt><dt>minimum security control, <a class="indexterm" href="StandAloneServer.html">Standalone Servers</a></dt><dt>misconfigurations, <a class="indexterm" href="install.html#id2559391">Test Your Config File with testparm</a></dt><dt>misconfigured settings, <a class="indexterm" href="classicalprinting.html#id2628739">Simple Print Configuration</a></dt><dt>misinformation, <a class="indexterm" href="domain-member.html">Domain Membership</a></dt><dt>mission-critical, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a>, <a class="indexterm" href="classicalprinting.html#id2628204">Features and Benefits</a></dt><dt>MIT, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a>, <a class="indexterm" href="idmapper.html#id2612260">ADS Domains</a></dt><dt>MIT kerberos, <a class="indexterm" href="idmapper.html#id2612260">ADS Domains</a>, <a class="indexterm" href="idmapper.html#id2613261">IDMAP Storage in LDAP Using Winbind</a></dt><dt>MIT Kerberos, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>mixed mode, <a class="indexterm" href="ServerType.html#id2566205">ADS Security Mode (User-Level Security)</a>, <a class="indexterm" href="InterdomainTrusts.html#id2627167">NT4-Style Domain Trusts with Windows 2000</a></dt><dt>mixed profile, <a class="indexterm" href="ProfileMgmt.html#id2667050">Mixed Windows Windows 9x/Me and NT4/200x User Profiles</a></dt><dt>mkdir, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>mkfs.xfs, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>MMC, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="groupmapping.html#id2601958">Features and Benefits</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2611579">Primary Domain Controller</a>, <a class="indexterm" href="AccessControls.html#id2619058">Access Controls on Shares</a>, <a class="indexterm" href="AccessControls.html#id2619323">Windows 200x/XP</a>, <a class="indexterm" href="PolicyMgmt.html#id2664962">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2666280">Windows NT4/200x</a>, <a class="indexterm" href="ProfileMgmt.html#id2667128">Disabling Roaming Profile Support</a></dt><dt>MMC snap-in, <a class="indexterm" href="PolicyMgmt.html#id2665713">Administration of Windows 200x/XP Policies</a></dt><dt>modem/ISDN, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></dt><dt>moderately secure, <a class="indexterm" href="securing-samba.html#id2624266">Features and Benefits</a></dt><dt>modprobe, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>module, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>modules, <a class="indexterm" href="VFS.html#id2656448">Features and Benefits</a>, <a class="indexterm" href="VFS.html#id2656487">Discussion</a></dt><dt>more than one protocol, <a class="indexterm" href="NetworkBrowsing.html#id2590545">Windows Networking Protocols</a></dt><dt>mount, <a class="indexterm" href="ServerType.html#id2565518">Share-Level Security</a>, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>mouse-over, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></dt><dt>moveuser.exe, <a class="indexterm" href="ProfileMgmt.html#id2669074">moveuser.exe</a></dt><dt>MS DCE RPC, <a class="indexterm" href="winbind.html#id2661746">Join the Samba Server to the PDC Domain</a></dt><dt>MS Windows 2000, <a class="indexterm" href="samba-bdc.html#id2573390">Active Directory Domain Control</a></dt><dt>MS Windows NT4/200x, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a></dt><dt>MS Windows SID, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a></dt><dt>MS WINS, <a class="indexterm" href="NetworkBrowsing.html#id2585610">Features and Benefits</a></dt><dt>MS-DFS, <a class="indexterm" href="SambaHA.html#id2679316">MS-DFS: The Poor Man's Cluster</a></dt><dt>MS-RPC, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>MS-WINS replication, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a></dt><dt>msdfs links, <a class="indexterm" href="msdfs.html#id2627553">Features and Benefits</a></dt><dt>msg, <a class="indexterm" href="SWAT.html#id2688110">Enabling SWAT Internationalization Support</a></dt><dt>msg file, <a class="indexterm" href="SWAT.html#id2688110">Enabling SWAT Internationalization Support</a></dt><dt>MSRPC, <a class="indexterm" href="winbind.html#id2660018">Microsoft Remote Procedure Calls</a>, <a class="indexterm" href="winbind.html#id2660159">Name Service Switch</a></dt><dt>multibyte character sets, <a class="indexterm" href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></dt><dt>multibyte charsets, <a class="indexterm" href="unicode.html#id2676001">What Are Charsets and Unicode?</a></dt><dt>multiple backends, <a class="indexterm" href="passdb.html#id2598586">Password Backends</a></dt><dt>multiple domains, <a class="indexterm" href="NT4Migration.html#id2685596">Domain Layout</a></dt><dt>multiple hosting, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a></dt><dt>multiple modules, <a class="indexterm" href="VFS.html#id2656487">Discussion</a></dt><dt>multiple network interfaces, <a class="indexterm" href="NetworkBrowsing.html#id2589238">Multiple Interfaces</a></dt><dt>multiple network segments, <a class="indexterm" href="NT4Migration.html#id2685596">Domain Layout</a></dt><dt>multiple personality, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></dt><dt>multiple server hosting, <a class="indexterm" href="cfgsmarts.html#id2679993">Multiple Server Hosting</a></dt><dt>multiple server personalities, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a></dt><dt>multiple servers, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a>, <a class="indexterm" href="cfgsmarts.html#id2679993">Multiple Server Hosting</a></dt><dt>multiple universal naming convention provider (see MUP)</dt><dt>multiple VFS, <a class="indexterm" href="VFS.html#id2656487">Discussion</a></dt><dt>multiple virtual servers, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></dt><dt>multiple Windows workgroups or domains, <a class="indexterm" href="ClientConfig.html#id2582949">MS Windows Me</a></dt><dt>multiple WINS servers, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a></dt><dt>Multiuser databases, <a class="indexterm" href="locking.html#id2622686">Multiuser Databases</a></dt><dt>mutual assistance, <a class="indexterm" href="ch47.html#id2698571">Free Support</a></dt><dt>mutually exclusive options, <a class="indexterm" href="NetworkBrowsing.html#id2585793">What Is Browsing?</a></dt><dt>My Network Places, <a class="indexterm" href="ClientConfig.html#id2582949">MS Windows Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2591173">Problem Resolution</a></dt><dt>Myrinet, <a class="indexterm" href="SambaHA.html#id2678983">Server Pool Communications Demands</a></dt></dl></div><div class="indexdiv"><h3>N</h3><dl><dt>n security context, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a></dt><dt>n-memory buffer, <a class="indexterm" href="integrate-ms-networks.html#id2675201">The NetBIOS Name Cache</a></dt><dt>name conflict, <a class="indexterm" href="classicalprinting.html#id2631206">Any [my_printer_name] Section</a></dt><dt>name lookup, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a>, <a class="indexterm" href="integrate-ms-networks.html#id2675201">The NetBIOS Name Cache</a></dt><dt>name lookups, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a></dt><dt>name registration, <a class="indexterm" href="samba-bdc.html#id2573448">What Qualifies a Domain Controller on the Network?</a></dt><dt>name resolution, <a class="indexterm" href="NetworkBrowsing.html#id2585793">What Is Browsing?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#id2590890">Technical Overview of Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2592438">Common Errors</a>, <a class="indexterm" href="integrate-ms-networks.html#id2674366">/etc/hosts</a>, <a class="indexterm" href="diagnosis.html#id2688896">Assumptions</a></dt><dt>name resolution across routed networks, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a></dt><dt>name resolve order, <a class="indexterm" href="NetworkBrowsing.html#id2590686">Name Resolution Order</a></dt><dt>name service switch (see NSS)</dt><dt>name-to-address, <a class="indexterm" href="NetworkBrowsing.html#id2589657">WINS: The Windows Internetworking Name Server</a></dt><dt>nameserv.h, <a class="indexterm" href="NetworkBrowsing.html#id2590302">Static WINS Entries</a></dt><dt>name_type, <a class="indexterm" href="NetworkBrowsing.html#id2589657">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2590686">Name Resolution Order</a></dt><dt>native ACLs, <a class="indexterm" href="AccessControls.html#id2616650">Features and Benefits</a></dt><dt>native dump, <a class="indexterm" href="Backup.html#id2677947">Amanda</a></dt><dt>native member, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a>, <a class="indexterm" href="domain-member.html#id2575193">Features and Benefits</a></dt><dt>native mode, <a class="indexterm" href="ServerType.html#id2566205">ADS Security Mode (User-Level Security)</a>, <a class="indexterm" href="winbind.html#id2660111">Microsoft Active Directory Services</a></dt><dt>NBT, <a class="indexterm" href="integrate-ms-networks.html#id2674766">Name Resolution as Used within MS Windows Networking</a></dt><dt>nbtstat, <a class="indexterm" href="domain-member.html#id2579789">Cannot Add Machine Back to Domain</a>, <a class="indexterm" href="integrate-ms-networks.html#id2675201">The NetBIOS Name Cache</a></dt><dt>necessary rights, <a class="indexterm" href="rights.html#id2614798">Using the “net rpc rights” Utility</a></dt><dt>negotiate, <a class="indexterm" href="passdb.html#id2594111">Important Notes About Security</a></dt><dt>negotiating the charset, <a class="indexterm" href="unicode.html#id2676001">What Are Charsets and Unicode?</a></dt><dt>nested group, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>Nested Group Support, <a class="indexterm" href="rights.html#id2616153">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>nested groups, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></dt><dt>net, <a class="indexterm" href="passdb.html#acctmgmttools">Account Management Tools</a>, <a class="indexterm" href="groupmapping.html">Group Mapping: MS Windows and UNIX</a>, <a class="indexterm" href="NetCommand.html">Remote and Local Management: The Net Command</a>, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a>, <a class="indexterm" href="NetCommand.html#id2605385">Administrative Tasks and Methods</a>, <a class="indexterm" href="NetCommand.html#id2605466">UNIX and Windows Group Management</a>, <a class="indexterm" href="rights.html#id2616153">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dd><dl><dt>ads, <a class="indexterm" href="NetCommand.html#id2605466">UNIX and Windows Group Management</a></dt><dd><dl><dt>join, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="domain-member.html#ads-create-machine-account">Create the Computer Account</a>, <a class="indexterm" href="NetCommand.html#id2607766">Machine Trust Accounts</a>, <a class="indexterm" href="idmapper.html#id2612260">ADS Domains</a></dt><dt>leave, <a class="indexterm" href="NetCommand.html#id2607766">Machine Trust Accounts</a></dt><dt>printer info, <a class="indexterm" href="NetCommand.html#id2609812">Printers and ADS</a></dt><dt>printer publish, <a class="indexterm" href="NetCommand.html#id2609812">Printers and ADS</a></dt><dt>printer remove, <a class="indexterm" href="NetCommand.html#id2609812">Printers and ADS</a></dt><dt>printer search, <a class="indexterm" href="NetCommand.html#id2609812">Printers and ADS</a></dt><dt>status, <a class="indexterm" href="NetCommand.html#id2607766">Machine Trust Accounts</a></dt><dt>testjoin, <a class="indexterm" href="NetCommand.html#id2607766">Machine Trust Accounts</a></dt></dl></dd><dt>getlocalsid, <a class="indexterm" href="ChangeNotes.html#id2584733">User and Group Changes</a>, <a class="indexterm" href="NetCommand.html#id2608369">Managing Security Identifiers (SIDS)</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a></dt><dt>groupmap, <a class="indexterm" href="FastStart.html#id2562964">Example: Engineering Office</a>, <a class="indexterm" href="ChangeNotes.html#id2584733">User and Group Changes</a>, <a class="indexterm" href="groupmapping.html#id2601958">Features and Benefits</a>, <a class="indexterm" href="groupmapping.html#id2604210">Example Configuration</a>, <a class="indexterm" href="NT4Migration.html#id2686132">Steps in Migration Process</a></dt><dd><dl><dt>add, <a class="indexterm" href="NetCommand.html#id2605869">Mapping Windows Groups to UNIX Groups</a></dt><dt>delete, <a class="indexterm" href="NetCommand.html#id2605869">Mapping Windows Groups to UNIX Groups</a></dt><dt>list, <a class="indexterm" href="groupmapping.html#id2604210">Example Configuration</a>, <a class="indexterm" href="NetCommand.html#id2605667">Adding or Creating a New Group</a></dt><dt>modify, <a class="indexterm" href="NetCommand.html#id2605869">Mapping Windows Groups to UNIX Groups</a></dt></dl></dd><dt>localgroup, <a class="indexterm" href="rights.html#id2616153">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>rap, <a class="indexterm" href="NetCommand.html#id2605466">UNIX and Windows Group Management</a></dt><dd><dl><dt>session, <a class="indexterm" href="NetCommand.html#id2609747">Session and Connection Management</a></dt></dl></dd><dt>rpc, <a class="indexterm" href="FastStart.html#id2562116">Example Configuration</a>, <a class="indexterm" href="ServerType.html#id2565925">Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2571862">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2605466">UNIX and Windows Group Management</a></dt><dd><dl><dt>getsid, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a>, <a class="indexterm" href="NetCommand.html#id2608369">Managing Security Identifiers (SIDS)</a></dt><dt>group, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="NetCommand.html#id2605667">Adding or Creating a New Group</a></dt><dt>group add, <a class="indexterm" href="NetCommand.html#id2605667">Adding or Creating a New Group</a></dt><dt>group addmem, <a class="indexterm" href="NetCommand.html#grpmemshipchg">Manipulating Group Memberships</a>, <a class="indexterm" href="NetCommand.html#id2606695">Managing Nest Groups on Workstations from the Samba Server</a></dt><dt>group delete, <a class="indexterm" href="NetCommand.html#id2606176">Deleting a Group Account</a></dt><dt>group delmem, <a class="indexterm" href="NetCommand.html#grpmemshipchg">Manipulating Group Memberships</a></dt><dt>group list, <a class="indexterm" href="NetCommand.html#id2605667">Adding or Creating a New Group</a></dt><dt>group members, <a class="indexterm" href="NetCommand.html#grpmemshipchg">Manipulating Group Memberships</a></dt><dt>group rename, <a class="indexterm" href="NetCommand.html#id2606216">Rename Group Accounts</a></dt><dt>info, <a class="indexterm" href="NetCommand.html#netmisc1">Other Miscellaneous Operations</a>, <a class="indexterm" href="ProfileMgmt.html#id2669023">Side Bar Notes</a></dt><dt>join, <a class="indexterm" href="ServerType.html#id2565925">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="NetCommand.html#id2607766">Machine Trust Accounts</a>, <a class="indexterm" href="winbind.html#id2661746">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="NT4Migration.html#id2686132">Steps in Migration Process</a></dt><dt>join bdc, <a class="indexterm" href="NetCommand.html#id2607766">Machine Trust Accounts</a></dt><dt>join member, <a class="indexterm" href="NetCommand.html#id2607766">Machine Trust Accounts</a></dt><dt>list, <a class="indexterm" href="rights.html#id2614798">Using the “net rpc rights” Utility</a></dt><dt>printer migrate drivers, <a class="indexterm" href="NetCommand.html#id2609477">Printer Migration</a></dt><dt>printer migrate forms, <a class="indexterm" href="NetCommand.html#id2609477">Printer Migration</a></dt><dt>printer migrate printers, <a class="indexterm" href="NetCommand.html#id2609477">Printer Migration</a></dt><dt>printer migrate security, <a class="indexterm" href="NetCommand.html#id2609477">Printer Migration</a></dt><dt>printer migrate settings, <a class="indexterm" href="NetCommand.html#id2609477">Printer Migration</a></dt><dt>right list accounts, <a class="indexterm" href="NetCommand.html#id2608964">Share Migration</a></dt><dt>rights grant, <a class="indexterm" href="NetCommand.html#id2607406">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2614798">Using the “net rpc rights” Utility</a></dt><dt>rights list, <a class="indexterm" href="NetCommand.html#id2607406">Administering User Rights and Privileges</a></dt><dt>rights list accounts, <a class="indexterm" href="NetCommand.html#id2607406">Administering User Rights and Privileges</a></dt><dt>share add, <a class="indexterm" href="NetCommand.html#id2608636">Creating, Editing, and Removing Shares</a></dt><dt>share delete, <a class="indexterm" href="NetCommand.html#id2608636">Creating, Editing, and Removing Shares</a></dt><dt>share migrate, <a class="indexterm" href="NetCommand.html#id2608964">Share Migration</a></dt><dt>share migrate all, <a class="indexterm" href="NetCommand.html#id2609418">Simultaneous Share and File Migration</a></dt><dt>share migrate files, <a class="indexterm" href="NetCommand.html#id2609160">File and Directory Migration</a></dt><dt>share migrate security, <a class="indexterm" href="NetCommand.html#id2609375">Share-ACL Migration</a></dt><dt>testjoin, <a class="indexterm" href="NetCommand.html#id2607766">Machine Trust Accounts</a></dt><dt>trustdom add, <a class="indexterm" href="NetCommand.html#id2608135">Interdomain Trusts</a></dt><dt>trustdom establish, <a class="indexterm" href="NetCommand.html#id2608135">Interdomain Trusts</a>, <a class="indexterm" href="InterdomainTrusts.html#id2626971">Samba as the Trusting Domain</a></dt><dt>trustdom list, <a class="indexterm" href="NetCommand.html#id2608135">Interdomain Trusts</a></dt><dt>trustdom revoke, <a class="indexterm" href="NetCommand.html#id2608135">Interdomain Trusts</a></dt><dt>user add, <a class="indexterm" href="NetCommand.html#sbeuseraddn">Adding User Accounts</a></dt><dt>user delete, <a class="indexterm" href="NetCommand.html#id2607206">Deletion of User Accounts</a>, <a class="indexterm" href="NetCommand.html#id2607766">Machine Trust Accounts</a></dt><dt>user info, <a class="indexterm" href="NetCommand.html#id2607254">Managing User Accounts</a></dt><dt>user password, <a class="indexterm" href="NetCommand.html#sbeuseraddn">Adding User Accounts</a></dt><dt>user rename, <a class="indexterm" href="NetCommand.html#id2607254">Managing User Accounts</a></dt><dt>vampire, <a class="indexterm" href="ChangeNotes.html#id2584733">User and Group Changes</a>, <a class="indexterm" href="NetCommand.html#id2608854">Share, Directory, and File Migration</a>, <a class="indexterm" href="NT4Migration.html#id2686132">Steps in Migration Process</a></dt></dl></dd><dt>setlocalsid, <a class="indexterm" href="NetCommand.html#id2608369">Managing Security Identifiers (SIDS)</a></dt><dt>time, <a class="indexterm" href="NetCommand.html#netmisc1">Other Miscellaneous Operations</a></dt><dd><dl><dt>set, <a class="indexterm" href="NetCommand.html#netmisc1">Other Miscellaneous Operations</a></dt><dt>system, <a class="indexterm" href="NetCommand.html#netmisc1">Other Miscellaneous Operations</a></dt><dt>zone, <a class="indexterm" href="NetCommand.html#netmisc1">Other Miscellaneous Operations</a></dt></dl></dd><dt>use, <a class="indexterm" href="domain-member.html#ads-test-server">Testing Server Setup</a></dt></dl></dd><dt>NET, <a class="indexterm" href="PolicyMgmt.html#id2666320">Samba PDC</a></dt><dt>net command, <a class="indexterm" href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></dt><dt>net getlocalsid, <a class="indexterm" href="rights.html#id2615970">The Administrator Domain SID</a></dt><dt>net groupmap, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a></dt><dt>net rpc user add, <a class="indexterm" href="rights.html#id2615144">Description of Privileges</a></dt><dt>net tool, <a class="indexterm" href="upgrading-to-3.0.html#id2684231">Passdb Backends and Authentication</a></dt><dt>net use, <a class="indexterm" href="classicalprinting.html#id2637564">Error Message: “Cannot connect under a different Name”</a></dt><dt>net use /home, <a class="indexterm" href="ProfileMgmt.html#id2666893">Windows 9x/Me User Profiles</a></dt><dt>net use lpt1:, <a class="indexterm" href="CUPS-printing.html#id2649407">Installing the PostScript Driver on a Client</a></dt><dt>net view, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a>, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>netatalk, <a class="indexterm" href="VFS.html#id2657868">netatalk</a></dt><dt>NetAtalk, <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a></dt><dt>Netatalk, <a class="indexterm" href="Other-Clients.html#id2695763">Macintosh Clients</a></dt><dt>NetBEUI, <a class="indexterm" href="integrate-ms-networks.html">Integrating MS Windows Networks with Samba</a></dt><dt>NetBIOS, <a class="indexterm" href="ServerType.html#id2565710">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2573448">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="samba-bdc.html#id2573539">How Does a Workstation find its Domain Controller?</a>, <a class="indexterm" href="samba-bdc.html#id2574222">Example Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585610">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#netdiscuss">Discussion</a>, <a class="indexterm" href="NetworkBrowsing.html#id2586870">TCP/IP without NetBIOS</a>, <a class="indexterm" href="NetworkBrowsing.html#id2590890">Technical Overview of Browsing</a>, <a class="indexterm" href="integrate-ms-networks.html">Integrating MS Windows Networks with Samba</a>, <a class="indexterm" href="integrate-ms-networks.html#id2674766">Name Resolution as Used within MS Windows Networking</a>, <a class="indexterm" href="integrate-ms-networks.html#id2675201">The NetBIOS Name Cache</a></dt><dd><dl><dt>brooadcast, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a></dt><dt>name, <a class="indexterm" href="ServerType.html#id2565710">Domain Security Mode (User-Level Security)</a></dt></dl></dd><dt>netbios alias, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></dt><dt>netbios aliases, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></dt><dt>NetBIOS broadcast, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></dt><dt>NetBIOS disabled, <a class="indexterm" href="NetworkBrowsing.html#id2585610">Features and Benefits</a></dt><dt>NetBIOS flags, <a class="indexterm" href="NetworkBrowsing.html#id2590302">Static WINS Entries</a></dt><dt>NetBIOS name, <a class="indexterm" href="samba-pdc.html#id2570985">Security Mode and Master Browsers</a>, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="integrate-ms-networks.html#id2674766">Name Resolution as Used within MS Windows Networking</a>, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></dt><dt>netbios name, <a class="indexterm" href="cfgsmarts.html#id2679993">Multiple Server Hosting</a></dt><dt>NetBIOS name cache, <a class="indexterm" href="domain-member.html#id2579789">Cannot Add Machine Back to Domain</a>, <a class="indexterm" href="NetworkBrowsing.html#id2592464">Flushing the Samba NetBIOS Name Cache</a></dt><dt>NetBIOS name length, <a class="indexterm" href="NetworkBrowsing.html#id2589657">WINS: The Windows Internetworking Name Server</a></dt><dt>NetBIOS name resolution, <a class="indexterm" href="NetworkBrowsing.html#id2591595">Behavior of Cross-Subnet Browsing</a></dt><dt>NetBIOS Name Server (see NBNS)</dt><dt>NetBIOS name type, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a></dt><dt>NetBIOS names, <a class="indexterm" href="NetworkBrowsing.html#id2590686">Name Resolution Order</a>, <a class="indexterm" href="integrate-ms-networks.html#id2674642">/etc/nsswitch.conf</a></dt><dt>NetBIOS network interface, <a class="indexterm" href="NetworkBrowsing.html#id2590545">Windows Networking Protocols</a></dt><dt>NetBIOS networking, <a class="indexterm" href="NetworkBrowsing.html#id2585610">Features and Benefits</a></dt><dt>NetBIOS over TCP/IP, <a class="indexterm" href="NetworkBrowsing.html">Network Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585610">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2590890">Technical Overview of Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2591424">Cross-Subnet Browsing</a>, <a class="indexterm" href="integrate-ms-networks.html#id2674165">Background Information</a></dt><dt>NetBIOS over TCP/IP disabled, <a class="indexterm" href="NetworkBrowsing.html#id2592632">Browsing of Shares and Directories is Very Slow</a></dt><dt>NetBIOS-less, <a class="indexterm" href="NetworkBrowsing.html#id2586870">TCP/IP without NetBIOS</a>, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></dt><dt>NetBIOS-less SMB, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></dt><dt>NetBIOSless SMB over TCP/IP, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a></dt><dt>NetBT, <a class="indexterm" href="integrate-ms-networks.html#id2674766">Name Resolution as Used within MS Windows Networking</a></dt><dt>netlogon, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a></dt><dt>NETLOGON, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a>, <a class="indexterm" href="PolicyMgmt.html#id2664962">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2665509">MS Windows 200x/XP Professional Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2665958">Managing Account/User Policies</a>, <a class="indexterm" href="ProfileMgmt.html#id2669587">MS Windows NT4 Workstation</a>, <a class="indexterm" href="ProfileMgmt.html#id2670149">MS Windows 200x/XP</a></dt><dt>Netlogon, <a class="indexterm" href="samba-bdc.html#id2572268">Essential Background Information</a></dt><dt>NetLogon service, <a class="indexterm" href="NetworkBrowsing.html#id2589657">WINS: The Windows Internetworking Name Server</a></dt><dt>netlogon share, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a>, <a class="indexterm" href="NT4Migration.html#id2686132">Steps in Migration Process</a></dt><dt>Netmon, <a class="indexterm" href="problems.html#id2691438">The Windows Network Monitor</a></dt><dt>Netmon., <a class="indexterm" href="problems.html#id2691497">Installing Network Monitor on an NT Workstation</a></dt><dt>netmon.exe, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a></dt><dt>NetSAMLogon, <a class="indexterm" href="ProfileMgmt.html#id2666688">Roaming Profiles</a></dt><dt>Netscape's Directory Server, <a class="indexterm" href="passdb.html#id2599387">Supported LDAP Servers</a></dt><dt>NetServerEnum2, <a class="indexterm" href="NetworkBrowsing.html#id2591595">Behavior of Cross-Subnet Browsing</a></dt><dt>NetUserGetInfo, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="ProfileMgmt.html#id2666688">Roaming Profiles</a></dt><dt>NetWare, <a class="indexterm" href="integrate-ms-networks.html#id2674766">Name Resolution as Used within MS Windows Networking</a></dt><dt>NetWare Bindery, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>NetWare Core Protocol-based server, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>NetWkstaUserLogon, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a></dt><dt>network</dt><dd><dl><dt>browsing, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a></dt><dt>logon, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a></dt><dd><dl><dt>service, <a class="indexterm" href="samba-pdc.html#id2570985">Security Mode and Master Browsers</a></dt></dl></dd><dt>performance, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a></dt><dt>wide-area, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a></dt></dl></dd><dt>network access controls, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a></dt><dt>network access profile, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a></dt><dt>network administrator, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a></dt><dt>network administrator's toolbox, <a class="indexterm" href="NetCommand.html">Remote and Local Management: The Net Command</a></dt><dt>network administrators, <a class="indexterm" href="NT4Migration.html#id2685798">Server Share and Directory Layout</a></dt><dt>network analyzer, <a class="indexterm" href="problems.html#id2690936">Diagnostics Tools</a></dt><dt>network bandwidth, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a>, <a class="indexterm" href="NT4Migration.html#id2685596">Domain Layout</a></dt><dt>Network Basic Extended User Interface (see NetBEUI)</dt><dt>Network Basic Input/Output System (see NetBIOS)</dt><dt>Network Bridge, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a></dt><dt>Network Bridge Configuration, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a></dt><dt>network browsing problems, <a class="indexterm" href="NetworkBrowsing.html#id2588976">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2592632">Browsing of Shares and Directories is Very Slow</a></dt><dt>network client, <a class="indexterm" href="ClientConfig.html#id2581580">Features and Benefits</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a></dt><dt>network clients, <a class="indexterm" href="ClientConfig.html#id2582402">MS Windows 2000</a></dt><dt>network configuration problems, <a class="indexterm" href="ClientConfig.html#id2581683">TCP/IP Configuration</a></dt><dt>network difficulty, <a class="indexterm" href="ClientConfig.html#id2581580">Features and Benefits</a></dt><dt>network environment, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663855">Remote Desktop Management</a></dt><dt>Network ID, <a class="indexterm" href="ClientConfig.html#id2583455">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>network interface, <a class="indexterm" href="securing-samba.html#id2624642">Using Interface Protection</a>, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>network logon, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="domain-member.html#id2575193">Features and Benefits</a>, <a class="indexterm" href="ClientConfig.html#id2583981">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>network logon services, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a></dt><dt>network membership, <a class="indexterm" href="ClientConfig.html#id2581640">Technical Details</a></dt><dt>Network Monitor, <a class="indexterm" href="problems.html#id2691438">The Windows Network Monitor</a></dt><dt>Network Monitor Tools and Agent, <a class="indexterm" href="problems.html#id2691497">Installing Network Monitor on an NT Workstation</a></dt><dt>Network Neighborhood, <a class="indexterm" href="NetworkBrowsing.html#id2585793">What Is Browsing?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2591173">Problem Resolution</a>, <a class="indexterm" href="NetworkBrowsing.html#id2591595">Behavior of Cross-Subnet Browsing</a>, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a>, <a class="indexterm" href="classicalprinting.html#id2635304">Check Samba for Driver Recognition</a></dt><dt>network neighborhood, <a class="indexterm" href="NetworkBrowsing.html#id2591595">Behavior of Cross-Subnet Browsing</a></dt><dt>network policies, <a class="indexterm" href="PolicyMgmt.html#id2664962">Creating and Managing System Policies</a></dt><dt>network security, <a class="indexterm" href="NT4Migration.html#id2685596">Domain Layout</a></dt><dt>network segment, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a>, <a class="indexterm" href="NT4Migration.html#id2685596">Domain Layout</a></dt><dt>Network settings, <a class="indexterm" href="NetworkBrowsing.html#id2591424">Cross-Subnet Browsing</a></dt><dt>network sniffer, <a class="indexterm" href="passdb.html#id2594426">Advantages of Encrypted Passwords</a></dt><dt>network storage, <a class="indexterm" href="Backup.html#id2677606">BackupPC</a></dt><dt>network traffic, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a></dt><dt>networked workstation, <a class="indexterm" href="winbind.html#id2660159">Name Service Switch</a></dt><dt>networking advocates, <a class="indexterm" href="Backup.html#id2677509">Discussion of Backup Solutions</a></dt><dt>networking environment, <a class="indexterm" href="passdb.html#id2595454">Caution Regarding LDAP and Samba</a></dt><dt>networking systems, <a class="indexterm" href="ClientConfig.html#id2584425">Common Errors</a></dt><dt>networks access, <a class="indexterm" href="speed.html#id2697380">Samba Performance is Very Slow</a></dt><dt>Networks Properties, <a class="indexterm" href="ClientConfig.html#id2583981">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>new account, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>new parameters, <a class="indexterm" href="upgrading-to-3.0.html#id2683055">New Parameters</a></dt><dt>newsgroup, <a class="indexterm" href="bugreport.html#id2692107">Introduction</a></dt><dt>Nexus toolkit, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>Nexus.exe, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#id2576317">Managing Domain Machine Accounts using NT4 Server Manager</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663712">Remote Server Administration</a></dt><dt>NFS, <a class="indexterm" href="domain-member.html#id2579543">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2664260">Remote Management with ThinLinc</a>, <a class="indexterm" href="SambaHA.html#id2678695">The Distributed File System Challenge</a>, <a class="indexterm" href="SambaHA.html#id2678822">Restrictive Constraints on Distributed File Systems</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684984">IdMap LDAP Support</a></dt><dt>NFS clients, <a class="indexterm" href="locking.html#id2622603">UNIX or NFS Client-Accessed Files</a></dt><dt>NIS, <a class="indexterm" href="ServerType.html#id2565518">Share-Level Security</a>, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a>, <a class="indexterm" href="passdb.html#id2599442">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="winbind.html#id2660159">Name Service Switch</a></dt><dt>NIS database, <a class="indexterm" href="winbind.html#id2660391">Pluggable Authentication Modules</a></dt><dt>nmbd, <a class="indexterm" href="install.html#id2558977">Starting Samba</a>, <a class="indexterm" href="install.html#id2559391">Test Your Config File with testparm</a>, <a class="indexterm" href="FastStart.html#id2561292">Secure Read-Write File and Print Server</a>, <a class="indexterm" href="FastStart.html#id2562116">Example Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585793">What Is Browsing?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2590976">Browsing Support in Samba</a>, <a class="indexterm" href="NetworkBrowsing.html#id2592464">Flushing the Samba NetBIOS Name Cache</a>, <a class="indexterm" href="idmapper.html#id2611972">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="winbind.html#id2660951">Testing Things Out</a>, <a class="indexterm" href="winbind.html#id2662345">Linux</a>, <a class="indexterm" href="winbind.html#id2662551">Solaris</a>, <a class="indexterm" href="cfgsmarts.html#id2679993">Multiple Server Hosting</a>, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a>, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a>, <a class="indexterm" href="problems.html#id2690988">Debugging with Samba Itself</a>, <a class="indexterm" href="speed.html#id2697284">Corrupt tdb Files</a></dt><dt>nmblookup, <a class="indexterm" href="integrate-ms-networks.html#id2675201">The NetBIOS Name Cache</a>, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>No NetBIOS layer, <a class="indexterm" href="NetworkBrowsing.html#id2586870">TCP/IP without NetBIOS</a></dt><dt>no network logon service, <a class="indexterm" href="StandAloneServer.html#id2580328">Background</a></dt><dt>no printcap file, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>nobody, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>nobody account, <a class="indexterm" href="classicalprinting.html#id2632121">Custom Print Commands</a>, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></dt><dt>node-type, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a></dt><dt>NoMachine, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></dt><dt>NoMachine.Com, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></dt><dt>non-authentication-based account management, <a class="indexterm" href="pam.html#id2672001">Anatomy of /etc/pam.d Entries</a></dt><dt>non-authoritative, <a class="indexterm" href="NetworkBrowsing.html#id2591595">Behavior of Cross-Subnet Browsing</a></dt><dt>non-LDAP</dt><dd><dl><dt>backend, <a class="indexterm" href="samba-bdc.html#id2571862">Features and Benefits</a></dt></dl></dd><dt>non-member Windows client, <a class="indexterm" href="passdb.html#id2594631">Mapping User Identifiers between MS Windows and UNIX</a></dt><dt>non-PostScript, <a class="indexterm" href="CUPS-printing.html#id2642028">CUPS Also Uses PPDs for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2645069">PostScript Printer Descriptions for Non-PostScript Printers</a></dt><dt>non-PostScript printers, <a class="indexterm" href="CUPS-printing.html#id2643098">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2652928">Foomatic Database-Generated PPDs</a></dt><dt>nonhierarchical, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a></dt><dt>nontransitive, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a></dt><dt>normal color, <a class="indexterm" href="CUPS-printing.html#id2644365">The Role of cupsomatic/foomatic</a></dt><dt>normal user, <a class="indexterm" href="NetCommand.html#id2607406">Administering User Rights and Privileges</a></dt><dt>not domain member, <a class="indexterm" href="StandAloneServer.html#id2580328">Background</a></dt><dt>not domain members, <a class="indexterm" href="StandAloneServer.html">Standalone Servers</a></dt><dt>not part of domain, <a class="indexterm" href="NetworkBrowsing.html#id2589928">WINS Server Configuration</a></dt><dt>not stored anywhere, <a class="indexterm" href="passdb.html#id2594426">Advantages of Encrypted Passwords</a></dt><dt>not transitive, <a class="indexterm" href="InterdomainTrusts.html#id2627167">NT4-Style Domain Trusts with Windows 2000</a></dt><dt>Novell, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a>, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a></dt><dt>Novell eDirectory server, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>NSS, <a class="indexterm" href="StandAloneServer.html#id2580328">Background</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2599139">ldapsam</a>, <a class="indexterm" href="passdb.html#id2599442">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2600550">Accounts and Groups Management</a>, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2612670">IDMAP_RID with Winbind</a>, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2659643">What Winbind Provides</a>, <a class="indexterm" href="winbind.html#id2659968">How Winbind Works</a>, <a class="indexterm" href="winbind.html#id2660159">Name Service Switch</a>, <a class="indexterm" href="winbind.html#id2662740">Configure Winbind and PAM</a>, <a class="indexterm" href="winbind.html#id2663370">Conclusion</a></dt><dt>nsswitch.conf, <a class="indexterm" href="ServerType.html#id2565518">Share-Level Security</a></dt><dt>nss_ldap, <a class="indexterm" href="samba-bdc.html#id2574222">Example Configuration</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2613846">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></dt><dt>nss_winbind.so.1, <a class="indexterm" href="winbind.html#id2661038">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>NT domain, <a class="indexterm" href="winbind.html#id2659643">What Winbind Provides</a></dt><dt>NT groups, <a class="indexterm" href="domain-member.html#id2577904">Why Is This Better Than security = server?</a>, <a class="indexterm" href="groupmapping.html#id2603585">Default Users, Groups, and Relative Identifiers</a></dt><dt>NT migration scripts, <a class="indexterm" href="passdb.html#id2599139">ldapsam</a></dt><dt>NT password, <a class="indexterm" href="passdb.html#id2597225">Listing User and Machine Accounts</a></dt><dt>NT Server Manager, <a class="indexterm" href="AccessControls.html#id2619218">Windows NT4 Workstation/Server</a></dt><dt>NT-controlled domain, <a class="indexterm" href="InterdomainTrusts.html#id2626971">Samba as the Trusting Domain</a></dt><dt>NT-encrypted password, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>NT-encrypted passwords, <a class="indexterm" href="passdb.html#id2593352">Backward Compatibility Account Storage Systems</a></dt><dt>NT4, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a></dt><dt>NT4 Domain, <a class="indexterm" href="idmapper.html#id2610560">Standalone Samba Server</a></dt><dt>NT4 domain, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a></dt><dt>NT4 domain members, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a></dt><dt>NT4 style policy updates, <a class="indexterm" href="PolicyMgmt.html#id2665958">Managing Account/User Policies</a></dt><dt>NT4 User Manager for Domains, <a class="indexterm" href="rights.html#id2614798">Using the “net rpc rights” Utility</a></dt><dt>NT4-style, <a class="indexterm" href="InterdomainTrusts.html#id2627167">NT4-Style Domain Trusts with Windows 2000</a></dt><dt>NT4-style domain, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a></dt><dt>NT4-style domains, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a></dt><dt>Nt4sp6ai.exe, <a class="indexterm" href="PolicyMgmt.html#id2665288">Windows NT4-Style Policy Files</a></dt><dt>NTConfig.POL, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2575193">Features and Benefits</a>, <a class="indexterm" href="PolicyMgmt.html#id2665151">Windows 9x/ME Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2665470">Registry Spoiling</a>, <a class="indexterm" href="PolicyMgmt.html#id2665509">MS Windows 200x/XP Professional Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2665713">Administration of Windows 200x/XP Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2665958">Managing Account/User Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2666198">Samba Editreg Toolset</a>, <a class="indexterm" href="ProfileMgmt.html#id2669587">MS Windows NT4 Workstation</a>, <a class="indexterm" href="NT4Migration.html#id2686687">Samba-3 Implementation Choices</a></dt><dt>ntconfig.pol, <a class="indexterm" href="PolicyMgmt.html#id2665288">Windows NT4-Style Policy Files</a></dt><dt>ntdrivers.tdb, <a class="indexterm" href="classicalprinting.html#prt-modeset">Setting Device Modes on New Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2651551">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>ntforms.tdb, <a class="indexterm" href="classicalprinting.html#prt-modeset">Setting Device Modes on New Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2651551">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>NTFS, <a class="indexterm" href="ChangeNotes.html#id2584733">User and Group Changes</a>, <a class="indexterm" href="AccessControls.html#id2616851">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>NTLMv2, <a class="indexterm" href="securing-samba.html#id2625141">NTLMv2 Security</a></dt><dt>ntlm_auth, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></dt><dt>ntprinters.tdb, <a class="indexterm" href="classicalprinting.html#prt-modeset">Setting Device Modes on New Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2651551">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>NTUser.DAT, <a class="indexterm" href="PolicyMgmt.html#id2666198">Samba Editreg Toolset</a>, <a class="indexterm" href="ProfileMgmt.html#id2669181">Mandatory Profiles</a>, <a class="indexterm" href="NT4Migration.html#id2686687">Samba-3 Implementation Choices</a></dt><dt>NTuser.DAT, <a class="indexterm" href="ProfileMgmt.html#id2668056">Windows NT4 Workstation</a>, <a class="indexterm" href="ProfileMgmt.html#id2668731">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a>, <a class="indexterm" href="NT4Migration.html#id2686039">Profile Migration/Creation</a></dt><dt>NTuser.MAN, <a class="indexterm" href="ProfileMgmt.html#id2668056">Windows NT4 Workstation</a></dt><dt>NTUser.MAN, <a class="indexterm" href="ProfileMgmt.html#id2669181">Mandatory Profiles</a></dt><dt>NT_STATUS_LOGON_FAILURE, <a class="indexterm" href="upgrading-to-3.0.html#id2684135">Changes in Behavior</a></dt><dt>NT_STATUS_UNSUCCESSFUL, <a class="indexterm" href="classicalprinting.html#id2635038">Running rpcclient with adddriver</a></dt><dt>null shell, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a></dt><dt>NX, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></dt></dl></div><div class="indexdiv"><h3>O</h3><dl><dt>object class, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a></dt><dt>object class declaration, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a></dt><dt>object module dependencies, <a class="indexterm" href="winbind.html#id2661038">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>ObjectClass, <a class="indexterm" href="passdb.html#id2599442">Schema and Relationship to the RFC 2307 posixAccount</a></dt><dt>ObjectClasses, <a class="indexterm" href="passdb.html#id2599442">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2599668">OpenLDAP Configuration</a></dt><dt>obtuse complexity, <a class="indexterm" href="NT4Migration.html#id2685798">Server Share and Directory Layout</a></dt><dt>office server, <a class="indexterm" href="FastStart.html#id2561292">Secure Read-Write File and Print Server</a></dt><dt>OID, <a class="indexterm" href="passdb.html#id2599442">Schema and Relationship to the RFC 2307 posixAccount</a></dt><dt>old sambaAccount, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a></dt><dt>Omni, <a class="indexterm" href="CUPS-printing.html#id2652740">Driver Development Outside</a></dt><dt>on the fly, <a class="indexterm" href="domain-member.html#id2576878">Windows NT4 Client</a></dt><dt>on-the-fly, <a class="indexterm" href="idmapper.html#id2611579">Primary Domain Controller</a></dt><dt>on-the-fly logon scripts, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>on-the-fly policy files, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>one direction, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a></dt><dt>one domain, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a></dt><dt>one-way trust, <a class="indexterm" href="InterdomainTrusts.html#id2626421">Interdomain Trust Facilities</a></dt><dt>only one WINS server, <a class="indexterm" href="NetworkBrowsing.html#id2589928">WINS Server Configuration</a></dt><dt>OpenGFS, <a class="indexterm" href="SambaHA.html#id2678695">The Distributed File System Challenge</a></dt><dt>OpenLDAP, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-bdc.html#id2573025">LDAP Configuration Notes</a>, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a>, <a class="indexterm" href="ChangeNotes.html#id2585347">LDAP Changes in Samba-3.0.23</a>, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2599387">Supported LDAP Servers</a>, <a class="indexterm" href="passdb.html#id2599442">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2599668">OpenLDAP Configuration</a>, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>OpenLDAP backend, <a class="indexterm" href="passdb.html#id2593352">Backward Compatibility Account Storage Systems</a></dt><dt>OpenSSL, <a class="indexterm" href="SWAT.html#id2687958">Securing SWAT through SSL</a>, <a class="indexterm" href="ch-ldap-tls.html#s1-config-ldap-tls-certs">Generating the Certificate Authority</a></dt><dt>operating costs, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>operating system search path, <a class="indexterm" href="SWAT.html#id2687391">Locating the SWAT File</a></dt><dt>oplock, <a class="indexterm" href="SambaHA.html#id2678695">The Distributed File System Challenge</a></dt><dt>oplock break, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a>, <a class="indexterm" href="locking.html#id2622797">Beware of Force User</a></dt><dt>oplock handling, <a class="indexterm" href="SambaHA.html#id2678822">Restrictive Constraints on Distributed File Systems</a></dt><dt>oplock mechanism, <a class="indexterm" href="locking.html#id2622885">Advanced Samba Oplocks Parameters</a></dt><dt>oplock messages, <a class="indexterm" href="SambaHA.html#id2679038">Required Modifications to Samba</a></dt><dt>oplock parameters, <a class="indexterm" href="locking.html#id2622885">Advanced Samba Oplocks Parameters</a></dt><dt>oplocks, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>oplocks disabled, <a class="indexterm" href="locking.html#id2622686">Multiuser Databases</a></dt><dt>oplocks management, <a class="indexterm" href="locking.html#id2622728">PDM Data Shares</a></dt><dt>opportunistic locking, <a class="indexterm" href="locking.html#id2621671">Features and Benefits</a>, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>Opportunistic locking, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>optional, <a class="indexterm" href="pam.html#id2672001">Anatomy of /etc/pam.d Entries</a></dt><dt>ordinary connection, <a class="indexterm" href="InterdomainTrusts.html#id2626971">Samba as the Trusting Domain</a></dt><dt>Organization for the Advancement of Structured Information Standards (see OASIS)</dt><dt>organizational directory, <a class="indexterm" href="domain-member.html#ads-create-machine-account">Create the Computer Account</a></dt><dt>organizational unit, <a class="indexterm" href="domain-member.html#ads-create-machine-account">Create the Computer Account</a> (see OU)</dt><dt>os level, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a></dt><dt>OSS/Free Software, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></dt><dt>other, <a class="indexterm" href="AccessControls.html#id2617311">File and Directory Access Control</a></dt><dt>output duplexing, <a class="indexterm" href="CUPS-printing.html#id2643286">pstops</a></dt><dt>outside threat, <a class="indexterm" href="securing-samba.html#id2624429">Using Host-Based Protection</a></dt><dt>own home directory, <a class="indexterm" href="securing-samba.html#id2625284">Why Can Users Access Other Users' Home Directories?</a></dt><dt>ownership, <a class="indexterm" href="AccessControls.html#id2619677">Viewing File Ownership</a></dt><dt>ownership cost, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>ownership rights, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a></dt></dl></div><div class="indexdiv"><h3>P</h3><dl><dt>p-node, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a></dt><dt>package, <a class="indexterm" href="install.html#id2559157">Example Configuration</a></dt><dt>packages, <a class="indexterm" href="install.html#id2557993">Obtaining and Installing Samba</a></dt><dt>packet sniffer, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a></dt><dt>packet trace, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a></dt><dt>PADL, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2613261">IDMAP Storage in LDAP Using Winbind</a></dt><dt>PADL Software, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a></dt><dt>page description languages (see PDL)</dt><dt>pager program, <a class="indexterm" href="classicalprinting.html#id2628739">Simple Print Configuration</a></dt><dt>page_log, <a class="indexterm" href="CUPS-printing.html#id2653798">The page_log File Syntax</a></dt><dt>paid-for support, <a class="indexterm" href="ch47.html">Samba Support</a></dt><dt>PAM, <a class="indexterm" href="StandAloneServer.html#id2580328">Background</a>, <a class="indexterm" href="passdb.html#id2593352">Backward Compatibility Account Storage Systems</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2598639">Plaintext</a>, <a class="indexterm" href="passdb.html#id2599139">ldapsam</a>, <a class="indexterm" href="winbind.html#id2659968">How Winbind Works</a>, <a class="indexterm" href="winbind.html#id2660391">Pluggable Authentication Modules</a>, <a class="indexterm" href="winbind.html#id2660799">Requirements</a>, <a class="indexterm" href="winbind.html#id2660951">Testing Things Out</a>, <a class="indexterm" href="winbind.html#id2661038">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a>, <a class="indexterm" href="winbind.html#id2662740">Configure Winbind and PAM</a>, <a class="indexterm" href="winbind.html#id2663370">Conclusion</a>, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a>, <a class="indexterm" href="pam.html#id2671868">Technical Discussion</a></dt><dt>PAM authentication module, <a class="indexterm" href="pam.html#id2671922">PAM Configuration Syntax</a></dt><dt>PAM configuration, <a class="indexterm" href="winbind.html#id2660799">Requirements</a></dt><dt>PAM management, <a class="indexterm" href="pam.html">PAM-Based Distributed Authentication</a></dt><dt>PAM module, <a class="indexterm" href="winbind.html#id2661436">NSS Winbind on AIX</a></dt><dt>PAM modules, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>PAM-capable, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>pam-devel, <a class="indexterm" href="winbind.html#id2661038">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a></dt><dt>PAM-enabled, <a class="indexterm" href="winbind.html#id2659643">What Winbind Provides</a>, <a class="indexterm" href="pam.html">PAM-Based Distributed Authentication</a>, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>PAM-specific tokens, <a class="indexterm" href="pam.html#id2671922">PAM Configuration Syntax</a></dt><dt>pam_krb5.so, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>pam_ldap, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a></dt><dt>pam_ldap.so, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>pam_mkhomedir, <a class="indexterm" href="winbind.html#id2662906">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>pam_ncp_auth.so, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>pam_pwdb.so, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>pam_securetty.so, <a class="indexterm" href="winbind.html#id2662906">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>pam_smbpass.so, <a class="indexterm" href="pam.html">PAM-Based Distributed Authentication</a>, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>pam_smbpasswd.so, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>pam_smb_auth.so, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>pam_unix.so, <a class="indexterm" href="winbind.html#id2662906">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>pam_unix2.so, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>pam_userdb.so, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>pam_winbind.so, <a class="indexterm" href="winbind.html#id2660391">Pluggable Authentication Modules</a>, <a class="indexterm" href="winbind.html#id2662740">Configure Winbind and PAM</a>, <a class="indexterm" href="winbind.html#id2662906">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>parameters, <a class="indexterm" href="classicalprinting.html#id2629220">Rapid Configuration Validation</a></dt><dt>paranoid, <a class="indexterm" href="winbind.html#id2661984">Starting and Testing the winbindd Daemon</a></dt><dt>passdb, <a class="indexterm" href="samba-bdc.html#id2574730">Machine Accounts Keep Expiring</a></dt><dt>passdb backend, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a>, <a class="indexterm" href="ChangeNotes.html#id2585226">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a>, <a class="indexterm" href="passdb.html#id2596033">The smbpasswd Tool</a>, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a>, <a class="indexterm" href="passdb.html#id2597548">Deleting Accounts</a>, <a class="indexterm" href="passdb.html#id2598981">tdbsam</a>, <a class="indexterm" href="groupmapping.html#id2603585">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2611579">Primary Domain Controller</a>, <a class="indexterm" href="rights.html#id2615970">The Administrator Domain SID</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684818">New Suffix for Searching</a></dt><dt>passdb backends, <a class="indexterm" href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></dt><dt>passed across the network, <a class="indexterm" href="passdb.html#id2594426">Advantages of Encrypted Passwords</a></dt><dt>passwd, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2596033">The smbpasswd Tool</a>, <a class="indexterm" href="winbind.html#id2660159">Name Service Switch</a>, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>password, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a>, <a class="indexterm" href="InterdomainTrusts.html#id2626971">Samba as the Trusting Domain</a>, <a class="indexterm" href="pam.html#id2672001">Anatomy of /etc/pam.d Entries</a></dt><dd><dl><dt>plaintext, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a></dt></dl></dd><dt>password aging, <a class="indexterm" href="passdb.html#acctmgmttools">Account Management Tools</a></dt><dt>password assigned, <a class="indexterm" href="InterdomainTrusts.html#id2626335">Completing an NT4 Domain Trust</a></dt><dt>password backend, <a class="indexterm" href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a>, <a class="indexterm" href="passdb.html#id2597225">Listing User and Machine Accounts</a></dt><dt>password backends, <a class="indexterm" href="passdb.html">Account Information Databases</a></dt><dt>password change facility, <a class="indexterm" href="SWAT.html#xinetd">Enabling SWAT for Use</a></dt><dt>password database, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a>, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>password encryption, <a class="indexterm" href="passdb.html#id2598639">Plaintext</a></dt><dt>password expiration, <a class="indexterm" href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a></dt><dt>password expired, <a class="indexterm" href="passdb.html#id2597632">Changing User Accounts</a></dt><dt>password history, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></dt><dt>password management, <a class="indexterm" href="winbind.html#id2660391">Pluggable Authentication Modules</a></dt><dt>password prompt, <a class="indexterm" href="passdb.html#id2594426">Advantages of Encrypted Passwords</a></dt><dt>password scheme, <a class="indexterm" href="passdb.html#id2594111">Important Notes About Security</a></dt><dt>password server, <a class="indexterm" href="ServerType.html#id2566348">Server Security (User Level Security)</a>, <a class="indexterm" href="domain-member.html#id2578186">Configure smb.conf</a></dt><dt>password uniqueness, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></dt><dt>passwords, <a class="indexterm" href="winbind.html#id2659554">Introduction</a></dt><dt>patch, <a class="indexterm" href="bugreport.html#id2692892">Patches</a></dt><dt>path specified, <a class="indexterm" href="domain-member.html#id2579865">Adding Machine to Domain Fails</a></dt><dt>pauses, <a class="indexterm" href="speed.html#id2697380">Samba Performance is Very Slow</a></dt><dt>PBM, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt><dt>PCL, <a class="indexterm" href="CUPS-printing.html#gdipost">GDI on Windows, PostScript on UNIX</a>, <a class="indexterm" href="CUPS-printing.html#id2641134">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2641313">UNIX Printfile Conversion and GUI Basics</a>, <a class="indexterm" href="CUPS-printing.html#id2646240">Printing with Interface Scripts</a>, <a class="indexterm" href="CUPS-printing.html#id2646485">Driver Execution on the Server</a>, <a class="indexterm" href="CUPS-printing.html#id2646878">Network PostScript RIP</a></dt><dt>pdbedit, <a class="indexterm" href="FastStart.html#id2562964">Example: Engineering Office</a>, <a class="indexterm" href="passdb.html#acctmgmttools">Account Management Tools</a>, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a>, <a class="indexterm" href="passdb.html#id2597109">User Account Management</a>, <a class="indexterm" href="passdb.html#id2597225">Listing User and Machine Accounts</a>, <a class="indexterm" href="passdb.html#id2597460">Adding User Accounts</a>, <a class="indexterm" href="passdb.html#id2597548">Deleting Accounts</a>, <a class="indexterm" href="passdb.html#id2597632">Changing User Accounts</a>, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a>, <a class="indexterm" href="passdb.html#id2598461">Account Import/Export</a>, <a class="indexterm" href="rights.html#id2615970">The Administrator Domain SID</a>, <a class="indexterm" href="PolicyMgmt.html#id2666320">Samba PDC</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2682386">Quick Migration Guide</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684231">Passdb Backends and Authentication</a>, <a class="indexterm" href="NT4Migration.html#id2686132">Steps in Migration Process</a>, <a class="indexterm" href="NT4Migration.html#id2686687">Samba-3 Implementation Choices</a></dt><dt>pdb_ldap, <a class="indexterm" href="samba-bdc.html#id2574945">Can I Do This All with LDAP?</a></dt><dt>PDC, <a class="indexterm" href="ServerType.html#id2565710">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="ServerType.html#id2565925">Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a>, <a class="indexterm" href="samba-pdc.html#id2570985">Security Mode and Master Browsers</a>, <a class="indexterm" href="samba-bdc.html#id2571862">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2572774">Example PDC Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2573025">LDAP Configuration Notes</a>, <a class="indexterm" href="samba-bdc.html#id2573448">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2574222">Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2574784">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="domain-member.html#id2577904">Why Is This Better Than security = server?</a>, <a class="indexterm" href="domain-member.html#id2579865">Adding Machine to Domain Fails</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2588376">Domain Browsing Configuration</a>, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2594426">Advantages of Encrypted Passwords</a>, <a class="indexterm" href="passdb.html#id2598981">tdbsam</a>, <a class="indexterm" href="passdb.html#id2600899">LDAP Special Attributes for sambaSamAccounts</a>, <a class="indexterm" href="groupmapping.html#id2602374">Discussion</a>, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2611579">Primary Domain Controller</a>, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a>, <a class="indexterm" href="InterdomainTrusts.html#id2626971">Samba as the Trusting Domain</a>, <a class="indexterm" href="CUPS-printing.html#id2649245">cupsaddsmb with a Samba PDC</a>, <a class="indexterm" href="winbind.html#id2659842">Handling of Foreign SIDs</a>, <a class="indexterm" href="winbind.html#id2660018">Microsoft Remote Procedure Calls</a>, <a class="indexterm" href="winbind.html#id2660391">Pluggable Authentication Modules</a>, <a class="indexterm" href="winbind.html#id2660622">Result Caching</a>, <a class="indexterm" href="winbind.html#id2660684">Introduction</a>, <a class="indexterm" href="winbind.html#id2661746">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="winbind.html#id2661984">Starting and Testing the winbindd Daemon</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a>, <a class="indexterm" href="NT4Migration.html#id2685596">Domain Layout</a>, <a class="indexterm" href="problems.html#id2691801">Getting Mailing List Help</a>, <a class="indexterm" href="speed.html#id2697284">Corrupt tdb Files</a></dt><dt>PDF, <a class="indexterm" href="CUPS-printing.html#id2639609">Simple smb.conf Settings for CUPS</a>, <a class="indexterm" href="CUPS-printing.html#id2641134">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2641826">PostScript Printer Description (PPD) Specification</a>, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2643098">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2645689">Examples for Filtering Chains</a></dt><dt>pdf, <a class="indexterm" href="CUPS-printing.html#id2642732">MIME Type Conversion Rules</a></dt><dt>PDF distilling, <a class="indexterm" href="CUPS-printing.html#id2641826">PostScript Printer Description (PPD) Specification</a></dt><dt>PDF filter, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>pdftops, <a class="indexterm" href="CUPS-printing.html#id2642732">MIME Type Conversion Rules</a>, <a class="indexterm" href="CUPS-printing.html#id2645689">Examples for Filtering Chains</a></dt><dt>pdftosocket, <a class="indexterm" href="CUPS-printing.html#id2645689">Examples for Filtering Chains</a></dt><dt>PDL, <a class="indexterm" href="CUPS-printing.html#gdipost">GDI on Windows, PostScript on UNIX</a>, <a class="indexterm" href="CUPS-printing.html#post-and-ghost">PostScript and Ghostscript</a>, <a class="indexterm" href="CUPS-printing.html#id2641826">PostScript Printer Description (PPD) Specification</a></dt><dt>PDM, <a class="indexterm" href="locking.html#id2622728">PDM Data Shares</a></dt><dt>peer domain, <a class="indexterm" href="InterdomainTrusts.html#id2626630">Configuring Samba NT-Style Domain Trusts</a></dt><dt>Peer node, <a class="indexterm" href="NetworkBrowsing.html#id2590302">Static WINS Entries</a></dt><dt>per-share access control, <a class="indexterm" href="AccessControls.html#id2619058">Access Controls on Shares</a></dt><dt>performance, <a class="indexterm" href="largefile.html">Handling Large Directories</a>, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>performance advantage, <a class="indexterm" href="locking.html#id2621671">Features and Benefits</a></dt><dt>performance degradation, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>performance enhancement, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>performance improvement, <a class="indexterm" href="locking.html#id2622639">Slow and/or Unreliable Networks</a></dt><dt>performance-based, <a class="indexterm" href="passdb.html#id2598981">tdbsam</a></dt><dt>performed as root, <a class="indexterm" href="rights.html#id2614798">Using the “net rpc rights” Utility</a></dt><dt>perimeter firewall, <a class="indexterm" href="securing-samba.html#id2624266">Features and Benefits</a></dt><dt>permanent changes, <a class="indexterm" href="NT4Migration.html#id2686687">Samba-3 Implementation Choices</a></dt><dt>Permanent name, <a class="indexterm" href="NetworkBrowsing.html#id2590302">Static WINS Entries</a></dt><dt>permissions, <a class="indexterm" href="securing-samba.html#id2625284">Why Can Users Access Other Users' Home Directories?</a>, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dd><dl><dt>file/directory ACLs, <a class="indexterm" href="AccessControls.html#id2619559">Managing UNIX Permissions Using NT Security Dialogs</a></dt><dt>share, <a class="indexterm" href="AccessControls.html#id2617982">Share Definition Access Controls</a></dt><dt>share ACLs, <a class="indexterm" href="AccessControls.html#id2619058">Access Controls on Shares</a></dt><dt>UNIX file and directory, <a class="indexterm" href="AccessControls.html#id2616650">Features and Benefits</a></dt></dl></dd><dt>Permissions, <a class="indexterm" href="AccessControls.html#id2619323">Windows 200x/XP</a></dt><dt>permissions and controls, <a class="indexterm" href="AccessControls.html#id2616650">Features and Benefits</a></dt><dt>PGP, <a class="indexterm" href="compiling.html#id2693941">Verifying Samba's PGP Signature</a></dt><dt>phasing out NetBIOS, <a class="indexterm" href="NetworkBrowsing.html#netdiscuss">Discussion</a></dt><dt>Photo-CD, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt><dt>physical locations, <a class="indexterm" href="msdfs.html#id2627553">Features and Benefits</a></dt><dt>physical network transport layer, <a class="indexterm" href="integrate-ms-networks.html#id2674366">/etc/hosts</a></dt><dt>PID, <a class="indexterm" href="bugreport.html#id2692767">Attaching to a Running Process</a></dt><dt>pid directory, <a class="indexterm" href="cfgsmarts.html#id2679993">Multiple Server Hosting</a></dt><dt>ping, <a class="indexterm" href="NT4Migration.html#id2685596">Domain Layout</a>, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>pipe device, <a class="indexterm" href="AccessControls.html#id2617311">File and Directory Access Control</a></dt><dt>PJL, <a class="indexterm" href="CUPS-printing.html#id2646878">Network PostScript RIP</a>, <a class="indexterm" href="CUPS-printing.html#id2648429">Windows CUPS PostScript Driver Versus Adobe Driver</a>, <a class="indexterm" href="CUPS-printing.html#id2653658">Adobe and CUPS PostScript Drivers for Windows Clients</a></dt><dt>PJL-header, <a class="indexterm" href="CUPS-printing.html#id2653658">Adobe and CUPS PostScript Drivers for Windows Clients</a></dt><dt>plague network users, <a class="indexterm" href="ClientConfig.html#id2581683">TCP/IP Configuration</a></dt><dt>plain-text</dt><dd><dl><dt>passwords, <a class="indexterm" href="ServerType.html#id2566623">Password Checking</a></dt></dl></dd><dt>plaintext, <a class="indexterm" href="passdb.html#id2593352">Backward Compatibility Account Storage Systems</a></dt><dt>plaintext authentication, <a class="indexterm" href="passdb.html#id2593352">Backward Compatibility Account Storage Systems</a></dt><dt>plaintext password, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="samba-bdc.html#id2574840">How Do I Replicate the smbpasswd File?</a></dt><dt>plaintext passwords, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a>, <a class="indexterm" href="passdb.html#id2594111">Important Notes About Security</a></dt><dt>platforms, <a class="indexterm" href="Portability.html">Portability</a></dt><dt>PLP, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>Pluggable Authentication Modules (see PAM)</dt><dt>PNG, <a class="indexterm" href="CUPS-printing.html#id2641672">Ghostscript: The Software RIP for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt><dt>PNM, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt><dt>point 'n' print, <a class="indexterm" href="CUPS-printing.html#id2640534">Installation of Windows Client Drivers</a>, <a class="indexterm" href="CUPS-printing.html#id2648647">Run cupsaddsmb (Quiet Mode)</a>, <a class="indexterm" href="CUPS-printing.html#id2650449">Manual Driver Installation in 15 Steps</a></dt><dt>Point'n'Print, <a class="indexterm" href="classicalprinting.html#id2628204">Features and Benefits</a>, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a>, <a class="indexterm" href="classicalprinting.html#id2632790">Point'n'Print Client Drivers on Samba Servers</a>, <a class="indexterm" href="classicalprinting.html#id2634901">smbclient to Confirm Driver Installation</a></dt><dt>point'n'print, <a class="indexterm" href="CUPS-printing.html#id2640821">Driver Upload Methods</a>, <a class="indexterm" href="CUPS-printing.html#id2644365">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2649407">Installing the PostScript Driver on a Client</a></dt><dt>Poledit, <a class="indexterm" href="PolicyMgmt.html#id2665713">Administration of Windows 200x/XP Policies</a></dt><dt>poledit.exe, <a class="indexterm" href="PolicyMgmt.html#id2664962">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2665288">Windows NT4-Style Policy Files</a>, <a class="indexterm" href="PolicyMgmt.html#id2665713">Administration of Windows 200x/XP Policies</a></dt><dt>Policies, <a class="indexterm" href="PolicyMgmt.html#id2664962">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2665958">Managing Account/User Policies</a></dt><dt>policies, <a class="indexterm" href="NT4Migration.html#id2686687">Samba-3 Implementation Choices</a></dt><dt>policy editor, <a class="indexterm" href="PolicyMgmt.html#id2664962">Creating and Managing System Policies</a></dt><dt>Policy Editor, <a class="indexterm" href="PolicyMgmt.html#id2665288">Windows NT4-Style Policy Files</a></dt><dt>policy file , <a class="indexterm" href="PolicyMgmt.html#id2665958">Managing Account/User Policies</a></dt><dt>policy files, <a class="indexterm" href="domain-member.html#id2575193">Features and Benefits</a></dt><dt>policy settings, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a></dt><dt>port 135, <a class="indexterm" href="NetworkBrowsing.html#id2589238">Multiple Interfaces</a></dt><dt>Port 135/TCP, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>port 137, <a class="indexterm" href="NetworkBrowsing.html#id2589238">Multiple Interfaces</a>, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>Port 137/UDP, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>port 138, <a class="indexterm" href="NetworkBrowsing.html#id2589238">Multiple Interfaces</a></dt><dt>Port 138/UDP, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>port 139, <a class="indexterm" href="NetworkBrowsing.html#id2589238">Multiple Interfaces</a></dt><dt>Port 139/TCP, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>port 445, <a class="indexterm" href="NetworkBrowsing.html#id2589238">Multiple Interfaces</a></dt><dt>Port 445/TCP, <a class="indexterm" href="securing-samba.html#firewallports">Using a Firewall</a></dt><dt>ports, <a class="indexterm" href="classicalprinting.html#id2629022">Verifying Configuration with testparm</a>, <a class="indexterm" href="problems.html#id2691294">Ethereal</a></dt><dt>POSIX, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a>, <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2600550">Accounts and Groups Management</a>, <a class="indexterm" href="NetCommand.html#id2605667">Adding or Creating a New Group</a></dt><dt>POSIX account, <a class="indexterm" href="passdb.html#id2597109">User Account Management</a>, <a class="indexterm" href="NetCommand.html#id2606994">UNIX and Windows User Management</a></dt><dt>POSIX ACLs, <a class="indexterm" href="AccessControls.html#id2617311">File and Directory Access Control</a>, <a class="indexterm" href="AccessControls.html#id2617728">Protecting Directories and Files from Deletion</a></dt><dt>POSIX ACLS, <a class="indexterm" href="NT4Migration.html#id2686687">Samba-3 Implementation Choices</a></dt><dt>POSIX identity, <a class="indexterm" href="passdb.html#id2595454">Caution Regarding LDAP and Samba</a></dt><dt>POSIX locks, <a class="indexterm" href="SambaHA.html#id2678898">Server Pool Communications</a></dt><dt>POSIX semantics, <a class="indexterm" href="SambaHA.html#id2678898">Server Pool Communications</a></dt><dt>POSIX user accounts, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a></dt><dt>posixAccount, <a class="indexterm" href="passdb.html#id2599442">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2599668">OpenLDAP Configuration</a></dt><dt>posixGroup, <a class="indexterm" href="passdb.html#id2599668">OpenLDAP Configuration</a>, <a class="indexterm" href="passdb.html#id2600550">Accounts and Groups Management</a></dt><dt>PostScript, <a class="indexterm" href="CUPS-printing.html#id2639609">Simple smb.conf Settings for CUPS</a>, <a class="indexterm" href="CUPS-printing.html#id2640942">Advanced Intelligent Printing with PostScript Driver Download</a>, <a class="indexterm" href="CUPS-printing.html#gdipost">GDI on Windows, PostScript on UNIX</a>, <a class="indexterm" href="CUPS-printing.html#id2641134">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2641313">UNIX Printfile Conversion and GUI Basics</a>, <a class="indexterm" href="CUPS-printing.html#post-and-ghost">PostScript and Ghostscript</a>, <a class="indexterm" href="CUPS-printing.html#id2641826">PostScript Printer Description (PPD) Specification</a>, <a class="indexterm" href="CUPS-printing.html#id2641909">Using Windows-Formatted Vendor PPDs</a>, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2643098">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2643286">pstops</a>, <a class="indexterm" href="CUPS-printing.html#id2645069">PostScript Printer Descriptions for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2645689">Examples for Filtering Chains</a>, <a class="indexterm" href="CUPS-printing.html#id2646485">Driver Execution on the Server</a>, <a class="indexterm" href="CUPS-printing.html#id2646878">Network PostScript RIP</a>, <a class="indexterm" href="CUPS-printing.html#id2647151">CUPS: A “Magical Stone”?</a>, <a class="indexterm" href="CUPS-printing.html#id2647194">PostScript Drivers with No Major Problems, Even in Kernel 6 Mode</a>, <a class="indexterm" href="CUPS-printing.html#id2647683">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#id2634683">Installing Driver Files into [print$]</a></dt><dt>PostScript interpreter, <a class="indexterm" href="CUPS-printing.html#post-and-ghost">PostScript and Ghostscript</a></dt><dt>PostScript Printer Description (see PPD)</dt><dt>PostScript printers, <a class="indexterm" href="CUPS-printing.html#id2654628">Printing from CUPS to Windows-Attached Printers</a></dt><dt>potential master browsers, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>potential printer, <a class="indexterm" href="classicalprinting.html#id2633298">[print$] Stanza Parameters</a></dt><dt>Power Users, <a class="indexterm" href="rights.html#id2616153">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>powerful, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a></dt><dt>PPD, <a class="indexterm" href="classicalprinting.html#id2634683">Installing Driver Files into [print$]</a>, <a class="indexterm" href="CUPS-printing.html#post-and-ghost">PostScript and Ghostscript</a>, <a class="indexterm" href="CUPS-printing.html#id2641826">PostScript Printer Description (PPD) Specification</a>, <a class="indexterm" href="CUPS-printing.html#id2642028">CUPS Also Uses PPDs for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a>, <a class="indexterm" href="CUPS-printing.html#id2644682">“Raw” Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2645069">PostScript Printer Descriptions for Non-PostScript Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2646968">PPDs for Non-PS Printers on UNIX</a>, <a class="indexterm" href="CUPS-printing.html#id2647013">PPDs for Non-PS Printers on Windows</a>, <a class="indexterm" href="CUPS-printing.html#id2647151">CUPS: A “Magical Stone”?</a>, <a class="indexterm" href="CUPS-printing.html#id2649407">Installing the PostScript Driver on a Client</a>, <a class="indexterm" href="CUPS-printing.html#id2653658">Adobe and CUPS PostScript Drivers for Windows Clients</a>, <a class="indexterm" href="CUPS-printing.html#id2654628">Printing from CUPS to Windows-Attached Printers</a></dt><dd><dl><dt>CUPS (see CUPS-PPD)</dt></dl></dd><dt>PPD-aware, <a class="indexterm" href="CUPS-printing.html#post-and-ghost">PostScript and Ghostscript</a></dt><dt>PPDs, <a class="indexterm" href="CUPS-printing.html#id2641909">Using Windows-Formatted Vendor PPDs</a>, <a class="indexterm" href="CUPS-printing.html#id2644365">The Role of cupsomatic/foomatic</a>, <a class="indexterm" href="CUPS-printing.html#id2652612">The Grand Unification Achieved</a></dt><dt>PPP, <a class="indexterm" href="securing-samba.html#id2624642">Using Interface Protection</a></dt><dt>precedence, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></dt><dt>preferred master, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a></dt><dt>prefilter, <a class="indexterm" href="CUPS-printing.html#id2643723">imagetops and imagetoraster</a></dt><dt>prefilters, <a class="indexterm" href="CUPS-printing.html#id2643098">Prefilters</a></dt><dt>primary domain controller, <a class="indexterm" href="cfgsmarts.html#id2681404">Multiple Virtual Server Hosting</a></dt><dt>primary group, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a></dt><dt>Primary Logon, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a></dt><dt>Primary WINS Server, <a class="indexterm" href="NetworkBrowsing.html#id2589928">WINS Server Configuration</a></dt><dt>print, <a class="indexterm" href="classicalprinting.html#id2629022">Verifying Configuration with testparm</a></dt><dd><dl><dt>queue, <a class="indexterm" href="install.html#id2558075">Configuration File Syntax</a></dt><dt>spooler, <a class="indexterm" href="install.html#id2558075">Configuration File Syntax</a></dt></dl></dd><dt>print accounting, <a class="indexterm" href="classicalprinting.html#id2628204">Features and Benefits</a></dt><dt>print command, <a class="indexterm" href="classicalprinting.html#id2631500">Print Commands</a></dt><dt>print commands, <a class="indexterm" href="classicalprinting.html#id2632121">Custom Print Commands</a></dt><dt>print configuration, <a class="indexterm" href="classicalprinting.html#id2628427">Technical Introduction</a>, <a class="indexterm" href="classicalprinting.html#id2629022">Verifying Configuration with testparm</a></dt><dt>print environment, <a class="indexterm" href="classicalprinting.html#id2628739">Simple Print Configuration</a></dt><dt>print filtering, <a class="indexterm" href="classicalprinting.html#id2628427">Technical Introduction</a></dt><dt>print job, <a class="indexterm" href="classicalprinting.html#id2632121">Custom Print Commands</a></dt><dt>print jobs, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>print processing, <a class="indexterm" href="classicalprinting.html#id2628427">Technical Introduction</a></dt><dt>print queue, <a class="indexterm" href="classicalprinting.html#id2632790">Point'n'Print Client Drivers on Samba Servers</a>, <a class="indexterm" href="classicalprinting.html#id2634901">smbclient to Confirm Driver Installation</a>, <a class="indexterm" href="classicalprinting.html#id2635531">Specific Driver Name Flexibility</a>, <a class="indexterm" href="CUPS-printing.html#id2644027">CUPS Backends</a></dt><dt>print quota, <a class="indexterm" href="CUPS-printing.html#id2640942">Advanced Intelligent Printing with PostScript Driver Download</a></dt><dt>print server, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="classicalprinting.html#id2628204">Features and Benefits</a></dt><dt>print service, <a class="indexterm" href="classicalprinting.html#id2628204">Features and Benefits</a></dt><dt>print spooling, <a class="indexterm" href="winbind.html#id2660018">Microsoft Remote Procedure Calls</a></dt><dt>print spooling system, <a class="indexterm" href="CUPS-printing.html#id2639126">Overview</a></dt><dt>print statistics, <a class="indexterm" href="CUPS-printing.html#id2640942">Advanced Intelligent Printing with PostScript Driver Download</a></dt><dt>print subsystem, <a class="indexterm" href="classicalprinting.html#id2628427">Technical Introduction</a>, <a class="indexterm" href="classicalprinting.html#id2631500">Print Commands</a></dt><dt>print test page, <a class="indexterm" href="classicalprinting.html#id2635803">First Client Driver Installation</a></dt><dt>printcap, <a class="indexterm" href="install.html#id2558075">Configuration File Syntax</a>, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a>, <a class="indexterm" href="classicalprinting.html#ptrsect">The [printers] Section</a></dt><dt>Printcap, <a class="indexterm" href="CUPS-printing.html#id2639245">Basic CUPS Support Configuration</a></dt><dt>printcap name, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>PrintcapFormat, <a class="indexterm" href="CUPS-printing.html#id2639245">Basic CUPS Support Configuration</a></dt><dt>printer attributes publishing, <a class="indexterm" href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></dt><dt>printer default permissions, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>printer driver, <a class="indexterm" href="classicalprinting.html#id2632959">The Obsoleted [printer$] Section</a>, <a class="indexterm" href="classicalprinting.html#id2633081">Creating the [print$] Share</a>, <a class="indexterm" href="CUPS-printing.html#id2639609">Simple smb.conf Settings for CUPS</a></dt><dt>printer driver data, <a class="indexterm" href="classicalprinting.html#prt-modeset">Setting Device Modes on New Printers</a></dt><dt>printer driver file, <a class="indexterm" href="classicalprinting.html#id2632959">The Obsoleted [printer$] Section</a></dt><dt>printer driver files, <a class="indexterm" href="classicalprinting.html#id2634901">smbclient to Confirm Driver Installation</a></dt><dt>printer drivers, <a class="indexterm" href="classicalprinting.html#id2632790">Point'n'Print Client Drivers on Samba Servers</a>, <a class="indexterm" href="CUPS-printing.html#id2652612">The Grand Unification Achieved</a></dt><dt>printer icon, <a class="indexterm" href="classicalprinting.html#id2635304">Check Samba for Driver Recognition</a></dt><dt>printer management, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a></dt><dt>printer management system, <a class="indexterm" href="CUPS-printing.html#id2639126">Overview</a></dt><dt>printer migration, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a></dt><dt>printer monitor, <a class="indexterm" href="speed.html#id2697380">Samba Performance is Very Slow</a></dt><dt>printer objects, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>Printer Pooling, <a class="indexterm" href="classicalprinting.html#id2637988">Samba and Printer Ports</a></dt><dt>printer queue, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>printer share, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>printer shares , <a class="indexterm" href="classicalprinting.html#id2629022">Verifying Configuration with testparm</a>, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>printer$ share, <a class="indexterm" href="classicalprinting.html#id2632959">The Obsoleted [printer$] Section</a></dt><dt>printers, <a class="indexterm" href="install.html#id2558075">Configuration File Syntax</a>, <a class="indexterm" href="StandAloneServer.html#id2580234">Features and Benefits</a></dt><dt>Printers, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>printers admin, <a class="indexterm" href="rights.html#id2615144">Description of Privileges</a></dt><dt>Printers and Faxes, <a class="indexterm" href="classicalprinting.html#id2635304">Check Samba for Driver Recognition</a></dt><dt>printers available, <a class="indexterm" href="NetworkBrowsing.html#id2585793">What Is Browsing?</a></dt><dt>printers section, <a class="indexterm" href="classicalprinting.html#ptrsect">The [printers] Section</a></dt><dt>printing, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>printing behavior, <a class="indexterm" href="classicalprinting.html#id2628638">Printing-Related Configuration Parameters</a></dt><dt>printing calls, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>printing now, <a class="indexterm" href="speed.html#id2697380">Samba Performance is Very Slow</a></dt><dt>printing support, <a class="indexterm" href="classicalprinting.html#id2628204">Features and Benefits</a>, <a class="indexterm" href="classicalprinting.html#id2628427">Technical Introduction</a></dt><dt>printing system, <a class="indexterm" href="classicalprinting.html#id2628427">Technical Introduction</a></dt><dt>printing systems, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a></dt><dt>printing-related settings, <a class="indexterm" href="classicalprinting.html#id2629022">Verifying Configuration with testparm</a></dt><dt>printing.tdb, <a class="indexterm" href="classicalprinting.html#prt-modeset">Setting Device Modes on New Printers</a>, <a class="indexterm" href="CUPS-printing.html#id2651551">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>PrintPro (see ESP Print Pro)</dt><dt>private dir, <a class="indexterm" href="cfgsmarts.html#id2679993">Multiple Server Hosting</a></dt><dt>private groups, <a class="indexterm" href="groupmapping.html#id2602711">Warning: User Private Group Problems</a></dt><dt>private key, <a class="indexterm" href="SWAT.html#id2687958">Securing SWAT through SSL</a></dt><dt>private network, <a class="indexterm" href="securing-samba.html#id2624168">Introduction</a></dt><dt>private networks, <a class="indexterm" href="securing-samba.html#id2624429">Using Host-Based Protection</a></dt><dt>private/MACHINE.SID, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a></dt><dt>private/secrets.tdb, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a></dt><dt>privilege, <a class="indexterm" href="groupmapping.html#id2603463">Applicable Only to Versions Earlier than 3.0.11</a>, <a class="indexterm" href="rights.html#id2615144">Description of Privileges</a></dt><dt>privilege management, <a class="indexterm" href="groupmapping.html#id2603344">Important Administrative Information</a>, <a class="indexterm" href="NetCommand.html#id2607406">Administering User Rights and Privileges</a></dt><dt>privilege model, <a class="indexterm" href="rights.html#id2614523">Rights Management Capabilities</a></dt><dt>privilege-granting applications, <a class="indexterm" href="pam.html#id2671868">Technical Discussion</a></dt><dt>privileged accounts, <a class="indexterm" href="rights.html#id2614798">Using the “net rpc rights” Utility</a></dt><dt>privileges, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a>, <a class="indexterm" href="domain-member.html#id2576714">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="groupmapping.html#id2603463">Applicable Only to Versions Earlier than 3.0.11</a>, <a class="indexterm" href="rights.html#id2614523">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2615144">Description of Privileges</a>, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a>, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>privileges assigned, <a class="indexterm" href="rights.html#id2614798">Using the “net rpc rights” Utility</a></dt><dt>problem report, <a class="indexterm" href="ch47.html#id2698571">Free Support</a></dt><dt>problem resolution, <a class="indexterm" href="ch47.html">Samba Support</a></dt><dt>problematic print, <a class="indexterm" href="classicalprinting.html#id2628427">Technical Introduction</a></dt><dt>Process data management, <a class="indexterm" href="locking.html#id2622728">PDM Data Shares</a></dt><dt>professional support, <a class="indexterm" href="ch47.html#id2698571">Free Support</a></dt><dt>profile, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a></dt><dt>profile access rights, <a class="indexterm" href="ProfileMgmt.html#id2669321">Creating and Managing Group Profiles</a></dt><dt>profile contents, <a class="indexterm" href="ProfileMgmt.html#id2668731">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></dt><dt>profile directory, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a></dt><dt>profile migration tool, <a class="indexterm" href="ProfileMgmt.html#id2669321">Creating and Managing Group Profiles</a></dt><dt>profile path, <a class="indexterm" href="samba-bdc.html#id2572774">Example PDC Configuration</a>, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a>, <a class="indexterm" href="ProfileMgmt.html#id2668056">Windows NT4 Workstation</a></dt><dt>profile sharing, <a class="indexterm" href="ProfileMgmt.html#id2668731">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></dt><dt>Profile Type, <a class="indexterm" href="ProfileMgmt.html#id2667128">Disabling Roaming Profile Support</a></dt><dt>ProfilePath, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a></dt><dt>profiles, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a></dt><dt>Profiles, <a class="indexterm" href="PolicyMgmt.html#id2664962">Creating and Managing System Policies</a></dt><dt>project, <a class="indexterm" href="ch47.html#id2698571">Free Support</a></dt><dt>promiscuous mode, <a class="indexterm" href="problems.html#id2691438">The Windows Network Monitor</a></dt><dt>promote, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a></dt><dt>promoted, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a></dt><dt>propagate, <a class="indexterm" href="samba-bdc.html#id2571862">Features and Benefits</a></dt><dt>Properties, <a class="indexterm" href="ClientConfig.html#id2582949">MS Windows Me</a>, <a class="indexterm" href="ClientConfig.html#id2583981">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>protect directories, <a class="indexterm" href="AccessControls.html#id2617728">Protecting Directories and Files from Deletion</a></dt><dt>protect files, <a class="indexterm" href="AccessControls.html#id2617728">Protecting Directories and Files from Deletion</a></dt><dt>protection against attackers, <a class="indexterm" href="securing-samba.html#id2624993">Using IPC$ Share-Based Denials </a></dt><dt>protocol stack settings, <a class="indexterm" href="ClientConfig.html#id2582402">MS Windows 2000</a></dt><dt>provided services, <a class="indexterm" href="ch47.html">Samba Support</a></dt><dt>provisioned, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></dt><dt>pstops, <a class="indexterm" href="CUPS-printing.html#id2643098">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2643286">pstops</a>, <a class="indexterm" href="CUPS-printing.html#id2645689">Examples for Filtering Chains</a>, <a class="indexterm" href="CUPS-printing.html#id2653658">Adobe and CUPS PostScript Drivers for Windows Clients</a></dt><dt>pstoraster, <a class="indexterm" href="CUPS-printing.html#id2643453">pstoraster</a>, <a class="indexterm" href="CUPS-printing.html#id2645352">cupsomatic/foomatic-rip Versus Native CUPS Printing</a>, <a class="indexterm" href="CUPS-printing.html#id2653658">Adobe and CUPS PostScript Drivers for Windows Clients</a></dt><dt>publish printers, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>publishing printers, <a class="indexterm" href="classicalprinting.html#id2629220">Rapid Configuration Validation</a></dt><dt>PulseAudio, <a class="indexterm" href="AdvancedNetworkManagement.html#id2664260">Remote Management with ThinLinc</a></dt><dt>punching, <a class="indexterm" href="CUPS-printing.html#id2643286">pstops</a></dt><dt>purchase support, <a class="indexterm" href="ch47.html#id2698571">Free Support</a></dt><dt>put, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>pvcreate, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt></dl></div><div class="indexdiv"><h3>Q</h3><dl><dt>QNX, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>qualified problem, <a class="indexterm" href="ch47.html#id2698571">Free Support</a></dt><dt>queue control, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>quota controls, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a></dt></dl></div><div class="indexdiv"><h3>R</h3><dl><dt>RAID, <a class="indexterm" href="Backup.html#id2677606">BackupPC</a></dt><dt>random machine account password, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></dt><dt>range, <a class="indexterm" href="NetCommand.html#id2606994">UNIX and Windows User Management</a></dt><dt>range of hosts, <a class="indexterm" href="securing-samba.html#id2624429">Using Host-Based Protection</a></dt><dt>RAP, <a class="indexterm" href="NetCommand.html#id2605466">UNIX and Windows Group Management</a></dt><dt>raster, <a class="indexterm" href="CUPS-printing.html#id2643098">Prefilters</a>, <a class="indexterm" href="CUPS-printing.html#id2652928">Foomatic Database-Generated PPDs</a></dt><dt>raster driver, <a class="indexterm" href="CUPS-printing.html#id2642068">The CUPS Filtering Architecture</a></dt><dt>raster drivers, <a class="indexterm" href="CUPS-printing.html#id2643453">pstoraster</a></dt><dt>raster image processor (see RIP)</dt><dt>raster images, <a class="indexterm" href="CUPS-printing.html#id2641313">UNIX Printfile Conversion and GUI Basics</a></dt><dt>rasterization, <a class="indexterm" href="CUPS-printing.html#id2643453">pstoraster</a>, <a class="indexterm" href="CUPS-printing.html#id2645352">cupsomatic/foomatic-rip Versus Native CUPS Printing</a></dt><dt>rastertoalps, <a class="indexterm" href="CUPS-printing.html#id2643807">rasterto [printers specific]</a></dt><dt>rastertobj, <a class="indexterm" href="CUPS-printing.html#id2643807">rasterto [printers specific]</a></dt><dt>rastertoepson, <a class="indexterm" href="CUPS-printing.html#id2643807">rasterto [printers specific]</a>, <a class="indexterm" href="CUPS-printing.html#id2645689">Examples for Filtering Chains</a></dt><dt>rastertoescp, <a class="indexterm" href="CUPS-printing.html#id2643807">rasterto [printers specific]</a></dt><dt>rastertohp, <a class="indexterm" href="CUPS-printing.html#id2643807">rasterto [printers specific]</a></dt><dt>rastertopcl, <a class="indexterm" href="CUPS-printing.html#id2643807">rasterto [printers specific]</a></dt><dt>rastertoprinter, <a class="indexterm" href="CUPS-printing.html#id2643807">rasterto [printers specific]</a></dt><dt>rastertosomething, <a class="indexterm" href="CUPS-printing.html#id2645352">cupsomatic/foomatic-rip Versus Native CUPS Printing</a></dt><dt>rastertoturboprint, <a class="indexterm" href="CUPS-printing.html#id2643807">rasterto [printers specific]</a></dt><dt>raw mode, <a class="indexterm" href="CUPS-printing.html#id2644790">application/octet-stream Printing</a></dt><dt>raw print, <a class="indexterm" href="CUPS-printing.html#id2649326">cupsaddsmb Flowchart</a></dt><dt>raw printers, <a class="indexterm" href="CUPS-printing.html#id2639126">Overview</a></dt><dt>raw printing, <a class="indexterm" href="FastStart.html#id2560928">Anonymous Print Server</a>, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="CUPS-printing.html#id2640299">Raw Print Serving: Vendor Drivers on Windows Clients</a>, <a class="indexterm" href="CUPS-printing.html#cups-raw">Explicitly Enable “raw” Printing for application/octet-stream</a></dt><dt>raw SMB, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a></dt><dt>raw SMB over TCP/IP, <a class="indexterm" href="NetworkBrowsing.html#id2586870">TCP/IP without NetBIOS</a></dt><dt>rawprinter, <a class="indexterm" href="CUPS-printing.html#id2644682">“Raw” Printing</a></dt><dt>rcp, <a class="indexterm" href="Backup.html#id2677778">Rsync</a></dt><dt>rdesktop, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></dt><dt>rdesktop/RDP, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></dt><dt>read, <a class="indexterm" href="AccessControls.html#id2617311">File and Directory Access Control</a></dt><dt>read directory into memory, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>read only, <a class="indexterm" href="VFS.html#fakeperms">fake_perms</a></dt><dd><dl><dt>server, <a class="indexterm" href="FastStart.html#anon-ro">Anonymous Read-Only Document Server</a></dt></dl></dd><dt>Read-ahead, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>read-only, <a class="indexterm" href="StandAloneServer.html#id2580234">Features and Benefits</a>, <a class="indexterm" href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a></dt><dt>read-only access, <a class="indexterm" href="idmapper.html#id2611813">Backup Domain Controller</a>, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></dt><dt>read-only files, <a class="indexterm" href="StandAloneServer.html#id2580234">Features and Benefits</a></dt><dt>read-write access, <a class="indexterm" href="classicalprinting.html#id2632959">The Obsoleted [printer$] Section</a></dt><dt>realm, <a class="indexterm" href="ServerType.html#id2566205">ADS Security Mode (User-Level Security)</a>, <a class="indexterm" href="samba-bdc.html#id2573662">NetBIOS Over TCP/IP Disabled</a>, <a class="indexterm" href="domain-member.html#id2578186">Configure smb.conf</a>, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a>, <a class="indexterm" href="idmapper.html#id2612670">IDMAP_RID with Winbind</a>, <a class="indexterm" href="idmapper.html#id2613261">IDMAP Storage in LDAP Using Winbind</a></dt><dt>rebooted, <a class="indexterm" href="ClientConfig.html#id2583455">Joining a Domain: Windows 2000/XP Professional</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a></dt><dt>rebooting server, <a class="indexterm" href="rights.html#id2615144">Description of Privileges</a></dt><dt>recompiling, <a class="indexterm" href="cfgsmarts.html#id2679993">Multiple Server Hosting</a></dt><dt>reconfiguration, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a></dt><dt>record locking, <a class="indexterm" href="locking.html#id2621768">Discussion</a></dt><dt>recycle, <a class="indexterm" href="VFS.html#id2657472">recycle</a></dt><dt>recycle bin, <a class="indexterm" href="VFS.html#id2656487">Discussion</a></dt><dt>recycle directory, <a class="indexterm" href="VFS.html#id2657472">recycle</a></dt><dt>recycle:exclude, <a class="indexterm" href="VFS.html#id2657472">recycle</a></dt><dt>recycle:exclude_dir, <a class="indexterm" href="VFS.html#id2657472">recycle</a></dt><dt>recycle:keeptree, <a class="indexterm" href="VFS.html#id2657472">recycle</a></dt><dt>recycle:maxsize, <a class="indexterm" href="VFS.html#id2657472">recycle</a></dt><dt>recycle:noversions, <a class="indexterm" href="VFS.html#id2657472">recycle</a></dt><dt>recycle:repository, <a class="indexterm" href="VFS.html#id2657472">recycle</a></dt><dt>recycle:subdir_mode, <a class="indexterm" href="VFS.html#id2657472">recycle</a></dt><dt>recycle:touch, <a class="indexterm" href="VFS.html#id2657472">recycle</a></dt><dt>recycle:versions, <a class="indexterm" href="VFS.html#id2657472">recycle</a></dt><dt>Red Hat Cluster Manager, <a class="indexterm" href="SambaHA.html#id2679176">High-Availability Server Products</a></dt><dt>Red Hat Linux, <a class="indexterm" href="samba-bdc.html#id2573025">LDAP Configuration Notes</a>, <a class="indexterm" href="domain-member.html#id2576597">On-the-Fly Creation of Machine Trust Accounts</a>, <a class="indexterm" href="groupmapping.html#id2602711">Warning: User Private Group Problems</a></dt><dt>redirect, <a class="indexterm" href="samba-bdc.html#id2574222">Example Configuration</a></dt><dt>redirection, <a class="indexterm" href="winbind.html#id2659643">What Winbind Provides</a></dt><dt>redirector, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>redundancy, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a></dt><dt>reference documents, <a class="indexterm" href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a></dt><dt>refusing connection, <a class="indexterm" href="securing-samba.html#id2624642">Using Interface Protection</a></dt><dt>regedit.exe, <a class="indexterm" href="ProfileMgmt.html#id2669430">MS Windows 9x/Me</a></dt><dt>regedt32, <a class="indexterm" href="ProfileMgmt.html#id2669587">MS Windows NT4 Workstation</a></dt><dt>regedt32.exe, <a class="indexterm" href="PolicyMgmt.html#id2666280">Windows NT4/200x</a></dt><dt>register driver files, <a class="indexterm" href="classicalprinting.html#id2635038">Running rpcclient with adddriver</a></dt><dt>register NetBIOS names, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a></dt><dt>registered, <a class="indexterm" href="NetworkBrowsing.html#id2589657">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="classicalprinting.html#id2635304">Check Samba for Driver Recognition</a></dt><dt>registers, <a class="indexterm" href="NetworkBrowsing.html#id2588376">Domain Browsing Configuration</a></dt><dt>registry, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a>, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a>, <a class="indexterm" href="locking.html#id2621671">Features and Benefits</a>, <a class="indexterm" href="PolicyMgmt.html#id2664962">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2665151">Windows 9x/ME Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2665509">MS Windows 200x/XP Professional Policies</a>, <a class="indexterm" href="ProfileMgmt.html#id2669430">MS Windows 9x/Me</a></dt><dt>registry change, <a class="indexterm" href="passdb.html#id2594111">Important Notes About Security</a></dt><dt>registry keys, <a class="indexterm" href="ProfileMgmt.html#id2669400">Default Profile for Windows Users</a></dt><dt>registry settings, <a class="indexterm" href="PolicyMgmt.html#id2665958">Managing Account/User Policies</a></dt><dt>regulations, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a></dt><dt>rejoin, <a class="indexterm" href="NetCommand.html#id2608369">Managing Security Identifiers (SIDS)</a></dt><dt>relationship password, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>relative identifier, <a class="indexterm" href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a> (see RID)</dt><dt>Relative Identifier (see RID)</dt><dt>Relative Identifiers (see RID)</dt><dt>reliability, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>Remote Access Dial-In User Service (see RADIUS)</dt><dt>remote announce, <a class="indexterm" href="NetworkBrowsing.html#id2591424">Cross-Subnet Browsing</a></dt><dt>remote browse sync, <a class="indexterm" href="NetworkBrowsing.html#id2591424">Cross-Subnet Browsing</a></dt><dt>remote desktop capabilities, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></dt><dt>remote desktop management, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663855">Remote Desktop Management</a></dt><dt>remote domain, <a class="indexterm" href="InterdomainTrusts.html#id2626238">Creating an NT4 Domain Trust</a>, <a class="indexterm" href="InterdomainTrusts.html#id2626335">Completing an NT4 Domain Trust</a>, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>remote login, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></dt><dt>remote management, <a class="indexterm" href="NetCommand.html">Remote and Local Management: The Net Command</a>, <a class="indexterm" href="winbind.html#id2660018">Microsoft Remote Procedure Calls</a></dt><dt>Remote Procedure Call (see RPC)</dt><dt>Remote Procedure Call System Service (see RPCSS)</dt><dt>remote profile, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a></dt><dt>remote segment, <a class="indexterm" href="NetworkBrowsing.html#id2589564">Use of the Remote Browse Sync Parameter</a>, <a class="indexterm" href="NT4Migration.html#id2685596">Domain Layout</a></dt><dt>Remote X, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></dt><dt>Remote X protocol, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></dt><dt>remote-update protocol, <a class="indexterm" href="Backup.html#id2677778">Rsync</a></dt><dt>rename, <a class="indexterm" href="AccessControls.html#id2617188">Managing Directories</a></dt><dt>render, <a class="indexterm" href="CUPS-printing.html#id2640299">Raw Print Serving: Vendor Drivers on Windows Clients</a></dt><dt>rendering, <a class="indexterm" href="CUPS-printing.html#id2645352">cupsomatic/foomatic-rip Versus Native CUPS Printing</a></dt><dt>repeated intervals, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a></dt><dt>replicate, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a>, <a class="indexterm" href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a></dt><dt>replicated, <a class="indexterm" href="ServerType.html#id2564889">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2573390">Active Directory Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a>, <a class="indexterm" href="PolicyMgmt.html#id2665509">MS Windows 200x/XP Professional Policies</a></dt><dt>replicated SYSVOL, <a class="indexterm" href="PolicyMgmt.html#id2665509">MS Windows 200x/XP Professional Policies</a></dt><dt>replication, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2573025">LDAP Configuration Notes</a></dt><dd><dl><dt>browse lists, <a class="indexterm" href="NetworkBrowsing.html#id2591424">Cross-Subnet Browsing</a></dt><dt>SAM, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2571862">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2574784">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a>, <a class="indexterm" href="samba-bdc.html#id2574840">How Do I Replicate the smbpasswd File?</a></dt><dt>WINS, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2589928">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2590249">WINS Replication</a></dt></dl></dd><dt>replication protocols, <a class="indexterm" href="NetworkBrowsing.html#id2589928">WINS Server Configuration</a></dt><dt>repository, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a></dt><dt>requesting payment, <a class="indexterm" href="ch47.html#id2698571">Free Support</a></dt><dt>required, <a class="indexterm" href="pam.html#id2672001">Anatomy of /etc/pam.d Entries</a></dt><dt>requisite, <a class="indexterm" href="pam.html#id2672001">Anatomy of /etc/pam.d Entries</a></dt><dt>research, <a class="indexterm" href="Backup.html#id2677509">Discussion of Backup Solutions</a></dt><dt>resizing, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>resolution, <a class="indexterm" href="CUPS-printing.html#id2644365">The Role of cupsomatic/foomatic</a></dt><dt>resolution of NetBIOS names, <a class="indexterm" href="NetworkBrowsing.html">Network Browsing</a></dt><dt>resolve NetBIOS names, <a class="indexterm" href="NetworkBrowsing.html#id2588976">Making Samba the Domain Master</a></dt><dt>resolver functions, <a class="indexterm" href="winbind.html#id2660159">Name Service Switch</a></dt><dt>resource failover, <a class="indexterm" href="SambaHA.html#id2679176">High-Availability Server Products</a></dt><dt>resource kit, <a class="indexterm" href="PolicyMgmt.html#id2665713">Administration of Windows 200x/XP Policies</a>, <a class="indexterm" href="ProfileMgmt.html#profilemigrn">Windows NT4 Profile Management Tools</a></dt><dt>resource-based exclusion, <a class="indexterm" href="securing-samba.html#id2624266">Features and Benefits</a></dt><dt>response, <a class="indexterm" href="idmapper.html#id2612670">IDMAP_RID with Winbind</a></dt><dt>restore, <a class="indexterm" href="tdb.html#id2692976">Features and Benefits</a></dt><dt>restrict DNS, <a class="indexterm" href="NetworkBrowsing.html#id2590686">Name Resolution Order</a></dt><dt>reviewers, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a></dt><dt>revoke privileges, <a class="indexterm" href="rights.html#id2614798">Using the “net rpc rights” Utility</a></dt><dt>RFC 1001, <a class="indexterm" href="DNSDHCP.html#id2699127">Example Configuration</a></dt><dt>RFC 1002, <a class="indexterm" href="DNSDHCP.html#id2699127">Example Configuration</a></dt><dt>RFC 1179, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>RFC 2307, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a></dt><dt>RFC 2307., <a class="indexterm" href="passdb.html#id2599442">Schema and Relationship to the RFC 2307 posixAccount</a></dt><dt>RFC 2830, <a class="indexterm" href="ch-ldap-tls.html#s1-intro-ldap-tls">Introduction</a></dt><dt>rfc2307bis, <a class="indexterm" href="idmapper.html#id2613846">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></dt><dt>RFC2830, <a class="indexterm" href="samba-bdc.html#id2573025">LDAP Configuration Notes</a></dt><dt>RFCs, <a class="indexterm" href="problems.html">Analyzing and Solving Samba Problems</a></dt><dt>rich database backend, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a></dt><dt>rich directory backend, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a></dt><dt>RID, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="ChangeNotes.html#id2584733">User and Group Changes</a>, <a class="indexterm" href="groupmapping.html#id2602374">Discussion</a>, <a class="indexterm" href="groupmapping.html#id2603585">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2611579">Primary Domain Controller</a>, <a class="indexterm" href="idmapper.html#id2612670">IDMAP_RID with Winbind</a>, <a class="indexterm" href="rights.html#id2615970">The Administrator Domain SID</a>, <a class="indexterm" href="winbind.html#id2660546">User and Group ID Allocation</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a></dt><dt>RID 500, <a class="indexterm" href="rights.html#id2615970">The Administrator Domain SID</a></dt><dt>RID base, <a class="indexterm" href="idmapper.html#id2611579">Primary Domain Controller</a></dt><dt>right to join domain, <a class="indexterm" href="rights.html#id2615144">Description of Privileges</a></dt><dt>rights, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a>, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="domain-member.html#id2579178">Possible Errors</a>, <a class="indexterm" href="rights.html#id2614523">Rights Management Capabilities</a></dt><dt>rights and privilege, <a class="indexterm" href="NetCommand.html#id2607406">Administering User Rights and Privileges</a></dt><dt>rights and privileges, <a class="indexterm" href="groupmapping.html#id2603344">Important Administrative Information</a>, <a class="indexterm" href="rights.html#id2615970">The Administrator Domain SID</a></dt><dt>rights assigned, <a class="indexterm" href="rights.html#id2614523">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2614798">Using the “net rpc rights” Utility</a></dt><dt>RIP, <a class="indexterm" href="CUPS-printing.html#id2645069">PostScript Printer Descriptions for Non-PostScript Printers</a></dt><dt>rlogind, <a class="indexterm" href="pam.html#id2672001">Anatomy of /etc/pam.d Entries</a></dt><dt>Roaming Profile, <a class="indexterm" href="VFS.html#fakeperms">fake_perms</a></dt><dt>roaming profiles, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a>, <a class="indexterm" href="ProfileMgmt.html#id2666639">Features and Benefits</a>, <a class="indexterm" href="ProfileMgmt.html#id2667128">Disabling Roaming Profile Support</a>, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a></dt><dt>rogue machine, <a class="indexterm" href="NetworkBrowsing.html#id2592464">Flushing the Samba NetBIOS Name Cache</a></dt><dt>rogue user, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>root, <a class="indexterm" href="domain-member.html#id2576714">Windows 200x/XP Professional Client</a>, <a class="indexterm" href="ClientConfig.html#id2583455">Joining a Domain: Windows 2000/XP Professional</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>root account, <a class="indexterm" href="rights.html">User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2615970">The Administrator Domain SID</a></dt><dt>root user, <a class="indexterm" href="rights.html#id2614798">Using the “net rpc rights” Utility</a></dt><dt>rotate, <a class="indexterm" href="CUPS-printing.html#id2641313">UNIX Printfile Conversion and GUI Basics</a></dt><dt>RPC, <a class="indexterm" href="domain-member.html#id2577904">Why Is This Better Than security = server?</a>, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2661746">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="ProfileMgmt.html#id2666688">Roaming Profiles</a></dt><dt>RPC calls, <a class="indexterm" href="winbind.html#id2663370">Conclusion</a>, <a class="indexterm" href="SambaHA.html#id2678494">The Front-End Challenge</a></dt><dt>RPC modules, <a class="indexterm" href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></dt><dt>rpc.lockd, <a class="indexterm" href="locking.html#id2621768">Discussion</a></dt><dt>rpcclient, <a class="indexterm" href="NetCommand.html">Remote and Local Management: The Net Command</a>, <a class="indexterm" href="classicalprinting.html#id2634130">Identifying Driver Files</a>, <a class="indexterm" href="classicalprinting.html#id2635531">Specific Driver Name Flexibility</a>, <a class="indexterm" href="CUPS-printing.html#id2651408">Troubleshooting Revisited</a>, <a class="indexterm" href="PolicyMgmt.html#id2666320">Samba PDC</a></dt><dd><dl><dt>adddriver, <a class="indexterm" href="CUPS-printing.html#id2648787">Run cupsaddsmb with Verbose Output</a>, <a class="indexterm" href="CUPS-printing.html#id2648978">Understanding cupsaddsmb</a>, <a class="indexterm" href="CUPS-printing.html#id2649642">Installing PostScript Driver Files Manually Using rpcclient</a>, <a class="indexterm" href="CUPS-printing.html#id2649987">Understanding the rpcclient man Page</a>, <a class="indexterm" href="CUPS-printing.html#id2650224">Requirements for adddriver and setdriver to Succeed</a>, <a class="indexterm" href="CUPS-printing.html#id2650449">Manual Driver Installation in 15 Steps</a></dt><dt>enumdrivers, <a class="indexterm" href="CUPS-printing.html#id2649642">Installing PostScript Driver Files Manually Using rpcclient</a>, <a class="indexterm" href="CUPS-printing.html#id2650449">Manual Driver Installation in 15 Steps</a></dt><dt>enumports, <a class="indexterm" href="CUPS-printing.html#id2649642">Installing PostScript Driver Files Manually Using rpcclient</a></dt><dt>enumprinters, <a class="indexterm" href="CUPS-printing.html#id2649642">Installing PostScript Driver Files Manually Using rpcclient</a>, <a class="indexterm" href="CUPS-printing.html#id2650224">Requirements for adddriver and setdriver to Succeed</a>, <a class="indexterm" href="CUPS-printing.html#id2650449">Manual Driver Installation in 15 Steps</a>, <a class="indexterm" href="CUPS-printing.html#id2651408">Troubleshooting Revisited</a></dt><dt>getdriver, <a class="indexterm" href="CUPS-printing.html#id2650092">Producing an Example by Querying a Windows Box</a>, <a class="indexterm" href="CUPS-printing.html#id2650449">Manual Driver Installation in 15 Steps</a></dt><dt>getprinter, <a class="indexterm" href="CUPS-printing.html#id2650092">Producing an Example by Querying a Windows Box</a>, <a class="indexterm" href="CUPS-printing.html#id2650449">Manual Driver Installation in 15 Steps</a>, <a class="indexterm" href="CUPS-printing.html#id2651408">Troubleshooting Revisited</a></dt><dt>setdriver, <a class="indexterm" href="CUPS-printing.html#id2648129">Caveats to Be Considered</a>, <a class="indexterm" href="CUPS-printing.html#id2648787">Run cupsaddsmb with Verbose Output</a>, <a class="indexterm" href="CUPS-printing.html#id2648978">Understanding cupsaddsmb</a>, <a class="indexterm" href="CUPS-printing.html#id2649642">Installing PostScript Driver Files Manually Using rpcclient</a>, <a class="indexterm" href="CUPS-printing.html#id2650224">Requirements for adddriver and setdriver to Succeed</a>, <a class="indexterm" href="CUPS-printing.html#id2650449">Manual Driver Installation in 15 Steps</a></dt></dl></dd><dt>rsh, <a class="indexterm" href="Backup.html#id2677606">BackupPC</a></dt><dt>rsync, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2574840">How Do I Replicate the smbpasswd File?</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="Backup.html#id2677606">BackupPC</a>, <a class="indexterm" href="Backup.html#id2677778">Rsync</a>, <a class="indexterm" href="compiling.html#id2693866">Accessing the Samba Sources via rsync and ftp</a></dt><dt>rsyncd, <a class="indexterm" href="Backup.html#id2677606">BackupPC</a></dt><dt>runas, <a class="indexterm" href="classicalprinting.html#id2636487">Always Make First Client Connection as root or “printer admin”</a></dt><dt>rundll32, <a class="indexterm" href="classicalprinting.html#id2636368">Additional Client Driver Installation</a>, <a class="indexterm" href="classicalprinting.html#id2636681">Setting Default Print Options for Client Drivers</a>, <a class="indexterm" href="CUPS-printing.html#id2650449">Manual Driver Installation in 15 Steps</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2664670">Adding Printers without User Intervention</a></dt></dl></div><div class="indexdiv"><h3>S</h3><dl><dt>SAM, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2574730">Machine Accounts Keep Expiring</a>, <a class="indexterm" href="samba-bdc.html#id2574784">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a>, <a class="indexterm" href="samba-bdc.html#id2574840">How Do I Replicate the smbpasswd File?</a>, <a class="indexterm" href="domain-member.html#id2575193">Features and Benefits</a>, <a class="indexterm" href="ChangeNotes.html#id2584733">User and Group Changes</a>, <a class="indexterm" href="passdb.html#id2593352">Backward Compatibility Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2594631">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="winbind.html#id2660622">Result Caching</a></dt><dd><dl><dt>delta file, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a></dt><dt>replication, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a>, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a></dt></dl></dd><dt>SAM backend, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a></dt><dd><dl><dt>LDAP, <a class="indexterm" href="samba-bdc.html#id2571862">Features and Benefits</a></dt><dt>ldapsam, <a class="indexterm" href="samba-bdc.html#id2571862">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2599139">ldapsam</a></dt><dt>ldapsam_compat, <a class="indexterm" href="passdb.html#id2593316">Features and Benefits</a></dt><dt>non-LDAP, <a class="indexterm" href="samba-bdc.html#id2571862">Features and Benefits</a></dt><dt>smbpasswd, <a class="indexterm" href="passdb.html#id2593316">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a></dt><dt>tdbsam, <a class="indexterm" href="samba-bdc.html#id2571862">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a>, <a class="indexterm" href="passdb.html#id2598981">tdbsam</a></dt></dl></dd><dt>Samba 1.9.17, <a class="indexterm" href="NetworkBrowsing.html#id2589928">WINS Server Configuration</a></dt><dt>Samba account, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a></dt><dt>Samba administrator, <a class="indexterm" href="winbind.html#id2660684">Introduction</a></dt><dt>Samba backend database, <a class="indexterm" href="domain-member.html#id2579865">Adding Machine to Domain Fails</a></dt><dt>Samba daemons, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></dt><dt>Samba differences, <a class="indexterm" href="upgrading-to-3.0.html#oldupdatenotes">Upgrading from Samba-2.x to Samba-3.0.25</a></dt><dt>Samba mailing lists, <a class="indexterm" href="Backup.html#id2677464">Features and Benefits</a></dt><dt>Samba private directory, <a class="indexterm" href="domain-member.html#ads-create-machine-account">Create the Computer Account</a></dt><dt>Samba SAM, <a class="indexterm" href="passdb.html#id2594631">Mapping User Identifiers between MS Windows and UNIX</a></dt><dt>Samba SAM account, <a class="indexterm" href="domain-member.html#id2579865">Adding Machine to Domain Fails</a></dt><dt>Samba SAM account flags, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a></dt><dt>Samba schema, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a></dt><dt>Samba security, <a class="indexterm" href="securing-samba.html#id2624266">Features and Benefits</a></dt><dt>Samba-2.2.x LDAP schema, <a class="indexterm" href="passdb.html#id2593352">Backward Compatibility Account Storage Systems</a></dt><dt>Samba-3-compatible LDAP backend, <a class="indexterm" href="upgrading-to-3.0.html#id2682386">Quick Migration Guide</a></dt><dt>Samba-PDC-LDAP-HOWTO, <a class="indexterm" href="passdb.html#id2599139">ldapsam</a></dt><dt>samba-to-samba trusts, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a></dt><dt>samba-vscan, <a class="indexterm" href="VFS.html#id2658907">vscan</a></dt><dt>samba.schema, <a class="indexterm" href="passdb.html#id2599442">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2599668">OpenLDAP Configuration</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a></dt><dt>sambaDomain, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a></dt><dt>sambaGroupMapping, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a></dt><dt>sambaHomeDrive, <a class="indexterm" href="passdb.html#id2600899">LDAP Special Attributes for sambaSamAccounts</a></dt><dt>sambaHomePath, <a class="indexterm" href="passdb.html#id2600899">LDAP Special Attributes for sambaSamAccounts</a></dt><dt>sambaIdmapEntry, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a></dt><dt>sambaLogonScript, <a class="indexterm" href="passdb.html#id2600899">LDAP Special Attributes for sambaSamAccounts</a></dt><dt>SambaNTPassword, <a class="indexterm" href="passdb.html#id2600663">Security and sambaSamAccount</a></dt><dt>sambaProfilePath, <a class="indexterm" href="passdb.html#id2600899">LDAP Special Attributes for sambaSamAccounts</a></dt><dt>SambaSAMAccount, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a>, <a class="indexterm" href="passdb.html#acctmgmttools">Account Management Tools</a>, <a class="indexterm" href="passdb.html#id2597460">Adding User Accounts</a>, <a class="indexterm" href="passdb.html#id2597548">Deleting Accounts</a>, <a class="indexterm" href="passdb.html#id2597632">Changing User Accounts</a>, <a class="indexterm" href="passdb.html#id2598981">tdbsam</a></dt><dt>sambaSamAccount, <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2599442">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2599668">OpenLDAP Configuration</a>, <a class="indexterm" href="passdb.html#id2600550">Accounts and Groups Management</a>, <a class="indexterm" href="passdb.html#id2600899">LDAP Special Attributes for sambaSamAccounts</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a></dt><dt>sambaSAMAccount, <a class="indexterm" href="passdb.html#id2600663">Security and sambaSamAccount</a></dt><dt>sambaSID, <a class="indexterm" href="ChangeNotes.html#id2585347">LDAP Changes in Samba-3.0.23</a></dt><dt>sambaUNIXIdPool, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a></dt><dt>SambaXP conference, <a class="indexterm" href="SambaHA.html#id2678212">Technical Discussion</a></dt><dt>samdb interface, <a class="indexterm" href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a></dt><dt>same domain/workgroup, <a class="indexterm" href="cfgsmarts.html#id2681404">Multiple Virtual Server Hosting</a></dt><dt>Sarbanes-Oxley, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a></dt><dt>scalability, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="samba-bdc.html#id2571862">Features and Benefits</a>, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2598981">tdbsam</a>, <a class="indexterm" href="InterdomainTrusts.html#id2625845">Features and Benefits</a></dt><dt>scalable, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a></dt><dt>scalable backend, <a class="indexterm" href="InterdomainTrusts.html#id2625845">Features and Benefits</a></dt><dt>scalable coherent interface (see SCI)</dt><dt>scale, <a class="indexterm" href="CUPS-printing.html#id2641313">UNIX Printfile Conversion and GUI Basics</a></dt><dt>scanner module, <a class="indexterm" href="VFS.html#id2656487">Discussion</a></dt><dt>schannel, <a class="indexterm" href="samba-pdc.html#id2571678">Cannot Log onto Domain Member Workstation After Joining Domain</a></dt><dt>schema, <a class="indexterm" href="idmapper.html#id2613846">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></dt><dt>schema file, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a></dt><dt>scp, <a class="indexterm" href="Backup.html#id2677778">Rsync</a></dt><dt>script, <a class="indexterm" href="domain-member.html#id2579865">Adding Machine to Domain Fails</a></dt><dt>scripted control, <a class="indexterm" href="NetCommand.html">Remote and Local Management: The Net Command</a></dt><dt>scripts, <a class="indexterm" href="NetworkBrowsing.html#id2590976">Browsing Support in Samba</a>, <a class="indexterm" href="passdb.html#id2595454">Caution Regarding LDAP and Samba</a></dt><dt>SCSI, <a class="indexterm" href="SambaHA.html#id2679176">High-Availability Server Products</a></dt><dt>SeAddUsersPrivilege, <a class="indexterm" href="NetCommand.html#id2607406">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2614523">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2615144">Description of Privileges</a></dt><dt>SeAssignPrimaryTokenPrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeAuditPrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeBackupPrivilege, <a class="indexterm" href="NetCommand.html#id2607406">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeChangeNotifyPrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>Seclib, <a class="indexterm" href="AccessControls.html#id2619677">Viewing File Ownership</a></dt><dt>secondary controller, <a class="indexterm" href="NT4Migration.html#id2685596">Domain Layout</a></dt><dt>SeCreateGlobalPrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeCreatePagefilePrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeCreatePermanentPrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeCreateTokenPrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>secret, <a class="indexterm" href="passdb.html#id2594111">Important Notes About Security</a></dt><dt>secrets.tdb, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a>, <a class="indexterm" href="domain-member.html#id2579543">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="passdb.html#id2599940">Initialize the LDAP Database</a>, <a class="indexterm" href="CUPS-printing.html#id2651551">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>section name, <a class="indexterm" href="install.html#id2558075">Configuration File Syntax</a></dt><dt>secure, <a class="indexterm" href="StandAloneServer.html#id2580234">Features and Benefits</a></dt><dt>secure access, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></dt><dt>secure authentication, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>secure communications, <a class="indexterm" href="passdb.html#id2600663">Security and sambaSamAccount</a></dt><dt>secured networks, <a class="indexterm" href="securing-samba.html#id2624168">Introduction</a></dt><dt>security, <a class="indexterm" href="ServerType.html#id2565193">Samba Security Modes</a>, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a>, <a class="indexterm" href="securing-samba.html#id2624168">Introduction</a>, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></dt><dd><dl><dt>controllers, <a class="indexterm" href="ServerType.html#id2565710">Domain Security Mode (User-Level Security)</a></dt><dt>modes, <a class="indexterm" href="ServerType.html#id2564889">Features and Benefits</a></dt><dt>settings, <a class="indexterm" href="install.html#id2559157">Example Configuration</a></dt></dl></dd><dt>security = user, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></dt><dt>security account, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a></dt><dt>Security Account Manager (see SAM)</dt><dt>Security Assertion Markup Language (see SAML)</dt><dt>security context, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a></dt><dt>security contexts, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a></dt><dt>security credentials, <a class="indexterm" href="idmapper.html#id2611813">Backup Domain Controller</a>, <a class="indexterm" href="InterdomainTrusts.html#id2626202">Native MS Windows NT4 Trusts Configuration</a></dt><dt>security domain, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a></dt><dt>security domains, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a></dt><dt>security flaw, <a class="indexterm" href="securing-samba.html#id2625284">Why Can Users Access Other Users' Home Directories?</a></dt><dt>security hole, <a class="indexterm" href="securing-samba.html#id2624993">Using IPC$ Share-Based Denials </a></dt><dt>security identifier, <a class="indexterm" href="NetCommand.html#id2608369">Managing Security Identifiers (SIDS)</a> (see SID)</dt><dt>security level, <a class="indexterm" href="ServerType.html#id2566348">Server Security (User Level Security)</a></dt><dt>security levels, <a class="indexterm" href="ServerType.html#id2565193">Samba Security Modes</a></dt><dt>security mode, <a class="indexterm" href="ServerType.html">Server Types and Security Modes</a>, <a class="indexterm" href="samba-pdc.html#id2570985">Security Mode and Master Browsers</a></dt><dt>Security Mode, <a class="indexterm" href="ServerType.html#id2565193">Samba Security Modes</a></dt><dt>security modes, <a class="indexterm" href="ServerType.html#id2565193">Samba Security Modes</a></dt><dt>security name-space, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a></dt><dt>security policies, <a class="indexterm" href="securing-samba.html#id2625284">Why Can Users Access Other Users' Home Directories?</a></dt><dt>security settings, <a class="indexterm" href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></dt><dt>security structure, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a></dt><dt>security vulnerability, <a class="indexterm" href="securing-samba.html#id2625196">Upgrading Samba</a></dt><dt>security-aware, <a class="indexterm" href="CUPS-printing.html#id2644790">application/octet-stream Printing</a></dt><dt>SeDebugPrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeDiskOperatorPrivilege, <a class="indexterm" href="NetCommand.html#id2607406">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2614523">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2615144">Description of Privileges</a></dt><dt>SeEnableDelegationPrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeImpersonatePrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeIncreaseBasePriorityPrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeIncreaseQuotaPrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeLoadDriverPrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeLockMemoryPrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeMachineAccountPrivilege, <a class="indexterm" href="NetCommand.html#id2607406">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2614523">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2615144">Description of Privileges</a>, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeManageVolumePrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>separate instances, <a class="indexterm" href="cfgsmarts.html#id2679993">Multiple Server Hosting</a></dt><dt>separate servers, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a></dt><dt>separate shares, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>separate workgroups, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></dt><dt>SePrintOperatorPrivilege, <a class="indexterm" href="NetCommand.html#id2607406">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2614523">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2615144">Description of Privileges</a></dt><dt>SeProfileSingleProcessPrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeRemoteShutdownPrivilege, <a class="indexterm" href="NetCommand.html#id2607406">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2614523">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2615144">Description of Privileges</a>, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeRestorePrivilege, <a class="indexterm" href="NetCommand.html#id2607406">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>server failure, <a class="indexterm" href="SambaHA.html#id2678376">Why Is This So Hard?</a></dt><dt>Server Manager, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2576317">Managing Domain Machine Accounts using NT4 Server Manager</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663712">Remote Server Administration</a></dt><dt>Server Manager for Domains, <a class="indexterm" href="domain-member.html#id2576317">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>Server Message Block (see SMB)</dt><dt>server pool, <a class="indexterm" href="SambaHA.html#id2678695">The Distributed File System Challenge</a>, <a class="indexterm" href="SambaHA.html#id2678822">Restrictive Constraints on Distributed File Systems</a></dt><dt>Server Type, <a class="indexterm" href="ServerType.html#id2565049">Server Types</a></dt><dd><dl><dt>Domain Controller, <a class="indexterm" href="FastStart.html#id2562885">Domain Controller</a></dt><dt>Domain Member, <a class="indexterm" href="FastStart.html#id2562042">Domain Member Server</a>, <a class="indexterm" href="samba-bdc.html#id2574222">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2575193">Features and Benefits</a></dt><dt>Stand-alone, <a class="indexterm" href="FastStart.html#id2560300">Standalone Server</a></dt></dl></dd><dt>server type, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a></dt><dd><dl><dt>domain member, <a class="indexterm" href="ServerType.html#id2565925">Example Configuration</a></dt></dl></dd><dt>Server Types, <a class="indexterm" href="idmapper.html#id2610535">Samba Server Deployment Types and IDMAP</a></dt><dt>server-mode, <a class="indexterm" href="ServerType.html#id2566873">What Makes Samba a Domain Controller?</a></dt><dt>service name, <a class="indexterm" href="install.html#id2559157">Example Configuration</a></dt><dt>service-level, <a class="indexterm" href="classicalprinting.html#id2628638">Printing-Related Configuration Parameters</a>, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>services provided, <a class="indexterm" href="ch47.html">Samba Support</a></dt><dt>SeSecurityPrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeShutdownPrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>session, <a class="indexterm" href="pam.html#id2672001">Anatomy of /etc/pam.d Entries</a></dt><dt>session services, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a></dt><dt>session setup, <a class="indexterm" href="ServerType.html#id2565355">User Level Security</a>, <a class="indexterm" href="ServerType.html#id2566348">Server Security (User Level Security)</a></dt><dt>sessionid.tdb, <a class="indexterm" href="CUPS-printing.html#id2651551">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>SessionSetupAndX, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a></dt><dt>SeSyncAgentPrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeSystemEnvironmentPrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeSystemProfilePrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeSystemtimePrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>set a password, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>set group id (see SGID)</dt><dt>set printer properties, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>set user id (see SUID)</dt><dt>SeTakeOwnershipPrivilege, <a class="indexterm" href="NetCommand.html#id2607406">Administering User Rights and Privileges</a>, <a class="indexterm" href="rights.html#id2614523">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2615144">Description of Privileges</a>, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>SeTcbPrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>setdriver, <a class="indexterm" href="CUPS-printing.html#id2649816">A Check of the rpcclient man Page</a>, <a class="indexterm" href="CUPS-printing.html#id2650224">Requirements for adddriver and setdriver to Succeed</a></dt><dt>SetPrinter(), <a class="indexterm" href="CUPS-printing.html#id2649816">A Check of the rpcclient man Page</a></dt><dt>setting up directories, <a class="indexterm" href="AccessControls.html#id2617311">File and Directory Access Control</a></dt><dt>SeUndockPrivilege, <a class="indexterm" href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></dt><dt>severely impaired, <a class="indexterm" href="NetworkBrowsing.html#id2586870">TCP/IP without NetBIOS</a></dt><dt>SFU, <a class="indexterm" href="idmapper.html#id2614116">IDMAP, Active Directory, and MS Services for UNIX 3.5</a></dt><dt>SFU 3.5, <a class="indexterm" href="idmapper.html#id2611579">Primary Domain Controller</a></dt><dt>SGI-RGB, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt><dt>SGID, <a class="indexterm" href="AccessControls.html#id2617311">File and Directory Access Control</a></dt><dt>shadow, <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a></dt><dt>shadow copies, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>shadow password file, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></dt><dt>shadow utilities, <a class="indexterm" href="groupmapping.html#id2601958">Features and Benefits</a></dt><dt>shadow_copy, <a class="indexterm" href="VFS.html#id2657919">shadow_copy</a>, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>shadow_copy module, <a class="indexterm" href="VFS.html#id2657919">shadow_copy</a></dt><dt>share, <a class="indexterm" href="install.html#id2558075">Configuration File Syntax</a>, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a>, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>share access, <a class="indexterm" href="AccessControls.html#id2619058">Access Controls on Shares</a></dt><dt>share ACLs, <a class="indexterm" href="NT4Migration.html#id2686687">Samba-3 Implementation Choices</a></dt><dt>share management, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a></dt><dt>share modes, <a class="indexterm" href="SambaHA.html#id2678695">The Distributed File System Challenge</a></dt><dt>share permissions, <a class="indexterm" href="AccessControls.html#id2619218">Windows NT4 Workstation/Server</a></dt><dt>Share Permissions, <a class="indexterm" href="AccessControls.html#id2619323">Windows 200x/XP</a></dt><dt>share settings, <a class="indexterm" href="AccessControls.html#id2616650">Features and Benefits</a></dt><dt>share stanza controls, <a class="indexterm" href="NT4Migration.html#id2686687">Samba-3 Implementation Choices</a></dt><dt>share-level, <a class="indexterm" href="ServerType.html#id2565193">Samba Security Modes</a>, <a class="indexterm" href="ServerType.html#id2565518">Share-Level Security</a>, <a class="indexterm" href="msdfs.html#id2627553">Features and Benefits</a></dt><dt>share-level ACLs, <a class="indexterm" href="groupmapping.html#id2603463">Applicable Only to Versions Earlier than 3.0.11</a></dt><dt>share-mode, <a class="indexterm" href="StandAloneServer.html#id2580234">Features and Benefits</a></dt><dt>share-mode security, <a class="indexterm" href="samba-pdc.html#id2570985">Security Mode and Master Browsers</a></dt><dt>share-mode server, <a class="indexterm" href="StandAloneServer.html#id2580234">Features and Benefits</a></dt><dt>shared secret, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>shares, <a class="indexterm" href="NetworkBrowsing.html#id2585793">What Is Browsing?</a></dt><dt>shares and files, <a class="indexterm" href="winbind.html#id2660799">Requirements</a></dt><dt>share_info.tdb, <a class="indexterm" href="AccessControls.html#id2619058">Access Controls on Shares</a>, <a class="indexterm" href="CUPS-printing.html#id2651551">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>Sharing, <a class="indexterm" href="AccessControls.html#id2619323">Windows 200x/XP</a></dt><dt>shell scripts, <a class="indexterm" href="classicalprinting.html#id2631500">Print Commands</a></dt><dt>shift, <a class="indexterm" href="CUPS-printing.html#id2641313">UNIX Printfile Conversion and GUI Basics</a></dt><dt>Shift_JIS, <a class="indexterm" href="unicode.html#id2676302">Japanese Charsets</a>, <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a></dt><dt>shortcuts, <a class="indexterm" href="ClientConfig.html#id2581683">TCP/IP Configuration</a>, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a></dt><dt>Shortcuts, <a class="indexterm" href="AccessControls.html#id2616851">MS Windows NTFS Comparison with UNIX File Systems</a></dt><dt>show-stopper-type, <a class="indexterm" href="NT4Migration.html#id2685152">Planning and Getting Started</a></dt><dt>SID, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2571436">The System Cannot Log You On (C000019B)</a>, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2574222">Example Configuration</a>, <a class="indexterm" href="domain-member.html#id2577904">Why Is This Better Than security = server?</a>, <a class="indexterm" href="domain-member.html#id2579543">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="ChangeNotes.html#id2584733">User and Group Changes</a>, <a class="indexterm" href="ChangeNotes.html#id2585226">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a>, <a class="indexterm" href="passdb.html#id2594631">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="groupmapping.html">Group Mapping: MS Windows and UNIX</a>, <a class="indexterm" href="groupmapping.html#id2601958">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2608369">Managing Security Identifiers (SIDS)</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2611579">Primary Domain Controller</a>, <a class="indexterm" href="idmapper.html#id2612670">IDMAP_RID with Winbind</a>, <a class="indexterm" href="rights.html#id2614523">Rights Management Capabilities</a>, <a class="indexterm" href="rights.html#id2615970">The Administrator Domain SID</a>, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2659842">Handling of Foreign SIDs</a>, <a class="indexterm" href="ProfileMgmt.html#id2669023">Side Bar Notes</a>, <a class="indexterm" href="ProfileMgmt.html#id2669116">Get SID</a>, <a class="indexterm" href="cfgsmarts.html#id2679993">Multiple Server Hosting</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a>, <a class="indexterm" href="NT4Migration.html#id2686039">Profile Migration/Creation</a></dt><dt>SID management, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a></dt><dt>SID-to-GID, <a class="indexterm" href="groupmapping.html#id2601958">Features and Benefits</a></dt><dt>SIDs, <a class="indexterm" href="NT4Migration.html#id2686687">Samba-3 Implementation Choices</a></dt><dt>signing, <a class="indexterm" href="samba-pdc.html#id2571678">Cannot Log onto Domain Member Workstation After Joining Domain</a></dt><dt>simple access controls, <a class="indexterm" href="NT4Migration.html#id2685798">Server Share and Directory Layout</a></dt><dt>simple configuration, <a class="indexterm" href="install.html#id2559157">Example Configuration</a></dt><dt>simple guide, <a class="indexterm" href="upgrading-to-3.0.html#oldupdatenotes">Upgrading from Samba-2.x to Samba-3.0.25</a></dt><dt>Simple Object Access Protocol (see SOAP)</dt><dt>simple operation, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a></dt><dt>simple print server, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></dt><dt>simple printing, <a class="indexterm" href="classicalprinting.html#id2628739">Simple Print Configuration</a></dt><dt>simplest</dt><dd><dl><dt>configuration, <a class="indexterm" href="install.html#id2559157">Example Configuration</a></dt></dl></dd><dt>simplicity, <a class="indexterm" href="StandAloneServer.html#id2580234">Features and Benefits</a></dt><dt>Simplicity is king, <a class="indexterm" href="NT4Migration.html#id2685798">Server Share and Directory Layout</a></dt><dt>single DHCP server, <a class="indexterm" href="ClientConfig.html#id2582949">MS Windows Me</a></dt><dt>single repository, <a class="indexterm" href="passdb.html">Account Information Databases</a></dt><dt>single server, <a class="indexterm" href="SambaHA.html#id2678494">The Front-End Challenge</a></dt><dt>single sign-on, <a class="indexterm" href="domain-member.html#id2575193">Features and Benefits</a> (see SSO)</dt><dt>Single Sign-On, <a class="indexterm" href="CUPS-printing.html#id2648129">Caveats to Be Considered</a></dt><dt>single-byte charsets, <a class="indexterm" href="unicode.html#id2676001">What Are Charsets and Unicode?</a></dt><dt>single-logon, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a></dt><dt>single-sign-on, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>single-user mode, <a class="indexterm" href="winbind.html#id2660799">Requirements</a></dt><dt>slapadd, <a class="indexterm" href="passdb.html#id2599940">Initialize the LDAP Database</a></dt><dt>slapd, <a class="indexterm" href="passdb.html#id2599668">OpenLDAP Configuration</a></dt><dt>slapd.conf, <a class="indexterm" href="ChangeNotes.html#id2585347">LDAP Changes in Samba-3.0.23</a>, <a class="indexterm" href="passdb.html#id2599668">OpenLDAP Configuration</a>, <a class="indexterm" href="passdb.html#id2600663">Security and sambaSamAccount</a></dt><dt>slapd.pem, <a class="indexterm" href="samba-bdc.html#id2573025">LDAP Configuration Notes</a></dt><dt>slapindex, <a class="indexterm" href="ChangeNotes.html#id2585347">LDAP Changes in Samba-3.0.23</a></dt><dt>slappasswd, <a class="indexterm" href="passdb.html#id2599940">Initialize the LDAP Database</a></dt><dt>slave servers, <a class="indexterm" href="NT4Migration.html#id2685596">Domain Layout</a></dt><dt>slow browsing, <a class="indexterm" href="NetworkBrowsing.html#id2592632">Browsing of Shares and Directories is Very Slow</a></dt><dt>slow network, <a class="indexterm" href="speed.html#id2697192">Samba Performance Problem Due to Changing Linux Kernel</a></dt><dt>slow network browsing, <a class="indexterm" href="NetworkBrowsing.html#id2592832">Invalid Cached Share References Affects Network Browsing</a></dt><dt>slow performance, <a class="indexterm" href="speed.html#id2697380">Samba Performance is Very Slow</a></dt><dt>smart printers, <a class="indexterm" href="CUPS-printing.html#id2639126">Overview</a></dt><dt>SMB, <a class="indexterm" href="ServerType.html#id2566348">Server Security (User Level Security)</a>, <a class="indexterm" href="domain-member.html#id2580101">I Can't Join a Windows 2003 PDC</a>, <a class="indexterm" href="StandAloneServer.html#id2580328">Background</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585610">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2590890">Technical Overview of Browsing</a>, <a class="indexterm" href="securing-samba.html#id2624642">Using Interface Protection</a>, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a>, <a class="indexterm" href="integrate-ms-networks.html#id2674766">Name Resolution as Used within MS Windows Networking</a>, <a class="indexterm" href="Backup.html#id2677606">BackupPC</a>, <a class="indexterm" href="SambaHA.html#id2678494">The Front-End Challenge</a>, <a class="indexterm" href="SambaHA.html#id2678898">Server Pool Communications</a>, <a class="indexterm" href="problems.html">Analyzing and Solving Samba Problems</a></dt><dt>SMB encryption, <a class="indexterm" href="passdb.html#id2594426">Advantages of Encrypted Passwords</a></dt><dt>SMB locks, <a class="indexterm" href="SambaHA.html#id2678898">Server Pool Communications</a></dt><dt>SMB name, <a class="indexterm" href="integrate-ms-networks.html#id2674766">Name Resolution as Used within MS Windows Networking</a></dt><dt>SMB networking, <a class="indexterm" href="problems.html#id2690936">Diagnostics Tools</a></dt><dt>SMB password, <a class="indexterm" href="passdb.html#id2596033">The smbpasswd Tool</a></dt><dt>SMB Password, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>SMB password encryption, <a class="indexterm" href="passdb.html#id2594111">Important Notes About Security</a></dt><dt>smb ports, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></dt><dt>SMB printers, <a class="indexterm" href="CUPS-printing.html#id2655538">Administrator Cannot Install Printers for All Local Users</a></dt><dt>SMB requests, <a class="indexterm" href="SambaHA.html#id2678589">Demultiplexing SMB Requests</a></dt><dt>SMB semantics, <a class="indexterm" href="SambaHA.html#id2678695">The Distributed File System Challenge</a></dt><dt>SMB server, <a class="indexterm" href="passdb.html#id2594426">Advantages of Encrypted Passwords</a></dt><dt>SMB Server, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>SMB services, <a class="indexterm" href="SambaHA.html#id2678822">Restrictive Constraints on Distributed File Systems</a></dt><dt>SMB signing, <a class="indexterm" href="domain-member.html#id2580101">I Can't Join a Windows 2003 PDC</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></dt><dt>SMB state information, <a class="indexterm" href="SambaHA.html#id2678589">Demultiplexing SMB Requests</a></dt><dt>SMB-based messaging, <a class="indexterm" href="NetworkBrowsing.html#netdiscuss">Discussion</a></dt><dt>smb-cdserver.conf, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></dt><dt>smb.conf, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></dt><dt>SMB/CIFS, <a class="indexterm" href="samba-bdc.html#id2573448">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="domain-member.html#id2580101">I Can't Join a Windows 2003 PDC</a>, <a class="indexterm" href="passdb.html#id2594111">Important Notes About Security</a>, <a class="indexterm" href="unicode.html#id2676001">What Are Charsets and Unicode?</a></dt><dt>SMB/CIFS server, <a class="indexterm" href="passdb.html#id2598586">Password Backends</a></dt><dt>smbclient, <a class="indexterm" href="domain-member.html#ads-test-smbclient">Testing with smbclient</a>, <a class="indexterm" href="classicalprinting.html#id2634683">Installing Driver Files into [print$]</a>, <a class="indexterm" href="classicalprinting.html#id2634901">smbclient to Confirm Driver Installation</a>, <a class="indexterm" href="Backup.html#id2677606">BackupPC</a>, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a>, <a class="indexterm" href="problems.html#id2690988">Debugging with Samba Itself</a></dt><dt>smbd, <a class="indexterm" href="install.html#id2558977">Starting Samba</a>, <a class="indexterm" href="install.html#id2559157">Example Configuration</a>, <a class="indexterm" href="install.html#id2559391">Test Your Config File with testparm</a>, <a class="indexterm" href="FastStart.html#id2561292">Secure Read-Write File and Print Server</a>, <a class="indexterm" href="FastStart.html#id2562116">Example Configuration</a>, <a class="indexterm" href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="passdb.html#id2599442">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2600125">Configuring Samba</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2611972">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="rights.html#id2615144">Description of Privileges</a>, <a class="indexterm" href="classicalprinting.html#id2629022">Verifying Configuration with testparm</a>, <a class="indexterm" href="classicalprinting.html#id2629220">Rapid Configuration Validation</a>, <a class="indexterm" href="VFS.html#id2657146">extd_audit</a>, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2660951">Testing Things Out</a>, <a class="indexterm" href="winbind.html#id2661746">Join the Samba Server to the PDC Domain</a>, <a class="indexterm" href="winbind.html#id2662345">Linux</a>, <a class="indexterm" href="winbind.html#id2662551">Solaris</a>, <a class="indexterm" href="SambaHA.html#id2678898">Server Pool Communications</a>, <a class="indexterm" href="largefile.html">Handling Large Directories</a>, <a class="indexterm" href="cfgsmarts.html#id2679993">Multiple Server Hosting</a>, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a>, <a class="indexterm" href="problems.html#id2690988">Debugging with Samba Itself</a></dt><dt>smbgroupedit, <a class="indexterm" href="NetCommand.html">Remote and Local Management: The Net Command</a></dt><dt>smbgrpadd.sh, <a class="indexterm" href="groupmapping.html#id2604298">Sample smb.conf Add Group Script</a></dt><dt>smbHome, <a class="indexterm" href="passdb.html#id2600899">LDAP Special Attributes for sambaSamAccounts</a></dt><dt>smbldap-groupadd, <a class="indexterm" href="NetCommand.html#id2605667">Adding or Creating a New Group</a></dt><dt>smbldap-tools, <a class="indexterm" href="passdb.html#id2599139">ldapsam</a></dt><dt>smbpasswd, <a class="indexterm" href="ServerType.html#id2565925">Example Configuration</a>, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2574840">How Do I Replicate the smbpasswd File?</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2578186">Configure smb.conf</a>, <a class="indexterm" href="domain-member.html#id2579543">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="ChangeNotes.html#id2585226">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#id2593352">Backward Compatibility Account Storage Systems</a>, <a class="indexterm" href="passdb.html#acctmgmttools">Account Management Tools</a>, <a class="indexterm" href="passdb.html#id2596033">The smbpasswd Tool</a>, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a>, <a class="indexterm" href="passdb.html#id2597109">User Account Management</a>, <a class="indexterm" href="passdb.html#id2598461">Account Import/Export</a>, <a class="indexterm" href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="passdb.html#id2599139">ldapsam</a>, <a class="indexterm" href="passdb.html#id2599442">Schema and Relationship to the RFC 2307 posixAccount</a>, <a class="indexterm" href="passdb.html#id2599940">Initialize the LDAP Database</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a>, <a class="indexterm" href="PolicyMgmt.html#id2666320">Samba PDC</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684231">Passdb Backends and Authentication</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2684426">New Schema</a></dt><dt>smbpasswd format, <a class="indexterm" href="passdb.html#id2597225">Listing User and Machine Accounts</a></dt><dt>smbpasswd plaintext database, <a class="indexterm" href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a></dt><dt>SMBsessetupX, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a></dt><dt>smbspool, <a class="indexterm" href="CUPS-printing.html#id2654628">Printing from CUPS to Windows-Attached Printers</a></dt><dt>smbstatus, <a class="indexterm" href="CUPS-printing.html#id2655345">Avoid Being Connected to the Samba Server as the Wrong User</a>, <a class="indexterm" href="bugreport.html#id2692767">Attaching to a Running Process</a></dt><dt>SMBtconX, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a></dt><dt>smbusers, <a class="indexterm" href="securing-samba.html#id2624583">User-Based Protection</a></dt><dt>SMS, <a class="indexterm" href="problems.html#id2691438">The Windows Network Monitor</a></dt><dt>Snapshots, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>sniffer, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="problems.html#id2690936">Diagnostics Tools</a></dt><dt>socket, <a class="indexterm" href="cfgsmarts.html#id2679993">Multiple Server Hosting</a></dt><dt>socket address, <a class="indexterm" href="cfgsmarts.html#id2679993">Multiple Server Hosting</a></dt><dt>SOFTQ printing system, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>Solaris, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="winbind.html#id2662740">Configure Winbind and PAM</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2664260">Remote Management with ThinLinc</a>, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a>, <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a></dt><dt>Solaris 9, <a class="indexterm" href="winbind.html#id2662551">Solaris</a></dt><dt>source code, <a class="indexterm" href="install.html#id2559157">Example Configuration</a></dt><dt>space character, <a class="indexterm" href="groupmapping.html#id2604610">Adding Groups Fails</a></dt><dt>special account, <a class="indexterm" href="rights.html">User Rights and Privileges</a>, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>special section, <a class="indexterm" href="classicalprinting.html#id2633298">[print$] Stanza Parameters</a></dt><dt>special sections, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>special stanza, <a class="indexterm" href="classicalprinting.html#id2633298">[print$] Stanza Parameters</a></dt><dt>specific restrictions, <a class="indexterm" href="AccessControls.html#id2619058">Access Controls on Shares</a></dt><dt>Specify an IP address, <a class="indexterm" href="ClientConfig.html#id2582949">MS Windows Me</a></dt><dt>spinning process, <a class="indexterm" href="bugreport.html#id2692767">Attaching to a Running Process</a></dt><dt>spool, <a class="indexterm" href="classicalprinting.html#id2629022">Verifying Configuration with testparm</a></dt><dd><dl><dt>directory, <a class="indexterm" href="install.html#id2558075">Configuration File Syntax</a></dt></dl></dd><dt>spool files, <a class="indexterm" href="classicalprinting.html#id2632121">Custom Print Commands</a></dt><dt>spooled file, <a class="indexterm" href="classicalprinting.html#id2628427">Technical Introduction</a></dt><dt>spooler., <a class="indexterm" href="install.html#id2558075">Configuration File Syntax</a></dt><dt>spooling, <a class="indexterm" href="classicalprinting.html#id2632121">Custom Print Commands</a>, <a class="indexterm" href="CUPS-printing.html#id2640248">Central Spooling vs. “Peer-to-Peer” Printing</a></dt><dd><dl><dt>central, <a class="indexterm" href="CUPS-printing.html#id2640248">Central Spooling vs. “Peer-to-Peer” Printing</a></dt><dt>peer-to-peer, <a class="indexterm" href="CUPS-printing.html#id2640248">Central Spooling vs. “Peer-to-Peer” Printing</a></dt></dl></dd><dt>spooling path, <a class="indexterm" href="classicalprinting.html#id2629022">Verifying Configuration with testparm</a></dt><dt>spooling-only, <a class="indexterm" href="CUPS-printing.html#id2640299">Raw Print Serving: Vendor Drivers on Windows Clients</a></dt><dt>SPOOLSS, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>SQL, <a class="indexterm" href="ChangeNotes.html#id2585166">Passdb Changes</a></dt><dt>SQUID, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></dt><dt>SRV records, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a>, <a class="indexterm" href="NetworkBrowsing.html#adsdnstech">DNS and Active Directory</a></dt><dt>SRV RR, <a class="indexterm" href="integrate-ms-networks.html#id2674165">Background Information</a></dt><dt>SrvMgr.exe, <a class="indexterm" href="domain-member.html#id2576317">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>srvmgr.exe, <a class="indexterm" href="domain-member.html#id2576317">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>SRVTOOLS.EXE, <a class="indexterm" href="domain-member.html#id2576317">Managing Domain Machine Accounts using NT4 Server Manager</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663712">Remote Server Administration</a></dt><dt>ssh, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2574840">How Do I Replicate the smbpasswd File?</a>, <a class="indexterm" href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="Backup.html#id2677606">BackupPC</a></dt><dt>SSH, <a class="indexterm" href="classicalprinting.html#id2634901">smbclient to Confirm Driver Installation</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2664260">Remote Management with ThinLinc</a></dt><dt>SSL, <a class="indexterm" href="SWAT.html#id2687958">Securing SWAT through SSL</a></dt><dt>SSO, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a>, <a class="indexterm" href="domain-member.html#id2575193">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2595179">Comments Regarding LDAP</a></dt><dt>stability, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>stack trace, <a class="indexterm" href="bugreport.html#id2692634">Internal Errors</a></dt><dt>stale network links, <a class="indexterm" href="NetworkBrowsing.html#id2592832">Invalid Cached Share References Affects Network Browsing</a></dt><dt>stand-alone server, <a class="indexterm" href="idmapper.html#id2610560">Standalone Samba Server</a></dt><dt>standalone, <a class="indexterm" href="ServerType.html#id2565049">Server Types</a>, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a>, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a></dt><dt>standalone filter, <a class="indexterm" href="CUPS-printing.html#id2643453">pstoraster</a></dt><dt>standalone server, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="StandAloneServer.html">Standalone Servers</a>, <a class="indexterm" href="StandAloneServer.html#id2580234">Features and Benefits</a>, <a class="indexterm" href="StandAloneServer.html#id2580328">Background</a>, <a class="indexterm" href="passdb.html#id2597460">Adding User Accounts</a>, <a class="indexterm" href="classicalprinting.html#id2628204">Features and Benefits</a>, <a class="indexterm" href="NT4Migration.html#id2685596">Domain Layout</a></dt><dt>standard confirmation, <a class="indexterm" href="InterdomainTrusts.html#id2626238">Creating an NT4 Domain Trust</a></dt><dt>stanza, <a class="indexterm" href="install.html#id2558075">Configuration File Syntax</a>, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>stapling, <a class="indexterm" href="CUPS-printing.html#id2643286">pstops</a></dt><dt>StartDocPrinter, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>starting samba</dt><dd><dl><dt>nmbd, <a class="indexterm" href="install.html#id2558977">Starting Samba</a>, <a class="indexterm" href="FastStart.html#id2561292">Secure Read-Write File and Print Server</a>, <a class="indexterm" href="FastStart.html#id2562116">Example Configuration</a></dt><dt>smbd, <a class="indexterm" href="install.html#id2558977">Starting Samba</a>, <a class="indexterm" href="FastStart.html#id2561292">Secure Read-Write File and Print Server</a>, <a class="indexterm" href="FastStart.html#id2562116">Example Configuration</a></dt><dt>winbindd, <a class="indexterm" href="install.html#id2558977">Starting Samba</a>, <a class="indexterm" href="FastStart.html#id2562116">Example Configuration</a>, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a></dt></dl></dd><dt>startsmb, <a class="indexterm" href="compiling.html#id2694807">Alternative: Starting smbd as a Daemon</a></dt><dt>StartTLS, <a class="indexterm" href="passdb.html#id2600663">Security and sambaSamAccount</a></dt><dt>startup</dt><dd><dl><dt>process, <a class="indexterm" href="install.html#id2558977">Starting Samba</a></dt></dl></dd><dt>startup script, <a class="indexterm" href="winbind.html#id2661984">Starting and Testing the winbindd Daemon</a></dt><dt>state, <a class="indexterm" href="SambaHA.html#id2678376">Why Is This So Hard?</a></dt><dt>state information, <a class="indexterm" href="SambaHA.html#id2678376">Why Is This So Hard?</a></dt><dt>state of knowledge, <a class="indexterm" href="SambaHA.html#id2678091">Features and Benefits</a></dt><dt>static WINS entries, <a class="indexterm" href="NetworkBrowsing.html#id2590302">Static WINS Entries</a></dt><dt>status32 codes, <a class="indexterm" href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></dt><dt>sticky bit, <a class="indexterm" href="AccessControls.html#id2617311">File and Directory Access Control</a>, <a class="indexterm" href="NT4Migration.html#id2685798">Server Share and Directory Layout</a></dt><dt>storage mechanism, <a class="indexterm" href="passdb.html#acctmgmttools">Account Management Tools</a></dt><dt>storage methods, <a class="indexterm" href="passdb.html#id2596033">The smbpasswd Tool</a></dt><dt>stphoto2.ppd, <a class="indexterm" href="CUPS-printing.html#id2645689">Examples for Filtering Chains</a></dt><dt>strange delete semantics, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>stripped of comments, <a class="indexterm" href="SWAT.html#id2687177">Features and Benefits</a></dt><dt>strptime, <a class="indexterm" href="passdb.html#id2597632">Changing User Accounts</a></dt><dt>stunnel, <a class="indexterm" href="SWAT.html#id2687958">Securing SWAT through SSL</a></dt><dt>su, <a class="indexterm" href="pam.html#id2672001">Anatomy of /etc/pam.d Entries</a></dt><dt>subnet mask, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2582949">MS Windows Me</a>, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>subnets, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a></dt><dt>subscription, <a class="indexterm" href="ch47.html#id2698571">Free Support</a></dt><dt>subsuffix parameters, <a class="indexterm" href="upgrading-to-3.0.html#id2684818">New Suffix for Searching</a></dt><dt>Subversion, <a class="indexterm" href="compiling.html#id2693634">Introduction</a>, <a class="indexterm" href="compiling.html#id2693724">Access via Subversion</a></dt><dt>successful join, <a class="indexterm" href="domain-member.html#ads-test-server">Testing Server Setup</a></dt><dt>successful migration, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>sufficient, <a class="indexterm" href="pam.html#id2672001">Anatomy of /etc/pam.d Entries</a></dt><dt>suffixes, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt><dt>SUID, <a class="indexterm" href="AccessControls.html#id2617311">File and Directory Access Control</a></dt><dt>Sun, <a class="indexterm" href="domain-member.html#domain-member-server">Domain Member Server</a></dt><dt>Sun ONE iDentity server, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>Sun Solaris, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>SUN-Raster, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt><dt>support, <a class="indexterm" href="ch47.html">Samba Support</a></dt><dt>support exposure, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>SVN</dt><dd><dl><dt>web, <a class="indexterm" href="compiling.html#id2693689">Access via ViewCVS</a></dt></dl></dd><dt>SVRTOOLS.EXE, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a></dt><dt>SWAT, <a class="indexterm" href="install.html#id2558033">Configuring Samba (smb.conf)</a>, <a class="indexterm" href="SWAT.html">SWAT: The Samba Web Administration Tool</a></dt><dt>swat, <a class="indexterm" href="install.html#id2559561">SWAT</a>, <a class="indexterm" href="SWAT.html#id2687321">Validate SWAT Installation</a>, <a class="indexterm" href="SWAT.html#id2687391">Locating the SWAT File</a>, <a class="indexterm" href="SWAT.html#xinetd">Enabling SWAT for Use</a></dt><dd><dl><dt>enable, <a class="indexterm" href="SWAT.html#xinetd">Enabling SWAT for Use</a></dt><dt>security, <a class="indexterm" href="SWAT.html#id2687958">Securing SWAT through SSL</a></dt></dl></dd><dt>SWAT binary support, <a class="indexterm" href="SWAT.html#id2687321">Validate SWAT Installation</a></dt><dt>swat command-line options, <a class="indexterm" href="SWAT.html#id2687391">Locating the SWAT File</a></dt><dt>SWAT permission allowed, <a class="indexterm" href="SWAT.html#xinetd">Enabling SWAT for Use</a></dt><dt>symbolic links, <a class="indexterm" href="msdfs.html#id2627553">Features and Benefits</a></dt><dt>synchronization, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a>, <a class="indexterm" href="samba-pdc.html#id2570985">Security Mode and Master Browsers</a>, <a class="indexterm" href="NetworkBrowsing.html#id2589657">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2591595">Behavior of Cross-Subnet Browsing</a></dt><dt>synchronization problems, <a class="indexterm" href="winbind.html#id2659554">Introduction</a></dt><dt>synchronize, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a>, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a>, <a class="indexterm" href="NetworkBrowsing.html#id2589564">Use of the Remote Browse Sync Parameter</a>, <a class="indexterm" href="NetworkBrowsing.html#id2591595">Behavior of Cross-Subnet Browsing</a></dt><dt>synchronized, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a></dt><dt>syntax tolerates spelling errors, <a class="indexterm" href="classicalprinting.html#id2628739">Simple Print Configuration</a></dt><dt>system access controls, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a></dt><dt>system accounts, <a class="indexterm" href="passdb.html#id2597109">User Account Management</a></dt><dt>system administrator, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>system groups, <a class="indexterm" href="NetCommand.html#id2605869">Mapping Windows Groups to UNIX Groups</a></dt><dt>system interface scripts, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>system policies, <a class="indexterm" href="PolicyMgmt.html#id2664962">Creating and Managing System Policies</a></dt><dt>System Policy Editor, <a class="indexterm" href="PolicyMgmt.html#id2664962">Creating and Managing System Policies</a>, <a class="indexterm" href="PolicyMgmt.html#id2665713">Administration of Windows 200x/XP Policies</a>, <a class="indexterm" href="ProfileMgmt.html#id2669430">MS Windows 9x/Me</a></dt><dt>system security, <a class="indexterm" href="groupmapping.html#id2603463">Applicable Only to Versions Earlier than 3.0.11</a></dt><dt>system tools, <a class="indexterm" href="Backup.html#id2677464">Features and Benefits</a></dt><dt>SYSV, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>SYSVOL, <a class="indexterm" href="PolicyMgmt.html#id2665509">MS Windows 200x/XP Professional Policies</a></dt></dl></div><div class="indexdiv"><h3>T</h3><dl><dt>tail, <a class="indexterm" href="diagnosis.html#id2688896">Assumptions</a></dt><dt>take ownership, <a class="indexterm" href="rights.html#id2615144">Description of Privileges</a></dt><dt>Take Ownership, <a class="indexterm" href="AccessControls.html#id2619677">Viewing File Ownership</a></dt><dt>tape, <a class="indexterm" href="NT4Migration.html#id2685798">Server Share and Directory Layout</a></dt><dt>tar, <a class="indexterm" href="Backup.html#id2677606">BackupPC</a></dt><dt>tarball, <a class="indexterm" href="install.html#id2559157">Example Configuration</a></dt><dt>tattoo effect, <a class="indexterm" href="NT4Migration.html#id2686687">Samba-3 Implementation Choices</a></dt><dt>TCP, <a class="indexterm" href="NetworkBrowsing.html#id2589238">Multiple Interfaces</a>, <a class="indexterm" href="SambaHA.html#id2678376">Why Is This So Hard?</a></dt><dt>TCP data streams, <a class="indexterm" href="SambaHA.html#id2678494">The Front-End Challenge</a></dt><dt>TCP failover, <a class="indexterm" href="SambaHA.html#id2678376">Why Is This So Hard?</a></dt><dt>TCP port, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a></dt><dt>TCP port 139, <a class="indexterm" href="integrate-ms-networks.html#id2674165">Background Information</a>, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></dt><dt>TCP port 445, <a class="indexterm" href="integrate-ms-networks.html#id2674165">Background Information</a>, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></dt><dt>tcp ports, <a class="indexterm" href="winbind.html#id2661746">Join the Samba Server to the PDC Domain</a></dt><dt>TCP/IP, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2582949">MS Windows Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585610">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2590545">Windows Networking Protocols</a></dt><dt>TCP/IP configuration, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2582949">MS Windows Me</a></dt><dt>TCP/IP configuration panel, <a class="indexterm" href="ClientConfig.html#id2582402">MS Windows 2000</a></dt><dt>TCP/IP protocol configuration, <a class="indexterm" href="ClientConfig.html#id2581640">Technical Details</a></dt><dt>TCP/IP protocol settings, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2582402">MS Windows 2000</a></dt><dt>TCP/IP protocol stack, <a class="indexterm" href="NetworkBrowsing.html#id2589657">WINS: The Windows Internetworking Name Server</a></dt><dt>TCP/IP-only, <a class="indexterm" href="NetworkBrowsing.html#id2590545">Windows Networking Protocols</a></dt><dt>tcpdump, <a class="indexterm" href="problems.html#id2691244">Tcpdump</a></dt><dt>TDB, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a>, <a class="indexterm" href="classicalprinting.html#id2635646">Running rpcclient with setdriver</a>, <a class="indexterm" href="CUPS-printing.html#id2651551">The Printing *.tdb Files</a>, <a class="indexterm" href="CUPS-printing.html#id2651754">Trivial Database Files</a>, <a class="indexterm" href="cfgsmarts.html#id2679993">Multiple Server Hosting</a></dt><dd><dl><dt>backing up (see tdbbackup)</dt></dl></dd><dt>tdb, <a class="indexterm" href="winbind.html#id2660546">User and Group ID Allocation</a>, <a class="indexterm" href="SambaHA.html#id2678898">Server Pool Communications</a>, <a class="indexterm" href="tdb.html#id2692976">Features and Benefits</a></dt><dt>tdb data files, <a class="indexterm" href="upgrading-to-3.0.html#id2683783">TDB Data Files</a></dt><dt>TDB database, <a class="indexterm" href="classicalprinting.html#id2635038">Running rpcclient with adddriver</a></dt><dt>TDB database files, <a class="indexterm" href="classicalprinting.html#prt-modeset">Setting Device Modes on New Printers</a></dt><dt>tdb file backup, <a class="indexterm" href="upgrading-to-3.0.html#id2683783">TDB Data Files</a></dt><dt>tdb file descriptions, <a class="indexterm" href="install.html#tdbdocs">TDB Database File Information</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2683783">TDB Data Files</a></dt><dt>tdb file locations, <a class="indexterm" href="install.html#tdbdocs">TDB Database File Information</a></dt><dt>tdb files, <a class="indexterm" href="AccessControls.html#id2619058">Access Controls on Shares</a></dt><dt>tdbbackup, <a class="indexterm" href="CUPS-printing.html#id2651938">Using tdbbackup</a>, <a class="indexterm" href="speed.html#id2697284">Corrupt tdb Files</a></dt><dt>tdbdump, <a class="indexterm" href="AccessControls.html#id2619058">Access Controls on Shares</a></dt><dt>tdbsam, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a>, <a class="indexterm" href="ChangeNotes.html#id2585226">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="passdb.html">Account Information Databases</a>, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a>, <a class="indexterm" href="passdb.html#id2597225">Listing User and Machine Accounts</a>, <a class="indexterm" href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="passdb.html#id2598981">tdbsam</a>, <a class="indexterm" href="groupmapping.html#id2603585">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>tdbsam databases, <a class="indexterm" href="passdb.html#id2598586">Password Backends</a></dt><dt>technical reviewers, <a class="indexterm" href="cfgsmarts.html">Advanced Configuration Techniques</a></dt><dt>Telnet, <a class="indexterm" href="passdb.html#id2594567">Advantages of Non-Encrypted Passwords</a></dt><dt>telnet logins, <a class="indexterm" href="winbind.html#id2662906">Linux/FreeBSD-Specific PAM Configuration</a></dt><dt>template, <a class="indexterm" href="ProfileMgmt.html#id2669321">Creating and Managing Group Profiles</a></dt><dt>temporary location, <a class="indexterm" href="classicalprinting.html#id2631500">Print Commands</a></dt><dt>terminal server, <a class="indexterm" href="AdvancedNetworkManagement.html#id2664260">Remote Management with ThinLinc</a></dt><dt>Terminal Server, <a class="indexterm" href="SambaHA.html#id2678589">Demultiplexing SMB Requests</a></dt><dt>Testing Server Setup, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a></dt><dt>testparm, <a class="indexterm" href="install.html#id2559391">Test Your Config File with testparm</a>, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="classicalprinting.html#id2628739">Simple Print Configuration</a>, <a class="indexterm" href="classicalprinting.html#id2629022">Verifying Configuration with testparm</a>, <a class="indexterm" href="classicalprinting.html#id2629220">Rapid Configuration Validation</a>, <a class="indexterm" href="classicalprinting.html#id2629619">Extended Printing Configuration</a>, <a class="indexterm" href="diagnosis.html#id2688896">Assumptions</a>, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a>, <a class="indexterm" href="problems.html#id2690988">Debugging with Samba Itself</a></dt><dt>tethereal, <a class="indexterm" href="problems.html#id2691244">Tcpdump</a></dt><dt>text/plain, <a class="indexterm" href="CUPS-printing.html#id2642732">MIME Type Conversion Rules</a></dt><dt>texttops, <a class="indexterm" href="CUPS-printing.html#id2642732">MIME Type Conversion Rules</a></dt><dt>thin client, <a class="indexterm" href="AdvancedNetworkManagement.html#id2664260">Remote Management with ThinLinc</a></dt><dt>ThinLinc, <a class="indexterm" href="AdvancedNetworkManagement.html#id2664260">Remote Management with ThinLinc</a></dt><dt>tid, <a class="indexterm" href="SambaHA.html#id2678589">Demultiplexing SMB Requests</a></dt><dt>TIFF, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt><dt>TightVNC, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2664260">Remote Management with ThinLinc</a></dt><dt>time difference, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a></dt><dt>time format, <a class="indexterm" href="passdb.html#id2597632">Changing User Accounts</a></dt><dt>time-to-live (see TTL)</dt><dt>tool, <a class="indexterm" href="AccessControls.html#id2619323">Windows 200x/XP</a></dt><dt>tools, <a class="indexterm" href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a>, <a class="indexterm" href="passdb.html#id2595454">Caution Regarding LDAP and Samba</a></dt><dt>tools\reskit\netadmin\poledit, <a class="indexterm" href="PolicyMgmt.html#id2665151">Windows 9x/ME Policies</a></dt><dt>traditional printing, <a class="indexterm" href="classicalprinting.html#id2632121">Custom Print Commands</a></dt><dt>training course, <a class="indexterm" href="Backup.html#id2677509">Discussion of Backup Solutions</a></dt><dt>transfer differences, <a class="indexterm" href="Backup.html#id2677778">Rsync</a></dt><dt>transformation, <a class="indexterm" href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></dt><dt>transitive, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a></dt><dt>transparent access, <a class="indexterm" href="domain-member.html#id2575193">Features and Benefits</a></dt><dt>transparently reconnected, <a class="indexterm" href="SambaHA.html#id2678246">The Ultimate Goal</a></dt><dt>transport connection loss, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>Transport Layer Seccurity, TLS</dt><dd><dl><dt>Configuring, <a class="indexterm" href="ch-ldap-tls.html#s1-config-ldap-tls">Configuring</a></dt><dt>Introduction, <a class="indexterm" href="ch-ldap-tls.html#s1-intro-ldap-tls">Introduction</a></dt></dl></dd><dt>transport layer security (see TLS)</dt><dt>Transport Layer Security, TLS</dt><dd><dl><dt>Testing, <a class="indexterm" href="ch-ldap-tls.html#s1-test-ldap-tls">Testing</a></dt><dt>Troubleshooting, <a class="indexterm" href="ch-ldap-tls.html#s1-int-ldap-tls">Troubleshooting</a></dt></dl></dd><dt>trigger, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a></dt><dt>trivial database, <a class="indexterm" href="passdb.html#id2593543">New Account Storage Systems</a> (see TDB)</dt><dt>Trivial Database, <a class="indexterm" href="tdb.html#id2692976">Features and Benefits</a></dt><dt>troubleshoot, <a class="indexterm" href="classicalprinting.html#id2629220">Rapid Configuration Validation</a></dt><dt>troubleshooting, <a class="indexterm" href="CUPS-printing.html#id2654628">Printing from CUPS to Windows-Attached Printers</a></dt><dt>Tru64 UNIX, <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a></dt><dt>trust, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a></dt><dd><dl><dt>account, <a class="indexterm" href="ServerType.html#id2565710">Domain Security Mode (User-Level Security)</a></dt></dl></dd><dt>trust account, <a class="indexterm" href="ServerType.html#id2565710">Domain Security Mode (User-Level Security)</a>, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a>, <a class="indexterm" href="InterdomainTrusts.html#id2627167">NT4-Style Domain Trusts with Windows 2000</a></dt><dd><dl><dt>interdomain, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a></dt><dt>machine, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a></dt></dl></dd><dt>trust account password, <a class="indexterm" href="samba-bdc.html#id2571862">Features and Benefits</a></dt><dt>trust accounts, <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a></dt><dt>trust established, <a class="indexterm" href="InterdomainTrusts.html#id2626421">Interdomain Trust Facilities</a></dt><dt>trust relationship, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2626335">Completing an NT4 Domain Trust</a>, <a class="indexterm" href="InterdomainTrusts.html#id2626421">Interdomain Trust Facilities</a>, <a class="indexterm" href="InterdomainTrusts.html#id2626630">Configuring Samba NT-Style Domain Trusts</a>, <a class="indexterm" href="InterdomainTrusts.html#id2627167">NT4-Style Domain Trusts with Windows 2000</a></dt><dt>trust relationships, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="InterdomainTrusts.html#id2625845">Features and Benefits</a>, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2626238">Creating an NT4 Domain Trust</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></dt><dt>trusted, <a class="indexterm" href="NetworkBrowsing.html#id2591595">Behavior of Cross-Subnet Browsing</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>trusted domain, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2626335">Completing an NT4 Domain Trust</a>, <a class="indexterm" href="InterdomainTrusts.html#id2626971">Samba as the Trusting Domain</a>, <a class="indexterm" href="winbind.html#id2660159">Name Service Switch</a></dt><dt>trusted domain name, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>trusted party, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>trusting domain, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2626335">Completing an NT4 Domain Trust</a></dt><dt>trusting party, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>trusts, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a></dt><dt>TTL, <a class="indexterm" href="NetworkBrowsing.html#id2590302">Static WINS Entries</a></dt><dt>turn oplocks off, <a class="indexterm" href="locking.html#id2622885">Advanced Samba Oplocks Parameters</a></dt><dt>turnkey solution, <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a></dt><dt>two-up, <a class="indexterm" href="CUPS-printing.html#id2645689">Examples for Filtering Chains</a></dt><dt>two-way</dt><dd><dl><dt>propagation, <a class="indexterm" href="samba-bdc.html#id2571862">Features and Benefits</a></dt></dl></dd><dt>two-way trust, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a>, <a class="indexterm" href="InterdomainTrusts.html#id2626202">Native MS Windows NT4 Trusts Configuration</a>, <a class="indexterm" href="InterdomainTrusts.html#id2626421">Interdomain Trust Facilities</a></dt></dl></div><div class="indexdiv"><h3>U</h3><dl><dt>UCS-2, <a class="indexterm" href="unicode.html#id2676302">Japanese Charsets</a></dt><dt>UDP, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a>, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2589238">Multiple Interfaces</a>, <a class="indexterm" href="NetworkBrowsing.html#id2591424">Cross-Subnet Browsing</a></dt><dt>UDP port 137, <a class="indexterm" href="integrate-ms-networks.html#id2674165">Background Information</a></dt><dt>udp ports, <a class="indexterm" href="winbind.html#id2661746">Join the Samba Server to the PDC Domain</a></dt><dt>UDP unicast, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a></dt><dt>UID, <a class="indexterm" href="samba-bdc.html#id2574222">Example Configuration</a>, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2577904">Why Is This Better Than security = server?</a>, <a class="indexterm" href="domain-member.html#id2579543">Sharing User ID Mappings between Samba Domain Members</a>, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a>, <a class="indexterm" href="passdb.html#id2594631">Mapping User Identifiers between MS Windows and UNIX</a>, <a class="indexterm" href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a>, <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2597225">Listing User and Machine Accounts</a>, <a class="indexterm" href="groupmapping.html#id2601958">Features and Benefits</a>, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a>, <a class="indexterm" href="NetCommand.html#id2605869">Mapping Windows Groups to UNIX Groups</a>, <a class="indexterm" href="NetCommand.html#id2606994">UNIX and Windows User Management</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2611579">Primary Domain Controller</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a>, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2659842">Handling of Foreign SIDs</a>, <a class="indexterm" href="winbind.html#id2661984">Starting and Testing the winbindd Daemon</a></dt><dt>uid, <a class="indexterm" href="passdb.html#id2599668">OpenLDAP Configuration</a></dt><dt>UID numbers, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a></dt><dt>UID range, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a></dt><dt>unauthorized, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>unauthorized access, <a class="indexterm" href="AccessControls.html">File, Directory, and Share Access Controls</a></dt><dt>UNC notation, <a class="indexterm" href="classicalprinting.html#id2634130">Identifying Driver Files</a></dt><dt>unexpected.tdb, <a class="indexterm" href="CUPS-printing.html#id2651551">The Printing *.tdb Files</a></dt><dd><dl><dt>(see also TDB)</dt></dl></dd><dt>unicast, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a></dt><dt>unicode, <a class="indexterm" href="unicode.html#id2676001">What Are Charsets and Unicode?</a></dt><dt>Unicode, <a class="indexterm" href="unicode.html#id2676134">Samba and Charsets</a>, <a class="indexterm" href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></dt><dt>Unicode UTF-8, <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a></dt><dt>unified logon, <a class="indexterm" href="winbind.html#id2659554">Introduction</a></dt><dt>UNIX, <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a></dt><dd><dl><dt>server, <a class="indexterm" href="ServerType.html#id2564889">Features and Benefits</a></dt></dl></dd><dt>UNIX account, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2576597">On-the-Fly Creation of Machine Trust Accounts</a></dt><dt>unix charset, <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a></dt><dt>UNIX Domain Socket, <a class="indexterm" href="AccessControls.html#id2617311">File and Directory Access Control</a></dt><dt>UNIX domain socket, <a class="indexterm" href="winbind.html#id2659968">How Winbind Works</a></dt><dt>UNIX file system access controls, <a class="indexterm" href="AccessControls.html#id2616650">Features and Benefits</a></dt><dt>UNIX group, <a class="indexterm" href="NetCommand.html#id2605869">Mapping Windows Groups to UNIX Groups</a></dt><dt>UNIX groups, <a class="indexterm" href="groupmapping.html">Group Mapping: MS Windows and UNIX</a>, <a class="indexterm" href="winbind.html#id2659643">What Winbind Provides</a></dt><dt>UNIX home directories, <a class="indexterm" href="securing-samba.html#id2625284">Why Can Users Access Other Users' Home Directories?</a></dt><dt>UNIX host system, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>UNIX ID, <a class="indexterm" href="winbind.html#id2660546">User and Group ID Allocation</a></dt><dt>UNIX locking, <a class="indexterm" href="locking.html#id2621768">Discussion</a></dt><dt>UNIX login ID, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>UNIX permissions, <a class="indexterm" href="NT4Migration.html#id2686687">Samba-3 Implementation Choices</a></dt><dt>UNIX printer, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>UNIX printing, <a class="indexterm" href="classicalprinting.html#id2628427">Technical Introduction</a></dt><dt>UNIX system account, <a class="indexterm" href="domain-member.html#id2579865">Adding Machine to Domain Fails</a></dt><dt>UNIX system accounts, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>UNIX system files, <a class="indexterm" href="Backup.html#id2677464">Features and Benefits</a></dt><dt>UNIX user identifier (see UID)</dt><dt>UNIX users, <a class="indexterm" href="domain-member.html#id2577904">Why Is This Better Than security = server?</a>, <a class="indexterm" href="winbind.html#id2659643">What Winbind Provides</a></dt><dt>UNIX-style encrypted passwords, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a></dt><dt>UNIX-user database, <a class="indexterm" href="StandAloneServer.html#id2580328">Background</a></dt><dt>UNIX/Linux group, <a class="indexterm" href="groupmapping.html#id2602711">Warning: User Private Group Problems</a></dt><dt>UNIX/Linux user account, <a class="indexterm" href="NetCommand.html#id2606994">UNIX and Windows User Management</a></dt><dt>unlink calls, <a class="indexterm" href="VFS.html#id2657472">recycle</a></dt><dt>unlinked, <a class="indexterm" href="AccessControls.html#id2617311">File and Directory Access Control</a></dt><dt>unmapped groups, <a class="indexterm" href="ChangeNotes.html#id2584733">User and Group Changes</a></dt><dt>unmapped users, <a class="indexterm" href="ChangeNotes.html#id2584733">User and Group Changes</a></dt><dt>unprivileged account names, <a class="indexterm" href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a></dt><dt>unsigned drivers, <a class="indexterm" href="CUPS-printing.html#id2655505">Windows 200x/XP Local Security Policies</a></dt><dt>unstoppable services, <a class="indexterm" href="SambaHA.html#id2678246">The Ultimate Goal</a></dt><dt>unsupported encryption, <a class="indexterm" href="domain-member.html#id2579178">Possible Errors</a></dt><dt>unsupported software, <a class="indexterm" href="ch47.html#id2698789">Commercial Support</a></dt><dt>updates, <a class="indexterm" href="securing-samba.html#id2625196">Upgrading Samba</a></dt><dt>upload drivers, <a class="indexterm" href="classicalprinting.html#id2628204">Features and Benefits</a></dt><dt>uploaded driver, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>uploaded drivers, <a class="indexterm" href="classicalprinting.html#id2632790">Point'n'Print Client Drivers on Samba Servers</a></dt><dt>uploading, <a class="indexterm" href="classicalprinting.html#id2632790">Point'n'Print Client Drivers on Samba Servers</a></dt><dt>upper-case, <a class="indexterm" href="ServerType.html#id2565355">User Level Security</a></dt><dt>uppercase, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2579865">Adding Machine to Domain Fails</a>, <a class="indexterm" href="largefile.html">Handling Large Directories</a></dt><dt>uppercase character, <a class="indexterm" href="groupmapping.html#id2604610">Adding Groups Fails</a></dt><dt>USB, <a class="indexterm" href="CUPS-printing.html#id2645689">Examples for Filtering Chains</a></dt><dt>use computer anywhere, <a class="indexterm" href="unicode.html#id2675949">Features and Benefits</a></dt><dt>user, <a class="indexterm" href="ChangeNotes.html#id2584733">User and Group Changes</a>, <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="AccessControls.html#id2617311">File and Directory Access Control</a></dt><dt>user access management, <a class="indexterm" href="domain-member.html#id2575193">Features and Benefits</a></dt><dt>user account, <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="passdb.html#id2597109">User Account Management</a>, <a class="indexterm" href="passdb.html#TOSHARG-acctflags">Account Flags Management</a>, <a class="indexterm" href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a>, <a class="indexterm" href="NetCommand.html#id2606994">UNIX and Windows User Management</a></dt><dd><dl><dt>Adding/Deleting, <a class="indexterm" href="passdb.html#id2596033">The smbpasswd Tool</a></dt></dl></dd><dt>user account database, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a></dt><dt>user accounts, <a class="indexterm" href="passdb.html#id2595454">Caution Regarding LDAP and Samba</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>User Accounts</dt><dd><dl><dt>Adding/Deleting, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a>, <a class="indexterm" href="passdb.html#id2600550">Accounts and Groups Management</a></dt></dl></dd><dt>user and group, <a class="indexterm" href="winbind.html#id2659643">What Winbind Provides</a></dt><dt>user and trust accounts, <a class="indexterm" href="passdb.html">Account Information Databases</a></dt><dt>user attributes, <a class="indexterm" href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a></dt><dt>user authentication, <a class="indexterm" href="winbind.html#id2660018">Microsoft Remote Procedure Calls</a></dt><dt>user database, <a class="indexterm" href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a>, <a class="indexterm" href="passdb.html#id2598639">Plaintext</a></dt><dt>user encoded, <a class="indexterm" href="NetCommand.html#id2608369">Managing Security Identifiers (SIDS)</a></dt><dt>user groups, <a class="indexterm" href="ch47.html#id2698571">Free Support</a></dt><dt>user logons, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>user management, <a class="indexterm" href="passdb.html#id2596033">The smbpasswd Tool</a>, <a class="indexterm" href="NetCommand.html#id2605091">Overview</a>, <a class="indexterm" href="NetCommand.html#id2605466">UNIX and Windows Group Management</a></dt><dt>User Management, <a class="indexterm" href="passdb.html#pdbeditthing">The pdbedit Tool</a>, <a class="indexterm" href="passdb.html#id2600550">Accounts and Groups Management</a></dt><dt>User Manager, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a>, <a class="indexterm" href="InterdomainTrusts.html#id2626971">Samba as the Trusting Domain</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663712">Remote Server Administration</a>, <a class="indexterm" href="ProfileMgmt.html#id2669321">Creating and Managing Group Profiles</a></dt><dt>User Manager for Domains, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663712">Remote Server Administration</a></dt><dt>user or group, <a class="indexterm" href="rights.html#id2614798">Using the “net rpc rights” Utility</a></dt><dt>user profiles, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a></dt><dt>User Rights and Privileges, <a class="indexterm" href="rights.html#id2615970">The Administrator Domain SID</a></dt><dt>user-level, <a class="indexterm" href="ServerType.html#id2565193">Samba Security Modes</a>, <a class="indexterm" href="ServerType.html#id2565355">User Level Security</a></dt><dt>User-level access control, <a class="indexterm" href="ClientConfig.html#id2583981">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>user-level security, <a class="indexterm" href="passdb.html#id2594426">Advantages of Encrypted Passwords</a></dt><dt>user-mode security, <a class="indexterm" href="samba-pdc.html#id2570985">Security Mode and Master Browsers</a></dt><dt>user.DAT, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a>, <a class="indexterm" href="ProfileMgmt.html#id2668731">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></dt><dt>user.MAN, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a></dt><dt>User.MAN, <a class="indexterm" href="ProfileMgmt.html#id2669181">Mandatory Profiles</a></dt><dt>useradd, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a>, <a class="indexterm" href="domain-member.html#id2576597">On-the-Fly Creation of Machine Trust Accounts</a></dt><dt>username, <a class="indexterm" href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a></dt><dt>username and password, <a class="indexterm" href="ClientConfig.html#id2583455">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>username map, <a class="indexterm" href="NetCommand.html#id2607322">User Mapping</a></dt><dt>userPassword, <a class="indexterm" href="passdb.html#id2599940">Initialize the LDAP Database</a></dt><dt>users, <a class="indexterm" href="PolicyMgmt.html#id2664856">Features and Benefits</a></dt><dt>UsrMgr.exe, <a class="indexterm" href="domain-member.html#id2576317">Managing Domain Machine Accounts using NT4 Server Manager</a></dt><dt>UTF-8, <a class="indexterm" href="unicode.html#id2676134">Samba and Charsets</a>, <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a></dt><dt>UTF-8 encoding, <a class="indexterm" href="SWAT.html#id2688110">Enabling SWAT Internationalization Support</a></dt></dl></div><div class="indexdiv"><h3>V</h3><dl><dt>valid username/password, <a class="indexterm" href="securing-samba.html#id2624993">Using IPC$ Share-Based Denials </a></dt><dt>valid users, <a class="indexterm" href="diagnosis.html#id2689189">The Tests</a></dt><dt>validate, <a class="indexterm" href="install.html#id2559391">Test Your Config File with testparm</a>, <a class="indexterm" href="diagnosis.html#id2688857">Introduction</a></dt><dt>validate every backup, <a class="indexterm" href="NT4Migration.html#id2685798">Server Share and Directory Layout</a></dt><dt>validation, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a>, <a class="indexterm" href="PolicyMgmt.html">System and Account Policies</a></dt><dt>vendor-provided drivers, <a class="indexterm" href="CUPS-printing.html#id2640299">Raw Print Serving: Vendor Drivers on Windows Clients</a></dt><dt>verifiable, <a class="indexterm" href="NetworkBrowsing.html#id2591595">Behavior of Cross-Subnet Browsing</a></dt><dt>verify, <a class="indexterm" href="classicalprinting.html#id2629220">Rapid Configuration Validation</a></dt><dt>version control, <a class="indexterm" href="VFS.html#id2657919">shadow_copy</a></dt><dt>VFS, <a class="indexterm" href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a>, <a class="indexterm" href="VFS.html#id2656487">Discussion</a></dt><dt>VFS module, <a class="indexterm" href="VFS.html#id2657919">shadow_copy</a>, <a class="indexterm" href="ProfileMgmt.html#id2669181">Mandatory Profiles</a></dt><dt>VFS modules, <a class="indexterm" href="VFS.html#id2656487">Discussion</a>, <a class="indexterm" href="VFS.html#id2658822">VFS Modules Available Elsewhere</a></dt><dt>vgcreate, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>vgdisplay, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>vipw, <a class="indexterm" href="samba-pdc.html#id2571270">“$” Cannot Be Included in Machine Name</a>, <a class="indexterm" href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a></dt><dt>Virtual File System (see VFS)</dt><dt>virtual server, <a class="indexterm" href="SambaHA.html#id2678494">The Front-End Challenge</a>, <a class="indexterm" href="SambaHA.html#id2679095">A Simple Solution</a></dt><dt>virus scanner, <a class="indexterm" href="VFS.html#id2656487">Discussion</a></dt><dt>Visual Studio, <a class="indexterm" href="CUPS-printing.html#id2647194">PostScript Drivers with No Major Problems, Even in Kernel 7 Mode</a></dt><dt>vital task, <a class="indexterm" href="SambaHA.html#id2678091">Features and Benefits</a></dt><dt>VNC/RFB, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></dt><dt>volume group, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>volunteers, <a class="indexterm" href="problems.html#id2691801">Getting Mailing List Help</a></dt><dt>vscan, <a class="indexterm" href="VFS.html#id2658907">vscan</a></dt><dt>vuid, <a class="indexterm" href="SambaHA.html#id2678589">Demultiplexing SMB Requests</a></dt></dl></div><div class="indexdiv"><h3>W</h3><dl><dt>W32X86, <a class="indexterm" href="classicalprinting.html#id2634130">Identifying Driver Files</a>, <a class="indexterm" href="CUPS-printing.html#id2647194">PostScript Drivers with No Major Problems, Even in Kernel 8 Mode</a>, <a class="indexterm" href="CUPS-printing.html#id2648129">Caveats to Be Considered</a></dt><dt>W32X86/2, <a class="indexterm" href="CUPS-printing.html#id2641909">Using Windows-Formatted Vendor PPDs</a></dt><dt>WAN, <a class="indexterm" href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a>, <a class="indexterm" href="locking.html#id2622639">Slow and/or Unreliable Networks</a></dt><dt>wbinfo, <a class="indexterm" href="winbind.html#id2661984">Starting and Testing the winbindd Daemon</a></dt><dt>Web-based configuration, <a class="indexterm" href="SWAT.html">SWAT: The Samba Web Administration Tool</a></dt><dt>WebClient, <a class="indexterm" href="NetworkBrowsing.html#id2592632">Browsing of Shares and Directories is Very Slow</a></dt><dt>Welcome, <a class="indexterm" href="ClientConfig.html#id2583455">Joining a Domain: Windows 2000/XP Professional</a></dt><dt>well known RID, <a class="indexterm" href="rights.html#id2615970">The Administrator Domain SID</a></dt><dt>well-controlled network, <a class="indexterm" href="NT4Migration.html#id2685798">Server Share and Directory Layout</a></dt><dt>well-known RID, <a class="indexterm" href="groupmapping.html#id2603585">Default Users, Groups, and Relative Identifiers</a></dt><dt>wide-area network bandwidth, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>win election, <a class="indexterm" href="NetworkBrowsing.html#id2588976">Making Samba the Domain Master</a></dt><dt>Win32 printing API, <a class="indexterm" href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></dt><dt>WIN40, <a class="indexterm" href="classicalprinting.html#id2634130">Identifying Driver Files</a>, <a class="indexterm" href="classicalprinting.html#id2634537">Obtaining Driver Files from Windows Client [print$] Shares</a>, <a class="indexterm" href="CUPS-printing.html#id2648129">Caveats to Be Considered</a></dt><dt>winbind, <a class="indexterm" href="domain-member.html#id2577904">Why Is This Better Than security = server?</a>, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="idmapper.html#id2611885">Examples of IDMAP Backend Usage</a>, <a class="indexterm" href="idmapper.html#id2611972">NT4-Style Domains (Includes Samba Domains)</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2661549">Configure smb.conf</a></dt><dt>Winbind, <a class="indexterm" href="StandAloneServer.html#id2580328">Background</a>, <a class="indexterm" href="winbind.html#id2659796">Target Uses</a>, <a class="indexterm" href="winbind.html#id2660111">Microsoft Active Directory Services</a>, <a class="indexterm" href="winbind.html#id2660391">Pluggable Authentication Modules</a>, <a class="indexterm" href="winbind.html#id2660546">User and Group ID Allocation</a>, <a class="indexterm" href="winbind.html#id2660622">Result Caching</a>, <a class="indexterm" href="winbind.html#id2660684">Introduction</a>, <a class="indexterm" href="winbind.html#id2661038">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a>, <a class="indexterm" href="winbind.html#id2661436">NSS Winbind on AIX</a>, <a class="indexterm" href="winbind.html#id2661984">Starting and Testing the winbindd Daemon</a>, <a class="indexterm" href="winbind.html#id2662906">Linux/FreeBSD-Specific PAM Configuration</a>, <a class="indexterm" href="winbind.html#id2663370">Conclusion</a>, <a class="indexterm" href="pam.html">PAM-Based Distributed Authentication</a>, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt><dt>Winbind architecture, <a class="indexterm" href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></dt><dt>Winbind hooks, <a class="indexterm" href="winbind.html#id2659643">What Winbind Provides</a></dt><dt>Winbind services, <a class="indexterm" href="winbind.html#id2661984">Starting and Testing the winbindd Daemon</a></dt><dt>Winbind-based authentication, <a class="indexterm" href="pam.html">PAM-Based Distributed Authentication</a></dt><dt>winbind.so, <a class="indexterm" href="winbind.html#id2663252">Solaris-Specific Configuration</a></dt><dt>winbindd, <a class="indexterm" href="install.html#id2558977">Starting Samba</a>, <a class="indexterm" href="install.html#id2559391">Test Your Config File with testparm</a>, <a class="indexterm" href="FastStart.html#id2562116">Example Configuration</a>, <a class="indexterm" href="samba-bdc.html#id2574222">Example Configuration</a>, <a class="indexterm" href="ChangeNotes.html#id2585226">Group Mapping Changes in Samba-3.0.23</a>, <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a>, <a class="indexterm" href="groupmapping.html#id2601958">Features and Benefits</a>, <a class="indexterm" href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a>, <a class="indexterm" href="NetCommand.html#id2606994">UNIX and Windows User Management</a>, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a>, <a class="indexterm" href="InterdomainTrusts.html">Interdomain Trust Relationships</a>, <a class="indexterm" href="winbind.html#id2659210">Features and Benefits</a>, <a class="indexterm" href="winbind.html#id2659968">How Winbind Works</a>, <a class="indexterm" href="winbind.html#id2660799">Requirements</a>, <a class="indexterm" href="winbind.html#id2660951">Testing Things Out</a>, <a class="indexterm" href="winbind.html#id2661038">Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris</a>, <a class="indexterm" href="winbind.html#id2661549">Configure smb.conf</a>, <a class="indexterm" href="winbind.html#id2661984">Starting and Testing the winbindd Daemon</a>, <a class="indexterm" href="winbind.html#id2662551">Solaris</a>, <a class="indexterm" href="winbind.html#id2662740">Configure Winbind and PAM</a>, <a class="indexterm" href="cfgsmarts.html#id2679993">Multiple Server Hosting</a></dt><dt>winbindd daemon, <a class="indexterm" href="winbind.html#id2662345">Linux</a></dt><dt>Windows, <a class="indexterm" href="idmapper.html">Identity Mapping (IDMAP)</a>, <a class="indexterm" href="unicode.html#id2676441">Basic Parameter Setting</a></dt><dt>Windows 2000, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#ads-test-server">Testing Server Setup</a>, <a class="indexterm" href="NetworkBrowsing.html">Network Browsing</a>, <a class="indexterm" href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a></dt><dt>Windows 2000 Professional TCP/IP, <a class="indexterm" href="ClientConfig.html#id2582402">MS Windows 2000</a></dt><dt>Windows 2000 server, <a class="indexterm" href="InterdomainTrusts.html#id2627167">NT4-Style Domain Trusts with Windows 2000</a></dt><dt>Windows 2003, <a class="indexterm" href="domain-member.html#id2578377">Configure /etc/krb5.conf</a>, <a class="indexterm" href="domain-member.html#id2580101">I Can't Join a Windows 2003 PDC</a></dt><dt>Windows 200x/XP, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a>, <a class="indexterm" href="classicalprinting.html#id2628204">Features and Benefits</a></dt><dt>Windows 9x/Me, <a class="indexterm" href="ClientConfig.html#id2583981">Domain Logon Configuration: Windows 9x/Me</a>, <a class="indexterm" href="NetworkBrowsing.html#id2589928">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2590545">Windows Networking Protocols</a>, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663712">Remote Server Administration</a></dt><dt>Windows 9x/Me/XP Home, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>Windows account management, <a class="indexterm" href="winbind.html#id2659643">What Winbind Provides</a></dt><dt>Windows client, <a class="indexterm" href="rights.html#id2616153">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>Windows client failover, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>Windows domain, <a class="indexterm" href="upgrading-to-3.0.html#id2684135">Changes in Behavior</a></dt><dt>Windows Explorer, <a class="indexterm" href="NetworkBrowsing.html#id2591173">Problem Resolution</a>, <a class="indexterm" href="classicalprinting.html#id2634130">Identifying Driver Files</a></dt><dt>Windows group, <a class="indexterm" href="groupmapping.html">Group Mapping: MS Windows and UNIX</a>, <a class="indexterm" href="groupmapping.html#id2602711">Warning: User Private Group Problems</a>, <a class="indexterm" href="NetCommand.html#id2605869">Mapping Windows Groups to UNIX Groups</a>, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>Windows group account, <a class="indexterm" href="rights.html#id2615970">The Administrator Domain SID</a></dt><dt>Windows groups, <a class="indexterm" href="NetCommand.html#id2605869">Mapping Windows Groups to UNIX Groups</a></dt><dt>Windows Internet Name Server (see WINS)</dt><dt>Windows Logon, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a></dt><dt>Windows Me TCP/IP, <a class="indexterm" href="ClientConfig.html#id2582949">MS Windows Me</a></dt><dt>Windows Millennium, <a class="indexterm" href="ClientConfig.html#id2582949">MS Windows Me</a></dt><dt>Windows Millennium edition (Me) TCP/IP, <a class="indexterm" href="ClientConfig.html#id2582949">MS Windows Me</a></dt><dt>Windows network clients, <a class="indexterm" href="NetworkBrowsing.html#id2585610">Features and Benefits</a></dt><dt>Windows NT domain name, <a class="indexterm" href="ClientConfig.html#id2583981">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>Windows NT PostScript driver, <a class="indexterm" href="CUPS-printing.html#id2654628">Printing from CUPS to Windows-Attached Printers</a></dt><dt>Windows NT Server, <a class="indexterm" href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></dt><dt>Windows NT/2000/XP, <a class="indexterm" href="classicalprinting.html#id2635304">Check Samba for Driver Recognition</a></dt><dt>Windows NT/200x, <a class="indexterm" href="NetworkBrowsing.html#id2589928">WINS Server Configuration</a>, <a class="indexterm" href="winbind.html#id2660684">Introduction</a></dt><dt>Windows NT/200x/XP, <a class="indexterm" href="classicalprinting.html#id2630099">The [global] Section</a></dt><dt>Windows NT/200x/XP Professional, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a>, <a class="indexterm" href="ClientConfig.html#id2583455">Joining a Domain: Windows 2000/XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2584425">Common Errors</a></dt><dt>Windows NT3.10, <a class="indexterm" href="samba-bdc.html#id2572268">Essential Background Information</a></dt><dt>Windows NT4, <a class="indexterm" href="AccessControls.html#id2619218">Windows NT4 Workstation/Server</a>, <a class="indexterm" href="classicalprinting.html#id2628204">Features and Benefits</a></dt><dt>Windows NT4 domains, <a class="indexterm" href="InterdomainTrusts.html#id2626421">Interdomain Trust Facilities</a></dt><dt>Windows NT4 Server, <a class="indexterm" href="InterdomainTrusts.html#id2626630">Configuring Samba NT-Style Domain Trusts</a></dt><dt>Windows NT4/200X, <a class="indexterm" href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a></dt><dt>Windows NT4/200x, <a class="indexterm" href="groupmapping.html#id2602374">Discussion</a></dt><dt>Windows NT4/200x/XP, <a class="indexterm" href="samba-bdc.html#id2573596">NetBIOS Over TCP/IP Enabled</a>, <a class="indexterm" href="groupmapping.html#id2603585">Default Users, Groups, and Relative Identifiers</a>, <a class="indexterm" href="AccessControls.html#id2619323">Windows 200x/XP</a></dt><dt>Windows NT4/2kX/XPPro, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>Windows PPD, <a class="indexterm" href="CUPS-printing.html#id2652303">690 “Perfect” Printers</a></dt><dt>Windows privilege model, <a class="indexterm" href="rights.html#id2614523">Rights Management Capabilities</a></dt><dt>Windows Registry, <a class="indexterm" href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dt>windows registry settings, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a></dt><dd><dl><dt>default profile locations, <a class="indexterm" href="ProfileMgmt.html#id2669587">MS Windows NT4 Workstation</a>, <a class="indexterm" href="ProfileMgmt.html#id2670149">MS Windows 200x/XP</a></dt><dt>profile path, <a class="indexterm" href="ProfileMgmt.html#id2667359">Windows 9x/Me Profile Setup</a></dt><dt>roaming profiles, <a class="indexterm" href="ProfileMgmt.html#id2667128">Disabling Roaming Profile Support</a></dt></dl></dd><dt>Windows Resource Kit, <a class="indexterm" href="ProfileMgmt.html#id2667128">Disabling Roaming Profile Support</a></dt><dt>Windows Security Identifiers (see SID)</dt><dt>Windows Terminal server, <a class="indexterm" href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></dt><dt>Windows Terminal Server, <a class="indexterm" href="AdvancedNetworkManagement.html#id2664260">Remote Management with ThinLinc</a></dt><dt>Windows user, <a class="indexterm" href="rights.html">User Rights and Privileges</a></dt><dt>Windows user accounts, <a class="indexterm" href="NetCommand.html#id2606994">UNIX and Windows User Management</a></dt><dt>Windows workstation., <a class="indexterm" href="rights.html#id2616153">What Rights and Privileges Will Permit Windows Client Administration?</a></dt><dt>Windows XP Home, <a class="indexterm" href="passdb.html#id2594111">Important Notes About Security</a></dt><dt>Windows XP Home edition, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2570551">The Special Case of MS Windows XP Home Edition</a>, <a class="indexterm" href="ClientConfig.html#id2583981">Domain Logon Configuration: Windows 9x/Me</a></dt><dt>Windows XP Home Edition, <a class="indexterm" href="ProfileMgmt.html#id2670149">MS Windows 200x/XP</a></dt><dt>Windows XP Professional, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a>, <a class="indexterm" href="classicalprinting.html#id2628204">Features and Benefits</a></dt><dt>Windows XP Professional TCP/IP, <a class="indexterm" href="ClientConfig.html#id2582402">MS Windows 2000</a></dt><dt>Windows XP TCP/IP, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a></dt><dt>Windows95/98/ME, <a class="indexterm" href="classicalprinting.html#id2635304">Check Samba for Driver Recognition</a></dt><dt>winnt.adm, <a class="indexterm" href="PolicyMgmt.html#id2665288">Windows NT4-Style Policy Files</a></dt><dt>WINS, <a class="indexterm" href="samba-pdc.html#id2567320">Features and Benefits</a>, <a class="indexterm" href="samba-pdc.html#id2568563">Domain Controller Types</a>, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a>, <a class="indexterm" href="samba-bdc.html#id2573448">What Qualifies a Domain Controller on the Network?</a>, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a>, <a class="indexterm" href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a>, <a class="indexterm" href="ClientConfig.html#id2581759">MS Windows XP Professional</a>, <a class="indexterm" href="ClientConfig.html#id2582402">MS Windows 2000</a>, <a class="indexterm" href="ClientConfig.html#id2582949">MS Windows Me</a>, <a class="indexterm" href="NetworkBrowsing.html">Network Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585610">Features and Benefits</a>, <a class="indexterm" href="NetworkBrowsing.html#id2585793">What Is Browsing?</a>, <a class="indexterm" href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a>, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#id2588376">Domain Browsing Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2588976">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2589657">WINS: The Windows Internetworking Name Server</a>, <a class="indexterm" href="NetworkBrowsing.html#id2589928">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2590890">Technical Overview of Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2590976">Browsing Support in Samba</a>, <a class="indexterm" href="NetworkBrowsing.html#id2591424">Cross-Subnet Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2591595">Behavior of Cross-Subnet Browsing</a>, <a class="indexterm" href="integrate-ms-networks.html#id2675520">WINS Lookup</a>, <a class="indexterm" href="DNSDHCP.html#id2699127">Example Configuration</a></dt><dt>wins, <a class="indexterm" href="integrate-ms-networks.html#id2674642">/etc/nsswitch.conf</a></dt><dt>WINS Configuration, <a class="indexterm" href="NetworkBrowsing.html#id2592632">Browsing of Shares and Directories is Very Slow</a></dt><dt>WINS lookup, <a class="indexterm" href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></dt><dt>WINS replication, <a class="indexterm" href="NetworkBrowsing.html#id2590249">WINS Replication</a>, <a class="indexterm" href="NetworkBrowsing.html#id2590302">Static WINS Entries</a></dt><dt>WINS Server, <a class="indexterm" href="NetworkBrowsing.html#id2585793">What Is Browsing?</a></dt><dt>WINS server, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2588976">Making Samba the Domain Master</a>, <a class="indexterm" href="NetworkBrowsing.html#id2589928">WINS Server Configuration</a>, <a class="indexterm" href="NetworkBrowsing.html#id2590976">Browsing Support in Samba</a>, <a class="indexterm" href="NetworkBrowsing.html#id2592632">Browsing of Shares and Directories is Very Slow</a></dt><dt>WINS server address, <a class="indexterm" href="NetworkBrowsing.html#id2587429">How Browsing Functions</a></dt><dt>WINS server settings, <a class="indexterm" href="ClientConfig.html#id2582949">MS Windows Me</a></dt><dt>WINS servers, <a class="indexterm" href="NetworkBrowsing.html#id2589657">WINS: The Windows Internetworking Name Server</a></dt><dt>WINS service, <a class="indexterm" href="NetworkBrowsing.html#id2589928">WINS Server Configuration</a></dt><dt>WINS Support, <a class="indexterm" href="NetworkBrowsing.html#id2585793">What Is Browsing?</a></dt><dt>wins.dat, <a class="indexterm" href="NetworkBrowsing.html#id2590302">Static WINS Entries</a></dt><dt>without Administrator account, <a class="indexterm" href="rights.html#id2615970">The Administrator Domain SID</a></dt><dt>without ADS, <a class="indexterm" href="NT4Migration.html#id2685187">Objectives</a></dt><dt>work-flow protocol, <a class="indexterm" href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></dt><dt>workgroup, <a class="indexterm" href="ServerType.html#id2566348">Server Security (User Level Security)</a>, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a>, <a class="indexterm" href="samba-pdc.html#id2570590">The Special Case of Windows 9x/Me</a>, <a class="indexterm" href="ClientConfig.html#id2583981">Domain Logon Configuration: Windows 9x/Me</a>, <a class="indexterm" href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a>, <a class="indexterm" href="NetworkBrowsing.html#id2588976">Making Samba the Domain Master</a>, <a class="indexterm" href="integrate-ms-networks.html#id2674766">Name Resolution as Used within MS Windows Networking</a>, <a class="indexterm" href="cfgsmarts.html#id2679993">Multiple Server Hosting</a>, <a class="indexterm" href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></dt><dd><dl><dt>membership, <a class="indexterm" href="samba-pdc.html#id2569068">Preparing for Domain Control</a></dt></dl></dd><dt>workstations, <a class="indexterm" href="passdb.html#passdbtech">Technical Information</a></dt><dt>world-writable, <a class="indexterm" href="AccessControls.html#id2617311">File and Directory Access Control</a></dt><dt>write, <a class="indexterm" href="AccessControls.html#id2617311">File and Directory Access Control</a></dt><dt>write access, <a class="indexterm" href="AccessControls.html#id2617728">Protecting Directories and Files from Deletion</a></dt><dt>Write caching, <a class="indexterm" href="locking.html#id2622026">Opportunistic Locking Overview</a></dt><dt>write changes, <a class="indexterm" href="idmapper.html#id2611813">Backup Domain Controller</a></dt><dt>write permission, <a class="indexterm" href="domain-member.html#ads-create-machine-account">Create the Computer Account</a></dt><dt>writeable, <a class="indexterm" href="VFS.html#fakeperms">fake_perms</a></dt><dt>WYSIWYG, <a class="indexterm" href="CUPS-printing.html#id2641134">Windows Drivers, GDI, and EMF</a></dt></dl></div><div class="indexdiv"><h3>X</h3><dl><dt>X Window 9 System, <a class="indexterm" href="CUPS-printing.html#id2641134">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2641313">UNIX Printfile Conversion and GUI Basics</a></dt><dt>X.509 certificates, <a class="indexterm" href="ch-ldap-tls.html#s1-intro-ldap-tls">Introduction</a></dt><dt>XFS file system, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>xfsprogs, <a class="indexterm" href="VFS.html#id2658108">Shadow Copy Setup</a></dt><dt>xinetd, <a class="indexterm" href="SWAT.html#id2687321">Validate SWAT Installation</a>, <a class="indexterm" href="compiling.html#id2694587">Starting from inetd.conf</a> (see inetd)</dt><dt>XML, <a class="indexterm" href="ChangeNotes.html#id2585166">Passdb Changes</a></dt><dt>XML-based datasets, <a class="indexterm" href="CUPS-printing.html#id2652928">Foomatic Database-Generated PPDs</a></dt><dt>xpp, <a class="indexterm" href="CUPS-printing.html#id2652928">Foomatic Database-Generated PPDs</a></dt><dt>Xprint, <a class="indexterm" href="CUPS-printing.html#id2641134">Windows Drivers, GDI, and EMF</a>, <a class="indexterm" href="CUPS-printing.html#id2641313">UNIX Printfile Conversion and GUI Basics</a></dt><dt>xxxxBSD, <a class="indexterm" href="pam.html#id2671238">Features and Benefits</a></dt></dl></div><div class="indexdiv"><h3>Y</h3><dl><dt>yppasswd, <a class="indexterm" href="passdb.html#id2596033">The smbpasswd Tool</a></dt></dl></div><div class="indexdiv"><h3>Z</h3><dl><dt>Zero Administration Kit, <a class="indexterm" href="PolicyMgmt.html#id2665288">Windows NT4-Style Policy Files</a></dt><dt>zero-based broadcast, <a class="indexterm" href="NetworkBrowsing.html#id2589216">Note about Broadcast Addresses</a></dt></dl></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="go01.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> </td></tr><tr><td width="40%" align="left" valign="top">Glossary </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></body></html> -
branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/largefile.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 33. Handling Large Directories</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="SambaHA.html" title="Chapter 32. High Availability"><link rel="next" href="cfgsmarts.html" title="Chapter 34. Advanced Configuration Techniques"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 33. Handling Large Directories</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="SambaHA.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="cfgsmarts.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="largefile"></a>Chapter 33. Handling Large Directories</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Jeremy</span> <span class="orgname">Samba Team</span> <span class="surname">Allison</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="id267 3393"></a>3 <a class="indexterm" name="id267 3400"></a>4 <a class="indexterm" name="id267 3407"></a>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 33. Handling Large Directories</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="SambaHA.html" title="Chapter 32. High Availability"><link rel="next" href="cfgsmarts.html" title="Chapter 34. Advanced Configuration Techniques"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 33. Handling Large Directories</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="SambaHA.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="cfgsmarts.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 33. Handling Large Directories"><div class="titlepage"><div><div><h2 class="title"><a name="largefile"></a>Chapter 33. Handling Large Directories</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Jeremy</span> <span class="surname">Allison</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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="id2679455"></a> 3 <a class="indexterm" name="id2679462"></a> 4 <a class="indexterm" name="id2679469"></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="id267 3421"></a>9 <a class="indexterm" name="id267 3428"></a>8 <a class="indexterm" name="id2679483"></a> 9 <a class="indexterm" name="id2679490"></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="id267 3445"></a>16 <a class="indexterm" name="id267 3452"></a>15 <a class="indexterm" name="id2679507"></a> 16 <a class="indexterm" name="id2679514"></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="id267 3465"></a>20 <a class="indexterm" name="id2679526"></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="id2673493"></a><em class="parameter"><code>path = /data/manyfilesdir</code></em></td></tr><tr><td><a class="indexterm" name="id2673505"></a><em class="parameter"><code>read only = no</code></em></td></tr><tr><td><a class="indexterm" name="id2673516"></a><em class="parameter"><code>case sensitive = True</code></em></td></tr><tr><td><a class="indexterm" name="id2673528"></a><em class="parameter"><code>default case = upper</code></em></td></tr><tr><td><a class="indexterm" name="id2673540"></a><em class="parameter"><code>preserve case = no</code></em></td></tr><tr><td><a class="indexterm" name="id2673552"></a><em class="parameter"><code>short preserve case = no</code></em></td></tr></table><p>24 </p><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[bigshare]</code></em></td></tr><tr><td><a class="indexterm" name="id2679554"></a><em class="parameter"><code>path = /data/manyfilesdir</code></em></td></tr><tr><td><a class="indexterm" name="id2679566"></a><em class="parameter"><code>read only = no</code></em></td></tr><tr><td><a class="indexterm" name="id2679578"></a><em class="parameter"><code>case sensitive = True</code></em></td></tr><tr><td><a class="indexterm" name="id2679590"></a><em class="parameter"><code>default case = upper</code></em></td></tr><tr><td><a class="indexterm" name="id2679602"></a><em class="parameter"><code>preserve case = no</code></em></td></tr><tr><td><a class="indexterm" name="id2679613"></a><em class="parameter"><code>short preserve case = no</code></em></td></tr></table><p> 25 25 </p><p> 26 <a class="indexterm" name="id267 3567"></a>27 <a class="indexterm" name="id267 3574"></a>28 <a class="indexterm" name="id267 3580"></a>26 <a class="indexterm" name="id2679628"></a> 27 <a class="indexterm" name="id2679635"></a> 28 <a class="indexterm" name="id2679642"></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="id267 3601"></a>35 <a class="indexterm" name="id267 3607"></a>36 <a class="indexterm" name="id267 3614"></a>34 <a class="indexterm" name="id2679663"></a> 35 <a class="indexterm" name="id2679669"></a> 36 <a class="indexterm" name="id2679676"></a> 37 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 … … 42 42 <span class="application">smbd</span>. 43 43 </p><p> 44 <a class="indexterm" name="id267 3661"></a>45 <a class="indexterm" name="id267 3668"></a>46 <a class="indexterm" name="id267 3674"></a>44 <a class="indexterm" name="id2679722"></a> 45 <a class="indexterm" name="id2679729"></a> 46 <a class="indexterm" name="id2679736"></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.3.x/docs/htmldocs/Samba3-HOWTO/locking.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 17. File and Record Locking</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="AccessControls.html" title="Chapter 16. File, Directory, and Share Access Controls"><link rel="next" href="securing-samba.html" title="Chapter 18. Securing Samba"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 17. File and Record Locking</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="AccessControls.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="securing-samba.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="locking"></a>Chapter 17. File and Record Locking</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Jeremy</span> <span class="orgname">Samba Team</span> <span class="surname">Allison</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2615585">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="locking.html#id2615682">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2615940">Opportunistic Locking Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2616938">Samba Oplocks Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2617033">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2617446">MS Windows Oplocks and Caching Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2617633">Workstation Service Entries</a></span></dt><dt><span class="sect2"><a href="locking.html#id2617655">Server Service Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2617721">Persistent Data Corruption</a></span></dt><dt><span class="sect1"><a href="locking.html#id2617747">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2617814">locking.tdb Error Messages</a></span></dt><dt><span class="sect2"><a href="locking.html#id2617845">Problems Saving Files in MS Office on Windows XP</a></span></dt><dt><span class="sect2"><a href="locking.html#id2617869">Long Delays Deleting Files over Network with XP SP1</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2617901">Additional Reading</a></span></dt></dl></div><p>2 <a class="indexterm" name="id26 15575"></a>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 17. File and Record Locking</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="AccessControls.html" title="Chapter 16. File, Directory, and Share Access Controls"><link rel="next" href="securing-samba.html" title="Chapter 18. Securing Samba"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 17. File and Record Locking</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="AccessControls.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="securing-samba.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 17. File and Record Locking"><div class="titlepage"><div><div><h2 class="title"><a name="locking"></a>Chapter 17. File and Record Locking</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Jeremy</span> <span class="surname">Allison</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2621671">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="locking.html#id2621768">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2622026">Opportunistic Locking Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2623031">Samba Oplocks Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2623125">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2623539">MS Windows Oplocks and Caching Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2623726">Workstation Service Entries</a></span></dt><dt><span class="sect2"><a href="locking.html#id2623748">Server Service Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2623814">Persistent Data Corruption</a></span></dt><dt><span class="sect1"><a href="locking.html#id2623839">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2623907">locking.tdb Error Messages</a></span></dt><dt><span class="sect2"><a href="locking.html#id2623937">Problems Saving Files in MS Office on Windows XP</a></span></dt><dt><span class="sect2"><a href="locking.html#id2623962">Long Delays Deleting Files over Network with XP SP1</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2623993">Additional Reading</a></span></dt></dl></div><p> 2 <a class="indexterm" name="id2621660"></a> 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="id2615585"></a>Features and Benefits</h2></div></div></div><p>6 <a class="indexterm" name="id26 15593"></a>5 </p><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2621671"></a>Features and Benefits</h2></div></div></div><p> 6 <a class="indexterm" name="id2621679"></a> 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 15606"></a>10 <a class="indexterm" name="id2621691"></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 15621"></a>15 <a class="indexterm" name="id26 15628"></a>16 <a class="indexterm" name="id26 15635"></a>14 <a class="indexterm" name="id2621707"></a> 15 <a class="indexterm" name="id2621714"></a> 16 <a class="indexterm" name="id2621721"></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 15654"></a>26 <a class="indexterm" name="id2621740"></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 </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 15670"></a>30 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 31 <a class="indexterm" name="id2621755"></a> 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="id2615682"></a>Discussion</h2></div></div></div><p>35 <a class="indexterm" name="id26 15690"></a>36 <a class="indexterm" name="id26 15697"></a>34 </p></div></div><div class="sect1" title="Discussion"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2621768"></a>Discussion</h2></div></div></div><p> 35 <a class="indexterm" name="id2621775"></a> 36 <a class="indexterm" name="id2621782"></a> 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 15718"></a>43 <a class="indexterm" name="id26 15724"></a>44 <a class="indexterm" name="id26 15731"></a>45 <a class="indexterm" name="id26 15738"></a>46 <a class="indexterm" name="id26 15745"></a>42 <a class="indexterm" name="id2621803"></a> 43 <a class="indexterm" name="id2621810"></a> 44 <a class="indexterm" name="id2621817"></a> 45 <a class="indexterm" name="id2621824"></a> 46 <a class="indexterm" name="id2621831"></a> 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 15765"></a>57 <a class="indexterm" name="id26 15772"></a>56 <a class="indexterm" name="id2621851"></a> 57 <a class="indexterm" name="id2621858"></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 15787"></a>64 <a class="indexterm" name="id26 15794"></a>63 <a class="indexterm" name="id2621873"></a> 64 <a class="indexterm" name="id2621880"></a> 65 65 Strictly speaking, an SMB server should check for locks before every read and write call on 66 66 a file. Unfortunately, with the way fcntl() works, this can be slow and may overstress … … 71 71 will make lock checking calls on <span class="emphasis"><em>every</em></span> read and write call. 72 72 </p><p> 73 <a class="indexterm" name="id26 15836"></a>73 <a class="indexterm" name="id2621921"></a> 74 74 You can also disable byte-range locking completely by using 75 75 <a class="link" href="smb.conf.5.html#LOCKING" target="_top">locking = no</a>. … … 78 78 tell clients that everything is okay. 79 79 </p><p> 80 <a class="indexterm" name="id26 15863"></a>81 <a class="indexterm" name="id26 15869"></a>82 <a class="indexterm" name="id26 15876"></a>83 <a class="indexterm" name="id26 15883"></a>84 <a class="indexterm" name="id26 15890"></a>85 <a class="indexterm" name="id26 15897"></a>86 <a class="indexterm" name="id26 15903"></a>80 <a class="indexterm" name="id2621949"></a> 81 <a class="indexterm" name="id2621955"></a> 82 <a class="indexterm" name="id2621962"></a> 83 <a class="indexterm" name="id2621969"></a> 84 <a class="indexterm" name="id2621975"></a> 85 <a class="indexterm" name="id2621982"></a> 86 <a class="indexterm" name="id2621989"></a> 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="id2615940"></a>Opportunistic Locking Overview</h3></div></div></div><p>94 <a class="indexterm" name="id26 15948"></a>95 <a class="indexterm" name="id26 15956"></a>96 <a class="indexterm" name="id26 15962"></a>93 </p><div class="sect2" title="Opportunistic Locking Overview"><div class="titlepage"><div><div><h3 class="title"><a name="id2622026"></a>Opportunistic Locking Overview</h3></div></div></div><p> 94 <a class="indexterm" name="id2622034"></a> 95 <a class="indexterm" name="id2622041"></a> 96 <a class="indexterm" name="id2622048"></a> 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 15986"></a>103 <a class="indexterm" name="id2622071"></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 16004"></a>106 <a class="indexterm" name="id2622090"></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 16022"></a>109 <a class="indexterm" name="id2622108"></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 16036"></a>113 <a class="indexterm" name="id26 16043"></a>114 <a class="indexterm" name="id26 16050"></a>112 <a class="indexterm" name="id2622122"></a> 113 <a class="indexterm" name="id2622129"></a> 114 <a class="indexterm" name="id2622136"></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 117 117 because Windows monitors the file's status for concurrent access from 118 118 other processes. 119 </p><div class="variablelist" ><p class="title"><b>Windows Defines Four Kinds of Oplocks:</b></p><dl><dt><span class="term">Level1 Oplock</span></dt><dd><p>120 <a class="indexterm" name="id26 16082"></a>121 <a class="indexterm" name="id26 16088"></a>122 <a class="indexterm" name="id26 16095"></a>123 <a class="indexterm" name="id26 16102"></a>119 </p><div class="variablelist" title="Windows Defines Four Kinds of Oplocks:"><p class="title"><b>Windows Defines Four Kinds of Oplocks:</b></p><dl><dt><span class="term">Level1 Oplock</span></dt><dd><p> 120 <a class="indexterm" name="id2622167"></a> 121 <a class="indexterm" name="id2622173"></a> 122 <a class="indexterm" name="id2622180"></a> 123 <a class="indexterm" name="id2622187"></a> 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 16117"></a>132 <a class="indexterm" name="id26 16124"></a>133 <a class="indexterm" name="id26 16131"></a>134 <a class="indexterm" name="id26 16138"></a>131 <a class="indexterm" name="id2622203"></a> 132 <a class="indexterm" name="id2622210"></a> 133 <a class="indexterm" name="id2622217"></a> 134 <a class="indexterm" name="id2622224"></a> 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 16177"></a>149 <a class="indexterm" name="id26 16184"></a>150 <a class="indexterm" name="id26 16191"></a>148 <a class="indexterm" name="id2622262"></a> 149 <a class="indexterm" name="id2622269"></a> 150 <a class="indexterm" name="id2622276"></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 16211"></a>155 <a class="indexterm" name="id2622296"></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 16229"></a>158 <a class="indexterm" name="id2622315"></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 16243"></a>162 <a class="indexterm" name="id2622329"></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 16259"></a>170 <a class="indexterm" name="id26 16266"></a>171 <a class="indexterm" name="id26 16273"></a>172 <a class="indexterm" name="id26 16280"></a>169 <a class="indexterm" name="id2622345"></a> 170 <a class="indexterm" name="id2622352"></a> 171 <a class="indexterm" name="id2622359"></a> 172 <a class="indexterm" name="id2622366"></a> 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 16302"></a>182 <a class="indexterm" name="id2622388"></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 … … 186 186 Deciding when to cache or not cache data is the real question, and thus 187 187 oplocks should be treated as a toggle for client-side 188 caching. Turn it “<span class="quote">on</span>”when client-side caching is desirable and189 reliable. Turn it “<span class="quote">off</span>”when client-side caching is redundant,188 caching. Turn it <span class="quote">“<span class="quote">on</span>”</span> when client-side caching is desirable and 189 reliable. Turn it <span class="quote">“<span class="quote">off</span>”</span> when client-side caching is redundant, 190 190 unreliable, or counterproductive. 191 191 </p><p> 192 <a class="indexterm" name="id26 16327"></a>193 Oplocks is by default set to “<span class="quote">on</span>”by Samba on all192 <a class="indexterm" name="id2622413"></a> 193 Oplocks is by default set to <span class="quote">“<span class="quote">on</span>”</span> by Samba on all 194 194 configured shares, so careful attention should be given to each case to 195 195 determine if the potential benefit is worth the potential for delays. … … 197 197 where oplocks may be effectively configured. 198 198 </p><p> 199 <a class="indexterm" name="id26 16346"></a>200 <a class="indexterm" name="id26 16353"></a>199 <a class="indexterm" name="id2622431"></a> 200 <a class="indexterm" name="id2622438"></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 16372"></a>211 <a class="indexterm" name="id2622458"></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 16395"></a>226 <a class="indexterm" name="id26 16402"></a>225 <a class="indexterm" name="id2622480"></a> 226 <a class="indexterm" name="id2622487"></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 16429"></a>237 <a class="indexterm" name="id26 16435"></a>238 <a class="indexterm" name="id26 16442"></a>236 <a class="indexterm" name="id2622515"></a> 237 <a class="indexterm" name="id2622521"></a> 238 <a class="indexterm" name="id2622528"></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="id2616466"></a>Exclusively Accessed Shares</h4></div></div></div><p>253 </p><div class="sect3" title="Exclusively Accessed Shares"><div class="titlepage"><div><div><h4 class="title"><a name="id2622552"></a>Exclusively Accessed Shares</h4></div></div></div><p> 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="id2616487"></a>Multiple-Accessed Shares or Files</h4></div></div></div><p>262 </p></div><div class="sect3" title="Multiple-Accessed Shares or Files"><div class="titlepage"><div><div><h4 class="title"><a name="id2622572"></a>Multiple-Accessed Shares or Files</h4></div></div></div><p> 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="id2616511"></a>UNIX or NFS Client-Accessed Files</h4></div></div></div><p>275 <a class="indexterm" name="id26 16519"></a>276 <a class="indexterm" name="id26 16526"></a>274 </p></div><div class="sect3" title="UNIX or NFS Client-Accessed Files"><div class="titlepage"><div><div><h4 class="title"><a name="id2622603"></a>UNIX or NFS Client-Accessed Files</h4></div></div></div><p> 275 <a class="indexterm" name="id2622611"></a> 276 <a class="indexterm" name="id2622618"></a> 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="id2616546"></a>Slow and/or Unreliable Networks</h4></div></div></div><p>287 <a class="indexterm" name="id26 16554"></a>288 <a class="indexterm" name="id26 16561"></a>289 <a class="indexterm" name="id26 16568"></a>286 </p></div><div class="sect3" title="Slow and/or Unreliable Networks"><div class="titlepage"><div><div><h4 class="title"><a name="id2622639"></a>Slow and/or Unreliable Networks</h4></div></div></div><p> 287 <a class="indexterm" name="id2622647"></a> 288 <a class="indexterm" name="id2622654"></a> 289 <a class="indexterm" name="id2622660"></a> 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="id2616594"></a>Multiuser Databases</h4></div></div></div><p>305 <a class="indexterm" name="id26 16602"></a>306 <a class="indexterm" name="id26 16608"></a>307 <a class="indexterm" name="id26 16616"></a>304 </p></div><div class="sect3" title="Multiuser Databases"><div class="titlepage"><div><div><h4 class="title"><a name="id2622686"></a>Multiuser Databases</h4></div></div></div><p> 305 <a class="indexterm" name="id2622694"></a> 306 <a class="indexterm" name="id2622701"></a> 307 <a class="indexterm" name="id2622708"></a> 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="id2616635"></a>PDM Data Shares</h4></div></div></div><p>313 <a class="indexterm" name="id26 16642"></a>314 <a class="indexterm" name="id26 16649"></a>315 <a class="indexterm" name="id26 16656"></a>316 <a class="indexterm" name="id26 16663"></a>317 <a class="indexterm" name="id26 16670"></a>312 </p></div><div class="sect3" title="PDM Data Shares"><div class="titlepage"><div><div><h4 class="title"><a name="id2622728"></a>PDM Data Shares</h4></div></div></div><p> 313 <a class="indexterm" name="id2622735"></a> 314 <a class="indexterm" name="id2622742"></a> 315 <a class="indexterm" name="id2622749"></a> 316 <a class="indexterm" name="id2622756"></a> 317 <a class="indexterm" name="id2622763"></a> 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="id2616704"></a>Beware of Force User</h4></div></div></div><p>326 <a class="indexterm" name="id26 16712"></a>325 </p></div><div class="sect3" title="Beware of Force User"><div class="titlepage"><div><div><h4 class="title"><a name="id2622797"></a>Beware of Force User</h4></div></div></div><p> 326 <a class="indexterm" name="id2622805"></a> 327 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 … … 333 333 </p><p> 334 334 Avoid the combination of the following: 335 </p><div class="itemizedlist"><ul type="disc"><li><p>335 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 336 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 </p></li><li ><p>337 </p></li><li class="listitem"><p> 338 338 Slow or unreliable networks. 339 </p></li><li ><p>339 </p></li><li class="listitem"><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="id2616792"></a>Advanced Samba Oplocks Parameters</h4></div></div></div><p>342 <a class="indexterm" name="id26 16800"></a>343 <a class="indexterm" name="id26 16807"></a>344 <a class="indexterm" name="id26 16814"></a>341 </p></li></ul></div></div><div class="sect3" title="Advanced Samba Oplocks Parameters"><div class="titlepage"><div><div><h4 class="title"><a name="id2622885"></a>Advanced Samba Oplocks Parameters</h4></div></div></div><p> 342 <a class="indexterm" name="id2622893"></a> 343 <a class="indexterm" name="id2622900"></a> 344 <a class="indexterm" name="id2622907"></a> 345 345 Samba provides oplock parameters that allow the 346 346 administrator to adjust various properties of the oplock mechanism to … … 351 351 <a class="link" href="smb.conf.5.html#OPLOCKCONTENTIONLIMIT" target="_top">oplock contention limit</a>. 352 352 </p><p> 353 <a class="indexterm" name="id26 16854"></a>353 <a class="indexterm" name="id2622947"></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. 356 The Samba SWAT help text for both parameters reads: “<span class="quote">Do not change357 this parameter unless you have read and understood the Samba oplock code.</span>” 356 The Samba SWAT help text for both parameters reads: <span class="quote">“<span class="quote">Do not change 357 this parameter unless you have read and understood the Samba oplock code.</span>”</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="id2616871"></a>Mission-Critical, High-Availability</h4></div></div></div><p>359 </p></div><div class="sect3" title="Mission-Critical, High-Availability"><div class="titlepage"><div><div><h4 class="title"><a name="id2622964"></a>Mission-Critical, High-Availability</h4></div></div></div><p> 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="id2616938"></a>Samba Oplocks Control</h2></div></div></div><p>389 </p></div></div></div><div class="sect1" title="Samba Oplocks Control"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2623031"></a>Samba Oplocks Control</h2></div></div></div><p> 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 … … 409 409 synchronizing the contents of the entire file back to the server for a single change. 410 410 </p><p> 411 Level1 Oplocks (also known as just plain “<span class="quote">oplocks</span>”) is another term for opportunistic locking.411 Level1 Oplocks (also known as just plain <span class="quote">“<span class="quote">oplocks</span>”</span>) is another term for opportunistic locking. 412 412 </p><p> 413 413 Level2 Oplocks provides opportunistic locking for a file that will be treated as … … 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="id2617033"></a>Example Configuration</h3></div></div></div><p>439 </p><div class="sect2" title="Example Configuration"><div class="titlepage"><div><div><h3 class="title"><a name="id2623125"></a>Example Configuration</h3></div></div></div><p> 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="id2617043"></a>Disabling Oplocks</h4></div></div></div><p>441 </p><div class="sect3" title="Disabling Oplocks"><div class="titlepage"><div><div><h4 class="title"><a name="id2623136"></a>Disabling Oplocks</h4></div></div></div><p> 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="id2617070"></a><em class="parameter"><code>oplocks = False</code></em></td></tr><tr><td><a class="indexterm" name="id2617082"></a><em class="parameter"><code>level2 oplocks = False</code></em></td></tr></table><p>444 </p><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[acctdata]</code></em></td></tr><tr><td><a class="indexterm" name="id2623163"></a><em class="parameter"><code>oplocks = False</code></em></td></tr><tr><td><a class="indexterm" name="id2623174"></a><em class="parameter"><code>level2 oplocks = False</code></em></td></tr></table><p> 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="id2617118"></a><em class="parameter"><code>veto oplock files = /*.mdb/*.MDB/*.dbf/*.DBF/</code></em></td></tr></table><p>451 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2623210"></a><em class="parameter"><code>veto oplock files = /*.mdb/*.MDB/*.dbf/*.DBF/</code></em></td></tr></table><p> 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="id2617138"></a>Disabling Kernel Oplocks</h4></div></div></div><p>455 </p></div><div class="sect3" title="Disabling Kernel Oplocks"><div class="titlepage"><div><div><h4 class="title"><a name="id2623231"></a>Disabling Kernel Oplocks</h4></div></div></div><p> 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="id2617178"></a><em class="parameter"><code>kernel oplocks = yes</code></em></td></tr></table><p>468 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2623271"></a><em class="parameter"><code>kernel oplocks = yes</code></em></td></tr></table><p> 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="id2617255"></a><em class="parameter"><code>veto oplock files = /filename.htm/*.txt/</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[share_name]</code></em></td></tr><tr><td><a class="indexterm" name="id2617276"></a><em class="parameter"><code>veto oplock files = /*.exe/filename.ext/</code></em></td></tr></table></div></div><p><br class="example-break">483 </p><div class="example"><a name="far1"></a><p class="title"><b>Example 17.1. Share with Some Files Oplocked</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2623347"></a><em class="parameter"><code>veto oplock files = /filename.htm/*.txt/</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[share_name]</code></em></td></tr><tr><td><a class="indexterm" name="id2623368"></a><em class="parameter"><code>veto oplock files = /*.exe/filename.ext/</code></em></td></tr></table></div></div><p><br class="example-break"> 484 484 </p><p> 485 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 “<span class="quote">Do not change this parameter unless you have read and understood the Samba oplock code.</span>” 487 <span class="quote">“<span class="quote">Do not change this parameter unless you have read and understood the Samba oplock code.</span>”</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="id2617333"></a><em class="parameter"><code>oplock break wait time = 0 (default)</code></em></td></tr></table><p>490 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2623426"></a><em class="parameter"><code>oplock break wait time = 0 (default)</code></em></td></tr></table><p> 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 493 493 response of the Samba server to grant an oplock if the configured 494 494 number of contending clients reaches the limit specified by the parameter. Samba recommends 495 “<span class="quote">Do not change this parameter unless you have read and understood the Samba oplock code.</span>” 495 <span class="quote">“<span class="quote">Do not change this parameter unless you have read and understood the Samba oplock code.</span>”</span> 496 496 Oplock break contention limit can be enabled on a per-share basis, or globally for 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="id2617407"></a><em class="parameter"><code>oplock break contention limit = 2 (default)</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[share_name]</code></em></td></tr><tr><td><a class="indexterm" name="id2617428"></a><em class="parameter"><code>oplock break contention limit = 2 (default)</code></em></td></tr></table></div></div><p><br class="example-break">500 </p></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2617446"></a>MS Windows Oplocks and Caching Controls</h2></div></div></div><p>499 </p><div class="example"><a name="far3"></a><p class="title"><b>Example 17.2. Configuration with Oplock Break Contention Limit</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2623500"></a><em class="parameter"><code>oplock break contention limit = 2 (default)</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[share_name]</code></em></td></tr><tr><td><a class="indexterm" name="id2623521"></a><em class="parameter"><code>oplock break contention limit = 2 (default)</code></em></td></tr></table></div></div><p><br class="example-break"> 500 </p></div></div></div><div class="sect1" title="MS Windows Oplocks and Caching Controls"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2623539"></a>MS Windows Oplocks and Caching Controls</h2></div></div></div><p> 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 … … 506 506 the Windows 2000/XP operating system will attempt to increase performance by locking the 507 507 files and caching information locally. When this occurs, the application is unable to 508 properly function, which results in an “<span class="quote">Access Denied</span>”508 properly function, which results in an <span class="quote">“<span class="quote">Access Denied</span>”</span> 509 509 error message being displayed during network operations. 510 510 </p><p> … … 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="id26 17478" href="#ftn.id2617478" class="footnote">5</a>]</sup>515 <sup>[<a name="id2623571" href="#ftn.id2623571" 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 … … 531 531 The location of the client registry entry for oplocks has changed in 532 532 Windows 2000 from the earlier location in Microsoft Windows NT. 533 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>533 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 534 534 Windows 2000 will still respect the EnableOplocks registry value used to disable oplocks 535 535 in earlier versions of Windows. … … 544 544 Default: 0 (not disabled) 545 545 </pre><p> 546 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>546 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 547 547 The OplocksDisabled registry value configures Windows clients to either request or not 548 548 request oplocks on a remote file. To disable oplocks, the value of … … 559 559 Default: 0 (Disabled by Default) 560 560 </pre><p> 561 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>561 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 562 562 The EnableOplocks value configures Windows-based servers (including Workstations sharing 563 563 files) to allow or deny oplocks on local files. … … 566 566 </p><p> 567 567 An illustration of how Level2 oplocks work follows: 568 </p><div class="itemizedlist"><ul type="disc"><li><p>568 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 569 569 Station 1 opens the file requesting oplock. 570 </p></li><li ><p>570 </p></li><li class="listitem"><p> 571 571 Since no other station has the file open, the server grants station 1 exclusive oplock. 572 </p></li><li ><p>572 </p></li><li class="listitem"><p> 573 573 Station 2 opens the file requesting oplock. 574 </p></li><li ><p>574 </p></li><li class="listitem"><p> 575 575 Since station 1 has not yet written to the file, the server asks station 1 to break 576 576 to Level2 oplock. 577 </p></li><li ><p>577 </p></li><li class="listitem"><p> 578 578 Station 1 complies by flushing locally buffered lock information to the server. 579 </p></li><li ><p>579 </p></li><li class="listitem"><p> 580 580 Station 1 informs the server that it has broken to level2 Oplock (alternately, 581 581 station 1 could have closed the file). 582 </p></li><li ><p>582 </p></li><li class="listitem"><p> 583 583 The server responds to station 2's open request, granting it Level2 oplock. 584 584 Other stations can likewise open the file and obtain Level2 oplock. 585 </p></li><li ><p>585 </p></li><li class="listitem"><p> 586 586 Station 2 (or any station that has the file open) sends a write request SMB. 587 587 The server returns the write response. 588 </p></li><li ><p>588 </p></li><li class="listitem"><p> 589 589 The server asks all stations that have the file open to break to none, meaning no 590 590 station holds any oplock on the file. Because the workstations can have no cached 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="id2617633"></a>Workstation Service Entries</h3></div></div></div><pre class="programlisting">593 </p></li></ul></div><div class="sect2" title="Workstation Service Entries"><div class="titlepage"><div><div><h3 class="title"><a name="id2623726"></a>Workstation Service Entries</h3></div></div></div><pre class="programlisting"> 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="id2617655"></a>Server Service Entries</h3></div></div></div><pre class="programlisting">602 </p></div><div class="sect2" title="Server Service Entries"><div class="titlepage"><div><div><h3 class="title"><a name="id2623748"></a>Server Service Entries</h3></div></div></div><pre class="programlisting"> 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="id2617721"></a>Persistent Data Corruption</h2></div></div></div><p>631 </p></div></div><div class="sect1" title="Persistent Data Corruption"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2623814"></a>Persistent Data Corruption</h2></div></div></div><p> 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="id2617747"></a>Common Errors</h2></div></div></div><p>642 </p></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2623839"></a>Common Errors</h2></div></div></div><p> 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 … … 648 648 that have claimed that Samba caused data corruption. Three causes have been identified 649 649 so far: 650 </p><div class="itemizedlist"><ul type="disc"><li><p>650 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 651 651 Incorrect configuration of oplocks (incompatible with the application 652 652 being used). This is a common problem even where MS Windows NT4 or MS Windows … … 655 655 disable oplocks on both the server and the client. Disabling of all forms of file 656 656 caching on the MS Windows client may be necessary also. 657 </p></li><li ><p>657 </p></li><li class="listitem"><p> 658 658 Defective network cards, cables, or hubs/switches. This is generally a more 659 659 prevalent factor with low-cost networking hardware, although occasionally there 660 660 have also been problems with incompatibilities in more up-market hardware. 661 </p></li><li ><p>661 </p></li><li class="listitem"><p> 662 662 There have been some random reports of Samba log files being written over data 663 663 files. This has been reported by very few sites (about five in the past 3 years) … … 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="id2617814"></a>locking.tdb Error Messages</h3></div></div></div><p>673 “<span class="quote">672 </p></li></ul></div><div class="sect2" title="locking.tdb Error Messages"><div class="titlepage"><div><div><h3 class="title"><a name="id2623907"></a>locking.tdb Error Messages</h3></div></div></div><p> 673 <span class="quote">“<span class="quote"> 674 674 We are seeing lots of errors in the Samba logs, like: 675 </span>” 675 </span>”</span> 676 676 </p><pre class="programlisting"> 677 677 tdb(/usr/local/samba_2.2.7/var/locks/locking.tdb): rec_read bad magic … … 679 679 </pre><p> 680 680 681 “<span class="quote">681 <span class="quote">“<span class="quote"> 682 682 What do these mean? 683 </span>” 683 </span>”</span> 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="id2617845"></a>Problems Saving Files in MS Office on Windows XP</h3></div></div></div><a class="indexterm" name="id2617851"></a><p>This is a bug in Windows XP. More information can be686 </p></div><div class="sect2" title="Problems Saving Files in MS Office on Windows XP"><div class="titlepage"><div><div><h3 class="title"><a name="id2623937"></a>Problems Saving Files in MS Office on Windows XP</h3></div></div></div><a class="indexterm" name="id2623944"></a><p>This is a bug in Windows XP. More information can be 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="id2617869"></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="id2617882"></a><p>This is a bug in Windows XP. More information can be found in <a class="ulink" href="http://support.microsoft.com/?id=811492" target="_top">689 </div><div class="sect2" title="Long Delays Deleting Files over Network with XP SP1"><div class="titlepage"><div><div><h3 class="title"><a name="id2623962"></a>Long Delays Deleting Files over Network with XP SP1</h3></div></div></div><p><span class="quote">“<span class="quote">It sometimes takes approximately 35 seconds to delete files over the network after XP SP1 has been applied.</span>”</span></p><a class="indexterm" name="id2623974"></a><p>This is a bug in Windows XP. More information can be found in <a class="ulink" href="http://support.microsoft.com/?id=811492" target="_top"> 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="id2617901"></a>Additional Reading</h2></div></div></div><p>691 </div></div><div class="sect1" title="Additional Reading"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2623993"></a>Additional Reading</h2></div></div></div><p> 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="id26 17937"></a>699 Microsoft Knowledge Base, “<span class="quote">Maintaining Transactional Integrity with OPLOCKS</span>”,698 <a class="indexterm" name="id2624030"></a> 699 Microsoft Knowledge Base, <span class="quote">“<span class="quote">Maintaining Transactional Integrity with OPLOCKS</span>”</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="id26 17961"></a>704 Microsoft Knowledge Base, “<span class="quote">Configuring Opportunistic Locking in Windows 2000</span>”,703 <a class="indexterm" name="id2624054"></a> 704 Microsoft Knowledge Base, <span class="quote">“<span class="quote">Configuring Opportunistic Locking in Windows 2000</span>”</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="id26 17985"></a>708 Microsoft Knowledge Base, “<span class="quote">PC Ext: Explanation of Opportunistic Locking on Windows NT</span>”,707 <a class="indexterm" name="id2624078"></a> 708 Microsoft Knowledge Base, <span class="quote">“<span class="quote">PC Ext: Explanation of Opportunistic Locking on Windows NT</span>”</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.id26 17478" href="#id2617478" class="para">5</a>] </sup>Microsoft has documented this in Knowledge Base article 300216.</p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="AccessControls.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="optional.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="securing-samba.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 16. File, Directory, and Share Access Controls </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 18. Securing Samba</td></tr></table></div></body></html>711 </p></div><div class="footnotes"><br><hr width="100" align="left"><div class="footnote"><p><sup>[<a name="ftn.id2623571" href="#id2623571" class="para">5</a>] </sup>Microsoft has documented this in Knowledge Base article 300216.</p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="AccessControls.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="optional.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="securing-samba.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 16. File, Directory, and Share Access Controls </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 18. Securing Samba</td></tr></table></div></body></html> -
branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/migration.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Part IV. Migration and Updating</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="cfgsmarts.html" title="Chapter 34. Advanced Configuration Techniques"><link rel="next" href="upgrading-to-3.0.html" title="Chapter 35. Updating and Upgrading Samba"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Part IV. Migration and Updating</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="cfgsmarts.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="upgrading-to-3.0.html">Next</a></td></tr></table><hr></div><div class="part" lang="en"><div class="titlepage"><div><div><h1 class="title"><a name="migration"></a>Part IV. Migration and Updating</h1></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="chapter"><a href="upgrading-to-3.0.html">35. Updating and Upgrading Samba</a></span></dt><dd><dl><dt><span class="sect1"><a href="upgrading-to-3.0.html#id2676238">Key Update Requirements</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2676275">Upgrading from Samba-3.0.x to Samba-3.2.0</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#oldupdatenotes">Upgrading from Samba-2.x to Samba-3.0.25</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2676324">Quick Migration Guide</a></span></dt></dl></dd><dt><span class="sect1"><a href="upgrading-to-3.0.html#id2676475">New Features in Samba-3.x Series</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2676484">New Features in Samba-3.2.x Series</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2677694">New Functionality</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="NT4Migration.html">36. Migration from NT4 PDC to Samba-3 PDC</a></span></dt><dd><dl><dt><span class="sect1"><a href="NT4Migration.html#id2679090">Planning and Getting Started</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2679125">Objectives</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2680070">Steps in Migration Process</a></span></dt></dl></dd><dt><span class="sect1"><a href="NT4Migration.html#id2680306">Migration Options</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2680392">Planning for Success</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2680625">Samba-3 Implementation Choices</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="SWAT.html">37. SWAT: The Samba Web Administration Tool</a></span></dt><dd><dl><dt><span class="sect1"><a href="SWAT.html#id2681115">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SWAT.html#id2681245">Guidelines and Technical Tips</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2681264">Validate SWAT Installation</a></span></dt><dt><span class="sect2"><a href="SWAT.html#xinetd">Enabling SWAT for Use</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2681902">Securing SWAT through SSL</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682054">Enabling SWAT Internationalization Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="SWAT.html#id2682252">Overview and Quick Tour</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2682265">The SWAT Home Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682326">Global Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682428">Share Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682483">Printers Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682540">The SWAT Wizard</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682603">The Status Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682647">The View Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2682666">The Password Change Page</a></span></dt></dl></dd></dl></dd></dl></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="cfgsmarts.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="upgrading-to-3.0.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 34. Advanced Configuration Techniques </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 35. Updating and Upgrading Samba</td></tr></table></div></body></html>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Part IV. Migration and Updating</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="cfgsmarts.html" title="Chapter 34. Advanced Configuration Techniques"><link rel="next" href="upgrading-to-3.0.html" title="Chapter 35. Updating and Upgrading Samba"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Part IV. Migration and Updating</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="cfgsmarts.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="upgrading-to-3.0.html">Next</a></td></tr></table><hr></div><div class="part" title="Part IV. Migration and Updating"><div class="titlepage"><div><div><h1 class="title"><a name="migration"></a>Part IV. Migration and Updating</h1></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="chapter"><a href="upgrading-to-3.0.html">35. Updating and Upgrading Samba</a></span></dt><dd><dl><dt><span class="sect1"><a href="upgrading-to-3.0.html#id2682300">Key Update Requirements</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2682336">Upgrading from Samba-3.0.x to Samba-3.2.0</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#oldupdatenotes">Upgrading from Samba-2.x to Samba-3.0.25</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2682386">Quick Migration Guide</a></span></dt></dl></dd><dt><span class="sect1"><a href="upgrading-to-3.0.html#id2682537">New Features in Samba-3.x Series</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2682546">New Features in Samba-3.2.x Series</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2683756">New Functionality</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="NT4Migration.html">36. Migration from NT4 PDC to Samba-3 PDC</a></span></dt><dd><dl><dt><span class="sect1"><a href="NT4Migration.html#id2685152">Planning and Getting Started</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2685187">Objectives</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2686132">Steps in Migration Process</a></span></dt></dl></dd><dt><span class="sect1"><a href="NT4Migration.html#id2686367">Migration Options</a></span></dt><dd><dl><dt><span class="sect2"><a href="NT4Migration.html#id2686454">Planning for Success</a></span></dt><dt><span class="sect2"><a href="NT4Migration.html#id2686687">Samba-3 Implementation Choices</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="SWAT.html">37. SWAT: The Samba Web Administration Tool</a></span></dt><dd><dl><dt><span class="sect1"><a href="SWAT.html#id2687177">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SWAT.html#id2687302">Guidelines and Technical Tips</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2687321">Validate SWAT Installation</a></span></dt><dt><span class="sect2"><a href="SWAT.html#xinetd">Enabling SWAT for Use</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2687958">Securing SWAT through SSL</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688110">Enabling SWAT Internationalization Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="SWAT.html#id2688308">Overview and Quick Tour</a></span></dt><dd><dl><dt><span class="sect2"><a href="SWAT.html#id2688322">The SWAT Home Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688382">Global Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688484">Share Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688540">Printers Settings</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688596">The SWAT Wizard</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688659">The Status Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688703">The View Page</a></span></dt><dt><span class="sect2"><a href="SWAT.html#id2688722">The Password Change Page</a></span></dt></dl></dd></dl></dd></dl></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="cfgsmarts.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="upgrading-to-3.0.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 34. Advanced Configuration Techniques </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 35. Updating and Upgrading Samba</td></tr></table></div></body></html> -
branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/msdfs.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 20. Hosting a Microsoft Distributed File System Tree</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="InterdomainTrusts.html" title="Chapter 19. Interdomain Trust Relationships"><link rel="next" href="classicalprinting.html" title="Chapter 21. Classical Printing Support"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 20. Hosting a Microsoft Distributed File System Tree</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="InterdomainTrusts.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="classicalprinting.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="msdfs"></a>Chapter 20. Hosting a Microsoft Distributed File System Tree</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Shirish</span> <span class="orgname">Samba Team & 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>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 20. Hosting a Microsoft Distributed File System Tree</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="InterdomainTrusts.html" title="Chapter 19. Interdomain Trust Relationships"><link rel="next" href="classicalprinting.html" title="Chapter 21. Classical Printing Support"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 20. Hosting a Microsoft Distributed File System Tree</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="InterdomainTrusts.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="classicalprinting.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 20. Hosting a Microsoft Distributed File System Tree"><div class="titlepage"><div><div><h2 class="title"><a name="msdfs"></a>Chapter 20. Hosting a Microsoft Distributed File System Tree</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Shirish</span> <span class="surname">Kalele</span></h3><div class="affiliation"><span class="orgname">Samba Team & 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=" 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#id2621456">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="msdfs.html#id2621875">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="msdfs.html#id2621908">MSDFS UNIX Path Is Case-Critical</a></span></dt></dl></dd></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2621456"></a>Features and Benefits</h2></div></div></div><p>4 <a class="indexterm" name="id262 1464"></a>5 <a class="indexterm" name="id262 1473"></a>6 <a class="indexterm" name="id262 1480"></a>7 <a class="indexterm" name="id262 1487"></a>8 <a class="indexterm" name="id262 1494"></a>3 </p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></code></p></div></div></div></div><div><p class="pubdate">12 Jul 2000</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="msdfs.html#id2627553">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="msdfs.html#id2627972">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="msdfs.html#id2628005">MSDFS UNIX Path Is Case-Critical</a></span></dt></dl></dd></dl></div><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2627553"></a>Features and Benefits</h2></div></div></div><p> 4 <a class="indexterm" name="id2627561"></a> 5 <a class="indexterm" name="id2627571"></a> 6 <a class="indexterm" name="id2627578"></a> 7 <a class="indexterm" name="id2627584"></a> 8 <a class="indexterm" name="id2627591"></a> 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="id262 1509"></a>15 <a class="indexterm" name="id262 1516"></a>16 <a class="indexterm" name="id262 1522"></a>14 <a class="indexterm" name="id2627606"></a> 15 <a class="indexterm" name="id2627613"></a> 16 <a class="indexterm" name="id2627620"></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="id262 1543"></a>22 <a class="indexterm" name="id262 1550"></a>23 <a class="indexterm" name="id262 1556"></a>24 <a class="indexterm" name="id262 1563"></a>21 <a class="indexterm" name="id2627640"></a> 22 <a class="indexterm" name="id2627647"></a> 23 <a class="indexterm" name="id2627654"></a> 24 <a class="indexterm" name="id2627661"></a> 25 25 A Samba server can be made a DFS server by setting the global Boolean <a class="link" href="smb.conf.5.html#HOSTMSDFS" 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 … … 31 31 case, <em class="parameter"><code>\\storage1\share1</code></em>). 32 32 </p><p> 33 <a class="indexterm" name="id262 1625"></a>34 <a class="indexterm" name="id262 1632"></a>35 <a class="indexterm" name="id262 1639"></a>36 <a class="indexterm" name="id262 1645"></a>33 <a class="indexterm" name="id2627722"></a> 34 <a class="indexterm" name="id2627729"></a> 35 <a class="indexterm" name="id2627736"></a> 36 <a class="indexterm" name="id2627743"></a> 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="id2621755"></a><em class="parameter"><code>netbios name = GANDALF</code></em></td></tr><tr><td><a class="indexterm" name="id2621767"></a><em class="parameter"><code>host msdfs = yes</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[dfs]</code></em></td></tr><tr><td><a class="indexterm" name="id2621787"></a><em class="parameter"><code>path = /export/dfsroot</code></em></td></tr><tr><td><a class="indexterm" name="id2621799"></a><em class="parameter"><code>msdfs root = yes</code></em></td></tr></table></div></div><br class="example-break"><p>49 <a class="indexterm" name="id262 1814"></a>50 <a class="indexterm" name="id262 1821"></a>51 <a class="indexterm" name="id262 1827"></a>48 </p><div class="example"><a name="dfscfg"></a><p class="title"><b>Example 20.1. smb.conf with DFS Configured</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2627852"></a><em class="parameter"><code>netbios name = GANDALF</code></em></td></tr><tr><td><a class="indexterm" name="id2627864"></a><em class="parameter"><code>host msdfs = yes</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[dfs]</code></em></td></tr><tr><td><a class="indexterm" name="id2627885"></a><em class="parameter"><code>path = /export/dfsroot</code></em></td></tr><tr><td><a class="indexterm" name="id2627896"></a><em class="parameter"><code>msdfs root = yes</code></em></td></tr></table></div></div><br class="example-break"><p> 49 <a class="indexterm" name="id2627911"></a> 50 <a class="indexterm" name="id2627918"></a> 51 <a class="indexterm" name="id2627925"></a> 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="id262 1852"></a>58 <a class="indexterm" name="id262 1859"></a>57 <a class="indexterm" name="id2627949"></a> 58 <a class="indexterm" name="id2627956"></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="id2621875"></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" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2627972"></a>Common Errors</h2></div></div></div><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Windows clients need to be rebooted 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 65 new share and make it the DFS root.</p></li><li ><p>Currently, there's a restriction that msdfs66 symlink names should all be lowercase.</p></li><li ><p>For security purposes, the directory65 new share and make it the DFS root.</p></li><li class="listitem"><p>Currently, there's a restriction that msdfs 66 symlink names should all be lowercase.</p></li><li class="listitem"><p>For security purposes, the directory 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="id2621908"></a>MSDFS UNIX Path Is Case-Critical</h3></div></div></div><p>69 modify the symbolic links in the directory.</p></li></ul></div><div class="sect2" title="MSDFS UNIX Path Is Case-Critical"><div class="titlepage"><div><div><h3 class="title"><a name="id2628005"></a>MSDFS UNIX Path Is Case-Critical</h3></div></div></div><p> 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. 72 72 His advice is worth noting. 73 </p><p> “<span class="quote">73 </p><p><span class="quote">“<span class="quote"> 74 74 I spent some time trying to figure out why my particular 75 75 DFS root wasn't working. I noted in the documentation that … … 77 77 amended that the entire path to the symlink should all be 78 78 in lowercase as well. 79 </span>”</ p><p>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="id2621949"></a><em class="parameter"><code>path = /export/home/Shares/public_share</code></em></td></tr><tr><td><a class="indexterm" name="id2621961"></a><em class="parameter"><code>msdfs root = yes</code></em></td></tr></table><p>82 “<span class="quote">and I could not make my Windows 9x/Me (with the dfs client installed) follow this symlink:</span>”79 </span>”</span></p><p> 80 <span class="quote">“<span class="quote">For example, I had a share defined as such:</span>”</span> 81 </p><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[pub]</code></em></td></tr><tr><td><a class="indexterm" name="id2628046"></a><em class="parameter"><code>path = /export/home/Shares/public_share</code></em></td></tr><tr><td><a class="indexterm" name="id2628058"></a><em class="parameter"><code>msdfs root = yes</code></em></td></tr></table><p> 82 <span class="quote">“<span class="quote">and I could not make my Windows 9x/Me (with the dfs client installed) follow this symlink:</span>”</span> 83 83 </p><pre class="screen"> 84 84 damage1 -> msdfs:damage\test-share 85 85 </pre><p> 86 86 </p><p> 87 “<span class="quote">Running a debug level of 10 reveals:</span>”87 <span class="quote">“<span class="quote">Running a debug level of 10 reveals:</span>”</span> 88 88 </p><pre class="programlisting"> 89 89 [2003/08/20 11:40:33, 5] msdfs/msdfs.c:is_msdfs_link(176) 90 90 is_msdfs_link: /export/home/shares/public_share/* does not exist. 91 91 </pre><p> 92 “<span class="quote">Curious. So I changed the directory name from <code class="constant">.../Shares/...</code> to93 <code class="constant">.../shares/...</code> (along with my service definition) and it worked!</span>” 92 <span class="quote">“<span class="quote">Curious. So I changed the directory name from <code class="constant">.../Shares/...</code> to 93 <code class="constant">.../shares/...</code> (along with my service definition) and it worked!</span>”</span> 94 94 </p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="InterdomainTrusts.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="optional.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="classicalprinting.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 19. Interdomain Trust Relationships </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 21. Classical Printing Support</td></tr></table></div></body></html> -
branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/optional.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Part III. Advanced Configuration</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="ClientConfig.html" title="Chapter 8. MS Windows Network Configuration Guide"><link rel="next" href="ChangeNotes.html" title="Chapter 9. Important and Critical Change Notes for the Samba 3.x Series"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Part III. Advanced Configuration</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ClientConfig.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="ChangeNotes.html">Next</a></td></tr></table><hr></div><div class="part" lang="en"><div class="titlepage"><div><div><h1 class="title"><a name="optional"></a>Part III. Advanced Configuration</h1></div></div></div><div class="partintro" lang="en"><div><div><div><h1 class="title"><a name="id2578501"></a>Valuable Nuts and Bolts Information</h1></div></div></div><p>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Part III. Advanced Configuration</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="ClientConfig.html" title="Chapter 8. MS Windows Network Configuration Guide"><link rel="next" href="ChangeNotes.html" title="Chapter 9. Important and Critical Change Notes for the Samba 3.x Series"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Part III. Advanced Configuration</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ClientConfig.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="ChangeNotes.html">Next</a></td></tr></table><hr></div><div class="part" title="Part III. Advanced Configuration"><div class="titlepage"><div><div><h1 class="title"><a name="optional"></a>Part III. Advanced Configuration</h1></div></div></div><div class="partintro" title="Valuable Nuts and Bolts Information"><div><div><div><h1 class="title"><a name="id2584572"></a>Valuable Nuts and Bolts Information</h1></div></div></div><p> 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#id25 78591">Important Samba-3.2.x Change Notes</a></span></dt><dt><span class="sect1"><a href="ChangeNotes.html#id2578603">Important Samba-3.0.x Change Notes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ChangeNotes.html#id2578662">User and Group Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2578974">Essential Group Mappings</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2579095">Passdb Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2579156">Group Mapping Changes in Samba-3.0.23</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2579276">LDAP Changes in Samba-3.0.23</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="NetworkBrowsing.html">10. Network Browsing</a></span></dt><dd><dl><dt><span class="sect1"><a href="NetworkBrowsing.html#id2579539">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="NetworkBrowsing.html#id2579723">What Is Browsing?</a></span></dt><dt><span class="sect1"><a href="NetworkBrowsing.html#netdiscuss">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2580163">NetBIOS over TCP/IP</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2580799">TCP/IP without NetBIOS</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#adsdnstech">DNS and Active Directory</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2581358">How Browsing Functions</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2582305">Domain Browsing Configuration</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2582910">Making Samba the Domain Master</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2583150">Note about Broadcast Addresses</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2583172">Multiple Interfaces</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2583358">Use of the Remote Announce Parameter</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2583498">Use of the Remote Browse Sync Parameter</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2583591">WINS: The Windows Internetworking Name Server</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2583862">WINS Server Configuration</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2584183">WINS Replication</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2584236">Static WINS Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2584468">Helpful Hints</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2584479">Windows Networking Protocols</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2584620">Name Resolution Order</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2584823">Technical Overview of Browsing</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2584910">Browsing Support in Samba</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2585107">Problem Resolution</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2585358">Cross-Subnet Browsing</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2586371">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586398">Flushing the Samba NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586471">Server Resources Cannot Be Listed</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586519">I Get an "Unable to browse the network" Error</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586566">Browsing of Shares and Directories is Very Slow</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586766">Invalid Cached Share References Affects Network Browsing</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="passdb.html">11. Account Information Databases</a></span></dt><dd><dl><dt><span class="sect1"><a href="passdb.html#id2587249">Features and Benefits</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2587285">Backward Compatibility Account Storage Systems</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2587476">New Account Storage Systems</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#passdbtech">Technical Information</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2588044">Important Notes About Security</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2588564">Mapping User Identifiers between MS Windows and UNIX</a></span></dt><dt><span class="sect2"><a href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2589112">Comments Regarding LDAP</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#acctmgmttools">Account Management Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2589966">The smbpasswd Tool</a></span></dt><dt><span class="sect2"><a href="passdb.html#pdbeditthing">The pdbedit Tool</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#id2592519">Password Backends</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2592572">Plaintext</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2592915">tdbsam</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2593072">ldapsam</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#id2595597">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2595602">Users Cannot Logon</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2595640">Configuration of auth methods</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="groupmapping.html">12. Group Mapping: MS Windows and UNIX</a></span></dt><dd><dl><dt><span class="sect1"><a href="groupmapping.html#id2595891">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="groupmapping.html#id2596307">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2596644">Warning: User Private Group Problems</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2596702">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2597278">Important Administrative Information</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2597518">Default Users, Groups, and Relative Identifiers</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2598143">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2598220">Configuration Scripts</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2598231">Sample smb.conf Add Group Script</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2598403">Script to Configure Group Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2598530">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2598543">Adding Groups Fails</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2598630">Adding Domain Users to the Workstation Power Users Group</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="NetCommand.html">13. Remote and Local Management: The Net Command</a></span></dt><dd><dl><dt><span class="sect1"><a href="NetCommand.html#id2599024">Overview</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2599319">Administrative Tasks and Methods</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2599400">UNIX and Windows Group Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2599558">Adding, Renaming, or Deletion of Group Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#grpmemshipchg">Manipulating Group Memberships</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#nestedgrpmgmgt">Nested Group Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2600928">UNIX and Windows User Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#sbeuseraddn">Adding User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2601139">Deletion of User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2601187">Managing User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2601256">User Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2601339">Administering User Rights and Privileges</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2601684">Managing Trust Relationships</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2601699">Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2602068">Interdomain Trusts</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2602302">Managing Security Identifiers (SIDS)</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2602524">Share Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2602569">Creating, Editing, and Removing Shares</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2602757">Creating and Changing Share ACLs</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2602787">Share, Directory, and File Migration</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2603410">Printer Migration</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2603661">Controlling Open Files</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2603680">Session and Connection Management</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2603746">Printers and ADS</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2603862">Manipulating the Samba Cache</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2603879">Managing IDMAP UID/SID Mappings</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2603923">Creating an IDMAP Database Dump File</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2603958">Restoring the IDMAP Database Dump File</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#netmisc1">Other Miscellaneous Operations</a></span></dt></dl></dd><dt><span class="chapter"><a href="idmapper.html">14. Identity Mapping (IDMAP)</a></span></dt><dd><dl><dt><span class="sect1"><a href="idmapper.html#id2604468">Samba Server Deployment Types and IDMAP</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2604493">Standalone Samba Server</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2604555">Domain Member Server or Domain Member Client</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2605507">Primary Domain Controller</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2605741">Backup Domain Controller</a></span></dt></dl></dd><dt><span class="sect1"><a href="idmapper.html#id2605813">Examples of IDMAP Backend Usage</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2605876">Default Winbind TDB</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2606598">IDMAP_RID with Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2607189">IDMAP Storage in LDAP Using Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2607774">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="rights.html">15. User Rights and Privileges</a></span></dt><dd><dl><dt><span class="sect1"><a href="rights.html#id2608451">Rights Management Capabilities</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2608726">Using the net rpc rights Utility</a></span></dt><dt><span class="sect2"><a href="rights.html#id2609072">Description of Privileges</a></span></dt><dt><span class="sect2"><a href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></span></dt></dl></dd><dt><span class="sect1"><a href="rights.html#id2609893">The Administrator Domain SID</a></span></dt><dt><span class="sect1"><a href="rights.html#id2610070">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2610076">What Rights and Privileges Will Permit Windows Client Administration?</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="AccessControls.html">16. File, Directory, and Share Access Controls</a></span></dt><dd><dl><dt><span class="sect1"><a href="AccessControls.html#id2610573">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AccessControls.html#id2610760">File System Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2610774">MS Windows NTFS Comparison with UNIX File Systems</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2611116">Managing Directories</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2611240">File and Directory Access Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2611906">Share Definition Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2611939">User- and Group-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2612307">File and Directory Permissions-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2612644">Miscellaneous Controls</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2612982">Access Controls on Shares</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2613130">Share Permissions Management</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2613477">MS Windows Access Control Lists and UNIX Interoperability</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2613483">Managing UNIX Permissions Using NT Security Dialogs</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2613530">Viewing File Security on a Samba Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2613601">Viewing File Ownership</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2613745">Viewing File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2613960">Modifying File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2614117">Interaction with the Standard Samba create mask Parameters</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2614486">Interaction with the Standard Samba File Attribute Mapping</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2614559">Windows NT/200X ACLs and POSIX ACLs Limitations</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2614978">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2614990">Users Cannot Write to a Public Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2615312">File Operations Done as root with force user Set</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2615358">MS Word with Samba Changes Owner of File</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="locking.html">17. File and Record Locking</a></span></dt><dd><dl><dt><span class="sect1"><a href="locking.html#id2615585">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="locking.html#id2615682">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2615940">Opportunistic Locking Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2616938">Samba Oplocks Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2617033">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2617446">MS Windows Oplocks and Caching Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2617633">Workstation Service Entries</a></span></dt><dt><span class="sect2"><a href="locking.html#id2617655">Server Service Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2617721">Persistent Data Corruption</a></span></dt><dt><span class="sect1"><a href="locking.html#id2617747">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2617814">locking.tdb Error Messages</a></span></dt><dt><span class="sect2"><a href="locking.html#id2617845">Problems Saving Files in MS Office on Windows XP</a></span></dt><dt><span class="sect2"><a href="locking.html#id2617869">Long Delays Deleting Files over Network with XP SP1</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2617901">Additional Reading</a></span></dt></dl></dd><dt><span class="chapter"><a href="securing-samba.html">18. Securing Samba</a></span></dt><dd><dl><dt><span class="sect1"><a href="securing-samba.html#id2618075">Introduction</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2618174">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2618320">Technical Discussion of Protective Measures and Issues</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2618336">Using Host-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2618490">User-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2618550">Using Interface Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#firewallports">Using a Firewall</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2618900">Using IPC$ Share-Based Denials </a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2619044">NTLMv2 Security</a></span></dt></dl></dd><dt><span class="sect1"><a href="securing-samba.html#id2619099">Upgrading Samba</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2619142">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2619158">Smbclient Works on Localhost, but the Network Is Dead</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2619187">Why Can Users Access Other Users' Home Directories?</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="InterdomainTrusts.html">19. Interdomain Trust Relationships</a></span></dt><dd><dl><dt><span class="sect1"><a href="InterdomainTrusts.html#id2619747">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2619819">Trust Relationship Background</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2620105">Native MS Windows NT4 Trusts Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2620141">Creating an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2620238">Completing an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2620323">Interdomain Trust Facilities</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2620532">Configuring Samba NT-Style Domain Trusts</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2620873">Samba as the Trusting Domain</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2621070">NT4-Style Domain Trusts with Windows 2000</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2621219">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2621232">Browsing of Trusted Domain Fails</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2621278">Problems with LDAP ldapsam and Older Versions of smbldap-tools</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="msdfs.html">20. Hosting a Microsoft Distributed File System Tree</a></span></dt><dd><dl><dt><span class="sect1"><a href="msdfs.html#id2621456">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="msdfs.html#id2621875">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="msdfs.html#id2621908">MSDFS UNIX Path Is Case-Critical</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="classicalprinting.html">21. Classical Printing Support</a></span></dt><dd><dl><dt><span class="sect1"><a href="classicalprinting.html#id2622106">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2622330">Technical Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2622481">Client to Samba Print Job Processing</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2622540">Printing-Related Configuration Parameters</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2622641">Simple Print Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2622925">Verifying Configuration with testparm</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2623122">Rapid Configuration Validation</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2623522">Extended Printing Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2623977">Detailed Explanation Settings</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2626693">Point'n'Print Client Drivers on Samba Servers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2626862">The Obsoleted [printer$] Section</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2626984">Creating the [print$] Share</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2627200">[print$] Stanza Parameters</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2627521">The [print$] Share Directory</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2627663">Installing Drivers into [print$]</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2627756">Add Printer Wizard Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#inst-rpc">Installing Print Drivers Using rpcclient</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2629689">Client Driver Installation Procedure</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2629706">First Client Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#prt-modeset">Setting Device Modes on New Printers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2630271">Additional Client Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2630390">Always Make First Client Connection as root or printer admin</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2630563">Other Gotchas</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2630584">Setting Default Print Options for Client Drivers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2630951">Supporting Large Numbers of Printers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2631207">Adding New Printers with the Windows NT APW</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2631467">Error Message: Cannot connect under a different Name</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2631581">Take Care When Assembling Driver Files</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2631890">Samba and Printer Ports</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2631999">Avoiding Common Client Driver Misconfiguration</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2632036">The Imprints Toolset</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2632082">What Is Imprints?</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2632117">Creating Printer Driver Packages</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2632132">The Imprints Server</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2632150">The Installation Client</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2632283">Adding Network Printers without User Interaction</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2632557">The addprinter Command</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2632596">Migration of Classical Printing to Samba</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2632744">Publishing Printer Information in Active Directory or LDAP</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2632774">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2632780">I Give My Root Password but I Do Not Get Access</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2632821">My Print Jobs Get Spooled into the Spooling Directory, but Then Get Lost</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="CUPS-printing.html">22. CUPS Printing Support</a></span></dt><dd><dl><dt><span class="sect1"><a href="CUPS-printing.html#id2632968">Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2632974">Features and Benefits</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633034">Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2633153">Basic CUPS Support Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2633268">Linking smbd with libcups.so</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633517">Simple smb.conf Settings for CUPS</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2633762">More Complex CUPS smb.conf Settings</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2634138">Advanced Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2634156">Central Spooling vs. Peer-to-Peer Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634206">Raw Print Serving: Vendor Drivers on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634441">Installation of Windows Client Drivers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#cups-raw">Explicitly Enable raw Printing for application/octet-stream</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2634728">Driver Upload Methods</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2634850">Advanced Intelligent Printing with PostScript Driver Download</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#gdipost">GDI on Windows, PostScript on UNIX</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635042">Windows Drivers, GDI, and EMF</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635220">UNIX Printfile Conversion and GUI Basics</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#post-and-ghost">PostScript and Ghostscript</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635579">Ghostscript: The Software RIP for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635733">PostScript Printer Description (PPD) Specification</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635816">Using Windows-Formatted Vendor PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2635936">CUPS Also Uses PPDs for Non-PostScript Printers</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2635975">The CUPS Filtering Architecture</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2636211">MIME Types and CUPS Filters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636640">MIME Type Conversion Rules</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2636848">Filtering Overview</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637005">Prefilters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637193">pstops</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637361">pstoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637630">imagetops and imagetoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637715">rasterto [printers specific]</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2637934">CUPS Backends</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638273">The Role of cupsomatic/foomatic</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638508">The Complete Picture</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638521">mime.convs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638590">Raw Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638698">application/octet-stream Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2638977">PostScript Printer Descriptions for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639260">cupsomatic/foomatic-rip Versus Native CUPS Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639597">Examples for Filtering Chains</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640025">Sources of CUPS Drivers/PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640148">Printing with Interface Scripts</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640243">Network Printing (Purely Windows)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2640259">From Windows Clients to an NT Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640321">Driver Execution on the Client</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640393">Driver Execution on the Server</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640498">Network Printing (Windows Clients and UNIX/Samba Print5 Servers)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id264 0516">From Windows Clients to a CUPS/Samba Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640706">Samba Receiving Job-Files and Passing Them to CUPS</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640785">Network PostScript RIP</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2640876">PPDs for Non-PS Printers on UNIX</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640920">PPDs for Non-PS Printers on Windows</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640988">Windows Terminal Servers (WTS) as CUPS Clients</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2641003">Printer Drivers Running in Kernel ModeCause Many6 Problems</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id264 1041">Workarounds Impose Heavy Limitations</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641059">CUPS: A Magical Stone?</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641102">PostScript Drivers with No Major Problems, Even in Kernel7 Mode</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id264 1189">Configuring CUPS for Driver Download</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2641212">cupsaddsmb: The Unknown Utility</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641310">Prepare Your smb.conf for cupsaddsmb</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641591">CUPS PostScript Driver for Windows NT/200x/XP</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641830">Recognizing Different Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641949">Acquiring the Adobe Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641974">ESP Print Pro PostScript Driver for Windows NT/200x/XP</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642037">Caveats to Be Considered</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642336">Windows CUPS PostScript Driver Versus Adobe Driver</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642554">Run cupsaddsmb (Quiet Mode)</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642694">Run cupsaddsmb with Verbose Output</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642886">Understanding cupsaddsmb</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643030">How to Recognize If cupsaddsmb Completed Successfully</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643152">cupsaddsmb with a Samba PDC</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643233">cupsaddsmb Flowchart</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643314">Installing the PostScript Driver on a Client</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#cups-avoidps1">Avoiding Critical PostScript Driver Settings on the Client</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2643549">Installing PostScript Driver Files Manually Using rpcclient</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2643723">A Check of the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643895">Understanding the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644000">Producing an Example by Querying a Windows Box</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644132">Requirements for adddriver and setdriver to Succeed</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644357">Manual Driver Installation in 15 Steps</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645315">Troubleshooting Revisited</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2645458">The Printing *.tdb Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2645661">Trivial Database Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645729">Binary Format</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645795">Losing *.tdb Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645846">Using tdbbackup</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2645965">CUPS Print Drivers from Linuxprinting.org</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2646141">foomatic-rip and Foomatic Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2646962">foomatic-rip and Foomatic PPD Download and Installation</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2647435">Page Accounting with CUPS</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2647471">Setting Up Quotas</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647525">Correct and Incorrect Accounting</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647565">Adobe and CUPS PostScript Drivers for Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647706">The page_log File Syntax</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647851">Possible Shortcomings</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647917">Future Developments</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647957">Other Accounting Tools</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2647971">Additional Material</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2648188">Autodeletion or Preservation of CUPS Spool Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2648264">CUPS Configuration Settings Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648349">Preconditions</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648488">Manual Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2648535">Printing from CUPS to Windows-Attached Printers</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2648832">More CUPS Filtering Chains</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2648943">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2648949">Windows 9x/Me Client Can't Install Driver</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#root-ask-loop">cupsaddsmb Keeps Asking for Root Password in Never-ending Loop</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649025">cupsaddsmb or rpcclient addriver Emit Error</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649063">cupsaddsmb Errors</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649137">Client Can't Connect to Samba Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649162">New Account Reconnection from Windows 200x/XP Troubles</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649253">Avoid Being Connected to the Samba Server as the Wrong User</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649304">Upgrading to CUPS Drivers from Adobe Drivers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649342">Can't Use cupsaddsmb on Samba Server, Which Is a PDC</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649378">Deleted Windows 200x Printer Driver Is Still Shown</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649412">Windows 200x/XP Local Security Policies</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649445">Administrator Cannot Install Printers for All Local Users</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649486">Print Change, Notify Functions on NT Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649512">Windows XP SP1</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649558">Print Options for All Users Can't Be Set on Windows 200x/XP</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649842">Most Common Blunders in Driver Settings on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649897">cupsaddsmb Does Not Work with Newly Installed Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649947">Permissions on /var/spool/samba/ Get Reset After Each Reboot</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2650045">Print Queue Called lp Mishandles Print Jobs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2650114">Location of Adobe PostScript Driver Files for cupsaddsmb</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2650168">Overview of the CUPS Printing Processes</a></span></dt></dl></dd><dt><span class="chapter"><a href="VFS.html">23. Stackable VFS modules</a></span></dt><dd><dl><dt><span class="sect1"><a href="VFS.html#id2650356">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2650394">Discussion</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2650789">Included Modules</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2650795">audit</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2650836">default_quota</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2651054">extd_audit</a></span></dt><dt><span class="sect2"><a href="VFS.html#fakeperms">fake_perms</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2651380">recycle</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2651777">netatalk</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2651827">shadow_copy</a></span></dt></dl></dd><dt><span class="sect1"><a href="VFS.html#id2652729">VFS Modules Available Elsewhere</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2652755">DatabaseFS</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2652814">vscan</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2652854">vscan-clamav</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="winbind.html">24. Winbind: Use of Domain Accounts</a></span></dt><dd><dl><dt><span class="sect1"><a href="winbind.html#id2653118">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2653461">Introduction</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2653551">What Winbind Provides</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2653704">Target Uses</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2653749">Handling of Foreign SIDs</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2653875">How Winbind Works</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2653925">Microsoft Remote Procedure Calls</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654018">Microsoft Active Directory Services</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654066">Name Service Switch</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654298">Pluggable Authentication Modules</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654453">User and Group ID Allocation</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654529">Result Caching</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2654586">Installation and Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2654592">Introduction</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654706">Requirements</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654858">Testing Things Out</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2657317">Conclusion</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2657366">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2657408">NSCD Problem Warning</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2657444">Winbind Is Not Resolving Users and Groups</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="AdvancedNetworkManagement.html">25. Advanced Network Management</a></span></dt><dd><dl><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2657633">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2657660">Remote Server Administration</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2657803">Remote Desktop Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2657832">Remote Management from NoMachine.Com</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2658207">Remote Management with ThinLinc</a></span></dt></dl></dd><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2658393">Network Logon Script Magic</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2658618">Adding Printers without User Intervention</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2658661">Limiting Logon Connections</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="PolicyMgmt.html">26. System and Account Policies</a></span></dt><dd><dl><dt><span class="sect1"><a href="PolicyMgmt.html#id2658804">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2658910">Creating and Managing System Policies</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2659098">Windows 9x/ME Policies</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2659235">Windows NT4-Style Policy Files</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2659457">MS Windows 200x/XP Professional Policies</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2659906">Managing Account/User Policies</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2660133">Management Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2660146">Samba Editreg Toolset</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2660228">Windows NT4/200x</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2660268">Samba PDC</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2660333">System Startup and Logon Processing Overview</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2660490">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2660502">Policy Does Not Work</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="ProfileMgmt.html">27. Desktop Profile Management</a></span></dt><dd><dl><dt><span class="sect1"><a href="ProfileMgmt.html#id2660587">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2660636">Roaming Profiles</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2660690">Samba Configuration for Profile Handling</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2661296">Windows Client Profile Configuration Information</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2662645">User Profile Hive Cleanup Service</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2662678">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2662777">Profile Migration from Windows NT4/200x Server to Samba</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2663129">Mandatory Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2663269">Creating and Managing Group Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2663347">Default Profile for Windows Users</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2663378">MS Windows 9x/Me</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2663529">MS Windows NT4 Workstation</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2664091">MS Windows 200x/XP</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2664596">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2664607">Configuring Roaming Profiles for a Few Users or Groups</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2664669">Cannot Use Roaming Profiles</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2664840">Changing the Default Profile</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2665004">Debugging Roaming Profiles and NT4-style Domain Policies</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="pam.html">28. PAM-Based Distributed Authentication</a></span></dt><dd><dl><dt><span class="sect1"><a href="pam.html#id2665180">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="pam.html#id2665810">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2665864">PAM Configuration Syntax</a></span></dt><dt><span class="sect2"><a href="pam.html#id2666875">Example System Configurations</a></span></dt><dt><span class="sect2"><a href="pam.html#id2667181">smb.conf PAM Configuration</a></span></dt><dt><span class="sect2"><a href="pam.html#id2667262">Remote CIFS Authentication Using winbindd.so</a></span></dt><dt><span class="sect2"><a href="pam.html#id2667365">Password Synchronization Using pam_smbpass.so</a></span></dt></dl></dd><dt><span class="sect1"><a href="pam.html#id2667759">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2667770">pam_winbind Problem</a></span></dt><dt><span class="sect2"><a href="pam.html#id2667868">Winbind Is Not Resolving Users and Groups</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="integrate-ms-networks.html">29. Integrating MS Windows Networks with Samba</a></span></dt><dd><dl><dt><span class="sect1"><a href="integrate-ms-networks.html#id2668091">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2668111">Background Information</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2668240">Name Resolution in a Pure UNIX/Linux World</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2668313">/etc/hosts</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2668502">/etc/resolv.conf</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2668538">/etc/host.conf</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2668589">/etc/nsswitch.conf</a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2668713">Name Resolution as Used within MS Windows Networking</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669148">The NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669234">The LMHOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669410">HOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669438">DNS Lookup</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669465">WINS Lookup</a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2669603">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669616">Pinging Works Only One Way</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669647">Very Slow Network Connections</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2669689">Samba Server Name-Change Problem</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="unicode.html">30. Unicode/Charsets</a></span></dt><dd><dl><dt><span class="sect1"><a href="unicode.html#id2669894">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2669946">What Are Charsets and Unicode?</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2670080">Samba and Charsets</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2670215">Conversion from Old Names</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2670247">Japanese Charsets</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2670386">Basic Parameter Setting</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2671027">Individual Implementations</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2671150">Migration from Samba-2.2 Series</a></span></dt></dl></dd><dt><span class="sect1"><a href="unicode.html#id2671297">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2671302">CP850.so Can't Be Found</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="Backup.html">31. Backup Techniques</a></span></dt><dd><dl><dt><span class="sect1"><a href="Backup.html#id2671410">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="Backup.html#id2671454">Discussion of Backup Solutions</a></span></dt><dd><dl><dt><span class="sect2"><a href="Backup.html#id2671551">BackupPC</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2671723">Rsync</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2671892">Amanda</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2671940">BOBS: Browseable Online Backup System</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="SambaHA.html">32. High Availability</a></span></dt><dd><dl><dt><span class="sect1"><a href="SambaHA.html#id2672036">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SambaHA.html#id2672157">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="SambaHA.html#id2672191">The Ultimate Goal</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2672321">Why Is This So Hard?</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2673034">A Simple Solution</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2673115">High-Availability Server Products</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2673255">MS-DFS: The Poor Man's Cluster</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2673292">Conclusions</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="largefile.html">33. Handling Large Directories</a></span></dt><dt><span class="chapter"><a href="cfgsmarts.html">34. Advanced Configuration Techniques</a></span></dt><dd><dl><dt><span class="sect1"><a href="cfgsmarts.html#id2673923">Implementation</a></span></dt><dd><dl><dt><span class="sect2"><a href="cfgsmarts.html#id2673932">Multiple Server Hosting</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2674328">Multiple Virtual Server Personalities</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2675343">Multiple Virtual Server Hosting</a></span></dt></dl></dd></dl></dd></dl></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ClientConfig.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="ChangeNotes.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 8. MS Windows Network Configuration Guide </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 9. Important and Critical Change Notes for the Samba 3.x Series</td></tr></table></div></body></html>4 </p><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="chapter"><a href="ChangeNotes.html">9. Important and Critical Change Notes for the Samba 3.x Series</a></span></dt><dd><dl><dt><span class="sect1"><a href="ChangeNotes.html#id2584662">Important Samba-3.2.x Change Notes</a></span></dt><dt><span class="sect1"><a href="ChangeNotes.html#id2584674">Important Samba-3.0.x Change Notes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ChangeNotes.html#id2584733">User and Group Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2585045">Essential Group Mappings</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2585166">Passdb Changes</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2585226">Group Mapping Changes in Samba-3.0.23</a></span></dt><dt><span class="sect2"><a href="ChangeNotes.html#id2585347">LDAP Changes in Samba-3.0.23</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="NetworkBrowsing.html">10. Network Browsing</a></span></dt><dd><dl><dt><span class="sect1"><a href="NetworkBrowsing.html#id2585610">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="NetworkBrowsing.html#id2585793">What Is Browsing?</a></span></dt><dt><span class="sect1"><a href="NetworkBrowsing.html#netdiscuss">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586234">NetBIOS over TCP/IP</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2586870">TCP/IP without NetBIOS</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#adsdnstech">DNS and Active Directory</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2587429">How Browsing Functions</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#DMB">Configuring Workgroup Browsing</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2588376">Domain Browsing Configuration</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#browse-force-master">Forcing Samba to Be the Master</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2588976">Making Samba the Domain Master</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2589216">Note about Broadcast Addresses</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2589238">Multiple Interfaces</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2589424">Use of the Remote Announce Parameter</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2589564">Use of the Remote Browse Sync Parameter</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2589657">WINS: The Windows Internetworking Name Server</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2589928">WINS Server Configuration</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2590249">WINS Replication</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2590302">Static WINS Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2590534">Helpful Hints</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2590545">Windows Networking Protocols</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2590686">Name Resolution Order</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2590890">Technical Overview of Browsing</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2590976">Browsing Support in Samba</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2591173">Problem Resolution</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2591424">Cross-Subnet Browsing</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetworkBrowsing.html#id2592438">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetworkBrowsing.html#id2592464">Flushing the Samba NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2592537">Server Resources Cannot Be Listed</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2592585">I Get an "<span class="errorname">Unable to browse the network</span>" Error</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2592632">Browsing of Shares and Directories is Very Slow</a></span></dt><dt><span class="sect2"><a href="NetworkBrowsing.html#id2592832">Invalid Cached Share References Affects Network Browsing</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="passdb.html">11. Account Information Databases</a></span></dt><dd><dl><dt><span class="sect1"><a href="passdb.html#id2593316">Features and Benefits</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2593352">Backward Compatibility Account Storage Systems</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2593543">New Account Storage Systems</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#passdbtech">Technical Information</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2594111">Important Notes About Security</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2594631">Mapping User Identifiers between MS Windows and UNIX</a></span></dt><dt><span class="sect2"><a href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2595179">Comments Regarding LDAP</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#acctmgmttools">Account Management Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2596033">The <code class="literal">smbpasswd</code> Tool</a></span></dt><dt><span class="sect2"><a href="passdb.html#pdbeditthing">The <code class="literal">pdbedit</code> Tool</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#id2598586">Password Backends</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2598639">Plaintext</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2598981">tdbsam</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2599139">ldapsam</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#id2601663">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2601669">Users Cannot Logon</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2601707">Configuration of <em class="parameter"><code>auth methods</code></em></a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="groupmapping.html">12. Group Mapping: MS Windows and UNIX</a></span></dt><dd><dl><dt><span class="sect1"><a href="groupmapping.html#id2601958">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="groupmapping.html#id2602374">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2602711">Warning: User Private Group Problems</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2602768">Nested Groups: Adding Windows Domain Groups to Windows Local Groups</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2603344">Important Administrative Information</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2603585">Default Users, Groups, and Relative Identifiers</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2604210">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2604286">Configuration Scripts</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2604298">Sample <code class="filename">smb.conf</code> Add Group Script</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2604470">Script to Configure Group Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="groupmapping.html#id2604597">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="groupmapping.html#id2604610">Adding Groups Fails</a></span></dt><dt><span class="sect2"><a href="groupmapping.html#id2604697">Adding Domain Users to the Workstation Power Users Group</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="NetCommand.html">13. Remote and Local Management: The Net Command</a></span></dt><dd><dl><dt><span class="sect1"><a href="NetCommand.html#id2605091">Overview</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2605385">Administrative Tasks and Methods</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2605466">UNIX and Windows Group Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2605625">Adding, Renaming, or Deletion of Group Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#grpmemshipchg">Manipulating Group Memberships</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#nestedgrpmgmgt">Nested Group Support</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2606994">UNIX and Windows User Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#sbeuseraddn">Adding User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2607206">Deletion of User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2607254">Managing User Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2607322">User Mapping</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2607406">Administering User Rights and Privileges</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2607751">Managing Trust Relationships</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2607766">Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2608135">Interdomain Trusts</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2608369">Managing Security Identifiers (SIDS)</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2608591">Share Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2608636">Creating, Editing, and Removing Shares</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2608824">Creating and Changing Share ACLs</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2608854">Share, Directory, and File Migration</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2609477">Printer Migration</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#id2609728">Controlling Open Files</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2609747">Session and Connection Management</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2609812">Printers and ADS</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2609928">Manipulating the Samba Cache</a></span></dt><dt><span class="sect1"><a href="NetCommand.html#id2609946">Managing IDMAP UID/SID Mappings</a></span></dt><dd><dl><dt><span class="sect2"><a href="NetCommand.html#id2609990">Creating an IDMAP Database Dump File</a></span></dt><dt><span class="sect2"><a href="NetCommand.html#id2610025">Restoring the IDMAP Database Dump File</a></span></dt></dl></dd><dt><span class="sect1"><a href="NetCommand.html#netmisc1">Other Miscellaneous Operations</a></span></dt></dl></dd><dt><span class="chapter"><a href="idmapper.html">14. Identity Mapping (IDMAP)</a></span></dt><dd><dl><dt><span class="sect1"><a href="idmapper.html#id2610535">Samba Server Deployment Types and IDMAP</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2610560">Standalone Samba Server</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2610622">Domain Member Server or Domain Member Client</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2611579">Primary Domain Controller</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2611813">Backup Domain Controller</a></span></dt></dl></dd><dt><span class="sect1"><a href="idmapper.html#id2611885">Examples of IDMAP Backend Usage</a></span></dt><dd><dl><dt><span class="sect2"><a href="idmapper.html#id2611948">Default Winbind TDB</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2612670">IDMAP_RID with Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2613261">IDMAP Storage in LDAP Using Winbind</a></span></dt><dt><span class="sect2"><a href="idmapper.html#id2613846">IDMAP and NSS Using LDAP from ADS with RFC2307bis Schema Extension</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="rights.html">15. User Rights and Privileges</a></span></dt><dd><dl><dt><span class="sect1"><a href="rights.html#id2614523">Rights Management Capabilities</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2614798">Using the <span class="quote">“<span class="quote">net rpc rights</span>”</span> Utility</a></span></dt><dt><span class="sect2"><a href="rights.html#id2615144">Description of Privileges</a></span></dt><dt><span class="sect2"><a href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></span></dt></dl></dd><dt><span class="sect1"><a href="rights.html#id2615970">The Administrator Domain SID</a></span></dt><dt><span class="sect1"><a href="rights.html#id2616147">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2616153">What Rights and Privileges Will Permit Windows Client Administration?</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="AccessControls.html">16. File, Directory, and Share Access Controls</a></span></dt><dd><dl><dt><span class="sect1"><a href="AccessControls.html#id2616650">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AccessControls.html#id2616837">File System Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2616851">MS Windows NTFS Comparison with UNIX File Systems</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2617188">Managing Directories</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2617311">File and Directory Access Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2617982">Share Definition Access Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2618015">User- and Group-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2618383">File and Directory Permissions-Based Controls</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2618720">Miscellaneous Controls</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2619058">Access Controls on Shares</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2619206">Share Permissions Management</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2619552">MS Windows Access Control Lists and UNIX Interoperability</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2619559">Managing UNIX Permissions Using NT Security Dialogs</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2619606">Viewing File Security on a Samba Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2619677">Viewing File Ownership</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2619821">Viewing File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2620036">Modifying File or Directory Permissions</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2620193">Interaction with the Standard Samba <span class="quote">“<span class="quote">create mask</span>”</span> Parameters</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2620562">Interaction with the Standard Samba File Attribute Mapping</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2620635">Windows NT/200X ACLs and POSIX ACLs Limitations</a></span></dt></dl></dd><dt><span class="sect1"><a href="AccessControls.html#id2621054">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="AccessControls.html#id2621066">Users Cannot Write to a Public Share</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2621388">File Operations Done as <span class="emphasis"><em>root</em></span> with <span class="emphasis"><em>force user</em></span> Set</a></span></dt><dt><span class="sect2"><a href="AccessControls.html#id2621434">MS Word with Samba Changes Owner of File</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="locking.html">17. File and Record Locking</a></span></dt><dd><dl><dt><span class="sect1"><a href="locking.html#id2621671">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="locking.html#id2621768">Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2622026">Opportunistic Locking Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2623031">Samba Oplocks Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2623125">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2623539">MS Windows Oplocks and Caching Controls</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2623726">Workstation Service Entries</a></span></dt><dt><span class="sect2"><a href="locking.html#id2623748">Server Service Entries</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2623814">Persistent Data Corruption</a></span></dt><dt><span class="sect1"><a href="locking.html#id2623839">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="locking.html#id2623907">locking.tdb Error Messages</a></span></dt><dt><span class="sect2"><a href="locking.html#id2623937">Problems Saving Files in MS Office on Windows XP</a></span></dt><dt><span class="sect2"><a href="locking.html#id2623962">Long Delays Deleting Files over Network with XP SP1</a></span></dt></dl></dd><dt><span class="sect1"><a href="locking.html#id2623993">Additional Reading</a></span></dt></dl></dd><dt><span class="chapter"><a href="securing-samba.html">18. Securing Samba</a></span></dt><dd><dl><dt><span class="sect1"><a href="securing-samba.html#id2624168">Introduction</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2624266">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2624413">Technical Discussion of Protective Measures and Issues</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2624429">Using Host-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2624583">User-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2624642">Using Interface Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#firewallports">Using a Firewall</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2624993">Using IPC$ Share-Based Denials </a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2625141">NTLMv2 Security</a></span></dt></dl></dd><dt><span class="sect1"><a href="securing-samba.html#id2625196">Upgrading Samba</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2625240">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2625255">Smbclient Works on Localhost, but the Network Is Dead</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2625284">Why Can Users Access Other Users' Home Directories?</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="InterdomainTrusts.html">19. Interdomain Trust Relationships</a></span></dt><dd><dl><dt><span class="sect1"><a href="InterdomainTrusts.html#id2625845">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2625917">Trust Relationship Background</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2626202">Native MS Windows NT4 Trusts Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2626238">Creating an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2626335">Completing an NT4 Domain Trust</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2626421">Interdomain Trust Facilities</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2626630">Configuring Samba NT-Style Domain Trusts</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#samba-trusted-domain">Samba as the Trusted Domain</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2626971">Samba as the Trusting Domain</a></span></dt></dl></dd><dt><span class="sect1"><a href="InterdomainTrusts.html#id2627167">NT4-Style Domain Trusts with Windows 2000</a></span></dt><dt><span class="sect1"><a href="InterdomainTrusts.html#id2627316">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="InterdomainTrusts.html#id2627329">Browsing of Trusted Domain Fails</a></span></dt><dt><span class="sect2"><a href="InterdomainTrusts.html#id2627375">Problems with LDAP ldapsam and Older Versions of smbldap-tools</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="msdfs.html">20. Hosting a Microsoft Distributed File System Tree</a></span></dt><dd><dl><dt><span class="sect1"><a href="msdfs.html#id2627553">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="msdfs.html#id2627972">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="msdfs.html#id2628005">MSDFS UNIX Path Is Case-Critical</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="classicalprinting.html">21. Classical Printing Support</a></span></dt><dd><dl><dt><span class="sect1"><a href="classicalprinting.html#id2628204">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2628427">Technical Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2628578">Client to Samba Print Job Processing</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2628638">Printing-Related Configuration Parameters</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2628739">Simple Print Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2629022">Verifying Configuration with <code class="literal">testparm</code></a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2629220">Rapid Configuration Validation</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2629619">Extended Printing Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2630075">Detailed Explanation Settings</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#cups-msrpc">Printing Developments Since Samba-2.2</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2632790">Point'n'Print Client Drivers on Samba Servers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2632959">The Obsoleted [printer$] Section</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2633081">Creating the [print$] Share</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2633298">[print$] Stanza Parameters</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2633618">The [print$] Share Directory</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2633761">Installing Drivers into [print$]</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2633854">Add Printer Wizard Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#inst-rpc">Installing Print Drivers Using <code class="literal">rpcclient</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2635786">Client Driver Installation Procedure</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2635803">First Client Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#prt-modeset">Setting Device Modes on New Printers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2636368">Additional Client Driver Installation</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2636487">Always Make First Client Connection as root or <span class="quote">“<span class="quote">printer admin</span>”</span></a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2636660">Other Gotchas</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2636681">Setting Default Print Options for Client Drivers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2637048">Supporting Large Numbers of Printers</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2637304">Adding New Printers with the Windows NT APW</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2637564">Error Message: <span class="quote">“<span class="quote">Cannot connect under a different Name</span>”</span></a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2637678">Take Care When Assembling Driver Files</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2637988">Samba and Printer Ports</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2638097">Avoiding Common Client Driver Misconfiguration</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2638134">The Imprints Toolset</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2638180">What Is Imprints?</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2638214">Creating Printer Driver Packages</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2638230">The Imprints Server</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2638247">The Installation Client</a></span></dt></dl></dd><dt><span class="sect1"><a href="classicalprinting.html#id2638381">Adding Network Printers without User Interaction</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2638654">The <code class="literal">addprinter</code> Command</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2638693">Migration of Classical Printing to Samba</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2638842">Publishing Printer Information in Active Directory or LDAP</a></span></dt><dt><span class="sect1"><a href="classicalprinting.html#id2638871">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="classicalprinting.html#id2638877">I Give My Root Password but I Do Not Get Access</a></span></dt><dt><span class="sect2"><a href="classicalprinting.html#id2638918">My Print Jobs Get Spooled into the Spooling Directory, but Then Get Lost</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="CUPS-printing.html">22. CUPS Printing Support</a></span></dt><dd><dl><dt><span class="sect1"><a href="CUPS-printing.html#id2639060">Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2639066">Features and Benefits</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639126">Overview</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2639245">Basic CUPS Support Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2639361">Linking smbd with libcups.so</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639609">Simple <code class="filename">smb.conf</code> Settings for CUPS</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2639853">More Complex CUPS <code class="filename">smb.conf</code> Settings</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640231">Advanced Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2640248">Central Spooling vs. <span class="quote">“<span class="quote">Peer-to-Peer</span>”</span> Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640299">Raw Print Serving: Vendor Drivers on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640534">Installation of Windows Client Drivers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#cups-raw">Explicitly Enable <span class="quote">“<span class="quote">raw</span>”</span> Printing for <span class="emphasis"><em>application/octet-stream</em></span></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2640821">Driver Upload Methods</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2640942">Advanced Intelligent Printing with PostScript Driver Download</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#gdipost">GDI on Windows, PostScript on UNIX</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641134">Windows Drivers, GDI, and EMF</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641313">UNIX Printfile Conversion and GUI Basics</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#post-and-ghost">PostScript and Ghostscript</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641672">Ghostscript: The Software RIP for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641826">PostScript Printer Description (PPD) Specification</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2641909">Using Windows-Formatted Vendor PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642028">CUPS Also Uses PPDs for Non-PostScript Printers</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2642068">The CUPS Filtering Architecture</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2642304">MIME Types and CUPS Filters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642732">MIME Type Conversion Rules</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2642940">Filtering Overview</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643098">Prefilters</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643286">pstops</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643453">pstoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643723">imagetops and imagetoraster</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2643807">rasterto [printers specific]</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644027">CUPS Backends</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644365">The Role of <em class="parameter"><code>cupsomatic/foomatic</code></em></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644600">The Complete Picture</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644613"><code class="filename">mime.convs</code></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644682"><span class="quote">“<span class="quote">Raw</span>”</span> Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2644790">application/octet-stream Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645069">PostScript Printer Descriptions for Non-PostScript Printers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645352"><span class="emphasis"><em>cupsomatic/foomatic-rip</em></span> Versus <span class="emphasis"><em>Native CUPS</em></span> Printing</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2645689">Examples for Filtering Chains</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2646117">Sources of CUPS Drivers/PPDs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2646240">Printing with Interface Scripts</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2646335">Network Printing (Purely Windows)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2646352">From Windows Clients to an NT Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2646414">Driver Execution on the Client</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2646485">Driver Execution on the Server</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2646590">Network Printing (Windows Clients and UNIX/Samba Print 5 Servers)</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2646608">From Windows Clients to a CUPS/Samba Print Server</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2646799">Samba Receiving Job-Files and Passing Them to CUPS</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2646878">Network PostScript RIP</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2646968">PPDs for Non-PS Printers on UNIX</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647013">PPDs for Non-PS Printers on Windows</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2647081">Windows Terminal Servers (WTS) as CUPS Clients</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2647095">Printer Drivers Running in <span class="quote">“<span class="quote">Kernel Mode</span>”</span> Cause Many 6 Problems</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647134">Workarounds Impose Heavy Limitations</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647151">CUPS: A <span class="quote">“<span class="quote">Magical Stone</span>”</span>?</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647194">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#id2647282">Configuring CUPS for Driver Download</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2647304"><span class="emphasis"><em>cupsaddsmb</em></span>: The Unknown Utility</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647402">Prepare Your <code class="filename">smb.conf</code> for <code class="literal">cupsaddsmb</code></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647683">CUPS <span class="quote">“<span class="quote">PostScript Driver for Windows NT/200x/XP</span>”</span></a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2647923">Recognizing Different Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648041">Acquiring the Adobe Driver Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648067">ESP Print Pro PostScript Driver for Windows NT/200x/XP</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648129">Caveats to Be Considered</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648429">Windows CUPS PostScript Driver Versus Adobe Driver</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648647">Run cupsaddsmb (Quiet Mode)</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648787">Run cupsaddsmb with Verbose Output</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2648978">Understanding cupsaddsmb</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649123">How to Recognize If cupsaddsmb Completed Successfully</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649245">cupsaddsmb with a Samba PDC</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649326">cupsaddsmb Flowchart</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649407">Installing the PostScript Driver on a Client</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#cups-avoidps1">Avoiding Critical PostScript Driver Settings on the Client</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2649642">Installing PostScript Driver Files Manually Using rpcclient</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2649816">A Check of the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2649987">Understanding the rpcclient man Page</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2650092">Producing an Example by Querying a Windows Box</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2650224">Requirements for adddriver and setdriver to Succeed</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2650449">Manual Driver Installation in 15 Steps</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2651408">Troubleshooting Revisited</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2651551">The Printing <code class="filename">*.tdb</code> Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2651754">Trivial Database Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2651821">Binary Format</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2651887">Losing <code class="filename">*.tdb</code> Files</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2651938">Using <code class="literal">tdbbackup</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2652058">CUPS Print Drivers from Linuxprinting.org</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2652233">foomatic-rip and Foomatic Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2653055">foomatic-rip and Foomatic PPD Download and Installation</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2653528">Page Accounting with CUPS</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2653563">Setting Up Quotas</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2653617">Correct and Incorrect Accounting</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2653658">Adobe and CUPS PostScript Drivers for Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2653798">The page_log File Syntax</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2653943">Possible Shortcomings</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2654009">Future Developments</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2654049">Other Accounting Tools</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2654063">Additional Material</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2654280">Autodeletion or Preservation of CUPS Spool Files</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2654356">CUPS Configuration Settings Explained</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2654441">Preconditions</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2654580">Manual Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2654628">Printing from CUPS to Windows-Attached Printers</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2654924">More CUPS Filtering Chains</a></span></dt><dt><span class="sect1"><a href="CUPS-printing.html#id2655035">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="CUPS-printing.html#id2655041">Windows 9x/Me Client Can't Install Driver</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#root-ask-loop"><span class="quote">“<span class="quote">cupsaddsmb</span>”</span> Keeps Asking for Root Password in Never-ending Loop</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655118"><span class="quote">“<span class="quote">cupsaddsmb</span>”</span> or <span class="quote">“<span class="quote">rpcclient addriver</span>”</span> Emit Error</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655156"><span class="quote">“<span class="quote">cupsaddsmb</span>”</span> Errors</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655230">Client Can't Connect to Samba Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655254">New Account Reconnection from Windows 200x/XP Troubles</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655345">Avoid Being Connected to the Samba Server as the Wrong User</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655397">Upgrading to CUPS Drivers from Adobe Drivers</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655434">Can't Use <span class="quote">“<span class="quote">cupsaddsmb</span>”</span> on Samba Server, Which Is a PDC</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655470">Deleted Windows 200x Printer Driver Is Still Shown</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655505">Windows 200x/XP Local Security Policies</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655538">Administrator Cannot Install Printers for All Local Users</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655579">Print Change, Notify Functions on NT Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655604">Windows XP SP1</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655651">Print Options for All Users Can't Be Set on Windows 200x/XP</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655934">Most Common Blunders in Driver Settings on Windows Clients</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2655990"><code class="literal">cupsaddsmb</code> Does Not Work with Newly Installed Printer</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2656039">Permissions on <code class="filename">/var/spool/samba/</code> Get Reset After Each Reboot</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2656138">Print Queue Called <span class="quote">“<span class="quote">lp</span>”</span> Mishandles Print Jobs</a></span></dt><dt><span class="sect2"><a href="CUPS-printing.html#id2656207">Location of Adobe PostScript Driver Files for <span class="quote">“<span class="quote">cupsaddsmb</span>”</span></a></span></dt></dl></dd><dt><span class="sect1"><a href="CUPS-printing.html#id2656260">Overview of the CUPS Printing Processes</a></span></dt></dl></dd><dt><span class="chapter"><a href="VFS.html">23. Stackable VFS modules</a></span></dt><dd><dl><dt><span class="sect1"><a href="VFS.html#id2656448">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2656487">Discussion</a></span></dt><dt><span class="sect1"><a href="VFS.html#id2656882">Included Modules</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2656888">audit</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2656928">default_quota</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2657146">extd_audit</a></span></dt><dt><span class="sect2"><a href="VFS.html#fakeperms">fake_perms</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2657472">recycle</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2657868">netatalk</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2657919">shadow_copy</a></span></dt></dl></dd><dt><span class="sect1"><a href="VFS.html#id2658822">VFS Modules Available Elsewhere</a></span></dt><dd><dl><dt><span class="sect2"><a href="VFS.html#id2658847">DatabaseFS</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2658907">vscan</a></span></dt><dt><span class="sect2"><a href="VFS.html#id2658946">vscan-clamav</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="winbind.html">24. Winbind: Use of Domain Accounts</a></span></dt><dd><dl><dt><span class="sect1"><a href="winbind.html#id2659210">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2659554">Introduction</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2659643">What Winbind Provides</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2659796">Target Uses</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2659842">Handling of Foreign SIDs</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2659968">How Winbind Works</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2660018">Microsoft Remote Procedure Calls</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2660111">Microsoft Active Directory Services</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2660159">Name Service Switch</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2660391">Pluggable Authentication Modules</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2660546">User and Group ID Allocation</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2660622">Result Caching</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2660678">Installation and Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2660684">Introduction</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2660799">Requirements</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2660951">Testing Things Out</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2663370">Conclusion</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2663418">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2663460">NSCD Problem Warning</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2663497">Winbind Is Not Resolving Users and Groups</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="AdvancedNetworkManagement.html">25. Advanced Network Management</a></span></dt><dd><dl><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2663685">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2663712">Remote Server Administration</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2663855">Remote Desktop Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2663884">Remote Management from NoMachine.Com</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2664260">Remote Management with ThinLinc</a></span></dt></dl></dd><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2664445">Network Logon Script Magic</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2664670">Adding Printers without User Intervention</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2664713">Limiting Logon Connections</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="PolicyMgmt.html">26. System and Account Policies</a></span></dt><dd><dl><dt><span class="sect1"><a href="PolicyMgmt.html#id2664856">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2664962">Creating and Managing System Policies</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2665151">Windows 9x/ME Policies</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2665288">Windows NT4-Style Policy Files</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2665509">MS Windows 200x/XP Professional Policies</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2665958">Managing Account/User Policies</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2666185">Management Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2666198">Samba Editreg Toolset</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2666280">Windows NT4/200x</a></span></dt><dt><span class="sect2"><a href="PolicyMgmt.html#id2666320">Samba PDC</a></span></dt></dl></dd><dt><span class="sect1"><a href="PolicyMgmt.html#id2666385">System Startup and Logon Processing Overview</a></span></dt><dt><span class="sect1"><a href="PolicyMgmt.html#id2666542">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="PolicyMgmt.html#id2666554">Policy Does Not Work</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="ProfileMgmt.html">27. Desktop Profile Management</a></span></dt><dd><dl><dt><span class="sect1"><a href="ProfileMgmt.html#id2666639">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2666688">Roaming Profiles</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2666742">Samba Configuration for Profile Handling</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2667353">Windows Client Profile Configuration Information</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2668697">User Profile Hive Cleanup Service</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2668731">Sharing Profiles between Windows 9x/Me and NT4/200x/XP Workstations</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2668829">Profile Migration from Windows NT4/200x Server to Samba</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2669181">Mandatory Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2669321">Creating and Managing Group Profiles</a></span></dt><dt><span class="sect1"><a href="ProfileMgmt.html#id2669400">Default Profile for Windows Users</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2669430">MS Windows 9x/Me</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2669587">MS Windows NT4 Workstation</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2670149">MS Windows 200x/XP</a></span></dt></dl></dd><dt><span class="sect1"><a href="ProfileMgmt.html#id2670655">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ProfileMgmt.html#id2670666">Configuring Roaming Profiles for a Few Users or Groups</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2670727">Cannot Use Roaming Profiles</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2670898">Changing the Default Profile</a></span></dt><dt><span class="sect2"><a href="ProfileMgmt.html#id2671062">Debugging Roaming Profiles and NT4-style Domain Policies</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="pam.html">28. PAM-Based Distributed Authentication</a></span></dt><dd><dl><dt><span class="sect1"><a href="pam.html#id2671238">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="pam.html#id2671868">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2671922">PAM Configuration Syntax</a></span></dt><dt><span class="sect2"><a href="pam.html#id2672928">Example System Configurations</a></span></dt><dt><span class="sect2"><a href="pam.html#id2673234"><code class="filename">smb.conf</code> PAM Configuration</a></span></dt><dt><span class="sect2"><a href="pam.html#id2673315">Remote CIFS Authentication Using <code class="filename">winbindd.so</code></a></span></dt><dt><span class="sect2"><a href="pam.html#id2673418">Password Synchronization Using <code class="filename">pam_smbpass.so</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="pam.html#id2673812">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2673824">pam_winbind Problem</a></span></dt><dt><span class="sect2"><a href="pam.html#id2673922">Winbind Is Not Resolving Users and Groups</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="integrate-ms-networks.html">29. Integrating MS Windows Networks with Samba</a></span></dt><dd><dl><dt><span class="sect1"><a href="integrate-ms-networks.html#id2674144">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2674165">Background Information</a></span></dt><dt><span class="sect1"><a href="integrate-ms-networks.html#id2674293">Name Resolution in a Pure UNIX/Linux World</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2674366"><code class="filename">/etc/hosts</code></a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2674555"><code class="filename">/etc/resolv.conf</code></a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2674591"><code class="filename">/etc/host.conf</code></a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2674642"><code class="filename">/etc/nsswitch.conf</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2674766">Name Resolution as Used within MS Windows Networking</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675201">The NetBIOS Name Cache</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675287">The LMHOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675465">HOSTS File</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675493">DNS Lookup</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675520">WINS Lookup</a></span></dt></dl></dd><dt><span class="sect1"><a href="integrate-ms-networks.html#id2675658">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675671">Pinging Works Only One Way</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675702">Very Slow Network Connections</a></span></dt><dt><span class="sect2"><a href="integrate-ms-networks.html#id2675744">Samba Server Name-Change Problem</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="unicode.html">30. Unicode/Charsets</a></span></dt><dd><dl><dt><span class="sect1"><a href="unicode.html#id2675949">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2676001">What Are Charsets and Unicode?</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2676134">Samba and Charsets</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2676270">Conversion from Old Names</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2676302">Japanese Charsets</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2676441">Basic Parameter Setting</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2677082">Individual Implementations</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2677205">Migration from Samba-2.2 Series</a></span></dt></dl></dd><dt><span class="sect1"><a href="unicode.html#id2677352">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2677357">CP850.so Can't Be Found</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="Backup.html">31. Backup Techniques</a></span></dt><dd><dl><dt><span class="sect1"><a href="Backup.html#id2677464">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="Backup.html#id2677509">Discussion of Backup Solutions</a></span></dt><dd><dl><dt><span class="sect2"><a href="Backup.html#id2677606">BackupPC</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2677778">Rsync</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2677947">Amanda</a></span></dt><dt><span class="sect2"><a href="Backup.html#id2677995">BOBS: Browseable Online Backup System</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="SambaHA.html">32. High Availability</a></span></dt><dd><dl><dt><span class="sect1"><a href="SambaHA.html#id2678091">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="SambaHA.html#id2678212">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="SambaHA.html#id2678246">The Ultimate Goal</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2678376">Why Is This So Hard?</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2679095">A Simple Solution</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2679176">High-Availability Server Products</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2679316">MS-DFS: The Poor Man's Cluster</a></span></dt><dt><span class="sect2"><a href="SambaHA.html#id2679353">Conclusions</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="largefile.html">33. Handling Large Directories</a></span></dt><dt><span class="chapter"><a href="cfgsmarts.html">34. Advanced Configuration Techniques</a></span></dt><dd><dl><dt><span class="sect1"><a href="cfgsmarts.html#id2679984">Implementation</a></span></dt><dd><dl><dt><span class="sect2"><a href="cfgsmarts.html#id2679993">Multiple Server Hosting</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2680389">Multiple Virtual Server Personalities</a></span></dt><dt><span class="sect2"><a href="cfgsmarts.html#id2681404">Multiple Virtual Server Hosting</a></span></dt></dl></dd></dl></dd></dl></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ClientConfig.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="ChangeNotes.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 8. MS Windows Network Configuration Guide </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 9. Important and Critical Change Notes for the Samba 3.x Series</td></tr></table></div></body></html> -
branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/pam.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 28. PAM-Based Distributed Authentication</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="ProfileMgmt.html" title="Chapter 27. Desktop Profile Management"><link rel="next" href="integrate-ms-networks.html" title="Chapter 29. Integrating MS Windows Networks with Samba"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 28. PAM-Based Distributed Authentication</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ProfileMgmt.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="integrate-ms-networks.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="pam"></a>Chapter 28. PAM-Based Distributed Authentication</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2665180">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="pam.html#id2665810">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2665864">PAM Configuration Syntax</a></span></dt><dt><span class="sect2"><a href="pam.html#id2666875">Example System Configurations</a></span></dt><dt><span class="sect2"><a href="pam.html#id2667181">smb.conf PAM Configuration</a></span></dt><dt><span class="sect2"><a href="pam.html#id2667262">Remote CIFS Authentication Using winbindd.so</a></span></dt><dt><span class="sect2"><a href="pam.html#id2667365">Password Synchronization Using pam_smbpass.so</a></span></dt></dl></dd><dt><span class="sect1"><a href="pam.html#id2667759">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2667770">pam_winbind Problem</a></span></dt><dt><span class="sect2"><a href="pam.html#id2667868">Winbind Is Not Resolving Users and Groups</a></span></dt></dl></dd></dl></div><p>2 <a class="indexterm" name="id26 65104"></a>3 <a class="indexterm" name="id26 65111"></a>4 <a class="indexterm" name="id26 65117"></a>5 <a class="indexterm" name="id26 65124"></a>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 28. PAM-Based Distributed Authentication</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="ProfileMgmt.html" title="Chapter 27. Desktop Profile Management"><link rel="next" href="integrate-ms-networks.html" title="Chapter 29. Integrating MS Windows Networks with Samba"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 28. PAM-Based Distributed Authentication</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ProfileMgmt.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="integrate-ms-networks.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 28. PAM-Based Distributed Authentication"><div class="titlepage"><div><div><h2 class="title"><a name="pam"></a>Chapter 28. PAM-Based Distributed Authentication</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2671238">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="pam.html#id2671868">Technical Discussion</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2671922">PAM Configuration Syntax</a></span></dt><dt><span class="sect2"><a href="pam.html#id2672928">Example System Configurations</a></span></dt><dt><span class="sect2"><a href="pam.html#id2673234"><code class="filename">smb.conf</code> PAM Configuration</a></span></dt><dt><span class="sect2"><a href="pam.html#id2673315">Remote CIFS Authentication Using <code class="filename">winbindd.so</code></a></span></dt><dt><span class="sect2"><a href="pam.html#id2673418">Password Synchronization Using <code class="filename">pam_smbpass.so</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="pam.html#id2673812">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="pam.html#id2673824">pam_winbind Problem</a></span></dt><dt><span class="sect2"><a href="pam.html#id2673922">Winbind Is Not Resolving Users and Groups</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2671162"></a> 3 <a class="indexterm" name="id2671169"></a> 4 <a class="indexterm" name="id2671176"></a> 5 <a class="indexterm" name="id2671182"></a> 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 65142"></a>13 <a class="indexterm" name="id26 65148"></a>12 <a class="indexterm" name="id2671200"></a> 13 <a class="indexterm" name="id2671207"></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. 16 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>16 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 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="id2665180"></a>Features and Benefits</h2></div></div></div><p>20 <a class="indexterm" name="id26 65188"></a>21 <a class="indexterm" name="id26 65194"></a>22 <a class="indexterm" name="id26 65201"></a>23 <a class="indexterm" name="id26 65208"></a>24 <a class="indexterm" name="id26 65217"></a>25 <a class="indexterm" name="id26 65224"></a>26 <a class="indexterm" name="id26 65231"></a>27 <a class="indexterm" name="id26 65237"></a>19 </p></div><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2671238"></a>Features and Benefits</h2></div></div></div><p> 20 <a class="indexterm" name="id2671246"></a> 21 <a class="indexterm" name="id2671252"></a> 22 <a class="indexterm" name="id2671259"></a> 23 <a class="indexterm" name="id2671266"></a> 24 <a class="indexterm" name="id2671275"></a> 25 <a class="indexterm" name="id2671282"></a> 26 <a class="indexterm" name="id2671289"></a> 27 <a class="indexterm" name="id2671296"></a> 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 65279"></a>37 <a class="indexterm" name="id26 65286"></a>38 <a class="indexterm" name="id26 65293"></a>39 <a class="indexterm" name="id26 65300"></a>36 <a class="indexterm" name="id2671337"></a> 37 <a class="indexterm" name="id2671344"></a> 38 <a class="indexterm" name="id2671351"></a> 39 <a class="indexterm" name="id2671358"></a> 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 65326"></a>46 <a class="indexterm" name="id26 65333"></a>45 <a class="indexterm" name="id2671384"></a> 46 <a class="indexterm" name="id2671391"></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 65363"></a>55 <a class="indexterm" name="id26 65370"></a>56 <a class="indexterm" name="id26 65377"></a>57 <a class="indexterm" name="id26 65384"></a>58 <a class="indexterm" name="id26 65390"></a>59 <a class="indexterm" name="id26 65397"></a>54 <a class="indexterm" name="id2671421"></a> 55 <a class="indexterm" name="id2671428"></a> 56 <a class="indexterm" name="id2671435"></a> 57 <a class="indexterm" name="id2671442"></a> 58 <a class="indexterm" name="id2671449"></a> 59 <a class="indexterm" name="id2671455"></a> 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 65440"></a>65 <a class="indexterm" name="id26 65447"></a>66 <a class="indexterm" name="id26 65453"></a>67 <a class="indexterm" name="id26 65460"></a>68 <a class="indexterm" name="id26 65467"></a>64 <a class="indexterm" name="id2671498"></a> 65 <a class="indexterm" name="id2671505"></a> 66 <a class="indexterm" name="id2671512"></a> 67 <a class="indexterm" name="id2671518"></a> 68 <a class="indexterm" name="id2671525"></a> 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 65493"></a>74 <a class="indexterm" name="id26 65500"></a>75 <a class="indexterm" name="id26 65506"></a>76 <a class="indexterm" name="id26 65513"></a>77 <a class="indexterm" name="id26 65520"></a>78 <a class="indexterm" name="id26 65527"></a>73 <a class="indexterm" name="id2671551"></a> 74 <a class="indexterm" name="id2671558"></a> 75 <a class="indexterm" name="id2671564"></a> 76 <a class="indexterm" name="id2671571"></a> 77 <a class="indexterm" name="id2671578"></a> 78 <a class="indexterm" name="id2671585"></a> 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 65554"></a>84 <a class="indexterm" name="id26 65561"></a>85 <a class="indexterm" name="id26 65568"></a>86 <a class="indexterm" name="id26 65575"></a>83 <a class="indexterm" name="id2671612"></a> 84 <a class="indexterm" name="id2671619"></a> 85 <a class="indexterm" name="id2671626"></a> 86 <a class="indexterm" name="id2671633"></a> 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 65600"></a>91 <a class="indexterm" name="id26 65607"></a>92 <a class="indexterm" name="id26 65614"></a>90 <a class="indexterm" name="id2671658"></a> 91 <a class="indexterm" name="id2671665"></a> 92 <a class="indexterm" name="id2671672"></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 65645"></a>97 <a class="indexterm" name="id26 65652"></a>96 <a class="indexterm" name="id2671703"></a> 97 <a class="indexterm" name="id2671710"></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 65677"></a>102 <a class="indexterm" name="id26 65684"></a>103 <a class="indexterm" name="id26 65691"></a>104 <a class="indexterm" name="id26 65698"></a>101 <a class="indexterm" name="id2671735"></a> 102 <a class="indexterm" name="id2671742"></a> 103 <a class="indexterm" name="id2671749"></a> 104 <a class="indexterm" name="id2671756"></a> 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 65724"></a>109 <a class="indexterm" name="id2671782"></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 65743"></a>116 <a class="indexterm" name="id26 65750"></a>115 <a class="indexterm" name="id2671802"></a> 116 <a class="indexterm" name="id2671808"></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 65774"></a>121 <a class="indexterm" name="id26 65781"></a>122 <a class="indexterm" name="id26 65788"></a>123 <a class="indexterm" name="id26 65795"></a>120 <a class="indexterm" name="id2671832"></a> 121 <a class="indexterm" name="id2671839"></a> 122 <a class="indexterm" name="id2671846"></a> 123 <a class="indexterm" name="id2671853"></a> 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="id2665810"></a>Technical Discussion</h2></div></div></div><p>130 <a class="indexterm" name="id26 65818"></a>131 <a class="indexterm" name="id26 65825"></a>132 <a class="indexterm" name="id26 65832"></a>133 <a class="indexterm" name="id26 65839"></a>129 </p></div><div class="sect1" title="Technical Discussion"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2671868"></a>Technical Discussion</h2></div></div></div><p> 130 <a class="indexterm" name="id2671876"></a> 131 <a class="indexterm" name="id2671883"></a> 132 <a class="indexterm" name="id2671890"></a> 133 <a class="indexterm" name="id2671897"></a> 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="id2665864"></a>PAM Configuration Syntax</h3></div></div></div><p>140 <a class="indexterm" name="id26 65872"></a>141 <a class="indexterm" name="id26 65879"></a>139 </p><div class="sect2" title="PAM Configuration Syntax"><div class="titlepage"><div><div><h3 class="title"><a name="id2671922"></a>PAM Configuration Syntax</h3></div></div></div><p> 140 <a class="indexterm" name="id2671930"></a> 141 <a class="indexterm" name="id2671937"></a> 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 … … 146 146 </p><p> 147 147 In addition to the lines described below, there are two special characters provided for the convenience 148 of the system administrator: comments are preceded by a “<span class="quote">#</span>”and extend to the next end-of-line; also,149 module specification lines may be extended with a “<span class="quote">\</span>”-escaped newline.150 </p><p> 151 <a class="indexterm" name="id26 65910"></a>152 <a class="indexterm" name="id26 65917"></a>148 of the system administrator: comments are preceded by a <span class="quote">“<span class="quote">#</span>”</span> and extend to the next end-of-line; also, 149 module specification lines may be extended with a <span class="quote">“<span class="quote">\</span>”</span>-escaped newline. 150 </p><p> 151 <a class="indexterm" name="id2671968"></a> 152 <a class="indexterm" name="id2671975"></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="id2665943"></a>Anatomy of <code class="filename">/etc/pam.d</code> Entries</h4></div></div></div><p>160 </p><div class="sect3" title="Anatomy of /etc/pam.d Entries"><div class="titlepage"><div><div><h4 class="title"><a name="id2672001"></a>Anatomy of <code class="filename">/etc/pam.d</code> Entries</h4></div></div></div><p> 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 65969"></a>165 <a class="indexterm" name="id2672027"></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 66014"></a>176 <a class="indexterm" name="id26 66021"></a>177 <a class="indexterm" name="id26 66027"></a>175 <a class="indexterm" name="id2672072"></a> 176 <a class="indexterm" name="id2672079"></a> 177 <a class="indexterm" name="id2672086"></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 … … 186 186 </p></dd><dt><span class="term">module-type</span></dt><dd><p> 187 187 One of (currently) four types of module. The four types are as follows: 188 </p><div class="itemizedlist"><ul type="disc"><li><p>189 <a class="indexterm" name="id26 66095"></a>190 <a class="indexterm" name="id26 66102"></a>188 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 189 <a class="indexterm" name="id2672154"></a> 190 <a class="indexterm" name="id2672160"></a> 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 … … 194 194 grant group membership (independently of the <code class="filename">/etc/groups</code> file) 195 195 or other privileges through its credential-granting properties. 196 </p></li><li ><p>197 <a class="indexterm" name="id26 66131"></a>198 <a class="indexterm" name="id26 66138"></a>196 </p></li><li class="listitem"><p> 197 <a class="indexterm" name="id2672190"></a> 198 <a class="indexterm" name="id2672196"></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 201 201 available system resources (maximum number of users), or perhaps the location of the user 202 login. For example, the “<span class="quote">root</span>”login may be permitted only on the console.203 </p></li><li ><p>204 <a class="indexterm" name="id26 66165"></a>202 login. For example, the <span class="quote">“<span class="quote">root</span>”</span> login may be permitted only on the console. 203 </p></li><li class="listitem"><p> 204 <a class="indexterm" name="id2672223"></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 207 207 information concerning the opening and closing of some data exchange with a user, mounting 208 208 directories, and so on. 209 </p></li><li ><p>210 <a class="indexterm" name="id26 66192"></a>209 </p></li><li class="listitem"><p> 210 <a class="indexterm" name="id2672245"></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 213 “<span class="quote">challenge/response</span>”authentication <em class="parameter"><code>(auth)</code></em> module type.213 <span class="quote">“<span class="quote">challenge/response</span>”</span> authentication <em class="parameter"><code>(auth)</code></em> module type. 214 214 </p></li></ul></div></dd><dt><span class="term">control-flag</span></dt><dd><p> 215 215 The control-flag is used to indicate how the PAM library will react to the success or failure of the … … 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 66256"></a>225 <a class="indexterm" name="id26 66263"></a>226 <a class="indexterm" name="id26 66270"></a>227 <a class="indexterm" name="id26 66277"></a>224 <a class="indexterm" name="id2672309"></a> 225 <a class="indexterm" name="id2672316"></a> 226 <a class="indexterm" name="id2672323"></a> 227 <a class="indexterm" name="id2672330"></a> 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 … … 232 232 </p><p> 233 233 The Linux-PAM library interprets these keywords in the following manner: 234 </p><div class="itemizedlist"><ul type="disc"><li><p>234 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 235 235 <em class="parameter"><code>required:</code></em> This indicates that the success of the module is required for the 236 236 module-type facility to succeed. Failure of this module will not be apparent to the user until all 237 237 of the remaining modules (of the same module-type) have been executed. 238 </p></li><li ><p>238 </p></li><li class="listitem"><p> 239 239 <em class="parameter"><code>requisite:</code></em> Like required, except that if such a module returns a 240 240 failure, control is directly returned to the application. The return value is that associated with … … 244 244 possibility should be weighed against the not insignificant concerns of exposing a sensitive 245 245 password in a hostile environment. 246 </p></li><li ><p>246 </p></li><li class="listitem"><p> 247 247 <em class="parameter"><code>sufficient:</code></em> The success of this module is deemed <em class="parameter"><code>sufficient</code></em> to satisfy 248 248 the Linux-PAM library that this module-type has succeeded in its purpose. In the event that no 249 previous required module has failed, no more “<span class="quote">stacked</span>”modules of this type are invoked.249 previous required module has failed, no more <span class="quote">“<span class="quote">stacked</span>”</span> modules of this type are invoked. 250 250 (In this case, subsequent required modules are not invoked). A failure of this module is not deemed 251 251 as fatal to satisfying the application that this module-type has succeeded. 252 </p></li><li ><p>252 </p></li><li class="listitem"><p> 253 253 <em class="parameter"><code>optional:</code></em> As its name suggests, this control-flag marks the module as not 254 254 being critical to the success or failure of the user's application for service. In general, … … 284 284 stack of modules with a number of different paths of execution. Which path is taken can be determined by the 285 285 reactions of individual modules. 286 </p><div class="itemizedlist"><ul type="disc"><li><p>286 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 287 287 <em class="parameter"><code>ignore:</code></em> When used with a stack of modules, the module's return status will not 288 288 contribute to the return code the application obtains. 289 </p></li><li ><p>289 </p></li><li class="listitem"><p> 290 290 <em class="parameter"><code>bad:</code></em> This action indicates that the return code should be thought of as indicative 291 291 of the module failing. If this module is the first in the stack to fail, its status value will be used 292 292 for that of the whole stack. 293 </p></li><li ><p>293 </p></li><li class="listitem"><p> 294 294 <em class="parameter"><code>die:</code></em> Equivalent to bad with the side effect of terminating the module stack and 295 295 PAM immediately returning to the application. 296 </p></li><li ><p>296 </p></li><li class="listitem"><p> 297 297 <em class="parameter"><code>ok:</code></em> This tells PAM that the administrator thinks this return code should 298 298 contribute directly to the return code of the full stack of modules. In other words, if the former … … 300 300 this value. Note, if the former state of the stack holds some value that is indicative of a module's 301 301 failure, this <em class="parameter"><code>ok</code></em> value will not be used to override that value. 302 </p></li><li ><p>302 </p></li><li class="listitem"><p> 303 303 <em class="parameter"><code>done:</code></em> Equivalent to <em class="parameter"><code>ok</code></em> with the side effect of terminating the module stack and 304 304 PAM immediately returning to the application. 305 </p></li><li ><p>305 </p></li><li class="listitem"><p> 306 306 <em class="parameter"><code>reset:</code></em> Clears all memory of the state of the module stack and starts again with 307 307 the next stacked module. … … 311 311 of the [...] syntax. They are as follows: 312 312 </p><p> 313 </p><div class="itemizedlist"><ul type="disc"><li><p>313 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 314 314 <em class="parameter"><code>required</code></em> is equivalent to <em class="parameter"><code>[success=ok new_authtok_reqd=ok ignore=ignore default=bad]</code></em>. 315 </p></li><li ><p>315 </p></li><li class="listitem"><p> 316 316 <em class="parameter"><code>requisite</code></em> is equivalent to <em class="parameter"><code>[success=ok new_authtok_reqd=ok ignore=ignore default=die]</code></em>. 317 </p></li><li ><p>317 </p></li><li class="listitem"><p> 318 318 <em class="parameter"><code>sufficient</code></em> is equivalent to <em class="parameter"><code>[success=done new_authtok_reqd=done default=ignore]</code></em>. 319 </p></li><li ><p>319 </p></li><li class="listitem"><p> 320 320 <em class="parameter"><code>optional</code></em> is equivalent to <em class="parameter"><code>[success=ok new_authtok_reqd=ok default=ignore]</code></em>. 321 321 </p></li></ul></div><p> … … 329 329 </p></dd><dt><span class="term">module-path</span></dt><dd><p> 330 330 The pathname of the dynamically loadable object file; the pluggable module itself. If the first character of the 331 module path is “<span class="quote">/</span>”, it is assumed to be a complete path. If this is not the case, the given module path is appended331 module path is <span class="quote">“<span class="quote">/</span>”</span>, it is assumed to be a complete path. If this is not the case, the given module path is appended 332 332 to the default module path: <code class="filename">/lib/security</code> (but see the previous notes). 333 333 </p><p> … … 341 341 squid auth required pam_mysql.so user=passwd_query passwd=mada \ 342 342 db=eminence [query=select user_name from internet_service where \ 343 user_name= “<span class="quote">%u</span>” and password=PASSWORD(“<span class="quote">%p</span>”) and service=“<span class="quote">web_proxy</span>”]344 </pre><p> 345 When using this convention, you can include “<span class="quote">[</span>” characters inside the string, and if you wish to have a “<span class="quote">]</span>”346 character inside the string that will survive the argument parsing, you should use “<span class="quote">\[</span>”. In other words,343 user_name=<span class="quote">“<span class="quote">%u</span>”</span> and password=PASSWORD(<span class="quote">“<span class="quote">%p</span>”</span>) and service=<span class="quote">“<span class="quote">web_proxy</span>”</span>] 344 </pre><p> 345 When using this convention, you can include <span class="quote">“<span class="quote">[</span>”</span> characters inside the string, and if you wish to have a <span class="quote">“<span class="quote">]</span>”</span> 346 character inside the string that will survive the argument parsing, you should use <span class="quote">“<span class="quote">\[</span>”</span>. In other words, 347 347 </p><pre class="programlisting"> 348 348 [..[..\]..] --> ..[..].. … … 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="id2666875"></a>Example System Configurations</h3></div></div></div><p>353 </p></dd></dl></div></div></div><div class="sect2" title="Example System Configurations"><div class="titlepage"><div><div><h3 class="title"><a name="id2672928"></a>Example System Configurations</h3></div></div></div><p> 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="id2666901"></a>PAM: Original Login Config</h4></div></div></div><p>359 </p><div class="sect3" title="PAM: Original Login Config"><div class="titlepage"><div><div><h4 class="title"><a name="id2672954"></a>PAM: Original Login Config</h4></div></div></div><p> 360 360 </p><pre class="programlisting"> 361 361 #%PAM-1.0 362 # The PAM configuration file for the “<span class="quote">login</span>”service362 # The PAM configuration file for the <span class="quote">“<span class="quote">login</span>”</span> service 363 363 # 364 364 auth required pam_securetty.so … … 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="id2666929"></a>PAM: Login Using <code class="filename">pam_smbpass</code></h4></div></div></div><p>376 </p></div><div class="sect3" title="PAM: Login Using pam_smbpass"><div class="titlepage"><div><div><h4 class="title"><a name="id2672982"></a>PAM: Login Using <code class="filename">pam_smbpass</code></h4></div></div></div><p> 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> … … 412 412 </p><pre class="programlisting"> 413 413 #%PAM-1.0 414 # The PAM configuration file for the “<span class="quote">login</span>”service414 # The PAM configuration file for the <span class="quote">“<span class="quote">login</span>”</span> service 415 415 # 416 416 auth required pam_smbpass.so nodelay … … 424 424 </p><pre class="programlisting"> 425 425 #%PAM-1.0 426 # The PAM configuration file for the “<span class="quote">samba</span>”service426 # The PAM configuration file for the <span class="quote">“<span class="quote">samba</span>”</span> service 427 427 # 428 428 auth required pam_pwdb.so nullok nodelay shadow audit … … 439 439 </p><pre class="programlisting"> 440 440 #%PAM-1.0 441 # The PAM configuration file for the “<span class="quote">samba</span>”service441 # The PAM configuration file for the <span class="quote">“<span class="quote">samba</span>”</span> service 442 442 # 443 443 auth required pam_smbpass.so nodelay … … 446 446 password required pam_smbpass.so nodelay smbconf=/etc/samba.d/smb.conf 447 447 </pre><p> 448 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>PAM allows stacking of authentication mechanisms. It is448 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>PAM allows stacking of authentication mechanisms. It is 449 449 also possible to pass information obtained within one PAM module through 450 450 to the next module in the PAM stack. Please refer to the documentation for … … 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="id2667181"></a><code class="filename">smb.conf</code> PAM Configuration</h3></div></div></div><p>459 </p></div></div></div><div class="sect2" title="smb.conf PAM Configuration"><div class="titlepage"><div><div><h3 class="title"><a name="id2673234"></a><code class="filename">smb.conf</code> PAM Configuration</h3></div></div></div><p> 460 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: … … 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" target="_top">obey pam restrictions = no</a></p></blockquote></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2667262"></a>Remote CIFS Authentication Using <code class="filename">winbindd.so</code></h3></div></div></div><p>469 </p><p>Default: <a class="link" href="smb.conf.5.html#OBEYPAMRESTRICTIONS" target="_top">obey pam restrictions = no</a></p></blockquote></div></div><div class="sect2" title="Remote CIFS Authentication Using winbindd.so"><div class="titlepage"><div><div><h3 class="title"><a name="id2673315"></a>Remote CIFS Authentication Using <code class="filename">winbindd.so</code></h3></div></div></div><p> 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). … … 490 490 particularly potent advantages compared with the use of Microsoft Active Directory Service (ADS) insofar as 491 491 the reduction of wide-area network authentication traffic. 492 </p><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>492 </p><div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p> 493 493 The RID to UNIX ID database is the only location where the user and group mappings are 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="id2667365"></a>Password Synchronization Using <code class="filename">pam_smbpass.so</code></h3></div></div></div><p>496 </p></div></div><div class="sect2" title="Password Synchronization Using pam_smbpass.so"><div class="titlepage"><div><div><h3 class="title"><a name="id2673418"></a>Password Synchronization Using <code class="filename">pam_smbpass.so</code></h3></div></div></div><p> 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 … … 507 507 </p><p> 508 508 Options recognized by this module are shown in <a class="link" href="pam.html#smbpassoptions" title="Table 28.1. Options recognized by pam_smbpass">next table</a>. 509 </p><div class="table"><a name="smbpassoptions"></a><p class="title"><b>Table 28.1. Options recognized by <em class="parameter"><code>pam_smbpass</code></em></b></p><div class="table-contents"><table summary="Options recognized by pam_smbpass" border="1"><colgroup><col align="left"><col align="justify"></colgroup><tbody><tr><td align="left">debug</td><td align="justify">Log more debugging info.</td></tr><tr><td align="left">audit</td><td align="justify">Like debug, but also logs unknown usernames.</td></tr><tr><td align="left">use_first_pass</td><td align="justify">Do not prompt the user for passwords; take them from PAM_ items instead.</td></tr><tr><td align="left">try_first_pass</td><td align="justify">Try to get the password from a previous PAM module; fall back to prompting the user.</td></tr><tr><td align="left">use_authtok</td><td align="justify">Like try_first_pass, but *fail* if the new PAM_AUTHTOK has not been previously set (intended for stacking password modules only).</td></tr><tr><td align="left">not_set_pass</td><td align="justify">Do not make passwords used by this module available to other modules.</td></tr><tr><td align="left">nodelay</td><td align="justify">dDo not insert ~1-second delays on authentication failure.</td></tr><tr><td align="left">nullok</td><td align="justify">Null passwords are allowed.</td></tr><tr><td align="left">nonull</td><td align="justify">Null passwords are not allowed. Used to override the Samba configuration.</td></tr><tr><td align="left">migrate</td><td align="justify">Only meaningful in an “<span class="quote">auth</span>”context; used to update smbpasswd file with a password used for successful authentication.</td></tr><tr><td align="left">smbconf=<em class="replaceable"><code>file</code></em></td><td align="justify">Specify an alternate path to the <code class="filename">smb.conf</code> file.</td></tr></tbody></table></div></div><p><br class="table-break">509 </p><div class="table"><a name="smbpassoptions"></a><p class="title"><b>Table 28.1. Options recognized by <em class="parameter"><code>pam_smbpass</code></em></b></p><div class="table-contents"><table summary="Options recognized by pam_smbpass" border="1"><colgroup><col align="left"><col align="justify"></colgroup><tbody><tr><td align="left">debug</td><td align="justify">Log more debugging info.</td></tr><tr><td align="left">audit</td><td align="justify">Like debug, but also logs unknown usernames.</td></tr><tr><td align="left">use_first_pass</td><td align="justify">Do not prompt the user for passwords; take them from PAM_ items instead.</td></tr><tr><td align="left">try_first_pass</td><td align="justify">Try to get the password from a previous PAM module; fall back to prompting the user.</td></tr><tr><td align="left">use_authtok</td><td align="justify">Like try_first_pass, but *fail* if the new PAM_AUTHTOK has not been previously set (intended for stacking password modules only).</td></tr><tr><td align="left">not_set_pass</td><td align="justify">Do not make passwords used by this module available to other modules.</td></tr><tr><td align="left">nodelay</td><td align="justify">dDo not insert ~1-second delays on authentication failure.</td></tr><tr><td align="left">nullok</td><td align="justify">Null passwords are allowed.</td></tr><tr><td align="left">nonull</td><td align="justify">Null passwords are not allowed. Used to override the Samba configuration.</td></tr><tr><td align="left">migrate</td><td align="justify">Only meaningful in an <span class="quote">“<span class="quote">auth</span>”</span> context; used to update smbpasswd file with a password used for successful authentication.</td></tr><tr><td align="left">smbconf=<em class="replaceable"><code>file</code></em></td><td align="justify">Specify an alternate path to the <code class="filename">smb.conf</code> file.</td></tr></tbody></table></div></div><p><br class="table-break"> 510 510 </p><p> 511 511 The following are examples of the use of <code class="filename">pam_smbpass.so</code> in the format of the Linux 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="id2667584"></a>Password Synchronization Configuration</h4></div></div></div><p>514 </p><div class="sect3" title="Password Synchronization Configuration"><div class="titlepage"><div><div><h4 class="title"><a name="id2673638"></a>Password Synchronization Configuration</h4></div></div></div><p> 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="id2667630"></a>Password Migration Configuration</h4></div></div></div><p>531 </pre></div><div class="sect3" title="Password Migration Configuration"><div class="titlepage"><div><div><h4 class="title"><a name="id2673683"></a>Password Migration Configuration</h4></div></div></div><p> 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="id2667678"></a>Mature Password Configuration</h4></div></div></div><p>551 </pre></div><div class="sect3" title="Mature Password Configuration"><div class="titlepage"><div><div><h4 class="title"><a name="id2673732"></a>Mature Password Configuration</h4></div></div></div><p> 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="id2667718"></a>Kerberos Password Integration Configuration</h4></div></div></div><p>567 </pre></div><div class="sect3" title="Kerberos Password Integration Configuration"><div class="titlepage"><div><div><h4 class="title"><a name="id2673771"></a>Kerberos Password Integration Configuration</h4></div></div></div><p> 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="id2667759"></a>Common Errors</h2></div></div></div><p>584 </pre></div></div></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2673812"></a>Common Errors</h2></div></div></div><p> 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="id2667770"></a>pam_winbind Problem</h3></div></div></div><p>587 </p><div class="sect2" title="pam_winbind Problem"><div class="titlepage"><div><div><h3 class="title"><a name="id2673824"></a>pam_winbind Problem</h3></div></div></div><p> 588 588 A user reported, <span class="emphasis"><em>I have the following PAM configuration</em></span>: 589 589 </p><p> … … 599 599 </pre><p> 600 600 </p><p> 601 <span class="emphasis"><em>When I open a new console with [ctrl][alt][F1], I can't log in with my user “<span class="quote">pitie.</span>”602 I have tried with user “<span class="quote">scienceu\pitie</span>”also.</em></span>601 <span class="emphasis"><em>When I open a new console with [ctrl][alt][F1], I can't log in with my user <span class="quote">“<span class="quote">pitie.</span>”</span> 602 I have tried with user <span class="quote">“<span class="quote">scienceu\pitie</span>”</span> also.</em></span> 603 603 </p><p> 604 604 The problem may lie with the inclusion of <em class="parameter"><code>pam_stack.so … … 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="id2667868"></a>Winbind Is Not Resolving Users and Groups</h3></div></div></div><p>612 “<span class="quote">611 </p></div><div class="sect2" title="Winbind Is Not Resolving Users and Groups"><div class="titlepage"><div><div><h3 class="title"><a name="id2673922"></a>Winbind Is Not Resolving Users and Groups</h3></div></div></div><p> 612 <span class="quote">“<span class="quote"> 613 613 My <code class="filename">smb.conf</code> file is correctly configured. I have specified 614 614 <a class="link" href="smb.conf.5.html#IDMAPUID" target="_top">idmap uid = 12000</a> 615 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 </span>” 617 </span>”</span> 618 618 </p><pre class="screen"> 619 619 <code class="prompt">root# </code><strong class="userinput"><code>wbinfo -u</code></strong> … … 637 637 maryo:x:15000:15003:Mary Orville:/home/MIDEARTH/maryo:/bin/false 638 638 </pre><p> 639 “<span class="quote">639 <span class="quote">“<span class="quote"> 640 640 But this command fails: 641 </span>” 641 </span>”</span> 642 642 </p><pre class="screen"> 643 643 <code class="prompt">root# </code><strong class="userinput"><code>chown maryo a_file</code></strong> 644 644 chown: 'maryo': invalid user 645 645 </pre><p> 646 “<span class="quote">This is driving me nuts! What can be wrong?</span>”646 <span class="quote">“<span class="quote">This is driving me nuts! What can be wrong?</span>”</span> 647 647 </p><p> 648 648 Your system is likely running <code class="literal">nscd</code>, the name service -
branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/passdb.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 11. Account Information Databases</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="NetworkBrowsing.html" title="Chapter 10. Network Browsing"><link rel="next" href="groupmapping.html" title="Chapter 12. Group Mapping: MS Windows and UNIX"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 11. Account Information Databases</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="NetworkBrowsing.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="groupmapping.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="passdb"></a>Chapter 11. Account Information Databases</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<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#id2587249">Features and Benefits</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2587285">Backward Compatibility Account Storage Systems</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2587476">New Account Storage Systems</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#passdbtech">Technical Information</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2588044">Important Notes About Security</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2588564">Mapping User Identifiers between MS Windows and UNIX</a></span></dt><dt><span class="sect2"><a href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2589112">Comments Regarding LDAP</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2589525">LDAP Directories and Windows Computer Accounts</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#acctmgmttools">Account Management Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2589966">The smbpasswd Tool</a></span></dt><dt><span class="sect2"><a href="passdb.html#pdbeditthing">The pdbedit Tool</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#id2592519">Password Backends</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2592572">Plaintext</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2592648">smbpasswd: Encrypted Password Database</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2592915">tdbsam</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2593072">ldapsam</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#id2595597">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2595602">Users Cannot Logon</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2595640">Configuration of auth methods</a></span></dt></dl></dd></dl></div><p>2 <a class="indexterm" name="id25 87052"></a>3 <a class="indexterm" name="id25 87059"></a>4 <a class="indexterm" name="id25 87066"></a>5 <a class="indexterm" name="id25 87072"></a>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 11. Account Information Databases</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="NetworkBrowsing.html" title="Chapter 10. Network Browsing"><link rel="next" href="groupmapping.html" title="Chapter 12. Group Mapping: MS Windows and UNIX"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 11. Account Information Databases</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="NetworkBrowsing.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="groupmapping.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 11. Account Information Databases"><div class="titlepage"><div><div><h2 class="title"><a name="passdb"></a>Chapter 11. Account Information Databases</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<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">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:gd@samba.org">gd@samba.org</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#id2593316">Features and Benefits</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2593352">Backward Compatibility Account Storage Systems</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2593543">New Account Storage Systems</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#passdbtech">Technical Information</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2594111">Important Notes About Security</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2594631">Mapping User Identifiers between MS Windows and UNIX</a></span></dt><dt><span class="sect2"><a href="passdb.html#idmapbackend">Mapping Common UIDs/GIDs on Distributed Machines</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2595179">Comments Regarding LDAP</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2595592">LDAP Directories and Windows Computer Accounts</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#acctmgmttools">Account Management Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2596033">The <code class="literal">smbpasswd</code> Tool</a></span></dt><dt><span class="sect2"><a href="passdb.html#pdbeditthing">The <code class="literal">pdbedit</code> Tool</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#id2598586">Password Backends</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2598639">Plaintext</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2598715">smbpasswd: Encrypted Password Database</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2598981">tdbsam</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2599139">ldapsam</a></span></dt></dl></dd><dt><span class="sect1"><a href="passdb.html#id2601663">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="passdb.html#id2601669">Users Cannot Logon</a></span></dt><dt><span class="sect2"><a href="passdb.html#id2601707">Configuration of <em class="parameter"><code>auth methods</code></em></a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2593118"></a> 3 <a class="indexterm" name="id2593125"></a> 4 <a class="indexterm" name="id2593132"></a> 5 <a class="indexterm" name="id2593139"></a> 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="id25 87087"></a>11 <a class="indexterm" name="id25 87094"></a>12 <a class="indexterm" name="id25 87100"></a>13 <a class="indexterm" name="id25 87107"></a>14 <a class="indexterm" name="id25 87114"></a>15 <a class="indexterm" name="id25 87121"></a>10 <a class="indexterm" name="id2593153"></a> 11 <a class="indexterm" name="id2593160"></a> 12 <a class="indexterm" name="id2593167"></a> 13 <a class="indexterm" name="id2593174"></a> 14 <a class="indexterm" name="id2593180"></a> 15 <a class="indexterm" name="id2593187"></a> 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="id25 87191"></a>27 <a class="indexterm" name="id25 87198"></a>28 <a class="indexterm" name="id25 87205"></a>29 <a class="indexterm" name="id25 87212"></a>30 <a class="indexterm" name="id25 87219"></a>31 <a class="indexterm" name="id25 87226"></a>32 <a class="indexterm" name="id25 87233"></a>26 <a class="indexterm" name="id2593258"></a> 27 <a class="indexterm" name="id2593265"></a> 28 <a class="indexterm" name="id2593272"></a> 29 <a class="indexterm" name="id2593279"></a> 30 <a class="indexterm" name="id2593286"></a> 31 <a class="indexterm" name="id2593293"></a> 32 <a class="indexterm" name="id2593300"></a> 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="id2587249"></a>Features and Benefits</h2></div></div></div><p>38 </p><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2593316"></a>Features and Benefits</h2></div></div></div><p> 39 39 Samba-3 provides for complete backward compatibility with Samba-2.2.x functionality 40 40 as follows: 41 <a class="indexterm" name="id25 87259"></a>42 <a class="indexterm" name="id25 87268"></a>43 <a class="indexterm" name="id25 87277"></a>44 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2587285"></a>Backward Compatibility Account Storage Systems</h3></div></div></div><div class="variablelist"><dl><dt><span class="term">Plaintext</span></dt><dd><p>45 <a class="indexterm" name="id25 87303"></a>46 <a class="indexterm" name="id25 87309"></a>47 <a class="indexterm" name="id25 87316"></a>48 <a class="indexterm" name="id25 87323"></a>49 <a class="indexterm" name="id25 87330"></a>41 <a class="indexterm" name="id2593325"></a> 42 <a class="indexterm" name="id2593335"></a> 43 <a class="indexterm" name="id2593344"></a> 44 </p><div class="sect2" title="Backward Compatibility Account Storage Systems"><div class="titlepage"><div><div><h3 class="title"><a name="id2593352"></a>Backward Compatibility Account Storage Systems</h3></div></div></div><div class="variablelist"><dl><dt><span class="term">Plaintext</span></dt><dd><p> 45 <a class="indexterm" name="id2593369"></a> 46 <a class="indexterm" name="id2593376"></a> 47 <a class="indexterm" name="id2593383"></a> 48 <a class="indexterm" name="id2593390"></a> 49 <a class="indexterm" name="id2593397"></a> 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="id25 87377"></a>58 <a class="indexterm" name="id25 87384"></a>59 <a class="indexterm" name="id25 87391"></a>60 <a class="indexterm" name="id25 87398"></a>57 <a class="indexterm" name="id2593444"></a> 58 <a class="indexterm" name="id2593450"></a> 59 <a class="indexterm" name="id2593457"></a> 60 <a class="indexterm" name="id2593464"></a> 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="id25 87444"></a>73 <a class="indexterm" name="id25 87451"></a>74 <a class="indexterm" name="id25 87458"></a>72 <a class="indexterm" name="id2593511"></a> 73 <a class="indexterm" name="id2593518"></a> 74 <a class="indexterm" name="id2593525"></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="id2587476"></a>New Account Storage Systems</h3></div></div></div><p>80 </p></dd></dl></div></div><div class="sect2" title="New Account Storage Systems"><div class="titlepage"><div><div><h3 class="title"><a name="id2593543"></a>New Account Storage Systems</h3></div></div></div><p> 81 81 Samba-3 introduces a number of new password backend capabilities. 82 <a class="indexterm" name="id25 87485"></a>83 <a class="indexterm" name="id25 87494"></a>82 <a class="indexterm" name="id2593552"></a> 83 <a class="indexterm" name="id2593561"></a> 84 84 </p><div class="variablelist"><dl><dt><span class="term">tdbsam</span></dt><dd><p> 85 <a class="indexterm" name="id25 87516"></a>86 <a class="indexterm" name="id25 87523"></a>87 <a class="indexterm" name="id25 87529"></a>85 <a class="indexterm" name="id2593582"></a> 86 <a class="indexterm" name="id2593589"></a> 87 <a class="indexterm" name="id2593596"></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="id25 87542"></a>93 <a class="indexterm" name="id25 87549"></a>94 <a class="indexterm" name="id25 87556"></a>95 <a class="indexterm" name="id25 87563"></a>96 <a class="indexterm" name="id25 87570"></a>97 <a class="indexterm" name="id25 87577"></a>92 <a class="indexterm" name="id2593609"></a> 93 <a class="indexterm" name="id2593616"></a> 94 <a class="indexterm" name="id2593623"></a> 95 <a class="indexterm" name="id2593630"></a> 96 <a class="indexterm" name="id2593636"></a> 97 <a class="indexterm" name="id2593644"></a> 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="id25 87601"></a>106 <a class="indexterm" name="id25 87608"></a>107 <a class="indexterm" name="id25 87614"></a>105 <a class="indexterm" name="id2593667"></a> 106 <a class="indexterm" name="id2593674"></a> 107 <a class="indexterm" name="id2593681"></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="id25 87643"></a>115 <a class="indexterm" name="id25 87650"></a>114 <a class="indexterm" name="id2593709"></a> 115 <a class="indexterm" name="id2593716"></a> 116 116 This provides a rich directory backend for distributed account installation. 117 117 </p><p> 118 <a class="indexterm" name="id25 87662"></a>119 <a class="indexterm" name="id25 87668"></a>120 <a class="indexterm" name="id25 87675"></a>121 <a class="indexterm" name="id25 87682"></a>122 <a class="indexterm" name="id25 87689"></a>118 <a class="indexterm" name="id2593728"></a> 119 <a class="indexterm" name="id2593735"></a> 120 <a class="indexterm" name="id2593742"></a> 121 <a class="indexterm" name="id2593749"></a> 122 <a class="indexterm" name="id2593756"></a> 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="id25 87711"></a>128 <a class="indexterm" name="id25 87718"></a>129 <a class="indexterm" name="id25 87725"></a>130 <a class="indexterm" name="id25 87732"></a>131 <a class="indexterm" name="id25 87739"></a>127 <a class="indexterm" name="id2593778"></a> 128 <a class="indexterm" name="id2593785"></a> 129 <a class="indexterm" name="id2593792"></a> 130 <a class="indexterm" name="id2593798"></a> 131 <a class="indexterm" name="id2593806"></a> 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 134 “<span class="quote">per-user</span>”profile settings, home directories, account access controls, and134 <span class="quote">“<span class="quote">per-user</span>”</span> profile settings, home directories, account access controls, and 135 135 much more. Corporate sites will see that the Samba Team has listened to their 136 136 requests both for capability and greater scalability. 137 </p></dd></dl></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="passdbtech"></a>Technical Information</h2></div></div></div><p>138 <a class="indexterm" name="id25 87774"></a>139 <a class="indexterm" name="id25 87780"></a>137 </p></dd></dl></div></div></div><div class="sect1" title="Technical Information"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="passdbtech"></a>Technical Information</h2></div></div></div><p> 138 <a class="indexterm" name="id2593840"></a> 139 <a class="indexterm" name="id2593847"></a> 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="id25 87794"></a>144 <a class="indexterm" name="id25 87800"></a>145 <a class="indexterm" name="id25 87807"></a>146 <a class="indexterm" name="id25 87814"></a>143 <a class="indexterm" name="id2593860"></a> 144 <a class="indexterm" name="id2593867"></a> 145 <a class="indexterm" name="id2593874"></a> 146 <a class="indexterm" name="id2593881"></a> 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="id25 87828"></a>152 <a class="indexterm" name="id25 87836"></a>151 <a class="indexterm" name="id2593895"></a> 152 <a class="indexterm" name="id2593902"></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="id25 87852"></a>159 <a class="indexterm" name="id25 87859"></a>160 <a class="indexterm" name="id25 87866"></a>161 <a class="indexterm" name="id25 87872"></a>158 <a class="indexterm" name="id2593918"></a> 159 <a class="indexterm" name="id2593925"></a> 160 <a class="indexterm" name="id2593932"></a> 161 <a class="indexterm" name="id2593939"></a> 162 162 In addition to differently encrypted passwords, Windows also stores certain data for each 163 163 user that is not stored in a UNIX user database: for example, workstations the user may logon from, … … 167 167 <a class="link" href="smb.conf.5.html#PASSDBBACKEND" 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="id25 87962"></a>170 <a class="indexterm" name="id25 87968"></a>171 <a class="indexterm" name="id25 87975"></a>169 <a class="indexterm" name="id2594028"></a> 170 <a class="indexterm" name="id2594035"></a> 171 <a class="indexterm" name="id2594042"></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="id2588044"></a>Important Notes About Security</h3></div></div></div><p>176 <a class="indexterm" name="id25 88053"></a>177 <a class="indexterm" name="id25 88060"></a>178 <a class="indexterm" name="id25 88067"></a>179 <a class="indexterm" name="id25 88074"></a>180 <a class="indexterm" name="id25 88081"></a>175 </p><div class="figure"><a name="idmap-uid2sid"></a><p class="title"><b>Figure 11.2. IDMAP: Resolution of UIDs to SIDs.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/idmap-uid2sid.png" width="270" alt="IDMAP: Resolution of UIDs to SIDs."></div></div></div><br class="figure-break"><div class="sect2" title="Important Notes About Security"><div class="titlepage"><div><div><h3 class="title"><a name="id2594111"></a>Important Notes About Security</h3></div></div></div><p> 176 <a class="indexterm" name="id2594119"></a> 177 <a class="indexterm" name="id2594126"></a> 178 <a class="indexterm" name="id2594133"></a> 179 <a class="indexterm" name="id2594140"></a> 180 <a class="indexterm" name="id2594147"></a> 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 … … 184 184 never sends the clear-text password over the network, but it does store the 16-byte 185 185 hashed values on disk. This is also bad. Why? Because the 16 byte hashed values 186 are a “<span class="quote">password equivalent.</span>”You cannot derive the user's password from them, but186 are a <span class="quote">“<span class="quote">password equivalent.</span>”</span> You cannot derive the user's password from them, but 187 187 they could potentially be used in a modified client to gain access to a server. 188 188 This would require considerable technical knowledge on behalf of the attacker but … … 192 192 be protected accordingly. 193 193 </p><p> 194 <a class="indexterm" name="id25 88110"></a>195 <a class="indexterm" name="id25 88116"></a>196 <a class="indexterm" name="id25 88123"></a>194 <a class="indexterm" name="id2594177"></a> 195 <a class="indexterm" name="id2594183"></a> 196 <a class="indexterm" name="id2594190"></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="id25 88138"></a>202 <a class="indexterm" name="id25 88145"></a>201 <a class="indexterm" name="id2594205"></a> 202 <a class="indexterm" name="id2594212"></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="id25 88160"></a>208 <a class="indexterm" name="id25 88167"></a>207 <a class="indexterm" name="id2594226"></a> 208 <a class="indexterm" name="id2594233"></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 </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="id25 88205"></a>213 <a class="indexterm" name="id25 88212"></a>214 <a class="indexterm" name="id25 88219"></a>211 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>MS DOS Network client 3.0 with the basic network redirector installed.</p></li><li class="listitem"><p>Windows 95 with the network redirector update installed.</p></li><li class="listitem"><p>Windows 98 [Second Edition].</p></li><li class="listitem"><p>Windows Me.</p></li></ul></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 212 <a class="indexterm" name="id2594272"></a> 213 <a class="indexterm" name="id2594279"></a> 214 <a class="indexterm" name="id2594286"></a> 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 </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="id25 88264"></a>220 <a class="indexterm" name="id25 88271"></a>221 <a class="indexterm" name="id25 88278"></a>222 <a class="indexterm" name="id25 88285"></a>223 <a class="indexterm" name="id25 88292"></a>224 <a class="indexterm" name="id25 88299"></a>218 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Windows NT 3.5x.</p></li><li class="listitem"><p>Windows NT 4.0.</p></li><li class="listitem"><p>Windows 2000 Professional.</p></li><li class="listitem"><p>Windows 200x Server/Advanced Server.</p></li><li class="listitem"><p>Windows XP Professional.</p></li></ul></div><p> 219 <a class="indexterm" name="id2594331"></a> 220 <a class="indexterm" name="id2594338"></a> 221 <a class="indexterm" name="id2594345"></a> 222 <a class="indexterm" name="id2594352"></a> 223 <a class="indexterm" name="id2594358"></a> 224 <a class="indexterm" name="id2594365"></a> 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="id25 88315"></a>232 <a class="indexterm" name="id25 88322"></a>233 <a class="indexterm" name="id25 88329"></a>234 <a class="indexterm" name="id25 88336"></a>235 <a class="indexterm" name="id25 88343"></a>231 <a class="indexterm" name="id2594381"></a> 232 <a class="indexterm" name="id2594388"></a> 233 <a class="indexterm" name="id2594395"></a> 234 <a class="indexterm" name="id2594402"></a> 235 <a class="indexterm" name="id2594409"></a> 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="id2588360"></a>Advantages of Encrypted Passwords</h4></div></div></div><div class="itemizedlist"><ul type="disc"><li><p>243 <a class="indexterm" name="id25 88371"></a>244 <a class="indexterm" name="id25 88378"></a>245 <a class="indexterm" name="id25 88385"></a>242 </p><div class="sect3" title="Advantages of Encrypted Passwords"><div class="titlepage"><div><div><h4 class="title"><a name="id2594426"></a>Advantages of Encrypted Passwords</h4></div></div></div><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 243 <a class="indexterm" name="id2594438"></a> 244 <a class="indexterm" name="id2594445"></a> 245 <a class="indexterm" name="id2594452"></a> 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 </p></li><li ><p>249 <a class="indexterm" name="id25 88399"></a>250 <a class="indexterm" name="id25 88406"></a>251 <a class="indexterm" name="id25 88412"></a>248 </p></li><li class="listitem"><p> 249 <a class="indexterm" name="id2594465"></a> 250 <a class="indexterm" name="id2594472"></a> 251 <a class="indexterm" name="id2594479"></a> 252 252 Plaintext passwords are not stored anywhere in memory or on disk. 253 </p></li><li ><p>254 <a class="indexterm" name="id25 88425"></a>255 <a class="indexterm" name="id25 88432"></a>256 <a class="indexterm" name="id25 88439"></a>257 <a class="indexterm" name="id25 88446"></a>253 </p></li><li class="listitem"><p> 254 <a class="indexterm" name="id2594491"></a> 255 <a class="indexterm" name="id2594498"></a> 256 <a class="indexterm" name="id2594505"></a> 257 <a class="indexterm" name="id2594512"></a> 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 260 260 the password on each connection, which is very annoying. The only thing you can do to stop this is to use SMB 261 261 encryption. 262 </p></li><li ><p>263 <a class="indexterm" name="id25 88463"></a>264 <a class="indexterm" name="id25 88470"></a>262 </p></li><li class="listitem"><p> 263 <a class="indexterm" name="id2594530"></a> 264 <a class="indexterm" name="id2594536"></a> 265 265 Encrypted password support allows automatic share (resource) reconnects. 266 </p></li><li ><p>267 <a class="indexterm" name="id25 88483"></a>268 <a class="indexterm" name="id25 88489"></a>266 </p></li><li class="listitem"><p> 267 <a class="indexterm" name="id2594549"></a> 268 <a class="indexterm" name="id2594556"></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="id2588500"></a>Advantages of Non-Encrypted Passwords</h4></div></div></div><div class="itemizedlist"><ul type="disc"><li><p>271 <a class="indexterm" name="id25 88512"></a>270 </p></li></ul></div></div><div class="sect3" title="Advantages of Non-Encrypted Passwords"><div class="titlepage"><div><div><h4 class="title"><a name="id2594567"></a>Advantages of Non-Encrypted Passwords</h4></div></div></div><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 271 <a class="indexterm" name="id2594578"></a> 272 272 Plaintext passwords are not kept on disk and are not cached in memory. 273 </p></li><li ><p>274 <a class="indexterm" name="id25 88524"></a>275 <a class="indexterm" name="id25 88531"></a>273 </p></li><li class="listitem"><p> 274 <a class="indexterm" name="id2594591"></a> 275 <a class="indexterm" name="id2594598"></a> 276 276 Plaintext passwords use the same password file as other UNIX services, such as Login and FTP. 277 </p></li><li ><p>278 <a class="indexterm" name="id25 88544"></a>279 <a class="indexterm" name="id25 88551"></a>277 </p></li><li class="listitem"><p> 278 <a class="indexterm" name="id2594610"></a> 279 <a class="indexterm" name="id2594617"></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="id2588564"></a>Mapping User Identifiers between MS Windows and UNIX</h3></div></div></div><p>283 <a class="indexterm" name="id25 88573"></a>284 <a class="indexterm" name="id25 88579"></a>285 <a class="indexterm" name="id25 88586"></a>282 </p></li></ul></div></div></div><div class="sect2" title="Mapping User Identifiers between MS Windows and UNIX"><div class="titlepage"><div><div><h3 class="title"><a name="id2594631"></a>Mapping User Identifiers between MS Windows and UNIX</h3></div></div></div><p> 283 <a class="indexterm" name="id2594639"></a> 284 <a class="indexterm" name="id2594646"></a> 285 <a class="indexterm" name="id2594652"></a> 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="id25 88600"></a>291 <a class="indexterm" name="id25 88606"></a>292 <a class="indexterm" name="id25 88613"></a>293 <a class="indexterm" name="id25 88619"></a>294 <a class="indexterm" name="id25 88627"></a>290 <a class="indexterm" name="id2594666"></a> 291 <a class="indexterm" name="id2594673"></a> 292 <a class="indexterm" name="id2594679"></a> 293 <a class="indexterm" name="id2594686"></a> 294 <a class="indexterm" name="id2594693"></a> 295 295 First, all Samba SAM database accounts require a UNIX/Linux UID that the account will map to. As users are 296 296 added to the account information database, Samba will call the <a class="link" href="smb.conf.5.html#ADDUSERSCRIPT" target="_top">add user script</a> … … 298 298 user account. 299 299 </p><p> 300 <a class="indexterm" name="id25 88656"></a>301 <a class="indexterm" name="id25 88662"></a>302 <a class="indexterm" name="id25 88669"></a>303 <a class="indexterm" name="id25 88675"></a>304 <a class="indexterm" name="id25 88682"></a>305 <a class="indexterm" name="id25 88689"></a>306 <a class="indexterm" name="id25 88696"></a>300 <a class="indexterm" name="id2594722"></a> 301 <a class="indexterm" name="id2594728"></a> 302 <a class="indexterm" name="id2594735"></a> 303 <a class="indexterm" name="id2594742"></a> 304 <a class="indexterm" name="id2594748"></a> 305 <a class="indexterm" name="id2594754"></a> 306 <a class="indexterm" name="id2594762"></a> 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 309 309 these parameters. These parameters are essential when mapping users from a remote (non-member Windows client 310 310 or a member of a foreign domain) SAM server. 311 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="idmapbackend"></a>Mapping Common UIDs/GIDs on Distributed Machines</h3></div></div></div><p>312 <a class="indexterm" name="id25 88735"></a>313 <a class="indexterm" name="id25 88742"></a>314 <a class="indexterm" name="id25 88748"></a>315 <a class="indexterm" name="id25 88755"></a>316 <a class="indexterm" name="id25 88762"></a>317 <a class="indexterm" name="id25 88768"></a>311 </p></div><div class="sect2" title="Mapping Common UIDs/GIDs on Distributed Machines"><div class="titlepage"><div><div><h3 class="title"><a name="idmapbackend"></a>Mapping Common UIDs/GIDs on Distributed Machines</h3></div></div></div><p> 312 <a class="indexterm" name="id2594801"></a> 313 <a class="indexterm" name="id2594807"></a> 314 <a class="indexterm" name="id2594814"></a> 315 <a class="indexterm" name="id2594820"></a> 316 <a class="indexterm" name="id2594828"></a> 317 <a class="indexterm" name="id2594834"></a> 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="id25 88791"></a>325 <a class="indexterm" name="id25 88798"></a>326 <a class="indexterm" name="id25 88805"></a>327 <a class="indexterm" name="id25 88811"></a>328 <a class="indexterm" name="id25 88817"></a>329 <a class="indexterm" name="id25 88824"></a>330 <a class="indexterm" name="id25 88831"></a>331 <a class="indexterm" name="id25 88838"></a>324 <a class="indexterm" name="id2594857"></a> 325 <a class="indexterm" name="id2594864"></a> 326 <a class="indexterm" name="id2594871"></a> 327 <a class="indexterm" name="id2594877"></a> 328 <a class="indexterm" name="id2594884"></a> 329 <a class="indexterm" name="id2594890"></a> 330 <a class="indexterm" name="id2594897"></a> 331 <a class="indexterm" name="id2594904"></a> 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="id25 88867"></a><div class="example"><a name="idmapbackendexample"></a><p class="title"><b>Example 11.1. Example Configuration with the LDAP idmap Backend</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2588900"></a><em class="parameter"><code>idmap backend = ldap:ldap://ldap-server.quenya.org:636</code></em></td></tr><tr><td># Alternatively, this could be specified as:</td></tr><tr><td><a class="indexterm" name="id2588916"></a><em class="parameter"><code>idmap backend = ldap:ldaps://ldap-server.quenya.org</code></em></td></tr></table></div></div><br class="example-break"><p>339 <a class="indexterm" name="id25 88932"></a>340 <a class="indexterm" name="id25 88939"></a>338 </p><a class="indexterm" name="id2594933"></a><div class="example"><a name="idmapbackendexample"></a><p class="title"><b>Example 11.1. Example Configuration with the LDAP idmap Backend</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2594967"></a><em class="parameter"><code>idmap backend = ldap:ldap://ldap-server.quenya.org:636</code></em></td></tr><tr><td># Alternatively, this could be specified as:</td></tr><tr><td><a class="indexterm" name="id2594983"></a><em class="parameter"><code>idmap backend = ldap:ldaps://ldap-server.quenya.org</code></em></td></tr></table></div></div><br class="example-break"><p> 339 <a class="indexterm" name="id2594999"></a> 340 <a class="indexterm" name="id2595006"></a> 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 </p><div class="itemizedlist"><ul type="disc"><li><p>345 <a class="indexterm" name="id25 88963"></a>346 <a class="indexterm" name="id25 88969"></a>347 <a class="indexterm" name="id25 88976"></a>348 <a class="indexterm" name="id25 88983"></a>349 <a class="indexterm" name="id25 88990"></a>350 <a class="indexterm" name="id25 88996"></a>351 <a class="indexterm" name="id25 89003"></a>352 <a class="indexterm" name="id25 89010"></a>344 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 345 <a class="indexterm" name="id2595029"></a> 346 <a class="indexterm" name="id2595036"></a> 347 <a class="indexterm" name="id2595043"></a> 348 <a class="indexterm" name="id2595050"></a> 349 <a class="indexterm" name="id2595056"></a> 350 <a class="indexterm" name="id2595063"></a> 351 <a class="indexterm" name="id2595070"></a> 352 <a class="indexterm" name="id2595076"></a> 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 </p></li><li ><p>357 <a class="indexterm" name="id25 89030"></a>358 <a class="indexterm" name="id25 89037"></a>359 <a class="indexterm" name="id25 89043"></a>360 <a class="indexterm" name="id25 89050"></a>356 </p></li><li class="listitem"><p> 357 <a class="indexterm" name="id2595097"></a> 358 <a class="indexterm" name="id2595103"></a> 359 <a class="indexterm" name="id2595110"></a> 360 <a class="indexterm" name="id2595117"></a> 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 </p></li><li ><p>364 <a class="indexterm" name="id25 89069"></a>365 <a class="indexterm" name="id25 89076"></a>366 <a class="indexterm" name="id25 89082"></a>367 <a class="indexterm" name="id25 89089"></a>363 </p></li><li class="listitem"><p> 364 <a class="indexterm" name="id2595135"></a> 365 <a class="indexterm" name="id2595142"></a> 366 <a class="indexterm" name="id2595149"></a> 367 <a class="indexterm" name="id2595156"></a> 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="id2589112"></a>Comments Regarding LDAP</h3></div></div></div><p>372 <a class="indexterm" name="id25 89120"></a>373 <a class="indexterm" name="id25 89130"></a>374 <a class="indexterm" name="id25 89137"></a>375 <a class="indexterm" name="id25 89143"></a>371 </p></li></ul></div></div><div class="sect2" title="Comments Regarding LDAP"><div class="titlepage"><div><div><h3 class="title"><a name="id2595179"></a>Comments Regarding LDAP</h3></div></div></div><p> 372 <a class="indexterm" name="id2595187"></a> 373 <a class="indexterm" name="id2595196"></a> 374 <a class="indexterm" name="id2595203"></a> 375 <a class="indexterm" name="id2595210"></a> 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="id25 89161"></a>383 <a class="indexterm" name="id25 89168"></a>384 <a class="indexterm" name="id25 89175"></a>385 <a class="indexterm" name="id25 89181"></a>382 <a class="indexterm" name="id2595228"></a> 383 <a class="indexterm" name="id2595235"></a> 384 <a class="indexterm" name="id2595241"></a> 385 <a class="indexterm" name="id2595248"></a> 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="id25 89198"></a>392 <a class="indexterm" name="id25 89205"></a>393 <a class="indexterm" name="id25 89212"></a>394 <a class="indexterm" name="id25 89219"></a>395 <a class="indexterm" name="id25 89226"></a>396 <a class="indexterm" name="id25 89232"></a>397 <a class="indexterm" name="id25 89239"></a>398 <a class="indexterm" name="id25 89246"></a>399 <a class="indexterm" name="id25 89253"></a>400 <a class="indexterm" name="id25 89260"></a>401 <a class="indexterm" name="id25 89267"></a>402 <a class="indexterm" name="id25 89274"></a>403 <a class="indexterm" name="id25 89281"></a>404 <a class="indexterm" name="id25 89288"></a>391 <a class="indexterm" name="id2595264"></a> 392 <a class="indexterm" name="id2595271"></a> 393 <a class="indexterm" name="id2595278"></a> 394 <a class="indexterm" name="id2595285"></a> 395 <a class="indexterm" name="id2595292"></a> 396 <a class="indexterm" name="id2595299"></a> 397 <a class="indexterm" name="id2595306"></a> 398 <a class="indexterm" name="id2595313"></a> 399 <a class="indexterm" name="id2595320"></a> 400 <a class="indexterm" name="id2595327"></a> 401 <a class="indexterm" name="id2595334"></a> 402 <a class="indexterm" name="id2595340"></a> 403 <a class="indexterm" name="id2595347"></a> 404 <a class="indexterm" name="id2595354"></a> 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="id25 89308"></a>414 <a class="indexterm" name="id25 89315"></a>415 <a class="indexterm" name="id25 89322"></a>416 <a class="indexterm" name="id25 89328"></a>417 <a class="indexterm" name="id25 89335"></a>418 <a class="indexterm" name="id25 89342"></a>413 <a class="indexterm" name="id2595374"></a> 414 <a class="indexterm" name="id2595381"></a> 415 <a class="indexterm" name="id2595388"></a> 416 <a class="indexterm" name="id2595395"></a> 417 <a class="indexterm" name="id2595402"></a> 418 <a class="indexterm" name="id2595409"></a> 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="id25 89361"></a>427 <a class="indexterm" name="id25 89368"></a>426 <a class="indexterm" name="id2595428"></a> 427 <a class="indexterm" name="id2595435"></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="id2589388"></a>Caution Regarding LDAP and Samba</h4></div></div></div><p>435 <a class="indexterm" name="id25 89396"></a>436 <a class="indexterm" name="id25 89403"></a>437 <a class="indexterm" name="id25 89410"></a>438 <a class="indexterm" name="id25 89417"></a>439 <a class="indexterm" name="id25 89424"></a>440 <a class="indexterm" name="id25 89431"></a>441 <a class="indexterm" name="id25 89438"></a>434 </p><div class="sect3" title="Caution Regarding LDAP and Samba"><div class="titlepage"><div><div><h4 class="title"><a name="id2595454"></a>Caution Regarding LDAP and Samba</h4></div></div></div><p> 435 <a class="indexterm" name="id2595463"></a> 436 <a class="indexterm" name="id2595470"></a> 437 <a class="indexterm" name="id2595477"></a> 438 <a class="indexterm" name="id2595484"></a> 439 <a class="indexterm" name="id2595490"></a> 440 <a class="indexterm" name="id2595498"></a> 441 <a class="indexterm" name="id2595505"></a> 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="id25 89454"></a>448 <a class="indexterm" name="id25 89461"></a>449 <a class="indexterm" name="id25 89468"></a>447 <a class="indexterm" name="id2595521"></a> 448 <a class="indexterm" name="id2595528"></a> 449 <a class="indexterm" name="id2595535"></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="id25 89486"></a>456 <a class="indexterm" name="id2595553"></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="id25 89504"></a>465 <a class="indexterm" name="id25 89511"></a>464 <a class="indexterm" name="id2595571"></a> 465 <a class="indexterm" name="id2595578"></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="id2589525"></a>LDAP Directories and Windows Computer Accounts</h3></div></div></div><p>470 <a class="indexterm" name="id25 89534"></a>471 <a class="indexterm" name="id25 89541"></a>472 <a class="indexterm" name="id25 89548"></a>469 </p></div></div><div class="sect2" title="LDAP Directories and Windows Computer Accounts"><div class="titlepage"><div><div><h3 class="title"><a name="id2595592"></a>LDAP Directories and Windows Computer Accounts</h3></div></div></div><p> 470 <a class="indexterm" name="id2595600"></a> 471 <a class="indexterm" name="id2595607"></a> 472 <a class="indexterm" name="id2595614"></a> 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="id25 89563"></a>479 <a class="indexterm" name="id25 89570"></a>480 <a class="indexterm" name="id25 89577"></a>478 <a class="indexterm" name="id2595630"></a> 479 <a class="indexterm" name="id2595637"></a> 480 <a class="indexterm" name="id2595644"></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="id25 89590"></a>485 <a class="indexterm" name="id25 89596"></a>486 <a class="indexterm" name="id25 89603"></a>487 <a class="indexterm" name="id25 89610"></a>488 <a class="indexterm" name="id25 89617"></a>489 <a class="indexterm" name="id25 89624"></a>490 <a class="indexterm" name="id25 89631"></a>484 <a class="indexterm" name="id2595656"></a> 485 <a class="indexterm" name="id2595663"></a> 486 <a class="indexterm" name="id2595670"></a> 487 <a class="indexterm" name="id2595677"></a> 488 <a class="indexterm" name="id2595684"></a> 489 <a class="indexterm" name="id2595691"></a> 490 <a class="indexterm" name="id2595698"></a> 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="id25 89647"></a>497 <a class="indexterm" name="id25 89654"></a>498 <a class="indexterm" name="id25 89661"></a>499 <a class="indexterm" name="id25 89668"></a>500 <a class="indexterm" name="id25 89675"></a>496 <a class="indexterm" name="id2595714"></a> 497 <a class="indexterm" name="id2595721"></a> 498 <a class="indexterm" name="id2595728"></a> 499 <a class="indexterm" name="id2595734"></a> 500 <a class="indexterm" name="id2595741"></a> 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="id25 89690"></a>507 <a class="indexterm" name="id25 89696"></a>508 <a class="indexterm" name="id25 89703"></a>506 <a class="indexterm" name="id2595756"></a> 507 <a class="indexterm" name="id2595763"></a> 508 <a class="indexterm" name="id2595769"></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="id25 89718"></a>515 <a class="indexterm" name="id25 89724"></a>516 <a class="indexterm" name="id25 89731"></a>517 <a class="indexterm" name="id25 89738"></a>518 <a class="indexterm" name="id25 89745"></a>519 <a class="indexterm" name="id25 89751"></a>520 <a class="indexterm" name="id25 89758"></a>521 Samba asks the host OS to provide a UID via the “<span class="quote">passwd</span>”, “<span class="quote">shadow</span>”,522 and “<span class="quote">group</span>”facilities in the NSS control (configuration) file. The best tool514 <a class="indexterm" name="id2595785"></a> 515 <a class="indexterm" name="id2595791"></a> 516 <a class="indexterm" name="id2595798"></a> 517 <a class="indexterm" name="id2595805"></a> 518 <a class="indexterm" name="id2595812"></a> 519 <a class="indexterm" name="id2595818"></a> 520 <a class="indexterm" name="id2595825"></a> 521 Samba asks the host OS to provide a UID via the <span class="quote">“<span class="quote">passwd</span>”</span>, <span class="quote">“<span class="quote">shadow</span>”</span>, 522 and <span class="quote">“<span class="quote">group</span>”</span> facilities in the NSS control (configuration) file. The best tool 523 523 for achieving this is left up to the UNIX administrator to determine. It is not imposed by 524 524 Samba. Samba provides winbindd with its support libraries as one method. It is … … 526 526 all account entities can be located in an LDAP directory. 527 527 </p><p> 528 <a class="indexterm" name="id25 89786"></a>529 <a class="indexterm" name="id25 89793"></a>530 <a class="indexterm" name="id25 89800"></a>531 <a class="indexterm" name="id25 89807"></a>532 <a class="indexterm" name="id25 89813"></a>528 <a class="indexterm" name="id2595853"></a> 529 <a class="indexterm" name="id2595860"></a> 530 <a class="indexterm" name="id2595867"></a> 531 <a class="indexterm" name="id2595873"></a> 532 <a class="indexterm" name="id2595880"></a> 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 … … 536 536 in the documentation is directed at providing working examples only. The design 537 537 of an LDAP directory is a complex subject that is beyond the scope of this documentation. 538 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="acctmgmttools"></a>Account Management Tools</h2></div></div></div><p>539 <a class="indexterm" name="id25 89844"></a>540 <a class="indexterm" name="id25 89851"></a>541 <a class="indexterm" name="id25 89857"></a>538 </p></div></div><div class="sect1" title="Account Management Tools"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="acctmgmttools"></a>Account Management Tools</h2></div></div></div><p> 539 <a class="indexterm" name="id2595910"></a> 540 <a class="indexterm" name="id2595917"></a> 541 <a class="indexterm" name="id2595924"></a> 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="id25 89880"></a>546 <a class="indexterm" name="id25 89887"></a>547 <a class="indexterm" name="id25 89894"></a>545 <a class="indexterm" name="id2595947"></a> 546 <a class="indexterm" name="id2595954"></a> 547 <a class="indexterm" name="id2595961"></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="id25 89914"></a>554 <a class="indexterm" name="id25 89921"></a>555 <a class="indexterm" name="id25 89928"></a>556 <a class="indexterm" name="id25 89935"></a>553 <a class="indexterm" name="id2595981"></a> 554 <a class="indexterm" name="id2595988"></a> 555 <a class="indexterm" name="id2595995"></a> 556 <a class="indexterm" name="id2596002"></a> 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="id2589966"></a>The <code class="literal">smbpasswd</code> Tool</h3></div></div></div><p>562 <a class="indexterm" name="id25 89980"></a>563 <a class="indexterm" name="id25 89986"></a>564 <a class="indexterm" name="id25 89993"></a>565 <a class="indexterm" name="id259 0000"></a>566 <a class="indexterm" name="id259 0007"></a>561 </p><div class="sect2" title="The smbpasswd Tool"><div class="titlepage"><div><div><h3 class="title"><a name="id2596033"></a>The <code class="literal">smbpasswd</code> Tool</h3></div></div></div><p> 562 <a class="indexterm" name="id2596046"></a> 563 <a class="indexterm" name="id2596053"></a> 564 <a class="indexterm" name="id2596060"></a> 565 <a class="indexterm" name="id2596067"></a> 566 <a class="indexterm" name="id2596074"></a> 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="id259 0051"></a>574 <a class="indexterm" name="id259 0058"></a>573 <a class="indexterm" name="id2596118"></a> 574 <a class="indexterm" name="id2596124"></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="id259 0076"></a>579 <a class="indexterm" name="id259 0083"></a>578 <a class="indexterm" name="id2596143"></a> 579 <a class="indexterm" name="id2596150"></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="id259 0102"></a>585 <a class="indexterm" name="id259 0109"></a>584 <a class="indexterm" name="id2596168"></a> 585 <a class="indexterm" name="id2596175"></a> 586 586 <code class="literal">smbpasswd</code> can be used to: 587 </p><div class="itemizedlist"><ul type="disc"><li><p><span class="emphasis"><em>add</em></span> user or machine accounts.</p></li><li><p><span class="emphasis"><em>delete</em></span> user or machine accounts.</p></li><li><p><span class="emphasis"><em>enable</em></span> user or machine accounts.</p></li><li><p><span class="emphasis"><em>disable</em></span> user or machine accounts.</p></li><li><p><span class="emphasis"><em>set to NULL</em></span> user passwords.</p></li><li><p><span class="emphasis"><em>manage</em></span> interdomain trust accounts.</p></li></ul></div><p>587 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p><span class="emphasis"><em>add</em></span> user or machine accounts.</p></li><li class="listitem"><p><span class="emphasis"><em>delete</em></span> user or machine accounts.</p></li><li class="listitem"><p><span class="emphasis"><em>enable</em></span> user or machine accounts.</p></li><li class="listitem"><p><span class="emphasis"><em>disable</em></span> user or machine accounts.</p></li><li class="listitem"><p><span class="emphasis"><em>set to NULL</em></span> user passwords.</p></li><li class="listitem"><p><span class="emphasis"><em>manage</em></span> interdomain trust accounts.</p></li></ul></div><p> 588 588 To run smbpasswd as a normal user, just type: 589 589 </p><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="id259 0249"></a>604 <a class="indexterm" name="id2596316"></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="id259 0261"></a>609 <a class="indexterm" name="id259 0268"></a>608 <a class="indexterm" name="id2596328"></a> 609 <a class="indexterm" name="id2596335"></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="id259 0295"></a>616 <a class="indexterm" name="id259 0301"></a>617 <a class="indexterm" name="id259 0308"></a>618 <a class="indexterm" name="id259 0315"></a>615 <a class="indexterm" name="id2596361"></a> 616 <a class="indexterm" name="id2596368"></a> 617 <a class="indexterm" name="id2596375"></a> 618 <a class="indexterm" name="id2596382"></a> 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="id259 0346"></a>624 <a class="indexterm" name="id2596413"></a> 625 625 For more details on using <code class="literal">smbpasswd</code>, refer to the man page (the 626 626 definitive reference). 627 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="pdbeditthing"></a>The <code class="literal">pdbedit</code> Tool</h3></div></div></div><p>628 <a class="indexterm" name="id259 0381"></a>629 <a class="indexterm" name="id259 0387"></a>630 <a class="indexterm" name="id259 0394"></a>631 <a class="indexterm" name="id259 0401"></a>627 </p></div><div class="sect2" title="The pdbedit Tool"><div class="titlepage"><div><div><h3 class="title"><a name="pdbeditthing"></a>The <code class="literal">pdbedit</code> Tool</h3></div></div></div><p> 628 <a class="indexterm" name="id2596447"></a> 629 <a class="indexterm" name="id2596454"></a> 630 <a class="indexterm" name="id2596461"></a> 631 <a class="indexterm" name="id2596468"></a> 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 </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="id259 0460"></a>635 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>add, remove, or modify user accounts.</p></li><li class="listitem"><p>list user accounts.</p></li><li class="listitem"><p>migrate user accounts.</p></li><li class="listitem"><p>migrate group accounts.</p></li><li class="listitem"><p>manage account policies.</p></li><li class="listitem"><p>manage domain access policy settings.</p></li></ul></div><p> 636 <a class="indexterm" name="id2596527"></a> 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, 639 639 and protect financial data. The Sarbanes-Oxley Act has far reaching implications in respect of: 640 </p><div class="orderedlist"><ol type="1"><li><p>Who has access to information systems that store financial data.</p></li><li><p>How personal and financial information is treated among employees and business641 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="id259 0533"></a>643 <a class="indexterm" name="id259 0540"></a>640 </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>Who has access to information systems that store financial data.</p></li><li class="listitem"><p>How personal and financial information is treated among employees and business 641 partners.</p></li><li class="listitem"><p>How security vulnerabilities are managed.</p></li><li class="listitem"><p>Security and patch level maintenance for all information systems.</p></li><li class="listitem"><p>How information systems changes are documented and tracked.</p></li><li class="listitem"><p>How information access controls are implemented and managed.</p></li><li class="listitem"><p>Auditability of all information systems in respect of change and security.</p></li><li class="listitem"><p>Disciplinary procedures and controls to ensure privacy.</p></li></ol></div><p> 642 <a class="indexterm" name="id2596599"></a> 643 <a class="indexterm" name="id2596606"></a> 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="id259 0562"></a>650 <a class="indexterm" name="id259 0569"></a>651 <a class="indexterm" name="id259 0575"></a>652 <a class="indexterm" name="id259 0582"></a>653 <a class="indexterm" name="id259 0589"></a>649 <a class="indexterm" name="id2596628"></a> 650 <a class="indexterm" name="id2596635"></a> 651 <a class="indexterm" name="id2596642"></a> 652 <a class="indexterm" name="id2596649"></a> 653 <a class="indexterm" name="id2596656"></a> 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>Minimum Password Length</p></td><td align="left"><p>min password length</p></td><td align="center"><p>1 - 14 (Chars)</p></td><td align="center"><p>0 - 4294967295 (Chars)</p></td><td align="center"><p>5</p></td></tr><tr><td align="left"><p>Password Uniqueness</p></td><td align="left"><p>password history</p></td><td align="center"><p>0 - 23 (#)</p></td><td align="center"><p>0 - 4294967295 (#)</p></td><td align="center"><p>0</p></td></tr><tr><td align="left"><p>Account Lockout - Reset count after</p></td><td align="left"><p>reset count minutes</p></td><td align="center"><p>1 - 99998 (min)</p></td><td align="center"><p>0 - 4294967295 (min)</p></td><td align="center"><p>30</p></td></tr><tr><td align="left"><p>Lockout after bad logon attempts</p></td><td align="left"><p>bad lockout attempt</p></td><td align="center"><p>0 - 998 (#)</p></td><td align="center"><p>0 - 4294967295 (#)</p></td><td align="center"><p>0</p></td></tr><tr><td align="left"><p>*** Not Known ***</p></td><td align="left"><p>disconnect time</p></td><td align="center"><p>TBA</p></td><td align="center"><p>0 - 4294967295</p></td><td align="center"><p>0</p></td></tr><tr><td align="left"><p>Lockout Duration</p></td><td align="left"><p>lockout duration</p></td><td align="center"><p>1 - 99998 (min)</p></td><td align="center"><p>0 - 4294967295 (min)</p></td><td align="center"><p>30</p></td></tr><tr><td align="left"><p>Users must log on in order to change password</p></td><td align="left"><p>user must logon to change password</p></td><td align="center"><p>0/1</p></td><td align="center"><p>0 - 4294967295</p></td><td align="center"><p>0</p></td></tr><tr><td align="left"><p>*** Registry Setting ***</p></td><td align="left"><p>refuse machine password change</p></td><td align="center"><p>0/1</p></td><td align="center"><p>0 - 4294967295</p></td><td align="center"><p>0</p></td></tr></tbody></table></div></div><br class="table-break"><p> 663 <a class="indexterm" name="id259 0972"></a>664 <a class="indexterm" name="id259 0979"></a>665 <a class="indexterm" name="id259 0986"></a>666 <a class="indexterm" name="id259 0993"></a>663 <a class="indexterm" name="id2597039"></a> 664 <a class="indexterm" name="id2597046"></a> 665 <a class="indexterm" name="id2597053"></a> 666 <a class="indexterm" name="id2597060"></a> 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="id259 1012"></a>672 <a class="indexterm" name="id259 1019"></a>673 <a class="indexterm" name="id259 1026"></a>671 <a class="indexterm" name="id2597078"></a> 672 <a class="indexterm" name="id2597085"></a> 673 <a class="indexterm" name="id2597092"></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="id2591042"></a>User Account Management</h4></div></div></div><p>677 <a class="indexterm" name="id259 1050"></a>678 <a class="indexterm" name="id259 1057"></a>679 <a class="indexterm" name="id259 1064"></a>680 <a class="indexterm" name="id259 1071"></a>681 <a class="indexterm" name="id259 1078"></a>682 <a class="indexterm" name="id259 1084"></a>683 <a class="indexterm" name="id259 1091"></a>676 </p><div class="sect3" title="User Account Management"><div class="titlepage"><div><div><h4 class="title"><a name="id2597109"></a>User Account Management</h4></div></div></div><p> 677 <a class="indexterm" name="id2597117"></a> 678 <a class="indexterm" name="id2597124"></a> 679 <a class="indexterm" name="id2597130"></a> 680 <a class="indexterm" name="id2597137"></a> 681 <a class="indexterm" name="id2597144"></a> 682 <a class="indexterm" name="id2597151"></a> 683 <a class="indexterm" name="id2597158"></a> 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="id259 1135"></a>694 <a class="indexterm" name="id259 1142"></a>693 <a class="indexterm" name="id2597202"></a> 694 <a class="indexterm" name="id2597209"></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="id2591158"></a>Listing User and Machine Accounts</h5></div></div></div><p>698 <a class="indexterm" name="id259 1167"></a>699 <a class="indexterm" name="id259 1173"></a>697 </p><div class="sect4" title="Listing User and Machine Accounts"><div class="titlepage"><div><div><h5 class="title"><a name="id2597225"></a>Listing User and Machine Accounts</h5></div></div></div><p> 698 <a class="indexterm" name="id2597233"></a> 699 <a class="indexterm" name="id2597240"></a> 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="id259 1215"></a>726 <a class="indexterm" name="id2597282"></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="id259 1264"></a>752 <a class="indexterm" name="id259 1271"></a>753 <a class="indexterm" name="id259 1277"></a>754 <a class="indexterm" name="id259 1284"></a>755 <a class="indexterm" name="id259 1291"></a>756 <a class="indexterm" name="id259 1298"></a>751 <a class="indexterm" name="id2597331"></a> 752 <a class="indexterm" name="id2597337"></a> 753 <a class="indexterm" name="id2597344"></a> 754 <a class="indexterm" name="id2597351"></a> 755 <a class="indexterm" name="id2597358"></a> 756 <a class="indexterm" name="id2597365"></a> 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 </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="id259 1349"></a>761 <a class="indexterm" name="id259 1356"></a>759 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Login ID.</p></li><li class="listitem"><p>UNIX UID.</p></li><li class="listitem"><p>Microsoft LanManager password hash (password converted to upper-case then hashed.</p></li><li class="listitem"><p>Microsoft NT password hash (hash of the case-preserved password).</p></li><li class="listitem"><p>Samba SAM Account Flags.</p></li><li class="listitem"><p>The LCT data (password last change time).</p></li></ul></div><p> 760 <a class="indexterm" name="id2597415"></a> 761 <a class="indexterm" name="id2597422"></a> 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="id259 1382"></a>765 <a class="indexterm" name="id2597449"></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="id2591394"></a>Adding User Accounts</h5></div></div></div><p>769 <a class="indexterm" name="id259 1402"></a>770 <a class="indexterm" name="id259 1408"></a>771 <a class="indexterm" name="id259 1415"></a>772 <a class="indexterm" name="id259 1422"></a>773 <a class="indexterm" name="id259 1429"></a>768 </p></div><div class="sect4" title="Adding User Accounts"><div class="titlepage"><div><div><h5 class="title"><a name="id2597460"></a>Adding User Accounts</h5></div></div></div><p> 769 <a class="indexterm" name="id2597468"></a> 770 <a class="indexterm" name="id2597475"></a> 771 <a class="indexterm" name="id2597482"></a> 772 <a class="indexterm" name="id2597489"></a> 773 <a class="indexterm" name="id2597496"></a> 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="id2591481"></a>Deleting Accounts</h5></div></div></div><p>806 <a class="indexterm" name="id259 1489"></a>807 <a class="indexterm" name="id259 1496"></a>808 <a class="indexterm" name="id259 1503"></a>809 <a class="indexterm" name="id259 1509"></a>805 </p></div><div class="sect4" title="Deleting Accounts"><div class="titlepage"><div><div><h5 class="title"><a name="id2597548"></a>Deleting Accounts</h5></div></div></div><p> 806 <a class="indexterm" name="id2597555"></a> 807 <a class="indexterm" name="id2597562"></a> 808 <a class="indexterm" name="id2597569"></a> 809 <a class="indexterm" name="id2597576"></a> 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="id259 1536"></a>818 <a class="indexterm" name="id259 1543"></a>817 <a class="indexterm" name="id2597602"></a> 818 <a class="indexterm" name="id2597609"></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="id2591566"></a>Changing User Accounts</h5></div></div></div><p>822 <a class="indexterm" name="id259 1574"></a>821 </p></div><div class="sect4" title="Changing User Accounts"><div class="titlepage"><div><div><h5 class="title"><a name="id2597632"></a>Changing User Accounts</h5></div></div></div><p> 822 <a class="indexterm" name="id2597640"></a> 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="id259 1591"></a>826 <a class="indexterm" name="id2597658"></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="id259 1618"></a>839 <a class="indexterm" name="id259 1625"></a>840 <a class="indexterm" name="id259 1632"></a>838 <a class="indexterm" name="id2597685"></a> 839 <a class="indexterm" name="id2597692"></a> 840 <a class="indexterm" name="id2597699"></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="id259 1661"></a>856 <a class="indexterm" name="id259 1668"></a>855 <a class="indexterm" name="id2597727"></a> 856 <a class="indexterm" name="id2597734"></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="id259 1732"></a>889 <a class="indexterm" name="id259 1738"></a>888 <a class="indexterm" name="id2597798"></a> 889 <a class="indexterm" name="id2597805"></a> 890 890 Refer to the strptime man page for specific time format information. 891 891 </p><p> 892 <a class="indexterm" name="id259 1750"></a>893 <a class="indexterm" name="id259 1756"></a>892 <a class="indexterm" name="id2597816"></a> 893 <a class="indexterm" name="id2597823"></a> 894 894 Please refer to the pdbedit man page for further information relating to SambaSAMAccount 895 895 management. 896 </p><div class="sect5" lang="en"><div class="titlepage"><div><div><h6 class="title"><a name="TOSHARG-acctflags"></a>Account Flags Management</h6></div></div></div><p>897 <a class="indexterm" name="id259 1778"></a>898 <a class="indexterm" name="id259 1785"></a>899 <a class="indexterm" name="id259 1794"></a>900 <a class="indexterm" name="id259 1801"></a>896 </p><div class="sect5" title="Account Flags Management"><div class="titlepage"><div><div><h6 class="title"><a name="TOSHARG-acctflags"></a>Account Flags Management</h6></div></div></div><p> 897 <a class="indexterm" name="id2597845"></a> 898 <a class="indexterm" name="id2597852"></a> 899 <a class="indexterm" name="id2597861"></a> 900 <a class="indexterm" name="id2597868"></a> 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="id259 1816"></a>906 <a class="indexterm" name="id259 1823"></a>907 <a class="indexterm" name="id259 1830"></a>908 <a class="indexterm" name="id259 1837"></a>909 <a class="indexterm" name="id259 1844"></a>905 <a class="indexterm" name="id2597883"></a> 906 <a class="indexterm" name="id2597889"></a> 907 <a class="indexterm" name="id2597896"></a> 908 <a class="indexterm" name="id2597903"></a> 909 <a class="indexterm" name="id2597910"></a> 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="id259 1873"></a>916 <a class="indexterm" name="id259 1880"></a>915 <a class="indexterm" name="id2597940"></a> 916 <a class="indexterm" name="id2597946"></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="id259 1896"></a>923 <a class="indexterm" name="id259 1902"></a>922 <a class="indexterm" name="id2597962"></a> 923 <a class="indexterm" name="id2597969"></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="id259 2133"></a>930 <a class="indexterm" name="id259 2140"></a>929 <a class="indexterm" name="id2598200"></a> 930 <a class="indexterm" name="id2598206"></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="id259 2195"></a>958 <a class="indexterm" name="id2598262"></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="id2592232"></a>Domain Account Policy Managment</h5></div></div></div><p>986 <a class="indexterm" name="id259 2240"></a>987 <a class="indexterm" name="id259 2248"></a>985 </p></div></div><div class="sect4" title="Domain Account Policy Managment"><div class="titlepage"><div><div><h5 class="title"><a name="id2598299"></a>Domain Account Policy Managment</h5></div></div></div><p> 986 <a class="indexterm" name="id2598307"></a> 987 <a class="indexterm" name="id2598314"></a> 988 988 To view the domain account access policies that may be configured execute: 989 989 </p><pre class="screen"> … … 1004 1004 </p><p> 1005 1005 Commands will be executed to establish controls for our domain as follows: 1006 </p><div class="orderedlist"><ol type="1"><li><p>min password length = 8 characters.</p></li><li><p>password history = last 4 passwords.</p></li><li><p>maximum password age = 90 days.</p></li><li><p>minimum password age = 7 days.</p></li><li><p>bad lockout attempt = 8 bad logon attempts.</p></li><li><p>lockout duration = forever, account must be manually reenabled.</p></li></ol></div><p>1006 </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>min password length = 8 characters.</p></li><li class="listitem"><p>password history = last 4 passwords.</p></li><li class="listitem"><p>maximum password age = 90 days.</p></li><li class="listitem"><p>minimum password age = 7 days.</p></li><li class="listitem"><p>bad lockout attempt = 8 bad logon attempts.</p></li><li class="listitem"><p>lockout duration = forever, account must be manually reenabled.</p></li></ol></div><p> 1007 1007 The following command execution will achieve these settings: 1008 1008 </p><pre class="screen"> … … 1026 1026 account policy value for lockout duration is now 4294967295 1027 1027 </pre><p> 1028 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>1028 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 1029 1029 To set the maximum (infinite) lockout time use the value of -1. 1030 </p></div><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>1030 </p></div><div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p> 1031 1031 Account policies must be set individually on each PDC and BDC. At this time (Samba 3.0.11 to Samba 3.0.14a) 1032 1032 account policies are not replicated automatically. This may be fixed before Samba 3.0.20 ships or some 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="id2592394"></a>Account Import/Export</h4></div></div></div><p>1036 <a class="indexterm" name="id259 2402"></a>1037 <a class="indexterm" name="id259 2409"></a>1038 <a class="indexterm" name="id259 2416"></a>1035 </p></div></div></div><div class="sect3" title="Account Import/Export"><div class="titlepage"><div><div><h4 class="title"><a name="id2598461"></a>Account Import/Export</h4></div></div></div><p> 1036 <a class="indexterm" name="id2598469"></a> 1037 <a class="indexterm" name="id2598475"></a> 1038 <a class="indexterm" name="id2598482"></a> 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 1041 1041 old <code class="filename">smbpasswd</code> database to a <em class="parameter"><code>tdbsam</code></em> 1042 1042 backend: 1043 </p><div class="procedure"><ol type="1"><li><p>1044 <a class="indexterm" name="id259 2452"></a>1043 </p><div class="procedure"><ol class="procedure" type="1"><li class="step" title="Step 1"><p> 1044 <a class="indexterm" name="id2598519"></a> 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 </p></li><li ><p>1049 <a class="indexterm" name="id259 2482"></a>1048 </p></li><li class="step" title="Step 2"><p> 1049 <a class="indexterm" name="id2598549"></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="id2592519"></a>Password Backends</h2></div></div></div><p>1053 <a class="indexterm" name="id259 2527"></a>1054 <a class="indexterm" name="id259 2534"></a>1052 </p></li></ol></div></div></div></div><div class="sect1" title="Password Backends"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2598586"></a>Password Backends</h2></div></div></div><p> 1053 <a class="indexterm" name="id2598593"></a> 1054 <a class="indexterm" name="id2598600"></a> 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="id259 2550"></a>1061 <a class="indexterm" name="id259 2557"></a>1060 <a class="indexterm" name="id2598617"></a> 1061 <a class="indexterm" name="id2598624"></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="id2592572"></a>Plaintext</h3></div></div></div><p>1068 <a class="indexterm" name="id259 2580"></a>1069 <a class="indexterm" name="id259 2587"></a>1070 <a class="indexterm" name="id259 2594"></a>1071 <a class="indexterm" name="id259 2601"></a>1072 <a class="indexterm" name="id259 2608"></a>1073 <a class="indexterm" name="id259 2615"></a>1067 </p><div class="sect2" title="Plaintext"><div class="titlepage"><div><div><h3 class="title"><a name="id2598639"></a>Plaintext</h3></div></div></div><p> 1068 <a class="indexterm" name="id2598647"></a> 1069 <a class="indexterm" name="id2598654"></a> 1070 <a class="indexterm" name="id2598661"></a> 1071 <a class="indexterm" name="id2598668"></a> 1072 <a class="indexterm" name="id2598675"></a> 1073 <a class="indexterm" name="id2598682"></a> 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="id2592648"></a>smbpasswd: Encrypted Password Database</h3></div></div></div><p>1081 <a class="indexterm" name="id259 2657"></a>1082 <a class="indexterm" name="id259 2666"></a>1083 <a class="indexterm" name="id259 2673"></a>1084 <a class="indexterm" name="id259 2680"></a>1080 </p></div><div class="sect2" title="smbpasswd: Encrypted Password Database"><div class="titlepage"><div><div><h3 class="title"><a name="id2598715"></a>smbpasswd: Encrypted Password Database</h3></div></div></div><p> 1081 <a class="indexterm" name="id2598723"></a> 1082 <a class="indexterm" name="id2598733"></a> 1083 <a class="indexterm" name="id2598740"></a> 1084 <a class="indexterm" name="id2598747"></a> 1085 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, … … 1088 1088 file. There are several disadvantages to this approach for sites with large numbers of users 1089 1089 (counted in the thousands). 1090 </p><div class="itemizedlist"><ul type="disc"><li><p>1091 <a class="indexterm" name="id259 2723"></a>1090 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 1091 <a class="indexterm" name="id2598789"></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 initial logon validation … … 1095 1095 is a performance bottleneck for large sites. What is needed is an indexed approach 1096 1096 such as that used in databases. 1097 </p></li><li ><p>1098 <a class="indexterm" name="id259 2740"></a>1099 <a class="indexterm" name="id259 2747"></a>1100 <a class="indexterm" name="id259 2754"></a>1101 <a class="indexterm" name="id259 2761"></a>1102 <a class="indexterm" name="id259 2767"></a>1097 </p></li><li class="listitem"><p> 1098 <a class="indexterm" name="id2598807"></a> 1099 <a class="indexterm" name="id2598814"></a> 1100 <a class="indexterm" name="id2598821"></a> 1101 <a class="indexterm" name="id2598828"></a> 1102 <a class="indexterm" name="id2598834"></a> 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 1105 1105 <code class="literal">rsync(1)</code> and <code class="literal">ssh(1)</code> and write custom, 1106 1106 in-house scripts. 1107 </p></li><li ><p>1108 <a class="indexterm" name="id259 2793"></a>1109 <a class="indexterm" name="id259 2800"></a>1110 <a class="indexterm" name="id259 2807"></a>1111 <a class="indexterm" name="id259 2814"></a>1112 <a class="indexterm" name="id259 2821"></a>1107 </p></li><li class="listitem"><p> 1108 <a class="indexterm" name="id2598860"></a> 1109 <a class="indexterm" name="id2598867"></a> 1110 <a class="indexterm" name="id2598874"></a> 1111 <a class="indexterm" name="id2598880"></a> 1112 <a class="indexterm" name="id2598887"></a> 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="id259 2838"></a>1118 <a class="indexterm" name="id259 2845"></a>1119 <a class="indexterm" name="id259 2851"></a>1120 <a class="indexterm" name="id259 2858"></a>1117 <a class="indexterm" name="id2598904"></a> 1118 <a class="indexterm" name="id2598911"></a> 1119 <a class="indexterm" name="id2598918"></a> 1120 <a class="indexterm" name="id2598925"></a> 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="id259 2874"></a>1127 <a class="indexterm" name="id259 2881"></a>1128 <a class="indexterm" name="id259 2888"></a>1129 <a class="indexterm" name="id259 2895"></a>1130 <a class="indexterm" name="id259 2902"></a>1126 <a class="indexterm" name="id2598940"></a> 1127 <a class="indexterm" name="id2598947"></a> 1128 <a class="indexterm" name="id2598955"></a> 1129 <a class="indexterm" name="id2598961"></a> 1130 <a class="indexterm" name="id2598968"></a> 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="id2592915"></a>tdbsam</h3></div></div></div><p>1135 <a class="indexterm" name="id259 2922"></a>1136 <a class="indexterm" name="id259 2932"></a>1137 <a class="indexterm" name="id259 2941"></a>1138 Samba can store user and machine account data in a “<span class="quote">TDB</span>”(trivial database).1134 </p></div><div class="sect2" title="tdbsam"><div class="titlepage"><div><div><h3 class="title"><a name="id2598981"></a>tdbsam</h3></div></div></div><p> 1135 <a class="indexterm" name="id2598989"></a> 1136 <a class="indexterm" name="id2598998"></a> 1137 <a class="indexterm" name="id2599007"></a> 1138 Samba can store user and machine account data in a <span class="quote">“<span class="quote">TDB</span>”</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="id259 2958"></a>1143 <a class="indexterm" name="id259 2965"></a>1144 <a class="indexterm" name="id259 2971"></a>1145 <a class="indexterm" name="id259 2978"></a>1142 <a class="indexterm" name="id2599025"></a> 1143 <a class="indexterm" name="id2599031"></a> 1144 <a class="indexterm" name="id2599038"></a> 1145 <a class="indexterm" name="id2599044"></a> 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="id259 2994"></a>1152 <a class="indexterm" name="id259 3001"></a>1153 <a class="indexterm" name="id259 3008"></a>1151 <a class="indexterm" name="id2599061"></a> 1152 <a class="indexterm" name="id2599068"></a> 1153 <a class="indexterm" name="id2599074"></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="id259 3023"></a>1160 <a class="indexterm" name="id259 3030"></a>1161 <a class="indexterm" name="id259 3037"></a>1162 <a class="indexterm" name="id259 3044"></a>1159 <a class="indexterm" name="id2599090"></a> 1160 <a class="indexterm" name="id2599097"></a> 1161 <a class="indexterm" name="id2599104"></a> 1162 <a class="indexterm" name="id2599111"></a> 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="id2593072"></a>ldapsam</h3></div></div></div><p>1171 <a class="indexterm" name="id259 3080"></a>1172 <a class="indexterm" name="id259 3087"></a>1173 <a class="indexterm" name="id259 3094"></a>1170 </p></div><div class="sect2" title="ldapsam"><div class="titlepage"><div><div><h3 class="title"><a name="id2599139"></a>ldapsam</h3></div></div></div><p> 1171 <a class="indexterm" name="id2599147"></a> 1172 <a class="indexterm" name="id2599154"></a> 1173 <a class="indexterm" name="id2599160"></a> 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 </p><div class="itemizedlist"><ul type="disc"><li><p>A means of retrieving user account information from1177 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="id259 3123"></a>1179 <a class="indexterm" name="id259 3130"></a>1180 <a class="indexterm" name="id259 3136"></a>1181 <a class="indexterm" name="id259 3143"></a>1176 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>A means of retrieving user account information from 1177 a Windows 200x Active Directory server.</p></li><li class="listitem"><p>A means of replacing /etc/passwd.</p></li></ul></div><p> 1178 <a class="indexterm" name="id2599189"></a> 1179 <a class="indexterm" name="id2599196"></a> 1180 <a class="indexterm" name="id2599203"></a> 1181 <a class="indexterm" name="id2599209"></a> 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="id259 3174"></a>1188 <a class="indexterm" name="id259 3180"></a>1189 <a class="indexterm" name="id259 3187"></a>1187 <a class="indexterm" name="id2599240"></a> 1188 <a class="indexterm" name="id2599247"></a> 1189 <a class="indexterm" name="id2599254"></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 … … 1193 1193 and has a working directory server already installed. For more information 1194 1194 on LDAP architectures and directories, please refer to the following sites: 1195 </p><div class="itemizedlist"><ul type="disc"><li><p><a class="ulink" href="http://www.openldap.org/" target="_top">OpenLDAP</a></p></li><li><p><a class="ulink" href="http://www.sun.com/software/products/directory_srvr_ee/index.xml" target="_top">1196 Sun One Directory Server</a></p></li><li ><p><a class="ulink" href="http://www.novell.com/products/edirectory/" target="_top">Novell eDirectory</a></p></li><li><p><a class="ulink" href="http://www-306.ibm.com/software/tivoli/products/directory-server/" target="_top">IBM1197 Tivoli Directory Server</a></p></li><li ><p><a class="ulink" href="http://www.redhat.com/software/rha/directory/" target="_top">Red Hat Directory1198 Server</a></p></li><li ><p><a class="ulink" href="http://www.linuxsecurity.com/content/view/119229" target="_top">Fedora Directory1195 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p><a class="ulink" href="http://www.openldap.org/" target="_top">OpenLDAP</a></p></li><li class="listitem"><p><a class="ulink" href="http://www.sun.com/software/products/directory_srvr_ee/index.xml" target="_top"> 1196 Sun One Directory Server</a></p></li><li class="listitem"><p><a class="ulink" href="http://www.novell.com/products/edirectory/" target="_top">Novell eDirectory</a></p></li><li class="listitem"><p><a class="ulink" href="http://www-306.ibm.com/software/tivoli/products/directory-server/" target="_top">IBM 1197 Tivoli Directory Server</a></p></li><li class="listitem"><p><a class="ulink" href="http://www.redhat.com/software/rha/directory/" target="_top">Red Hat Directory 1198 Server</a></p></li><li class="listitem"><p><a class="ulink" href="http://www.linuxsecurity.com/content/view/119229" target="_top">Fedora Directory 1199 1199 Server</a></p></li></ul></div><p> 1200 1200 Two additional Samba resources that may prove to be helpful are: 1201 </p><div class="itemizedlist"><ul type="disc"><li><p>1202 <a class="indexterm" name="id259 3268"></a>1201 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 1202 <a class="indexterm" name="id2599334"></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 </p></li><li ><p>1206 <a class="indexterm" name="id259 3287"></a>1207 <a class="indexterm" name="id259 3294"></a>1208 <a class="indexterm" name="id259 3301"></a>1205 </p></li><li class="listitem"><p> 1206 <a class="indexterm" name="id2599354"></a> 1207 <a class="indexterm" name="id2599360"></a> 1208 <a class="indexterm" name="id2599368"></a> 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="id2593320"></a>Supported LDAP Servers</h4></div></div></div><p>1213 <a class="indexterm" name="id259 3328"></a>1214 <a class="indexterm" name="id259 3335"></a>1215 <a class="indexterm" name="id259 3342"></a>1216 <a class="indexterm" name="id259 3348"></a>1212 </p></li></ul></div><div class="sect3" title="Supported LDAP Servers"><div class="titlepage"><div><div><h4 class="title"><a name="id2599387"></a>Supported LDAP Servers</h4></div></div></div><p> 1213 <a class="indexterm" name="id2599395"></a> 1214 <a class="indexterm" name="id2599401"></a> 1215 <a class="indexterm" name="id2599408"></a> 1216 <a class="indexterm" name="id2599415"></a> 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="id2593375"></a>Schema and Relationship to the RFC 2307 posixAccount</h4></div></div></div><p>1223 </p></div><div class="sect3" title="Schema and Relationship to the RFC 2307 posixAccount"><div class="titlepage"><div><div><h4 class="title"><a name="id2599442"></a>Schema and Relationship to the RFC 2307 posixAccount</h4></div></div></div><p> 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="id259 3411"></a>1240 <a class="indexterm" name="id259 3418"></a>1241 <a class="indexterm" name="id259 3425"></a>1239 <a class="indexterm" name="id2599478"></a> 1240 <a class="indexterm" name="id2599485"></a> 1241 <a class="indexterm" name="id2599491"></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="id259 3452"></a>1248 <a class="indexterm" name="id259 3458"></a>1249 <a class="indexterm" name="id259 3465"></a>1250 <a class="indexterm" name="id259 3472"></a>1251 <a class="indexterm" name="id259 3479"></a>1252 <a class="indexterm" name="id259 3486"></a>1253 <a class="indexterm" name="id259 3493"></a>1247 <a class="indexterm" name="id2599518"></a> 1248 <a class="indexterm" name="id2599525"></a> 1249 <a class="indexterm" name="id2599532"></a> 1250 <a class="indexterm" name="id2599539"></a> 1251 <a class="indexterm" name="id2599546"></a> 1252 <a class="indexterm" name="id2599552"></a> 1253 <a class="indexterm" name="id2599559"></a> 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="id259 3521"></a>1263 <a class="indexterm" name="id259 3528"></a>1264 <a class="indexterm" name="id259 3535"></a>1265 <a class="indexterm" name="id259 3542"></a>1266 <a class="indexterm" name="id259 3549"></a>1267 <a class="indexterm" name="id259 3556"></a>1268 <a class="indexterm" name="id259 3563"></a>1269 <a class="indexterm" name="id259 3570"></a>1270 <a class="indexterm" name="id259 3576"></a>1262 <a class="indexterm" name="id2599588"></a> 1263 <a class="indexterm" name="id2599595"></a> 1264 <a class="indexterm" name="id2599602"></a> 1265 <a class="indexterm" name="id2599609"></a> 1266 <a class="indexterm" name="id2599616"></a> 1267 <a class="indexterm" name="id2599623"></a> 1268 <a class="indexterm" name="id2599629"></a> 1269 <a class="indexterm" name="id2599636"></a> 1270 <a class="indexterm" name="id2599643"></a> 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="id2593601"></a>OpenLDAP Configuration</h4></div></div></div><p>1280 <a class="indexterm" name="id259 3609"></a>1281 <a class="indexterm" name="id259 3616"></a>1282 <a class="indexterm" name="id259 3623"></a>1283 <a class="indexterm" name="id259 3630"></a>1279 </p></div><div class="sect3" title="OpenLDAP Configuration"><div class="titlepage"><div><div><h4 class="title"><a name="id2599668"></a>OpenLDAP Configuration</h4></div></div></div><p> 1280 <a class="indexterm" name="id2599676"></a> 1281 <a class="indexterm" name="id2599683"></a> 1282 <a class="indexterm" name="id2599690"></a> 1283 <a class="indexterm" name="id2599697"></a> 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="id259 3667"></a>1293 <a class="indexterm" name="id259 3674"></a>1294 <a class="indexterm" name="id259 3681"></a>1295 <a class="indexterm" name="id259 3688"></a>1296 <a class="indexterm" name="id259 3694"></a>1297 <a class="indexterm" name="id259 3701"></a>1298 <a class="indexterm" name="id259 3708"></a>1299 <a class="indexterm" name="id259 3715"></a>1292 <a class="indexterm" name="id2599734"></a> 1293 <a class="indexterm" name="id2599740"></a> 1294 <a class="indexterm" name="id2599747"></a> 1295 <a class="indexterm" name="id2599754"></a> 1296 <a class="indexterm" name="id2599761"></a> 1297 <a class="indexterm" name="id2599768"></a> 1298 <a class="indexterm" name="id2599775"></a> 1299 <a class="indexterm" name="id2599782"></a> 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="id259 3783"></a>1320 <a class="indexterm" name="id259 3790"></a>1321 <a class="indexterm" name="id259 3797"></a>1322 <a class="indexterm" name="id259 3804"></a>1319 <a class="indexterm" name="id2599850"></a> 1320 <a class="indexterm" name="id2599856"></a> 1321 <a class="indexterm" name="id2599863"></a> 1322 <a class="indexterm" name="id2599870"></a> 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="id2593873"></a>Initialize the LDAP Database</h4></div></div></div><p>1361 <a class="indexterm" name="id259 3882"></a>1362 <a class="indexterm" name="id259 3888"></a>1363 <a class="indexterm" name="id259 3895"></a>1364 <a class="indexterm" name="id259 3902"></a>1360 </p></div><div class="sect3" title="Initialize the LDAP Database"><div class="titlepage"><div><div><h4 class="title"><a name="id2599940"></a>Initialize the LDAP Database</h4></div></div></div><p> 1361 <a class="indexterm" name="id2599948"></a> 1362 <a class="indexterm" name="id2599955"></a> 1363 <a class="indexterm" name="id2599962"></a> 1364 <a class="indexterm" name="id2599969"></a> 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="id2 593945"></a>1427 <a class="indexterm" name="id2 593952"></a>1426 <a class="indexterm" name="id2600012"></a> 1427 <a class="indexterm" name="id2600018"></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="id2 593969"></a>1431 <a class="indexterm" name="id2 593976"></a>1430 <a class="indexterm" name="id2600036"></a> 1431 <a class="indexterm" name="id2600042"></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="id2 593984"></a>1434 <a class="indexterm" name="id2600051"></a> 1435 1435 </p><pre class="screen"> 1436 1436 <code class="prompt">$ </code><strong class="userinput"><code>slapadd -v -l initldap.dif</code></strong> … … 1439 1439 Do not forget to secure your LDAP server with an adequate access control list 1440 1440 as well as an admin password. 1441 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>1442 <a class="indexterm" name="id2 594016"></a>1441 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 1442 <a class="indexterm" name="id2600083"></a> 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="id2 594031"></a>1445 <a class="indexterm" name="id2600098"></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="id2594059"></a>Configuring Samba</h4></div></div></div><p>1450 <a class="indexterm" name="id2 594067"></a>1451 <a class="indexterm" name="id2 594073"></a>1449 </p></div></div><div class="sect3" title="Configuring Samba"><div class="titlepage"><div><div><h4 class="title"><a name="id2600125"></a>Configuring Samba</h4></div></div></div><p> 1450 <a class="indexterm" name="id2600133"></a> 1451 <a class="indexterm" name="id2600140"></a> 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="id2594130"></a><em class="parameter"><code>passdb backend = ldapsam:url</code></em></td></tr><tr><td><a class="indexterm" name="id2594142"></a></td></tr><tr><td><a class="indexterm" name="id2594149"></a></td></tr><tr><td><a class="indexterm" name="id2594156"></a></td></tr><tr><td><a class="indexterm" name="id2594163"></a></td></tr><tr><td><a class="indexterm" name="id2594170"></a></td></tr><tr><td><a class="indexterm" name="id2594176"></a></td></tr><tr><td><a class="indexterm" name="id2594183"></a></td></tr><tr><td><a class="indexterm" name="id2594190"></a></td></tr><tr><td><a class="indexterm" name="id2594197"></a></td></tr><tr><td><a class="indexterm" name="id2594204"></a></td></tr><tr><td><a class="indexterm" name="id2594211"></a></td></tr><tr><td><a class="indexterm" name="id2594218"></a></td></tr><tr><td><a class="indexterm" name="id2594225"></a></td></tr></table><p>1470 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2600197"></a><em class="parameter"><code>passdb backend = ldapsam:url</code></em></td></tr><tr><td><a class="indexterm" name="id2600209"></a></td></tr><tr><td><a class="indexterm" name="id2600216"></a></td></tr><tr><td><a class="indexterm" name="id2600222"></a></td></tr><tr><td><a class="indexterm" name="id2600229"></a></td></tr><tr><td><a class="indexterm" name="id2600236"></a></td></tr><tr><td><a class="indexterm" name="id2600243"></a></td></tr><tr><td><a class="indexterm" name="id2600250"></a></td></tr><tr><td><a class="indexterm" name="id2600257"></a></td></tr><tr><td><a class="indexterm" name="id2600264"></a></td></tr><tr><td><a class="indexterm" name="id2600271"></a></td></tr><tr><td><a class="indexterm" name="id2600278"></a></td></tr><tr><td><a class="indexterm" name="id2600285"></a></td></tr><tr><td><a class="indexterm" name="id2600292"></a></td></tr></table><p> 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="id2594276"></a><em class="parameter"><code>security = user</code></em></td></tr><tr><td><a class="indexterm" name="id2594288"></a><em class="parameter"><code>encrypt passwords = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2594300"></a><em class="parameter"><code>netbios name = MORIA</code></em></td></tr><tr><td><a class="indexterm" name="id2594312"></a><em class="parameter"><code>workgroup = NOLDOR</code></em></td></tr><tr><td># LDAP related parameters:</td></tr><tr><td># Define the DN used when binding to the LDAP servers.</td></tr><tr><td># The password for this DN is not stored in smb.conf</td></tr><tr><td># Set it using 'smbpasswd -w secret' to store the</td></tr><tr><td># passphrase in the secrets.tdb file.</td></tr><tr><td># If the "ldap admin dn" value changes, it must be reset.</td></tr><tr><td><a class="indexterm" name="id2594348"></a><em class="parameter"><code>ldap admin dn = "cn=Manager,dc=quenya,dc=org"</code></em></td></tr><tr><td># SSL directory connections can be configured by:</td></tr><tr><td># ('off', 'start tls', or 'on' (default))</td></tr><tr><td><a class="indexterm" name="id2594368"></a><em class="parameter"><code>ldap ssl = start tls</code></em></td></tr><tr><td># syntax: passdb backend = ldapsam:ldap://server-name[:port]</td></tr><tr><td><a class="indexterm" name="id2594384"></a><em class="parameter"><code>passdb backend = ldapsam:ldap://frodo.quenya.org</code></em></td></tr><tr><td># smbpasswd -x delete the entire dn-entry</td></tr><tr><td><a class="indexterm" name="id2594401"></a><em class="parameter"><code>ldap delete dn = no</code></em></td></tr><tr><td># The machine and user suffix are added to the base suffix</td></tr><tr><td># wrote WITHOUT quotes. NULL suffixes by default</td></tr><tr><td><a class="indexterm" name="id2594421"></a><em class="parameter"><code>ldap user suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2594433"></a><em class="parameter"><code>ldap group suffix = ou=Groups</code></em></td></tr><tr><td><a class="indexterm" name="id2594445"></a><em class="parameter"><code>ldap machine suffix = ou=Computers</code></em></td></tr><tr><td># Trust UNIX account information in LDAP</td></tr><tr><td># (see the smb.conf man page for details)</td></tr><tr><td># Specify the base DN to use when searching the directory</td></tr><tr><td><a class="indexterm" name="id2594469"></a><em class="parameter"><code>ldap suffix = dc=quenya,dc=org</code></em></td></tr></table></div></div><br class="example-break"></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2594483"></a>Accounts and Groups Management</h4></div></div></div><p>1475 <a class="indexterm" name="id2 594491"></a>1476 <a class="indexterm" name="id2 594498"></a>1474 </p><div class="example"><a name="confldapex"></a><p class="title"><b>Example 11.2. Configuration with LDAP</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2600343"></a><em class="parameter"><code>security = user</code></em></td></tr><tr><td><a class="indexterm" name="id2600355"></a><em class="parameter"><code>encrypt passwords = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2600366"></a><em class="parameter"><code>netbios name = MORIA</code></em></td></tr><tr><td><a class="indexterm" name="id2600378"></a><em class="parameter"><code>workgroup = NOLDOR</code></em></td></tr><tr><td># LDAP related parameters:</td></tr><tr><td># Define the DN used when binding to the LDAP servers.</td></tr><tr><td># The password for this DN is not stored in smb.conf</td></tr><tr><td># Set it using 'smbpasswd -w secret' to store the</td></tr><tr><td># passphrase in the secrets.tdb file.</td></tr><tr><td># If the "ldap admin dn" value changes, it must be reset.</td></tr><tr><td><a class="indexterm" name="id2600415"></a><em class="parameter"><code>ldap admin dn = "cn=Manager,dc=quenya,dc=org"</code></em></td></tr><tr><td># SSL directory connections can be configured by:</td></tr><tr><td># ('off', 'start tls', or 'on' (default))</td></tr><tr><td><a class="indexterm" name="id2600435"></a><em class="parameter"><code>ldap ssl = start tls</code></em></td></tr><tr><td># syntax: passdb backend = ldapsam:ldap://server-name[:port]</td></tr><tr><td><a class="indexterm" name="id2600451"></a><em class="parameter"><code>passdb backend = ldapsam:ldap://frodo.quenya.org</code></em></td></tr><tr><td># smbpasswd -x delete the entire dn-entry</td></tr><tr><td><a class="indexterm" name="id2600467"></a><em class="parameter"><code>ldap delete dn = no</code></em></td></tr><tr><td># The machine and user suffix are added to the base suffix</td></tr><tr><td># wrote WITHOUT quotes. NULL suffixes by default</td></tr><tr><td><a class="indexterm" name="id2600488"></a><em class="parameter"><code>ldap user suffix = ou=People</code></em></td></tr><tr><td><a class="indexterm" name="id2600500"></a><em class="parameter"><code>ldap group suffix = ou=Groups</code></em></td></tr><tr><td><a class="indexterm" name="id2600512"></a><em class="parameter"><code>ldap machine suffix = ou=Computers</code></em></td></tr><tr><td># Trust UNIX account information in LDAP</td></tr><tr><td># (see the smb.conf man page for details)</td></tr><tr><td># Specify the base DN to use when searching the directory</td></tr><tr><td><a class="indexterm" name="id2600536"></a><em class="parameter"><code>ldap suffix = dc=quenya,dc=org</code></em></td></tr></table></div></div><br class="example-break"></div><div class="sect3" title="Accounts and Groups Management"><div class="titlepage"><div><div><h4 class="title"><a name="id2600550"></a>Accounts and Groups Management</h4></div></div></div><p> 1475 <a class="indexterm" name="id2600558"></a> 1476 <a class="indexterm" name="id2600565"></a> 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="id2 594514"></a>1481 <a class="indexterm" name="id2 594521"></a>1482 <a class="indexterm" name="id2 594528"></a>1480 <a class="indexterm" name="id2600581"></a> 1481 <a class="indexterm" name="id2600588"></a> 1482 <a class="indexterm" name="id2600595"></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 1485 1485 in a different tree of your LDAP namespace. You should use 1486 “<span class="quote">ou=Groups,dc=quenya,dc=org</span>”to store groups and1487 “<span class="quote">ou=People,dc=quenya,dc=org</span>”to store users. Just configure your1486 <span class="quote">“<span class="quote">ou=Groups,dc=quenya,dc=org</span>”</span> to store groups and 1487 <span class="quote">“<span class="quote">ou=People,dc=quenya,dc=org</span>”</span> to store users. Just configure your 1488 1488 NSS and PAM accordingly (usually, in the <code class="filename">/etc/openldap/sldap.conf</code> 1489 1489 configuration file). 1490 1490 </p><p> 1491 <a class="indexterm" name="id2 594558"></a>1492 <a class="indexterm" name="id2 594564"></a>1493 <a class="indexterm" name="id2 594571"></a>1494 <a class="indexterm" name="id2 594578"></a>1491 <a class="indexterm" name="id2600624"></a> 1492 <a class="indexterm" name="id2600631"></a> 1493 <a class="indexterm" name="id2600638"></a> 1494 <a class="indexterm" name="id2600645"></a> 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="id2594596"></a>Security and sambaSamAccount</h4></div></div></div><p>1502 <a class="indexterm" name="id2 594605"></a>1501 </p></div><div class="sect3" title="Security and sambaSamAccount"><div class="titlepage"><div><div><h4 class="title"><a name="id2600663"></a>Security and sambaSamAccount</h4></div></div></div><p> 1502 <a class="indexterm" name="id2600671"></a> 1503 1503 There are two important points to remember when discussing the security 1504 1504 of sambaSAMAccount entries in the directory. 1505 </p><div class="itemizedlist"><ul type="disc"><li><p><span class="emphasis"><em>Never</em></span> retrieve the SambaLMPassword or1506 <a class="indexterm" name="id2 594623"></a>1507 SambaNTPassword attribute values over an unencrypted LDAP session.</p></li><li ><p><span class="emphasis"><em>Never</em></span> allow non-admin users to1505 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p><span class="emphasis"><em>Never</em></span> retrieve the SambaLMPassword or 1506 <a class="indexterm" name="id2600690"></a> 1507 SambaNTPassword attribute values over an unencrypted LDAP session.</p></li><li class="listitem"><p><span class="emphasis"><em>Never</em></span> allow non-admin users to 1508 1508 view the SambaLMPassword or SambaNTPassword attribute values.</p></li></ul></div><p> 1509 <a class="indexterm" name="id2 594644"></a>1510 <a class="indexterm" name="id2 594651"></a>1511 <a class="indexterm" name="id2 594658"></a>1509 <a class="indexterm" name="id2600711"></a> 1510 <a class="indexterm" name="id2600718"></a> 1511 <a class="indexterm" name="id2600724"></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="id2 594679"></a>1518 <a class="indexterm" name="id2 594686"></a>1519 <a class="indexterm" name="id2 594693"></a>1520 <a class="indexterm" name="id2 594700"></a>1517 <a class="indexterm" name="id2600746"></a> 1518 <a class="indexterm" name="id2600753"></a> 1519 <a class="indexterm" name="id2600760"></a> 1520 <a class="indexterm" name="id2600766"></a> 1521 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 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 … … 1526 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="id2 594761"></a>1529 <a class="indexterm" name="id2 594768"></a>1530 <a class="indexterm" name="id2 594774"></a>1528 <a class="indexterm" name="id2600828"></a> 1529 <a class="indexterm" name="id2600834"></a> 1530 <a class="indexterm" name="id2600841"></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="id2 594789"></a>1536 <a class="indexterm" name="id2 594796"></a>1537 <a class="indexterm" name="id2 594802"></a>1535 <a class="indexterm" name="id2600855"></a> 1536 <a class="indexterm" name="id2600862"></a> 1537 <a class="indexterm" name="id2600869"></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="id2594832"></a>LDAP Special Attributes for sambaSamAccounts</h4></div></div></div><p> The sambaSamAccount ObjectClass is composed of the attributes shown in next tables: <a class="link" href="passdb.html#attribobjclPartA" title="Table 11.3. Attributes in the sambaSamAccount ObjectClass (LDAP), Part A">Part A</a>, and <a class="link" href="passdb.html#attribobjclPartB" title="Table 11.4. Attributes in the sambaSamAccount ObjectClass (LDAP), Part B">Part B</a>.1548 </p></div><div class="sect3" title="LDAP Special Attributes for sambaSamAccounts"><div class="titlepage"><div><div><h4 class="title"><a name="id2600899"></a>LDAP Special Attributes for sambaSamAccounts</h4></div></div></div><p> The sambaSamAccount ObjectClass is composed of the attributes shown in next tables: <a class="link" href="passdb.html#attribobjclPartA" title="Table 11.3. Attributes in the sambaSamAccount ObjectClass (LDAP), Part A">Part A</a>, and <a class="link" href="passdb.html#attribobjclPartB" title="Table 11.4. Attributes in the sambaSamAccount ObjectClass (LDAP), Part B">Part B</a>. 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 … … 1562 1562 forced to change his password. If this value is set to 0, the user will have to change his password at first login. 1563 1563 If this attribute is not set, then the password will never expire.</td></tr><tr><td align="left"><code class="constant">sambaHomeDrive</code></td><td align="justify">Specifies the drive letter to which to map the 1564 UNC path specified by sambaHomePath. The drive letter must be specified in the form “<span class="quote">X:</span>”1565 where X is the letter of the drive to map. Refer to the “<span class="quote">logon drive</span>”parameter in the1564 UNC path specified by sambaHomePath. The drive letter must be specified in the form <span class="quote">“<span class="quote">X:</span>”</span> 1565 where X is the letter of the drive to map. Refer to the <span class="quote">“<span class="quote">logon drive</span>”</span> parameter in the 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 … … 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="id2 595181"></a>1584 <a class="indexterm" name="id2 595187"></a>1583 <a class="indexterm" name="id2601247"></a> 1584 <a class="indexterm" name="id2601254"></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="id2 595209"></a><a class="indexterm" name="id2595216"></a><a class="indexterm" name="id2595223"></a><a class="indexterm" name="id2595230"></a><ul type="disc"><li><p>sambaHomePath</p></li><li><p>sambaLogonScript</p></li><li><p>sambaProfilePath</p></li><li><p>sambaHomeDrive</p></li></ul></div><p>1590 <a class="indexterm" name="id2 595259"></a>1591 <a class="indexterm" name="id2 595266"></a>1592 <a class="indexterm" name="id2 595272"></a>1589 </p><div class="itemizedlist"><a class="indexterm" name="id2601276"></a><a class="indexterm" name="id2601283"></a><a class="indexterm" name="id2601290"></a><a class="indexterm" name="id2601296"></a><ul class="itemizedlist" type="disc"><li class="listitem"><p>sambaHomePath</p></li><li class="listitem"><p>sambaLogonScript</p></li><li class="listitem"><p>sambaProfilePath</p></li><li class="listitem"><p>sambaHomeDrive</p></li></ul></div><p> 1590 <a class="indexterm" name="id2601325"></a> 1591 <a class="indexterm" name="id2601332"></a> 1592 <a class="indexterm" name="id2601339"></a> 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 1595 configured as a PDC and that <a class="link" href="smb.conf.5.html#LOGONHOME" target="_top">logon home = \\%L\%u</a> was defined in 1596 its <code class="filename">smb.conf</code> file. When a user named “<span class="quote">becky</span>”logs on to the domain,1596 its <code class="filename">smb.conf</code> file. When a user named <span class="quote">“<span class="quote">becky</span>”</span> logs on to the domain, 1597 1597 the <a class="link" href="smb.conf.5.html#LOGONHOME" target="_top">logon home</a> string is expanded to \\MORIA\becky. 1598 If the smbHome attribute exists in the entry “<span class="quote">uid=becky,ou=People,dc=samba,dc=org</span>”,1598 If the smbHome attribute exists in the entry <span class="quote">“<span class="quote">uid=becky,ou=People,dc=samba,dc=org</span>”</span>, 1599 1599 this value is used. However, if this attribute does not exist, then the value 1600 1600 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="id2595346"></a>Example LDIF Entries for a sambaSamAccount</h4></div></div></div><p>1603 </p></div><div class="sect3" title="Example LDIF Entries for a sambaSamAccount"><div class="titlepage"><div><div><h4 class="title"><a name="id2601412"></a>Example LDIF Entries for a sambaSamAccount</h4></div></div></div><p> 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="id2595393"></a>Password Synchronization</h4></div></div></div><p>1648 </p></div><div class="sect3" title="Password Synchronization"><div class="titlepage"><div><div><h4 class="title"><a name="id2601460"></a>Password Synchronization</h4></div></div></div><p> 1649 1649 Samba-3 and later can update the non-Samba (LDAP) password stored with an account. When 1650 1650 using pam_ldap, this allows changing both UNIX and Windows passwords at once. … … 1655 1655 <code class="constant">SambaLMPassword</code>.</p></td></tr><tr><td align="left">only</td><td align="justify"><p>Only update the LDAP password and let the LDAP server 1656 1656 worry about the other fields. This option is only available on some LDAP servers and 1657 only when the LDAP server supports LDAP_EXOP_X_MODIFY_PASSWD.</p></td></tr></tbody></table></div></div><br class="table-break"><p>More information can be found in the <code class="filename">smb.conf</code> man page.</p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2595546"></a>Using OpenLDAP Overlay for Password Synchronization</h4></div></div></div><p>1657 only when the LDAP server supports LDAP_EXOP_X_MODIFY_PASSWD.</p></td></tr></tbody></table></div></div><br class="table-break"><p>More information can be found in the <code class="filename">smb.conf</code> man page.</p></div><div class="sect3" title="Using OpenLDAP Overlay for Password Synchronization"><div class="titlepage"><div><div><h4 class="title"><a name="id2601612"></a>Using OpenLDAP Overlay for Password Synchronization</h4></div></div></div><p> 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="id2595597"></a>Common Errors</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2595602"></a>Users Cannot Logon</h3></div></div></div><p>“<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="id2595640"></a>Configuration of <em class="parameter"><code>auth methods</code></em></h3></div></div></div><p>1665 </p></div></div></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2601663"></a>Common Errors</h2></div></div></div><div class="sect2" title="Users Cannot Logon"><div class="titlepage"><div><div><h3 class="title"><a name="id2601669"></a>Users Cannot Logon</h3></div></div></div><p><span class="quote">“<span class="quote">I've installed Samba, but now I can't log on with my UNIX account! </span>”</span></p><p>Make sure your user has been added to the current Samba <a class="link" href="smb.conf.5.html#PASSDBBACKEND" target="_top">passdb backend</a>. 1666 Read the <a class="link" href="passdb.html#acctmgmttools" title="Account Management Tools">Account Management Tools,</a> for details.</p></div><div class="sect2" title="Configuration of auth methods"><div class="titlepage"><div><div><h3 class="title"><a name="id2601707"></a>Configuration of <em class="parameter"><code>auth methods</code></em></h3></div></div></div><p> 1667 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 -
branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/pr01.html
r274 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>About the Cover Artwork</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="next" href="pr02.html" title="Attribution"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">About the Cover Artwork</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="index.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="pr02.html">Next</a></td></tr></table><hr></div><div class="preface" lang="en-US"><div class="titlepage"><div><div><h2 class="title"><a name="id2500842"></a>About the Cover Artwork</h2></div></div></div><p>2 The cover artwork of this book continues the freedom theme of the first edition of “<span class="quote">The Official Samba-33 HOWTO and Reference Guide</span>” . We may look back upon the past to question the motives of those who have1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>About the Cover Artwork</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="next" href="pr02.html" title="Attribution"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">About the Cover Artwork</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="index.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="pr02.html">Next</a></td></tr></table><hr></div><div lang="en-US" class="preface" title="About the Cover Artwork"><div class="titlepage"><div><div><h2 class="title"><a name="id2546473"></a>About the Cover Artwork</h2></div></div></div><p> 2 The cover artwork of this book continues the freedom theme of the first edition of <span class="quote">“<span class="quote">The Official Samba-3 3 HOWTO and Reference Guide</span>”</span>. We may look back upon the past to question the motives of those who have 4 4 gone before us. Seldom do we realise that the past owes us no answer, and despite what we may think of the 5 5 actions of those who have travelled lifes' road before us, we must feel a sense of pride and gratitude for -
branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/pr02.html
r274 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Attribution</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="pr01.html" title="About the Cover Artwork"><link rel="next" href="pr03.html" title="Foreword"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Attribution</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="pr01.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="pr03.html">Next</a></td></tr></table><hr></div><div class="preface" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="id2500910"></a>Attribution</h2></div></div></div><p><a class="link" href="install.html" title="Chapter 1. How to Install and Test SAMBA">How to Install and Test SAMBA</a>2 </p><div class="itemizedlist"><ul type="disc"><li><p>Andrew Tridgell<a class="ulink" href="mailto:tridge@samba.org" target="_top">mailto:tridge@samba.org</a></p></li><li><p>Jelmer R. Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li><p>Karl Auer<a class="ulink" href="mailto:kauer@biplane.com.au" target="_top">mailto:kauer@biplane.com.au</a></p></li><li><p>Dan Shearer<a class="ulink" href="mailto:dan@samba.org" target="_top">mailto:dan@samba.org</a></p></li></ul></div><p>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Attribution</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="pr01.html" title="About the Cover Artwork"><link rel="next" href="pr03.html" title="Foreword"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Attribution</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="pr01.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="pr03.html">Next</a></td></tr></table><hr></div><div class="preface" title="Attribution"><div class="titlepage"><div><div><h2 class="title"><a name="id2506960"></a>Attribution</h2></div></div></div><p><a class="link" href="install.html" title="Chapter 1. How to Install and Test SAMBA">How to Install and Test SAMBA</a> 2 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Andrew Tridgell<a class="ulink" href="mailto:tridge@samba.org" target="_top">mailto:tridge@samba.org</a></p></li><li class="listitem"><p>Jelmer R. Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li class="listitem"><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li class="listitem"><p>Karl Auer<a class="ulink" href="mailto:kauer@biplane.com.au" target="_top">mailto:kauer@biplane.com.au</a></p></li><li class="listitem"><p>Dan Shearer<a class="ulink" href="mailto:dan@samba.org" target="_top">mailto:dan@samba.org</a></p></li></ul></div><p> 3 3 </p><p><a class="link" href="FastStart.html" title="Chapter 2. Fast Start: Cure for Impatience">Fast Start: Cure for Impatience</a> 4 </p><div class="itemizedlist"><ul type="disc"><li><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>4 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p> 5 5 </p><p><a class="link" href="ServerType.html" title="Chapter 3. Server Types and Security Modes">Server Types and Security Modes</a> 6 </p><div class="itemizedlist"><ul type="disc"><li><p>Andrew Tridgell<a class="ulink" href="mailto:tridge@samba.org" target="_top">mailto:tridge@samba.org</a></p></li><li><p>Jelmer R. Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>6 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Andrew Tridgell<a class="ulink" href="mailto:tridge@samba.org" target="_top">mailto:tridge@samba.org</a></p></li><li class="listitem"><p>Jelmer R. Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li class="listitem"><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p> 7 7 </p><p><a class="link" href="samba-pdc.html" title="Chapter 4. Domain Control">Domain Control</a> 8 </p><div class="itemizedlist"><ul type="disc"><li><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li><p>Gerald (Jerry) Carter<a class="ulink" href="mailto:jerry@samba.org" target="_top">mailto:jerry@samba.org</a></p></li><li><p>David Bannon<a class="ulink" href="mailto:dbannon@samba.org" target="_top">mailto:dbannon@samba.org</a></p></li><li><p>Guenther Deschner<a class="ulink" href="mailto:gd@suse.de" target="_top">mailto:gd@suse.de</a> (LDAP updates) </p></li></ul></div><p>8 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li class="listitem"><p>Gerald (Jerry) Carter<a class="ulink" href="mailto:jerry@samba.org" target="_top">mailto:jerry@samba.org</a></p></li><li class="listitem"><p>David Bannon<a class="ulink" href="mailto:dbannon@samba.org" target="_top">mailto:dbannon@samba.org</a></p></li><li class="listitem"><p>Guenther Deschner<a class="ulink" href="mailto:gd@samba.org" target="_top">mailto:gd@samba.org</a> (LDAP updates) </p></li></ul></div><p> 9 9 </p><p><a class="link" href="samba-bdc.html" title="Chapter 5. Backup Domain Control">Backup Domain Control</a> 10 </p><div class="itemizedlist"><ul type="disc"><li><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li><p>Volker Lendecke<a class="ulink" href="mailto:Volker.Lendecke@SerNet.DE" target="_top">mailto:Volker.Lendecke@SerNet.DE</a></p></li><li><p>Guenther Deschner<a class="ulink" href="mailto:gd@suse.de" target="_top">mailto:gd@suse.de</a> (LDAP updates) </p></li></ul></div><p>10 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li class="listitem"><p>Volker Lendecke<a class="ulink" href="mailto:Volker.Lendecke@SerNet.DE" target="_top">mailto:Volker.Lendecke@SerNet.DE</a></p></li><li class="listitem"><p>Guenther Deschner<a class="ulink" href="mailto:gd@samba.org" target="_top">mailto:gd@samba.org</a> (LDAP updates) </p></li></ul></div><p> 11 11 </p><p><a class="link" href="domain-member.html" title="Chapter 6. Domain Membership">Domain Membership</a> 12 </p><div class="itemizedlist"><ul type="disc"><li><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li><p>Jeremy Allison<a class="ulink" href="mailto:jra@samba.org" target="_top">mailto:jra@samba.org</a></p></li><li><p>Gerald (Jerry) Carter<a class="ulink" href="mailto:jerry@samba.org" target="_top">mailto:jerry@samba.org</a></p></li><li><p>Andrew Tridgell<a class="ulink" href="mailto:tridge@samba.org" target="_top">mailto:tridge@samba.org</a></p></li><li><p>Jelmer R. Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li><p>Guenther Deschner<a class="ulink" href="mailto:gd@suse.de" target="_top">mailto:gd@suse.de</a> (LDAP updates) </p></li></ul></div><p>12 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li class="listitem"><p>Jeremy Allison<a class="ulink" href="mailto:jra@samba.org" target="_top">mailto:jra@samba.org</a></p></li><li class="listitem"><p>Gerald (Jerry) Carter<a class="ulink" href="mailto:jerry@samba.org" target="_top">mailto:jerry@samba.org</a></p></li><li class="listitem"><p>Andrew Tridgell<a class="ulink" href="mailto:tridge@samba.org" target="_top">mailto:tridge@samba.org</a></p></li><li class="listitem"><p>Jelmer R. Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li class="listitem"><p>Guenther Deschner<a class="ulink" href="mailto:gd@samba.org" target="_top">mailto:gd@samba.org</a> (LDAP updates) </p></li></ul></div><p> 13 13 </p><p><a class="link" href="StandAloneServer.html" title="Chapter 7. Standalone Servers">Standalone Servers</a> 14 </p><div class="itemizedlist"><ul type="disc"><li><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>14 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p> 15 15 </p><p><a class="link" href="ClientConfig.html" title="Chapter 8. MS Windows Network Configuration Guide">MS Windows Network Configuration Guide</a> 16 </p><div class="itemizedlist"><ul type="disc"><li><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>16 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p> 17 17 </p><p><a class="link" href="ChangeNotes.html" title="Chapter 9. Important and Critical Change Notes for the Samba 3.x Series">Important and Critical Change Notes for the Samba 3.x Series</a> 18 </p><div class="itemizedlist"><ul type="disc"><li><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li><p>Gerald (Jerry) Carter<a class="ulink" href="mailto:jerry@samba.org" target="_top">mailto:jerry@samba.org</a></p></li></ul></div><p>18 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li class="listitem"><p>Gerald (Jerry) Carter<a class="ulink" href="mailto:jerry@samba.org" target="_top">mailto:jerry@samba.org</a></p></li></ul></div><p> 19 19 </p><p><a class="link" href="NetworkBrowsing.html" title="Chapter 10. Network Browsing">Network Browsing</a> 20 </p><div class="itemizedlist"><ul type="disc"><li><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li><p>Jelmer R. Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li><p>Jonathan Johnson<a class="ulink" href="mailto:jon@sutinen.com" target="_top">mailto:jon@sutinen.com</a></p></li></ul></div><p>20 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li class="listitem"><p>Jelmer R. Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li class="listitem"><p>Jonathan Johnson<a class="ulink" href="mailto:jon@sutinen.com" target="_top">mailto:jon@sutinen.com</a></p></li></ul></div><p> 21 21 </p><p><a class="link" href="passdb.html" title="Chapter 11. Account Information Databases">Account Information Databases</a> 22 </p><div class="itemizedlist"><ul type="disc"><li><p>Jelmer R. Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li><p>Gerald (Jerry) Carter<a class="ulink" href="mailto:jerry@samba.org" target="_top">mailto:jerry@samba.org</a></p></li><li><p>Jeremy Allison<a class="ulink" href="mailto:jra@samba.org" target="_top">mailto:jra@samba.org</a></p></li><li><p>Guenther Deschner<a class="ulink" href="mailto:gd@suse.de" target="_top">mailto:gd@suse.de</a> (LDAP updates) </p></li><li><p>Olivier (lem) Lemaire<a class="ulink" href="mailto:olem@IDEALX.org" target="_top">mailto:olem@IDEALX.org</a></p></li></ul></div><p>22 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Jelmer R. Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li class="listitem"><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li class="listitem"><p>Gerald (Jerry) Carter<a class="ulink" href="mailto:jerry@samba.org" target="_top">mailto:jerry@samba.org</a></p></li><li class="listitem"><p>Jeremy Allison<a class="ulink" href="mailto:jra@samba.org" target="_top">mailto:jra@samba.org</a></p></li><li class="listitem"><p>Guenther Deschner<a class="ulink" href="mailto:gd@samba.org" target="_top">mailto:gd@samba.org</a> (LDAP updates) </p></li><li class="listitem"><p>Olivier (lem) Lemaire<a class="ulink" href="mailto:olem@IDEALX.org" target="_top">mailto:olem@IDEALX.org</a></p></li></ul></div><p> 23 23 </p><p><a class="link" href="groupmapping.html" title="Chapter 12. Group Mapping: MS Windows and UNIX">Group Mapping: MS Windows and UNIX</a> 24 </p><div class="itemizedlist"><ul type="disc"><li><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li><p>Jean François Micouleau</p></li><li><p>Gerald (Jerry) Carter<a class="ulink" href="mailto:jerry@samba.org" target="_top">mailto:jerry@samba.org</a></p></li></ul></div><p>24 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li class="listitem"><p>Jean François Micouleau</p></li><li class="listitem"><p>Gerald (Jerry) Carter<a class="ulink" href="mailto:jerry@samba.org" target="_top">mailto:jerry@samba.org</a></p></li></ul></div><p> 25 25 </p><p><a class="link" href="NetCommand.html" title="Chapter 13. Remote and Local Management: The Net Command">Remote and Local Management: The Net Command</a> 26 </p><div class="itemizedlist"><ul type="disc"><li><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li><p>Volker Lendecke<a class="ulink" href="mailto:Volker.Lendecke@SerNet.DE" target="_top">mailto:Volker.Lendecke@SerNet.DE</a></p></li><li><p>Guenther Deschner<a class="ulink" href="mailto:gd@suse.de" target="_top">mailto:gd@suse.de</a></p></li></ul></div><p>26 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li class="listitem"><p>Volker Lendecke<a class="ulink" href="mailto:Volker.Lendecke@SerNet.DE" target="_top">mailto:Volker.Lendecke@SerNet.DE</a></p></li><li class="listitem"><p>Guenther Deschner<a class="ulink" href="mailto:gd@samba.org" target="_top">mailto:gd@samba.org</a></p></li></ul></div><p> 27 27 </p><p><a class="link" href="idmapper.html" title="Chapter 14. Identity Mapping (IDMAP)">Identity Mapping (IDMAP)</a> 28 </p><div class="itemizedlist"><ul type="disc"><li><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>28 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p> 29 29 </p><p><a class="link" href="rights.html" title="Chapter 15. User Rights and Privileges">User Rights and Privileges</a> 30 </p><div class="itemizedlist"><ul type="disc"><li><p>Gerald (Jerry) Carter<a class="ulink" href="mailto:jerry@samba.org" target="_top">mailto:jerry@samba.org</a></p></li><li><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>30 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Gerald (Jerry) Carter<a class="ulink" href="mailto:jerry@samba.org" target="_top">mailto:jerry@samba.org</a></p></li><li class="listitem"><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p> 31 31 </p><p><a class="link" href="AccessControls.html" title="Chapter 16. File, Directory, and Share Access Controls">File, Directory, and Share Access Controls</a> 32 </p><div class="itemizedlist"><ul type="disc"><li><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li><p>Jeremy Allison<a class="ulink" href="mailto:jra@samba.org" target="_top">mailto:jra@samba.org</a></p></li><li><p>Jelmer R. Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a> (drawing) </p></li></ul></div><p>32 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li class="listitem"><p>Jeremy Allison<a class="ulink" href="mailto:jra@samba.org" target="_top">mailto:jra@samba.org</a></p></li><li class="listitem"><p>Jelmer R. Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a> (drawing) </p></li></ul></div><p> 33 33 </p><p><a class="link" href="locking.html" title="Chapter 17. File and Record Locking">File and Record Locking</a> 34 </p><div class="itemizedlist"><ul type="disc"><li><p>Jeremy Allison<a class="ulink" href="mailto:jra@samba.org" target="_top">mailto:jra@samba.org</a></p></li><li><p>Jelmer R. Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li><p>Eric Roseme<a class="ulink" href="mailto:eric.roseme@hp.com" target="_top">mailto:eric.roseme@hp.com</a></p></li></ul></div><p>34 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Jeremy Allison<a class="ulink" href="mailto:jra@samba.org" target="_top">mailto:jra@samba.org</a></p></li><li class="listitem"><p>Jelmer R. Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li class="listitem"><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li class="listitem"><p>Eric Roseme<a class="ulink" href="mailto:eric.roseme@hp.com" target="_top">mailto:eric.roseme@hp.com</a></p></li></ul></div><p> 35 35 </p><p><a class="link" href="securing-samba.html" title="Chapter 18. Securing Samba">Securing Samba</a> 36 </p><div class="itemizedlist"><ul type="disc"><li><p>Andrew Tridgell<a class="ulink" href="mailto:tridge@samba.org" target="_top">mailto:tridge@samba.org</a></p></li><li><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>36 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Andrew Tridgell<a class="ulink" href="mailto:tridge@samba.org" target="_top">mailto:tridge@samba.org</a></p></li><li class="listitem"><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p> 37 37 </p><p><a class="link" href="InterdomainTrusts.html" title="Chapter 19. Interdomain Trust Relationships">Interdomain Trust Relationships</a> 38 </p><div class="itemizedlist"><ul type="disc"><li><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li><p>Rafal Szczesniak<a class="ulink" href="mailto:mimir@samba.org" target="_top">mailto:mimir@samba.org</a></p></li><li><p>Jelmer R. Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a> (drawing) </p></li><li><p>Stephen Langasek<a class="ulink" href="mailto:vorlon@netexpress.net" target="_top">mailto:vorlon@netexpress.net</a></p></li></ul></div><p>38 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li class="listitem"><p>Rafal Szczesniak<a class="ulink" href="mailto:mimir@samba.org" target="_top">mailto:mimir@samba.org</a></p></li><li class="listitem"><p>Jelmer R. Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a> (drawing) </p></li><li class="listitem"><p>Stephen Langasek<a class="ulink" href="mailto:vorlon@netexpress.net" target="_top">mailto:vorlon@netexpress.net</a></p></li></ul></div><p> 39 39 </p><p><a class="link" href="msdfs.html" title="Chapter 20. Hosting a Microsoft Distributed File System Tree">Hosting a Microsoft Distributed File System Tree</a> 40 </p><div class="itemizedlist"><ul type="disc"><li><p>Shirish Kalele<a class="ulink" href="mailto:samba@samba.org" target="_top">mailto:samba@samba.org</a></p></li><li><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>40 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Shirish Kalele<a class="ulink" href="mailto:samba@samba.org" target="_top">mailto:samba@samba.org</a></p></li><li class="listitem"><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p> 41 41 </p><p><a class="link" href="classicalprinting.html" title="Chapter 21. Classical Printing Support">Classical Printing Support</a> 42 </p><div class="itemizedlist"><ul type="disc"><li><p>Kurt Pfeifle<a class="ulink" href="mailto:kpfeifle@danka.de" target="_top">mailto:kpfeifle@danka.de</a></p></li><li><p>Gerald (Jerry) Carter<a class="ulink" href="mailto:jerry@samba.org" target="_top">mailto:jerry@samba.org</a></p></li><li><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>42 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Kurt Pfeifle<a class="ulink" href="mailto:kpfeifle@danka.de" target="_top">mailto:kpfeifle@danka.de</a></p></li><li class="listitem"><p>Gerald (Jerry) Carter<a class="ulink" href="mailto:jerry@samba.org" target="_top">mailto:jerry@samba.org</a></p></li><li class="listitem"><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p> 43 43 </p><p><a class="link" href="CUPS-printing.html" title="Chapter 22. CUPS Printing Support">CUPS Printing Support</a> 44 </p><div class="itemizedlist"><ul type="disc"><li><p>Kurt Pfeifle<a class="ulink" href="mailto:kpfeifle@danka.de" target="_top">mailto:kpfeifle@danka.de</a></p></li><li><p>Ciprian Vizitiu<a class="ulink" href="mailto:CVizitiu@gbif.org" target="_top">mailto:CVizitiu@gbif.org</a> (drawings) </p></li><li><p>Jelmer R. Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a> (drawings) </p></li></ul></div><p>44 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Kurt Pfeifle<a class="ulink" href="mailto:kpfeifle@danka.de" target="_top">mailto:kpfeifle@danka.de</a></p></li><li class="listitem"><p>Ciprian Vizitiu<a class="ulink" href="mailto:CVizitiu@gbif.org" target="_top">mailto:CVizitiu@gbif.org</a> (drawings) </p></li><li class="listitem"><p>Jelmer R. Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a> (drawings) </p></li></ul></div><p> 45 45 </p><p><a class="link" href="VFS.html" title="Chapter 23. Stackable VFS modules">Stackable VFS modules</a> 46 </p><div class="itemizedlist"><ul type="disc"><li><p>Jelmer R. Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li><p>Tim Potter<a class="ulink" href="mailto:tpot@samba.org" target="_top">mailto:tpot@samba.org</a></p></li><li><p>Simo Sorce (original vfs_skel README) </p></li><li><p>Alexander Bokovoy (original vfs_netatalk docs) </p></li><li><p>Stefan Metzmacher (Update for multiple modules) </p></li><li><p>Ed Riddle (original shadow_copy docs) </p></li></ul></div><p>46 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Jelmer R. Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li class="listitem"><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li class="listitem"><p>Tim Potter<a class="ulink" href="mailto:tpot@samba.org" target="_top">mailto:tpot@samba.org</a></p></li><li class="listitem"><p>Simo Sorce (original vfs_skel README) </p></li><li class="listitem"><p>Alexander Bokovoy (original vfs_netatalk docs) </p></li><li class="listitem"><p>Stefan Metzmacher (Update for multiple modules) </p></li><li class="listitem"><p>Ed Riddle (original shadow_copy docs) </p></li></ul></div><p> 47 47 </p><p><a class="link" href="winbind.html" title="Chapter 24. Winbind: Use of Domain Accounts">Winbind: Use of Domain Accounts</a> 48 </p><div class="itemizedlist"><ul type="disc"><li><p>Tim Potter<a class="ulink" href="mailto:tpot@linuxcare.com.au" target="_top">mailto:tpot@linuxcare.com.au</a></p></li><li><p>Andrew Tridgell<a class="ulink" href="mailto:tridge@samba.org" target="_top">mailto:tridge@samba.org</a></p></li><li><p>Naag Mummaneni<a class="ulink" href="mailto:getnag@rediffmail.com" target="_top">mailto:getnag@rediffmail.com</a> (Notes for Solaris) </p></li><li><p>John Trostel<a class="ulink" href="mailto:jtrostel@snapserver.com" target="_top">mailto:jtrostel@snapserver.com</a></p></li><li><p>Jelmer R. Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>48 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Tim Potter<a class="ulink" href="mailto:tpot@linuxcare.com.au" target="_top">mailto:tpot@linuxcare.com.au</a></p></li><li class="listitem"><p>Andrew Tridgell<a class="ulink" href="mailto:tridge@samba.org" target="_top">mailto:tridge@samba.org</a></p></li><li class="listitem"><p>Naag Mummaneni<a class="ulink" href="mailto:getnag@rediffmail.com" target="_top">mailto:getnag@rediffmail.com</a> (Notes for Solaris) </p></li><li class="listitem"><p>John Trostel<a class="ulink" href="mailto:jtrostel@snapserver.com" target="_top">mailto:jtrostel@snapserver.com</a></p></li><li class="listitem"><p>Jelmer R. Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li class="listitem"><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p> 49 49 </p><p><a class="link" href="AdvancedNetworkManagement.html" title="Chapter 25. Advanced Network Management">Advanced Network Management</a> 50 </p><div class="itemizedlist"><ul type="disc"><li><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>50 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p> 51 51 </p><p><a class="link" href="PolicyMgmt.html" title="Chapter 26. System and Account Policies">System and Account Policies</a> 52 </p><div class="itemizedlist"><ul type="disc"><li><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>52 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p> 53 53 </p><p><a class="link" href="ProfileMgmt.html" title="Chapter 27. Desktop Profile Management">Desktop Profile Management</a> 54 </p><div class="itemizedlist"><ul type="disc"><li><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>54 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p> 55 55 </p><p><a class="link" href="pam.html" title="Chapter 28. PAM-Based Distributed Authentication">PAM-Based Distributed Authentication</a> 56 </p><div class="itemizedlist"><ul type="disc"><li><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li><p>Stephen Langasek<a class="ulink" href="mailto:vorlon@netexpress.net" target="_top">mailto:vorlon@netexpress.net</a></p></li></ul></div><p>56 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li class="listitem"><p>Stephen Langasek<a class="ulink" href="mailto:vorlon@netexpress.net" target="_top">mailto:vorlon@netexpress.net</a></p></li></ul></div><p> 57 57 </p><p><a class="link" href="integrate-ms-networks.html" title="Chapter 29. Integrating MS Windows Networks with Samba">Integrating MS Windows Networks with Samba</a> 58 </p><div class="itemizedlist"><ul type="disc"><li><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>58 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p> 59 59 </p><p><a class="link" href="unicode.html" title="Chapter 30. Unicode/Charsets">Unicode/Charsets</a> 60 </p><div class="itemizedlist"><ul type="disc"><li><p>Jelmer R. Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li><p>TAKAHASHI Motonobu<a class="ulink" href="mailto:monyo@home.monyo.com" target="_top">mailto:monyo@home.monyo.com</a> (Japanese character support) </p></li></ul></div><p>60 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Jelmer R. Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li class="listitem"><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li class="listitem"><p>TAKAHASHI Motonobu<a class="ulink" href="mailto:monyo@home.monyo.com" target="_top">mailto:monyo@home.monyo.com</a> (Japanese character support) </p></li></ul></div><p> 61 61 </p><p><a class="link" href="Backup.html" title="Chapter 31. Backup Techniques">Backup Techniques</a> 62 </p><div class="itemizedlist"><ul type="disc"><li><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>62 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p> 63 63 </p><p><a class="link" href="SambaHA.html" title="Chapter 32. High Availability">High Availability</a> 64 </p><div class="itemizedlist"><ul type="disc"><li><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li><p>Jeremy Allison<a class="ulink" href="mailto:jra@samba.org" target="_top">mailto:jra@samba.org</a></p></li></ul></div><p>64 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li class="listitem"><p>Jeremy Allison<a class="ulink" href="mailto:jra@samba.org" target="_top">mailto:jra@samba.org</a></p></li></ul></div><p> 65 65 </p><p><a class="link" href="largefile.html" title="Chapter 33. Handling Large Directories">Handling Large Directories</a> 66 </p><div class="itemizedlist"><ul type="disc"><li><p>Jeremy Allison<a class="ulink" href="mailto:jra@samba.org" target="_top">mailto:jra@samba.org</a></p></li><li><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>66 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Jeremy Allison<a class="ulink" href="mailto:jra@samba.org" target="_top">mailto:jra@samba.org</a></p></li><li class="listitem"><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p> 67 67 </p><p><a class="link" href="cfgsmarts.html" title="Chapter 34. Advanced Configuration Techniques">Advanced Configuration Techniques</a> 68 </p><div class="itemizedlist"><ul type="disc"><li><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>68 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p> 69 69 </p><p><a class="link" href="upgrading-to-3.0.html" title="Chapter 35. Updating and Upgrading Samba">Updating and Upgrading Samba</a> 70 </p><div class="itemizedlist"><ul type="disc"><li><p>Jelmer R. Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li><p>Gerald (Jerry) Carter<a class="ulink" href="mailto:jerry@samba.org" target="_top">mailto:jerry@samba.org</a></p></li></ul></div><p>70 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Jelmer R. Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li class="listitem"><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li class="listitem"><p>Gerald (Jerry) Carter<a class="ulink" href="mailto:jerry@samba.org" target="_top">mailto:jerry@samba.org</a></p></li></ul></div><p> 71 71 </p><p><a class="link" href="NT4Migration.html" title="Chapter 36. Migration from NT4 PDC to Samba-3 PDC">Migration from NT4 PDC to Samba-3 PDC</a> 72 </p><div class="itemizedlist"><ul type="disc"><li><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>72 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p> 73 73 </p><p><a class="link" href="SWAT.html" title="Chapter 37. SWAT: The Samba Web Administration Tool">SWAT: The Samba Web Administration Tool</a> 74 </p><div class="itemizedlist"><ul type="disc"><li><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>74 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p> 75 75 </p><p><a class="link" href="diagnosis.html" title="Chapter 38. The Samba Checklist">The Samba Checklist</a> 76 </p><div class="itemizedlist"><ul type="disc"><li><p>Andrew Tridgell<a class="ulink" href="mailto:tridge@samba.org" target="_top">mailto:tridge@samba.org</a></p></li><li><p>Jelmer R. Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li><p>Dan Shearer<a class="ulink" href="mailto:dan@samba.org" target="_top">mailto:dan@samba.org</a></p></li></ul></div><p>76 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Andrew Tridgell<a class="ulink" href="mailto:tridge@samba.org" target="_top">mailto:tridge@samba.org</a></p></li><li class="listitem"><p>Jelmer R. Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li class="listitem"><p>Dan Shearer<a class="ulink" href="mailto:dan@samba.org" target="_top">mailto:dan@samba.org</a></p></li></ul></div><p> 77 77 </p><p><a class="link" href="problems.html" title="Chapter 39. Analyzing and Solving Samba Problems">Analyzing and Solving Samba Problems</a> 78 </p><div class="itemizedlist"><ul type="disc"><li><p>Gerald (Jerry) Carter<a class="ulink" href="mailto:jerry@samba.org" target="_top">mailto:jerry@samba.org</a></p></li><li><p>Jelmer R. Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li><p>David Bannon<a class="ulink" href="mailto:dbannon@samba.org" target="_top">mailto:dbannon@samba.org</a></p></li><li><p>Dan Shearer<a class="ulink" href="mailto:dan@samba.org" target="_top">mailto:dan@samba.org</a></p></li></ul></div><p>78 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Gerald (Jerry) Carter<a class="ulink" href="mailto:jerry@samba.org" target="_top">mailto:jerry@samba.org</a></p></li><li class="listitem"><p>Jelmer R. Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li class="listitem"><p>David Bannon<a class="ulink" href="mailto:dbannon@samba.org" target="_top">mailto:dbannon@samba.org</a></p></li><li class="listitem"><p>Dan Shearer<a class="ulink" href="mailto:dan@samba.org" target="_top">mailto:dan@samba.org</a></p></li></ul></div><p> 79 79 </p><p><a class="link" href="bugreport.html" title="Chapter 40. Reporting Bugs">Reporting Bugs</a> 80 </p><div class="itemizedlist"><ul type="disc"><li><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li><p>Jelmer R. Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li><p>Andrew Tridgell<a class="ulink" href="mailto:tridge@samba.org" target="_top">mailto:tridge@samba.org</a></p></li></ul></div><p>80 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li class="listitem"><p>Jelmer R. Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li class="listitem"><p>Andrew Tridgell<a class="ulink" href="mailto:tridge@samba.org" target="_top">mailto:tridge@samba.org</a></p></li></ul></div><p> 81 81 </p><p><a class="link" href="tdb.html" title="Chapter 41. Managing TDB Files">Managing TDB Files</a> 82 </p><div class="itemizedlist"><ul type="disc"><li><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>82 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p> 83 83 </p><p><a class="link" href="compiling.html" title="Chapter 42. How to Compile Samba">How to Compile Samba</a> 84 </p><div class="itemizedlist"><ul type="disc"><li><p>Jelmer R. Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li><p>Andrew Tridgell<a class="ulink" href="mailto:tridge@samba.org" target="_top">mailto:tridge@samba.org</a></p></li></ul></div><p>84 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Jelmer R. Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li class="listitem"><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li class="listitem"><p>Andrew Tridgell<a class="ulink" href="mailto:tridge@samba.org" target="_top">mailto:tridge@samba.org</a></p></li></ul></div><p> 85 85 </p><p><a class="link" href="Portability.html" title="Chapter 43. Portability">Portability</a> 86 </p><div class="itemizedlist"><ul type="disc"><li><p>Jelmer R. Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>86 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Jelmer R. Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li class="listitem"><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p> 87 87 </p><p><a class="link" href="Other-Clients.html" title="Chapter 44. Samba and Other CIFS Clients">Samba and Other CIFS Clients</a> 88 </p><div class="itemizedlist"><ul type="disc"><li><p>Jelmer R. Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li><p>Dan Shearer<a class="ulink" href="mailto:dan@samba.org" target="_top">mailto:dan@samba.org</a></p></li><li><p>Jim McDonough<a class="ulink" href="mailto:jmcd@us.ibm.com" target="_top">mailto:jmcd@us.ibm.com</a> (OS/2) </p></li></ul></div><p>88 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Jelmer R. Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li class="listitem"><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li><li class="listitem"><p>Dan Shearer<a class="ulink" href="mailto:dan@samba.org" target="_top">mailto:dan@samba.org</a></p></li><li class="listitem"><p>Jim McDonough<a class="ulink" href="mailto:jmcd@us.ibm.com" target="_top">mailto:jmcd@us.ibm.com</a> (OS/2) </p></li></ul></div><p> 89 89 </p><p><a class="link" href="speed.html" title="Chapter 45. Samba Performance Tuning">Samba Performance Tuning</a> 90 </p><div class="itemizedlist"><ul type="disc"><li><p>Paul Cochrane<a class="ulink" href="mailto:paulc@dth.scot.nhs.uk" target="_top">mailto:paulc@dth.scot.nhs.uk</a></p></li><li><p>Jelmer R. Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>90 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Paul Cochrane<a class="ulink" href="mailto:paulc@dth.scot.nhs.uk" target="_top">mailto:paulc@dth.scot.nhs.uk</a></p></li><li class="listitem"><p>Jelmer R. Vernooij<a class="ulink" href="mailto:jelmer@samba.org" target="_top">mailto:jelmer@samba.org</a></p></li><li class="listitem"><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p> 91 91 </p><p><a class="link" href="ch-ldap-tls.html" title="Chapter 46. LDAP and Transport Layer Security">LDAP and Transport Layer Security</a> 92 </p><div class="itemizedlist"><ul type="disc"><li><p>Gavin Henry<a class="ulink" href="mailto:ghenry@suretecsystems.com" target="_top">mailto:ghenry@suretecsystems.com</a></p></li></ul></div><p>92 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Gavin Henry<a class="ulink" href="mailto:ghenry@suretecsystems.com" target="_top">mailto:ghenry@suretecsystems.com</a></p></li></ul></div><p> 93 93 </p><p><a class="link" href="DNSDHCP.html" title="Chapter 48. DNS and DHCP Configuration Guide">DNS and DHCP Configuration Guide</a> 94 </p><div class="itemizedlist"><ul type="disc"><li><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p>94 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>John H. Terpstra<a class="ulink" href="mailto:jht@samba.org" target="_top">mailto:jht@samba.org</a></p></li></ul></div><p> 95 95 </p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="pr01.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="pr03.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">About the Cover Artwork </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Foreword</td></tr></table></div></body></html> -
branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/pr03.html
r274 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Foreword</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="pr02.html" title="Attribution"><link rel="next" href="TOSHpreface.html" title="Preface"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Foreword</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="pr02.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="TOSHpreface.html">Next</a></td></tr></table><hr></div><div class="preface" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="id2550942"></a>Foreword</h2></div></div></div><p>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Foreword</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="pr02.html" title="Attribution"><link rel="next" href="TOSHpreface.html" title="Preface"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Foreword</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="pr02.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="TOSHpreface.html">Next</a></td></tr></table><hr></div><div class="preface" title="Foreword"><div class="titlepage"><div><div><h2 class="title"><a name="id2557000"></a>Foreword</h2></div></div></div><p> 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 … … 51 51 owed a debt of gratitude by those of us who rely on standards to make our lives more manageable. 52 52 </p><p> 53 </p><table class="simplelist" border="0" summary="Simplelist"><tr><td>Carl Cargill, Senior Director</td></tr><tr><td>Corporate Standardization, The Office of the CTO</td></tr><tr><td>Sun Microsystems</td></tr></table><p>53 </p><table border="0" summary="Simple list" class="simplelist"><tr><td>Carl Cargill, Senior Director</td></tr><tr><td>Corporate Standardization, The Office of the CTO</td></tr><tr><td>Sun Microsystems</td></tr></table><p> 54 54 </p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="pr02.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="TOSHpreface.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Attribution </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Preface</td></tr></table></div></body></html> -
branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/problems.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 39. Analyzing and Solving Samba Problems</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="troubleshooting.html" title="Part V. Troubleshooting"><link rel="prev" href="diagnosis.html" title="Chapter 38. The Samba Checklist"><link rel="next" href="bugreport.html" title="Chapter 40. Reporting Bugs"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 39. Analyzing and Solving Samba Problems</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="diagnosis.html">Prev</a> </td><th width="60%" align="center">Part V. Troubleshooting</th><td width="20%" align="right"> <a accesskey="n" href="bugreport.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="problems"></a>Chapter 39. Analyzing and Solving Samba Problems</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Gerald</span> <span class="othername">(Jerry)</span> <span class="orgname">Samba Team</span> <span class="surname">Carter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2684879">Diagnostics Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="problems.html#id2684931">Debugging with Samba Itself</a></span></dt><dt><span class="sect2"><a href="problems.html#id2685187">Tcpdump</a></span></dt><dt><span class="sect2"><a href="problems.html#id2685238">Ethereal</a></span></dt><dt><span class="sect2"><a href="problems.html#id2685381">The Windows Network Monitor</a></span></dt></dl></dd><dt><span class="sect1"><a href="problems.html#id2685707">Useful URLs</a></span></dt><dt><span class="sect1"><a href="problems.html#id2685744">Getting Mailing List Help</a></span></dt><dt><span class="sect1"><a href="problems.html#id2685919">How to Get Off the Mailing Lists</a></span></dt></dl></div><p>2 <a class="indexterm" name="id26 84854"></a>3 <a class="indexterm" name="id26 84860"></a>4 <a class="indexterm" name="id26 84867"></a>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 39. Analyzing and Solving Samba Problems</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="troubleshooting.html" title="Part V. Troubleshooting"><link rel="prev" href="diagnosis.html" title="Chapter 38. The Samba Checklist"><link rel="next" href="bugreport.html" title="Chapter 40. Reporting Bugs"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 39. Analyzing and Solving Samba Problems</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="diagnosis.html">Prev</a> </td><th width="60%" align="center">Part V. Troubleshooting</th><td width="20%" align="right"> <a accesskey="n" href="bugreport.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 39. Analyzing and Solving Samba Problems"><div class="titlepage"><div><div><h2 class="title"><a name="problems"></a>Chapter 39. Analyzing and Solving Samba Problems</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Gerald</span> <span class="othername">(Jerry)</span> <span class="surname">Carter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2690936">Diagnostics Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="problems.html#id2690988">Debugging with Samba Itself</a></span></dt><dt><span class="sect2"><a href="problems.html#id2691244">Tcpdump</a></span></dt><dt><span class="sect2"><a href="problems.html#id2691294">Ethereal</a></span></dt><dt><span class="sect2"><a href="problems.html#id2691438">The Windows Network Monitor</a></span></dt></dl></dd><dt><span class="sect1"><a href="problems.html#id2691764">Useful URLs</a></span></dt><dt><span class="sect1"><a href="problems.html#id2691801">Getting Mailing List Help</a></span></dt><dt><span class="sect1"><a href="problems.html#id2691975">How to Get Off the Mailing Lists</a></span></dt></dl></div><p> 2 <a class="indexterm" name="id2690910"></a> 3 <a class="indexterm" name="id2690917"></a> 4 <a class="indexterm" name="id2690924"></a> 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="id2684879"></a>Diagnostics Tools</h2></div></div></div><p>9 <a class="indexterm" name="id26 84887"></a>10 <a class="indexterm" name="id26 84894"></a>11 <a class="indexterm" name="id26 84901"></a>12 <a class="indexterm" name="id26 84908"></a>13 <a class="indexterm" name="id26 84914"></a>8 </p><div class="sect1" title="Diagnostics Tools"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2690936"></a>Diagnostics Tools</h2></div></div></div><p> 9 <a class="indexterm" name="id2690944"></a> 10 <a class="indexterm" name="id2690951"></a> 11 <a class="indexterm" name="id2690957"></a> 12 <a class="indexterm" name="id2690964"></a> 13 <a class="indexterm" name="id2690971"></a> 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="id2684931"></a>Debugging with Samba Itself</h3></div></div></div><p>19 <a class="indexterm" name="id26 84939"></a>20 <a class="indexterm" name="id26 84946"></a>21 <a class="indexterm" name="id26 84953"></a>22 <a class="indexterm" name="id26 84960"></a>23 <a class="indexterm" name="id26 84967"></a>24 <a class="indexterm" name="id26 84974"></a>25 <a class="indexterm" name="id26 84981"></a>18 </p><div class="sect2" title="Debugging with Samba Itself"><div class="titlepage"><div><div><h3 class="title"><a name="id2690988"></a>Debugging with Samba Itself</h3></div></div></div><p> 19 <a class="indexterm" name="id2690996"></a> 20 <a class="indexterm" name="id2691003"></a> 21 <a class="indexterm" name="id2691010"></a> 22 <a class="indexterm" name="id2691017"></a> 23 <a class="indexterm" name="id2691024"></a> 24 <a class="indexterm" name="id2691030"></a> 25 <a class="indexterm" name="id2691037"></a> 26 26 One of the best diagnostic tools for debugging problems is Samba itself. You can use the <code class="option">-d 27 27 option</code> for both <span class="application">smbd</span> and <span class="application">nmbd</span> to specify the <a class="link" href="smb.conf.5.html#DEBUGLEVEL" target="_top">debug level</a> at which to run. … … 29 29 options. The debug level (log level) can range from 1 (the default) to 10 (100 for debugging passwords). 30 30 </p><p> 31 <a class="indexterm" name="id26 85035"></a>32 <a class="indexterm" name="id26 85042"></a>33 <a class="indexterm" name="id26 85049"></a>34 <a class="indexterm" name="id26 85056"></a>35 <a class="indexterm" name="id26 85062"></a>36 <a class="indexterm" name="id26 85069"></a>37 <a class="indexterm" name="id26 85076"></a>31 <a class="indexterm" name="id2691092"></a> 32 <a class="indexterm" name="id2691098"></a> 33 <a class="indexterm" name="id2691105"></a> 34 <a class="indexterm" name="id2691112"></a> 35 <a class="indexterm" name="id2691119"></a> 36 <a class="indexterm" name="id2691126"></a> 37 <a class="indexterm" name="id2691133"></a> 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 85145"></a>50 <a class="indexterm" name="id26 85152"></a>49 <a class="indexterm" name="id2691202"></a> 50 <a class="indexterm" name="id2691209"></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="id2685187"></a>Tcpdump</h3></div></div></div><p>56 <a class="indexterm" name="id26 85195"></a>57 <a class="indexterm" name="id26 85202"></a>58 <a class="indexterm" name="id26 85209"></a>55 </p></div><div class="sect2" title="Tcpdump"><div class="titlepage"><div><div><h3 class="title"><a name="id2691244"></a>Tcpdump</h3></div></div></div><p> 56 <a class="indexterm" name="id2691252"></a> 57 <a class="indexterm" name="id2691259"></a> 58 <a class="indexterm" name="id2691265"></a> 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="id2685238"></a>Ethereal</h3></div></div></div><p>64 <a class="indexterm" name="id26 85245"></a>63 </p></div><div class="sect2" title="Ethereal"><div class="titlepage"><div><div><h3 class="title"><a name="id2691294"></a>Ethereal</h3></div></div></div><p> 64 <a class="indexterm" name="id2691302"></a> 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 85308"></a>69 <a class="indexterm" name="id2691365"></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="id2685381"></a>The Windows Network Monitor</h3></div></div></div><p>75 <a class="indexterm" name="id26 85389"></a>76 <a class="indexterm" name="id26 85396"></a>77 <a class="indexterm" name="id26 85403"></a>78 <a class="indexterm" name="id26 85410"></a>79 <a class="indexterm" name="id26 85417"></a>80 <a class="indexterm" name="id26 85424"></a>74 </p><div class="figure"><a name="ethereal2"></a><p class="title"><b>Figure 39.2. Main Ethereal Data Window.</b></p><div class="figure-contents"><div class="mediaobject"><img src="images/ethereal2.png" alt="Main Ethereal Data Window."></div></div></div><br class="figure-break"></div><div class="sect2" title="The Windows Network Monitor"><div class="titlepage"><div><div><h3 class="title"><a name="id2691438"></a>The Windows Network Monitor</h3></div></div></div><p> 75 <a class="indexterm" name="id2691446"></a> 76 <a class="indexterm" name="id2691453"></a> 77 <a class="indexterm" name="id2691460"></a> 78 <a class="indexterm" name="id2691467"></a> 79 <a class="indexterm" name="id2691473"></a> 80 <a class="indexterm" name="id2691480"></a> 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="id2685441"></a>Installing Network Monitor on an NT Workstation</h4></div></div></div><p>88 <a class="indexterm" name="id26 85449"></a>87 </p><div class="sect3" title="Installing Network Monitor on an NT Workstation"><div class="titlepage"><div><div><h4 class="title"><a name="id2691497"></a>Installing Network Monitor on an NT Workstation</h4></div></div></div><p> 88 <a class="indexterm" name="id2691506"></a> 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 85466"></a>94 <a class="indexterm" name="id2691523"></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: 97 </p><div class="itemizedlist"><ul type="disc"><li><p>Go to <span class="guibutton">Start</span> -> <span class="guibutton">Settings</span> -> <span class="guibutton">Control Panel</span> ->98 <span class="guibutton">Network</span> -> <span class="guibutton">Services</span> -> <span class="guibutton">Add</span>.</p></li><li ><p>Select the <span class="guilabel">Network Monitor Tools and Agent</span> and click on <span class="guibutton">OK</span>.</p></li><li><p>Click on <span class="guibutton">OK</span> on the Network Control Panel.</p></li><li><p>Insert the Windows NT Server 4.0 install CD when prompted.</p></li></ul></div><p>97 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Go to <span class="guibutton">Start</span> -> <span class="guibutton">Settings</span> -> <span class="guibutton">Control Panel</span> -> 98 <span class="guibutton">Network</span> -> <span class="guibutton">Services</span> -> <span class="guibutton">Add</span>.</p></li><li class="listitem"><p>Select the <span class="guilabel">Network Monitor Tools and Agent</span> and click on <span class="guibutton">OK</span>.</p></li><li class="listitem"><p>Click on <span class="guibutton">OK</span> on the Network Control Panel.</p></li><li class="listitem"><p>Insert the Windows NT Server 4.0 install CD when prompted.</p></li></ul></div><p> 99 99 At this point, the Netmon files should exist in <code class="filename">%SYSTEMROOT%\System32\netmon\*.*</code>. 100 100 Two subdirectories exist as well: <code class="filename">parsers\</code>, which contains the necessary DLLs … … 103 103 To install the Netmon tools on an NT Workstation, you will first need to install the 104 104 Network Monitor Agent from the Workstation install CD. 105 </p><div class="itemizedlist"><ul type="disc"><li><p>Go to <span class="guibutton">Start</span> -> <span class="guibutton">Settings</span> ->105 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Go to <span class="guibutton">Start</span> -> <span class="guibutton">Settings</span> -> 106 106 <span class="guibutton">Control Panel</span> -> <span class="guibutton">Network</span> -> 107 <span class="guibutton">Services</span> -> <span class="guibutton">Add</span>.</p></li><li ><p>Select the <span class="guilabel">Network Monitor Agent</span>, click on108 <span class="guibutton">OK</span>.</p></li><li ><p>Click on <span class="guibutton">OK</span> in the Network Control Panel.109 </p></li><li ><p>Insert the Windows NT Workstation 4.0 install CD when prompted.</p></li></ul></div><p>107 <span class="guibutton">Services</span> -> <span class="guibutton">Add</span>.</p></li><li class="listitem"><p>Select the <span class="guilabel">Network Monitor Agent</span>, click on 108 <span class="guibutton">OK</span>.</p></li><li class="listitem"><p>Click on <span class="guibutton">OK</span> in the Network Control Panel. 109 </p></li><li class="listitem"><p>Insert the Windows NT Workstation 4.0 install CD when prompted.</p></li></ul></div><p> 110 110 Now copy the files from the NT Server in <code class="filename">%SYSTEMROOT%\System32\netmon</code> 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="id2685684"></a>Installing Network Monitor on Windows 9x/Me</h4></div></div></div><p>113 </p></div><div class="sect3" title="Installing Network Monitor on Windows 9x/Me"><div class="titlepage"><div><div><h4 class="title"><a name="id2691740"></a>Installing Network Monitor on Windows 9x/Me</h4></div></div></div><p> 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="id2685707"></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" title="Useful URLs"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2691764"></a>Useful URLs</h2></div></div></div><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>See how Scott Merrill simulates a BDC behavior at 119 119 <a class="ulink" href="http://www.skippy.net/linux/smb-howto.html" target="_top"> 120 http://www.skippy.net/linux/smb-howto.html</a>. </p></li><li ><p>FTP site for older SMB specs,120 http://www.skippy.net/linux/smb-howto.html</a>. </p></li><li class="listitem"><p>FTP site for older SMB specs, 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="id2685744"></a>Getting Mailing List Help</h2></div></div></div><p>122 ftp://ftp.microsoft.com/developr/drg/CIFS/</a></p></li></ul></div></div><div class="sect1" title="Getting Mailing List Help"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2691801"></a>Getting Mailing List Help</h2></div></div></div><p> 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"> … … 130 130 mainstream Samba lists.</p><p> 131 131 If you do post a message to one of the lists, please observe the following guidelines: 132 </p><div class="itemizedlist"><ul type="disc"><li><p>133 <a class="indexterm" name="id26 85800"></a>132 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 133 <a class="indexterm" name="id2691856"></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 a particular time. Any timelines are “<span class="quote">best guess,</span>”and nothing more.137 </p></li><li ><p>138 <a class="indexterm" name="id26 85818"></a>136 a particular time. Any timelines are <span class="quote">“<span class="quote">best guess,</span>”</span> and nothing more. 137 </p></li><li class="listitem"><p> 138 <a class="indexterm" name="id2691875"></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 141 141 your <code class="filename">smb.conf</code> file, at least the options in <em class="parameter"><code>[global]</code></em> 142 142 that affect PDC support. 143 </p></li><li ><p>In addition to the version, if you obtained Samba via144 CVS, mention the date when you last checked it out.</p></li><li ><p> Try to make your questions clear and brief. Lots of long,143 </p></li><li class="listitem"><p>In addition to the version, if you obtained Samba via 144 CVS, mention the date when you last checked it out.</p></li><li class="listitem"><p> Try to make your questions clear and brief. Lots of long, 145 145 convoluted questions get deleted before they are completely read! 146 146 Do not post HTML-encoded messages. Most people on mailing lists simply delete 147 147 them. 148 </p></li><li ><p> If you run one of those nifty “<span class="quote">I'm on holiday</span>”things when148 </p></li><li class="listitem"><p> If you run one of those nifty <span class="quote">“<span class="quote">I'm on holiday</span>”</span> things when 149 149 you are away, make sure its configured to not answer mailing list traffic. Autoresponses 150 150 to mailing lists really irritate the thousands of people who end up having to deal 151 151 with such bad netiquet bahavior. 152 </p></li><li ><p>153 <a class="indexterm" name="id26 85871"></a>152 </p></li><li class="listitem"><p> 153 <a class="indexterm" name="id2691927"></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. … … 157 157 than one list and get annoyed to see the same message two or more times. 158 158 Often someone who thinks a message would be better dealt 159 with on another list will forward it on for you.</p></li><li ><p>You might include <span class="emphasis"><em>partial</em></span>159 with on another list will forward it on for you.</p></li><li class="listitem"><p>You might include <span class="emphasis"><em>partial</em></span> 160 160 log files written at a log level set to as much as 20. 161 161 Please do not send the entire log but just enough to give the context of the 162 error messages.</p></li><li ><p>If you have a complete Netmon trace (from the opening of163 the pipe to the error), you can send the *.CAP file as well.</p></li><li ><p>Please think carefully before attaching a document to an email.162 error messages.</p></li><li class="listitem"><p>If you have a complete Netmon trace (from the opening of 163 the pipe to the error), you can send the *.CAP file as well.</p></li><li class="listitem"><p>Please think carefully before attaching a document to an email. 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="id2685919"></a>How to Get Off the Mailing Lists</h2></div></div></div><p>To have your name removed from a Samba mailing list, go to the same166 <code class="filename">smb.conf</code> in their attach directory?</p></li></ul></div></div><div class="sect1" title="How to Get Off the Mailing Lists"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2691975"></a>How to Get Off the Mailing Lists</h2></div></div></div><p>To have your name removed from a Samba mailing list, go to the same 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.3.x/docs/htmldocs/Samba3-HOWTO/rights.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 15. User Rights and Privileges</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="idmapper.html" title="Chapter 14. Identity Mapping (IDMAP)"><link rel="next" href="AccessControls.html" title="Chapter 16. File, Directory, and Share Access Controls"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 15. User Rights and Privileges</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="idmapper.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="AccessControls.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="rights"></a>Chapter 15. User Rights and Privileges</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Gerald</span> <span class="othername">(Jerry)</span> <span class="orgname">Samba Team</span> <span class="surname">Carter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2608451">Rights Management Capabilities</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2608726">Using the net rpc rights Utility</a></span></dt><dt><span class="sect2"><a href="rights.html#id2609072">Description of Privileges</a></span></dt><dt><span class="sect2"><a href="rights.html#id2609382">Privileges Suppored by Windows 2000 Domain Controllers</a></span></dt></dl></dd><dt><span class="sect1"><a href="rights.html#id2609893">The Administrator Domain SID</a></span></dt><dt><span class="sect1"><a href="rights.html#id2610070">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2610076">What Rights and Privileges Will Permit Windows Client Administration?</a></span></dt></dl></dd></dl></div><p>2 <a class="indexterm" name="id26 08159"></a>3 <a class="indexterm" name="id26 08166"></a>4 <a class="indexterm" name="id26 08173"></a>5 <a class="indexterm" name="id26 08180"></a>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 15. User Rights and Privileges</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="idmapper.html" title="Chapter 14. Identity Mapping (IDMAP)"><link rel="next" href="AccessControls.html" title="Chapter 16. File, Directory, and Share Access Controls"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 15. User Rights and Privileges</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="idmapper.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="AccessControls.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 15. User Rights and Privileges"><div class="titlepage"><div><div><h2 class="title"><a name="rights"></a>Chapter 15. User Rights and Privileges</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Gerald</span> <span class="othername">(Jerry)</span> <span class="surname">Carter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2614523">Rights Management Capabilities</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2614798">Using the <span class="quote">“<span class="quote">net rpc rights</span>”</span> Utility</a></span></dt><dt><span class="sect2"><a href="rights.html#id2615144">Description of Privileges</a></span></dt><dt><span class="sect2"><a href="rights.html#id2615459">Privileges Suppored by Windows 2000 Domain Controllers</a></span></dt></dl></dd><dt><span class="sect1"><a href="rights.html#id2615970">The Administrator Domain SID</a></span></dt><dt><span class="sect1"><a href="rights.html#id2616147">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="rights.html#id2616153">What Rights and Privileges Will Permit Windows Client Administration?</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id2614231"></a> 3 <a class="indexterm" name="id2614238"></a> 4 <a class="indexterm" name="id2614245"></a> 5 <a class="indexterm" name="id2614252"></a> 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="id26 08196"></a>14 <a class="indexterm" name="id26 08203"></a>15 <a class="indexterm" name="id26 08210"></a>16 <a class="indexterm" name="id26 08217"></a>13 <a class="indexterm" name="id2614268"></a> 14 <a class="indexterm" name="id2614275"></a> 15 <a class="indexterm" name="id2614282"></a> 16 <a class="indexterm" name="id2614289"></a> 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="id26 08231"></a>23 <a class="indexterm" name="id26 08238"></a>24 <a class="indexterm" name="id26 08245"></a>25 <a class="indexterm" name="id26 08252"></a>26 <a class="indexterm" name="id26 08259"></a>27 <a class="indexterm" name="id26 08266"></a>22 <a class="indexterm" name="id2614303"></a> 23 <a class="indexterm" name="id2614310"></a> 24 <a class="indexterm" name="id2614317"></a> 25 <a class="indexterm" name="id2614324"></a> 26 <a class="indexterm" name="id2614331"></a> 27 <a class="indexterm" name="id2614338"></a> 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. … … 34 34 account is used only to authenticate domain member machines during start-up. This security measure 35 35 is designed to block man-in-the-middle attempts to violate network integrity. 36 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>37 <a class="indexterm" name="id26 08306"></a>38 <a class="indexterm" name="id26 08313"></a>39 <a class="indexterm" name="id26 08320"></a>40 <a class="indexterm" name="id26 08327"></a>41 <a class="indexterm" name="id26 08334"></a>36 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 37 <a class="indexterm" name="id2614378"></a> 38 <a class="indexterm" name="id2614385"></a> 39 <a class="indexterm" name="id2614392"></a> 40 <a class="indexterm" name="id2614399"></a> 41 <a class="indexterm" name="id2614406"></a> 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="id26 08362"></a>51 <a class="indexterm" name="id26 08369"></a>52 <a class="indexterm" name="id26 08376"></a>53 <a class="indexterm" name="id26 08382"></a>50 <a class="indexterm" name="id2614434"></a> 51 <a class="indexterm" name="id2614441"></a> 52 <a class="indexterm" name="id2614448"></a> 53 <a class="indexterm" name="id2614454"></a> 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="id26 08405"></a>61 <a class="indexterm" name="id26 08412"></a>62 <a class="indexterm" name="id26 08419"></a>63 <a class="indexterm" name="id26 08426"></a>60 <a class="indexterm" name="id2614477"></a> 61 <a class="indexterm" name="id2614484"></a> 62 <a class="indexterm" name="id2614491"></a> 63 <a class="indexterm" name="id2614498"></a> 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="id2608451"></a>Rights Management Capabilities</h2></div></div></div><p>74 <a class="indexterm" name="id26 08459"></a>75 <a class="indexterm" name="id26 08466"></a>76 <a class="indexterm" name="id26 08473"></a>77 <a class="indexterm" name="id26 08480"></a>73 </p><div class="sect1" title="Rights Management Capabilities"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2614523"></a>Rights Management Capabilities</h2></div></div></div><p> 74 <a class="indexterm" name="id2614531"></a> 75 <a class="indexterm" name="id2614538"></a> 76 <a class="indexterm" name="id2614545"></a> 77 <a class="indexterm" name="id2614552"></a> 78 78 Samba 3.0.11 introduced support for the Windows privilege model. This model 79 79 allows certain rights to be assigned to a user or group SID. In order to enable … … 81 81 must be defined in the <em class="parameter"><code>global</code></em> section of the <code class="filename">smb.conf</code> file. 82 82 </p><p> 83 <a class="indexterm" name="id26 08519"></a>84 <a class="indexterm" name="id26 08526"></a>85 <a class="indexterm" name="id26 08532"></a>83 <a class="indexterm" name="id2614591"></a> 84 <a class="indexterm" name="id2614598"></a> 85 <a class="indexterm" name="id2614604"></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="id26 08550"></a><a class="indexterm" name="id2608556"></a><a class="indexterm" name="id2608564"></a><a class="indexterm" name="id2608570"></a><a class="indexterm" name="id2608578"></a><a class="indexterm" name="id2608585"></a><div class="table"><a name="rp-privs"></a><p class="title"><b>Table 15.1. Current Privilege Capabilities</b></p><div class="table-contents"><table summary="Current Privilege Capabilities" border="1"><colgroup><col align="right"><col align="left"></colgroup><thead><tr><th align="left">Privilege</th><th align="left">Description</th></tr></thead><tbody><tr><td align="right"><p>SeMachineAccountPrivilege</p></td><td align="left"><p>Add machines to domain</p></td></tr><tr><td align="right"><p>SePrintOperatorPrivilege</p></td><td align="left"><p>Manage printers</p></td></tr><tr><td align="right"><p>SeAddUsersPrivilege</p></td><td align="left"><p>Add users and groups to the domain</p></td></tr><tr><td align="right"><p>SeRemoteShutdownPrivilege</p></td><td align="left"><p>Force shutdown from a remote system</p></td></tr><tr><td align="right"><p>SeDiskOperatorPrivilege</p></td><td align="left"><p>Manage disk share</p></td></tr><tr><td align="right"><p>SeTakeOwnershipPrivilege</p></td><td align="left"><p>Take ownership of files or other objects</p></td></tr></tbody></table></div></div><br class="table-break"><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2608726"></a>Using the “<span class="quote">net rpc rights</span>”Utility</h3></div></div></div><p>89 <a class="indexterm" name="id26 08737"></a>90 <a class="indexterm" name="id26 08744"></a>91 <a class="indexterm" name="id26 08751"></a>92 <a class="indexterm" name="id26 08758"></a>93 <a class="indexterm" name="id26 08765"></a>88 </p><a class="indexterm" name="id2614622"></a><a class="indexterm" name="id2614628"></a><a class="indexterm" name="id2614636"></a><a class="indexterm" name="id2614642"></a><a class="indexterm" name="id2614650"></a><a class="indexterm" name="id2614657"></a><div class="table"><a name="rp-privs"></a><p class="title"><b>Table 15.1. Current Privilege Capabilities</b></p><div class="table-contents"><table summary="Current Privilege Capabilities" border="1"><colgroup><col align="right"><col align="left"></colgroup><thead><tr><th align="left">Privilege</th><th align="left">Description</th></tr></thead><tbody><tr><td align="right"><p>SeMachineAccountPrivilege</p></td><td align="left"><p>Add machines to domain</p></td></tr><tr><td align="right"><p>SePrintOperatorPrivilege</p></td><td align="left"><p>Manage printers</p></td></tr><tr><td align="right"><p>SeAddUsersPrivilege</p></td><td align="left"><p>Add users and groups to the domain</p></td></tr><tr><td align="right"><p>SeRemoteShutdownPrivilege</p></td><td align="left"><p>Force shutdown from a remote system</p></td></tr><tr><td align="right"><p>SeDiskOperatorPrivilege</p></td><td align="left"><p>Manage disk share</p></td></tr><tr><td align="right"><p>SeTakeOwnershipPrivilege</p></td><td align="left"><p>Take ownership of files or other objects</p></td></tr></tbody></table></div></div><br class="table-break"><div class="sect2" title="Using the “net rpc rights” Utility"><div class="titlepage"><div><div><h3 class="title"><a name="id2614798"></a>Using the <span class="quote">“<span class="quote">net rpc rights</span>”</span> Utility</h3></div></div></div><p> 89 <a class="indexterm" name="id2614809"></a> 90 <a class="indexterm" name="id2614816"></a> 91 <a class="indexterm" name="id2614823"></a> 92 <a class="indexterm" name="id2614830"></a> 93 <a class="indexterm" name="id2614837"></a> 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="id26 08808"></a>105 <a class="indexterm" name="id26 08819"></a>106 <a class="indexterm" name="id26 08826"></a>107 <a class="indexterm" name="id26 08833"></a>104 <a class="indexterm" name="id2614880"></a> 105 <a class="indexterm" name="id2614891"></a> 106 <a class="indexterm" name="id2614898"></a> 107 <a class="indexterm" name="id2614905"></a> 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="id26 08872"></a>117 <a class="indexterm" name="id26 08879"></a>118 <a class="indexterm" name="id26 08886"></a>119 <a class="indexterm" name="id26 08893"></a>116 <a class="indexterm" name="id2614944"></a> 117 <a class="indexterm" name="id2614951"></a> 118 <a class="indexterm" name="id2614958"></a> 119 <a class="indexterm" name="id2614965"></a> 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="id26 08919"></a>129 <a class="indexterm" name="id2614991"></a> 130 130 </p><pre class="screen"> 131 131 <code class="prompt">root# </code> net rpc rights grant 'DOMAIN\Domain Admins' \ … … 139 139 This command is similar in format to <code class="literal">net rpc rights grant</code>. Its 140 140 effect is to remove an assigned right (or list of rights) from a user or group. 141 </p></dd></dl></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>142 <a class="indexterm" name="id26 08974"></a>143 <a class="indexterm" name="id26 08981"></a>144 <a class="indexterm" name="id26 08988"></a>141 </p></dd></dl></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 142 <a class="indexterm" name="id2615046"></a> 143 <a class="indexterm" name="id2615053"></a> 144 <a class="indexterm" name="id2615060"></a> 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="id26 09006"></a>152 <a class="indexterm" name="id26 09013"></a>153 <a class="indexterm" name="id26 09020"></a>154 <a class="indexterm" name="id26 09027"></a>151 <a class="indexterm" name="id2615078"></a> 152 <a class="indexterm" name="id2615085"></a> 153 <a class="indexterm" name="id2615092"></a> 154 <a class="indexterm" name="id2615099"></a> 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="id26 09048"></a>161 <a class="indexterm" name="id26 09055"></a>162 <a class="indexterm" name="id26 09061"></a>160 <a class="indexterm" name="id2615120"></a> 161 <a class="indexterm" name="id2615127"></a> 162 <a class="indexterm" name="id2615133"></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="id2609072"></a>Description of Privileges</h3></div></div></div><p>165 <a class="indexterm" name="id26 09080"></a>166 <a class="indexterm" name="id26 09086"></a>167 <a class="indexterm" name="id26 09094"></a>164 </p></div><div class="sect2" title="Description of Privileges"><div class="titlepage"><div><div><h3 class="title"><a name="id2615144"></a>Description of Privileges</h3></div></div></div><p> 165 <a class="indexterm" name="id2615152"></a> 166 <a class="indexterm" name="id2615158"></a> 167 <a class="indexterm" name="id2615166"></a> 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="id26 09119"></a>175 <a class="indexterm" name="id26 09126"></a>176 <a class="indexterm" name="id26 09133"></a>174 <a class="indexterm" name="id2615191"></a> 175 <a class="indexterm" name="id2615198"></a> 176 <a class="indexterm" name="id2615205"></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="id26 09164"></a>183 <a class="indexterm" name="id26 09172"></a>184 <a class="indexterm" name="id26 09179"></a>182 <a class="indexterm" name="id2615236"></a> 183 <a class="indexterm" name="id2615244"></a> 184 <a class="indexterm" name="id2615251"></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="id26 09211"></a>192 <a class="indexterm" name="id26 09218"></a>193 <a class="indexterm" name="id26 09225"></a>191 <a class="indexterm" name="id2615283"></a> 192 <a class="indexterm" name="id2615290"></a> 193 <a class="indexterm" name="id2615297"></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="id26 09244"></a>198 <a class="indexterm" name="id26 09251"></a>199 <a class="indexterm" name="id26 09258"></a>200 <a class="indexterm" name="id26 09265"></a>201 <a class="indexterm" name="id26 09272"></a>197 <a class="indexterm" name="id2615316"></a> 198 <a class="indexterm" name="id2615323"></a> 199 <a class="indexterm" name="id2615330"></a> 200 <a class="indexterm" name="id2615337"></a> 201 <a class="indexterm" name="id2615344"></a> 202 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>) … … 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="id26 09326"></a>211 <a class="indexterm" name="id26 09333"></a>212 <a class="indexterm" name="id26 09340"></a>210 <a class="indexterm" name="id2615398"></a> 211 <a class="indexterm" name="id2615405"></a> 212 <a class="indexterm" name="id2615412"></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="id26 09362"></a>220 <a class="indexterm" name="id26 09369"></a>219 <a class="indexterm" name="id2615439"></a> 220 <a class="indexterm" name="id2615446"></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="id2609382"></a>Privileges Suppored by Windows 2000 Domain Controllers</h3></div></div></div><p>222 </p></dd></dl></div></div><div class="sect2" title="Privileges Suppored by Windows 2000 Domain Controllers"><div class="titlepage"><div><div><h3 class="title"><a name="id2615459"></a>Privileges Suppored by Windows 2000 Domain Controllers</h3></div></div></div><p> 223 223 For reference purposes, a Windows NT4 Primary Domain Controller reports support for the following 224 224 privileges: 225 <a class="indexterm" name="id26 09392"></a>226 <a class="indexterm" name="id26 09400"></a>227 <a class="indexterm" name="id26 09407"></a>228 <a class="indexterm" name="id26 09414"></a>229 <a class="indexterm" name="id26 09421"></a>230 <a class="indexterm" name="id26 09428"></a>231 <a class="indexterm" name="id26 09435"></a>232 <a class="indexterm" name="id26 09442"></a>233 <a class="indexterm" name="id26 09449"></a>234 <a class="indexterm" name="id26 09456"></a>235 <a class="indexterm" name="id26 09463"></a>236 <a class="indexterm" name="id26 09470"></a>237 <a class="indexterm" name="id26 09477"></a>238 <a class="indexterm" name="id26 09484"></a>239 <a class="indexterm" name="id26 09492"></a>240 <a class="indexterm" name="id26 09499"></a>241 <a class="indexterm" name="id26 09506"></a>242 <a class="indexterm" name="id26 09512"></a>243 <a class="indexterm" name="id26 09519"></a>244 <a class="indexterm" name="id26 09526"></a>245 <a class="indexterm" name="id26 09533"></a>246 <a class="indexterm" name="id26 09540"></a>247 <a class="indexterm" name="id26 09548"></a>225 <a class="indexterm" name="id2615470"></a> 226 <a class="indexterm" name="id2615477"></a> 227 <a class="indexterm" name="id2615484"></a> 228 <a class="indexterm" name="id2615491"></a> 229 <a class="indexterm" name="id2615498"></a> 230 <a class="indexterm" name="id2615505"></a> 231 <a class="indexterm" name="id2615512"></a> 232 <a class="indexterm" name="id2615519"></a> 233 <a class="indexterm" name="id2615526"></a> 234 <a class="indexterm" name="id2615533"></a> 235 <a class="indexterm" name="id2615540"></a> 236 <a class="indexterm" name="id2615547"></a> 237 <a class="indexterm" name="id2615554"></a> 238 <a class="indexterm" name="id2615562"></a> 239 <a class="indexterm" name="id2615569"></a> 240 <a class="indexterm" name="id2615576"></a> 241 <a class="indexterm" name="id2615583"></a> 242 <a class="indexterm" name="id2615590"></a> 243 <a class="indexterm" name="id2615596"></a> 244 <a class="indexterm" name="id2615603"></a> 245 <a class="indexterm" name="id2615610"></a> 246 <a class="indexterm" name="id2615618"></a> 247 <a class="indexterm" name="id2615625"></a> 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="id26 09608"></a>275 <a class="indexterm" name="id26 09615"></a>276 <a class="indexterm" name="id26 09622"></a>277 <a class="indexterm" name="id26 09629"></a>278 <a class="indexterm" name="id26 09636"></a>279 <a class="indexterm" name="id26 09643"></a>280 <a class="indexterm" name="id26 09650"></a>281 <a class="indexterm" name="id26 09657"></a>282 <a class="indexterm" name="id26 09664"></a>283 <a class="indexterm" name="id26 09671"></a>284 <a class="indexterm" name="id26 09678"></a>285 <a class="indexterm" name="id26 09685"></a>286 <a class="indexterm" name="id26 09692"></a>287 <a class="indexterm" name="id26 09700"></a>288 <a class="indexterm" name="id26 09707"></a>289 <a class="indexterm" name="id26 09714"></a>290 <a class="indexterm" name="id26 09721"></a>291 <a class="indexterm" name="id26 09728"></a>292 <a class="indexterm" name="id26 09735"></a>293 <a class="indexterm" name="id26 09742"></a>294 <a class="indexterm" name="id26 09748"></a>295 <a class="indexterm" name="id26 09756"></a>296 <a class="indexterm" name="id26 09763"></a>297 <a class="indexterm" name="id26 09770"></a>298 <a class="indexterm" name="id26 09777"></a>299 <a class="indexterm" name="id26 09784"></a>300 <a class="indexterm" name="id26 09791"></a>301 <a class="indexterm" name="id26 09798"></a>302 <a class="indexterm" name="id26 09805"></a>274 <a class="indexterm" name="id2615686"></a> 275 <a class="indexterm" name="id2615692"></a> 276 <a class="indexterm" name="id2615699"></a> 277 <a class="indexterm" name="id2615706"></a> 278 <a class="indexterm" name="id2615713"></a> 279 <a class="indexterm" name="id2615720"></a> 280 <a class="indexterm" name="id2615727"></a> 281 <a class="indexterm" name="id2615734"></a> 282 <a class="indexterm" name="id2615741"></a> 283 <a class="indexterm" name="id2615748"></a> 284 <a class="indexterm" name="id2615755"></a> 285 <a class="indexterm" name="id2615762"></a> 286 <a class="indexterm" name="id2615770"></a> 287 <a class="indexterm" name="id2615777"></a> 288 <a class="indexterm" name="id2615784"></a> 289 <a class="indexterm" name="id2615791"></a> 290 <a class="indexterm" name="id2615798"></a> 291 <a class="indexterm" name="id2615805"></a> 292 <a class="indexterm" name="id2615812"></a> 293 <a class="indexterm" name="id2615819"></a> 294 <a class="indexterm" name="id2615826"></a> 295 <a class="indexterm" name="id2615833"></a> 296 <a class="indexterm" name="id2615840"></a> 297 <a class="indexterm" name="id2615847"></a> 298 <a class="indexterm" name="id2615854"></a> 299 <a class="indexterm" name="id2615861"></a> 300 <a class="indexterm" name="id2615868"></a> 301 <a class="indexterm" name="id2615875"></a> 302 <a class="indexterm" name="id2615882"></a> 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="id26 09879"></a>335 <a class="indexterm" name="id2615956"></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="id2609893"></a>The Administrator Domain SID</h2></div></div></div><p>339 <a class="indexterm" name="id26 09901"></a>340 <a class="indexterm" name="id26 09908"></a>341 <a class="indexterm" name="id26 09915"></a>342 <a class="indexterm" name="id26 09922"></a>343 <a class="indexterm" name="id26 09929"></a>338 </p></div></div><div class="sect1" title="The Administrator Domain SID"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2615970"></a>The Administrator Domain SID</h2></div></div></div><p> 339 <a class="indexterm" name="id2615978"></a> 340 <a class="indexterm" name="id2615985"></a> 341 <a class="indexterm" name="id2615992"></a> 342 <a class="indexterm" name="id2615999"></a> 343 <a class="indexterm" name="id2616006"></a> 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="id26 09962"></a>353 <a class="indexterm" name="id2616040"></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="id26 09977"></a>356 <a class="indexterm" name="id2616054"></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 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>361 <a class="indexterm" name="id261 0000"></a>362 <a class="indexterm" name="id261 0007"></a>363 <a class="indexterm" name="id261 0014"></a>364 <a class="indexterm" name="id261 0021"></a>360 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 361 <a class="indexterm" name="id2616077"></a> 362 <a class="indexterm" name="id2616084"></a> 363 <a class="indexterm" name="id2616091"></a> 364 <a class="indexterm" name="id2616098"></a> 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="id261 0036"></a>370 <a class="indexterm" name="id261 0043"></a>371 <a class="indexterm" name="id261 0050"></a>372 <a class="indexterm" name="id261 0057"></a>369 <a class="indexterm" name="id2616113"></a> 370 <a class="indexterm" name="id2616120"></a> 371 <a class="indexterm" name="id2616127"></a> 372 <a class="indexterm" name="id2616134"></a> 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="id2610070"></a>Common Errors</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2610076"></a>What Rights and Privileges Will Permit Windows Client Administration?</h3></div></div></div><p>377 <a class="indexterm" name="id261 0084"></a>378 <a class="indexterm" name="id261 0091"></a>379 <a class="indexterm" name="id261 0098"></a>380 <a class="indexterm" name="id261 0105"></a>376 </p></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2616147"></a>Common Errors</h2></div></div></div><div class="sect2" title="What Rights and Privileges Will Permit Windows Client Administration?"><div class="titlepage"><div><div><h3 class="title"><a name="id2616153"></a>What Rights and Privileges Will Permit Windows Client Administration?</h3></div></div></div><p> 377 <a class="indexterm" name="id2616162"></a> 378 <a class="indexterm" name="id2616168"></a> 379 <a class="indexterm" name="id2616175"></a> 380 <a class="indexterm" name="id2616182"></a> 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="id261 0138"></a>387 <a class="indexterm" name="id261 0145"></a>388 <a class="indexterm" name="id261 0152"></a>389 <a class="indexterm" name="id261 0159"></a>390 <a class="indexterm" name="id261 0166"></a>386 <a class="indexterm" name="id2616215"></a> 387 <a class="indexterm" name="id2616222"></a> 388 <a class="indexterm" name="id2616229"></a> 389 <a class="indexterm" name="id2616236"></a> 390 <a class="indexterm" name="id2616243"></a> 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="id261 0194"></a>397 <a class="indexterm" name="id261 0201"></a>398 <a class="indexterm" name="id261 0208"></a>399 <a class="indexterm" name="id261 0215"></a>396 <a class="indexterm" name="id2616271"></a> 397 <a class="indexterm" name="id2616278"></a> 398 <a class="indexterm" name="id2616285"></a> 399 <a class="indexterm" name="id2616292"></a> 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="id261 0242"></a>405 <a class="indexterm" name="id261 0249"></a>406 <a class="indexterm" name="id261 0256"></a>404 <a class="indexterm" name="id2616320"></a> 405 <a class="indexterm" name="id2616326"></a> 406 <a class="indexterm" name="id2616333"></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.3.x/docs/htmldocs/Samba3-HOWTO/samba-bdc.html
r274 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 5. Backup Domain Control</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="type.html" title="Part II. Server Configuration Basics"><link rel="prev" href="samba-pdc.html" title="Chapter 4. Domain Control"><link rel="next" href="domain-member.html" title="Chapter 6. Domain Membership"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 5. Backup Domain Control</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="samba-pdc.html">Prev</a> </td><th width="60%" align="center">Part II. Server Configuration Basics</th><td width="20%" align="right"> <a accesskey="n" href="domain-member.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="samba-bdc"></a>Chapter 5. Backup Domain Control</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2565803">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-bdc.html#id2566209">Essential Background Information</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2566966">LDAP Configuration Notes</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2567331">Active Directory Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2567390">What Qualifies a Domain Controller on the Network?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2567481">How Does a Workstation find its Domain Controller?</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2568163">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2568620">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2568664">Machine Accounts Keep Expiring</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2568719">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2568774">How Do I Replicate the smbpasswd File?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2568879">Can I Do This All with LDAP?</a></span></dt></dl></dd></dl></div><p>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 5. Backup Domain Control</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="type.html" title="Part II. Server Configuration Basics"><link rel="prev" href="samba-pdc.html" title="Chapter 4. Domain Control"><link rel="next" href="domain-member.html" title="Chapter 6. Domain Membership"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 5. Backup Domain Control</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="samba-pdc.html">Prev</a> </td><th width="60%" align="center">Part II. Server Configuration Basics</th><td width="20%" align="right"> <a accesskey="n" href="domain-member.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 5. Backup Domain Control"><div class="titlepage"><div><div><h2 class="title"><a name="samba-bdc"></a>Chapter 5. Backup Domain Control</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:gd@samba.org">gd@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="samba-bdc.html#id2571862">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-bdc.html#id2572268">Essential Background Information</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2573025">LDAP Configuration Notes</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2573390">Active Directory Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2573448">What Qualifies a Domain Controller on the Network?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2573539">How Does a Workstation find its Domain Controller?</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2574222">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2574686">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2574730">Machine Accounts Keep Expiring</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2574784">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2574840">How Do I Replicate the smbpasswd File?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2574945">Can I Do This All with LDAP?</a></span></dt></dl></dd></dl></div><p> 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="id2565803"></a>Features and Benefits</h2></div></div></div><p>4 </p><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2571862"></a>Features and Benefits</h2></div></div></div><p> 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 65829"></a>12 <a class="indexterm" name="id25 65838"></a>13 <a class="indexterm" name="id25 65845"></a>14 <a class="indexterm" name="id25 65851"></a>15 <a class="indexterm" name="id25 65861"></a>11 <a class="indexterm" name="id2571888"></a> 12 <a class="indexterm" name="id2571897"></a> 13 <a class="indexterm" name="id2571904"></a> 14 <a class="indexterm" name="id2571910"></a> 15 <a class="indexterm" name="id2571919"></a> 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 65885"></a>25 <a class="indexterm" name="id25 65894"></a>26 <a class="indexterm" name="id25 65903"></a>27 <a class="indexterm" name="id25 65912"></a>24 <a class="indexterm" name="id2571944"></a> 25 <a class="indexterm" name="id2571953"></a> 26 <a class="indexterm" name="id2571962"></a> 27 <a class="indexterm" name="id2571971"></a> 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 65929"></a>34 <a class="indexterm" name="id25 65938"></a>35 <a class="indexterm" name="id25 65947"></a>36 <a class="indexterm" name="id25 65959"></a>37 <a class="indexterm" name="id25 65965"></a>38 <a class="indexterm" name="id25 65972"></a>39 <a class="indexterm" name="id25 65979"></a>33 <a class="indexterm" name="id2571988"></a> 34 <a class="indexterm" name="id2571997"></a> 35 <a class="indexterm" name="id2572006"></a> 36 <a class="indexterm" name="id2572018"></a> 37 <a class="indexterm" name="id2572024"></a> 38 <a class="indexterm" name="id2572031"></a> 39 <a class="indexterm" name="id2572038"></a> 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 66000"></a>50 <a class="indexterm" name="id25 66009"></a>51 <a class="indexterm" name="id25 66018"></a>52 <a class="indexterm" name="id25 66028"></a>49 <a class="indexterm" name="id2572059"></a> 50 <a class="indexterm" name="id2572068"></a> 51 <a class="indexterm" name="id2572077"></a> 52 <a class="indexterm" name="id2572086"></a> 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="id2566209"></a>Essential Background Information</h2></div></div></div><p>74 <a class="indexterm" name="id25 66217"></a>75 <a class="indexterm" name="id25 66224"></a>76 <a class="indexterm" name="id25 66231"></a>77 <a class="indexterm" name="id25 66238"></a>73 </p></td></tr></tbody></table></div></div><br class="table-break"></div><div class="sect1" title="Essential Background Information"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2572268"></a>Essential Background Information</h2></div></div></div><p> 74 <a class="indexterm" name="id2572276"></a> 75 <a class="indexterm" name="id2572283"></a> 76 <a class="indexterm" name="id2572290"></a> 77 <a class="indexterm" name="id2572296"></a> 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 66252"></a>83 <a class="indexterm" name="id25 66264"></a>82 <a class="indexterm" name="id2572311"></a> 83 <a class="indexterm" name="id2572322"></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="id2566279"></a>MS Windows NT4-style Domain Control</h3></div></div></div><p>90 <a class="indexterm" name="id25 66287"></a>91 <a class="indexterm" name="id25 66294"></a>92 <a class="indexterm" name="id25 66301"></a>93 <a class="indexterm" name="id25 66308"></a>94 <a class="indexterm" name="id25 66314"></a>95 <a class="indexterm" name="id25 66321"></a>96 <a class="indexterm" name="id25 66330"></a>89 </p><div class="sect2" title="MS Windows NT4-style Domain Control"><div class="titlepage"><div><div><h3 class="title"><a name="id2572337"></a>MS Windows NT4-style Domain Control</h3></div></div></div><p> 90 <a class="indexterm" name="id2572346"></a> 91 <a class="indexterm" name="id2572352"></a> 92 <a class="indexterm" name="id2572360"></a> 93 <a class="indexterm" name="id2572366"></a> 94 <a class="indexterm" name="id2572373"></a> 95 <a class="indexterm" name="id2572380"></a> 96 <a class="indexterm" name="id2572389"></a> 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 66350"></a>105 <a class="indexterm" name="id25 66357"></a>106 <a class="indexterm" name="id25 66364"></a>107 <a class="indexterm" name="id25 66371"></a>108 <a class="indexterm" name="id25 66378"></a>104 <a class="indexterm" name="id2572409"></a> 105 <a class="indexterm" name="id2572416"></a> 106 <a class="indexterm" name="id2572423"></a> 107 <a class="indexterm" name="id2572430"></a> 108 <a class="indexterm" name="id2572437"></a> 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 66415"></a>121 <a class="indexterm" name="id25 66424"></a>122 <a class="indexterm" name="id25 66432"></a>123 <a class="indexterm" name="id25 66439"></a>124 <a class="indexterm" name="id25 66445"></a>120 <a class="indexterm" name="id2572474"></a> 121 <a class="indexterm" name="id2572483"></a> 122 <a class="indexterm" name="id2572490"></a> 123 <a class="indexterm" name="id2572497"></a> 124 <a class="indexterm" name="id2572504"></a> 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 … … 131 131 </p><p> 132 132 There are two situations in which it is desirable to install BDCs: 133 </p><div class="itemizedlist"><ul type="disc"><li><p>134 <a class="indexterm" name="id25 66481"></a>135 <a class="indexterm" name="id25 66488"></a>133 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 134 <a class="indexterm" name="id2572540"></a> 135 <a class="indexterm" name="id2572546"></a> 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 </p></li><li ><p>140 <a class="indexterm" name="id25 66502"></a>139 </p></li><li class="listitem"><p> 140 <a class="indexterm" name="id2572561"></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 66522"></a>148 <a class="indexterm" name="id25 66528"></a>149 <a class="indexterm" name="id25 66535"></a>150 <a class="indexterm" name="id25 66542"></a>151 <a class="indexterm" name="id25 66549"></a>147 <a class="indexterm" name="id2572581"></a> 148 <a class="indexterm" name="id2572587"></a> 149 <a class="indexterm" name="id2572594"></a> 150 <a class="indexterm" name="id2572601"></a> 151 <a class="indexterm" name="id2572607"></a> 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 66573"></a>164 <a class="indexterm" name="id25 66582"></a>165 <a class="indexterm" name="id25 66590"></a>166 <a class="indexterm" name="id25 66597"></a>163 <a class="indexterm" name="id2572631"></a> 164 <a class="indexterm" name="id2572640"></a> 165 <a class="indexterm" name="id2572649"></a> 166 <a class="indexterm" name="id2572656"></a> 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 66612"></a>173 <a class="indexterm" name="id25 66619"></a>172 <a class="indexterm" name="id2572671"></a> 173 <a class="indexterm" name="id2572677"></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 66632"></a>179 <a class="indexterm" name="id25 66638"></a>180 <a class="indexterm" name="id25 66645"></a>178 <a class="indexterm" name="id2572691"></a> 179 <a class="indexterm" name="id2572697"></a> 180 <a class="indexterm" name="id2572704"></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 66665"></a>188 <a class="indexterm" name="id25 66671"></a>189 <a class="indexterm" name="id25 66678"></a>190 <a class="indexterm" name="id25 66685"></a>187 <a class="indexterm" name="id2572724"></a> 188 <a class="indexterm" name="id2572730"></a> 189 <a class="indexterm" name="id2572737"></a> 190 <a class="indexterm" name="id2572744"></a> 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="id2566715"></a>Example PDC Configuration</h4></div></div></div><p>198 <a class="indexterm" name="id25 66723"></a>199 <a class="indexterm" name="id25 66730"></a>197 </p><div class="sect3" title="Example PDC Configuration"><div class="titlepage"><div><div><h4 class="title"><a name="id2572774"></a>Example PDC Configuration</h4></div></div></div><p> 198 <a class="indexterm" name="id2572782"></a> 199 <a class="indexterm" name="id2572789"></a> 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="id2566783"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2566795"></a><em class="parameter"><code>passdb backend = ldapsam://localhost:389</code></em></td></tr><tr><td><a class="indexterm" name="id2566807"></a><em class="parameter"><code>domain master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2566819"></a><em class="parameter"><code>domain logons = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2566831"></a><em class="parameter"><code>ldap suffix = dc=quenya,dc=org</code></em></td></tr><tr><td><a class="indexterm" name="id2566843"></a><em class="parameter"><code>ldap user suffix = ou=Users</code></em></td></tr><tr><td><a class="indexterm" name="id2566854"></a><em class="parameter"><code>ldap group suffix = ou=Groups</code></em></td></tr><tr><td><a class="indexterm" name="id2566866"></a><em class="parameter"><code>ldap machine suffix = ou=Computers</code></em></td></tr><tr><td><a class="indexterm" name="id2566878"></a><em class="parameter"><code>ldap idmap suffix = ou=Idmap</code></em></td></tr><tr><td><a class="indexterm" name="id2566890"></a><em class="parameter"><code>ldap admin dn = cn=sambadmin,dc=quenya,dc=org</code></em></td></tr></table></div></div><br class="example-break"><p>205 <a class="indexterm" name="id25 66906"></a>206 <a class="indexterm" name="id25 66913"></a>204 </p><div class="example"><a name="minimalPDC"></a><p class="title"><b>Example 5.1. Minimal smb.conf for a PDC in Use with a BDC LDAP Server on PDC</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2572842"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2572854"></a><em class="parameter"><code>passdb backend = ldapsam://localhost:389</code></em></td></tr><tr><td><a class="indexterm" name="id2572866"></a><em class="parameter"><code>domain master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2572878"></a><em class="parameter"><code>domain logons = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2572890"></a><em class="parameter"><code>ldap suffix = dc=quenya,dc=org</code></em></td></tr><tr><td><a class="indexterm" name="id2572901"></a><em class="parameter"><code>ldap user suffix = ou=Users</code></em></td></tr><tr><td><a class="indexterm" name="id2572913"></a><em class="parameter"><code>ldap group suffix = ou=Groups</code></em></td></tr><tr><td><a class="indexterm" name="id2572925"></a><em class="parameter"><code>ldap machine suffix = ou=Computers</code></em></td></tr><tr><td><a class="indexterm" name="id2572937"></a><em class="parameter"><code>ldap idmap suffix = ou=Idmap</code></em></td></tr><tr><td><a class="indexterm" name="id2572949"></a><em class="parameter"><code>ldap admin dn = cn=sambadmin,dc=quenya,dc=org</code></em></td></tr></table></div></div><br class="example-break"><p> 205 <a class="indexterm" name="id2572965"></a> 206 <a class="indexterm" name="id2572972"></a> 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 … … 210 210 Refer to <a class="link" href="samba-pdc.html" title="Chapter 4. Domain Control">the Domain Control chapter</a> for specific recommendations for PDC 211 211 configuration. Alternately, fully documented working example network configurations using OpenLDAP and Samba 212 as available in the <a class="ulink" href="http://www.samba.org/samba/docs/Samba3-ByExample" target="_top">book</a> “<span class="quote">Samba-3213 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="id2566966"></a>LDAP Configuration Notes</h3></div></div></div><p>215 <a class="indexterm" name="id25 66974"></a>216 <a class="indexterm" name="id25 66984"></a>217 <a class="indexterm" name="id25 66993"></a>212 as available in the <a class="ulink" href="http://www.samba.org/samba/docs/Samba3-ByExample" target="_top">book</a> <span class="quote">“<span class="quote">Samba-3 213 by Example</span>”</span> that may be obtained from local and on-line book stores. 214 </p></div></div><div class="sect2" title="LDAP Configuration Notes"><div class="titlepage"><div><div><h3 class="title"><a name="id2573025"></a>LDAP Configuration Notes</h3></div></div></div><p> 215 <a class="indexterm" name="id2573033"></a> 216 <a class="indexterm" name="id2573042"></a> 217 <a class="indexterm" name="id2573052"></a> 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="id25 67010"></a>225 <a class="indexterm" name="id25 67019"></a>226 <a class="indexterm" name="id25 67028"></a>227 <a class="indexterm" name="id25 67035"></a>228 <a class="indexterm" name="id25 67042"></a>224 <a class="indexterm" name="id2573069"></a> 225 <a class="indexterm" name="id2573078"></a> 226 <a class="indexterm" name="id2573087"></a> 227 <a class="indexterm" name="id2573094"></a> 228 <a class="indexterm" name="id2573100"></a> 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="id25 67065"></a>236 <a class="indexterm" name="id25 67072"></a>237 <a class="indexterm" name="id25 67079"></a>238 <a class="indexterm" name="id25 67085"></a>239 <a class="indexterm" name="id25 67095"></a>240 <a class="indexterm" name="id25 67102"></a>241 <a class="indexterm" name="id25 67109"></a>235 <a class="indexterm" name="id2573124"></a> 236 <a class="indexterm" name="id2573131"></a> 237 <a class="indexterm" name="id2573137"></a> 238 <a class="indexterm" name="id2573144"></a> 239 <a class="indexterm" name="id2573154"></a> 240 <a class="indexterm" name="id2573161"></a> 241 <a class="indexterm" name="id2573168"></a> 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 244 244 name in <code class="filename">/etc/ssl/certs/slapd.pem</code> must be the same as in 245 245 <code class="filename">/etc/openldap/sldap.conf</code>. The Red Hat Linux startup script creates the 246 <code class="filename">slapd.pem</code> file with hostname “<span class="quote">localhost.localdomain.</span>”It is impossible to246 <code class="filename">slapd.pem</code> file with hostname <span class="quote">“<span class="quote">localhost.localdomain.</span>”</span> It is impossible to 247 247 access this LDAP server from a slave LDAP server (i.e., a Samba BDC) unless the certificate is re-created with 248 248 a correct hostname. 249 249 </p><p> 250 <a class="indexterm" name="id25 67149"></a>251 <a class="indexterm" name="id25 67156"></a>252 <a class="indexterm" name="id25 67162"></a>253 <a class="indexterm" name="id25 67169"></a>254 <a class="indexterm" name="id25 67176"></a>255 <a class="indexterm" name="id25 67183"></a>250 <a class="indexterm" name="id2573208"></a> 251 <a class="indexterm" name="id2573214"></a> 252 <a class="indexterm" name="id2573221"></a> 253 <a class="indexterm" name="id2573228"></a> 254 <a class="indexterm" name="id2573235"></a> 255 <a class="indexterm" name="id2573242"></a> 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 … … 264 264 </p><p> 265 265 Possible PDC/BDC plus LDAP configurations include: 266 </p><div class="itemizedlist"><ul type="disc"><li><p>266 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 267 267 PDC+BDC -> One Central LDAP Server. 268 </p></li><li ><p>268 </p></li><li class="listitem"><p> 269 269 PDC -> LDAP master server, BDC -> LDAP slave server. 270 </p></li><li ><p>270 </p></li><li class="listitem"><p> 271 271 PDC -> LDAP master, with secondary slave LDAP server. 272 272 </p><p> 273 273 BDC -> LDAP master, with secondary slave LDAP server. 274 </p></li><li ><p>274 </p></li><li class="listitem"><p> 275 275 PDC -> LDAP master, with secondary slave LDAP server. 276 276 </p><p> … … 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="id2567317"></a><em class="parameter"><code>passdb backend = ldapsam:"ldap://master.quenya.org ldap://slave.quenya.org"</code></em></td></tr></table></div></div><br class="example-break"></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2567331"></a>Active Directory Domain Control</h3></div></div></div><p>283 <a class="indexterm" name="id25 67340"></a>284 <a class="indexterm" name="id25 67346"></a>285 <a class="indexterm" name="id25 67353"></a>286 <a class="indexterm" name="id25 67360"></a>287 <a class="indexterm" name="id25 67367"></a>288 <a class="indexterm" name="id25 67374"></a>282 </p><div class="example"><a name="mulitldapcfg"></a><p class="title"><b>Example 5.2. Multiple LDAP Servers in <code class="filename">smb.conf</code></b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2573376"></a><em class="parameter"><code>passdb backend = ldapsam:"ldap://master.quenya.org ldap://slave.quenya.org"</code></em></td></tr></table></div></div><br class="example-break"></div><div class="sect2" title="Active Directory Domain Control"><div class="titlepage"><div><div><h3 class="title"><a name="id2573390"></a>Active Directory Domain Control</h3></div></div></div><p> 283 <a class="indexterm" name="id2573398"></a> 284 <a class="indexterm" name="id2573405"></a> 285 <a class="indexterm" name="id2573412"></a> 286 <a class="indexterm" name="id2573419"></a> 287 <a class="indexterm" name="id2573426"></a> 288 <a class="indexterm" name="id2573432"></a> 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="id2567390"></a>What Qualifies a Domain Controller on the Network?</h3></div></div></div><p>295 <a class="indexterm" name="id25 67398"></a>296 <a class="indexterm" name="id25 67405"></a>297 <a class="indexterm" name="id25 67411"></a>298 <a class="indexterm" name="id25 67418"></a>294 </p></div><div class="sect2" title="What Qualifies a Domain Controller on the Network?"><div class="titlepage"><div><div><h3 class="title"><a name="id2573448"></a>What Qualifies a Domain Controller on the Network?</h3></div></div></div><p> 295 <a class="indexterm" name="id2573457"></a> 296 <a class="indexterm" name="id2573463"></a> 297 <a class="indexterm" name="id2573470"></a> 298 <a class="indexterm" name="id2573477"></a> 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="id25 67440"></a>307 <a class="indexterm" name="id25 67447"></a>308 <a class="indexterm" name="id25 67454"></a>306 <a class="indexterm" name="id2573499"></a> 307 <a class="indexterm" name="id2573505"></a> 308 <a class="indexterm" name="id2573512"></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="id2567481"></a>How Does a Workstation find its Domain Controller?</h3></div></div></div><p>313 <a class="indexterm" name="id25 67489"></a>314 <a class="indexterm" name="id25 67496"></a>312 </p></div><div class="sect2" title="How Does a Workstation find its Domain Controller?"><div class="titlepage"><div><div><h3 class="title"><a name="id2573539"></a>How Does a Workstation find its Domain Controller?</h3></div></div></div><p> 313 <a class="indexterm" name="id2573548"></a> 314 <a class="indexterm" name="id2573555"></a> 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="id25 67510"></a>320 <a class="indexterm" name="id25 67516"></a>319 <a class="indexterm" name="id2573568"></a> 320 <a class="indexterm" name="id2573575"></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="id2567537"></a>NetBIOS Over TCP/IP Enabled</h4></div></div></div><p>326 <a class="indexterm" name="id25 67545"></a>327 <a class="indexterm" name="id25 67552"></a>328 <a class="indexterm" name="id25 67559"></a>329 <a class="indexterm" name="id25 67566"></a>325 </p><div class="sect3" title="NetBIOS Over TCP/IP Enabled"><div class="titlepage"><div><div><h4 class="title"><a name="id2573596"></a>NetBIOS Over TCP/IP Enabled</h4></div></div></div><p> 326 <a class="indexterm" name="id2573604"></a> 327 <a class="indexterm" name="id2573611"></a> 328 <a class="indexterm" name="id2573618"></a> 329 <a class="indexterm" name="id2573624"></a> 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="id2567603"></a>NetBIOS Over TCP/IP Disabled</h4></div></div></div><p>338 <a class="indexterm" name="id25 67611"></a>339 <a class="indexterm" name="id25 67618"></a>340 <a class="indexterm" name="id25 67625"></a>341 <a class="indexterm" name="id25 67631"></a>337 </p></div><div class="sect3" title="NetBIOS Over TCP/IP Disabled"><div class="titlepage"><div><div><h4 class="title"><a name="id2573662"></a>NetBIOS Over TCP/IP Disabled</h4></div></div></div><p> 338 <a class="indexterm" name="id2573670"></a> 339 <a class="indexterm" name="id2573676"></a> 340 <a class="indexterm" name="id2573684"></a> 341 <a class="indexterm" name="id2573690"></a> 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="id2567662"></a>Backup Domain Controller Configuration</h2></div></div></div><p>347 <a class="indexterm" name="id25 67669"></a>346 </p></div></div></div><div class="sect1" title="Backup Domain Controller Configuration"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2573721"></a>Backup Domain Controller Configuration</h2></div></div></div><p> 347 <a class="indexterm" name="id2573728"></a> 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 </p><div class="itemizedlist"><ul type="disc"><li><p>351 <a class="indexterm" name="id25 67690"></a>352 <a class="indexterm" name="id25 67697"></a>353 <a class="indexterm" name="id25 67703"></a>354 <a class="indexterm" name="id25 67710"></a>355 <a class="indexterm" name="id25 67717"></a>356 <a class="indexterm" name="id25 67724"></a>350 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 351 <a class="indexterm" name="id2573749"></a> 352 <a class="indexterm" name="id2573756"></a> 353 <a class="indexterm" name="id2573762"></a> 354 <a class="indexterm" name="id2573769"></a> 355 <a class="indexterm" name="id2573776"></a> 356 <a class="indexterm" name="id2573783"></a> 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="id25 67754"></a>365 <a class="indexterm" name="id25 67761"></a>366 <a class="indexterm" name="id25 67768"></a>367 <a class="indexterm" name="id25 67774"></a>368 <a class="indexterm" name="id25 67781"></a>364 <a class="indexterm" name="id2573813"></a> 365 <a class="indexterm" name="id2573820"></a> 366 <a class="indexterm" name="id2573827"></a> 367 <a class="indexterm" name="id2573833"></a> 368 <a class="indexterm" name="id2573840"></a> 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: 371 371 </p><pre class="screen"> 372 372 <code class="prompt">root# </code><strong class="userinput"><code>net rpc getsid</code></strong> 373 </pre></li><li ><p>374 <a class="indexterm" name="id25 67821"></a>375 <a class="indexterm" name="id25 67828"></a>376 <a class="indexterm" name="id25 67835"></a>373 </pre></li><li class="listitem"><p> 374 <a class="indexterm" name="id2573880"></a> 375 <a class="indexterm" name="id2573887"></a> 376 <a class="indexterm" name="id2573894"></a> 377 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 </p></li><li ><p>380 </p></li><li class="listitem"><p> 381 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 </p></li><li ><p>384 <a class="indexterm" name="id25 67910"></a>385 <a class="indexterm" name="id25 67919"></a>386 <a class="indexterm" name="id25 67926"></a>387 <a class="indexterm" name="id25 67932"></a>383 </p></li><li class="listitem"><p> 384 <a class="indexterm" name="id2573968"></a> 385 <a class="indexterm" name="id2573977"></a> 386 <a class="indexterm" name="id2573984"></a> 387 <a class="indexterm" name="id2573991"></a> 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 … … 395 395 a PDC failure. NIS is by no means the only method to synchronize 396 396 passwords. An LDAP solution would also work. 397 </p></li><li ><p>398 <a class="indexterm" name="id25 67965"></a>399 <a class="indexterm" name="id25 67972"></a>400 <a class="indexterm" name="id25 67979"></a>401 <a class="indexterm" name="id25 67986"></a>402 <a class="indexterm" name="id25 67992"></a>403 <a class="indexterm" name="id25 67999"></a>404 <a class="indexterm" name="id25 68006"></a>405 <a class="indexterm" name="id25 68012"></a>397 </p></li><li class="listitem"><p> 398 <a class="indexterm" name="id2574024"></a> 399 <a class="indexterm" name="id2574031"></a> 400 <a class="indexterm" name="id2574038"></a> 401 <a class="indexterm" name="id2574044"></a> 402 <a class="indexterm" name="id2574051"></a> 403 <a class="indexterm" name="id2574058"></a> 404 <a class="indexterm" name="id2574064"></a> 405 <a class="indexterm" name="id2574071"></a> 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="id25 68058"></a>421 <a class="indexterm" name="id25 68064"></a>422 <a class="indexterm" name="id25 68071"></a>423 <a class="indexterm" name="id25 68078"></a>420 <a class="indexterm" name="id2574117"></a> 421 <a class="indexterm" name="id2574123"></a> 422 <a class="indexterm" name="id2574130"></a> 423 <a class="indexterm" name="id2574137"></a> 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 426 426 will be written to the shared directory. This eliminates the need for any special 427 427 action to synchronize account information because LDAP will meet that requirement. 428 </p></li><li ><p>429 <a class="indexterm" name="id25 68095"></a>430 <a class="indexterm" name="id25 68102"></a>431 <a class="indexterm" name="id25 68109"></a>432 <a class="indexterm" name="id25 68115"></a>433 <a class="indexterm" name="id25 68122"></a>434 <a class="indexterm" name="id25 68128"></a>428 </p></li><li class="listitem"><p> 429 <a class="indexterm" name="id2574154"></a> 430 <a class="indexterm" name="id2574161"></a> 431 <a class="indexterm" name="id2574167"></a> 432 <a class="indexterm" name="id2574174"></a> 433 <a class="indexterm" name="id2574180"></a> 434 <a class="indexterm" name="id2574187"></a> 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="id2568163"></a>Example Configuration</h3></div></div></div><p>441 </p></li></ul></div><div class="sect2" title="Example Configuration"><div class="titlepage"><div><div><h3 class="title"><a name="id2574222"></a>Example Configuration</h3></div></div></div><p> 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="id2568209"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2568220"></a><em class="parameter"><code>passdb backend = ldapsam:ldap://slave-ldap.quenya.org</code></em></td></tr><tr><td><a class="indexterm" name="id2568233"></a><em class="parameter"><code>domain master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2568244"></a><em class="parameter"><code>domain logons = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2568256"></a><em class="parameter"><code>ldap suffix = dc=abmas,dc=biz</code></em></td></tr><tr><td><a class="indexterm" name="id2568268"></a><em class="parameter"><code>ldap user suffix = ou=Users</code></em></td></tr><tr><td><a class="indexterm" name="id2568280"></a><em class="parameter"><code>ldap group suffix = ou=Groups</code></em></td></tr><tr><td><a class="indexterm" name="id2568292"></a><em class="parameter"><code>ldap machine suffix = ou=Computers</code></em></td></tr><tr><td><a class="indexterm" name="id2568304"></a><em class="parameter"><code>ldap idmap suffix = ou=Idmap</code></em></td></tr><tr><td><a class="indexterm" name="id2568316"></a><em class="parameter"><code>ldap admin dn = cn=sambadmin,dc=quenya,dc=org</code></em></td></tr><tr><td><a class="indexterm" name="id2568328"></a><em class="parameter"><code>idmap backend = ldap:ldap://master-ldap.quenya.org</code></em></td></tr><tr><td><a class="indexterm" name="id2568340"></a><em class="parameter"><code>idmap uid = 10000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2568352"></a><em class="parameter"><code>idmap gid = 10000-20000</code></em></td></tr></table></div></div><br class="example-break"><p>445 </p><div class="example"><a name="minim-bdc"></a><p class="title"><b>Example 5.3. Minimal Setup for Being a BDC</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2574267"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2574279"></a><em class="parameter"><code>passdb backend = ldapsam:ldap://slave-ldap.quenya.org</code></em></td></tr><tr><td><a class="indexterm" name="id2574292"></a><em class="parameter"><code>domain master = no</code></em></td></tr><tr><td><a class="indexterm" name="id2574303"></a><em class="parameter"><code>domain logons = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2574315"></a><em class="parameter"><code>ldap suffix = dc=abmas,dc=biz</code></em></td></tr><tr><td><a class="indexterm" name="id2574327"></a><em class="parameter"><code>ldap user suffix = ou=Users</code></em></td></tr><tr><td><a class="indexterm" name="id2574339"></a><em class="parameter"><code>ldap group suffix = ou=Groups</code></em></td></tr><tr><td><a class="indexterm" name="id2574351"></a><em class="parameter"><code>ldap machine suffix = ou=Computers</code></em></td></tr><tr><td><a class="indexterm" name="id2574363"></a><em class="parameter"><code>ldap idmap suffix = ou=Idmap</code></em></td></tr><tr><td><a class="indexterm" name="id2574375"></a><em class="parameter"><code>ldap admin dn = cn=sambadmin,dc=quenya,dc=org</code></em></td></tr><tr><td><a class="indexterm" name="id2574387"></a><em class="parameter"><code>idmap backend = ldap:ldap://master-ldap.quenya.org</code></em></td></tr><tr><td><a class="indexterm" name="id2574399"></a><em class="parameter"><code>idmap uid = 10000-20000</code></em></td></tr><tr><td><a class="indexterm" name="id2574411"></a><em class="parameter"><code>idmap gid = 10000-20000</code></em></td></tr></table></div></div><br class="example-break"><p> 446 446 Fully documented working example network configurations using OpenLDAP and Samba 447 as available in the <a class="ulink" href="http://www.samba.org/samba/docs/Samba3-ByExample" target="_top">book</a> “<span class="quote">Samba-3448 by Example</span>” that may be obtained from local and on-line book stores.449 </p><p> 450 <a class="indexterm" name="id25 68383"></a>451 <a class="indexterm" name="id25 68390"></a>452 <a class="indexterm" name="id25 68397"></a>453 <a class="indexterm" name="id25 68403"></a>447 as available in the <a class="ulink" href="http://www.samba.org/samba/docs/Samba3-ByExample" target="_top">book</a> <span class="quote">“<span class="quote">Samba-3 448 by Example</span>”</span> that may be obtained from local and on-line book stores. 449 </p><p> 450 <a class="indexterm" name="id2574442"></a> 451 <a class="indexterm" name="id2574449"></a> 452 <a class="indexterm" name="id2574455"></a> 453 <a class="indexterm" name="id2574462"></a> 454 454 This configuration causes the BDC to register only the name MIDEARTH<1C> with the WINS server. This is 455 455 not a problem, as the name MIDEARTH<1C> is a NetBIOS group name that is meant to be registered by more … … 457 457 register MIDEARTH<1B>, which is a unique NetBIOS name that is reserved for the PDC. 458 458 </p><p> 459 <a class="indexterm" name="id25 68436"></a>460 <a class="indexterm" name="id25 68442"></a>461 <a class="indexterm" name="id25 68449"></a>462 <a class="indexterm" name="id25 68456"></a>463 <a class="indexterm" name="id25 68462"></a>464 <a class="indexterm" name="id25 68469"></a>465 <a class="indexterm" name="id25 68476"></a>466 <a class="indexterm" name="id25 68483"></a>467 <a class="indexterm" name="id25 68490"></a>459 <a class="indexterm" name="id2574494"></a> 460 <a class="indexterm" name="id2574501"></a> 461 <a class="indexterm" name="id2574508"></a> 462 <a class="indexterm" name="id2574514"></a> 463 <a class="indexterm" name="id2574521"></a> 464 <a class="indexterm" name="id2574528"></a> 465 <a class="indexterm" name="id2574535"></a> 466 <a class="indexterm" name="id2574542"></a> 467 <a class="indexterm" name="id2574549"></a> 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 470 470 shared. The BDC will however depend on local resolution of UIDs and GIDs via NSS and the 471 471 <code class="literal">nss_ldap</code> utility. 472 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>473 <a class="indexterm" name="id25 68523"></a>474 <a class="indexterm" name="id25 68532"></a>475 <a class="indexterm" name="id25 68539"></a>476 <a class="indexterm" name="id25 68545"></a>472 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 473 <a class="indexterm" name="id2574582"></a> 474 <a class="indexterm" name="id2574591"></a> 475 <a class="indexterm" name="id2574598"></a> 476 <a class="indexterm" name="id2574605"></a> 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="id25 68576"></a>485 <a class="indexterm" name="id25 68582"></a>486 <a class="indexterm" name="id25 68589"></a>484 <a class="indexterm" name="id2574642"></a> 485 <a class="indexterm" name="id2574649"></a> 486 <a class="indexterm" name="id2574656"></a> 487 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 … … 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="id2568620"></a>Common Errors</h2></div></div></div><p>493 <a class="indexterm" name="id25 68628"></a>492 </p></div></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2574686"></a>Common Errors</h2></div></div></div><p> 493 <a class="indexterm" name="id2574694"></a> 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 496 496 from the Samba Web <a class="ulink" href="http://samba.org" target="_top">site</a>; refer in particular to the 497 <code class="filename">WHATSNEW.txt</code> in the Samba release tarball. The book, “<span class="quote">Samba-3 by Example</span>”497 <code class="filename">WHATSNEW.txt</code> in the Samba release tarball. The book, <span class="quote">“<span class="quote">Samba-3 by Example</span>”</span> 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="id2568664"></a>Machine Accounts Keep Expiring</h3></div></div></div><p>501 <a class="indexterm" name="id25 68672"></a>502 <a class="indexterm" name="id25 68679"></a>503 <a class="indexterm" name="id25 68686"></a>504 <a class="indexterm" name="id25 68692"></a>500 </p><div class="sect2" title="Machine Accounts Keep Expiring"><div class="titlepage"><div><div><h3 class="title"><a name="id2574730"></a>Machine Accounts Keep Expiring</h3></div></div></div><p> 501 <a class="indexterm" name="id2574738"></a> 502 <a class="indexterm" name="id2574745"></a> 503 <a class="indexterm" name="id2574752"></a> 504 <a class="indexterm" name="id2574758"></a> 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="id2568719"></a>Can Samba Be a Backup Domain Controller to an NT4 PDC?</h3></div></div></div><p>517 <a class="indexterm" name="id25 68727"></a>518 <a class="indexterm" name="id25 68736"></a>516 </p></div><div class="sect2" title="Can Samba Be a Backup Domain Controller to an NT4 PDC?"><div class="titlepage"><div><div><h3 class="title"><a name="id2574784"></a>Can Samba Be a Backup Domain Controller to an NT4 PDC?</h3></div></div></div><p> 517 <a class="indexterm" name="id2574793"></a> 518 <a class="indexterm" name="id2574802"></a> 519 519 No. The native NT4 SAM replication protocols have not yet been fully implemented. 520 520 </p><p> 521 <a class="indexterm" name="id25 68747"></a>522 <a class="indexterm" name="id25 68754"></a>523 <a class="indexterm" name="id25 68760"></a>521 <a class="indexterm" name="id2574813"></a> 522 <a class="indexterm" name="id2574820"></a> 523 <a class="indexterm" name="id2574826"></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="id2568774"></a>How Do I Replicate the smbpasswd File?</h3></div></div></div><p>529 <a class="indexterm" name="id25 68782"></a>530 <a class="indexterm" name="id25 68791"></a>531 <a class="indexterm" name="id25 68798"></a>528 </p></div><div class="sect2" title="How Do I Replicate the smbpasswd File?"><div class="titlepage"><div><div><h3 class="title"><a name="id2574840"></a>How Do I Replicate the smbpasswd File?</h3></div></div></div><p> 529 <a class="indexterm" name="id2574848"></a> 530 <a class="indexterm" name="id2574857"></a> 531 <a class="indexterm" name="id2574864"></a> 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="id25 68812"></a>537 <a class="indexterm" name="id25 68819"></a>538 <a class="indexterm" name="id25 68825"></a>536 <a class="indexterm" name="id2574878"></a> 537 <a class="indexterm" name="id2574885"></a> 538 <a class="indexterm" name="id2574891"></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="id25 68856"></a>546 <a class="indexterm" name="id25 68863"></a>545 <a class="indexterm" name="id2574922"></a> 546 <a class="indexterm" name="id2574929"></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="id2568879"></a>Can I Do This All with LDAP?</h3></div></div></div><p>551 <a class="indexterm" name="id25 68887"></a>552 <a class="indexterm" name="id25 68894"></a>550 </p></div><div class="sect2" title="Can I Do This All with LDAP?"><div class="titlepage"><div><div><h3 class="title"><a name="id2574945"></a>Can I Do This All with LDAP?</h3></div></div></div><p> 551 <a class="indexterm" name="id2574953"></a> 552 <a class="indexterm" name="id2574960"></a> 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.3.x/docs/htmldocs/Samba3-HOWTO/samba-pdc.html
r274 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 4. Domain Control</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="type.html" title="Part II. Server Configuration Basics"><link rel="prev" href="ServerType.html" title="Chapter 3. Server Types and Security Modes"><link rel="next" href="samba-bdc.html" title="Chapter 5. Backup Domain Control"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 4. Domain Control</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ServerType.html">Prev</a> </td><th width="60%" align="center">Part II. Server Configuration Basics</th><td width="20%" align="right"> <a accesskey="n" href="samba-bdc.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="samba-pdc"></a>Chapter 4. Domain Control</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2561262">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2562485">Basics of Domain Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2562505">Domain Controller Types</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2563009">Preparing for Domain Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2564263">Samba ADS Domain Control</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2564316">Domain and Network Logon Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2564335">Domain Network Logon Service</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2564926">Security Mode and Master Browsers</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2565206">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2565212">$ Cannot Be Included in Machine Name</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565312">Joining Domain Fails Because of Existing Machine Account</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565377">The System Cannot Log You On (C000019B)</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565454">The Machine Trust Account Is Not Accessible</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565573">Account Disabled</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565600">Domain Controller Unavailable</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565619">Cannot Log onto Domain Member Workstation After Joining Domain</a></span></dt></dl></dd></dl></div><p>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 4. Domain Control</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="type.html" title="Part II. Server Configuration Basics"><link rel="prev" href="ServerType.html" title="Chapter 3. Server Types and Security Modes"><link rel="next" href="samba-bdc.html" title="Chapter 5. Backup Domain Control"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 4. Domain Control</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ServerType.html">Prev</a> </td><th width="60%" align="center">Part II. Server Configuration Basics</th><td width="20%" align="right"> <a accesskey="n" href="samba-bdc.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 4. Domain Control"><div class="titlepage"><div><div><h2 class="title"><a name="samba-pdc"></a>Chapter 4. Domain Control</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:gd@samba.org">gd@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="samba-pdc.html#id2567320">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2568544">Basics of Domain Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2568563">Domain Controller Types</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2569068">Preparing for Domain Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2570321">Samba ADS Domain Control</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2570374">Domain and Network Logon Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2570393">Domain Network Logon Service</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2570985">Security Mode and Master Browsers</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2571265">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2571270"><span class="quote">“<span class="quote">$</span>”</span> Cannot Be Included in Machine Name</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2571371">Joining Domain Fails Because of Existing Machine Account</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2571436">The System Cannot Log You On (C000019B)</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2571512">The Machine Trust Account Is Not Accessible</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2571632">Account Disabled</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2571659">Domain Controller Unavailable</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2571678">Cannot Log onto Domain Member Workstation After Joining Domain</a></span></dt></dl></dd></dl></div><p> 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="id256 1124"></a>7 <a class="indexterm" name="id2567183"></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 … … 21 21 sections of this HOWTO that deal with it. These are the most common causes of MS Windows 22 22 networking problems: 23 </p><div class="itemizedlist"><ul type="disc"><li><p>Basic TCP/IP configuration.</p></li><li><p>NetBIOS name resolution.</p></li><li><p>Authentication configuration.</p></li><li><p>User and group configuration.</p></li><li><p>Basic file and directory permission control in UNIX/Linux.</p></li><li><p>Understanding how MS Windows clients interoperate in a network environment.</p></li></ul></div><p>23 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Basic TCP/IP configuration.</p></li><li class="listitem"><p>NetBIOS name resolution.</p></li><li class="listitem"><p>Authentication configuration.</p></li><li class="listitem"><p>User and group configuration.</p></li><li class="listitem"><p>Basic file and directory permission control in UNIX/Linux.</p></li><li class="listitem"><p>Understanding how MS Windows clients interoperate in a network environment.</p></li></ul></div><p> 24 24 Do not be put off; on the surface of it MS Windows networking seems so simple that anyone 25 25 can do it. In fact, it is not a good idea to set up an MS Windows network with … … 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="id2561262"></a>Features and Benefits</h2></div></div></div><p>36 <a class="indexterm" name="id256 1270"></a>35 </p><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2567320"></a>Features and Benefits</h2></div></div></div><p> 36 <a class="indexterm" name="id2567328"></a> 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="id256 1284"></a>40 <a class="indexterm" name="id256 1294"></a>41 <a class="indexterm" name="id256 1300"></a>42 <a class="indexterm" name="id256 1307"></a>39 <a class="indexterm" name="id2567343"></a> 40 <a class="indexterm" name="id2567352"></a> 41 <a class="indexterm" name="id2567359"></a> 42 <a class="indexterm" name="id2567366"></a> 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="id256 1335"></a>51 <a class="indexterm" name="id256 1342"></a>52 <a class="indexterm" name="id256 1349"></a>53 <a class="indexterm" name="id256 1358"></a>54 <a class="indexterm" name="id256 1367"></a>50 <a class="indexterm" name="id2567394"></a> 51 <a class="indexterm" name="id2567401"></a> 52 <a class="indexterm" name="id2567408"></a> 53 <a class="indexterm" name="id2567417"></a> 54 <a class="indexterm" name="id2567426"></a> 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="id256 1386"></a>61 <a class="indexterm" name="id2567445"></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="id256 1401"></a>67 <a class="indexterm" name="id256 1407"></a>66 <a class="indexterm" name="id2567459"></a> 67 <a class="indexterm" name="id2567466"></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 … … 82 82 </pre><p> 83 83 The result is that every account in the Windows networking world has a globally unique security identifier. 84 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>85 <a class="indexterm" name="id256 1454"></a>86 <a class="indexterm" name="id256 1464"></a>87 <a class="indexterm" name="id256 1470"></a>84 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 85 <a class="indexterm" name="id2567513"></a> 86 <a class="indexterm" name="id2567522"></a> 87 <a class="indexterm" name="id2567529"></a> 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 … … 92 92 </p></div><p> 93 93 The following functionalities are new to the Samba-3 release: 94 </p><div class="itemizedlist"><ul type="disc"><li><p>95 <a class="indexterm" name="id256 1504"></a>94 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 95 <a class="indexterm" name="id2567563"></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="id256 1521"></a>101 <a class="indexterm" name="id256 1528"></a>102 <a class="indexterm" name="id256 1534"></a>103 <a class="indexterm" name="id256 1541"></a>104 <a class="indexterm" name="id256 1548"></a>100 <a class="indexterm" name="id2567579"></a> 101 <a class="indexterm" name="id2567586"></a> 102 <a class="indexterm" name="id2567593"></a> 103 <a class="indexterm" name="id2567600"></a> 104 <a class="indexterm" name="id2567607"></a> 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 </p></li><li ><p>108 <a class="indexterm" name="id256 1563"></a>109 <a class="indexterm" name="id256 1574"></a>110 <a class="indexterm" name="id256 1584"></a>107 </p></li><li class="listitem"><p> 108 <a class="indexterm" name="id2567621"></a> 109 <a class="indexterm" name="id2567633"></a> 110 <a class="indexterm" name="id2567642"></a> 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 </p></li><li ><p>115 <a class="indexterm" name="id256 1599"></a>116 <a class="indexterm" name="id256 1606"></a>117 <a class="indexterm" name="id256 1612"></a>118 <a class="indexterm" name="id256 1619"></a>119 <a class="indexterm" name="id256 1629"></a>120 <a class="indexterm" name="id256 1638"></a>114 </p></li><li class="listitem"><p> 115 <a class="indexterm" name="id2567657"></a> 116 <a class="indexterm" name="id2567664"></a> 117 <a class="indexterm" name="id2567671"></a> 118 <a class="indexterm" name="id2567678"></a> 119 <a class="indexterm" name="id2567687"></a> 120 <a class="indexterm" name="id2567696"></a> 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 </p></li><li ><p>125 <a class="indexterm" name="id256 1656"></a>126 <a class="indexterm" name="id256 1663"></a>127 <a class="indexterm" name="id256 1670"></a>124 </p></li><li class="listitem"><p> 125 <a class="indexterm" name="id2567715"></a> 126 <a class="indexterm" name="id2567722"></a> 127 <a class="indexterm" name="id2567728"></a> 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 </p></li><li ><p>132 <a class="indexterm" name="id256 1685"></a>131 </p></li><li class="listitem"><p> 132 <a class="indexterm" name="id2567744"></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 135 135 Windows NT4/200x/XP platforms. These packages are available from Microsoft's Web site. 136 </p></li><li ><p>136 </p></li><li class="listitem"><p> 137 137 Implements full Unicode support. This simplifies cross-locale internationalization support. It also opens up 138 138 the use of protocols that Samba-2.2.x had but could not use due to the need to fully support Unicode. 139 139 </p></li></ul></div><p> 140 140 The following functionalities are not provided by Samba-3: 141 </p><div class="itemizedlist"><ul type="disc"><li><p>142 <a class="indexterm" name="id256 1722"></a>143 <a class="indexterm" name="id256 1729"></a>141 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 142 <a class="indexterm" name="id2567781"></a> 143 <a class="indexterm" name="id2567787"></a> 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 </p></li><li ><p>148 <a class="indexterm" name="id256 1745"></a>149 <a class="indexterm" name="id256 1752"></a>147 </p></li><li class="listitem"><p> 148 <a class="indexterm" name="id2567803"></a> 149 <a class="indexterm" name="id2567810"></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. … … 153 153 generation Samba release. At this time there are no plans to enable active directory domain control 154 154 support during the Samba-3 series life-cycle. 155 </p></li><li ><p>156 <a class="indexterm" name="id256 1771"></a>157 <a class="indexterm" name="id256 1777"></a>158 <a class="indexterm" name="id256 1784"></a>155 </p></li><li class="listitem"><p> 156 <a class="indexterm" name="id2567829"></a> 157 <a class="indexterm" name="id2567836"></a> 158 <a class="indexterm" name="id2567843"></a> 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="id256 1802"></a>164 <a class="indexterm" name="id256 1810"></a>163 <a class="indexterm" name="id2567861"></a> 164 <a class="indexterm" name="id2567868"></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="id256 1827"></a>170 <a class="indexterm" name="id2567885"></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="id256 1850"></a>176 <a class="indexterm" name="id256 1857"></a>177 <a class="indexterm" name="id256 1866"></a>175 <a class="indexterm" name="id2567908"></a> 176 <a class="indexterm" name="id2567916"></a> 177 <a class="indexterm" name="id2567924"></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="id2561896"></a>Single Sign-On and Domain Security</h2></div></div></div><p>184 <a class="indexterm" name="id256 1905"></a>185 <a class="indexterm" name="id256 1913"></a>186 <a class="indexterm" name="id256 1920"></a>187 <a class="indexterm" name="id256 1927"></a>188 <a class="indexterm" name="id256 1934"></a>189 <a class="indexterm" name="id256 1941"></a>190 <a class="indexterm" name="id256 1948"></a>183 </p></div><div class="sect1" title="Single Sign-On and Domain Security"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2567955"></a>Single Sign-On and Domain Security</h2></div></div></div><p> 184 <a class="indexterm" name="id2567963"></a> 185 <a class="indexterm" name="id2567972"></a> 186 <a class="indexterm" name="id2567979"></a> 187 <a class="indexterm" name="id2567986"></a> 188 <a class="indexterm" name="id2567992"></a> 189 <a class="indexterm" name="id2567999"></a> 190 <a class="indexterm" name="id2568006"></a> 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="id256 1971"></a>200 <a class="indexterm" name="id2568030"></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="id256 1989"></a>208 <a class="indexterm" name="id256 1996"></a>209 <a class="indexterm" name="id256 2003"></a>207 <a class="indexterm" name="id2568048"></a> 208 <a class="indexterm" name="id2568055"></a> 209 <a class="indexterm" name="id2568062"></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="id256 2025"></a>219 <a class="indexterm" name="id256 2032"></a>220 <a class="indexterm" name="id256 2042"></a>221 <a class="indexterm" name="id256 2051"></a>222 <a class="indexterm" name="id256 2058"></a>218 <a class="indexterm" name="id2568084"></a> 219 <a class="indexterm" name="id2568091"></a> 220 <a class="indexterm" name="id2568100"></a> 221 <a class="indexterm" name="id2568110"></a> 222 <a class="indexterm" name="id2568117"></a> 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="id256 2087"></a>236 <a class="indexterm" name="id256 2094"></a>237 <a class="indexterm" name="id256 2101"></a>238 <a class="indexterm" name="id256 2108"></a>239 <a class="indexterm" name="id256 2115"></a>240 <a class="indexterm" name="id256 2122"></a>241 <a class="indexterm" name="id256 2129"></a>242 <a class="indexterm" name="id256 2136"></a>235 <a class="indexterm" name="id2568146"></a> 236 <a class="indexterm" name="id2568153"></a> 237 <a class="indexterm" name="id2568159"></a> 238 <a class="indexterm" name="id2568167"></a> 239 <a class="indexterm" name="id2568174"></a> 240 <a class="indexterm" name="id2568181"></a> 241 <a class="indexterm" name="id2568187"></a> 242 <a class="indexterm" name="id2568194"></a> 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="id256 2157"></a>252 <a class="indexterm" name="id256 2167"></a>253 <a class="indexterm" name="id256 2177"></a>254 <a class="indexterm" name="id256 2186"></a>251 <a class="indexterm" name="id2568216"></a> 252 <a class="indexterm" name="id2568226"></a> 253 <a class="indexterm" name="id2568235"></a> 254 <a class="indexterm" name="id2568245"></a> 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="id256 2205"></a>262 <a class="indexterm" name="id256 2214"></a>263 <a class="indexterm" name="id256 2222"></a>264 <a class="indexterm" name="id256 2228"></a>265 <a class="indexterm" name="id256 2235"></a>266 <a class="indexterm" name="id256 2241"></a>261 <a class="indexterm" name="id2568264"></a> 262 <a class="indexterm" name="id2568273"></a> 263 <a class="indexterm" name="id2568280"></a> 264 <a class="indexterm" name="id2568287"></a> 265 <a class="indexterm" name="id2568294"></a> 266 <a class="indexterm" name="id2568300"></a> 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 nutshell, that is why FIM is a big and growing industry. 275 275 </p><p> 276 <a class="indexterm" name="id256 2277"></a>277 <a class="indexterm" name="id256 2284"></a>278 <a class="indexterm" name="id256 2291"></a>279 <a class="indexterm" name="id256 2298"></a>280 <a class="indexterm" name="id256 2304"></a>276 <a class="indexterm" name="id2568336"></a> 277 <a class="indexterm" name="id2568343"></a> 278 <a class="indexterm" name="id2568349"></a> 279 <a class="indexterm" name="id2568356"></a> 280 <a class="indexterm" name="id2568363"></a> 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="id256 2329"></a>290 <a class="indexterm" name="id256 2336"></a>291 <a class="indexterm" name="id256 2342"></a>289 <a class="indexterm" name="id2568388"></a> 290 <a class="indexterm" name="id2568394"></a> 291 <a class="indexterm" name="id2568401"></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="id256 2360"></a>298 <a class="indexterm" name="id256 2366"></a>299 <a class="indexterm" name="id256 2373"></a>300 <a class="indexterm" name="id256 2380"></a>301 <a class="indexterm" name="id256 2387"></a>302 <a class="indexterm" name="id256 2394"></a>297 <a class="indexterm" name="id2568419"></a> 298 <a class="indexterm" name="id2568425"></a> 299 <a class="indexterm" name="id2568432"></a> 300 <a class="indexterm" name="id2568439"></a> 301 <a class="indexterm" name="id2568446"></a> 302 <a class="indexterm" name="id2568453"></a> 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="id256 2419"></a>311 <a class="indexterm" name="id256 2426"></a>312 <a class="indexterm" name="id256 2433"></a>310 <a class="indexterm" name="id2568478"></a> 311 <a class="indexterm" name="id2568485"></a> 312 <a class="indexterm" name="id2568492"></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="id256 2457"></a>319 <a class="indexterm" name="id256 2464"></a>320 <a class="indexterm" name="id256 2471"></a>318 <a class="indexterm" name="id2568516"></a> 319 <a class="indexterm" name="id2568523"></a> 320 <a class="indexterm" name="id2568529"></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="id2562485"></a>Basics of Domain Control</h2></div></div></div><p>325 <a class="indexterm" name="id256 2493"></a>324 </p></div><div class="sect1" title="Basics of Domain Control"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2568544"></a>Basics of Domain Control</h2></div></div></div><p> 325 <a class="indexterm" name="id2568552"></a> 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="id2562505"></a>Domain Controller Types</h3></div></div></div><div class="itemizedlist"><ul type="disc"><li><p>NT4 style Primary Domain Controller</p></li><li><p>NT4 style Backup Domain Controller</p></li><li><p>ADS Domain Controller</p></li></ul></div><p>329 <a class="indexterm" name="id256 2530"></a>330 <a class="indexterm" name="id256 2537"></a>331 <a class="indexterm" name="id256 2544"></a>332 <a class="indexterm" name="id256 2553"></a>328 </p><div class="sect2" title="Domain Controller Types"><div class="titlepage"><div><div><h3 class="title"><a name="id2568563"></a>Domain Controller Types</h3></div></div></div><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>NT4 style Primary Domain Controller</p></li><li class="listitem"><p>NT4 style Backup Domain Controller</p></li><li class="listitem"><p>ADS Domain Controller</p></li></ul></div><p> 329 <a class="indexterm" name="id2568589"></a> 330 <a class="indexterm" name="id2568596"></a> 331 <a class="indexterm" name="id2568602"></a> 332 <a class="indexterm" name="id2568612"></a> 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="id256 2581"></a>341 <a class="indexterm" name="id256 2588"></a>342 <a class="indexterm" name="id256 2594"></a>343 <a class="indexterm" name="id256 2601"></a>344 <a class="indexterm" name="id256 2608"></a>340 <a class="indexterm" name="id2568640"></a> 341 <a class="indexterm" name="id2568646"></a> 342 <a class="indexterm" name="id2568653"></a> 343 <a class="indexterm" name="id2568660"></a> 344 <a class="indexterm" name="id2568667"></a> 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="id256 2626"></a>351 <a class="indexterm" name="id256 2637"></a>352 <a class="indexterm" name="id256 2644"></a>353 <a class="indexterm" name="id256 2653"></a>350 <a class="indexterm" name="id2568684"></a> 351 <a class="indexterm" name="id2568696"></a> 352 <a class="indexterm" name="id2568703"></a> 353 <a class="indexterm" name="id2568712"></a> 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="id256 2671"></a>361 <a class="indexterm" name="id256 2678"></a>360 <a class="indexterm" name="id2568730"></a> 361 <a class="indexterm" name="id2568736"></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="id256 2687" href="#ftn.id2562687" class="footnote">1</a>]</sup>364 </p><p> 365 <a class="indexterm" name="id256 2703"></a>366 <a class="indexterm" name="id256 2710"></a>367 <a class="indexterm" name="id256 2716"></a>368 <a class="indexterm" name="id256 2723"></a>369 <a class="indexterm" name="id256 2730"></a>370 <a class="indexterm" name="id256 2737"></a>363 database (one of the registry files)<sup>[<a name="id2568746" href="#ftn.id2568746" class="footnote">1</a>]</sup> 364 </p><p> 365 <a class="indexterm" name="id2568762"></a> 366 <a class="indexterm" name="id2568768"></a> 367 <a class="indexterm" name="id2568775"></a> 368 <a class="indexterm" name="id2568782"></a> 369 <a class="indexterm" name="id2568788"></a> 370 <a class="indexterm" name="id2568795"></a> 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="id256 2767"></a>383 <a class="indexterm" name="id256 2774"></a>382 <a class="indexterm" name="id2568826"></a> 383 <a class="indexterm" name="id2568832"></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="id256 2789"></a>388 <a class="indexterm" name="id2568848"></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 391 391 Windows NT4 domain controller to a domain member server or a standalone server is to reinstall it. The install 392 392 time choices offered are: 393 </p><div class="itemizedlist"><ul type="disc"><li><p><span class="emphasis"><em>Primary Domain Controller</em></span> the one that seeds the domain SAM.</p></li><li><p><span class="emphasis"><em>Backup Domain Controller</em></span> one that obtains a copy of the domain SAM.</p></li><li><p><span class="emphasis"><em>Domain Member Server</em></span> one that has no copy of the domain SAM; rather394 it obtains authentication from a domain controller for all access controls.</p></li><li ><p><span class="emphasis"><em>Standalone Server</em></span> one that plays no part in SAM synchronization,395 has its own authentication database, and plays no role in domain security.</p></li></ul></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>396 <a class="indexterm" name="id256 2858"></a>393 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p><span class="emphasis"><em>Primary Domain Controller</em></span> the one that seeds the domain SAM.</p></li><li class="listitem"><p><span class="emphasis"><em>Backup Domain Controller</em></span> one that obtains a copy of the domain SAM.</p></li><li class="listitem"><p><span class="emphasis"><em>Domain Member Server</em></span> one that has no copy of the domain SAM; rather 394 it obtains authentication from a domain controller for all access controls.</p></li><li class="listitem"><p><span class="emphasis"><em>Standalone Server</em></span> one that plays no part in SAM synchronization, 395 has its own authentication database, and plays no role in domain security.</p></li></ul></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 396 <a class="indexterm" name="id2568917"></a> 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="id256 2878"></a>401 <a class="indexterm" name="id256 2889"></a>400 <a class="indexterm" name="id2568936"></a> 401 <a class="indexterm" name="id2568948"></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="id256 2909"></a>406 <a class="indexterm" name="id2568968"></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="id256 2928"></a>412 <a class="indexterm" name="id256 2937"></a>411 <a class="indexterm" name="id2568986"></a> 412 <a class="indexterm" name="id2568995"></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="id256 2953"></a>417 <a class="indexterm" name="id2569011"></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 … … 421 421 configuration and management requirements. Samba can act as a NT4-style domain controller in a Windows 2000/XP 422 422 environment. However, there are certain compromises: 423 </p><div class="itemizedlist"><ul type="disc"><li><p>No machine policy files.</p></li><li><p>No Group Policy Objects.</p></li><li><p>No synchronously executed Active Directory logon scripts.</p></li><li><p>Can't use Active Directory management tools to manage users and machines.</p></li><li><p>Registry changes tattoo the main registry, while with Active Directory they do not leave424 permanent changes in effect.</p></li><li ><p>Without Active Directory you cannot perform the function of exporting specific425 applications to specific users or groups.</p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2563009"></a>Preparing for Domain Control</h3></div></div></div><p>426 <a class="indexterm" name="id256 3018"></a>427 <a class="indexterm" name="id256 3024"></a>428 <a class="indexterm" name="id256 3031"></a>429 <a class="indexterm" name="id256 3038"></a>423 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>No machine policy files.</p></li><li class="listitem"><p>No Group Policy Objects.</p></li><li class="listitem"><p>No synchronously executed Active Directory logon scripts.</p></li><li class="listitem"><p>Can't use Active Directory management tools to manage users and machines.</p></li><li class="listitem"><p>Registry changes tattoo the main registry, while with Active Directory they do not leave 424 permanent changes in effect.</p></li><li class="listitem"><p>Without Active Directory you cannot perform the function of exporting specific 425 applications to specific users or groups.</p></li></ul></div></div><div class="sect2" title="Preparing for Domain Control"><div class="titlepage"><div><div><h3 class="title"><a name="id2569068"></a>Preparing for Domain Control</h3></div></div></div><p> 426 <a class="indexterm" name="id2569076"></a> 427 <a class="indexterm" name="id2569083"></a> 428 <a class="indexterm" name="id2569090"></a> 429 <a class="indexterm" name="id2569097"></a> 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="id256 3063"></a>436 <a class="indexterm" name="id256 3070"></a>437 <a class="indexterm" name="id256 3079"></a>435 <a class="indexterm" name="id2569122"></a> 436 <a class="indexterm" name="id2569129"></a> 437 <a class="indexterm" name="id2569138"></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="id256 3102"></a>446 <a class="indexterm" name="id256 3109"></a>447 <a class="indexterm" name="id256 3119"></a>445 <a class="indexterm" name="id2569161"></a> 446 <a class="indexterm" name="id2569168"></a> 447 <a class="indexterm" name="id2569177"></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 … … 451 451 not exist), and then initializes that account. When the client first logs onto the 452 452 domain, a machine trust account password change will be automatically triggered. 453 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>454 <a class="indexterm" name="id256 3138"></a>453 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 454 <a class="indexterm" name="id2569196"></a> 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" target="_top">security = user</a>).</p></li><li><p>Consistent configuration of name resolution.<sup>[<a name="id2563193" href="#ftn.id2563193" class="footnote">2</a>]</sup></p></li><li><p>Domain logons for Windows NT4/200x/XP Professional clients.</p></li><li><p>Configuration of roaming profiles or explicit configuration to force local profile usage.</p></li><li><p>Configuration of network/system policies.</p></li><li><p>Adding and managing domain user accounts.</p></li><li><p>Configuring MS Windows NT4/2000 Professional and Windows XP Professional client machines to become domain members.</p></li></ul></div><p>463 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Configuration of basic TCP/IP and MS Windows networking.</p></li><li class="listitem"><p>Correct designation of the server role (<a class="link" href="smb.conf.5.html#SECURITY" target="_top">security = user</a>).</p></li><li class="listitem"><p>Consistent configuration of name resolution.<sup>[<a name="id2569252" href="#ftn.id2569252" class="footnote">2</a>]</sup></p></li><li class="listitem"><p>Domain logons for Windows NT4/200x/XP Professional clients.</p></li><li class="listitem"><p>Configuration of roaming profiles or explicit configuration to force local profile usage.</p></li><li class="listitem"><p>Configuration of network/system policies.</p></li><li class="listitem"><p>Adding and managing domain user accounts.</p></li><li class="listitem"><p>Configuring MS Windows NT4/2000 Professional and Windows XP Professional client machines to become domain members.</p></li></ul></div><p> 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" target="_top">security = user</a>).</p></li><li><p>Network logon configuration (since Windows 9x/Me/XP Home are not technically domain466 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 configuration467 to log onto the domain.</p></li><li ><p>Placing Windows 9x/Me clients in user-level security if it is desired to allow468 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="id256 3315"></a>470 <a class="indexterm" name="id256 3321"></a>465 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Configuration of basic TCP/IP and MS Windows networking.</p></li><li class="listitem"><p>Correct designation of the server role (<a class="link" href="smb.conf.5.html#SECURITY" target="_top">security = user</a>).</p></li><li class="listitem"><p>Network logon configuration (since Windows 9x/Me/XP Home are not technically domain 466 members, they do not really participate in the security aspects of Domain logons as such).</p></li><li class="listitem"><p>Roaming profile configuration.</p></li><li class="listitem"><p>Configuration of system policy handling.</p></li><li class="listitem"><p>Installation of the network driver <span class="quote">“<span class="quote">Client for MS Windows Networks</span>”</span> and configuration 467 to log onto the domain.</p></li><li class="listitem"><p>Placing Windows 9x/Me clients in user-level security if it is desired to allow 468 all client-share access to be controlled according to domain user/group identities.</p></li><li class="listitem"><p>Adding and managing domain user accounts.</p></li></ul></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 469 <a class="indexterm" name="id2569374"></a> 470 <a class="indexterm" name="id2569380"></a> 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 … … 475 475 </p></div><p> 476 476 A domain controller is an SMB/CIFS server that: 477 </p><div class="itemizedlist"><ul type="disc"><li><p>478 <a class="indexterm" name="id256 3357"></a>479 <a class="indexterm" name="id256 3366"></a>480 <a class="indexterm" name="id256 3373"></a>481 <a class="indexterm" name="id256 3380"></a>482 <a class="indexterm" name="id256 3387"></a>477 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 478 <a class="indexterm" name="id2569416"></a> 479 <a class="indexterm" name="id2569425"></a> 480 <a class="indexterm" name="id2569432"></a> 481 <a class="indexterm" name="id2569439"></a> 482 <a class="indexterm" name="id2569446"></a> 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 </p></li><li ><p>487 <a class="indexterm" name="id256 3402"></a>488 <a class="indexterm" name="id256 3409"></a>486 </p></li><li class="listitem"><p> 487 <a class="indexterm" name="id2569461"></a> 488 <a class="indexterm" name="id2569468"></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, 491 491 the Local Security Account service, and variations of them.) 492 </p></li><li ><p>492 </p></li><li class="listitem"><p> 493 493 Provides a share called NETLOGON. 494 494 </p></li></ul></div><p> 495 <a class="indexterm" name="id256 3430"></a>496 <a class="indexterm" name="id256 3441"></a>497 <a class="indexterm" name="id256 3453"></a>498 <a class="indexterm" name="id256 3460"></a>499 <a class="indexterm" name="id256 3466"></a>495 <a class="indexterm" name="id2569488"></a> 496 <a class="indexterm" name="id2569500"></a> 497 <a class="indexterm" name="id2569512"></a> 498 <a class="indexterm" name="id2569519"></a> 499 <a class="indexterm" name="id2569525"></a> 500 500 It is rather easy to configure Samba to provide these. Each Samba domain controller must provide the NETLOGON 501 501 service that Samba calls the <a class="link" href="smb.conf.5.html#DOMAINLOGONS" 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="id256 3498" href="#ftn.id2563498" class="footnote">3</a>]</sup> This causes the PDC to claim a domain-specific NetBIOS name that identifies503 domain master browser.<sup>[<a name="id2569557" href="#ftn.id2569557" class="footnote">3</a>]</sup> This causes the PDC to claim a domain-specific NetBIOS name that identifies 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="id2563520"></a>Domain Control: Example Configuration</h2></div></div></div><p>508 </p></div></div><div class="sect1" title="Domain Control: Example Configuration"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2569579"></a>Domain Control: Example Configuration</h2></div></div></div><p> 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="id2563575"></a></td></tr><tr><td><a class="indexterm" name="id2563582"></a></td></tr><tr><td><a class="indexterm" name="id2563589"></a><em class="parameter"><code>passdb backend = tdbsam</code></em></td></tr><tr><td><a class="indexterm" name="id2563601"></a><em class="parameter"><code>os level = 33</code></em></td></tr><tr><td><a class="indexterm" name="id2563612"></a><em class="parameter"><code>preferred master = auto</code></em></td></tr><tr><td><a class="indexterm" name="id2563624"></a><em class="parameter"><code>domain master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2563636"></a><em class="parameter"><code>local master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2563648"></a><em class="parameter"><code>security = user</code></em></td></tr><tr><td><a class="indexterm" name="id2563659"></a><em class="parameter"><code>domain logons = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2563671"></a><em class="parameter"><code>logon path = \\%N\profiles\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2563683"></a><em class="parameter"><code>logon drive = H:</code></em></td></tr><tr><td><a class="indexterm" name="id2563694"></a><em class="parameter"><code>logon home = \\homeserver\%U\winprofile</code></em></td></tr><tr><td><a class="indexterm" name="id2563706"></a><em class="parameter"><code>logon script = logon.cmd</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[netlogon]</code></em></td></tr><tr><td><a class="indexterm" name="id2563727"></a><em class="parameter"><code>path = /var/lib/samba/netlogon</code></em></td></tr><tr><td><a class="indexterm" name="id2563739"></a><em class="parameter"><code>read only = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2563751"></a></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[profiles]</code></em></td></tr><tr><td><a class="indexterm" name="id2563766"></a><em class="parameter"><code>path = /var/lib/samba/profiles</code></em></td></tr><tr><td><a class="indexterm" name="id2563778"></a><em class="parameter"><code>read only = no</code></em></td></tr><tr><td><a class="indexterm" name="id2563790"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2563801"></a><em class="parameter"><code>directory mask = 0700</code></em></td></tr></table></div></div><br class="example-break"><p>512 </p><div class="example"><a name="pdc-example"></a><p class="title"><b>Example 4.1. smb.conf for being a PDC</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2569634"></a></td></tr><tr><td><a class="indexterm" name="id2569641"></a></td></tr><tr><td><a class="indexterm" name="id2569647"></a><em class="parameter"><code>passdb backend = tdbsam</code></em></td></tr><tr><td><a class="indexterm" name="id2569659"></a><em class="parameter"><code>os level = 33</code></em></td></tr><tr><td><a class="indexterm" name="id2569671"></a><em class="parameter"><code>preferred master = auto</code></em></td></tr><tr><td><a class="indexterm" name="id2569683"></a><em class="parameter"><code>domain master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2569694"></a><em class="parameter"><code>local master = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2569706"></a><em class="parameter"><code>security = user</code></em></td></tr><tr><td><a class="indexterm" name="id2569718"></a><em class="parameter"><code>domain logons = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2569730"></a><em class="parameter"><code>logon path = \\%N\profiles\%U</code></em></td></tr><tr><td><a class="indexterm" name="id2569741"></a><em class="parameter"><code>logon drive = H:</code></em></td></tr><tr><td><a class="indexterm" name="id2569753"></a><em class="parameter"><code>logon home = \\homeserver\%U\winprofile</code></em></td></tr><tr><td><a class="indexterm" name="id2569765"></a><em class="parameter"><code>logon script = logon.cmd</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[netlogon]</code></em></td></tr><tr><td><a class="indexterm" name="id2569786"></a><em class="parameter"><code>path = /var/lib/samba/netlogon</code></em></td></tr><tr><td><a class="indexterm" name="id2569798"></a><em class="parameter"><code>read only = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2569809"></a></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[profiles]</code></em></td></tr><tr><td><a class="indexterm" name="id2569825"></a><em class="parameter"><code>path = /var/lib/samba/profiles</code></em></td></tr><tr><td><a class="indexterm" name="id2569837"></a><em class="parameter"><code>read only = no</code></em></td></tr><tr><td><a class="indexterm" name="id2569848"></a><em class="parameter"><code>create mask = 0600</code></em></td></tr><tr><td><a class="indexterm" name="id2569860"></a><em class="parameter"><code>directory mask = 0700</code></em></td></tr></table></div></div><br class="example-break"><p> 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="id256 3836"></a>516 <a class="indexterm" name="id256 3845"></a>517 <a class="indexterm" name="id256 3852"></a>518 <a class="indexterm" name="id256 3858"></a>519 <a class="indexterm" name="id256 3865"></a>520 <a class="indexterm" name="id256 3872"></a>515 <a class="indexterm" name="id2569894"></a> 516 <a class="indexterm" name="id2569903"></a> 517 <a class="indexterm" name="id2569910"></a> 518 <a class="indexterm" name="id2569917"></a> 519 <a class="indexterm" name="id2569924"></a> 520 <a class="indexterm" name="id2569931"></a> 521 521 This contains all the user and group account information. Acceptable values for a PDC 522 are: <span class="emphasis"><em>smbpasswd, tdbsam, and ldapsam</em></span>. The “<span class="quote">guest</span>”entry provides522 are: <span class="emphasis"><em>smbpasswd, tdbsam, and ldapsam</em></span>. The <span class="quote">“<span class="quote">guest</span>”</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="id256 3893"></a>526 <a class="indexterm" name="id256 3900"></a>527 <a class="indexterm" name="id256 3907"></a>528 <a class="indexterm" name="id256 3914"></a>525 <a class="indexterm" name="id2569952"></a> 526 <a class="indexterm" name="id2569959"></a> 527 <a class="indexterm" name="id2569966"></a> 528 <a class="indexterm" name="id2569972"></a> 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="id256 3935"></a>534 <a class="indexterm" name="id25 63941"></a>535 <a class="indexterm" name="id25 63948"></a>536 <a class="indexterm" name="id25 63955"></a>533 <a class="indexterm" name="id2569993"></a> 534 <a class="indexterm" name="id2570000"></a> 535 <a class="indexterm" name="id2570007"></a> 536 <a class="indexterm" name="id2570014"></a> 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 63978"></a>542 <a class="indexterm" name="id25 63984"></a>541 <a class="indexterm" name="id2570037"></a> 542 <a class="indexterm" name="id2570043"></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 64022"></a>550 <a class="indexterm" name="id25 64028"></a>551 <a class="indexterm" name="id25 64035"></a>552 <a class="indexterm" name="id25 64042"></a>549 <a class="indexterm" name="id2570080"></a> 550 <a class="indexterm" name="id2570087"></a> 551 <a class="indexterm" name="id2570094"></a> 552 <a class="indexterm" name="id2570101"></a> 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 64071"></a>559 <a class="indexterm" name="id25 64078"></a>560 <a class="indexterm" name="id25 64085"></a>561 <a class="indexterm" name="id25 64092"></a>562 <a class="indexterm" name="id25 64099"></a>563 <a class="indexterm" name="id25 64106"></a>558 <a class="indexterm" name="id2570130"></a> 559 <a class="indexterm" name="id2570137"></a> 560 <a class="indexterm" name="id2570144"></a> 561 <a class="indexterm" name="id2570151"></a> 562 <a class="indexterm" name="id2570158"></a> 563 <a class="indexterm" name="id2570165"></a> 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 64129"></a>570 <a class="indexterm" name="id25 64136"></a>571 <a class="indexterm" name="id25 64143"></a>572 <a class="indexterm" name="id25 64150"></a>573 <a class="indexterm" name="id25 64156"></a>569 <a class="indexterm" name="id2570188"></a> 570 <a class="indexterm" name="id2570195"></a> 571 <a class="indexterm" name="id2570201"></a> 572 <a class="indexterm" name="id2570208"></a> 573 <a class="indexterm" name="id2570215"></a> 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. 576 Samba-3 has a VFS module called “<span class="quote">fake_permissions</span>”that may be installed on this share. This will576 Samba-3 has a VFS module called <span class="quote">“<span class="quote">fake_permissions</span>”</span> that may be installed on this share. This will 577 577 allow a Samba administrator to make the directory read-only to everyone. Of course this is useful 578 578 only after the profile has been properly created. 579 </p></dd></dl></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>579 </p></dd></dl></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 580 580 The above parameters make for a full set of functionality that may define the server's mode 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="id2564197"></a><em class="parameter"><code>netbios name = BELERIAND</code></em></td></tr><tr><td><a class="indexterm" name="id2564208"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2564220"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2564232"></a><em class="parameter"><code>domain master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2564244"></a><em class="parameter"><code>security = User</code></em></td></tr></table><p>583 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2570255"></a><em class="parameter"><code>netbios name = BELERIAND</code></em></td></tr><tr><td><a class="indexterm" name="id2570267"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2570279"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2570291"></a><em class="parameter"><code>domain master = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2570302"></a><em class="parameter"><code>security = User</code></em></td></tr></table><p> 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="id2564263"></a>Samba ADS Domain Control</h2></div></div></div><p>588 <a class="indexterm" name="id25 64271"></a>587 </p></div></div><div class="sect1" title="Samba ADS Domain Control"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2570321"></a>Samba ADS Domain Control</h2></div></div></div><p> 588 <a class="indexterm" name="id2570329"></a> 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 64292"></a>598 <a class="indexterm" name="id25 64299"></a>597 <a class="indexterm" name="id2570351"></a> 598 <a class="indexterm" name="id2570358"></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="id2564316"></a>Domain and Network Logon Configuration</h2></div></div></div><p>605 <a class="indexterm" name="id25 64324"></a>604 </p></div><div class="sect1" title="Domain and Network Logon Configuration"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2570374"></a>Domain and Network Logon Configuration</h2></div></div></div><p> 605 <a class="indexterm" name="id2570382"></a> 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="id2564335"></a>Domain Network Logon Service</h3></div></div></div><p>609 <a class="indexterm" name="id25 64343"></a>608 </p><div class="sect2" title="Domain Network Logon Service"><div class="titlepage"><div><div><h3 class="title"><a name="id2570393"></a>Domain Network Logon Service</h3></div></div></div><p> 609 <a class="indexterm" name="id2570402"></a> 610 610 All domain controllers must run the netlogon service (<span class="emphasis"><em>domain logons</em></span> 611 611 in Samba). One domain controller must be configured with <a class="link" href="smb.conf.5.html#DOMAINMASTER" target="_top">domain master = Yes</a> 612 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="id2564382"></a>Example Configuration</h4></div></div></div><div class="example"><a name="PDC-config"></a><p class="title"><b>Example 4.2. smb.conf for being a PDC</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2564412"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2564423"></a><em class="parameter"><code>domain master = (Yes on PDC, No on BDCs)</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[netlogon]</code></em></td></tr><tr><td><a class="indexterm" name="id2564444"></a><em class="parameter"><code>comment = Network Logon Service</code></em></td></tr><tr><td><a class="indexterm" name="id2564456"></a><em class="parameter"><code>path = /var/lib/samba/netlogon</code></em></td></tr><tr><td><a class="indexterm" name="id2564467"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2564479"></a><em class="parameter"><code>browseable = No</code></em></td></tr></table></div></div><br class="example-break"></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2564493"></a>The Special Case of MS Windows XP Home Edition</h4></div></div></div><p>614 <a class="indexterm" name="id25 64501"></a>613 </p><div class="sect3" title="Example Configuration"><div class="titlepage"><div><div><h4 class="title"><a name="id2570441"></a>Example Configuration</h4></div></div></div><div class="example"><a name="PDC-config"></a><p class="title"><b>Example 4.2. smb.conf for being a PDC</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2570470"></a><em class="parameter"><code>domain logons = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2570482"></a><em class="parameter"><code>domain master = (Yes on PDC, No on BDCs)</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[netlogon]</code></em></td></tr><tr><td><a class="indexterm" name="id2570502"></a><em class="parameter"><code>comment = Network Logon Service</code></em></td></tr><tr><td><a class="indexterm" name="id2570514"></a><em class="parameter"><code>path = /var/lib/samba/netlogon</code></em></td></tr><tr><td><a class="indexterm" name="id2570526"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2570538"></a><em class="parameter"><code>browseable = No</code></em></td></tr></table></div></div><br class="example-break"></div><div class="sect3" title="The Special Case of MS Windows XP Home Edition"><div class="titlepage"><div><div><h4 class="title"><a name="id2570551"></a>The Special Case of MS Windows XP Home Edition</h4></div></div></div><p> 614 <a class="indexterm" name="id2570560"></a> 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. 617 617 The only option is to purchase the upgrade from MS Windows XP Home Edition to 618 618 MS Windows XP Professional. 619 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>619 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 620 620 MS Windows XP Home Edition does not have the ability to join any type of domain 621 621 security facility. Unlike MS Windows 9x/Me, MS Windows XP Home Edition also completely … … 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="id2564531"></a>The Special Case of Windows 9x/Me</h4></div></div></div><p>629 <a class="indexterm" name="id25 64540"></a>630 <a class="indexterm" name="id25 64546"></a>631 <a class="indexterm" name="id25 64553"></a>632 <a class="indexterm" name="id25 64560"></a>633 <a class="indexterm" name="id25 64567"></a>628 </p></div><div class="sect3" title="The Special Case of Windows 9x/Me"><div class="titlepage"><div><div><h4 class="title"><a name="id2570590"></a>The Special Case of Windows 9x/Me</h4></div></div></div><p> 629 <a class="indexterm" name="id2570598"></a> 630 <a class="indexterm" name="id2570605"></a> 631 <a class="indexterm" name="id2570612"></a> 632 <a class="indexterm" name="id2570619"></a> 633 <a class="indexterm" name="id2570626"></a> 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 64583"></a>641 <a class="indexterm" name="id2570642"></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 64600"></a>649 <a class="indexterm" name="id25 64606"></a>650 <a class="indexterm" name="id25 64613"></a>648 <a class="indexterm" name="id2570658"></a> 649 <a class="indexterm" name="id2570665"></a> 650 <a class="indexterm" name="id2570672"></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 64628"></a>656 <a class="indexterm" name="id2570686"></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. … … 669 669 Before launching into the configuration instructions, it is worthwhile to look at how a Windows 9x/Me client 670 670 performs a logon: 671 </p><div class="orderedlist"><ol type="1"><li><p>672 <a class="indexterm" name="id25 64674"></a>673 <a class="indexterm" name="id25 64681"></a>671 </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p> 672 <a class="indexterm" name="id2570733"></a> 673 <a class="indexterm" name="id2570740"></a> 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 … … 679 679 type that is registered by domain controllers (SMB/CIFS servers that provide 680 680 the netlogon service). 681 </p></li><li ><p>682 <a class="indexterm" name="id25 64723"></a>683 <a class="indexterm" name="id25 64730"></a>684 <a class="indexterm" name="id25 64737"></a>681 </p></li><li class="listitem"><p> 682 <a class="indexterm" name="id2570782"></a> 683 <a class="indexterm" name="id2570788"></a> 684 <a class="indexterm" name="id2570795"></a> 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 </p></li><li ><p>688 <a class="indexterm" name="id25 64752"></a>687 </p></li><li class="listitem"><p> 688 <a class="indexterm" name="id2570811"></a> 689 689 The client does a NetWkstaUserLogon request, which retrieves the name 690 690 of the user's logon script. 691 </p></li><li ><p>691 </p></li><li class="listitem"><p> 692 692 The client then connects to the NetLogon share and searches for said script. 693 693 If it is found and can be read, it is retrieved and executed by the client. 694 694 After this, the client disconnects from the NetLogon share. 695 </p></li><li ><p>696 <a class="indexterm" name="id25 64777"></a>697 <a class="indexterm" name="id25 64784"></a>695 </p></li><li class="listitem"><p> 696 <a class="indexterm" name="id2570836"></a> 697 <a class="indexterm" name="id2570843"></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 … … 701 701 the user's home share, profiles for Windows 9x clients must reside in the user 702 702 home directory. 703 </p></li><li ><p>704 <a class="indexterm" name="id25 64803"></a>703 </p></li><li class="listitem"><p> 704 <a class="indexterm" name="id2570862"></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 707 707 a share name and path. For example, <code class="filename">\\server\fred\.winprofile</code>. 708 708 If the profiles are found, they are implemented. 709 </p></li><li ><p>710 <a class="indexterm" name="id25 64826"></a>709 </p></li><li class="listitem"><p> 710 <a class="indexterm" name="id2570885"></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 … … 714 714 </p></li></ol></div><p> 715 715 The main difference between a PDC and a Windows 9x/Me logon server configuration is: 716 </p><div class="itemizedlist"><ul type="disc"><li><p>717 <a class="indexterm" name="id25 64856"></a>718 <a class="indexterm" name="id25 64865"></a>716 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 717 <a class="indexterm" name="id2570914"></a> 718 <a class="indexterm" name="id2570923"></a> 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 721 721 password support is disabled. It can be re-enabled with the registry 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 </p></li><li ><p>724 <a class="indexterm" name="id25 64888"></a>723 </p></li><li class="listitem"><p> 724 <a class="indexterm" name="id2570946"></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 64900"></a>727 <a class="indexterm" name="id2570959"></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 </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 64914"></a>730 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 731 <a class="indexterm" name="id2570973"></a> 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="id2564926"></a>Security Mode and Master Browsers</h3></div></div></div><p>735 <a class="indexterm" name="id25 64934"></a>736 <a class="indexterm" name="id25 64941"></a>737 <a class="indexterm" name="id25 64948"></a>734 </p></div></div></div><div class="sect2" title="Security Mode and Master Browsers"><div class="titlepage"><div><div><h3 class="title"><a name="id2570985"></a>Security Mode and Master Browsers</h3></div></div></div><p> 735 <a class="indexterm" name="id2570993"></a> 736 <a class="indexterm" name="id2571000"></a> 737 <a class="indexterm" name="id2571007"></a> 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 64972"></a>744 <a class="indexterm" name="id25 64979"></a>745 <a class="indexterm" name="id25 64986"></a>746 <a class="indexterm" name="id25 64993"></a>747 <a class="indexterm" name="id25 64999"></a>748 <a class="indexterm" name="id25 65006"></a>749 <a class="indexterm" name="id25 65013"></a>743 <a class="indexterm" name="id2571031"></a> 744 <a class="indexterm" name="id2571038"></a> 745 <a class="indexterm" name="id2571045"></a> 746 <a class="indexterm" name="id2571051"></a> 747 <a class="indexterm" name="id2571058"></a> 748 <a class="indexterm" name="id2571065"></a> 749 <a class="indexterm" name="id2571072"></a> 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 … … 757 757 Windows event logger complaining that it has lost the election to become a DMB. For this reason, in networks 758 758 where a Samba server is the PDC it is wise to configure the Samba domain controller as the DMB. 759 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>760 <a class="indexterm" name="id25 65067"></a>761 <a class="indexterm" name="id25 65074"></a>762 <a class="indexterm" name="id25 65080"></a>763 <a class="indexterm" name="id25 65087"></a>764 <a class="indexterm" name="id25 65094"></a>759 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 760 <a class="indexterm" name="id2571126"></a> 761 <a class="indexterm" name="id2571132"></a> 762 <a class="indexterm" name="id2571139"></a> 763 <a class="indexterm" name="id2571146"></a> 764 <a class="indexterm" name="id2571153"></a> 765 765 SMB/CIFS servers that register the DOMAIN<1C> name do so because they provide the network logon 766 766 service. Server that register the DOMAIN<1B> name are DMBs meaning that they are responsible … … 783 783 to be the DMB for its domain and set <a class="link" href="smb.conf.5.html#SECURITY" 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="id2565206"></a>Common Errors</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2565212"></a>“<span class="quote">$</span>”Cannot Be Included in Machine Name</h3></div></div></div><p>786 <a class="indexterm" name="id25 65222"></a>787 <a class="indexterm" name="id25 65229"></a>788 <a class="indexterm" name="id25 65235"></a>785 </p></div></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2571265"></a>Common Errors</h2></div></div></div><div class="sect2" title="“$” Cannot Be Included in Machine Name"><div class="titlepage"><div><div><h3 class="title"><a name="id2571270"></a><span class="quote">“<span class="quote">$</span>”</span> Cannot Be Included in Machine Name</h3></div></div></div><p> 786 <a class="indexterm" name="id2571281"></a> 787 <a class="indexterm" name="id2571287"></a> 788 <a class="indexterm" name="id2571294"></a> 789 789 A machine account, typically stored in <code class="filename">/etc/passwd</code>, takes the form of the machine 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.790 name with a <span class="quote">“<span class="quote">$</span>”</span> appended. Some BSD systems will not create a user with a <span class="quote">“<span class="quote">$</span>”</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 65261"></a>793 <a class="indexterm" name="id2571320"></a> 794 794 The problem is only in the program used to make the entry. Once made, it works perfectly. Create a user 795 without the “<span class="quote">$</span>”. Then use <code class="literal">vipw</code> to edit the entry, adding the “<span class="quote">$</span>”.795 without the <span class="quote">“<span class="quote">$</span>”</span>. Then use <code class="literal">vipw</code> to edit the entry, adding the <span class="quote">“<span class="quote">$</span>”</span>. 796 796 Or create the whole entry with vipw if you like; make sure you use a unique user login ID. 797 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>The machine account must have the exact name that the workstation has.</p></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>797 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>The machine account must have the exact name that the workstation has.</p></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 798 798 The UNIX tool <code class="literal">vipw</code> is a common tool for directly editing the <code class="filename">/etc/passwd</code> file. 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="id2565312"></a>Joining Domain Fails Because of Existing Machine Account</h3></div></div></div><p>802 <a class="indexterm" name="id25 65321"></a>803 “<span class="quote">I get told, `You already have a connection to the Domain....' or `Cannot join domain, the804 credentials supplied conflict with an existing set...' when creating a Machine Trust Account.</span>” 801 </p></div></div><div class="sect2" title="Joining Domain Fails Because of Existing Machine Account"><div class="titlepage"><div><div><h3 class="title"><a name="id2571371"></a>Joining Domain Fails Because of Existing Machine Account</h3></div></div></div><p> 802 <a class="indexterm" name="id2571380"></a> 803 <span class="quote">“<span class="quote">I get told, `You already have a connection to the Domain....' or `Cannot join domain, the 804 credentials supplied conflict with an existing set...' when creating a Machine Trust Account.</span>”</span> 805 805 </p><p> 806 806 This happens if you try to create a Machine Trust Account from the machine itself and already have a … … 812 812 This will break all network connections. 813 813 </p><p> 814 Further, if the machine is already a “<span class="quote">member of a workgroup</span>”that is the same name as the domain814 Further, if the machine is already a <span class="quote">“<span class="quote">member of a workgroup</span>”</span> that is the same name as the domain 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="id2565377"></a>The System Cannot Log You On (C000019B)</h3></div></div></div><p>“<span class="quote">817 </p></div><div class="sect2" title="The System Cannot Log You On (C000019B)"><div class="titlepage"><div><div><h3 class="title"><a name="id2571436"></a>The System Cannot Log You On (C000019B)</h3></div></div></div><p><span class="quote">“<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 administrator</span> when attempting to logon.'</span>” 821 </p><p> 822 <a class="indexterm" name="id25 65398"></a>820 administrator</span> when attempting to logon.'</span>”</span> 821 </p><p> 822 <a class="indexterm" name="id2571457"></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="id2565454"></a>The Machine Trust Account Is Not Accessible</h3></div></div></div><p>840 “<span class="quote">When I try to join the domain I get the message, <span class="errorname">"The machine account841 for this computer either does not exist or is not accessible</span>." What's wrong?</span>” 839 </p></div><div class="sect2" title="The Machine Trust Account Is Not Accessible"><div class="titlepage"><div><div><h3 class="title"><a name="id2571512"></a>The Machine Trust Account Is Not Accessible</h3></div></div></div><p> 840 <span class="quote">“<span class="quote">When I try to join the domain I get the message, <span class="errorname">"The machine account 841 for this computer either does not exist or is not accessible</span>." What's wrong?</span>”</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 … … 848 848 sure that you have the entry correct for the Machine Trust Account in <code class="filename">smbpasswd</code> file on 849 849 the Samba PDC. If you added the account using an editor rather than using the smbpasswd utility, make sure 850 that the account name is the machine NetBIOS name with a “<span class="quote">$</span>”appended to it (i.e.,850 that the account name is the machine NetBIOS name with a <span class="quote">“<span class="quote">$</span>”</span> appended to it (i.e., 851 851 computer_name$). There must be an entry in both the POSIX UNIX system account backend as well as in the 852 852 SambaSAMAccount backend. The default backend for Samba-3 (i.e., the parameter <em class="parameter"><code>passdb … … 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="id2565573"></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 I get a message about my account being disabled.</span>”</ p><p>861 </p></div><div class="sect2" title="Account Disabled"><div class="titlepage"><div><div><h3 class="title"><a name="id2571632"></a>Account Disabled</h3></div></div></div><p><span class="quote">“<span class="quote">When I attempt to log in to a Samba domain from a NT4/W200x workstation, 862 I get a message about my account being disabled.</span>”</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="id2565600"></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" title="Domain Controller Unavailable"><div class="titlepage"><div><div><h3 class="title"><a name="id2571659"></a>Domain Controller Unavailable</h3></div></div></div><p><span class="quote">“<span class="quote">Until a few minutes after Samba has started, clients get the error `Domain Controller Unavailable'</span>”</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="id2565619"></a>Cannot Log onto Domain Member Workstation After Joining Domain</h3></div></div></div><p>869 <a class="indexterm" name="id25 65628"></a>870 <a class="indexterm" name="id25 65634"></a>868 </p></div><div class="sect2" title="Cannot Log onto Domain Member Workstation After Joining Domain"><div class="titlepage"><div><div><h3 class="title"><a name="id2571678"></a>Cannot Log onto Domain Member Workstation After Joining Domain</h3></div></div></div><p> 869 <a class="indexterm" name="id2571686"></a> 870 <a class="indexterm" name="id2571693"></a> 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.id256 2687" href="#id2562687" 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.id256 3193" href="#id2563193" 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.id256 3498" href="#id2563498" 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.id2568746" href="#id2568746" 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.id2569252" href="#id2569252" class="para">2</a>] </sup>See <a class="link" href="NetworkBrowsing.html" title="Chapter 10. Network Browsing">Network Browsing</a>, and 889 <a class="link" href="integrate-ms-networks.html" title="Chapter 29. Integrating MS Windows Networks with Samba">Integrating MS Windows Networks with Samba</a>.</p></div><div class="footnote"><p><sup>[<a name="ftn.id2569557" href="#id2569557" class="para">3</a>] </sup>See <a class="link" href="NetworkBrowsing.html" title="Chapter 10. Network Browsing">Network 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.3.x/docs/htmldocs/Samba3-HOWTO/securing-samba.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 18. Securing Samba</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="locking.html" title="Chapter 17. File and Record Locking"><link rel="next" href="InterdomainTrusts.html" title="Chapter 19. Interdomain Trust Relationships"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 18. Securing Samba</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="locking.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="InterdomainTrusts.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="securing-samba"></a>Chapter 18. Securing Samba</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Andrew</span> <span class="orgname">Samba Team</span> <span class="surname">Tridgell</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2618075">Introduction</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2618174">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2618320">Technical Discussion of Protective Measures and Issues</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2618336">Using Host-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2618490">User-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2618550">Using Interface Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#firewallports">Using a Firewall</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2618900">Using IPC$ Share-Based Denials </a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2619044">NTLMv2 Security</a></span></dt></dl></dd><dt><span class="sect1"><a href="securing-samba.html#id2619099">Upgrading Samba</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2619142">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2619158">Smbclient Works on Localhost, but the Network Is Dead</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2619187">Why Can Users Access Other Users' Home Directories?</a></span></dt></dl></dd></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2618075"></a>Introduction</h2></div></div></div><p>2 <a class="indexterm" name="id26 18083"></a>3 <a class="indexterm" name="id26 18090"></a>4 <a class="indexterm" name="id26 18097"></a>5 <a class="indexterm" name="id26 18104"></a>6 <a class="indexterm" name="id26 18111"></a>7 <a class="indexterm" name="id26 18117"></a>8 <a class="indexterm" name="id26 18124"></a>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 18. Securing Samba</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="locking.html" title="Chapter 17. File and Record Locking"><link rel="next" href="InterdomainTrusts.html" title="Chapter 19. Interdomain Trust Relationships"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 18. Securing Samba</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="locking.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="InterdomainTrusts.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 18. Securing Samba"><div class="titlepage"><div><div><h2 class="title"><a name="securing-samba"></a>Chapter 18. Securing Samba</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Andrew</span> <span class="surname">Tridgell</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2624168">Introduction</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2624266">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2624413">Technical Discussion of Protective Measures and Issues</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2624429">Using Host-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2624583">User-Based Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2624642">Using Interface Protection</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#firewallports">Using a Firewall</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2624993">Using IPC$ Share-Based Denials </a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2625141">NTLMv2 Security</a></span></dt></dl></dd><dt><span class="sect1"><a href="securing-samba.html#id2625196">Upgrading Samba</a></span></dt><dt><span class="sect1"><a href="securing-samba.html#id2625240">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="securing-samba.html#id2625255">Smbclient Works on Localhost, but the Network Is Dead</a></span></dt><dt><span class="sect2"><a href="securing-samba.html#id2625284">Why Can Users Access Other Users' Home Directories?</a></span></dt></dl></dd></dl></div><div class="sect1" title="Introduction"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2624168"></a>Introduction</h2></div></div></div><p> 2 <a class="indexterm" name="id2624176"></a> 3 <a class="indexterm" name="id2624182"></a> 4 <a class="indexterm" name="id2624190"></a> 5 <a class="indexterm" name="id2624196"></a> 6 <a class="indexterm" name="id2624203"></a> 7 <a class="indexterm" name="id2624210"></a> 8 <a class="indexterm" name="id2624217"></a> 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 … … 13 13 some network administrators to insist on the installation of robust firewalls even on servers that are located 14 14 inside secured networks. This chapter provides information to assist the administrator who understands 15 how to create the needed barriers and deterents against “<span class="quote">the enemy</span>”, no matter where [s]he may15 how to create the needed barriers and deterents against <span class="quote">“<span class="quote">the enemy</span>”</span>, no matter where [s]he may 16 16 come from. 17 17 </p><div class="blockquote"><blockquote class="blockquote"><p> 18 A new apprentice reported for duty to the chief engineer of a boiler house. He said, “<span class="quote">Here I am,19 if you will show me the boiler I'll start working on it.</span>” Then engineer replied,“<span class="quote">You're leaning20 on it!</span>” 18 A new apprentice reported for duty to the chief engineer of a boiler house. He said, <span class="quote">“<span class="quote">Here I am, 19 if you will show me the boiler I'll start working on it.</span>”</span> Then engineer replied, <span class="quote">“<span class="quote">You're leaning 20 on it!</span>”</span> 21 21 </p></blockquote></div><p> 22 22 Security concerns are just like that. You need to know a little about the subject to appreciate 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="id2618174"></a>Features and Benefits</h2></div></div></div><p>26 <a class="indexterm" name="id26 18182"></a>27 <a class="indexterm" name="id26 18189"></a>28 <a class="indexterm" name="id26 18196"></a>29 <a class="indexterm" name="id26 18203"></a>25 </p></div><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2624266"></a>Features and Benefits</h2></div></div></div><p> 26 <a class="indexterm" name="id2624274"></a> 27 <a class="indexterm" name="id2624281"></a> 28 <a class="indexterm" name="id2624288"></a> 29 <a class="indexterm" name="id2624295"></a> 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="id26 18223"></a>38 <a class="indexterm" name="id26 18230"></a>39 <a class="indexterm" name="id26 18237"></a>37 <a class="indexterm" name="id2624316"></a> 38 <a class="indexterm" name="id2624323"></a> 39 <a class="indexterm" name="id2624330"></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 42 “<span class="quote">tcpwrappers,</span>”or it may be done be using <span class="emphasis"><em>interface-based exclusion</em></span> so42 <span class="quote">“<span class="quote">tcpwrappers,</span>”</span> or it may be done be using <span class="emphasis"><em>interface-based exclusion</em></span> so 43 43 <span class="application">smbd</span> will bind only to specifically permitted interfaces. It is also possible to set specific share- or 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="id26 18284"></a>47 <a class="indexterm" name="id26 18294"></a>48 <a class="indexterm" name="id26 18300"></a>46 <a class="indexterm" name="id2624377"></a> 47 <a class="indexterm" name="id2624386"></a> 48 <a class="indexterm" name="id2624393"></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="id2618320"></a>Technical Discussion of Protective Measures and Issues</h2></div></div></div><p>52 </p></div><div class="sect1" title="Technical Discussion of Protective Measures and Issues"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2624413"></a>Technical Discussion of Protective Measures and Issues</h2></div></div></div><p> 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="id2618336"></a>Using Host-Based Protection</h3></div></div></div><p>59 <a class="indexterm" name="id26 18344"></a>60 <a class="indexterm" name="id26 18351"></a>61 <a class="indexterm" name="id26 18357"></a>58 </p><div class="sect2" title="Using Host-Based Protection"><div class="titlepage"><div><div><h3 class="title"><a name="id2624429"></a>Using Host-Based Protection</h3></div></div></div><p> 59 <a class="indexterm" name="id2624437"></a> 60 <a class="indexterm" name="id2624443"></a> 61 <a class="indexterm" name="id2624450"></a> 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="id26 18373"></a>69 <a class="indexterm" name="id26 18380"></a>68 <a class="indexterm" name="id2624465"></a> 69 <a class="indexterm" name="id2624472"></a> 70 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 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="id2618426"></a><em class="parameter"><code>hosts allow = 127.0.0.1 192.168.2.0/24 192.168.3.0/24</code></em></td></tr><tr><td><a class="indexterm" name="id2618438"></a><em class="parameter"><code>hosts deny = 0.0.0.0/0</code></em></td></tr></table><p>74 </p><p> 75 <a class="indexterm" name="id26 18453"></a>76 <a class="indexterm" name="id26 18460"></a>77 <a class="indexterm" name="id26 18467"></a>73 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2624519"></a><em class="parameter"><code>hosts allow = 127.0.0.1 192.168.2.0/24 192.168.3.0/24</code></em></td></tr><tr><td><a class="indexterm" name="id2624531"></a><em class="parameter"><code>hosts deny = 0.0.0.0/0</code></em></td></tr></table><p> 74 </p><p> 75 <a class="indexterm" name="id2624546"></a> 76 <a class="indexterm" name="id2624553"></a> 77 <a class="indexterm" name="id2624560"></a> 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="id2618490"></a>User-Based Protection</h3></div></div></div><p>82 </p></div><div class="sect2" title="User-Based Protection"><div class="titlepage"><div><div><h3 class="title"><a name="id2624583"></a>User-Based Protection</h3></div></div></div><p> 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="id2618518"></a><em class="parameter"><code>valid users = @smbusers, jacko</code></em></td></tr></table><p>86 </p><p> 87 <a class="indexterm" name="id26 18533"></a>85 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2624610"></a><em class="parameter"><code>valid users = @smbusers, jacko</code></em></td></tr></table><p> 86 </p><p> 87 <a class="indexterm" name="id2624626"></a> 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="id2618550"></a>Using Interface Protection</h3></div></div></div><p>91 <a class="indexterm" name="id26 18558"></a>92 <a class="indexterm" name="id26 18565"></a>93 <a class="indexterm" name="id26 18572"></a>90 </p></div><div class="sect2" title="Using Interface Protection"><div class="titlepage"><div><div><h3 class="title"><a name="id2624642"></a>Using Interface Protection</h3></div></div></div><p> 91 <a class="indexterm" name="id2624650"></a> 92 <a class="indexterm" name="id2624657"></a> 93 <a class="indexterm" name="id2624664"></a> 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="id2618593"></a><em class="parameter"><code>interfaces = eth* lo</code></em></td></tr><tr><td><a class="indexterm" name="id2618604"></a><em class="parameter"><code>bind interfaces only = yes</code></em></td></tr></table><p>101 </p><p> 102 <a class="indexterm" name="id26 18620"></a>103 <a class="indexterm" name="id26 18626"></a>104 <a class="indexterm" name="id26 18633"></a>105 <a class="indexterm" name="id26 18640"></a>100 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2624685"></a><em class="parameter"><code>interfaces = eth* lo</code></em></td></tr><tr><td><a class="indexterm" name="id2624697"></a><em class="parameter"><code>bind interfaces only = yes</code></em></td></tr></table><p> 101 </p><p> 102 <a class="indexterm" name="id2624712"></a> 103 <a class="indexterm" name="id2624719"></a> 104 <a class="indexterm" name="id2624726"></a> 105 <a class="indexterm" name="id2624733"></a> 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="id26 18670"></a>112 <a class="indexterm" name="id26 18676"></a>113 <a class="indexterm" name="id26 18683"></a>114 <a class="indexterm" name="id26 18689"></a>111 <a class="indexterm" name="id2624762"></a> 112 <a class="indexterm" name="id2624769"></a> 113 <a class="indexterm" name="id2624775"></a> 114 <a class="indexterm" name="id2624782"></a> 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="id26 18710"></a>122 <a class="indexterm" name="id26 18717"></a>123 <a class="indexterm" name="id26 18724"></a>124 <a class="indexterm" name="id26 18731"></a>125 <a class="indexterm" name="id26 18738"></a>121 <a class="indexterm" name="id2624803"></a> 122 <a class="indexterm" name="id2624810"></a> 123 <a class="indexterm" name="id2624817"></a> 124 <a class="indexterm" name="id2624824"></a> 125 <a class="indexterm" name="id2624831"></a> 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 … … 129 129 or denial of service attacks. This method of dealing with potential malicious activity demands the 130 130 use of appropriate firewall mechanisms. 131 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="firewallports"></a>Using a Firewall</h3></div></div></div><p>132 <a class="indexterm" name="id26 18767"></a>133 <a class="indexterm" name="id26 18774"></a>134 <a class="indexterm" name="id26 18780"></a>131 </p></div><div class="sect2" title="Using a Firewall"><div class="titlepage"><div><div><h3 class="title"><a name="firewallports"></a>Using a Firewall</h3></div></div></div><p> 132 <a class="indexterm" name="id2624860"></a> 133 <a class="indexterm" name="id2624866"></a> 134 <a class="indexterm" name="id2624873"></a> 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="id26 18797"></a>142 <a class="indexterm" name="id26 18804"></a>143 <a class="indexterm" name="id26 18811"></a>144 <a class="indexterm" name="id26 18818"></a>145 <a class="indexterm" name="id26 18825"></a>146 </p><table class="simplelist" border="0" summary="Simplelist"><tr><td>Port 135/TCP - used by smbd</td></tr><tr><td>Port 137/UDP - used by nmbd</td></tr><tr><td>Port 138/UDP - used by nmbd</td></tr><tr><td>Port 139/TCP - used by smbd</td></tr><tr><td>Port 445/TCP - used by smbd</td></tr></table><p>147 <a class="indexterm" name="id26 18859"></a>141 <a class="indexterm" name="id2624890"></a> 142 <a class="indexterm" name="id2624897"></a> 143 <a class="indexterm" name="id2624904"></a> 144 <a class="indexterm" name="id2624911"></a> 145 <a class="indexterm" name="id2624918"></a> 146 </p><table border="0" summary="Simple list" class="simplelist"><tr><td>Port 135/TCP - used by smbd</td></tr><tr><td>Port 137/UDP - used by nmbd</td></tr><tr><td>Port 138/UDP - used by nmbd</td></tr><tr><td>Port 139/TCP - used by smbd</td></tr><tr><td>Port 445/TCP - used by smbd</td></tr></table><p> 147 <a class="indexterm" name="id2624952"></a> 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="id26 18872"></a>152 <a class="indexterm" name="id26 18879"></a>153 <a class="indexterm" name="id26 18886"></a>151 <a class="indexterm" name="id2624965"></a> 152 <a class="indexterm" name="id2624972"></a> 153 <a class="indexterm" name="id2624979"></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="id2618900"></a>Using IPC$ Share-Based Denials </h3></div></div></div><p>158 <a class="indexterm" name="id26 18908"></a>159 <a class="indexterm" name="id26 18915"></a>160 <a class="indexterm" name="id26 18922"></a>157 </p></div><div class="sect2" title="Using IPC$ Share-Based Denials"><div class="titlepage"><div><div><h3 class="title"><a name="id2624993"></a>Using IPC$ Share-Based Denials </h3></div></div></div><p> 158 <a class="indexterm" name="id2625001"></a> 159 <a class="indexterm" name="id2625008"></a> 160 <a class="indexterm" name="id2625014"></a> 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="id2618952"></a><em class="parameter"><code>hosts allow = 192.168.115.0/24 127.0.0.1</code></em></td></tr><tr><td><a class="indexterm" name="id2618964"></a><em class="parameter"><code>hosts deny = 0.0.0.0/0</code></em></td></tr></table><p>167 </p><p> 168 <a class="indexterm" name="id26 18979"></a>169 <a class="indexterm" name="id26 18986"></a>170 <a class="indexterm" name="id26 18993"></a>166 </p><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[IPC$]</code></em></td></tr><tr><td><a class="indexterm" name="id2625049"></a><em class="parameter"><code>hosts allow = 192.168.115.0/24 127.0.0.1</code></em></td></tr><tr><td><a class="indexterm" name="id2625061"></a><em class="parameter"><code>hosts deny = 0.0.0.0/0</code></em></td></tr></table><p> 167 </p><p> 168 <a class="indexterm" name="id2625076"></a> 169 <a class="indexterm" name="id2625083"></a> 170 <a class="indexterm" name="id2625090"></a> 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="id26 19010"></a>177 <a class="indexterm" name="id26 19017"></a>178 <a class="indexterm" name="id26 19024"></a>176 <a class="indexterm" name="id2625107"></a> 177 <a class="indexterm" name="id2625114"></a> 178 <a class="indexterm" name="id2625121"></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="id2619044"></a>NTLMv2 Security</h3></div></div></div><p>184 <a class="indexterm" name="id26 19052"></a>183 </p></div><div class="sect2" title="NTLMv2 Security"><div class="titlepage"><div><div><h3 class="title"><a name="id2625141"></a>NTLMv2 Security</h3></div></div></div><p> 184 <a class="indexterm" name="id2625149"></a> 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="id2619099"></a>Upgrading Samba</h2></div></div></div><p>205 <a class="indexterm" name="id26 19107"></a>206 <a class="indexterm" name="id26 19113"></a>207 <a class="indexterm" name="id26 19120"></a>204 </p></div></div><div class="sect1" title="Upgrading Samba"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2625196"></a>Upgrading Samba</h2></div></div></div><p> 205 <a class="indexterm" name="id2625204"></a> 206 <a class="indexterm" name="id2625211"></a> 207 <a class="indexterm" name="id2625218"></a> 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="id2619142"></a>Common Errors</h2></div></div></div><p>212 </p></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2625240"></a>Common Errors</h2></div></div></div><p> 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="id2619158"></a>Smbclient Works on Localhost, but the Network Is Dead</h3></div></div></div><p>217 </p><div class="sect2" title="Smbclient Works on Localhost, but the Network Is Dead"><div class="titlepage"><div><div><h3 class="title"><a name="id2625255"></a>Smbclient Works on Localhost, but the Network Is Dead</h3></div></div></div><p> 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="id2619187"></a>Why Can Users Access Other Users' Home Directories?</h3></div></div></div><p>226 “<span class="quote">227 <a class="indexterm" name="id26 19197"></a>228 <a class="indexterm" name="id26 19204"></a>225 </p></div><div class="sect2" title="Why Can Users Access Other Users' Home Directories?"><div class="titlepage"><div><div><h3 class="title"><a name="id2625284"></a>Why Can Users Access Other Users' Home Directories?</h3></div></div></div><p> 226 <span class="quote">“<span class="quote"> 227 <a class="indexterm" name="id2625295"></a> 228 <a class="indexterm" name="id2625302"></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 231 231 configure Samba so that users may map only their own home directory. 232 </span>” 233 </p><p> “<span class="quote">232 </span>”</span> 233 </p><p><span class="quote">“<span class="quote"> 234 234 User xyzzy can map his home directory. Once mapped, user xyzzy can also map anyone else's home directory. 235 </span>”</ p><p>236 <a class="indexterm" name="id26 19226"></a>237 <a class="indexterm" name="id26 19233"></a>235 </span>”</span></p><p> 236 <a class="indexterm" name="id2625324"></a> 237 <a class="indexterm" name="id2625331"></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="id26 19248"></a>243 <a class="indexterm" name="id26 19255"></a>242 <a class="indexterm" name="id2625345"></a> 243 <a class="indexterm" name="id2625352"></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="id26 19293"></a>249 <a class="indexterm" name="id26 19300"></a>248 <a class="indexterm" name="id2625390"></a> 249 <a class="indexterm" name="id2625397"></a> 250 250 Samba tries very hard not to second guess the UNIX administrator's security policies and 251 251 trusts the UNIX admin to set the policies and permissions he or she desires. … … 256 256 The <a class="link" href="smb.conf.5.html#ONLYUSER" 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="id2619366"></a><em class="parameter"><code>users = %S</code></em></td></tr></table><p>258 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2625463"></a><em class="parameter"><code>users = %S</code></em></td></tr></table><p> 259 259 This is equivalent to adding 260 </p><table class="simplelist" border="0" summary="Simple list"><tr><td><a class="indexterm" name="id2619383"></a><em class="parameter"><code>valid users = %S</code></em></td></tr></table><p>260 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2625480"></a><em class="parameter"><code>valid users = %S</code></em></td></tr></table><p> 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.3.x/docs/htmldocs/Samba3-HOWTO/speed.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 45. Samba Performance Tuning</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="Appendix.html" title="Part VI. Reference Section"><link rel="prev" href="Other-Clients.html" title="Chapter 44. Samba and Other CIFS Clients"><link rel="next" href="ch-ldap-tls.html" title="Chapter 46. LDAP and Transport Layer Security"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 45. Samba Performance Tuning</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="Other-Clients.html">Prev</a> </td><th width="60%" align="center">Part VI. Reference Section</th><td width="20%" align="right"> <a accesskey="n" href="ch-ldap-tls.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="speed"></a>Chapter 45. Samba Performance Tuning</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Paul</span> <span class="orgname">Dundee Limb Fitting Centre</span> <span class="surname">Cochrane</span></h3><div class="affiliation"><span class="orgname">Dundee Limb Fitting Centre<br></span><div class="address"><p><code class="email"><<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#id2690721">Comparisons</a></span></dt><dt><span class="sect1"><a href="speed.html#id2690759">Socket Options</a></span></dt><dt><span class="sect1"><a href="speed.html#id2690856">Read Size</a></span></dt><dt><span class="sect1"><a href="speed.html#id2690900">Max Xmit</a></span></dt><dt><span class="sect1"><a href="speed.html#id2690948">Log Level</a></span></dt><dt><span class="sect1"><a href="speed.html#id2690972">Read Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691039">Write Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691091">Slow Logins</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691115">Client Tuning</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691136">Samba Performance Problem Due to Changing Linux Kernel</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691227">Corrupt tdb Files</a></span></dt><dt><span class="sect1"><a href="speed.html#id2691323">Samba Performance is Very Slow</a></span></dt></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2690721"></a>Comparisons</h2></div></div></div><p>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 45. Samba Performance Tuning</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="Appendix.html" title="Part VI. Reference Section"><link rel="prev" href="Other-Clients.html" title="Chapter 44. Samba and Other CIFS Clients"><link rel="next" href="ch-ldap-tls.html" title="Chapter 46. LDAP and Transport Layer Security"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 45. Samba Performance Tuning</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="Other-Clients.html">Prev</a> </td><th width="60%" align="center">Part VI. Reference Section</th><td width="20%" align="right"> <a accesskey="n" href="ch-ldap-tls.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 45. Samba Performance Tuning"><div class="titlepage"><div><div><h2 class="title"><a name="speed"></a>Chapter 45. Samba Performance Tuning</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Paul</span> <span class="surname">Cochrane</span></h3><div class="affiliation"><span class="orgname">Dundee Limb Fitting Centre<br></span><div class="address"><p><code class="email"><<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#id2696777">Comparisons</a></span></dt><dt><span class="sect1"><a href="speed.html#id2696815">Socket Options</a></span></dt><dt><span class="sect1"><a href="speed.html#id2696912">Read Size</a></span></dt><dt><span class="sect1"><a href="speed.html#id2696957">Max Xmit</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697004">Log Level</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697029">Read Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697096">Write Raw</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697148">Slow Logins</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697172">Client Tuning</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697192">Samba Performance Problem Due to Changing Linux Kernel</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697284">Corrupt tdb Files</a></span></dt><dt><span class="sect1"><a href="speed.html#id2697380">Samba Performance is Very Slow</a></span></dt></dl></div><div class="sect1" title="Comparisons"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2696777"></a>Comparisons</h2></div></div></div><p> 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="id2690759"></a>Socket Options</h2></div></div></div><p>23 </p></div><div class="sect1" title="Socket Options"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2696815"></a>Socket Options</h2></div></div></div><p> 24 24 There are a number of socket options that can greatly affect the 25 25 performance of a TCP-based server like Samba. … … 45 45 recommended that before specifying any settings for <em class="parameter"><code>socket options</code></em>, the effect 46 46 first be quantitatively measured on the server being configured. 47 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2690856"></a>Read Size</h2></div></div></div><p>47 </p></div><div class="sect1" title="Read Size"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2696912"></a>Read Size</h2></div></div></div><p> 48 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 … … 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="id2690900"></a>Max Xmit</h2></div></div></div><p>64 </p></div><div class="sect1" title="Max Xmit"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2696957"></a>Max Xmit</h2></div></div></div><p> 65 65 At startup the client and server negotiate a <em class="parameter"><code>maximum transmit</code></em> size, 66 66 which limits the size of nearly all SMB commands. You can set the … … 75 75 of less than 2048 is likely to cause severe problems. 76 76 In most cases the default is the best option. 77 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2690948"></a>Log Level</h2></div></div></div><p>77 </p></div><div class="sect1" title="Log Level"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2697004"></a>Log Level</h2></div></div></div><p> 78 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="id2690972"></a>Read Raw</h2></div></div></div><p>82 </p></div><div class="sect1" title="Read Raw"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2697029"></a>Read Raw</h2></div></div></div><p> 83 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, … … 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="id2691039"></a>Write Raw</h2></div></div></div><p>93 </p></div><div class="sect1" title="Write Raw"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2697096"></a>Write Raw</h2></div></div></div><p> 94 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 … … 98 98 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="id2691091"></a>Slow Logins</h2></div></div></div><p>100 </p></div><div class="sect1" title="Slow Logins"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2697148"></a>Slow Logins</h2></div></div></div><p> 101 101 Slow logins are almost always due to the password checking time. Using 102 102 the lowest practical <a class="link" href="smb.conf.5.html#PASSWORDLEVEL" target="_top">password level</a> will improve things. 103 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2691115"></a>Client Tuning</h2></div></div></div><p>103 </p></div><div class="sect1" title="Client Tuning"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2697172"></a>Client Tuning</h2></div></div></div><p> 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="id2691136"></a>Samba Performance Problem Due to Changing Linux Kernel</h2></div></div></div><p>108 </p></div><div class="sect1" title="Samba Performance Problem Due to Changing Linux Kernel"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2697192"></a>Samba Performance Problem Due to Changing Linux Kernel</h2></div></div></div><p> 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="id269 1151"></a>112 <a class="indexterm" name="id269 1157"></a>111 <a class="indexterm" name="id2697207"></a> 112 <a class="indexterm" name="id2697214"></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 115 performance issue with Samba. Many of you will probably say, “<span class="quote">Move to vanilla sources!</span>”Well, I115 performance issue with Samba. Many of you will probably say, <span class="quote">“<span class="quote">Move to vanilla sources!</span>”</span> Well, I 116 116 tried that and it didn't work. I have a 100MB LAN and two computers (Linux and Windows 2000). The Linux server 117 117 shares directories with DivX files, the client (Windows 2000) plays them via LAN. Before, when I was running … … 121 121 The answer he was given is: 122 122 </p><div class="blockquote"><blockquote class="blockquote"><p> 123 <a class="indexterm" name="id269 1200"></a>124 <a class="indexterm" name="id269 1206"></a>125 <a class="indexterm" name="id269 1213"></a>123 <a class="indexterm" name="id2697256"></a> 124 <a class="indexterm" name="id2697263"></a> 125 <a class="indexterm" name="id2697270"></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="id2691227"></a>Corrupt tdb Files</h2></div></div></div><p>130 <a class="indexterm" name="id269 1235"></a>131 <a class="indexterm" name="id269 1242"></a>132 <a class="indexterm" name="id269 1249"></a>129 </p></blockquote></div></div><div class="sect1" title="Corrupt tdb Files"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2697284"></a>Corrupt tdb Files</h2></div></div></div><p> 130 <a class="indexterm" name="id2697292"></a> 131 <a class="indexterm" name="id2697298"></a> 132 <a class="indexterm" name="id2697305"></a> 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="id269 1280"></a>142 <a class="indexterm" name="id269 1287"></a>141 <a class="indexterm" name="id2697337"></a> 142 <a class="indexterm" name="id2697343"></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="id2691323"></a>Samba Performance is Very Slow</h2></div></div></div><p>150 <a class="indexterm" name="id269 1331"></a>149 </p></div><div class="sect1" title="Samba Performance is Very Slow"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2697380"></a>Samba Performance is Very Slow</h2></div></div></div><p> 150 <a class="indexterm" name="id2697388"></a> 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="id269 1344"></a>156 <a class="indexterm" name="id269 1351"></a>155 <a class="indexterm" name="id2697401"></a> 156 <a class="indexterm" name="id2697408"></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="id269 1364"></a>162 <a class="indexterm" name="id269 1371"></a>161 <a class="indexterm" name="id2697421"></a> 162 <a class="indexterm" name="id2697428"></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.3.x/docs/htmldocs/Samba3-HOWTO/tdb.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 41. Managing TDB Files</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="troubleshooting.html" title="Part V. Troubleshooting"><link rel="prev" href="bugreport.html" title="Chapter 40. Reporting Bugs"><link rel="next" href="Appendix.html" title="Part VI. Reference Section"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 41. Managing TDB Files</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="bugreport.html">Prev</a> </td><th width="60%" align="center">Part V. Troubleshooting</th><td width="20%" align="right"> <a accesskey="n" href="Appendix.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="tdb"></a>Chapter 41. Managing TDB Files</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2686919">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="tdb.html#id2687381">Managing TDB Files</a></span></dt></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2686919"></a>Features and Benefits</h2></div></div></div><p>2 <a class="indexterm" name="id26 86927"></a>3 <a class="indexterm" name="id26 86934"></a>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 41. Managing TDB Files</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="troubleshooting.html" title="Part V. Troubleshooting"><link rel="prev" href="bugreport.html" title="Chapter 40. Reporting Bugs"><link rel="next" href="Appendix.html" title="Part VI. Reference Section"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 41. Managing TDB Files</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="bugreport.html">Prev</a> </td><th width="60%" align="center">Part V. Troubleshooting</th><td width="20%" align="right"> <a accesskey="n" href="Appendix.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 41. Managing TDB Files"><div class="titlepage"><div><div><h2 class="title"><a name="tdb"></a>Chapter 41. Managing TDB Files</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2692976">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="tdb.html#id2693437">Managing TDB Files</a></span></dt></dl></div><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2692976"></a>Features and Benefits</h2></div></div></div><p> 2 <a class="indexterm" name="id2692984"></a> 3 <a class="indexterm" name="id2692990"></a> 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 86950"></a>10 <a class="indexterm" name="id26 86957"></a>11 <a class="indexterm" name="id26 86964"></a>12 <a class="indexterm" name="id26 86971"></a>9 <a class="indexterm" name="id2693007"></a> 10 <a class="indexterm" name="id2693014"></a> 11 <a class="indexterm" name="id2693020"></a> 12 <a class="indexterm" name="id2693027"></a> 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="id2687381"></a>Managing TDB Files</h2></div></div></div><p>40 </p></td></tr></tbody></table></div></div><br class="table-break"></div><div class="sect1" title="Managing TDB Files"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2693437"></a>Managing TDB Files</h2></div></div></div><p> 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.3.x/docs/htmldocs/Samba3-HOWTO/troubleshooting.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Part V. Troubleshooting</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="SWAT.html" title="Chapter 37. SWAT: The Samba Web Administration Tool"><link rel="next" href="diagnosis.html" title="Chapter 38. The Samba Checklist"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Part V. Troubleshooting</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="SWAT.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="diagnosis.html">Next</a></td></tr></table><hr></div><div class="part" lang="en"><div class="titlepage"><div><div><h1 class="title"><a name="troubleshooting"></a>Part V. Troubleshooting</h1></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="chapter"><a href="diagnosis.html">38. The Samba Checklist</a></span></dt><dd><dl><dt><span class="sect1"><a href="diagnosis.html#id2682800">Introduction</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2682839">Assumptions</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2683132">The Tests</a></span></dt></dl></dd><dt><span class="chapter"><a href="problems.html">39. Analyzing and Solving Samba Problems</a></span></dt><dd><dl><dt><span class="sect1"><a href="problems.html#id2684879">Diagnostics Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="problems.html#id2684931">Debugging with Samba Itself</a></span></dt><dt><span class="sect2"><a href="problems.html#id2685187">Tcpdump</a></span></dt><dt><span class="sect2"><a href="problems.html#id2685238">Ethereal</a></span></dt><dt><span class="sect2"><a href="problems.html#id2685381">The Windows Network Monitor</a></span></dt></dl></dd><dt><span class="sect1"><a href="problems.html#id2685707">Useful URLs</a></span></dt><dt><span class="sect1"><a href="problems.html#id2685744">Getting Mailing List Help</a></span></dt><dt><span class="sect1"><a href="problems.html#id2685919">How to Get Off the Mailing Lists</a></span></dt></dl></dd><dt><span class="chapter"><a href="bugreport.html">40. Reporting Bugs</a></span></dt><dd><dl><dt><span class="sect1"><a href="bugreport.html#id2686050">Introduction</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2686140">General Information</a></span></dt><dt><span class="sect1"><a href="bugreport.html#dbglvl">Debug Levels</a></span></dt><dd><dl><dt><span class="sect2"><a href="bugreport.html#id2686375">Debugging-Specific Operations</a></span></dt></dl></dd><dt><span class="sect1"><a href="bugreport.html#id2686577">Internal Errors</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2686710">Attaching to a Running Process</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2686836">Patches</a></span></dt></dl></dd><dt><span class="chapter"><a href="tdb.html">41. Managing TDB Files</a></span></dt><dd><dl><dt><span class="sect1"><a href="tdb.html#id2686919">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="tdb.html#id2687381">Managing TDB Files</a></span></dt></dl></dd></dl></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="SWAT.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="diagnosis.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 37. SWAT: The Samba Web Administration Tool </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 38. The Samba Checklist</td></tr></table></div></body></html>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Part V. Troubleshooting</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="SWAT.html" title="Chapter 37. SWAT: The Samba Web Administration Tool"><link rel="next" href="diagnosis.html" title="Chapter 38. The Samba Checklist"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Part V. Troubleshooting</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="SWAT.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="diagnosis.html">Next</a></td></tr></table><hr></div><div class="part" title="Part V. Troubleshooting"><div class="titlepage"><div><div><h1 class="title"><a name="troubleshooting"></a>Part V. Troubleshooting</h1></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="chapter"><a href="diagnosis.html">38. The Samba Checklist</a></span></dt><dd><dl><dt><span class="sect1"><a href="diagnosis.html#id2688857">Introduction</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2688896">Assumptions</a></span></dt><dt><span class="sect1"><a href="diagnosis.html#id2689189">The Tests</a></span></dt></dl></dd><dt><span class="chapter"><a href="problems.html">39. Analyzing and Solving Samba Problems</a></span></dt><dd><dl><dt><span class="sect1"><a href="problems.html#id2690936">Diagnostics Tools</a></span></dt><dd><dl><dt><span class="sect2"><a href="problems.html#id2690988">Debugging with Samba Itself</a></span></dt><dt><span class="sect2"><a href="problems.html#id2691244">Tcpdump</a></span></dt><dt><span class="sect2"><a href="problems.html#id2691294">Ethereal</a></span></dt><dt><span class="sect2"><a href="problems.html#id2691438">The Windows Network Monitor</a></span></dt></dl></dd><dt><span class="sect1"><a href="problems.html#id2691764">Useful URLs</a></span></dt><dt><span class="sect1"><a href="problems.html#id2691801">Getting Mailing List Help</a></span></dt><dt><span class="sect1"><a href="problems.html#id2691975">How to Get Off the Mailing Lists</a></span></dt></dl></dd><dt><span class="chapter"><a href="bugreport.html">40. Reporting Bugs</a></span></dt><dd><dl><dt><span class="sect1"><a href="bugreport.html#id2692107">Introduction</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2692196">General Information</a></span></dt><dt><span class="sect1"><a href="bugreport.html#dbglvl">Debug Levels</a></span></dt><dd><dl><dt><span class="sect2"><a href="bugreport.html#id2692432">Debugging-Specific Operations</a></span></dt></dl></dd><dt><span class="sect1"><a href="bugreport.html#id2692634">Internal Errors</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2692767">Attaching to a Running Process</a></span></dt><dt><span class="sect1"><a href="bugreport.html#id2692892">Patches</a></span></dt></dl></dd><dt><span class="chapter"><a href="tdb.html">41. Managing TDB Files</a></span></dt><dd><dl><dt><span class="sect1"><a href="tdb.html#id2692976">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="tdb.html#id2693437">Managing TDB Files</a></span></dt></dl></dd></dl></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="SWAT.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="diagnosis.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 37. SWAT: The Samba Web Administration Tool </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 38. The Samba Checklist</td></tr></table></div></body></html> -
branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/type.html
r274 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Part II. Server Configuration Basics</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="FastStart.html" title="Chapter 2. Fast Start: Cure for Impatience"><link rel="next" href="ServerType.html" title="Chapter 3. Server Types and Security Modes"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Part II. Server Configuration Basics</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="FastStart.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="ServerType.html">Next</a></td></tr></table><hr></div><div class="part" lang="en"><div class="titlepage"><div><div><h1 class="title"><a name="type"></a>Part II. Server Configuration Basics</h1></div></div></div><div class="partintro" lang="en"><div><div><div><h1 class="title"><a name="id2558696"></a>First Steps in Server Configuration</h1></div></div></div><p>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Part II. Server Configuration Basics</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="prev" href="FastStart.html" title="Chapter 2. Fast Start: Cure for Impatience"><link rel="next" href="ServerType.html" title="Chapter 3. Server Types and Security Modes"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Part II. Server Configuration Basics</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="FastStart.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="ServerType.html">Next</a></td></tr></table><hr></div><div class="part" title="Part II. Server Configuration Basics"><div class="titlepage"><div><div><h1 class="title"><a name="type"></a>Part II. Server Configuration Basics</h1></div></div></div><div class="partintro" title="First Steps in Server Configuration"><div><div><div><h1 class="title"><a name="id2564753"></a>First Steps in Server Configuration</h1></div></div></div><p> 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#id25 58832">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2558991">Server Types</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2559136">Samba Security Modes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2559298">User Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2559461">Share-Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2559653">Domain Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560148">ADS Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560291">Server Security (User Level Security)</a></span></dt></dl></dd><dt><span class="sect1"><a href="ServerType.html#id2560566">Password Checking</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2560753">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2560783">What Makes Samba a Server?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560815">What Makes Samba a Domain Controller?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560852">What Makes Samba a Domain Member?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560879">Constantly Losing Connections to Password Server</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2560937">Stand-alone Server is converted to Domain Controller Now User accounts don't work</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="samba-pdc.html">4. Domain Control</a></span></dt><dd><dl><dt><span class="sect1"><a href="samba-pdc.html#id2561262">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2561896">Single Sign-On and Domain Security</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2562485">Basics of Domain Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2562505">Domain Controller Types</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2563009">Preparing for Domain Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2563520">Domain Control: Example Configuration</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2564263">Samba ADS Domain Control</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2564316">Domain and Network Logon Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2564335">Domain Network Logon Service</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2564926">Security Mode and Master Browsers</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2565206">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2565212">$ Cannot Be Included in Machine Name</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565312">Joining Domain Fails Because of Existing Machine Account</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565377">The System Cannot Log You On (C000019B)</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565454">The Machine Trust Account Is Not Accessible</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565573">Account Disabled</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565600">Domain Controller Unavailable</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2565619">Cannot Log onto Domain Member Workstation After Joining Domain</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="samba-bdc.html">5. Backup Domain Control</a></span></dt><dd><dl><dt><span class="sect1"><a href="samba-bdc.html#id2565803">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-bdc.html#id2566209">Essential Background Information</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2566279">MS Windows NT4-style Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2566966">LDAP Configuration Notes</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2567331">Active Directory Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2567390">What Qualifies a Domain Controller on the Network?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2567481">How Does a Workstation find its Domain Controller?</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2567662">Backup Domain Controller Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2568163">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2568620">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2568664">Machine Accounts Keep Expiring</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2568719">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2568774">How Do I Replicate the smbpasswd File?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2568879">Can I Do This All with LDAP?</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="domain-member.html">6. Domain Membership</a></span></dt><dd><dl><dt><span class="sect1"><a href="domain-member.html#id2569122">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2569809">Manual Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2570246">Managing Domain Machine Accounts using NT4 Server Manager</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2570526">On-the-Fly Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2570632">Making an MS Windows Workstation or Server a Domain Member</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#domain-member-server">Domain Member Server</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2571097">Joining an NT4-type Domain with Samba-3</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2571833">Why Is This Better Than security = server?</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#ads-member">Samba ADS Domain Membership</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2572115">Configure smb.conf</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2572306">Configure /etc/krb5.conf</a></span></dt><dt><span class="sect2"><a href="domain-member.html#ads-create-machine-account">Create the Computer Account</a></span></dt><dt><span class="sect2"><a href="domain-member.html#ads-test-server">Testing Server Setup</a></span></dt><dt><span class="sect2"><a href="domain-member.html#ads-test-smbclient">Testing with smbclient</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2573400">Notes</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#id2573472">Sharing User ID Mappings between Samba Domain Members</a></span></dt><dt><span class="sect1"><a href="domain-member.html#id2573679">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2573719">Cannot Add Machine Back to Domain</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2573794">Adding Machine to Domain Fails</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2574030">I Can't Join a Windows 2003 PDC</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="StandAloneServer.html">7. Standalone Servers</a></span></dt><dd><dl><dt><span class="sect1"><a href="StandAloneServer.html#id2574163">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2574257">Background</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2574458">Example Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a></span></dt><dt><span class="sect2"><a href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></span></dt></dl></dd><dt><span class="sect1"><a href="StandAloneServer.html#id2575441">Common Errors</a></span></dt></dl></dd><dt><span class="chapter"><a href="ClientConfig.html">8. MS Windows Network Configuration Guide</a></span></dt><dd><dl><dt><span class="sect1"><a href="ClientConfig.html#id2575509">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ClientConfig.html#id2575569">Technical Details</a></span></dt><dd><dl><dt><span class="sect2"><a href="ClientConfig.html#id2575613">TCP/IP Configuration</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2577384">Joining a Domain: Windows 2000/XP Professional</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2577911">Domain Logon Configuration: Windows 9x/Me</a></span></dt></dl></dd><dt><span class="sect1"><a href="ClientConfig.html#id2578354">Common Errors</a></span></dt></dl></dd></dl></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="FastStart.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="ServerType.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 2. Fast Start: Cure for Impatience </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 3. Server Types and Security Modes</td></tr></table></div></body></html>5 </p><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="chapter"><a href="ServerType.html">3. Server Types and Security Modes</a></span></dt><dd><dl><dt><span class="sect1"><a href="ServerType.html#id2564889">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2565049">Server Types</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2565193">Samba Security Modes</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2565355">User Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2565518">Share-Level Security</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2565710">Domain Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2566205">ADS Security Mode (User-Level Security)</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2566348">Server Security (User Level Security)</a></span></dt></dl></dd><dt><span class="sect1"><a href="ServerType.html#id2566623">Password Checking</a></span></dt><dt><span class="sect1"><a href="ServerType.html#id2566810">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="ServerType.html#id2566840">What Makes Samba a Server?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2566873">What Makes Samba a Domain Controller?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2566910">What Makes Samba a Domain Member?</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2566937">Constantly Losing Connections to Password Server</a></span></dt><dt><span class="sect2"><a href="ServerType.html#id2566995">Stand-alone Server is converted to Domain Controller Now User accounts don't work</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="samba-pdc.html">4. Domain Control</a></span></dt><dd><dl><dt><span class="sect1"><a href="samba-pdc.html#id2567320">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2567955">Single Sign-On and Domain Security</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2568544">Basics of Domain Control</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2568563">Domain Controller Types</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2569068">Preparing for Domain Control</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2569579">Domain Control: Example Configuration</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2570321">Samba ADS Domain Control</a></span></dt><dt><span class="sect1"><a href="samba-pdc.html#id2570374">Domain and Network Logon Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2570393">Domain Network Logon Service</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2570985">Security Mode and Master Browsers</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-pdc.html#id2571265">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-pdc.html#id2571270"><span class="quote">“<span class="quote">$</span>”</span> Cannot Be Included in Machine Name</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2571371">Joining Domain Fails Because of Existing Machine Account</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2571436">The System Cannot Log You On (C000019B)</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2571512">The Machine Trust Account Is Not Accessible</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2571632">Account Disabled</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2571659">Domain Controller Unavailable</a></span></dt><dt><span class="sect2"><a href="samba-pdc.html#id2571678">Cannot Log onto Domain Member Workstation After Joining Domain</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="samba-bdc.html">5. Backup Domain Control</a></span></dt><dd><dl><dt><span class="sect1"><a href="samba-bdc.html#id2571862">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="samba-bdc.html#id2572268">Essential Background Information</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2572337">MS Windows NT4-style Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2573025">LDAP Configuration Notes</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2573390">Active Directory Domain Control</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2573448">What Qualifies a Domain Controller on the Network?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2573539">How Does a Workstation find its Domain Controller?</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2573721">Backup Domain Controller Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2574222">Example Configuration</a></span></dt></dl></dd><dt><span class="sect1"><a href="samba-bdc.html#id2574686">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="samba-bdc.html#id2574730">Machine Accounts Keep Expiring</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2574784">Can Samba Be a Backup Domain Controller to an NT4 PDC?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2574840">How Do I Replicate the smbpasswd File?</a></span></dt><dt><span class="sect2"><a href="samba-bdc.html#id2574945">Can I Do This All with LDAP?</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="domain-member.html">6. Domain Membership</a></span></dt><dd><dl><dt><span class="sect1"><a href="domain-member.html#id2575193">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="domain-member.html#machine-trust-accounts">MS Windows Workstation/Server Machine Trust Accounts</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2575880">Manual Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2576317">Managing Domain Machine Accounts using NT4 Server Manager</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2576597">On-the-Fly Creation of Machine Trust Accounts</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2576703">Making an MS Windows Workstation or Server a Domain Member</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#domain-member-server">Domain Member Server</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2577168">Joining an NT4-type Domain with Samba-3</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2577904">Why Is This Better Than <em class="parameter"><code>security = server</code></em>?</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#ads-member">Samba ADS Domain Membership</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2578186">Configure <code class="filename">smb.conf</code></a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2578377">Configure <code class="filename">/etc/krb5.conf</code></a></span></dt><dt><span class="sect2"><a href="domain-member.html#ads-create-machine-account">Create the Computer Account</a></span></dt><dt><span class="sect2"><a href="domain-member.html#ads-test-server">Testing Server Setup</a></span></dt><dt><span class="sect2"><a href="domain-member.html#ads-test-smbclient">Testing with <span class="application">smbclient</span></a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2579471">Notes</a></span></dt></dl></dd><dt><span class="sect1"><a href="domain-member.html#id2579543">Sharing User ID Mappings between Samba Domain Members</a></span></dt><dt><span class="sect1"><a href="domain-member.html#id2579750">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="domain-member.html#id2579789">Cannot Add Machine Back to Domain</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2579865">Adding Machine to Domain Fails</a></span></dt><dt><span class="sect2"><a href="domain-member.html#id2580101">I Can't Join a Windows 2003 PDC</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="StandAloneServer.html">7. Standalone Servers</a></span></dt><dd><dl><dt><span class="sect1"><a href="StandAloneServer.html#id2580234">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2580328">Background</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2580529">Example Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a></span></dt><dt><span class="sect2"><a href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></span></dt></dl></dd><dt><span class="sect1"><a href="StandAloneServer.html#id2581512">Common Errors</a></span></dt></dl></dd><dt><span class="chapter"><a href="ClientConfig.html">8. MS Windows Network Configuration Guide</a></span></dt><dd><dl><dt><span class="sect1"><a href="ClientConfig.html#id2581580">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="ClientConfig.html#id2581640">Technical Details</a></span></dt><dd><dl><dt><span class="sect2"><a href="ClientConfig.html#id2581683">TCP/IP Configuration</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2583455">Joining a Domain: Windows 2000/XP Professional</a></span></dt><dt><span class="sect2"><a href="ClientConfig.html#id2583981">Domain Logon Configuration: Windows 9x/Me</a></span></dt></dl></dd><dt><span class="sect1"><a href="ClientConfig.html#id2584425">Common Errors</a></span></dt></dl></dd></dl></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="FastStart.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="ServerType.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 2. Fast Start: Cure for Impatience </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 3. Server Types and Security Modes</td></tr></table></div></body></html> -
branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/unicode.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 30. Unicode/Charsets</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="integrate-ms-networks.html" title="Chapter 29. Integrating MS Windows Networks with Samba"><link rel="next" href="Backup.html" title="Chapter 31. Backup Techniques"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 30. Unicode/Charsets</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="integrate-ms-networks.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="Backup.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="unicode"></a>Chapter 30. Unicode/Charsets</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<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#id2669894">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2669946">What Are Charsets and Unicode?</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2670080">Samba and Charsets</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2670215">Conversion from Old Names</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2670247">Japanese Charsets</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2670386">Basic Parameter Setting</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2671027">Individual Implementations</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2671150">Migration from Samba-2.2 Series</a></span></dt></dl></dd><dt><span class="sect1"><a href="unicode.html#id2671297">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2671302">CP850.so Can't Be Found</a></span></dt></dl></dd></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2669894"></a>Features and Benefits</h2></div></div></div><p>2 <a class="indexterm" name="id26 69902"></a>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 30. Unicode/Charsets</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="integrate-ms-networks.html" title="Chapter 29. Integrating MS Windows Networks with Samba"><link rel="next" href="Backup.html" title="Chapter 31. Backup Techniques"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 30. Unicode/Charsets</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="integrate-ms-networks.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="Backup.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 30. Unicode/Charsets"><div class="titlepage"><div><div><h2 class="title"><a name="unicode"></a>Chapter 30. Unicode/Charsets</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<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#id2675949">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2676001">What Are Charsets and Unicode?</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2676134">Samba and Charsets</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2676270">Conversion from Old Names</a></span></dt><dt><span class="sect1"><a href="unicode.html#id2676302">Japanese Charsets</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2676441">Basic Parameter Setting</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2677082">Individual Implementations</a></span></dt><dt><span class="sect2"><a href="unicode.html#id2677205">Migration from Samba-2.2 Series</a></span></dt></dl></dd><dt><span class="sect1"><a href="unicode.html#id2677352">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="unicode.html#id2677357">CP850.so Can't Be Found</a></span></dt></dl></dd></dl></div><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2675949"></a>Features and Benefits</h2></div></div></div><p> 2 <a class="indexterm" name="id2675957"></a> 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="id26 69931"></a>14 <a class="indexterm" name="id2675986"></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="id2669946"></a>What Are Charsets and Unicode?</h2></div></div></div><p>19 <a class="indexterm" name="id26 69954"></a>18 </p></div><div class="sect1" title="What Are Charsets and Unicode?"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2676001"></a>What Are Charsets and Unicode?</h2></div></div></div><p> 19 <a class="indexterm" name="id2676009"></a> 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="id26 69971"></a>26 <a class="indexterm" name="id26 69978"></a>25 <a class="indexterm" name="id2676026"></a> 26 <a class="indexterm" name="id2676033"></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="id26 69996"></a>35 <a class="indexterm" name="id267 0003"></a>34 <a class="indexterm" name="id2676051"></a> 35 <a class="indexterm" name="id2676058"></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="id267 0025"></a>42 <a class="indexterm" name="id2676080"></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="id267 0045"></a>49 <a class="indexterm" name="id267 0052"></a>50 <a class="indexterm" name="id267 0059"></a>48 <a class="indexterm" name="id2676100"></a> 49 <a class="indexterm" name="id2676107"></a> 50 <a class="indexterm" name="id2676114"></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="id2670080"></a>Samba and Charsets</h2></div></div></div><p>57 <a class="indexterm" name="id267 0087"></a>58 <a class="indexterm" name="id267 0094"></a>56 </p></div><div class="sect1" title="Samba and Charsets"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2676134"></a>Samba and Charsets</h2></div></div></div><p> 57 <a class="indexterm" name="id2676142"></a> 58 <a class="indexterm" name="id2676149"></a> 59 59 As of Samba-3, Samba can (and will) talk Unicode over the wire. Internally, 60 60 Samba knows of three kinds of character sets: 61 61 </p><div class="variablelist"><dl><dt><span class="term"><a class="link" href="smb.conf.5.html#UNIXCHARSET" target="_top">unix charset</a></span></dt><dd><p> 62 <a class="indexterm" name="id267 0126"></a>63 <a class="indexterm" name="id267 0132"></a>62 <a class="indexterm" name="id2676181"></a> 63 <a class="indexterm" name="id2676187"></a> 64 64 This is the charset used internally by your operating system. 65 65 The default is <code class="constant">UTF-8</code>, which is fine for most … … 74 74 Run <code class="literal">testparm -v | grep "dos charset"</code> to see 75 75 what the default is on your system. 76 </p></dd></dl></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2670215"></a>Conversion from Old Names</h2></div></div></div><p>77 <a class="indexterm" name="id267 0223"></a>76 </p></dd></dl></div></div><div class="sect1" title="Conversion from Old Names"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2676270"></a>Conversion from Old Names</h2></div></div></div><p> 77 <a class="indexterm" name="id2676278"></a> 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="id2670247"></a>Japanese Charsets</h2></div></div></div><p>83 </p></div><div class="sect1" title="Japanese Charsets"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2676302"></a>Japanese Charsets</h2></div></div></div><p> 84 84 Setting up Japanese charsets is quite difficult. This is mainly because: 85 </p><div class="itemizedlist"><ul type="disc"><li><p>86 <a class="indexterm" name="id267 0262"></a>85 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 86 <a class="indexterm" name="id2676317"></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 </p></li><li ><p>91 <a class="indexterm" name="id267 0277"></a>92 <a class="indexterm" name="id267 0284"></a>93 <a class="indexterm" name="id267 0291"></a>94 <a class="indexterm" name="id267 0298"></a>95 <a class="indexterm" name="id267 0304"></a>90 </p></li><li class="listitem"><p> 91 <a class="indexterm" name="id2676332"></a> 92 <a class="indexterm" name="id2676339"></a> 93 <a class="indexterm" name="id2676346"></a> 94 <a class="indexterm" name="id2676353"></a> 95 <a class="indexterm" name="id2676359"></a> 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 … … 102 102 UNIXes that can't use Japanese filenames. Some implementations of the 103 103 EUC-JP series can't support the full Windows character set. 104 </p></li><li ><p>There are some code conversion tables between Unicode and legacy104 </p></li><li class="listitem"><p>There are some code conversion tables between Unicode and legacy 105 105 Japanese character sets. One is compatible with Windows, another one 106 106 is based on the reference of the Unicode consortium, and others are … … 108 108 define any conversion tables between Unicode and legacy character 109 109 sets, so there cannot be standard one. 110 </p></li><li ><p>The character set and conversion tables available in iconv() depend110 </p></li><li class="listitem"><p>The character set and conversion tables available in iconv() depend 111 111 on the iconv library that is available. Next to that, the Japanese locale 112 112 names may be different on different systems. This means that the value of 113 113 the charset parameters depends on the implementation of iconv() you are using. 114 114 </p><p> 115 <a class="indexterm" name="id267 0354"></a>116 <a class="indexterm" name="id267 0361"></a>117 <a class="indexterm" name="id267 0368"></a>118 <a class="indexterm" name="id267 0374"></a>115 <a class="indexterm" name="id2676409"></a> 116 <a class="indexterm" name="id2676416"></a> 117 <a class="indexterm" name="id2676422"></a> 118 <a class="indexterm" name="id2676429"></a> 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="id2670386"></a>Basic Parameter Setting</h3></div></div></div><p>123 <a class="indexterm" name="id267 0393"></a>122 </p></li></ul></div><div class="sect2" title="Basic Parameter Setting"><div class="titlepage"><div><div><h3 class="title"><a name="id2676441"></a>Basic Parameter Setting</h3></div></div></div><p> 123 <a class="indexterm" name="id2676448"></a> 124 124 The <a class="link" href="smb.conf.5.html#DOSCHARSET" target="_top">dos charset</a> and 125 125 <a class="link" href="smb.conf.5.html#DISPLAYCHARSET" target="_top">display charset</a> … … 128 128 but sometimes has a different name. 129 129 </p><p> 130 <a class="indexterm" name="id267 0430"></a>131 <a class="indexterm" name="id267 0436"></a>132 <a class="indexterm" name="id267 0443"></a>130 <a class="indexterm" name="id2676485"></a> 131 <a class="indexterm" name="id2676491"></a> 132 <a class="indexterm" name="id2676498"></a> 133 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 … … 138 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 setting “<span class="quote">coding system = CAP</span>”in the Samba 2.2 series.140 setting <span class="quote">“<span class="quote">coding system = CAP</span>”</span> in the Samba 2.2 series. 141 141 </p><p> 142 142 Where to set <a class="link" href="smb.conf.5.html#UNIXCHARSET" target="_top">unix charset</a> … … 147 147 used as a standard on Japanese Windows. In the case of <code class="constant">Shift_JIS</code>, 148 148 for example, if a Japanese filename consists of 0x8ba4 and 0x974c 149 (a 4-bytes Japanese character string meaning “<span class="quote">share</span>”) and “<span class="quote">.txt</span>”149 (a 4-bytes Japanese character string meaning <span class="quote">“<span class="quote">share</span>”</span>) and <span class="quote">“<span class="quote">.txt</span>”</span> 150 150 is written from Windows on Samba, the filename on UNIX becomes 151 0x8ba4, 0x974c, “<span class="quote">.txt</span>”(an 8-byte BINARY string), same as Windows.151 0x8ba4, 0x974c, <span class="quote">“<span class="quote">.txt</span>”</span> (an 8-byte BINARY string), same as Windows. 152 152 </p><p>Since Shift_JIS series is usually used on some commercial-based 153 153 UNIXes; hp-ux and AIX as the Japanese locale (however, it is also possible … … 160 160 may be displayed, and some commands that cannot handle non-ASCII 161 161 filenames may be aborted during parsing filenames. Especially, there 162 may be “<span class="quote">\ (0x5c)</span>”in filenames, which need to be handled carefully.162 may be <span class="quote">“<span class="quote">\ (0x5c)</span>”</span> in filenames, which need to be handled carefully. 163 163 It is best to not touch filenames written from Windows on UNIX. 164 164 </p><p> … … 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="id267 0577"></a>170 <a class="indexterm" name="id267 0584"></a>169 <a class="indexterm" name="id2676632"></a> 170 <a class="indexterm" name="id2676639"></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 173 173 contains specifications for languages other than Japanese, such as 174 174 EUC-KR). In the case of EUC-JP series, for example, if a Japanese 175 filename consists of 0x8ba4 and 0x974c and “<span class="quote">.txt</span>”is written from175 filename consists of 0x8ba4 and 0x974c and <span class="quote">“<span class="quote">.txt</span>”</span> is written from 176 176 Windows on Samba, the filename on UNIX becomes 0xb6a6, 0xcdad, 177 “<span class="quote">.txt</span>”(an 8-byte BINARY string).178 </p><p> 179 <a class="indexterm" name="id267 0609"></a>180 <a class="indexterm" name="id267 0616"></a>181 <a class="indexterm" name="id267 0623"></a>182 <a class="indexterm" name="id267 0629"></a>183 <a class="indexterm" name="id267 0636"></a>184 <a class="indexterm" name="id267 0643"></a>185 <a class="indexterm" name="id267 0650"></a>186 <a class="indexterm" name="id267 0657"></a>187 <a class="indexterm" name="id267 0664"></a>188 <a class="indexterm" name="id267 0670"></a>177 <span class="quote">“<span class="quote">.txt</span>”</span> (an 8-byte BINARY string). 178 </p><p> 179 <a class="indexterm" name="id2676664"></a> 180 <a class="indexterm" name="id2676671"></a> 181 <a class="indexterm" name="id2676678"></a> 182 <a class="indexterm" name="id2676684"></a> 183 <a class="indexterm" name="id2676691"></a> 184 <a class="indexterm" name="id2676698"></a> 185 <a class="indexterm" name="id2676705"></a> 186 <a class="indexterm" name="id2676712"></a> 187 <a class="indexterm" name="id2676718"></a> 188 <a class="indexterm" name="id2676725"></a> 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, … … 195 195 </p><p> 196 196 Although there is no character that needs to be carefully treated 197 like “<span class="quote">\ (0x5c)</span>”, broken filenames may be displayed and some197 like <span class="quote">“<span class="quote">\ (0x5c)</span>”</span>, broken filenames may be displayed and some 198 198 commands that cannot handle non-ASCII filenames may be aborted 199 199 during parsing filenames. 200 200 </p><p> 201 <a class="indexterm" name="id267 0704"></a>201 <a class="indexterm" name="id2676758"></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 … … 210 210 or 2 bytes is used to express Japanese, basically a byte length of a UTF-8 string the length of the UTF-8 211 211 string is 1.5 times that of the original Shift_JIS string. In the case of UTF-8, for example, if a Japanese 212 filename consists of 0x8ba4 and 0x974c, and “<span class="quote">.txt</span>”is written from Windows on Samba, the filename213 on UNIX becomes 0xe585, 0xb1e6, 0x9c89, “<span class="quote">.txt</span>”(a 10-byte BINARY string).212 filename consists of 0x8ba4 and 0x974c, and <span class="quote">“<span class="quote">.txt</span>”</span> is written from Windows on Samba, the filename 213 on UNIX becomes 0xe585, 0xb1e6, 0x9c89, <span class="quote">“<span class="quote">.txt</span>”</span> (a 10-byte BINARY string). 214 214 </p><p> 215 215 For systems where iconv() is not available or where iconv()'s locales … … 220 220 Some broken filenames may be displayed, and some commands that 221 221 cannot handle non-ASCII filenames may be aborted during parsing 222 filenames. Especially, there may be “<span class="quote">\ (0x5c)</span>”in filenames, which222 filenames. Especially, there may be <span class="quote">“<span class="quote">\ (0x5c)</span>”</span> in filenames, which 223 223 must be handled carefully, so you had better not touch filenames 224 224 written from Windows on UNIX. 225 225 </p><p> 226 <a class="indexterm" name="id267 0777"></a>227 <a class="indexterm" name="id267 0784"></a>228 <a class="indexterm" name="id267 0790"></a>226 <a class="indexterm" name="id2676832"></a> 227 <a class="indexterm" name="id2676838"></a> 228 <a class="indexterm" name="id2676845"></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="id267 0807"></a>236 <a class="indexterm" name="id2676862"></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="id267 0828"></a>242 <a class="indexterm" name="id267 0835"></a>243 <a class="indexterm" name="id267 0842"></a>241 <a class="indexterm" name="id2676883"></a> 242 <a class="indexterm" name="id2676890"></a> 243 <a class="indexterm" name="id2676896"></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 246 246 example, if a Japanese filename consists of 0x8ba4 and 0x974c, and 247 “<span class="quote">.txt</span>”is written from Windows on Samba, the filename on UNIX248 becomes “<span class="quote">:8b:a4:97L.txt</span>”(a 14 bytes ASCII string).247 <span class="quote">“<span class="quote">.txt</span>”</span> is written from Windows on Samba, the filename on UNIX 248 becomes <span class="quote">“<span class="quote">:8b:a4:97L.txt</span>”</span> (a 14 bytes ASCII string). 249 249 </p><p> 250 250 For CAP encoding, a byte that cannot be expressed as an ASCII 251 character (0x80 or above) is encoded in an “<span class="quote">:xx</span>”form. You need to take252 care of containing a “<span class="quote">\(0x5c)</span>”in a filename, but filenames are not251 character (0x80 or above) is encoded in an <span class="quote">“<span class="quote">:xx</span>”</span> form. You need to take 252 care of containing a <span class="quote">“<span class="quote">\(0x5c)</span>”</span> in a filename, but filenames are not 253 253 broken in a system that cannot handle non-ASCII filenames. 254 254 </p><p> … … 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="id2670941"></a><em class="parameter"><code>dos charset = CP932</code></em></td></tr><tr><td><a class="indexterm" name="id2670952"></a><em class="parameter"><code>unix charset = CP932</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[cap-share]</code></em></td></tr><tr><td><a class="indexterm" name="id2670973"></a><em class="parameter"><code>vfs option = cap</code></em></td></tr></table></div></div><br class="example-break"><p>273 <a class="indexterm" name="id267 0988"></a>274 <a class="indexterm" name="id267 0995"></a>275 <a class="indexterm" name="id267 1002"></a>276 <a class="indexterm" name="id267 1009"></a>272 </p><div class="example"><a name="vfscap-intl"></a><p class="title"><b>Example 30.1. VFS CAP</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td># the locale name "CP932" may be different</td></tr><tr><td><a class="indexterm" name="id2676996"></a><em class="parameter"><code>dos charset = CP932</code></em></td></tr><tr><td><a class="indexterm" name="id2677007"></a><em class="parameter"><code>unix charset = CP932</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[cap-share]</code></em></td></tr><tr><td><a class="indexterm" name="id2677028"></a><em class="parameter"><code>vfs option = cap</code></em></td></tr></table></div></div><br class="example-break"><p> 273 <a class="indexterm" name="id2677043"></a> 274 <a class="indexterm" name="id2677050"></a> 275 <a class="indexterm" name="id2677057"></a> 276 <a class="indexterm" name="id2677064"></a> 277 277 You should set CP932 if using GNU libiconv for unix charset. With this setting, 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="id2671027"></a>Individual Implementations</h3></div></div></div><p>278 filenames in the <span class="quote">“<span class="quote">cap-share</span>”</span> share are written with CAP encoding. 279 </p></dd></dl></div></div><div class="sect2" title="Individual Implementations"><div class="titlepage"><div><div><h3 class="title"><a name="id2677082"></a>Individual Implementations</h3></div></div></div><p> 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="id2671103"></a><em class="parameter"><code>dos charset = CP932</code></em></td></tr><tr><td><a class="indexterm" name="id2671115"></a><em class="parameter"><code>unix charset = CP932 / eucJP-ms / UTF-8</code></em></td></tr><tr><td><a class="indexterm" name="id2671127"></a><em class="parameter"><code>display charset = CP932</code></em></td></tr></table><p>302 </p><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="indexterm" name="id2677158"></a><em class="parameter"><code>dos charset = CP932</code></em></td></tr><tr><td><a class="indexterm" name="id2677170"></a><em class="parameter"><code>unix charset = CP932 / eucJP-ms / UTF-8</code></em></td></tr><tr><td><a class="indexterm" name="id2677182"></a><em class="parameter"><code>display charset = CP932</code></em></td></tr></table><p> 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="id2671150"></a>Migration from Samba-2.2 Series</h3></div></div></div><p>307 Prior to Samba-2.2 series, the “<span class="quote">coding system</span>”parameter was used. The default codepage in Samba306 </p></dd></dl></div></div><div class="sect2" title="Migration from Samba-2.2 Series"><div class="titlepage"><div><div><h3 class="title"><a name="id2677205"></a>Migration from Samba-2.2 Series</h3></div></div></div><p> 307 Prior to Samba-2.2 series, the <span class="quote">“<span class="quote">coding system</span>”</span> parameter was used. The default codepage in Samba 308 308 2.x was code page 850. In the Samba-3 series this has been replaced with the <a class="link" href="smb.conf.5.html#UNIXCHARSET" 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="id267 1246" href="#ftn.id2671246" class="footnote">a</a>]</sup></td><td align="center">EUC-JP series</td></tr><tr><td align="center">CAP</td><td align="center">Shift_JIS series + VFS</td></tr><tr><td align="center">HEX</td><td align="center">currently none</td></tr><tr><td align="center">UTF8</td><td align="center">UTF-8</td></tr><tr><td align="center">UTF8-Mac<sup>[<a name="id2671277" href="#ftn.id2671277" class="footnote">b</a>]</sup></td><td align="center">currently none</td></tr><tr><td align="center">others</td><td align="center">none</td></tr></tbody><tbody class="footnotes"><tr><td colspan="2"><div class="footnote"><p><sup>[<a name="ftn.id2671246" href="#id2671246" class="para">a</a>] </sup>Only exists in Japanese Samba version</p></div><div class="footnote"><p><sup>[<a name="ftn.id2671277" href="#id2671277" class="para">b</a>] </sup>Only exists in Japanese Samba version</p></div></td></tr></tbody></table></div></div><br class="table-break"></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2671297"></a>Common Errors</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2671302"></a>CP850.so Can't Be Found</h3></div></div></div><p>“<span class="quote">Samba is complaining about a missing <code class="filename">CP850.so</code> file.</span>”</p><p>310 </p><div class="table"><a name="japancharsets"></a><p class="title"><b>Table 30.1. Japanese Character Sets in Samba-2.2 and Samba-3</b></p><div class="table-contents"><table summary="Japanese Character Sets in Samba-2.2 and Samba-3" border="1"><colgroup><col align="center"><col align="center"></colgroup><thead><tr><th align="center">Samba-2.2 Coding System</th><th align="center">Samba-3 unix charset</th></tr></thead><tbody><tr><td align="center">SJIS</td><td align="center">Shift_JIS series</td></tr><tr><td align="center">EUC</td><td align="center">EUC-JP series</td></tr><tr><td align="center">EUC3<sup>[<a name="id2677301" href="#ftn.id2677301" class="footnote">a</a>]</sup></td><td align="center">EUC-JP series</td></tr><tr><td align="center">CAP</td><td align="center">Shift_JIS series + VFS</td></tr><tr><td align="center">HEX</td><td align="center">currently none</td></tr><tr><td align="center">UTF8</td><td align="center">UTF-8</td></tr><tr><td align="center">UTF8-Mac<sup>[<a name="id2677332" href="#ftn.id2677332" class="footnote">b</a>]</sup></td><td align="center">currently none</td></tr><tr><td align="center">others</td><td align="center">none</td></tr></tbody><tbody class="footnotes"><tr><td colspan="2"><div class="footnote"><p><sup>[<a name="ftn.id2677301" href="#id2677301" class="para">a</a>] </sup>Only exists in Japanese Samba version</p></div><div class="footnote"><p><sup>[<a name="ftn.id2677332" href="#id2677332" class="para">b</a>] </sup>Only exists in Japanese Samba version</p></div></td></tr></tbody></table></div></div><br class="table-break"></div></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2677352"></a>Common Errors</h2></div></div></div><div class="sect2" title="CP850.so Can't Be Found"><div class="titlepage"><div><div><h3 class="title"><a name="id2677357"></a>CP850.so Can't Be Found</h3></div></div></div><p><span class="quote">“<span class="quote">Samba is complaining about a missing <code class="filename">CP850.so</code> file.</span>”</span></p><p> 311 311 CP850 is the default <a class="link" href="smb.conf.5.html#DOSCHARSET" target="_top">dos charset</a>. 312 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. -
branches/samba-3.3.x/docs/htmldocs/Samba3-HOWTO/upgrading-to-3.0.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 35. Updating and Upgrading Samba</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="migration.html" title="Part IV. Migration and Updating"><link rel="prev" href="migration.html" title="Part IV. Migration and Updating"><link rel="next" href="NT4Migration.html" title="Chapter 36. Migration from NT4 PDC to Samba-3 PDC"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 35. Updating and Upgrading Samba</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="migration.html">Prev</a> </td><th width="60%" align="center">Part IV. Migration and Updating</th><td width="20%" align="right"> <a accesskey="n" href="NT4Migration.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="upgrading-to-3.0"></a>Chapter 35. Updating and Upgrading Samba</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<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#id2676238">Key Update Requirements</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2676275">Upgrading from Samba-3.0.x to Samba-3.2.0</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#oldupdatenotes">Upgrading from Samba-2.x to Samba-3.0.25</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2676324">Quick Migration Guide</a></span></dt></dl></dd><dt><span class="sect1"><a href="upgrading-to-3.0.html#id2676475">New Features in Samba-3.x Series</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2676484">New Features in Samba-3.2.x Series</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2676494">New Features in Samba-3.0.x</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2677694">New Functionality</a></span></dt></dl></dd></dl></div><p>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 35. Updating and Upgrading Samba</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="migration.html" title="Part IV. Migration and Updating"><link rel="prev" href="migration.html" title="Part IV. Migration and Updating"><link rel="next" href="NT4Migration.html" title="Chapter 36. Migration from NT4 PDC to Samba-3 PDC"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 35. Updating and Upgrading Samba</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="migration.html">Prev</a> </td><th width="60%" align="center">Part IV. Migration and Updating</th><td width="20%" align="right"> <a accesskey="n" href="NT4Migration.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 35. Updating and Upgrading Samba"><div class="titlepage"><div><div><h2 class="title"><a name="upgrading-to-3.0"></a>Chapter 35. Updating and Upgrading Samba</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<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#id2682300">Key Update Requirements</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2682336">Upgrading from Samba-3.0.x to Samba-3.2.0</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#oldupdatenotes">Upgrading from Samba-2.x to Samba-3.0.25</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2682386">Quick Migration Guide</a></span></dt></dl></dd><dt><span class="sect1"><a href="upgrading-to-3.0.html#id2682537">New Features in Samba-3.x Series</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2682546">New Features in Samba-3.2.x Series</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2682556">New Features in Samba-3.0.x</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2683756">New Functionality</a></span></dt></dl></dd></dl></div><p> 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="id2676238"></a>Key Update Requirements</h2></div></div></div><p>5 </p><div class="sect1" title="Key Update Requirements"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2682300"></a>Key Update Requirements</h2></div></div></div><p> 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="id2676275"></a>Upgrading from Samba-3.0.x to Samba-3.2.0</h3></div></div></div><p>17 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="oldupdatenotes"></a>Upgrading from Samba-2.x to Samba-3.0.25</h3></div></div></div><p>18 <a class="indexterm" name="id26 76298"></a>19 <a class="indexterm" name="id26 76304"></a>20 <a class="indexterm" name="id26 76311"></a>16 </p><div class="sect2" title="Upgrading from Samba-3.0.x to Samba-3.2.0"><div class="titlepage"><div><div><h3 class="title"><a name="id2682336"></a>Upgrading from Samba-3.0.x to Samba-3.2.0</h3></div></div></div><p> 17 </p></div><div class="sect2" title="Upgrading from Samba-2.x to Samba-3.0.25"><div class="titlepage"><div><div><h3 class="title"><a name="oldupdatenotes"></a>Upgrading from Samba-2.x to Samba-3.0.25</h3></div></div></div><p> 18 <a class="indexterm" name="id2682359"></a> 19 <a class="indexterm" name="id2682366"></a> 20 <a class="indexterm" name="id2682373"></a> 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="id2676324"></a>Quick Migration Guide</h3></div></div></div><p>24 </p></div><div class="sect2" title="Quick Migration Guide"><div class="titlepage"><div><div><h3 class="title"><a name="id2682386"></a>Quick Migration Guide</h3></div></div></div><p> 25 25 Samba-3.0.25 default behavior should be approximately the same as Samba-2.2.x. 26 26 The default behavior when the new parameter <a class="link" href="smb.conf.5.html#PASSDBBACKEND" target="_top">passdb backend</a> … … 29 29 will use the <code class="filename">smbpasswd</code> database. 30 30 </p><p> 31 <a class="indexterm" name="id26 76374"></a>32 <a class="indexterm" name="id26 76382"></a>31 <a class="indexterm" name="id2682436"></a> 32 <a class="indexterm" name="id2682443"></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 76402"></a>40 <a class="indexterm" name="id26 76409"></a>41 <a class="indexterm" name="id26 76416"></a>42 <a class="indexterm" name="id26 76422"></a>39 <a class="indexterm" name="id2682464"></a> 40 <a class="indexterm" name="id2682470"></a> 41 <a class="indexterm" name="id2682477"></a> 42 <a class="indexterm" name="id2682484"></a> 43 43 If the Samba-2.2.x system is using an LDAP backend, and there is no time to update the LDAP 44 44 database, then make sure that <a class="link" href="smb.conf.5.html#PASSDBBACKEND" target="_top">passdb backend = ldapsam_compat</a> … … 47 47 to migrate the old LDAP database to the new one through use of the <code class="literal">pdbedit</code>. 48 48 See <a class="link" href="passdb.html#pdbeditthing" title="The pdbedit Tool">The <span class="emphasis"><em>pdbedit</em></span> Command</a>. 49 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2676475"></a>New Features in Samba-3.x Series</h2></div></div></div><p>50 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2676484"></a>New Features in Samba-3.2.x Series</h3></div></div></div><p>51 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2676494"></a>New Features in Samba-3.0.x</h3></div></div></div><p>49 </p></div></div><div class="sect1" title="New Features in Samba-3.x Series"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2682537"></a>New Features in Samba-3.x Series</h2></div></div></div><p> 50 </p><div class="sect2" title="New Features in Samba-3.2.x Series"><div class="titlepage"><div><div><h3 class="title"><a name="id2682546"></a>New Features in Samba-3.2.x Series</h3></div></div></div><p> 51 </p></div><div class="sect2" title="New Features in Samba-3.0.x"><div class="titlepage"><div><div><h3 class="title"><a name="id2682556"></a>New Features in Samba-3.0.x</h3></div></div></div><p> 52 52 The major new features are: 53 </p><div class="orderedlist"><ol type="1"><li><p>54 <a class="indexterm" name="id26 76516"></a>55 <a class="indexterm" name="id26 76523"></a>53 </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p> 54 <a class="indexterm" name="id2682578"></a> 55 <a class="indexterm" name="id2682584"></a> 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 </p></li><li ><p>59 <a class="indexterm" name="id26 76536"></a>60 <a class="indexterm" name="id26 76543"></a>58 </p></li><li class="listitem"><p> 59 <a class="indexterm" name="id2682598"></a> 60 <a class="indexterm" name="id2682604"></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 </p></li><li ><p>65 <a class="indexterm" name="id26 76557"></a>64 </p></li><li class="listitem"><p> 65 <a class="indexterm" name="id2682618"></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 </p></li><li ><p>70 <a class="indexterm" name="id26 76572"></a>69 </p></li><li class="listitem"><p> 70 <a class="indexterm" name="id2682632"></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 </p></li><li ><p>75 <a class="indexterm" name="id26 76585"></a>76 New “<span class="quote">net</span>” command. A new “<span class="quote">net</span>”command has been added. It is77 somewhat similar to the “<span class="quote">net</span>”command in Windows. Eventually, we74 </p></li><li class="listitem"><p> 75 <a class="indexterm" name="id2682646"></a> 76 New <span class="quote">“<span class="quote">net</span>”</span> command. A new <span class="quote">“<span class="quote">net</span>”</span> command has been added. It is 77 somewhat similar to the <span class="quote">“<span class="quote">net</span>”</span> command in Windows. Eventually, we 78 78 plan to replace a bunch of other utilities (such as smbpasswd) 79 with subcommands in “<span class="quote">net</span>”.80 </p></li><li ><p>81 <a class="indexterm" name="id26 76613"></a>79 with subcommands in <span class="quote">“<span class="quote">net</span>”</span>. 80 </p></li><li class="listitem"><p> 81 <a class="indexterm" name="id2682674"></a> 82 82 Samba now negotiates NT-style status32 codes on the wire. This 83 83 considerably improves error handling. 84 </p></li><li ><p>85 <a class="indexterm" name="id26 76626"></a>84 </p></li><li class="listitem"><p> 85 <a class="indexterm" name="id2682687"></a> 86 86 Better Windows 200x/XP printing support, including publishing 87 87 printer attributes in Active Directory. 88 </p></li><li ><p>89 <a class="indexterm" name="id26 76640"></a>90 <a class="indexterm" name="id26 76646"></a>91 <a class="indexterm" name="id26 76653"></a>88 </p></li><li class="listitem"><p> 89 <a class="indexterm" name="id2682700"></a> 90 <a class="indexterm" name="id2682707"></a> 91 <a class="indexterm" name="id2682714"></a> 92 92 New loadable RPC modules for passdb backends and character sets. 93 </p></li><li ><p>94 <a class="indexterm" name="id26 76666"></a>93 </p></li><li class="listitem"><p> 94 <a class="indexterm" name="id2682727"></a> 95 95 New default dual-daemon winbindd support for better performance. 96 </p></li><li ><p>97 <a class="indexterm" name="id26 76678"></a>98 <a class="indexterm" name="id26 76684"></a>99 <a class="indexterm" name="id26 76691"></a>96 </p></li><li class="listitem"><p> 97 <a class="indexterm" name="id2682739"></a> 98 <a class="indexterm" name="id2682746"></a> 99 <a class="indexterm" name="id2682753"></a> 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 </p></li><li ><p>103 <a class="indexterm" name="id26 76704"></a>104 <a class="indexterm" name="id26 76711"></a>102 </p></li><li class="listitem"><p> 103 <a class="indexterm" name="id2682766"></a> 104 <a class="indexterm" name="id2682773"></a> 105 105 Support for establishing trust relationships with Windows NT 4.0 106 106 domain controllers. 107 </p></li><li ><p>108 <a class="indexterm" name="id26 76724"></a>109 <a class="indexterm" name="id26 76731"></a>110 <a class="indexterm" name="id26 76738"></a>107 </p></li><li class="listitem"><p> 108 <a class="indexterm" name="id2682786"></a> 109 <a class="indexterm" name="id2682793"></a> 110 <a class="indexterm" name="id2682800"></a> 111 111 Initial support for a distributed Winbind architecture using 112 112 an LDAP directory for storing SID to UID/GID mappings. 113 </p></li><li ><p>113 </p></li><li class="listitem"><p> 114 114 Major updates to the Samba documentation tree. 115 </p></li><li ><p>116 <a class="indexterm" name="id26 76756"></a>117 <a class="indexterm" name="id26 76763"></a>115 </p></li><li class="listitem"><p> 116 <a class="indexterm" name="id2682818"></a> 117 <a class="indexterm" name="id2682825"></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="id2676778"></a>Configuration Parameter Changes</h4></div></div></div><p>122 </p><div class="sect3" title="Configuration Parameter Changes"><div class="titlepage"><div><div><h4 class="title"><a name="id2682840"></a>Configuration Parameter Changes</h4></div></div></div><p> 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="id2676823"></a>Removed Parameters</h4></div></div></div><a class="indexterm" name="id2676829"></a><p>133 </p></div><div class="sect3" title="Removed Parameters"><div class="titlepage"><div><div><h4 class="title"><a name="id2682885"></a>Removed Parameters</h4></div></div></div><a class="indexterm" name="id2682890"></a><p> 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="id2676994"></a>New Parameters</h4></div></div></div><p>The following new parameters have been released up to and including Samba 3.0.25 (grouped by function:)</p><p>Remote Management</p><a class="indexterm" name="id2677008"></a><div class="itemizedlist"><ul type="disc"><li><p>abort shutdown script</p></li><li><p>shutdown script</p></li></ul></div><p>User and Group Account Management</p><div class="itemizedlist"><ul type="disc"><li><p>add group script</p></li><li><p>add machine script</p></li><li><p>add user to group script</p></li><li><p>algorithmic rid base</p></li><li><p>delete group script</p></li><li><p>delete user from group script</p></li><li><p>passdb backend</p></li><li><p>rename user script</p></li><li><p>set primary group script</p></li><li><p>username map script</p></li></ul></div><p>Authentication</p><div class="itemizedlist"><ul type="disc"><li><p>auth methods</p></li><li><p>ldap password sync</p></li><li><p>passdb expand explicit</p></li><li><p>realm</p></li></ul></div><p>Protocol Options</p><div class="itemizedlist"><ul type="disc"><li><p>add port command</p></li><li><p>afs token lifetime</p></li><li><p>client lanman auth</p></li><li><p>client NTLMv2 auth</p></li><li><p>client schannel</p></li><li><p>client signing</p></li><li><p>client use spnego</p></li><li><p>defer sharing violations</p></li><li><p>disable netbios</p></li><li><p>dmapi support</p></li><li><p>enable privileges</p></li><li><p>use kerberos keytab</p></li><li><p>log nt token command</p></li><li><p>ntlm auth</p></li><li><p>paranoid server security </p></li><li><p>sendfile</p></li><li><p>server schannel</p></li><li><p>server signing</p></li><li><p>smb ports</p></li><li><p>svcctl list</p></li><li><p>use spnego</p></li></ul></div><p>File Service</p><div class="itemizedlist"><ul type="disc"><li><p>allocation roundup size</p></li><li><p>acl check permissions</p></li><li><p>acl group control</p></li><li><p>acl map full control</p></li><li><p>aio read size</p></li><li><p>aio write size</p></li><li><p>dfree cache time</p></li><li><p>dfree command</p></li><li><p>ea support</p></li><li><p>enable asu support</p></li><li><p>fam change notify</p></li><li><p>force unknown acl user</p></li><li><p>get quota command</p></li><li><p>hide special files</p></li><li><p>hide unwriteable files</p></li><li><p>inherit owner</p></li><li><p>hostname lookups</p></li><li><p>kernel change notify</p></li><li><p>mangle prefix</p></li><li><p>map acl inherit</p></li><li><p>map read only</p></li><li><p>max stat cache size</p></li><li><p>msdfs proxy</p></li><li><p>open files database hash size</p></li><li><p>set quota command</p></li><li><p>store dos attributes</p></li><li><p>use sendfile</p></li><li><p>usershare allow guests</p></li><li><p>usershare max shares</p></li><li><p>usershare owner only</p></li><li><p>usershare path</p></li><li><p>usershare prefix allow list</p></li><li><p>usershare prefix deny list</p></li><li><p>usershare template share</p></li><li><p>vfs objects</p></li></ul></div><p>Printing</p><div class="itemizedlist"><ul type="disc"><li><p>cups options</p></li><li><p>cups server</p></li><li><p>force printername</p></li><li><p>iprint server</p></li><li><p>max reported print jobs</p></li><li><p>printcap cache time</p></li></ul></div><p>Unicode and Character Sets</p><div class="itemizedlist"><ul type="disc"><li><p>display charset</p></li><li><p>dos charset</p></li><li><p>UNIX charset</p></li></ul></div><p>SID to UID/GID Mappings</p><div class="itemizedlist"><ul type="disc"><li><p>idmap backend</p></li><li><p>idmap gid</p></li><li><p>idmap uid</p></li><li><p>username map script</p></li><li><p>winbind nss info</p></li><li><p>winbind offline logon</p></li><li><p>winbind refresh tickets</p></li><li><p>winbind trusted domains only</p></li><li><p>template primary group</p></li></ul></div><p>LDAP</p><div class="itemizedlist"><ul type="disc"><li><p>ldap delete dn</p></li><li><p>ldap group suffix</p></li><li><p>ldap idmap suffix</p></li><li><p>ldap machine suffix</p></li><li><p>ldap passwd sync</p></li><li><p>ldap replication sleep</p></li><li><p>ldap timeout</p></li><li><p>ldap user suffix</p></li></ul></div><p>General Configuration</p><div class="itemizedlist"><ul type="disc"><li><p>eventlog list</p></li><li><p>preload modules</p></li><li><p>reset on zero vc</p></li><li><p>privatedir</p></li></ul></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2677559"></a>Modified Parameters (Changes in Behavior)</h4></div></div></div><div class="itemizedlist"><ul type="disc"><li><p>acl group control (new default is No, deprecated parameter)</p></li><li><p>change notify timeout (scope changed)</p></li><li><p>dos filemode (disabled by default)</p></li><li><p>dos filetimes (enabled by default)</p></li><li><p>enable asu support (disabled by default)</p></li><li><p>enable privileges (enabled by default)</p></li><li><p>encrypt passwords (enabled by default) </p></li><li><p>host msdfs (enabled by default)</p></li><li><p>mangling method (set to hash2 by default) </p></li><li><p>map to guest</p></li><li><p>only user (deprecated)</p></li><li><p>passwd chat</p></li><li><p>passwd program</p></li><li><p>password server</p></li><li><p>restrict anonymous (integer value)</p></li><li><p>security (new ads value)</p></li><li><p>strict locking (auto by default)</p></li><li><p>winbind cache time (increased to 5 minutes)</p></li><li><p>winbind enum groups (disabled by default)</p></li><li><p>winbind enum users (disabled by default)</p></li><li><p>winbind nested groups (enabled by default)</p></li><li><p>winbind uid (deprecated in favor of idmap uid)</p></li><li><p>winbind gid (deprecated in favor of idmap gid)</p></li><li><p>winbindd nss info</p></li><li><p>write cache (deprecated)</p></li></ul></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2677694"></a>New Functionality</h3></div></div></div><p>136 <a class="indexterm" name="id26 77702"></a>135 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>admin log</p></li><li class="listitem"><p>alternate permissions</p></li><li class="listitem"><p>character set</p></li><li class="listitem"><p>client codepage</p></li><li class="listitem"><p>code page directory</p></li><li class="listitem"><p>coding system</p></li><li class="listitem"><p>domain admin group</p></li><li class="listitem"><p>domain guest group</p></li><li class="listitem"><p>enable rid algorithm</p></li><li class="listitem"><p>enable svcctl</p></li><li class="listitem"><p>force unknown acl user</p></li><li class="listitem"><p>hosts equiv</p></li><li class="listitem"><p>ldap filter</p></li><li class="listitem"><p>min password length</p></li><li class="listitem"><p>nt smb support</p></li><li class="listitem"><p>post script</p></li><li class="listitem"><p>printer admin</p></li><li class="listitem"><p>printer driver</p></li><li class="listitem"><p>printer driver file</p></li><li class="listitem"><p>printer driver location</p></li><li class="listitem"><p>read size</p></li><li class="listitem"><p>source environment</p></li><li class="listitem"><p>status </p></li><li class="listitem"><p>strip dot </p></li><li class="listitem"><p>total print jobs</p></li><li class="listitem"><p>unicode</p></li><li class="listitem"><p>use rhosts</p></li><li class="listitem"><p>valid chars</p></li><li class="listitem"><p>vfs options</p></li><li class="listitem"><p>winbind enable local accounts</p></li><li class="listitem"><p>winbind max idle children</p></li><li class="listitem"><p>wins partners</p></li></ul></div></div><div class="sect3" title="New Parameters"><div class="titlepage"><div><div><h4 class="title"><a name="id2683055"></a>New Parameters</h4></div></div></div><p>The following new parameters have been released up to and including Samba 3.0.25 (grouped by function:)</p><p>Remote Management</p><a class="indexterm" name="id2683070"></a><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>abort shutdown script</p></li><li class="listitem"><p>shutdown script</p></li></ul></div><p>User and Group Account Management</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>add group script</p></li><li class="listitem"><p>add machine script</p></li><li class="listitem"><p>add user to group script</p></li><li class="listitem"><p>algorithmic rid base</p></li><li class="listitem"><p>delete group script</p></li><li class="listitem"><p>delete user from group script</p></li><li class="listitem"><p>passdb backend</p></li><li class="listitem"><p>rename user script</p></li><li class="listitem"><p>set primary group script</p></li><li class="listitem"><p>username map script</p></li></ul></div><p>Authentication</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>auth methods</p></li><li class="listitem"><p>ldap password sync</p></li><li class="listitem"><p>passdb expand explicit</p></li><li class="listitem"><p>realm</p></li></ul></div><p>Protocol Options</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>add port command</p></li><li class="listitem"><p>afs token lifetime</p></li><li class="listitem"><p>client lanman auth</p></li><li class="listitem"><p>client NTLMv2 auth</p></li><li class="listitem"><p>client schannel</p></li><li class="listitem"><p>client signing</p></li><li class="listitem"><p>client use spnego</p></li><li class="listitem"><p>defer sharing violations</p></li><li class="listitem"><p>disable netbios</p></li><li class="listitem"><p>dmapi support</p></li><li class="listitem"><p>enable privileges</p></li><li class="listitem"><p>use kerberos keytab</p></li><li class="listitem"><p>log nt token command</p></li><li class="listitem"><p>ntlm auth</p></li><li class="listitem"><p>paranoid server security </p></li><li class="listitem"><p>sendfile</p></li><li class="listitem"><p>server schannel</p></li><li class="listitem"><p>server signing</p></li><li class="listitem"><p>smb ports</p></li><li class="listitem"><p>svcctl list</p></li><li class="listitem"><p>use spnego</p></li></ul></div><p>File Service</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>allocation roundup size</p></li><li class="listitem"><p>acl check permissions</p></li><li class="listitem"><p>acl group control</p></li><li class="listitem"><p>acl map full control</p></li><li class="listitem"><p>aio read size</p></li><li class="listitem"><p>aio write size</p></li><li class="listitem"><p>dfree cache time</p></li><li class="listitem"><p>dfree command</p></li><li class="listitem"><p>ea support</p></li><li class="listitem"><p>enable asu support</p></li><li class="listitem"><p>fam change notify</p></li><li class="listitem"><p>force unknown acl user</p></li><li class="listitem"><p>get quota command</p></li><li class="listitem"><p>hide special files</p></li><li class="listitem"><p>hide unwriteable files</p></li><li class="listitem"><p>inherit owner</p></li><li class="listitem"><p>hostname lookups</p></li><li class="listitem"><p>kernel change notify</p></li><li class="listitem"><p>mangle prefix</p></li><li class="listitem"><p>map acl inherit</p></li><li class="listitem"><p>map read only</p></li><li class="listitem"><p>max stat cache size</p></li><li class="listitem"><p>msdfs proxy</p></li><li class="listitem"><p>open files database hash size</p></li><li class="listitem"><p>set quota command</p></li><li class="listitem"><p>store dos attributes</p></li><li class="listitem"><p>use sendfile</p></li><li class="listitem"><p>usershare allow guests</p></li><li class="listitem"><p>usershare max shares</p></li><li class="listitem"><p>usershare owner only</p></li><li class="listitem"><p>usershare path</p></li><li class="listitem"><p>usershare prefix allow list</p></li><li class="listitem"><p>usershare prefix deny list</p></li><li class="listitem"><p>usershare template share</p></li><li class="listitem"><p>vfs objects</p></li></ul></div><p>Printing</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>cups options</p></li><li class="listitem"><p>cups server</p></li><li class="listitem"><p>force printername</p></li><li class="listitem"><p>iprint server</p></li><li class="listitem"><p>max reported print jobs</p></li><li class="listitem"><p>printcap cache time</p></li></ul></div><p>Unicode and Character Sets</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>display charset</p></li><li class="listitem"><p>dos charset</p></li><li class="listitem"><p>UNIX charset</p></li></ul></div><p>SID to UID/GID Mappings</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>idmap backend</p></li><li class="listitem"><p>idmap gid</p></li><li class="listitem"><p>idmap uid</p></li><li class="listitem"><p>username map script</p></li><li class="listitem"><p>winbind nss info</p></li><li class="listitem"><p>winbind offline logon</p></li><li class="listitem"><p>winbind refresh tickets</p></li><li class="listitem"><p>winbind trusted domains only</p></li><li class="listitem"><p>template primary group</p></li></ul></div><p>LDAP</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>ldap delete dn</p></li><li class="listitem"><p>ldap group suffix</p></li><li class="listitem"><p>ldap idmap suffix</p></li><li class="listitem"><p>ldap machine suffix</p></li><li class="listitem"><p>ldap passwd sync</p></li><li class="listitem"><p>ldap replication sleep</p></li><li class="listitem"><p>ldap timeout</p></li><li class="listitem"><p>ldap user suffix</p></li></ul></div><p>General Configuration</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>eventlog list</p></li><li class="listitem"><p>preload modules</p></li><li class="listitem"><p>reset on zero vc</p></li><li class="listitem"><p>privatedir</p></li></ul></div></div><div class="sect3" title="Modified Parameters (Changes in Behavior)"><div class="titlepage"><div><div><h4 class="title"><a name="id2683621"></a>Modified Parameters (Changes in Behavior)</h4></div></div></div><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>acl group control (new default is No, deprecated parameter)</p></li><li class="listitem"><p>change notify timeout (scope changed)</p></li><li class="listitem"><p>dos filemode (disabled by default)</p></li><li class="listitem"><p>dos filetimes (enabled by default)</p></li><li class="listitem"><p>enable asu support (disabled by default)</p></li><li class="listitem"><p>enable privileges (enabled by default)</p></li><li class="listitem"><p>encrypt passwords (enabled by default) </p></li><li class="listitem"><p>host msdfs (enabled by default)</p></li><li class="listitem"><p>mangling method (set to hash2 by default) </p></li><li class="listitem"><p>map to guest</p></li><li class="listitem"><p>only user (deprecated)</p></li><li class="listitem"><p>passwd chat</p></li><li class="listitem"><p>passwd program</p></li><li class="listitem"><p>password server</p></li><li class="listitem"><p>restrict anonymous (integer value)</p></li><li class="listitem"><p>security (new ads value)</p></li><li class="listitem"><p>strict locking (auto by default)</p></li><li class="listitem"><p>winbind cache time (increased to 5 minutes)</p></li><li class="listitem"><p>winbind enum groups (disabled by default)</p></li><li class="listitem"><p>winbind enum users (disabled by default)</p></li><li class="listitem"><p>winbind nested groups (enabled by default)</p></li><li class="listitem"><p>winbind uid (deprecated in favor of idmap uid)</p></li><li class="listitem"><p>winbind gid (deprecated in favor of idmap gid)</p></li><li class="listitem"><p>winbindd nss info</p></li><li class="listitem"><p>write cache (deprecated)</p></li></ul></div></div></div><div class="sect2" title="New Functionality"><div class="titlepage"><div><div><h3 class="title"><a name="id2683756"></a>New Functionality</h3></div></div></div><p> 136 <a class="indexterm" name="id2683764"></a> 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="id2677721"></a>TDB Data Files</h4></div></div></div><a class="indexterm" name="id2677727"></a><p>141 </p><div class="sect3" title="TDB Data Files"><div class="titlepage"><div><div><h4 class="title"><a name="id2683783"></a>TDB Data Files</h4></div></div></div><a class="indexterm" name="id2683788"></a><p> 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="id26 77757"></a>146 <a class="indexterm" name="id2683819"></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="id26 77772"></a>151 <a class="indexterm" name="id2683834"></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="id2678073"></a>Changes in Behavior</h4></div></div></div><p>154 exporting various database tables via the winreg RPCs.</p></td><td align="left">no</td></tr><tr><td align="left">sessionid</td><td align="justify"><p>Temporary cache for miscellaneous session information.</p></td><td align="left">no</td></tr><tr><td align="left">share_info</td><td align="justify">Share ACL settings.</td><td align="left">yes</td></tr><tr><td align="left">unexpected</td><td align="justify"><p>Packets received for which no process was listening.</p></td><td align="left">no</td></tr><tr><td align="left">winbindd_cache</td><td align="justify"><p>Cache of identity information received from an NT4 or an ADS domain.</p></td><td align="left">yes</td></tr><tr><td align="left">winbindd_idmap</td><td align="justify"><p>New ID map table from SIDS to UNIX UIDs/GIDs.</p></td><td align="left">yes</td></tr></tbody></table></div></div><br class="table-break"></div><div class="sect3" title="Changes in Behavior"><div class="titlepage"><div><div><h4 class="title"><a name="id2684135"></a>Changes in Behavior</h4></div></div></div><p> 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 </p><div class="orderedlist"><ol type="1"><li><p>158 <a class="indexterm" name="id26 78094"></a>159 <a class="indexterm" name="id26 78101"></a>160 <a class="indexterm" name="id26 78108"></a>157 </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p> 158 <a class="indexterm" name="id2684156"></a> 159 <a class="indexterm" name="id2684163"></a> 160 <a class="indexterm" name="id2684170"></a> 161 161 When operating as a member of a Windows domain, Samba-2.2 would map any users authenticated by the remote DC 162 to the “<span class="quote">guest account</span>”if a UID could not be obtained via the getpwnam() call. Samba-3 rejects163 the connection with the error message “<span class="quote">NT_STATUS_LOGON_FAILURE.</span>”There is no current workaround162 to the <span class="quote">“<span class="quote">guest account</span>”</span> if a UID could not be obtained via the getpwnam() call. Samba-3 rejects 163 the connection with the error message <span class="quote">“<span class="quote">NT_STATUS_LOGON_FAILURE.</span>”</span> There is no current workaround 164 164 to re-establish the Samba-2.2 behavior. 165 </p></li><li ><p>166 <a class="indexterm" name="id26 78132"></a>167 <a class="indexterm" name="id26 78139"></a>165 </p></li><li class="listitem"><p> 166 <a class="indexterm" name="id2684194"></a> 167 <a class="indexterm" name="id2684201"></a> 168 168 When adding machines to a Samba-2.2 controlled domain, the 169 “<span class="quote">add user script</span>”was used to create the UNIX identity of the170 machine trust account. Samba-3 introduces a new “<span class="quote">add machine171 script</span>” that must be specified for this purpose. Samba-3 will172 not fall back to using the “<span class="quote">add user script</span>”in the absence of173 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="id2678169"></a>Passdb Backends and Authentication</h4></div></div></div><p>169 <span class="quote">“<span class="quote">add user script</span>”</span> was used to create the UNIX identity of the 170 machine trust account. Samba-3 introduces a new <span class="quote">“<span class="quote">add machine 171 script</span>”</span> that must be specified for this purpose. Samba-3 will 172 not fall back to using the <span class="quote">“<span class="quote">add user script</span>”</span> in the absence of 173 an <span class="quote">“<span class="quote">add machine script</span>”</span>. 174 </p></li></ol></div></div><div class="sect3" title="Passdb Backends and Authentication"><div class="titlepage"><div><div><h4 class="title"><a name="id2684231"></a>Passdb Backends and Authentication</h4></div></div></div><p> 175 175 There have been a few new changes that Samba administrators should be 176 176 aware of when moving to Samba-3. 177 </p><div class="orderedlist"><ol type="1"><li><p>178 <a class="indexterm" name="id26 78190"></a>177 </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p> 178 <a class="indexterm" name="id2684252"></a> 179 179 Encrypted passwords have been enabled by default in order to 180 180 interoperate better with out-of-the-box Windows client 181 181 installations. This does mean that either (a) a Samba account 182 must be created for each user, or (b) “<span class="quote">encrypt passwords = no</span>”182 must be created for each user, or (b) <span class="quote">“<span class="quote">encrypt passwords = no</span>”</span> 183 183 must be explicitly defined in <code class="filename">smb.conf</code>. 184 </p></li><li ><p>185 <a class="indexterm" name="id26 78216"></a>186 <a class="indexterm" name="id26 78222"></a>187 <a class="indexterm" name="id26 78229"></a>184 </p></li><li class="listitem"><p> 185 <a class="indexterm" name="id2684277"></a> 186 <a class="indexterm" name="id2684284"></a> 187 <a class="indexterm" name="id2684291"></a> 188 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="id26 78255"></a>191 <a class="indexterm" name="id2684317"></a> 192 192 Samba-3 also includes the possibility of setting up chains of authentication methods (<a class="link" href="smb.conf.5.html#AUTHMETHODS" 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 … … 195 195 the values actually mean in order to ensure Samba operates correctly. 196 196 </p><p> 197 <a class="indexterm" name="id26 78306"></a>198 <a class="indexterm" name="id26 78313"></a>199 <a class="indexterm" name="id26 78320"></a>197 <a class="indexterm" name="id2684368"></a> 198 <a class="indexterm" name="id2684374"></a> 199 <a class="indexterm" name="id2684381"></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="id2678354"></a>LDAP</h4></div></div></div><p>203 </p></div><div class="sect3" title="LDAP"><div class="titlepage"><div><div><h4 class="title"><a name="id2684415"></a>LDAP</h4></div></div></div><p> 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="id2678364"></a>New Schema</h5></div></div></div><p>206 <a class="indexterm" name="id26 78372"></a>207 <a class="indexterm" name="id26 78378"></a>208 <a class="indexterm" name="id26 78385"></a>209 <a class="indexterm" name="id26 78392"></a>205 </p><div class="sect4" title="New Schema"><div class="titlepage"><div><div><h5 class="title"><a name="id2684426"></a>New Schema</h5></div></div></div><p> 206 <a class="indexterm" name="id2684433"></a> 207 <a class="indexterm" name="id2684440"></a> 208 <a class="indexterm" name="id2684447"></a> 209 <a class="indexterm" name="id2684454"></a> 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="id26 78408"></a>217 <a class="indexterm" name="id2684470"></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="id26 78440"></a>222 <a class="indexterm" name="id2684502"></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="id26 78467"></a>227 <a class="indexterm" name="id2684529"></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="id26 78479"></a>231 <a class="indexterm" name="id2684540"></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="id26 78505"></a>237 <a class="indexterm" name="id26 78512"></a>238 <a class="indexterm" name="id26 78519"></a>239 <a class="indexterm" name="id26 78526"></a>236 <a class="indexterm" name="id2684566"></a> 237 <a class="indexterm" name="id2684573"></a> 238 <a class="indexterm" name="id2684580"></a> 239 <a class="indexterm" name="id2684587"></a> 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 … … 246 246 </p><p> 247 247 Other new object classes and their uses include: 248 </p><div class="itemizedlist"><ul type="disc"><li><p>249 <a class="indexterm" name="id26 78573"></a>250 <a class="indexterm" name="id26 78580"></a>251 <a class="indexterm" name="id26 78586"></a>252 <a class="indexterm" name="id26 78593"></a>253 <a class="indexterm" name="id26 78600"></a>254 <a class="indexterm" name="id26 78607"></a>248 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 249 <a class="indexterm" name="id2684634"></a> 250 <a class="indexterm" name="id2684641"></a> 251 <a class="indexterm" name="id2684648"></a> 252 <a class="indexterm" name="id2684655"></a> 253 <a class="indexterm" name="id2684662"></a> 254 <a class="indexterm" name="id2684668"></a> 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 257 in “<span class="quote">ldap suffix</span>”directory entry automatically if258 an idmap UID/GID range has been set and the “<span class="quote">ldapsam</span>”257 in <span class="quote">“<span class="quote">ldap suffix</span>”</span> directory entry automatically if 258 an idmap UID/GID range has been set and the <span class="quote">“<span class="quote">ldapsam</span>”</span> 259 259 passdb backend has been selected. 260 </p></li><li ><p>261 <a class="indexterm" name="id26 78637"></a>262 <a class="indexterm" name="id26 78644"></a>263 <a class="indexterm" name="id26 78651"></a>260 </p></li><li class="listitem"><p> 261 <a class="indexterm" name="id2684699"></a> 262 <a class="indexterm" name="id2684706"></a> 263 <a class="indexterm" name="id2684713"></a> 264 264 sambaGroupMapping an object representing the 265 265 relationship between a posixGroup and a Windows 266 group/SID. These entries are stored in the “<span class="quote">ldap267 group suffix</span>” and managed by the “<span class="quote">net groupmap</span>”command.268 </p></li><li ><p>269 <a class="indexterm" name="id26 78676"></a>270 <a class="indexterm" name="id26 78683"></a>271 <a class="indexterm" name="id26 78690"></a>272 <a class="indexterm" name="id26 78696"></a>273 <code class="literal">sambaUNIXIdPool</code> created in the “<span class="quote">ldap idmap suffix</span>”entry274 automatically and contains the next available “<span class="quote">idmap UID</span>”and275 “<span class="quote">idmap GID</span>”.276 </p></li><li ><p>277 <a class="indexterm" name="id26 78728"></a>278 <a class="indexterm" name="id26 78735"></a>266 group/SID. These entries are stored in the <span class="quote">“<span class="quote">ldap 267 group suffix</span>”</span> and managed by the <span class="quote">“<span class="quote">net groupmap</span>”</span> command. 268 </p></li><li class="listitem"><p> 269 <a class="indexterm" name="id2684738"></a> 270 <a class="indexterm" name="id2684744"></a> 271 <a class="indexterm" name="id2684751"></a> 272 <a class="indexterm" name="id2684758"></a> 273 <code class="literal">sambaUNIXIdPool</code> created in the <span class="quote">“<span class="quote">ldap idmap suffix</span>”</span> entry 274 automatically and contains the next available <span class="quote">“<span class="quote">idmap UID</span>”</span> and 275 <span class="quote">“<span class="quote">idmap GID</span>”</span>. 276 </p></li><li class="listitem"><p> 277 <a class="indexterm" name="id2684790"></a> 278 <a class="indexterm" name="id2684797"></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="id2678757"></a>New Suffix for Searching</h5></div></div></div><p>283 <a class="indexterm" name="id26 78764"></a>284 <a class="indexterm" name="id26 78771"></a>285 <a class="indexterm" name="id26 78778"></a>286 <a class="indexterm" name="id26 78785"></a>287 <a class="indexterm" name="id26 78792"></a>288 <a class="indexterm" name="id26 78799"></a>289 <a class="indexterm" name="id26 78806"></a>282 </p></li></ul></div></div><div class="sect4" title="New Suffix for Searching"><div class="titlepage"><div><div><h5 class="title"><a name="id2684818"></a>New Suffix for Searching</h5></div></div></div><p> 283 <a class="indexterm" name="id2684826"></a> 284 <a class="indexterm" name="id2684833"></a> 285 <a class="indexterm" name="id2684840"></a> 286 <a class="indexterm" name="id2684846"></a> 287 <a class="indexterm" name="id2684853"></a> 288 <a class="indexterm" name="id2684860"></a> 289 <a class="indexterm" name="id2684867"></a> 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 </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="id26 78874"></a>295 <a class="indexterm" name="id26 78881"></a>293 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>ldap suffix used to search for user and computer accounts.</p></li><li class="listitem"><p>ldap user suffix used to store user accounts.</p></li><li class="listitem"><p>ldap machine suffix used to store machine trust accounts.</p></li><li class="listitem"><p>ldap group suffix location of posixGroup/sambaGroupMapping entries.</p></li><li class="listitem"><p>ldap idmap suffix location of sambaIdmapEntry objects.</p></li></ul></div><p> 294 <a class="indexterm" name="id2684936"></a> 295 <a class="indexterm" name="id2684942"></a> 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="id2678922"></a>IdMap LDAP Support</h5></div></div></div><p>304 <a class="indexterm" name="id26 78930"></a>303 </p></div><div class="sect4" title="IdMap LDAP Support"><div class="titlepage"><div><div><h5 class="title"><a name="id2684984"></a>IdMap LDAP Support</h5></div></div></div><p> 304 <a class="indexterm" name="id2684992"></a> 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="id2678963"></a><em class="parameter"><code>idmap backend = ldap:ldap://onterose/</code></em></td></tr><tr><td><a class="indexterm" name="id2678975"></a><em class="parameter"><code>ldap idmap suffix = ou=Idmap</code></em></td></tr><tr><td><a class="indexterm" name="id2678987"></a><em class="parameter"><code>idmap uid = 40000-50000</code></em></td></tr><tr><td><a class="indexterm" name="id2678999"></a><em class="parameter"><code>idmap gid = 40000-50000</code></em></td></tr></table><p>309 <a class="indexterm" name="id26 79012"></a>308 </p><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td>...</td></tr><tr><td><a class="indexterm" name="id2685024"></a><em class="parameter"><code>idmap backend = ldap:ldap://onterose/</code></em></td></tr><tr><td><a class="indexterm" name="id2685037"></a><em class="parameter"><code>ldap idmap suffix = ou=Idmap</code></em></td></tr><tr><td><a class="indexterm" name="id2685049"></a><em class="parameter"><code>idmap uid = 40000-50000</code></em></td></tr><tr><td><a class="indexterm" name="id2685060"></a><em class="parameter"><code>idmap gid = 40000-50000</code></em></td></tr></table><p> 309 <a class="indexterm" name="id2685074"></a> 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.3.x/docs/htmldocs/Samba3-HOWTO/winbind.html
r342 r368 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 24. Winbind: Use of Domain Accounts</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="VFS.html" title="Chapter 23. Stackable VFS modules"><link rel="next" href="AdvancedNetworkManagement.html" title="Chapter 25. Advanced Network Management"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 24. Winbind: Use of Domain Accounts</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="VFS.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="AdvancedNetworkManagement.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="winbind"></a>Chapter 24. Winbind: Use of Domain Accounts</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Tim</span> <span class="orgname">Samba Team</span> <span class="surname">Potter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2653118">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2653461">Introduction</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2653551">What Winbind Provides</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2653704">Target Uses</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2653749">Handling of Foreign SIDs</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2653875">How Winbind Works</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2653925">Microsoft Remote Procedure Calls</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654018">Microsoft Active Directory Services</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654066">Name Service Switch</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654298">Pluggable Authentication Modules</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654453">User and Group ID Allocation</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654529">Result Caching</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2654586">Installation and Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2654592">Introduction</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654706">Requirements</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2654858">Testing Things Out</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2657317">Conclusion</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2657366">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2657408">NSCD Problem Warning</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2657444">Winbind Is Not Resolving Users and Groups</a></span></dt></dl></dd></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2653118"></a>Features and Benefits</h2></div></div></div><p>2 <a class="indexterm" name="id265 3126"></a>3 <a class="indexterm" name="id265 3132"></a>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 24. Winbind: Use of Domain Accounts</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.3.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="VFS.html" title="Chapter 23. Stackable VFS modules"><link rel="next" href="AdvancedNetworkManagement.html" title="Chapter 25. Advanced Network Management"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 24. Winbind: Use of Domain Accounts</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="VFS.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="AdvancedNetworkManagement.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 24. Winbind: Use of Domain Accounts"><div class="titlepage"><div><div><h2 class="title"><a name="winbind"></a>Chapter 24. Winbind: Use of Domain Accounts</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Tim</span> <span class="surname">Potter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<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#id2659210">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2659554">Introduction</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2659643">What Winbind Provides</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2659796">Target Uses</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2659842">Handling of Foreign SIDs</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2659968">How Winbind Works</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2660018">Microsoft Remote Procedure Calls</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2660111">Microsoft Active Directory Services</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2660159">Name Service Switch</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2660391">Pluggable Authentication Modules</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2660546">User and Group ID Allocation</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2660622">Result Caching</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2660678">Installation and Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2660684">Introduction</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2660799">Requirements</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2660951">Testing Things Out</a></span></dt></dl></dd><dt><span class="sect1"><a href="winbind.html#id2663370">Conclusion</a></span></dt><dt><span class="sect1"><a href="winbind.html#id2663418">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="winbind.html#id2663460">NSCD Problem Warning</a></span></dt><dt><span class="sect2"><a href="winbind.html#id2663497">Winbind Is Not Resolving Users and Groups</a></span></dt></dl></dd></dl></div><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2659210"></a>Features and Benefits</h2></div></div></div><p> 2 <a class="indexterm" name="id2659218"></a> 3 <a class="indexterm" name="id2659225"></a> 4 4 Integration of UNIX and Microsoft Windows NT through a unified logon has 5 been considered a “<span class="quote">holy grail</span>”in heterogeneous computing environments for5 been considered a <span class="quote">“<span class="quote">holy grail</span>”</span> in heterogeneous computing environments for 6 6 a long time. 7 7 </p><p> 8 <a class="indexterm" name="id265 3149"></a>9 <a class="indexterm" name="id265 3156"></a>10 <a class="indexterm" name="id265 3163"></a>11 <a class="indexterm" name="id265 3170"></a>8 <a class="indexterm" name="id2659242"></a> 9 <a class="indexterm" name="id2659248"></a> 10 <a class="indexterm" name="id2659255"></a> 11 <a class="indexterm" name="id2659262"></a> 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="id265 3185"></a>18 <a class="indexterm" name="id265 3194"></a>19 <a class="indexterm" name="id265 3201"></a>20 <a class="indexterm" name="id265 3207"></a>17 <a class="indexterm" name="id2659277"></a> 18 <a class="indexterm" name="id2659286"></a> 19 <a class="indexterm" name="id2659293"></a> 20 <a class="indexterm" name="id2659300"></a> 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 … … 27 27 </p><p> 28 28 Winbind provides three separate functions: 29 </p><div class="itemizedlist"><ul type="disc"><li><p>30 <a class="indexterm" name="id265 3235"></a>31 <a class="indexterm" name="id265 3242"></a>29 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 30 <a class="indexterm" name="id2659328"></a> 31 <a class="indexterm" name="id2659334"></a> 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 </p></li><li ><p>36 <a class="indexterm" name="id265 3257"></a>37 <a class="indexterm" name="id265 3264"></a>35 </p></li><li class="listitem"><p> 36 <a class="indexterm" name="id2659349"></a> 37 <a class="indexterm" name="id2659356"></a> 38 38 Identity resolution (via NSS). This is the default when winbind is not used. 39 </p></li><li ><p>40 <a class="indexterm" name="id265 3276"></a>41 <a class="indexterm" name="id265 3282"></a>42 <a class="indexterm" name="id265 3289"></a>43 <a class="indexterm" name="id265 3295"></a>44 <a class="indexterm" name="id265 3302"></a>45 <a class="indexterm" name="id265 3309"></a>46 <a class="indexterm" name="id265 3316"></a>39 </p></li><li class="listitem"><p> 40 <a class="indexterm" name="id2659368"></a> 41 <a class="indexterm" name="id2659375"></a> 42 <a class="indexterm" name="id2659381"></a> 43 <a class="indexterm" name="id2659388"></a> 44 <a class="indexterm" name="id2659395"></a> 45 <a class="indexterm" name="id2659402"></a> 46 <a class="indexterm" name="id2659408"></a> 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 … … 52 52 then instead of using a local mapping, Winbind will obtain this information 53 53 from the LDAP database. 54 </p></li></ul></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>55 <a class="indexterm" name="id265 3346"></a>56 <a class="indexterm" name="id265 3352"></a>57 <a class="indexterm" name="id265 3362"></a>58 <a class="indexterm" name="id265 3368"></a>59 <a class="indexterm" name="id265 3375"></a>60 <a class="indexterm" name="id265 3382"></a>54 </p></li></ul></div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 55 <a class="indexterm" name="id2659438"></a> 56 <a class="indexterm" name="id2659445"></a> 57 <a class="indexterm" name="id2659454"></a> 58 <a class="indexterm" name="id2659461"></a> 59 <a class="indexterm" name="id2659468"></a> 60 <a class="indexterm" name="id2659475"></a> 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="id2653461"></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" title="Introduction"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2659554"></a>Introduction</h2></div></div></div><p>It is well known that UNIX and Microsoft Windows NT have 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="id265 3477"></a>71 <a class="indexterm" name="id265 3484"></a>70 <a class="indexterm" name="id2659569"></a> 71 <a class="indexterm" name="id2659576"></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 … … 78 78 can lead to synchronization problems between the UNIX and Windows 79 79 systems and confusion for users.</p><p>We divide the unified logon problem for UNIX machines into 80 three smaller problems:</p><div class="itemizedlist"><ul type="disc"><li><p>Obtaining Windows NT user and group information.81 </p></li><li ><p>Authenticating Windows NT users.82 </p></li><li ><p>Password changing for Windows NT users.80 three smaller problems:</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Obtaining Windows NT user and group information. 81 </p></li><li class="listitem"><p>Authenticating Windows NT users. 82 </p></li><li class="listitem"><p>Password changing for Windows NT users. 83 83 </p></li></ul></div><p> 84 <a class="indexterm" name="id265 3528"></a>85 <a class="indexterm" name="id265 3535"></a>84 <a class="indexterm" name="id2659620"></a> 85 <a class="indexterm" name="id2659627"></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="id2653551"></a>What Winbind Provides</h2></div></div></div><p>93 <a class="indexterm" name="id265 3559"></a>94 <a class="indexterm" name="id265 3566"></a>95 <a class="indexterm" name="id265 3572"></a>96 <a class="indexterm" name="id265 3579"></a>92 problem.</p></div><div class="sect1" title="What Winbind Provides"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2659643"></a>What Winbind Provides</h2></div></div></div><p> 93 <a class="indexterm" name="id2659651"></a> 94 <a class="indexterm" name="id2659658"></a> 95 <a class="indexterm" name="id2659665"></a> 96 <a class="indexterm" name="id2659672"></a> 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 99 99 this is done, the UNIX box will see NT users and groups as if 100 they were “<span class="quote">native</span>”UNIX users and groups, allowing the NT domain100 they were <span class="quote">“<span class="quote">native</span>”</span> UNIX users and groups, allowing the NT domain 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="id265 3599"></a>104 <a class="indexterm" name="id265 3606"></a>105 <a class="indexterm" name="id265 3612"></a>106 <a class="indexterm" name="id265 3619"></a>103 <a class="indexterm" name="id2659691"></a> 104 <a class="indexterm" name="id2659698"></a> 105 <a class="indexterm" name="id2659705"></a> 106 <a class="indexterm" name="id2659712"></a> 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="id265 3636"></a>116 <a class="indexterm" name="id265 3643"></a>115 <a class="indexterm" name="id2659729"></a> 116 <a class="indexterm" name="id2659736"></a> 117 117 Users on the UNIX machine can then use NT user and group 118 names as they would “<span class="quote">native</span>”UNIX names. They can chown files118 names as they would <span class="quote">“<span class="quote">native</span>”</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="id265 3661"></a>121 <a class="indexterm" name="id2659753"></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="id265 3683"></a>128 <a class="indexterm" name="id265 3690"></a>127 <a class="indexterm" name="id2659776"></a> 128 <a class="indexterm" name="id2659783"></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="id2653704"></a>Target Uses</h3></div></div></div><p>134 <a class="indexterm" name="id265 3712"></a>133 location (on the domain controller).</p><div class="sect2" title="Target Uses"><div class="titlepage"><div><div><h3 class="title"><a name="id2659796"></a>Target Uses</h3></div></div></div><p> 134 <a class="indexterm" name="id2659804"></a> 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="id265 3729"></a>143 <a class="indexterm" name="id265 3735"></a>142 <a class="indexterm" name="id2659821"></a> 143 <a class="indexterm" name="id2659828"></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="id2653749"></a>Handling of Foreign SIDs</h3></div></div></div><p>149 <a class="indexterm" name="id265 3757"></a>148 the appliance into the domain.</p></div><div class="sect2" title="Handling of Foreign SIDs"><div class="titlepage"><div><div><h3 class="title"><a name="id2659842"></a>Handling of Foreign SIDs</h3></div></div></div><p> 149 <a class="indexterm" name="id2659850"></a> 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="id265 3775"></a>155 <a class="indexterm" name="id2659868"></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="id265 3787"></a>160 Response: “<span class="quote">Why? I've used Samba with workstations that are not part of my domains159 <a class="indexterm" name="id2659880"></a> 160 Response: <span class="quote">“<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 in a domain controlled by another Samba/Windows PDC.</span>” 162 in a domain controlled by another Samba/Windows PDC.</span>”</span> 163 163 </p><p> 164 <a class="indexterm" name="id265 3804"></a>165 <a class="indexterm" name="id265 3811"></a>166 <a class="indexterm" name="id265 3818"></a>164 <a class="indexterm" name="id2659897"></a> 165 <a class="indexterm" name="id2659904"></a> 166 <a class="indexterm" name="id2659910"></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="id265 3834"></a>173 <a class="indexterm" name="id265 3840"></a>174 <a class="indexterm" name="id265 3847"></a>175 <a class="indexterm" name="id265 3854"></a>172 <a class="indexterm" name="id2659926"></a> 173 <a class="indexterm" name="id2659933"></a> 174 <a class="indexterm" name="id2659940"></a> 175 <a class="indexterm" name="id2659947"></a> 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="id2653875"></a>How Winbind Works</h2></div></div></div><p>185 <a class="indexterm" name="id265 3883"></a>186 <a class="indexterm" name="id265 3890"></a>187 <a class="indexterm" name="id265 3897"></a>188 <a class="indexterm" name="id265 3903"></a>184 </p></div></div><div class="sect1" title="How Winbind Works"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2659968"></a>How Winbind Works</h2></div></div></div><p> 185 <a class="indexterm" name="id2659975"></a> 186 <a class="indexterm" name="id2659982"></a> 187 <a class="indexterm" name="id2659989"></a> 188 <a class="indexterm" name="id2659996"></a> 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="id2653925"></a>Microsoft Remote Procedure Calls</h3></div></div></div><p>195 <a class="indexterm" name="id26 53934"></a>196 <a class="indexterm" name="id26 53943"></a>197 <a class="indexterm" name="id26 53950"></a>198 <a class="indexterm" name="id26 53957"></a>199 <a class="indexterm" name="id26 53964"></a>194 in detail below.</p><div class="sect2" title="Microsoft Remote Procedure Calls"><div class="titlepage"><div><div><h3 class="title"><a name="id2660018"></a>Microsoft Remote Procedure Calls</h3></div></div></div><p> 195 <a class="indexterm" name="id2660026"></a> 196 <a class="indexterm" name="id2660036"></a> 197 <a class="indexterm" name="id2660042"></a> 198 <a class="indexterm" name="id2660049"></a> 199 <a class="indexterm" name="id2660056"></a> 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 53983"></a>207 <a class="indexterm" name="id26 53989"></a>208 <a class="indexterm" name="id26 53996"></a>206 <a class="indexterm" name="id2660075"></a> 207 <a class="indexterm" name="id2660082"></a> 208 <a class="indexterm" name="id2660089"></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="id2654018"></a>Microsoft Active Directory Services</h3></div></div></div><p>214 <a class="indexterm" name="id26 54027"></a>215 <a class="indexterm" name="id26 54033"></a>216 <a class="indexterm" name="id26 54040"></a>217 <a class="indexterm" name="id26 54047"></a>218 Since late 2001, Samba has gained the ability to interact with Microsoft Windows 2000 using its “<span class="quote">native219 mode</span>” protocols rather than the NT4 RPC services. Using LDAP and Kerberos, a domain member running213 </p></div><div class="sect2" title="Microsoft Active Directory Services"><div class="titlepage"><div><div><h3 class="title"><a name="id2660111"></a>Microsoft Active Directory Services</h3></div></div></div><p> 214 <a class="indexterm" name="id2660119"></a> 215 <a class="indexterm" name="id2660126"></a> 216 <a class="indexterm" name="id2660133"></a> 217 <a class="indexterm" name="id2660140"></a> 218 Since late 2001, Samba has gained the ability to interact with Microsoft Windows 2000 using its <span class="quote">“<span class="quote">native 219 mode</span>”</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="id2654066"></a>Name Service Switch</h3></div></div></div><p>223 <a class="indexterm" name="id26 54074"></a>224 <a class="indexterm" name="id26 54080"></a>225 <a class="indexterm" name="id26 54088"></a>226 <a class="indexterm" name="id26 54094"></a>222 </p></div><div class="sect2" title="Name Service Switch"><div class="titlepage"><div><div><h3 class="title"><a name="id2660159"></a>Name Service Switch</h3></div></div></div><p> 223 <a class="indexterm" name="id2660166"></a> 224 <a class="indexterm" name="id2660173"></a> 225 <a class="indexterm" name="id2660180"></a> 226 <a class="indexterm" name="id2660187"></a> 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 54113"></a>236 <a class="indexterm" name="id26 54119"></a>237 <a class="indexterm" name="id26 54126"></a>238 <a class="indexterm" name="id26 54133"></a>239 <a class="indexterm" name="id26 54140"></a>235 <a class="indexterm" name="id2660205"></a> 236 <a class="indexterm" name="id2660212"></a> 237 <a class="indexterm" name="id2660219"></a> 238 <a class="indexterm" name="id2660226"></a> 239 <a class="indexterm" name="id2660232"></a> 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 54159"></a>247 <a class="indexterm" name="id26 54165"></a>248 <a class="indexterm" name="id26 54172"></a>246 <a class="indexterm" name="id2660251"></a> 247 <a class="indexterm" name="id2660258"></a> 248 <a class="indexterm" name="id2660265"></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 251 matches the service type being requested; for example, the “<span class="quote">passwd</span>”service type is used when251 matches the service type being requested; for example, the <span class="quote">“<span class="quote">passwd</span>”</span> service type is used when 252 252 user or group names are looked up. This config line specifies which implementations of that service should be 253 253 tried and in what order. If the passwd config line is: … … 255 255 passwd: files example 256 256 </pre><p> 257 <a class="indexterm" name="id26 54208"></a>258 <a class="indexterm" name="id26 54215"></a>259 <a class="indexterm" name="id26 54222"></a>257 <a class="indexterm" name="id2660300"></a> 258 <a class="indexterm" name="id2660307"></a> 259 <a class="indexterm" name="id2660314"></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 54250"></a>266 <a class="indexterm" name="id26 54256"></a>267 <a class="indexterm" name="id26 54263"></a>265 <a class="indexterm" name="id2660342"></a> 266 <a class="indexterm" name="id2660349"></a> 267 <a class="indexterm" name="id2660356"></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 “<span class="quote">winbind</span>”into <code class="filename">/etc/nsswitch.conf</code> at the appropriate place. The C library270 <span class="quote">“<span class="quote">winbind</span>”</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="id2654298"></a>Pluggable Authentication Modules</h3></div></div></div><p>273 <a class="indexterm" name="id26 54306"></a>274 <a class="indexterm" name="id26 54313"></a>275 <a class="indexterm" name="id26 54320"></a>276 <a class="indexterm" name="id26 54327"></a>272 </p></div><div class="sect2" title="Pluggable Authentication Modules"><div class="titlepage"><div><div><h3 class="title"><a name="id2660391"></a>Pluggable Authentication Modules</h3></div></div></div><p> 273 <a class="indexterm" name="id2660399"></a> 274 <a class="indexterm" name="id2660405"></a> 275 <a class="indexterm" name="id2660412"></a> 276 <a class="indexterm" name="id2660419"></a> 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 54346"></a>284 <a class="indexterm" name="id26 54352"></a>285 <a class="indexterm" name="id26 54359"></a>286 <a class="indexterm" name="id26 54366"></a>287 <a class="indexterm" name="id26 54373"></a>283 <a class="indexterm" name="id2660438"></a> 284 <a class="indexterm" name="id2660445"></a> 285 <a class="indexterm" name="id2660452"></a> 286 <a class="indexterm" name="id2660459"></a> 287 <a class="indexterm" name="id2660466"></a> 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 54389"></a>294 <a class="indexterm" name="id26 54395"></a>295 <a class="indexterm" name="id26 54402"></a>296 <a class="indexterm" name="id26 54409"></a>293 <a class="indexterm" name="id2660481"></a> 294 <a class="indexterm" name="id2660488"></a> 295 <a class="indexterm" name="id2660495"></a> 296 <a class="indexterm" name="id2660502"></a> 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="id2654453"></a>User and Group ID Allocation</h3></div></div></div><p>305 <a class="indexterm" name="id26 54461"></a>306 <a class="indexterm" name="id26 54468"></a>307 <a class="indexterm" name="id26 54474"></a>304 </p></div><div class="sect2" title="User and Group ID Allocation"><div class="titlepage"><div><div><h3 class="title"><a name="id2660546"></a>User and Group ID Allocation</h3></div></div></div><p> 305 <a class="indexterm" name="id2660554"></a> 306 <a class="indexterm" name="id2660560"></a> 307 <a class="indexterm" name="id2660567"></a> 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 54497"></a>317 <a class="indexterm" name="id26 54504"></a>318 <a class="indexterm" name="id26 54510"></a>319 <a class="indexterm" name="id26 54517"></a>316 <a class="indexterm" name="id2660590"></a> 317 <a class="indexterm" name="id2660596"></a> 318 <a class="indexterm" name="id2660603"></a> 319 <a class="indexterm" name="id2660610"></a> 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="id2654529"></a>Result Caching</h3></div></div></div><p>323 <a class="indexterm" name="id26 54537"></a>324 <a class="indexterm" name="id26 54543"></a>325 <a class="indexterm" name="id26 54550"></a>326 <a class="indexterm" name="id26 54557"></a>327 <a class="indexterm" name="id26 54564"></a>322 </p></div><div class="sect2" title="Result Caching"><div class="titlepage"><div><div><h3 class="title"><a name="id2660622"></a>Result Caching</h3></div></div></div><p> 323 <a class="indexterm" name="id2660629"></a> 324 <a class="indexterm" name="id2660636"></a> 325 <a class="indexterm" name="id2660643"></a> 326 <a class="indexterm" name="id2660650"></a> 327 <a class="indexterm" name="id2660656"></a> 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="id2654586"></a>Installation and Configuration</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2654592"></a>Introduction</h3></div></div></div><p>336 <a class="indexterm" name="id26 54600"></a>337 <a class="indexterm" name="id26 54607"></a>338 <a class="indexterm" name="id26 54613"></a>335 </p></div></div><div class="sect1" title="Installation and Configuration"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2660678"></a>Installation and Configuration</h2></div></div></div><div class="sect2" title="Introduction"><div class="titlepage"><div><div><h3 class="title"><a name="id2660684"></a>Introduction</h3></div></div></div><p> 336 <a class="indexterm" name="id2660692"></a> 337 <a class="indexterm" name="id2660699"></a> 338 <a class="indexterm" name="id2660706"></a> 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 341 341 services, such as telnet and ftp, as well for Samba services. 342 </p><div class="itemizedlist"><ul type="disc"><li><p>342 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 343 343 <span class="emphasis"><em>Why should I do this?</em></span> 344 344 </p><p> 345 <a class="indexterm" name="id26 54639"></a>346 <a class="indexterm" name="id26 54646"></a>347 <a class="indexterm" name="id26 54653"></a>348 <a class="indexterm" name="id26 54660"></a>345 <a class="indexterm" name="id2660732"></a> 346 <a class="indexterm" name="id2660739"></a> 347 <a class="indexterm" name="id2660746"></a> 348 <a class="indexterm" name="id2660753"></a> 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 351 351 the Samba server. 352 </p></li><li ><p>352 </p></li><li class="listitem"><p> 353 353 <span class="emphasis"><em>Who should be reading this document?</em></span> 354 354 </p><p> 355 <a class="indexterm" name="id26 54685"></a>356 <a class="indexterm" name="id26 54691"></a>355 <a class="indexterm" name="id2660777"></a> 356 <a class="indexterm" name="id2660784"></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="id2654706"></a>Requirements</h3></div></div></div><p>361 <a class="indexterm" name="id26 54714"></a>362 <a class="indexterm" name="id26 54721"></a>363 <a class="indexterm" name="id26 54728"></a>360 </p></li></ul></div></div><div class="sect2" title="Requirements"><div class="titlepage"><div><div><h3 class="title"><a name="id2660799"></a>Requirements</h3></div></div></div><p> 361 <a class="indexterm" name="id2660807"></a> 362 <a class="indexterm" name="id2660813"></a> 363 <a class="indexterm" name="id2660820"></a> 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 54757"></a>369 <a class="indexterm" name="id26 54764"></a>370 <a class="indexterm" name="id26 54771"></a>368 <a class="indexterm" name="id2660850"></a> 369 <a class="indexterm" name="id2660857"></a> 370 <a class="indexterm" name="id2660864"></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 54792"></a>377 <a class="indexterm" name="id26 54799"></a>376 <a class="indexterm" name="id2660884"></a> 377 <a class="indexterm" name="id2660891"></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 54818"></a>382 <a class="indexterm" name="id26 54825"></a>383 <a class="indexterm" name="id26 54832"></a>384 <a class="indexterm" name="id26 54838"></a>381 <a class="indexterm" name="id2660911"></a> 382 <a class="indexterm" name="id2660918"></a> 383 <a class="indexterm" name="id2660924"></a> 384 <a class="indexterm" name="id2660931"></a> 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="id2654858"></a>Testing Things Out</h3></div></div></div><p>390 <a class="indexterm" name="id26 54866"></a>391 <a class="indexterm" name="id26 54873"></a>392 <a class="indexterm" name="id26 54880"></a>393 <a class="indexterm" name="id26 54887"></a>394 <a class="indexterm" name="id26 54893"></a>389 </p></div><div class="sect2" title="Testing Things Out"><div class="titlepage"><div><div><h3 class="title"><a name="id2660951"></a>Testing Things Out</h3></div></div></div><p> 390 <a class="indexterm" name="id2660959"></a> 391 <a class="indexterm" name="id2660966"></a> 392 <a class="indexterm" name="id2660972"></a> 393 <a class="indexterm" name="id2660979"></a> 394 <a class="indexterm" name="id2660986"></a> 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="id2654945"></a>Configure <code class="filename">nsswitch.conf</code> and the Winbind Libraries on Linux and Solaris</h4></div></div></div><p>403 <a class="indexterm" name="id26 54960"></a>404 <a class="indexterm" name="id26 54966"></a>405 <a class="indexterm" name="id26 54973"></a>406 <a class="indexterm" name="id26 54980"></a>402 </p><div class="sect3" title="Configure nsswitch.conf and the Winbind Libraries on Linux and Solaris"><div class="titlepage"><div><div><h4 class="title"><a name="id2661038"></a>Configure <code class="filename">nsswitch.conf</code> and the Winbind Libraries on Linux and Solaris</h4></div></div></div><p> 403 <a class="indexterm" name="id2661052"></a> 404 <a class="indexterm" name="id2661059"></a> 405 <a class="indexterm" name="id2661066"></a> 406 <a class="indexterm" name="id2661072"></a> 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 55020"></a>416 <a class="indexterm" name="id2661112"></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 55067"></a>425 <a class="indexterm" name="id2661160"></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 55116"></a>432 <a class="indexterm" name="id2661209"></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 55153"></a>441 <a class="indexterm" name="id26 55159"></a>442 <a class="indexterm" name="id26 55166"></a>443 <a class="indexterm" name="id26 55173"></a>444 <a class="indexterm" name="id26 55180"></a>440 <a class="indexterm" name="id2661245"></a> 441 <a class="indexterm" name="id2661252"></a> 442 <a class="indexterm" name="id2661259"></a> 443 <a class="indexterm" name="id2661266"></a> 444 <a class="indexterm" name="id2661272"></a> 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 55244"></a>457 <a class="indexterm" name="id26 55251"></a>458 <a class="indexterm" name="id26 55257"></a>459 <a class="indexterm" name="id26 55264"></a>460 <a class="indexterm" name="id26 55271"></a>456 <a class="indexterm" name="id2661336"></a> 457 <a class="indexterm" name="id2661343"></a> 458 <a class="indexterm" name="id2661350"></a> 459 <a class="indexterm" name="id2661357"></a> 460 <a class="indexterm" name="id2661364"></a> 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="id2655343"></a>NSS Winbind on AIX</h4></div></div></div><p>(This section is only for those running AIX.)</p><p>484 <a class="indexterm" name="id26 55355"></a>485 <a class="indexterm" name="id26 55362"></a>486 <a class="indexterm" name="id26 55369"></a>487 <a class="indexterm" name="id26 55376"></a>488 <a class="indexterm" name="id26 55383"></a>489 <a class="indexterm" name="id26 55390"></a>483 </p></div><div class="sect3" title="NSS Winbind on AIX"><div class="titlepage"><div><div><h4 class="title"><a name="id2661436"></a>NSS Winbind on AIX</h4></div></div></div><p>(This section is only for those running AIX.)</p><p> 484 <a class="indexterm" name="id2661448"></a> 485 <a class="indexterm" name="id2661454"></a> 486 <a class="indexterm" name="id2661461"></a> 487 <a class="indexterm" name="id2661468"></a> 488 <a class="indexterm" name="id2661475"></a> 489 <a class="indexterm" name="id2661482"></a> 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>, … … 500 500 authentication. Use caution configuring loadable authentication modules, since misconfiguration can make 501 501 it impossible to log on to the system. Information regarding the AIX authentication module API can 502 be found in the “<span class="quote">Kernel Extensions and Device Support Programming Concepts for AIX</span>”document that502 be found in the <span class="quote">“<span class="quote">Kernel Extensions and Device Support Programming Concepts for AIX</span>”</span> document that 503 503 describes the <a class="ulink" href="http://publibn.boulder.ibm.com/doc_link/en_US/a_doc_lib/aixprggd/kernextc/sec_load_mod.htm" target="_top"> 504 504 Loadable Authentication Module Programming Interface</a> for AIX. Further information on administering the modules 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="id2655457"></a>Configure smb.conf</h4></div></div></div><p>508 <a class="indexterm" name="id26 55465"></a>509 <a class="indexterm" name="id26 55471"></a>510 <a class="indexterm" name="id26 55478"></a>507 </p></div><div class="sect3" title="Configure smb.conf"><div class="titlepage"><div><div><h4 class="title"><a name="id2661549"></a>Configure smb.conf</h4></div></div></div><p> 508 <a class="indexterm" name="id2661557"></a> 509 <a class="indexterm" name="id2661564"></a> 510 <a class="indexterm" name="id2661571"></a> 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="id2655552"></a><em class="parameter"><code>winbind separator = \</code></em></td></tr><tr><td># use uids from 10000 to 20000 for domain users</td></tr><tr><td><a class="indexterm" name="id2655568"></a><em class="parameter"><code>idmap uid = 10000-20000</code></em></td></tr><tr><td># use gids from 10000 to 20000 for domain groups</td></tr><tr><td><a class="indexterm" name="id2655584"></a><em class="parameter"><code>idmap gid = 10000-20000</code></em></td></tr><tr><td># allow enumeration of winbind users and groups</td></tr><tr><td><a class="indexterm" name="id2655599"></a><em class="parameter"><code>winbind enum users = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2655611"></a><em class="parameter"><code>winbind enum groups = yes</code></em></td></tr><tr><td># give winbind users a real shell (only needed if they have telnet access)</td></tr><tr><td><a class="indexterm" name="id2655628"></a><em class="parameter"><code>template homedir = /home/winnt/%D/%U</code></em></td></tr><tr><td><a class="indexterm" name="id2655640"></a><em class="parameter"><code>template shell = /bin/bash</code></em></td></tr></table></div></div><br class="example-break"></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2655654"></a>Join the Samba Server to the PDC Domain</h4></div></div></div><p>514 <a class="indexterm" name="id26 55662"></a>515 <a class="indexterm" name="id26 55669"></a>516 <a class="indexterm" name="id26 55676"></a>513 </p><div class="example"><a name="winbindcfg"></a><p class="title"><b>Example 24.1. smb.conf for Winbind Setup</b></p><div class="example-contents"><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td># separate domain and username with '\', like DOMAIN\username</td></tr><tr><td><a class="indexterm" name="id2661644"></a><em class="parameter"><code>winbind separator = \</code></em></td></tr><tr><td># use uids from 10000 to 20000 for domain users</td></tr><tr><td><a class="indexterm" name="id2661660"></a><em class="parameter"><code>idmap uid = 10000-20000</code></em></td></tr><tr><td># use gids from 10000 to 20000 for domain groups</td></tr><tr><td><a class="indexterm" name="id2661676"></a><em class="parameter"><code>idmap gid = 10000-20000</code></em></td></tr><tr><td># allow enumeration of winbind users and groups</td></tr><tr><td><a class="indexterm" name="id2661692"></a><em class="parameter"><code>winbind enum users = yes</code></em></td></tr><tr><td><a class="indexterm" name="id2661704"></a><em class="parameter"><code>winbind enum groups = yes</code></em></td></tr><tr><td># give winbind users a real shell (only needed if they have telnet access)</td></tr><tr><td><a class="indexterm" name="id2661720"></a><em class="parameter"><code>template homedir = /home/winnt/%D/%U</code></em></td></tr><tr><td><a class="indexterm" name="id2661732"></a><em class="parameter"><code>template shell = /bin/bash</code></em></td></tr></table></div></div><br class="example-break"></div><div class="sect3" title="Join the Samba Server to the PDC Domain"><div class="titlepage"><div><div><h4 class="title"><a name="id2661746"></a>Join the Samba Server to the PDC Domain</h4></div></div></div><p> 514 <a class="indexterm" name="id2661755"></a> 515 <a class="indexterm" name="id2661762"></a> 516 <a class="indexterm" name="id2661768"></a> 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 55688"></a>521 <a class="indexterm" name="id26 55694"></a>522 <a class="indexterm" name="id26 55701"></a>523 <a class="indexterm" name="id26 55712"></a>524 <a class="indexterm" name="id26 55719"></a>525 <a class="indexterm" name="id26 55726"></a>526 <a class="indexterm" name="id26 55733"></a>527 <a class="indexterm" name="id26 55739"></a>528 <a class="indexterm" name="id26 55746"></a>520 <a class="indexterm" name="id2661780"></a> 521 <a class="indexterm" name="id2661787"></a> 522 <a class="indexterm" name="id2661794"></a> 523 <a class="indexterm" name="id2661805"></a> 524 <a class="indexterm" name="id2661812"></a> 525 <a class="indexterm" name="id2661818"></a> 526 <a class="indexterm" name="id2661825"></a> 527 <a class="indexterm" name="id2661832"></a> 528 <a class="indexterm" name="id2661839"></a> 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 55774"></a>536 <a class="indexterm" name="id26 55781"></a>537 <a class="indexterm" name="id26 55788"></a>535 <a class="indexterm" name="id2661867"></a> 536 <a class="indexterm" name="id2661873"></a> 537 <a class="indexterm" name="id2661880"></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 </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 55809"></a>543 <a class="indexterm" name="id26 55816"></a>544 <a class="indexterm" name="id26 55822"></a>545 <a class="indexterm" name="id26 55829"></a>541 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 542 <a class="indexterm" name="id2661902"></a> 543 <a class="indexterm" name="id2661908"></a> 544 <a class="indexterm" name="id2661915"></a> 545 <a class="indexterm" name="id2661922"></a> 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 55844"></a>550 <a class="indexterm" name="id2661936"></a> 551 551 The use of the <code class="literal">net rpc join</code> facility is shown here: 552 552 </p><pre class="screen"> 553 553 <code class="prompt">root# </code><strong class="userinput"><code>/usr/local/samba/bin/net rpc join -S PDC -U Administrator</code></strong> 554 554 </pre><p> 555 The proper response to the command should be “<span class="quote">Joined the domain556 <em class="replaceable"><code>DOMAIN</code></em></span>” where <em class="replaceable"><code>DOMAIN</code></em>555 The proper response to the command should be <span class="quote">“<span class="quote">Joined the domain 556 <em class="replaceable"><code>DOMAIN</code></em></span>”</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="id2655892"></a>Starting and Testing the <code class="literal">winbindd</code> Daemon</h4></div></div></div><p>559 <a class="indexterm" name="id26 55906"></a>560 <a class="indexterm" name="id26 55912"></a>561 <a class="indexterm" name="id26 55919"></a>558 </p></div><div class="sect3" title="Starting and Testing the winbindd Daemon"><div class="titlepage"><div><div><h4 class="title"><a name="id2661984"></a>Starting and Testing the <code class="literal">winbindd</code> Daemon</h4></div></div></div><p> 559 <a class="indexterm" name="id2661998"></a> 560 <a class="indexterm" name="id2662005"></a> 561 <a class="indexterm" name="id2662012"></a> 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 … … 567 567 </pre><p> 568 568 Use the appropriate path to the location of the <code class="literal">winbindd</code> executable file. 569 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>570 <a class="indexterm" name="id26 55959"></a>571 <a class="indexterm" name="id26 55965"></a>569 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 570 <a class="indexterm" name="id2662051"></a> 571 <a class="indexterm" name="id2662058"></a> 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 55991"></a>577 <a class="indexterm" name="id26 55998"></a>576 <a class="indexterm" name="id2662084"></a> 577 <a class="indexterm" name="id2662090"></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 56026"></a>583 <a class="indexterm" name="id2662118"></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 56043"></a>590 <a class="indexterm" name="id26 56050"></a>589 <a class="indexterm" name="id2662136"></a> 590 <a class="indexterm" name="id2662142"></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" target="_top">winbind separator</a> is606 “<span class="quote">\</span>”.607 </p><p> 608 <a class="indexterm" name="id26 56108"></a>609 <a class="indexterm" name="id26 56115"></a>605 Obviously, I have named my domain <span class="quote">“<span class="quote">CEO</span>”</span> and my <a class="link" href="smb.conf.5.html#WINBINDSEPARATOR" target="_top">winbind separator</a> is 606 <span class="quote">“<span class="quote">\</span>”</span>. 607 </p><p> 608 <a class="indexterm" name="id2662201"></a> 609 <a class="indexterm" name="id2662207"></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 56144"></a>624 <a class="indexterm" name="id26 56151"></a>625 <a class="indexterm" name="id26 56158"></a>626 <a class="indexterm" name="id26 56165"></a>627 <a class="indexterm" name="id26 56171"></a>628 <a class="indexterm" name="id26 56178"></a>629 <a class="indexterm" name="id26 56185"></a>623 <a class="indexterm" name="id2662237"></a> 624 <a class="indexterm" name="id2662244"></a> 625 <a class="indexterm" name="id2662250"></a> 626 <a class="indexterm" name="id2662257"></a> 627 <a class="indexterm" name="id2662264"></a> 628 <a class="indexterm" name="id2662270"></a> 629 <a class="indexterm" name="id2662277"></a> 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="id2656247"></a>Fix the init.d Startup Scripts</h4></div></div></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2656253"></a>Linux</h5></div></div></div><p>644 <a class="indexterm" name="id26 56260"></a>645 <a class="indexterm" name="id26 56267"></a>646 <a class="indexterm" name="id26 56274"></a>647 <a class="indexterm" name="id26 56281"></a>648 <a class="indexterm" name="id26 56288"></a>649 <a class="indexterm" name="id26 56295"></a>650 <a class="indexterm" name="id26 56302"></a>651 <a class="indexterm" name="id26 56307"></a>652 <a class="indexterm" name="id26 56313"></a>643 </p></div><div class="sect3" title="Fix the init.d Startup Scripts"><div class="titlepage"><div><div><h4 class="title"><a name="id2662339"></a>Fix the init.d Startup Scripts</h4></div></div></div><div class="sect4" title="Linux"><div class="titlepage"><div><div><h5 class="title"><a name="id2662345"></a>Linux</h5></div></div></div><p> 644 <a class="indexterm" name="id2662352"></a> 645 <a class="indexterm" name="id2662359"></a> 646 <a class="indexterm" name="id2662366"></a> 647 <a class="indexterm" name="id2662373"></a> 648 <a class="indexterm" name="id2662380"></a> 649 <a class="indexterm" name="id2662387"></a> 650 <a class="indexterm" name="id2662394"></a> 651 <a class="indexterm" name="id2662399"></a> 652 <a class="indexterm" name="id2662405"></a> 653 653 The <span class="application">winbindd</span> daemon needs to start up after the <span class="application">smbd</span> and <span class="application">nmbd</span> daemons are running. To accomplish this 654 654 task, you need to modify the startup scripts of your system. They are located at … … 711 711 return $RETVAL 712 712 } 713 </pre></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2656458"></a>Solaris</h5></div></div></div><p>713 </pre></div><div class="sect4" title="Solaris"><div class="titlepage"><div><div><h5 class="title"><a name="id2662551"></a>Solaris</h5></div></div></div><p> 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 56479"></a>718 <a class="indexterm" name="id26 56486"></a>719 <a class="indexterm" name="id26 56493"></a>720 <a class="indexterm" name="id26 56500"></a>721 <a class="indexterm" name="id26 56507"></a>722 <a class="indexterm" name="id26 56514"></a>717 <a class="indexterm" name="id2662572"></a> 718 <a class="indexterm" name="id2662578"></a> 719 <a class="indexterm" name="id2662586"></a> 720 <a class="indexterm" name="id2662593"></a> 721 <a class="indexterm" name="id2662599"></a> 722 <a class="indexterm" name="id2662606"></a> 723 723 On Solaris, you need to modify the <code class="filename">/etc/init.d/samba.server</code> startup script. It 724 724 usually only starts smbd and nmbd but should now start winbindd, too. If you have Samba installed in … … 781 781 /usr/local/samba/sbin/winbindd -D 782 782 </pre><p> 783 </p></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2656602"></a>Restarting</h5></div></div></div><p>784 <a class="indexterm" name="id26 56610"></a>785 <a class="indexterm" name="id26 56617"></a>783 </p></div><div class="sect4" title="Restarting"><div class="titlepage"><div><div><h5 class="title"><a name="id2662695"></a>Restarting</h5></div></div></div><p> 784 <a class="indexterm" name="id2662703"></a> 785 <a class="indexterm" name="id2662710"></a> 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="id2656647"></a>Configure Winbind and PAM</h4></div></div></div><p>790 <a class="indexterm" name="id26 56655"></a>791 <a class="indexterm" name="id26 56662"></a>792 <a class="indexterm" name="id26 56669"></a>793 <a class="indexterm" name="id26 56675"></a>789 </p></div></div><div class="sect3" title="Configure Winbind and PAM"><div class="titlepage"><div><div><h4 class="title"><a name="id2662740"></a>Configure Winbind and PAM</h4></div></div></div><p> 790 <a class="indexterm" name="id2662748"></a> 791 <a class="indexterm" name="id2662755"></a> 792 <a class="indexterm" name="id2662762"></a> 793 <a class="indexterm" name="id2662768"></a> 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 56702"></a>800 <a class="indexterm" name="id26 56709"></a>801 <a class="indexterm" name="id26 56716"></a>802 <a class="indexterm" name="id26 56723"></a>803 <a class="indexterm" name="id26 56730"></a>804 <a class="indexterm" name="id26 56737"></a>799 <a class="indexterm" name="id2662795"></a> 800 <a class="indexterm" name="id2662802"></a> 801 <a class="indexterm" name="id2662809"></a> 802 <a class="indexterm" name="id2662816"></a> 803 <a class="indexterm" name="id2662822"></a> 804 <a class="indexterm" name="id2662829"></a> 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="id2656813"></a>Linux/FreeBSD-Specific PAM Configuration</h5></div></div></div><p>818 <a class="indexterm" name="id26 56822"></a>817 </p><div class="sect4" title="Linux/FreeBSD-Specific PAM Configuration"><div class="titlepage"><div><div><h5 class="title"><a name="id2662906"></a>Linux/FreeBSD-Specific PAM Configuration</h5></div></div></div><p> 818 <a class="indexterm" name="id2662914"></a> 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 56846"></a>825 <a class="indexterm" name="id26 56853"></a>826 <a class="indexterm" name="id26 56860"></a>827 <a class="indexterm" name="id26 56867"></a>828 <a class="indexterm" name="id26 56874"></a>829 <a class="indexterm" name="id26 56880"></a>830 <a class="indexterm" name="id26 56887"></a>831 <a class="indexterm" name="id26 56894"></a>832 <a class="indexterm" name="id26 56901"></a>824 <a class="indexterm" name="id2662939"></a> 825 <a class="indexterm" name="id2662946"></a> 826 <a class="indexterm" name="id2662953"></a> 827 <a class="indexterm" name="id2662959"></a> 828 <a class="indexterm" name="id2662966"></a> 829 <a class="indexterm" name="id2662973"></a> 830 <a class="indexterm" name="id2662980"></a> 831 <a class="indexterm" name="id2662987"></a> 832 <a class="indexterm" name="id2662994"></a> 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 56954"></a>847 <a class="indexterm" name="id26 56961"></a>848 <a class="indexterm" name="id26 56968"></a>846 <a class="indexterm" name="id2663046"></a> 847 <a class="indexterm" name="id2663053"></a> 848 <a class="indexterm" name="id2663060"></a> 849 849 For ftp services to work properly, you will also need to either have individual directories for the domain 850 850 users already present on the server or change the home directory template to a general directory for all 851 851 domain users. These can be easily set using the <code class="filename">smb.conf</code> global entry <a class="link" href="smb.conf.5.html#TEMPLATEHOMEDIR" target="_top">template homedir</a>. 852 </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>853 <a class="indexterm" name="id26 57004"></a>852 </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 853 <a class="indexterm" name="id2663096"></a> 854 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="id26 57028"></a>858 <a class="indexterm" name="id26 57035"></a>859 <a class="indexterm" name="id26 57041"></a>857 <a class="indexterm" name="id2663121"></a> 858 <a class="indexterm" name="id2663127"></a> 859 <a class="indexterm" name="id2663134"></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="id26 57078"></a>872 <a class="indexterm" name="id2663170"></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="id26 57108"></a>887 <a class="indexterm" name="id26 57115"></a>888 <a class="indexterm" name="id26 57122"></a>886 <a class="indexterm" name="id2663201"></a> 887 <a class="indexterm" name="id2663208"></a> 888 <a class="indexterm" name="id2663215"></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="id2657160"></a>Solaris-Specific Configuration</h5></div></div></div><p>895 <a class="indexterm" name="id26 57168"></a>896 <a class="indexterm" name="id26 57175"></a>894 </p></div><div class="sect4" title="Solaris-Specific Configuration"><div class="titlepage"><div><div><h5 class="title"><a name="id2663252"></a>Solaris-Specific Configuration</h5></div></div></div><p> 895 <a class="indexterm" name="id2663261"></a> 896 <a class="indexterm" name="id2663268"></a> 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="id26 57287"></a>963 <a class="indexterm" name="id2663339"></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="id2657317"></a>Conclusion</h2></div></div></div><p>970 <a class="indexterm" name="id26 57325"></a>971 <a class="indexterm" name="id26 57332"></a>972 <a class="indexterm" name="id26 57338"></a>973 <a class="indexterm" name="id26 57345"></a>974 <a class="indexterm" name="id26 57352"></a>969 </p></div></div></div></div><div class="sect1" title="Conclusion"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2663370"></a>Conclusion</h2></div></div></div><p> 970 <a class="indexterm" name="id2663377"></a> 971 <a class="indexterm" name="id2663384"></a> 972 <a class="indexterm" name="id2663391"></a> 973 <a class="indexterm" name="id2663397"></a> 974 <a class="indexterm" name="id2663404"></a> 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="id2657366"></a>Common Errors</h2></div></div></div><p>978 </p></div><div class="sect1" title="Common Errors"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2663418"></a>Common Errors</h2></div></div></div><p> 979 979 Winbind has a number of limitations in its current released version that we hope to overcome in future releases: 980 </p><div class="itemizedlist"><ul type="disc"><li><p>980 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 981 981 Winbind is currently only available for the Linux, Solaris, AIX, and IRIX operating systems, although 982 982 ports to other operating systems are certainly possible. For such ports to be feasible, we require the C 983 983 library of the target operating system to support the NSS and PAM systems. This is becoming more common as NSS 984 984 and PAM gain support among UNIX vendors. 985 </p></li><li ><p>985 </p></li><li class="listitem"><p> 986 986 The mappings of Windows NT RIDs to UNIX IDs is not made algorithmically and depends on the order in 987 987 which unmapped users or groups are seen by Winbind. It may be difficult to recover the mappings of RID to UNIX 988 988 ID if the file containing this information is corrupted or destroyed. 989 </p></li><li ><p>989 </p></li><li class="listitem"><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="id2657408"></a>NSCD Problem Warning</h3></div></div></div><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>992 </p></li></ul></div><div class="sect2" title="NSCD Problem Warning"><div class="titlepage"><div><div><h3 class="title"><a name="id2663460"></a>NSCD Problem Warning</h3></div></div></div><div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p> 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="id2657444"></a>Winbind Is Not Resolving Users and Groups</h3></div></div></div><p>“<span class="quote">999 </p></div><div class="sect2" title="Winbind Is Not Resolving Users and Groups"><div class="titlepage"><div><div><h3 class="title"><a name="id2663497"></a>Winbind Is Not Resolving Users and Groups</h3></div></div></div><p><span class="quote">“<span class="quote"> 1000 1000 My <code class="filename">smb.conf</code> file is correctly configured. I have specified <a class="link" href="smb.conf.5.html#IDMAPUID" target="_top">idmap uid = 12000</a>, 1001 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 </span>”</ p><pre class="screen">1003 </span>”</span></p><pre class="screen"> 1004 1004 <code class="prompt">root# </code><strong class="userinput"><code>wbinfo -u</code></strong> 1005 1005 MIDEARTH\maryo … … 1021 1021 ... 1022 1022 maryo:x:15000:15003:Mary Orville:/home/MIDEARTH/maryo:/bin/false 1023 </pre><p> “<span class="quote">1023 </pre><p><span class="quote">“<span class="quote"> 1024 1024 But the following command just fails: 1025 </span>” 1025 </span>”</span> 1026 1026 </p><pre class="screen"> 1027 1027 <code class="prompt">root# </code><strong class="userinput"><code>chown maryo a_file</code></strong> 1028 1028 chown: `maryo': invalid user 1029 1029 </pre><p> 1030 “<span class="quote">1030 <span class="quote">“<span class="quote"> 1031 1031 This is driving me nuts! What can be wrong? 1032 </span>”</ p><p>1032 </span>”</span></p><p> 1033 1033 Same problem as the one above. 1034 1034 Your system is likely running <code class="literal">nscd</code>, the name service
Note:
See TracChangeset
for help on using the changeset viewer.