- Timestamp:
- May 23, 2008, 6:56:41 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.0/docs/htmldocs/Samba3-HOWTO/upgrading-to-3.0.html
r44 r134 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 35. Upgrading from Samba-2.x to Samba-3.0.23</title><link rel="stylesheet" href="samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.71.0"><link rel="start" href="index.html" title="The Official Samba-3 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. Upgrading from Samba-2.x to Samba-3.0.23</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. Upgrading from Samba-2.x to Samba-3.0.23</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 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 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 href="mailto:jerry@samba.org">jerry@samba.org</a>></code></p></div></div></div></div><div><p class="pubdate">June 30, 2003</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#id432254">Quick Migration Guide</a></span></dt><dt><span class="sect1"><a href="upgrading-to-3.0.html#id432380">New Features in Samba-3</a></span></dt><dt><span class="sect1"><a href="upgrading-to-3.0.html#id432649">Configuration Parameter Changes</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id432688">Removed Parameters</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id432854">New Parameters</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id433402">Modified Parameters (Changes in Behavior)</a></span></dt></dl></dd><dt><span class="sect1"><a href="upgrading-to-3.0.html#id433530">New Functionality</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id433554">TDB Data Files</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id433892">Changes in Behavior</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id433980">Passdb Backends and Authentication</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id434143">LDAP</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id432231"></a> 3 <a class="indexterm" name="id432238"></a> 4 <a class="indexterm" name="id432244"></a> 5 This chapter deals exclusively with the differences between Samba-3.0.23 and Samba-2.2.8a. 6 It points out where configuration parameters have changed, and provides a simple guide for 7 the move from 2.2.x to 3.0.23. 8 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id432254"></a>Quick Migration Guide</h2></div></div></div><p> 9 Samba-3.0.23 default behavior should be approximately the same as Samba-2.2.x. 10 The default behavior when the new parameter <a class="indexterm" name="id432263"></a>passdb backend 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 35. Updating and Upgrading Samba</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.73.2"><link rel="start" href="index.html" title="The Official Samba 3.2.x HOWTO and Reference Guide"><link rel="up" href="migration.html" title="Part IV. Migration and Updating"><link rel="prev" href="migration.html" title="Part IV. Migration and Updating"><link rel="next" href="NT4Migration.html" title="Chapter 36. Migration from NT4 PDC to Samba-3 PDC"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 35. Updating and Upgrading Samba</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="migration.html">Prev</a> </td><th width="60%" align="center">Part IV. Migration and Updating</th><td width="20%" align="right"> <a accesskey="n" href="NT4Migration.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="upgrading-to-3.0"></a>Chapter 35. Updating and Upgrading Samba</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>></code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Gerald</span> <span class="othername">(Jerry)</span> <span class="surname">Carter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jerry@samba.org">jerry@samba.org</a>></code></p></div></div></div></div><div><p class="pubdate">August 16, 2007</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="upgrading-to-3.0.html#id456137">Key Update Requirements</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id456157">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#id456203">Quick Migration Guide</a></span></dt></dl></dd><dt><span class="sect1"><a href="upgrading-to-3.0.html#id456340">New Featuers in Samba-3.x Series</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id456349">New Features in Samba-3.2.x Series</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id456359">New Features in Samba-3.0.x</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id457510">New Functionality</a></span></dt></dl></dd></dl></div><p> 2 This chapter provides a detailed record of changes made during the 3.x series releases. At this time this 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 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="id456137"></a>Key Update Requirements</h2></div></div></div><p> 6 Samba is a fluid product in which there may be significant changes between releases. Some of these changes are 7 brought about as a result of changes in the protocols that are used by Microsoft Windows network clients as a 8 result of security or functionality updates through official Microsoft patches and updates. Samba must track 9 such changes, particularly where they affect the internal operation of Samba itself. 10 </p><p> 11 Please refer to any notes below that make explicit mention of the version of Samba you are using. In general, 12 all changes that apply to a new release will apply to follow-on releases also. For example, changes to Samba 13 3.0.23 affect all releases up to an including 3.0.25 and later. Samba 3.2.x was originaly cut from Samba 14 3.0.25 before 3.2.0-specific changes were applied. Unless a 3.0.x series feature is specifically revoked, the 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="id456157"></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="id456178"></a> 19 <a class="indexterm" name="id456185"></a> 20 <a class="indexterm" name="id456192"></a> 21 This chapter deals exclusively with the differences between Samba-3.0.25 and Samba-2.2.8a. 22 It points out where configuration parameters have changed, and provides a simple guide for 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="id456203"></a>Quick Migration Guide</h3></div></div></div><p> 25 Samba-3.0.25 default behavior should be approximately the same as Samba-2.2.x. 26 The default behavior when the new parameter <a class="link" href="smb.conf.5.html#PASSDBBACKEND">passdb backend</a> 11 27 is not defined in the <code class="filename">smb.conf</code> file provides the same default behavior as Samba-2.2.x 12 with <a class=" indexterm" name="id432277"></a>encrypt passwords = Yesand28 with <a class="link" href="smb.conf.5.html#ENCRYPTPASSWORDS">encrypt passwords = Yes</a> and 13 29 will use the <code class="filename">smbpasswd</code> database. 14 30 </p><p> 15 <a class="indexterm" name="id4 32293"></a>16 <a class="indexterm" name="id4 32300"></a>31 <a class="indexterm" name="id456248"></a> 32 <a class="indexterm" name="id456255"></a> 17 33 So why say that <span class="emphasis"><em>behavior should be approximately the same as Samba-2.2.x</em></span>? Because 18 Samba-3.0.2 3can negotiate new protocols, such as support for native Unicode, that may result in34 Samba-3.0.25 can negotiate new protocols, such as support for native Unicode, that may result in 19 35 differing protocol code paths being taken. The new behavior under such circumstances is not 20 36 exactly the same as the old one. The good news is that the domain and machine SIDs will be 21 37 preserved across the upgrade. 22 38 </p><p> 23 <a class="indexterm" name="id4 32317"></a>24 <a class="indexterm" name="id4 32324"></a>25 <a class="indexterm" name="id4 32331"></a>26 <a class="indexterm" name="id4 32337"></a>39 <a class="indexterm" name="id456272"></a> 40 <a class="indexterm" name="id456279"></a> 41 <a class="indexterm" name="id456286"></a> 42 <a class="indexterm" name="id456292"></a> 27 43 If the Samba-2.2.x system is using an LDAP backend, and there is no time to update the LDAP 28 database, then make sure that <a class=" indexterm" name="id432346"></a>passdb backend = ldapsam_compat44 database, then make sure that <a class="link" href="smb.conf.5.html#PASSDBBACKEND">passdb backend = ldapsam_compat</a> 29 45 is specified in the <code class="filename">smb.conf</code> file. For the rest, behavior should remain more or less the same. 30 46 At a later date, when there is time to implement a new Samba-3-compatible LDAP backend, it is possible 31 47 to migrate the old LDAP database to the new one through use of the <code class="literal">pdbedit</code>. 32 See <a href="passdb.html#pdbeditthing" title="The pdbedit Tool">The <span class="emphasis"><em>pdbedit</em></span> Command</a>. 33 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id432380"></a>New Features in Samba-3</h2></div></div></div><p> 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="id456340"></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="id456349"></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="id456359"></a>New Features in Samba-3.0.x</h3></div></div></div><p> 34 52 The major new features are: 35 </p><div class="orderedlist"><ol type="1"><li><p> 36 <a class="indexterm" name="id4 32401"></a>37 <a class="indexterm" name="id4 32408"></a>53 </p><div class="orderedlist"><ol type="1"><li><p> 54 <a class="indexterm" name="id456380"></a> 55 <a class="indexterm" name="id456387"></a> 38 56 Active Directory support. This release is able to join an ADS realm 39 57 as a member server and authenticate users using LDAP/Kerberos. 40 58 </p></li><li><p> 41 <a class="indexterm" name="id4 32420"></a>42 <a class="indexterm" name="id4 32427"></a>59 <a class="indexterm" name="id456399"></a> 60 <a class="indexterm" name="id456406"></a> 43 61 Unicode support. Samba will now negotiate Unicode on the wire, and 44 62 internally there is a much better infrastructure for multibyte 45 63 and Unicode character sets. 46 64 </p></li><li><p> 47 <a class="indexterm" name="id4 32439"></a>65 <a class="indexterm" name="id456418"></a> 48 66 New authentication system. The internal authentication system has 49 67 been almost completely rewritten. Most of the changes are internal, 50 68 but the new authoring system is also very configurable. 51 69 </p></li><li><p> 52 <a class="indexterm" name="id4 32452"></a>70 <a class="indexterm" name="id456431"></a> 53 71 New filename mangling system. The filename mangling system has been 54 72 completely rewritten. An internal database now stores mangling maps 55 73 persistently. 56 74 </p></li><li><p> 57 <a class="indexterm" name="id4 32465"></a>75 <a class="indexterm" name="id456444"></a> 58 76 New “<span class="quote">net</span>” command. A new “<span class="quote">net</span>” command has been added. It is 59 77 somewhat similar to the “<span class="quote">net</span>” command in Windows. Eventually, we … … 61 79 with subcommands in “<span class="quote">net</span>”. 62 80 </p></li><li><p> 63 <a class="indexterm" name="id4 32491"></a>81 <a class="indexterm" name="id456470"></a> 64 82 Samba now negotiates NT-style status32 codes on the wire. This 65 83 considerably improves error handling. 66 84 </p></li><li><p> 67 <a class="indexterm" name="id4 32503"></a>85 <a class="indexterm" name="id456482"></a> 68 86 Better Windows 200x/XP printing support, including publishing 69 87 printer attributes in Active Directory. 70 88 </p></li><li><p> 71 <a class="indexterm" name="id4 32515"></a>72 <a class="indexterm" name="id4 32522"></a>73 <a class="indexterm" name="id4 32529"></a>89 <a class="indexterm" name="id456494"></a> 90 <a class="indexterm" name="id456501"></a> 91 <a class="indexterm" name="id456508"></a> 74 92 New loadable RPC modules for passdb backends and character sets. 75 93 </p></li><li><p> 76 <a class="indexterm" name="id4 32541"></a>94 <a class="indexterm" name="id456520"></a> 77 95 New default dual-daemon winbindd support for better performance. 78 96 </p></li><li><p> 79 <a class="indexterm" name="id4 32552"></a>80 <a class="indexterm" name="id4 32559"></a>81 <a class="indexterm" name="id4 32566"></a>97 <a class="indexterm" name="id456532"></a> 98 <a class="indexterm" name="id456538"></a> 99 <a class="indexterm" name="id456545"></a> 82 100 Support for migrating from a Windows NT 4.0 domain to a Samba 83 101 domain and maintaining user, group, and domain SIDs. 84 102 </p></li><li><p> 85 <a class="indexterm" name="id4 32578"></a>86 <a class="indexterm" name="id4 32585"></a>103 <a class="indexterm" name="id456557"></a> 104 <a class="indexterm" name="id456564"></a> 87 105 Support for establishing trust relationships with Windows NT 4.0 88 106 domain controllers. 89 107 </p></li><li><p> 90 <a class="indexterm" name="id4 32597"></a>91 <a class="indexterm" name="id4 32604"></a>92 <a class="indexterm" name="id4 32610"></a>108 <a class="indexterm" name="id456576"></a> 109 <a class="indexterm" name="id456583"></a> 110 <a class="indexterm" name="id456589"></a> 93 111 Initial support for a distributed Winbind architecture using 94 112 an LDAP directory for storing SID to UID/GID mappings. … … 96 114 Major updates to the Samba documentation tree. 97 115 </p></li><li><p> 98 <a class="indexterm" name="id4 32627"></a>99 <a class="indexterm" name="id4 32634"></a>116 <a class="indexterm" name="id456606"></a> 117 <a class="indexterm" name="id456613"></a> 100 118 Full support for client and server SMB signing to ensure 101 119 compatibility with default Windows 2003 security settings. 102 120 </p></li></ol></div><p> 103 121 Plus lots of other improvements! 104 </p>< /div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id432649"></a>Configuration Parameter Changes</h2></div></div></div><p>122 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id456627"></a>Configuration Parameter Changes</h4></div></div></div><p> 105 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 106 including Samba-3.0.2 3.124 including Samba-3.0.25. 107 125 </p><p> 108 126 Please refer to the smb.conf(5) man page for complete descriptions of new or modified … … 111 129 Whenever a Samba update or upgrade is performed it is highly recommended to read the file called 112 130 <span class="emphasis"><em>WHATSNEW.txt</em></span> that is part of the Samba distribution tarball. This file may also 113 be obtain on-line from the Samba <a href="http://www.samba.org/samba/" target="_top">web site</a>, in131 be obtain on-line from the Samba <a class="ulink" href="http://www.samba.org/samba/" target="_top">web site</a>, in 114 132 the right column, under Current Stable Release, by clicking on <span class="emphasis"><em>Release Notes</em></span>. 115 </p>< div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id432688"></a>Removed Parameters</h3></div></div></div><a class="indexterm" name="id432693"></a><p>116 In alphabetical order, these are the parameters eliminated from Samba-2.2.x through 3.0.2 3.117 </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="sect 2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id432854"></a>New Parameters</h3></div></div></div><p>The following new parameters have been released up to and including Samba 3.0.23 (grouped by function:)</p><p>Remote Management</p><a class="indexterm" name="id432867"></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="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id433402"></a>Modified Parameters (Changes in Behavior)</h3></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="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id433530"></a>New Functionality</h2></div></div></div><p>118 <a class="indexterm" name="id4 33538"></a>133 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id456667"></a>Removed Parameters</h4></div></div></div><a class="indexterm" name="id456672"></a><p> 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="id456833"></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="id456846"></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="id457381"></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="id457510"></a>New Functionality</h3></div></div></div><p> 136 <a class="indexterm" name="id457517"></a> 119 137 The major changes in behavior since that Samba-2.2.x series are documented in this section. 120 138 Please refer to the <code class="filename">WHATSNEW.txt</code> file that ships with every release of 121 139 Samba to obtain detailed information regarding the changes that have been made during the 122 140 life of the current Samba release. 123 </p><div class="sect 2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id433554"></a>TDB Data Files</h3></div></div></div><a class="indexterm" name="id433560"></a><p>124 Refer to <a href="install.html" title="Chapter 1. How to Install and Test SAMBA">Installation, Chapter 1</a>, <ahref="install.html#tdbdocs" title="TDB Database File Information">Chapter 1</a>141 </p><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id457533"></a>TDB Data Files</h4></div></div></div><a class="indexterm" name="id457539"></a><p> 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> 125 143 for information pertaining to the Samba-3 data files, their location and the information that must be 126 144 preserved across server migrations, updates and upgrades. 127 145 </p><p> 128 <a class="indexterm" name="id4 33588"></a>129 Please remember to back up your existing ${lock directory}/*tdb before upgrading to Samba-3. If necessary, Samba will130 upgrade databases as they are opened. Downgrading from Samba-3 to 2.2, or reversion to an earlier version131 of Samba-3 from a later release, is an unsupported path.146 <a class="indexterm" name="id457567"></a> 147 Please remember to back up your existing ${lock directory}/*tdb before upgrading to Samba-3. If necessary, 148 Samba will upgrade databases as they are opened. Downgrading from Samba-3 to 2.2, or reversion to an earlier 149 version of Samba-3 from a later release, is an unsupported path. 132 150 </p><p> 133 <a class="indexterm" name="id4 33600"></a>134 The old Samba-2.2.x tdb files are described in <a href="upgrading-to-3.0.html#oldtdbfiledesc" title="Table 35.1. Samba-2.2.x TDB File Descriptions">the next table</a>.151 <a class="indexterm" name="id457579"></a> 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>. 135 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 136 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="sect 2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id433892"></a>Changes in Behavior</h3></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="id457871"></a>Changes in Behavior</h4></div></div></div><p> 137 155 The following issues are known changes in behavior between Samba-2.2 and 138 156 Samba-3 that may affect certain installations of Samba. 139 157 </p><div class="orderedlist"><ol type="1"><li><p> 140 <a class="indexterm" name="id4 33911"></a>141 <a class="indexterm" name="id4 33918"></a>142 <a class="indexterm" name="id4 33925"></a>158 <a class="indexterm" name="id457890"></a> 159 <a class="indexterm" name="id457897"></a> 160 <a class="indexterm" name="id457904"></a> 143 161 When operating as a member of a Windows domain, Samba-2.2 would map any users authenticated by the remote DC 144 162 to the “<span class="quote">guest account</span>” if a UID could not be obtained via the getpwnam() call. Samba-3 rejects … … 146 164 to re-establish the Samba-2.2 behavior. 147 165 </p></li><li><p> 148 <a class="indexterm" name="id4 33946"></a>149 <a class="indexterm" name="id4 33953"></a>166 <a class="indexterm" name="id457925"></a> 167 <a class="indexterm" name="id457932"></a> 150 168 When adding machines to a Samba-2.2 controlled domain, the 151 169 “<span class="quote">add user script</span>” was used to create the UNIX identity of the … … 154 172 not fall back to using the “<span class="quote">add user script</span>” in the absence of 155 173 an “<span class="quote">add machine script</span>”. 156 </p></li></ol></div></div><div class="sect 2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id433980"></a>Passdb Backends and Authentication</h3></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="id457959"></a>Passdb Backends and Authentication</h4></div></div></div><p> 157 175 There have been a few new changes that Samba administrators should be 158 176 aware of when moving to Samba-3. 159 177 </p><div class="orderedlist"><ol type="1"><li><p> 160 <a class="indexterm" name="id4 34000"></a>178 <a class="indexterm" name="id457979"></a> 161 179 Encrypted passwords have been enabled by default in order to 162 180 interoperate better with out-of-the-box Windows client … … 165 183 must be explicitly defined in <code class="filename">smb.conf</code>. 166 184 </p></li><li><p> 167 <a class="indexterm" name="id4 34023"></a>168 <a class="indexterm" name="id4 34029"></a>169 <a class="indexterm" name="id4 34036"></a>170 Inclusion of new <a class=" indexterm" name="id434043"></a>security = adsoption for integration185 <a class="indexterm" name="id458002"></a> 186 <a class="indexterm" name="id458008"></a> 187 <a class="indexterm" name="id458015"></a> 188 Inclusion of new <a class="link" href="smb.conf.5.html#SECURITY">security = ads</a> option for integration 171 189 with an Active Directory domain using the native Windows Kerberos 5 and LDAP protocols. 172 190 </p></li></ol></div><p> 173 <a class="indexterm" name="id4 34055"></a>174 Samba-3 also includes the possibility of setting up chains of authentication methods (<a class=" indexterm" name="id434063"></a>auth methods) and account storage backends (<a class="indexterm" name="id434071"></a>passdb backend). Please refer to175 the <code class="filename">smb.conf</code> man page and <a href="passdb.html" title="Chapter 11. Account Information Databases">Account Information Databases</a>, for191 <a class="indexterm" name="id458038"></a> 192 Samba-3 also includes the possibility of setting up chains of authentication methods (<a class="link" href="smb.conf.5.html#AUTHMETHODS">auth methods</a>) and account storage backends (<a class="link" href="smb.conf.5.html#PASSDBBACKEND">passdb backend</a>). Please refer to 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 176 194 details. While both parameters assume sane default values, it is likely that you will need to understand what 177 195 the values actually mean in order to ensure Samba operates correctly. 178 196 </p><p> 179 <a class="indexterm" name="id4 34096"></a>180 <a class="indexterm" name="id4 34102"></a>181 <a class="indexterm" name="id4 34109"></a>197 <a class="indexterm" name="id458085"></a> 198 <a class="indexterm" name="id458092"></a> 199 <a class="indexterm" name="id458098"></a> 182 200 Certain functions of the <code class="literal">smbpasswd</code> tool have been split between the 183 201 new <code class="literal">smbpasswd</code> utility, the <code class="literal">net</code> tool, and the new <code class="literal">pdbedit</code> 184 202 utility. See the respective man pages for details. 185 </p></div><div class="sect 2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id434143"></a>LDAP</h3></div></div></div><p>203 </p></div><div class="sect3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id458132"></a>LDAP</h4></div></div></div><p> 186 204 This section outlines the new features effecting Samba/LDAP integration. 187 </p><div class="sect 3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id434152"></a>New Schema</h4></div></div></div><p>188 <a class="indexterm" name="id4 34160"></a>189 <a class="indexterm" name="id4 34167"></a>190 <a class="indexterm" name="id4 34174"></a>191 <a class="indexterm" name="id4 34180"></a>205 </p><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id458141"></a>New Schema</h5></div></div></div><p> 206 <a class="indexterm" name="id458149"></a> 207 <a class="indexterm" name="id458156"></a> 208 <a class="indexterm" name="id458163"></a> 209 <a class="indexterm" name="id458170"></a> 192 210 A new object class (sambaSamAccount) has been introduced to replace 193 211 the old sambaAccount. This change aids in the renaming of attributes … … 197 215 </p><p> 198 216 Example: 199 <a class="indexterm" name="id4 34193"></a>217 <a class="indexterm" name="id458183"></a> 200 218 </p><pre class="screen"> 201 219 <code class="prompt">$ </code>ldapsearch .... -LLL -b "ou=people,dc=..." > old.ldif 202 220 <code class="prompt">$ </code>convertSambaAccount --sid <DOM SID> --input old.ldif --output new.ldif 203 221 </pre><p> 204 <a class="indexterm" name="id4 34224"></a>205 The <DOM SID> can be obtained by running 222 <a class="indexterm" name="id458213"></a> 223 The <DOM SID> can be obtained by running 206 224 </p><pre class="screen"> 207 225 <code class="prompt">$ </code><strong class="userinput"><code>net getlocalsid <DOMAINNAME></code></strong> 208 226 </pre><p> 209 <a class="indexterm" name="id4 34249"></a>227 <a class="indexterm" name="id458238"></a> 210 228 on the Samba PDC as root. 211 229 </p><p> 212 230 Under Samba-2.x the domain SID can be obtained by executing: 213 <a class="indexterm" name="id4 34260"></a>231 <a class="indexterm" name="id458249"></a> 214 232 </p><pre class="screen"> 215 233 <code class="prompt">$ </code><strong class="userinput"><code>smbpasswd -S <DOMAINNAME></code></strong> 216 234 </pre><p> 217 235 </p><p> 218 <a class="indexterm" name="id4 34286"></a>219 <a class="indexterm" name="id4 34292"></a>220 <a class="indexterm" name="id4 34299"></a>221 <a class="indexterm" name="id4 34306"></a>236 <a class="indexterm" name="id458275"></a> 237 <a class="indexterm" name="id458282"></a> 238 <a class="indexterm" name="id458288"></a> 239 <a class="indexterm" name="id458295"></a> 222 240 The old <code class="literal">sambaAccount</code> schema may still be used by specifying the 223 241 <em class="parameter"><code>ldapsam_compat</code></em> passdb backend. However, the sambaAccount and … … 229 247 Other new object classes and their uses include: 230 248 </p><div class="itemizedlist"><ul type="disc"><li><p> 231 <a class="indexterm" name="id4 34350"></a>232 <a class="indexterm" name="id4 34356"></a>233 <a class="indexterm" name="id4 34363"></a>234 <a class="indexterm" name="id4 34370"></a>235 <a class="indexterm" name="id4 34376"></a>236 <a class="indexterm" name="id4 34383"></a>249 <a class="indexterm" name="id458339"></a> 250 <a class="indexterm" name="id458346"></a> 251 <a class="indexterm" name="id458352"></a> 252 <a class="indexterm" name="id458359"></a> 253 <a class="indexterm" name="id458366"></a> 254 <a class="indexterm" name="id458372"></a> 237 255 <code class="literal">sambaDomain</code> domain information used to allocate RIDs 238 256 for users and groups as necessary. The attributes are added … … 241 259 passdb backend has been selected. 242 260 </p></li><li><p> 243 <a class="indexterm" name="id4 34412"></a>244 <a class="indexterm" name="id4 34419"></a>245 <a class="indexterm" name="id4 34426"></a>261 <a class="indexterm" name="id458401"></a> 262 <a class="indexterm" name="id458408"></a> 263 <a class="indexterm" name="id458415"></a> 246 264 sambaGroupMapping an object representing the 247 265 relationship between a posixGroup and a Windows … … 249 267 group suffix</span>” and managed by the “<span class="quote">net groupmap</span>” command. 250 268 </p></li><li><p> 251 <a class="indexterm" name="id4 34448"></a>252 <a class="indexterm" name="id4 34455"></a>253 <a class="indexterm" name="id4 34462"></a>254 <a class="indexterm" name="id4 34468"></a>269 <a class="indexterm" name="id458437"></a> 270 <a class="indexterm" name="id458444"></a> 271 <a class="indexterm" name="id458451"></a> 272 <a class="indexterm" name="id458458"></a> 255 273 <code class="literal">sambaUNIXIdPool</code> created in the “<span class="quote">ldap idmap suffix</span>” entry 256 274 automatically and contains the next available “<span class="quote">idmap UID</span>” and 257 275 “<span class="quote">idmap GID</span>”. 258 276 </p></li><li><p> 259 <a class="indexterm" name="id4 34500"></a>260 <a class="indexterm" name="id4 34506"></a>277 <a class="indexterm" name="id458489"></a> 278 <a class="indexterm" name="id458496"></a> 261 279 <code class="literal">sambaIdmapEntry</code> object storing a mapping between a 262 280 SID and a UNIX UID/GID. These objects are created by the 263 281 idmap_ldap module as needed. 264 </p></li></ul></div></div><div class="sect 3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id434527"></a>New Suffix for Searching</h4></div></div></div><p>265 <a class="indexterm" name="id4 34534"></a>266 <a class="indexterm" name="id4 34540"></a>267 <a class="indexterm" name="id4 34547"></a>268 <a class="indexterm" name="id4 34554"></a>269 <a class="indexterm" name="id4 34561"></a>270 <a class="indexterm" name="id4 34568"></a>271 <a class="indexterm" name="id4 34574"></a>282 </p></li></ul></div></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id458516"></a>New Suffix for Searching</h5></div></div></div><p> 283 <a class="indexterm" name="id458523"></a> 284 <a class="indexterm" name="id458530"></a> 285 <a class="indexterm" name="id458536"></a> 286 <a class="indexterm" name="id458543"></a> 287 <a class="indexterm" name="id458550"></a> 288 <a class="indexterm" name="id458557"></a> 289 <a class="indexterm" name="id458564"></a> 272 290 The following new <code class="filename">smb.conf</code> parameters have been added to aid in directing 273 291 certain LDAP queries when <em class="parameter"><code>passdb backend = ldapsam://...</code></em> has been 274 292 specified. 275 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> 276 <a class="indexterm" name="id4 34638"></a>277 <a class="indexterm" name="id4 34645"></a>294 <a class="indexterm" name="id458628"></a> 295 <a class="indexterm" name="id458634"></a> 278 296 If an <em class="parameter"><code>ldap suffix</code></em> is defined, it will be appended to all of the 279 297 remaining subsuffix parameters. In this case, the order of the suffix … … 283 301 Due to a limitation in Samba's <code class="filename">smb.conf</code> parsing, you should not surround 284 302 the domain names with quotation marks. 285 </p></div><div class="sect 3" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id434683"></a>IdMap LDAP Support</h4></div></div></div><p>286 <a class="indexterm" name="id4 34691"></a>303 </p></div><div class="sect4" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="id458672"></a>IdMap LDAP Support</h5></div></div></div><p> 304 <a class="indexterm" name="id458680"></a> 287 305 Samba-3 supports an LDAP backend for the idmap subsystem. The 288 306 following options inform Samba that the idmap table should be 289 307 stored on the directory server <span class="emphasis"><em>onterose</em></span> in the ou=Idmap,dc=quenya,dc=org partition. 290 </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="id4 34722"></a><em class="parameter"><code>idmap backend = ldap:ldap://onterose/</code></em></td></tr><tr><td><a class="indexterm" name="id434735"></a><em class="parameter"><code>ldap idmap suffix = ou=Idmap</code></em></td></tr><tr><td><a class="indexterm" name="id434747"></a><em class="parameter"><code>idmap uid = 40000-50000</code></em></td></tr><tr><td><a class="indexterm" name="id434760"></a><em class="parameter"><code>idmap gid = 40000-50000</code></em></td></tr></table><p>291 <a class="indexterm" name="id4 34774"></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="id458711"></a><em class="parameter"><code>idmap backend = ldap:ldap://onterose/</code></em></td></tr><tr><td><a class="indexterm" name="id458723"></a><em class="parameter"><code>ldap idmap suffix = ou=Idmap</code></em></td></tr><tr><td><a class="indexterm" name="id458734"></a><em class="parameter"><code>idmap uid = 40000-50000</code></em></td></tr><tr><td><a class="indexterm" name="id458746"></a><em class="parameter"><code>idmap gid = 40000-50000</code></em></td></tr></table><p> 309 <a class="indexterm" name="id458759"></a> 292 310 This configuration allows Winbind installations on multiple servers to 293 311 share a UID/GID number space, thus avoiding the interoperability problems 294 312 with NFS that were present in Samba-2.2. 295 </p></div></div></div></div>< div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="migration.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="NT4Migration.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Part IV. Migration and Updating </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 36. Migration from NT4 PDC to Samba-3 PDC</td></tr></table></div></body></html>313 </p></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="migration.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="NT4Migration.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Part IV. Migration and Updating </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 36. Migration from NT4 PDC to Samba-3 PDC</td></tr></table></div></body></html>
Note:
See TracChangeset
for help on using the changeset viewer.