- Timestamp:
- Aug 5, 2009, 6:33:18 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.0/docs/htmldocs/Samba3-HOWTO/upgrading-to-3.0.html
r286 r311 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 35. Updating and Upgrading Samba</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.74.0"><link rel="home" href="index.html" title="The Official Samba 3. 2.x HOWTO and Reference Guide"><link rel="up" href="migration.html" title="Part IV. Migration and Updating"><link rel="prev" href="migration.html" title="Part IV. Migration and Updating"><link rel="next" href="NT4Migration.html" title="Chapter 36. Migration from NT4 PDC to Samba-3 PDC"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 35. Updating and Upgrading Samba</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="migration.html">Prev</a> </td><th width="60%" align="center">Part IV. Migration and Updating</th><td width="20%" align="right"> <a accesskey="n" href="NT4Migration.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="upgrading-to-3.0"></a>Chapter 35. Updating and Upgrading Samba</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="orgname">The Samba Team</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>></code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="orgname">Samba Team</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Gerald</span> <span class="othername">(Jerry)</span> <span class="orgname">Samba Team</span> <span class="surname">Carter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jerry@samba.org">jerry@samba.org</a>></code></p></div></div></div></div><div><p class="pubdate">August 16, 2007</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="upgrading-to-3.0.html#id2676211">Key Update Requirements</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2676239">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#id2676288">Quick Migration Guide</a></span></dt></dl></dd><dt><span class="sect1"><a href="upgrading-to-3.0.html#id2676440">New Featuers in Samba-3.x Series</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2676449">New Features in Samba-3.2.x Series</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2676459">New Features in Samba-3.0.x</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2677659">New Functionality</a></span></dt></dl></dd></dl></div><p>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 35. Updating and Upgrading Samba</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.74.0"><link rel="home" href="index.html" title="The Official Samba 3.0.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#id2676183">Key Update Requirements</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2676220">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#id2676269">Quick Migration Guide</a></span></dt></dl></dd><dt><span class="sect1"><a href="upgrading-to-3.0.html#id2676420">New Featuers in Samba-3.x Series</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2676429">New Features in Samba-3.2.x Series</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2676439">New Features in Samba-3.0.x</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id2677639">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="id2676 211"></a>Key Update Requirements</h2></div></div></div><p>5 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2676183"></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="id26762 39"></a>Upgrading from Samba-3.0.x to Samba-3.2.0</h3></div></div></div><p>16 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2676220"></a>Upgrading from Samba-3.0.x to Samba-3.2.0</h3></div></div></div><p> 17 17 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="oldupdatenotes"></a>Upgrading from Samba-2.x to Samba-3.0.25</h3></div></div></div><p> 18 <a class="indexterm" name="id26762 62"></a>19 <a class="indexterm" name="id26762 69"></a>20 <a class="indexterm" name="id26762 76"></a>18 <a class="indexterm" name="id2676242"></a> 19 <a class="indexterm" name="id2676249"></a> 20 <a class="indexterm" name="id2676256"></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="id26762 88"></a>Quick Migration Guide</h3></div></div></div><p>24 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2676269"></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="id26763 39"></a>32 <a class="indexterm" name="id26763 46"></a>31 <a class="indexterm" name="id2676319"></a> 32 <a class="indexterm" name="id2676326"></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="id26763 66"></a>40 <a class="indexterm" name="id26763 73"></a>41 <a class="indexterm" name="id26763 80"></a>42 <a class="indexterm" name="id26763 87"></a>39 <a class="indexterm" name="id2676347"></a> 40 <a class="indexterm" name="id2676354"></a> 41 <a class="indexterm" name="id2676360"></a> 42 <a class="indexterm" name="id2676367"></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="id26764 40"></a>New Featuers in Samba-3.x Series</h2></div></div></div><p>50 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id26764 49"></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="id26764 59"></a>New Features in Samba-3.0.x</h3></div></div></div><p>49 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2676420"></a>New Featuers in Samba-3.x Series</h2></div></div></div><p> 50 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2676429"></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="id2676439"></a>New Features in Samba-3.0.x</h3></div></div></div><p> 52 52 The major new features are: 53 53 </p><div class="orderedlist"><ol type="1"><li><p> 54 <a class="indexterm" name="id26764 81"></a>55 <a class="indexterm" name="id26764 87"></a>54 <a class="indexterm" name="id2676461"></a> 55 <a class="indexterm" name="id2676468"></a> 56 56 Active Directory support. This release is able to join an ADS realm 57 57 as a member server and authenticate users using LDAP/Kerberos. 58 58 </p></li><li><p> 59 <a class="indexterm" name="id2676 501"></a>60 <a class="indexterm" name="id2676 507"></a>59 <a class="indexterm" name="id2676481"></a> 60 <a class="indexterm" name="id2676488"></a> 61 61 Unicode support. Samba will now negotiate Unicode on the wire, and 62 62 internally there is a much better infrastructure for multibyte 63 63 and Unicode character sets. 64 64 </p></li><li><p> 65 <a class="indexterm" name="id26765 22"></a>65 <a class="indexterm" name="id2676502"></a> 66 66 New authentication system. The internal authentication system has 67 67 been almost completely rewritten. Most of the changes are internal, 68 68 but the new authoring system is also very configurable. 69 69 </p></li><li><p> 70 <a class="indexterm" name="id26765 36"></a>70 <a class="indexterm" name="id2676516"></a> 71 71 New filename mangling system. The filename mangling system has been 72 72 completely rewritten. An internal database now stores mangling maps 73 73 persistently. 74 74 </p></li><li><p> 75 <a class="indexterm" name="id26765 50"></a>75 <a class="indexterm" name="id2676530"></a> 76 76 New “<span class="quote">net</span>” command. A new “<span class="quote">net</span>” command has been added. It is 77 77 somewhat similar to the “<span class="quote">net</span>” command in Windows. Eventually, we … … 79 79 with subcommands in “<span class="quote">net</span>”. 80 80 </p></li><li><p> 81 <a class="indexterm" name="id26765 78"></a>81 <a class="indexterm" name="id2676558"></a> 82 82 Samba now negotiates NT-style status32 codes on the wire. This 83 83 considerably improves error handling. 84 84 </p></li><li><p> 85 <a class="indexterm" name="id26765 91"></a>85 <a class="indexterm" name="id2676571"></a> 86 86 Better Windows 200x/XP printing support, including publishing 87 87 printer attributes in Active Directory. 88 88 </p></li><li><p> 89 <a class="indexterm" name="id2676604"></a> 89 <a class="indexterm" name="id2676584"></a> 90 <a class="indexterm" name="id2676591"></a> 91 <a class="indexterm" name="id2676598"></a> 92 New loadable RPC modules for passdb backends and character sets. 93 </p></li><li><p> 90 94 <a class="indexterm" name="id2676611"></a> 91 <a class="indexterm" name="id2676618"></a> 92 New loadable RPC modules for passdb backends and character sets.93 </p></li><li><p>95 New default dual-daemon winbindd support for better performance. 96 </p></li><li><p> 97 <a class="indexterm" name="id2676623"></a> 94 98 <a class="indexterm" name="id2676630"></a> 95 New default dual-daemon winbindd support for better performance. 96 </p></li><li><p> 97 <a class="indexterm" name="id2676643"></a> 99 <a class="indexterm" name="id2676637"></a> 100 Support for migrating from a Windows NT 4.0 domain to a Samba 101 domain and maintaining user, group, and domain SIDs. 102 </p></li><li><p> 98 103 <a class="indexterm" name="id2676650"></a> 99 104 <a class="indexterm" name="id2676657"></a> 100 Support for migrating from a Windows NT 4.0 domain to a Samba101 domain and maintaining user, group, and domain SIDs.105 Support for establishing trust relationships with Windows NT 4.0 106 domain controllers. 102 107 </p></li><li><p> 103 108 <a class="indexterm" name="id2676670"></a> 104 109 <a class="indexterm" name="id2676676"></a> 105 Support for establishing trust relationships with Windows NT 4.0 106 domain controllers. 107 </p></li><li><p> 108 <a class="indexterm" name="id2676689"></a> 109 <a class="indexterm" name="id2676696"></a> 110 <a class="indexterm" name="id2676703"></a> 110 <a class="indexterm" name="id2676683"></a> 111 111 Initial support for a distributed Winbind architecture using 112 112 an LDAP directory for storing SID to UID/GID mappings. … … 114 114 Major updates to the Samba documentation tree. 115 115 </p></li><li><p> 116 <a class="indexterm" name="id26767 21"></a>117 <a class="indexterm" name="id26767 28"></a>116 <a class="indexterm" name="id2676701"></a> 117 <a class="indexterm" name="id2676708"></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="id26767 43"></a>Configuration Parameter Changes</h4></div></div></div><p>122 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2676723"></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="id26767 88"></a>Removed Parameters</h4></div></div></div><a class="indexterm" name="id2676794"></a><p>133 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2676768"></a>Removed Parameters</h4></div></div></div><a class="indexterm" name="id2676774"></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="id26769 58"></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="id2676973"></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="id2677524"></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="id2677659"></a>New Functionality</h3></div></div></div><p>136 <a class="indexterm" name="id26776 67"></a>135 </p><div class="itemizedlist"><ul type="disc"><li><p>admin log</p></li><li><p>alternate permissions</p></li><li><p>character set</p></li><li><p>client codepage</p></li><li><p>code page directory</p></li><li><p>coding system</p></li><li><p>domain admin group</p></li><li><p>domain guest group</p></li><li><p>enable rid algorithm</p></li><li><p>enable svcctl</p></li><li><p>force unknown acl user</p></li><li><p>hosts equiv</p></li><li><p>ldap filter</p></li><li><p>min password length</p></li><li><p>nt smb support</p></li><li><p>post script</p></li><li><p>printer admin</p></li><li><p>printer driver</p></li><li><p>printer driver file</p></li><li><p>printer driver location</p></li><li><p>read size</p></li><li><p>source environment</p></li><li><p>status </p></li><li><p>strip dot </p></li><li><p>total print jobs</p></li><li><p>unicode</p></li><li><p>use rhosts</p></li><li><p>valid chars</p></li><li><p>vfs options</p></li><li><p>winbind enable local accounts</p></li><li><p>winbind max idle children</p></li><li><p>wins partners</p></li></ul></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2676939"></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="id2676953"></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="id2677504"></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="id2677639"></a>New Functionality</h3></div></div></div><p> 136 <a class="indexterm" name="id2677647"></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="id26776 86"></a>TDB Data Files</h4></div></div></div><a class="indexterm" name="id2677692"></a><p>141 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2677666"></a>TDB Data Files</h4></div></div></div><a class="indexterm" name="id2677672"></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="id26777 22"></a>146 <a class="indexterm" name="id2677702"></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="id26777 37"></a>151 <a class="indexterm" name="id2677717"></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="id26780 38"></a>Changes in Behavior</h4></div></div></div><p>154 exporting various database tables via the winreg RPCs.</p></td><td align="left">no</td></tr><tr><td align="left">sessionid</td><td align="justify"><p>Temporary cache for miscellaneous session information.</p></td><td align="left">no</td></tr><tr><td align="left">share_info</td><td align="justify">Share ACL settings.</td><td align="left">yes</td></tr><tr><td align="left">unexpected</td><td align="justify"><p>Packets received for which no process was listening.</p></td><td align="left">no</td></tr><tr><td align="left">winbindd_cache</td><td align="justify"><p>Cache of identity information received from an NT4 or an ADS domain.</p></td><td align="left">yes</td></tr><tr><td align="left">winbindd_idmap</td><td align="justify"><p>New ID map table from SIDS to UNIX UIDs/GIDs.</p></td><td align="left">yes</td></tr></tbody></table></div></div><br class="table-break"></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2678018"></a>Changes in Behavior</h4></div></div></div><p> 155 155 The following issues are known changes in behavior between Samba-2.2 and 156 156 Samba-3 that may affect certain installations of Samba. 157 157 </p><div class="orderedlist"><ol type="1"><li><p> 158 <a class="indexterm" name="id26780 59"></a>159 <a class="indexterm" name="id26780 66"></a>160 <a class="indexterm" name="id26780 73"></a>158 <a class="indexterm" name="id2678039"></a> 159 <a class="indexterm" name="id2678046"></a> 160 <a class="indexterm" name="id2678053"></a> 161 161 When operating as a member of a Windows domain, Samba-2.2 would map any users authenticated by the remote DC 162 162 to the “<span class="quote">guest account</span>” if a UID could not be obtained via the getpwnam() call. Samba-3 rejects … … 164 164 to re-establish the Samba-2.2 behavior. 165 165 </p></li><li><p> 166 <a class="indexterm" name="id26780 97"></a>167 <a class="indexterm" name="id2678 104"></a>166 <a class="indexterm" name="id2678077"></a> 167 <a class="indexterm" name="id2678084"></a> 168 168 When adding machines to a Samba-2.2 controlled domain, the 169 169 “<span class="quote">add user script</span>” was used to create the UNIX identity of the … … 172 172 not fall back to using the “<span class="quote">add user script</span>” in the absence of 173 173 an “<span class="quote">add machine script</span>”. 174 </p></li></ol></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id26781 34"></a>Passdb Backends and Authentication</h4></div></div></div><p>174 </p></li></ol></div></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2678114"></a>Passdb Backends and Authentication</h4></div></div></div><p> 175 175 There have been a few new changes that Samba administrators should be 176 176 aware of when moving to Samba-3. 177 177 </p><div class="orderedlist"><ol type="1"><li><p> 178 <a class="indexterm" name="id26781 55"></a>178 <a class="indexterm" name="id2678135"></a> 179 179 Encrypted passwords have been enabled by default in order to 180 180 interoperate better with out-of-the-box Windows client … … 183 183 must be explicitly defined in <code class="filename">smb.conf</code>. 184 184 </p></li><li><p> 185 <a class="indexterm" name="id26781 80"></a>186 <a class="indexterm" name="id26781 87"></a>187 <a class="indexterm" name="id26781 94"></a>185 <a class="indexterm" name="id2678161"></a> 186 <a class="indexterm" name="id2678167"></a> 187 <a class="indexterm" name="id2678174"></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="id26782 20"></a>191 <a class="indexterm" name="id2678200"></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="id26782 71"></a>198 <a class="indexterm" name="id26782 78"></a>199 <a class="indexterm" name="id26782 84"></a>197 <a class="indexterm" name="id2678251"></a> 198 <a class="indexterm" name="id2678258"></a> 199 <a class="indexterm" name="id2678264"></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="id2678 318"></a>LDAP</h4></div></div></div><p>203 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2678298"></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="id26783 29"></a>New Schema</h5></div></div></div><p>206 <a class="indexterm" name="id26783 36"></a>207 <a class="indexterm" name="id26783 43"></a>208 <a class="indexterm" name="id26783 50"></a>209 <a class="indexterm" name="id26783 57"></a>205 </p><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2678309"></a>New Schema</h5></div></div></div><p> 206 <a class="indexterm" name="id2678316"></a> 207 <a class="indexterm" name="id2678323"></a> 208 <a class="indexterm" name="id2678330"></a> 209 <a class="indexterm" name="id2678337"></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="id26783 73"></a>217 <a class="indexterm" name="id2678353"></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="id2678 405"></a>222 <a class="indexterm" name="id2678385"></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="id26784 32"></a>227 <a class="indexterm" name="id2678412"></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="id26784 43"></a>231 <a class="indexterm" name="id2678424"></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="id26784 70"></a>237 <a class="indexterm" name="id26784 76"></a>238 <a class="indexterm" name="id26784 83"></a>239 <a class="indexterm" name="id26784 90"></a>236 <a class="indexterm" name="id2678450"></a> 237 <a class="indexterm" name="id2678457"></a> 238 <a class="indexterm" name="id2678464"></a> 239 <a class="indexterm" name="id2678471"></a> 240 240 The old <code class="literal">sambaAccount</code> schema may still be used by specifying the 241 241 <em class="parameter"><code>ldapsam_compat</code></em> passdb backend. However, the sambaAccount and … … 247 247 Other new object classes and their uses include: 248 248 </p><div class="itemizedlist"><ul type="disc"><li><p> 249 <a class="indexterm" name="id2678518"></a> 250 <a class="indexterm" name="id2678524"></a> 251 <a class="indexterm" name="id2678531"></a> 249 252 <a class="indexterm" name="id2678538"></a> 250 <a class="indexterm" name="id2678544"></a> 251 <a class="indexterm" name="id2678551"></a> 252 <a class="indexterm" name="id2678558"></a> 253 <a class="indexterm" name="id2678565"></a> 254 <a class="indexterm" name="id2678571"></a> 253 <a class="indexterm" name="id2678545"></a> 254 <a class="indexterm" name="id2678552"></a> 255 255 <code class="literal">sambaDomain</code> domain information used to allocate RIDs 256 256 for users and groups as necessary. The attributes are added … … 259 259 passdb backend has been selected. 260 260 </p></li><li><p> 261 <a class="indexterm" name="id2678 602"></a>262 <a class="indexterm" name="id2678 609"></a>263 <a class="indexterm" name="id2678 616"></a>261 <a class="indexterm" name="id2678582"></a> 262 <a class="indexterm" name="id2678589"></a> 263 <a class="indexterm" name="id2678596"></a> 264 264 sambaGroupMapping an object representing the 265 265 relationship between a posixGroup and a Windows … … 267 267 group suffix</span>” and managed by the “<span class="quote">net groupmap</span>” command. 268 268 </p></li><li><p> 269 <a class="indexterm" name="id2678621"></a> 270 <a class="indexterm" name="id2678628"></a> 271 <a class="indexterm" name="id2678635"></a> 269 272 <a class="indexterm" name="id2678641"></a> 270 <a class="indexterm" name="id2678648"></a>271 <a class="indexterm" name="id2678654"></a>272 <a class="indexterm" name="id2678661"></a>273 273 <code class="literal">sambaUNIXIdPool</code> created in the “<span class="quote">ldap idmap suffix</span>” entry 274 274 automatically and contains the next available “<span class="quote">idmap UID</span>” and 275 275 “<span class="quote">idmap GID</span>”. 276 276 </p></li><li><p> 277 <a class="indexterm" name="id26786 93"></a>278 <a class="indexterm" name="id2678 700"></a>277 <a class="indexterm" name="id2678673"></a> 278 <a class="indexterm" name="id2678680"></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="id2678721"></a>New Suffix for Searching</h5></div></div></div><p> 283 <a class="indexterm" name="id2678729"></a> 284 <a class="indexterm" name="id2678736"></a> 285 <a class="indexterm" name="id2678743"></a> 282 </p></li></ul></div></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2678702"></a>New Suffix for Searching</h5></div></div></div><p> 283 <a class="indexterm" name="id2678709"></a> 284 <a class="indexterm" name="id2678716"></a> 285 <a class="indexterm" name="id2678723"></a> 286 <a class="indexterm" name="id2678730"></a> 287 <a class="indexterm" name="id2678737"></a> 288 <a class="indexterm" name="id2678744"></a> 286 289 <a class="indexterm" name="id2678750"></a> 287 <a class="indexterm" name="id2678756"></a>288 <a class="indexterm" name="id2678763"></a>289 <a class="indexterm" name="id2678770"></a>290 290 The following new <code class="filename">smb.conf</code> parameters have been added to aid in directing 291 291 certain LDAP queries when <em class="parameter"><code>passdb backend = ldapsam://...</code></em> has been 292 292 specified. 293 293 </p><div class="itemizedlist"><ul type="disc"><li><p>ldap suffix used to search for user and computer accounts.</p></li><li><p>ldap user suffix used to store user accounts.</p></li><li><p>ldap machine suffix used to store machine trust accounts.</p></li><li><p>ldap group suffix location of posixGroup/sambaGroupMapping entries.</p></li><li><p>ldap idmap suffix location of sambaIdmapEntry objects.</p></li></ul></div><p> 294 <a class="indexterm" name="id26788 39"></a>295 <a class="indexterm" name="id26788 46"></a>294 <a class="indexterm" name="id2678819"></a> 295 <a class="indexterm" name="id2678826"></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="id26788 87"></a>IdMap LDAP Support</h5></div></div></div><p>304 <a class="indexterm" name="id26788 95"></a>303 </p></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id2678867"></a>IdMap LDAP Support</h5></div></div></div><p> 304 <a class="indexterm" name="id2678875"></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="id26789 28"></a><em class="parameter"><code>idmap backend = ldap:ldap://onterose/</code></em></td></tr><tr><td><a class="indexterm" name="id2678940"></a><em class="parameter"><code>ldap idmap suffix = ou=Idmap</code></em></td></tr><tr><td><a class="indexterm" name="id2678952"></a><em class="parameter"><code>idmap uid = 40000-50000</code></em></td></tr><tr><td><a class="indexterm" name="id2678963"></a><em class="parameter"><code>idmap gid = 40000-50000</code></em></td></tr></table><p>309 <a class="indexterm" name="id26789 77"></a>308 </p><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td>...</td></tr><tr><td><a class="indexterm" name="id2678908"></a><em class="parameter"><code>idmap backend = ldap:ldap://onterose/</code></em></td></tr><tr><td><a class="indexterm" name="id2678920"></a><em class="parameter"><code>ldap idmap suffix = ou=Idmap</code></em></td></tr><tr><td><a class="indexterm" name="id2678932"></a><em class="parameter"><code>idmap uid = 40000-50000</code></em></td></tr><tr><td><a class="indexterm" name="id2678944"></a><em class="parameter"><code>idmap gid = 40000-50000</code></em></td></tr></table><p> 309 <a class="indexterm" name="id2678957"></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
Note:
See TracChangeset
for help on using the changeset viewer.