- Timestamp:
- Nov 27, 2012, 4:43:17 PM (13 years ago)
- Location:
- trunk/server
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server
- Property svn:mergeinfo changed
/vendor/current merged: 581,587,591,594,597,600,615,618,740
- Property svn:mergeinfo changed
-
trunk/server/docs/htmldocs/Samba3-HOWTO/upgrading-to-3.0.html
r599 r745 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 35. Updating and Upgrading Samba</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.5.x HOWTO and Reference Guide"><link rel="up" href="migration.html" title="Part IV. Migration and Updating"><link rel="prev" href="migration.html" title="Part IV. Migration and Updating"><link rel="next" href="NT4Migration.html" title="Chapter 36. Migration from NT4 PDC to Samba-3 PDC"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 35. Updating and Upgrading Samba</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="migration.html">Prev</a> </td><th width="60%" align="center">Part IV. Migration and Updating</th><td width="20%" align="right"> <a accesskey="n" href="NT4Migration.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 35. Updating and Upgrading Samba"><div class="titlepage"><div><div><h2 class="title"><a name="upgrading-to-3.0"></a>Chapter 35. Updating and Upgrading Samba</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>></code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Gerald</span> <span class="othername">(Jerry)</span> <span class="surname">Carter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jerry@samba.org">jerry@samba.org</a>></code></p></div></div></div></div><div><p class="pubdate">August 16, 2007</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="upgrading-to-3.0.html#id43846 7">Key Update Requirements</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id438487">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#id438533">Quick Migration Guide</a></span></dt></dl></dd><dt><span class="sect1"><a href="upgrading-to-3.0.html#id438671">New Features in Samba-3.x Series</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id438680">New Features in Samba-3.2.x Series</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id438920">New Features in Samba-3.0.x</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id440071">New Functionality</a></span></dt></dl></dd></dl></div><p>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 35. Updating and Upgrading Samba</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.5.x HOWTO and Reference Guide"><link rel="up" href="migration.html" title="Part IV. Migration and Updating"><link rel="prev" href="migration.html" title="Part IV. Migration and Updating"><link rel="next" href="NT4Migration.html" title="Chapter 36. Migration from NT4 PDC to Samba-3 PDC"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 35. Updating and Upgrading Samba</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="migration.html">Prev</a> </td><th width="60%" align="center">Part IV. Migration and Updating</th><td width="20%" align="right"> <a accesskey="n" href="NT4Migration.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 35. Updating and Upgrading Samba"><div class="titlepage"><div><div><h2 class="title"><a name="upgrading-to-3.0"></a>Chapter 35. Updating and Upgrading Samba</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jelmer@samba.org">jelmer@samba.org</a>></code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">Gerald</span> <span class="othername">(Jerry)</span> <span class="surname">Carter</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jerry@samba.org">jerry@samba.org</a>></code></p></div></div></div></div><div><p class="pubdate">August 16, 2007</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="upgrading-to-3.0.html#id438461">Key Update Requirements</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id438485">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#id438531">Quick Migration Guide</a></span></dt></dl></dd><dt><span class="sect1"><a href="upgrading-to-3.0.html#id438669">New Features in Samba-3.x Series</a></span></dt><dd><dl><dt><span class="sect2"><a href="upgrading-to-3.0.html#id438678">New Features in Samba-3.2.x Series</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id438918">New Features in Samba-3.0.x</a></span></dt><dt><span class="sect2"><a href="upgrading-to-3.0.html#id440069">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" title="Key Update Requirements"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id43846 7"></a>Key Update Requirements</h2></div></div></div><p>5 </p><div class="sect1" title="Key Update Requirements"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id438461"></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" title="Upgrading from Samba-3.0.x to Samba-3.2.0"><div class="titlepage"><div><div><h3 class="title"><a name="id43848 7"></a>Upgrading from Samba-3.0.x to Samba-3.2.0</h3></div></div></div><p>16 </p><div class="sect2" title="Upgrading from Samba-3.0.x to Samba-3.2.0"><div class="titlepage"><div><div><h3 class="title"><a name="id438485"></a>Upgrading from Samba-3.0.x to Samba-3.2.0</h3></div></div></div><p> 17 17 </p></div><div class="sect2" title="Upgrading from Samba-2.x to Samba-3.0.25"><div class="titlepage"><div><div><h3 class="title"><a name="oldupdatenotes"></a>Upgrading from Samba-2.x to Samba-3.0.25</h3></div></div></div><p> 18 <a class="indexterm" name="id43850 9"></a>19 <a class="indexterm" name="id43851 5"></a>20 <a class="indexterm" name="id43852 2"></a>18 <a class="indexterm" name="id438507"></a> 19 <a class="indexterm" name="id438513"></a> 20 <a class="indexterm" name="id438520"></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" title="Quick Migration Guide"><div class="titlepage"><div><div><h3 class="title"><a name="id43853 3"></a>Quick Migration Guide</h3></div></div></div><p>24 </p></div><div class="sect2" title="Quick Migration Guide"><div class="titlepage"><div><div><h3 class="title"><a name="id438531"></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="id43857 9"></a>32 <a class="indexterm" name="id43858 6"></a>31 <a class="indexterm" name="id438577"></a> 32 <a class="indexterm" name="id438584"></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="id43860 3"></a>40 <a class="indexterm" name="id4386 10"></a>41 <a class="indexterm" name="id43861 7"></a>42 <a class="indexterm" name="id43862 4"></a>39 <a class="indexterm" name="id438601"></a> 40 <a class="indexterm" name="id438608"></a> 41 <a class="indexterm" name="id438615"></a> 42 <a class="indexterm" name="id438622"></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" title="New Features in Samba-3.x Series"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id4386 71"></a>New Features in Samba-3.x Series</h2></div></div></div><p>50 </p><div class="sect2" title="New Features in Samba-3.2.x Series"><div class="titlepage"><div><div><h3 class="title"><a name="id4386 80"></a>New Features in Samba-3.2.x Series</h3></div></div></div><p>Samba is now distributed under the version 349 </p></div></div><div class="sect1" title="New Features in Samba-3.x Series"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id438669"></a>New Features in Samba-3.x Series</h2></div></div></div><p> 50 </p><div class="sect2" title="New Features in Samba-3.2.x Series"><div class="titlepage"><div><div><h3 class="title"><a name="id438678"></a>New Features in Samba-3.2.x Series</h3></div></div></div><p>Samba is now distributed under the version 3 51 51 of the new GNU General Public License. 52 52 </p><p> 53 53 The major new features are: 54 54 </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p> 55 <a class="indexterm" name="id43870 4"></a>56 <a class="indexterm" name="id4387 11"></a>55 <a class="indexterm" name="id438702"></a> 56 <a class="indexterm" name="id438709"></a> 57 57 Removal of the 1024 byte limit on pathnames and 256 byte limit on 58 58 filename components to honor the MAX_PATH setting from the host OS. 59 59 </p></li><li class="listitem"><p> 60 <a class="indexterm" name="id43872 4"></a>61 <a class="indexterm" name="id4387 30"></a>60 <a class="indexterm" name="id438722"></a> 61 <a class="indexterm" name="id438728"></a> 62 62 Introduction of a registry based configuration system. 63 63 </p></li><li class="listitem"><p> 64 <a class="indexterm" name="id43874 2"></a>64 <a class="indexterm" name="id438740"></a> 65 65 Experimental support for file serving clusters. 66 66 </p></li><li class="listitem"><p> 67 <a class="indexterm" name="id43875 4"></a>67 <a class="indexterm" name="id438752"></a> 68 68 Support for IPv6 in the server, and client tools and libraries. 69 69 </p></li><li class="listitem"><p> 70 <a class="indexterm" name="id43876 6"></a>70 <a class="indexterm" name="id438764"></a> 71 71 Support for storing alternate data streams in xattrs. 72 72 </p></li><li class="listitem"><p> 73 <a class="indexterm" name="id43877 7"></a>73 <a class="indexterm" name="id438775"></a> 74 74 Encrypted SMB transport in client tools and libraries, and server. 75 75 </p></li><li class="listitem"><p> 76 <a class="indexterm" name="id43878 9"></a>76 <a class="indexterm" name="id438787"></a> 77 77 Support for Vista clients authenticating via Kerberos. 78 78 </p></li><li class="listitem"><p> 79 <a class="indexterm" name="id438 801"></a>80 <a class="indexterm" name="id43880 8"></a>79 <a class="indexterm" name="id438799"></a> 80 <a class="indexterm" name="id438806"></a> 81 81 Full support for Windows 2003 cross-forest, transitive trusts 82 82 and one-way domain trusts. 83 83 </p></li><li class="listitem"><p> 84 <a class="indexterm" name="id4388 20"></a>84 <a class="indexterm" name="id438818"></a> 85 85 Support for userPrincipalName logons via pam_winbind and NSS lookups. 86 86 </p></li><li class="listitem"><p> 87 <a class="indexterm" name="id4388 31"></a>88 <a class="indexterm" name="id43883 8"></a>89 <a class="indexterm" name="id43884 5"></a>87 <a class="indexterm" name="id438829"></a> 88 <a class="indexterm" name="id438836"></a> 89 <a class="indexterm" name="id438843"></a> 90 90 Support for Active Directory LDAP Signing policy. 91 91 </p></li><li class="listitem"><p> 92 <a class="indexterm" name="id43885 7"></a>93 <a class="indexterm" name="id43886 3"></a>92 <a class="indexterm" name="id438855"></a> 93 <a class="indexterm" name="id438861"></a> 94 94 New LGPL Winbind client library (libwbclient.so). 95 95 </p></li><li class="listitem"><p> 96 <a class="indexterm" name="id43887 5"></a>97 <a class="indexterm" name="id43888 2"></a>96 <a class="indexterm" name="id438873"></a> 97 <a class="indexterm" name="id438880"></a> 98 98 Support for establishing interdomain trust relationships with Windows 2008. 99 99 </p></li><li class="listitem"><p> 100 <a class="indexterm" name="id43889 3"></a>100 <a class="indexterm" name="id438891"></a> 101 101 New client and server support for remotely joining and unjoining Domains. 102 102 </p></li><li class="listitem"><p> 103 <a class="indexterm" name="id43890 6"></a>103 <a class="indexterm" name="id438904"></a> 104 104 Support for joining into Windows 2008 domains. 105 105 </p></li></ol></div><p> 106 106 Plus lots of other improvements! 107 </p></div><div class="sect2" title="New Features in Samba-3.0.x"><div class="titlepage"><div><div><h3 class="title"><a name="id4389 20"></a>New Features in Samba-3.0.x</h3></div></div></div><p>107 </p></div><div class="sect2" title="New Features in Samba-3.0.x"><div class="titlepage"><div><div><h3 class="title"><a name="id438918"></a>New Features in Samba-3.0.x</h3></div></div></div><p> 108 108 The major new features are: 109 109 </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p> 110 <a class="indexterm" name="id4389 41"></a>111 <a class="indexterm" name="id43894 8"></a>110 <a class="indexterm" name="id438939"></a> 111 <a class="indexterm" name="id438946"></a> 112 112 Active Directory support. This release is able to join an ADS realm 113 113 as a member server and authenticate users using LDAP/Kerberos. 114 114 </p></li><li class="listitem"><p> 115 <a class="indexterm" name="id4389 60"></a>116 <a class="indexterm" name="id43896 7"></a>115 <a class="indexterm" name="id438958"></a> 116 <a class="indexterm" name="id438965"></a> 117 117 Unicode support. Samba will now negotiate Unicode on the wire, and 118 118 internally there is a much better infrastructure for multibyte 119 119 and Unicode character sets. 120 120 </p></li><li class="listitem"><p> 121 <a class="indexterm" name="id4389 80"></a>121 <a class="indexterm" name="id438978"></a> 122 122 New authentication system. The internal authentication system has 123 123 been almost completely rewritten. Most of the changes are internal, 124 124 but the new authoring system is also very configurable. 125 125 </p></li><li class="listitem"><p> 126 <a class="indexterm" name="id43899 2"></a>126 <a class="indexterm" name="id438990"></a> 127 127 New filename mangling system. The filename mangling system has been 128 128 completely rewritten. An internal database now stores mangling maps 129 129 persistently. 130 130 </p></li><li class="listitem"><p> 131 <a class="indexterm" name="id43900 5"></a>131 <a class="indexterm" name="id439003"></a> 132 132 New <span class="quote">“<span class="quote">net</span>”</span> command. A new <span class="quote">“<span class="quote">net</span>”</span> command has been added. It is 133 133 somewhat similar to the <span class="quote">“<span class="quote">net</span>”</span> command in Windows. Eventually, we … … 135 135 with subcommands in <span class="quote">“<span class="quote">net</span>”</span>. 136 136 </p></li><li class="listitem"><p> 137 <a class="indexterm" name="id4390 31"></a>137 <a class="indexterm" name="id439029"></a> 138 138 Samba now negotiates NT-style status32 codes on the wire. This 139 139 considerably improves error handling. 140 140 </p></li><li class="listitem"><p> 141 <a class="indexterm" name="id43904 3"></a>141 <a class="indexterm" name="id439041"></a> 142 142 Better Windows 200x/XP printing support, including publishing 143 143 printer attributes in Active Directory. 144 144 </p></li><li class="listitem"><p> 145 <a class="indexterm" name="id43905 6"></a>146 <a class="indexterm" name="id43906 2"></a>147 <a class="indexterm" name="id43906 9"></a>145 <a class="indexterm" name="id439054"></a> 146 <a class="indexterm" name="id439060"></a> 147 <a class="indexterm" name="id439067"></a> 148 148 New loadable RPC modules for passdb backends and character sets. 149 149 </p></li><li class="listitem"><p> 150 <a class="indexterm" name="id4390 81"></a>150 <a class="indexterm" name="id439079"></a> 151 151 New default dual-daemon winbindd support for better performance. 152 152 </p></li><li class="listitem"><p> 153 <a class="indexterm" name="id43909 3"></a>154 <a class="indexterm" name="id439 100"></a>155 <a class="indexterm" name="id43910 6"></a>153 <a class="indexterm" name="id439091"></a> 154 <a class="indexterm" name="id439098"></a> 155 <a class="indexterm" name="id439104"></a> 156 156 Support for migrating from a Windows NT 4.0 domain to a Samba 157 157 domain and maintaining user, group, and domain SIDs. 158 158 </p></li><li class="listitem"><p> 159 <a class="indexterm" name="id43911 8"></a>160 <a class="indexterm" name="id43912 5"></a>159 <a class="indexterm" name="id439116"></a> 160 <a class="indexterm" name="id439123"></a> 161 161 Support for establishing trust relationships with Windows NT 4.0 162 162 domain controllers. 163 163 </p></li><li class="listitem"><p> 164 <a class="indexterm" name="id43913 7"></a>165 <a class="indexterm" name="id43914 4"></a>166 <a class="indexterm" name="id4391 51"></a>164 <a class="indexterm" name="id439135"></a> 165 <a class="indexterm" name="id439142"></a> 166 <a class="indexterm" name="id439149"></a> 167 167 Initial support for a distributed Winbind architecture using 168 168 an LDAP directory for storing SID to UID/GID mappings. … … 170 170 Major updates to the Samba documentation tree. 171 171 </p></li><li class="listitem"><p> 172 <a class="indexterm" name="id43916 8"></a>173 <a class="indexterm" name="id43917 4"></a>172 <a class="indexterm" name="id439166"></a> 173 <a class="indexterm" name="id439172"></a> 174 174 Full support for client and server SMB signing to ensure 175 175 compatibility with default Windows 2003 security settings. 176 176 </p></li></ol></div><p> 177 177 Plus lots of other improvements! 178 </p><div class="sect3" title="Configuration Parameter Changes"><div class="titlepage"><div><div><h4 class="title"><a name="id43918 8"></a>Configuration Parameter Changes</h4></div></div></div><p>178 </p><div class="sect3" title="Configuration Parameter Changes"><div class="titlepage"><div><div><h4 class="title"><a name="id439186"></a>Configuration Parameter Changes</h4></div></div></div><p> 179 179 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 180 180 including Samba-3.0.25. … … 187 187 be obtain on-line from the Samba <a class="ulink" href="http://www.samba.org/samba/" target="_top">web site</a>, in 188 188 the right column, under Current Stable Release, by clicking on <span class="emphasis"><em>Release Notes</em></span>. 189 </p></div><div class="sect3" title="Removed Parameters"><div class="titlepage"><div><div><h4 class="title"><a name="id43922 8"></a>Removed Parameters</h4></div></div></div><a class="indexterm" name="id439234"></a><p>189 </p></div><div class="sect3" title="Removed Parameters"><div class="titlepage"><div><div><h4 class="title"><a name="id439226"></a>Removed Parameters</h4></div></div></div><a class="indexterm" name="id439232"></a><p> 190 190 In alphabetical order, these are the parameters eliminated from Samba-2.2.x through 3.0.25. 191 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>admin log</p></li><li class="listitem"><p>alternate permissions</p></li><li class="listitem"><p>character set</p></li><li class="listitem"><p>client codepage</p></li><li class="listitem"><p>code page directory</p></li><li class="listitem"><p>coding system</p></li><li class="listitem"><p>domain admin group</p></li><li class="listitem"><p>domain guest group</p></li><li class="listitem"><p>enable rid algorithm</p></li><li class="listitem"><p>enable svcctl</p></li><li class="listitem"><p>force unknown acl user</p></li><li class="listitem"><p>hosts equiv</p></li><li class="listitem"><p>ldap filter</p></li><li class="listitem"><p>min password length</p></li><li class="listitem"><p>nt smb support</p></li><li class="listitem"><p>post script</p></li><li class="listitem"><p>printer admin</p></li><li class="listitem"><p>printer driver</p></li><li class="listitem"><p>printer driver file</p></li><li class="listitem"><p>printer driver location</p></li><li class="listitem"><p>read size</p></li><li class="listitem"><p>source environment</p></li><li class="listitem"><p>status </p></li><li class="listitem"><p>strip dot </p></li><li class="listitem"><p>total print jobs</p></li><li class="listitem"><p>unicode</p></li><li class="listitem"><p>use rhosts</p></li><li class="listitem"><p>valid chars</p></li><li class="listitem"><p>vfs options</p></li><li class="listitem"><p>winbind enable local accounts</p></li><li class="listitem"><p>winbind max idle children</p></li><li class="listitem"><p>wins partners</p></li></ul></div></div><div class="sect3" title="New Parameters"><div class="titlepage"><div><div><h4 class="title"><a name="id43939 4"></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="id439407"></a><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>abort shutdown script</p></li><li class="listitem"><p>shutdown script</p></li></ul></div><p>User and Group Account Management</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>add group script</p></li><li class="listitem"><p>add machine script</p></li><li class="listitem"><p>add user to group script</p></li><li class="listitem"><p>algorithmic rid base</p></li><li class="listitem"><p>delete group script</p></li><li class="listitem"><p>delete user from group script</p></li><li class="listitem"><p>passdb backend</p></li><li class="listitem"><p>rename user script</p></li><li class="listitem"><p>set primary group script</p></li><li class="listitem"><p>username map script</p></li></ul></div><p>Authentication</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>auth methods</p></li><li class="listitem"><p>ldap password sync</p></li><li class="listitem"><p>passdb expand explicit</p></li><li class="listitem"><p>realm</p></li></ul></div><p>Protocol Options</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>add port command</p></li><li class="listitem"><p>afs token lifetime</p></li><li class="listitem"><p>client lanman auth</p></li><li class="listitem"><p>client NTLMv2 auth</p></li><li class="listitem"><p>client schannel</p></li><li class="listitem"><p>client signing</p></li><li class="listitem"><p>client use spnego</p></li><li class="listitem"><p>defer sharing violations</p></li><li class="listitem"><p>disable netbios</p></li><li class="listitem"><p>dmapi support</p></li><li class="listitem"><p>enable privileges</p></li><li class="listitem"><p>use kerberos keytab</p></li><li class="listitem"><p>log nt token command</p></li><li class="listitem"><p>ntlm auth</p></li><li class="listitem"><p>paranoid server security </p></li><li class="listitem"><p>sendfile</p></li><li class="listitem"><p>server schannel</p></li><li class="listitem"><p>server signing</p></li><li class="listitem"><p>smb ports</p></li><li class="listitem"><p>svcctl list</p></li><li class="listitem"><p>use spnego</p></li></ul></div><p>File Service</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>allocation roundup size</p></li><li class="listitem"><p>acl check permissions</p></li><li class="listitem"><p>acl group control</p></li><li class="listitem"><p>acl map full control</p></li><li class="listitem"><p>aio read size</p></li><li class="listitem"><p>aio write size</p></li><li class="listitem"><p>dfree cache time</p></li><li class="listitem"><p>dfree command</p></li><li class="listitem"><p>ea support</p></li><li class="listitem"><p>enable asu support</p></li><li class="listitem"><p>fam change notify</p></li><li class="listitem"><p>force unknown acl user</p></li><li class="listitem"><p>get quota command</p></li><li class="listitem"><p>hide special files</p></li><li class="listitem"><p>hide unwriteable files</p></li><li class="listitem"><p>inherit owner</p></li><li class="listitem"><p>hostname lookups</p></li><li class="listitem"><p>kernel change notify</p></li><li class="listitem"><p>mangle prefix</p></li><li class="listitem"><p>map acl inherit</p></li><li class="listitem"><p>map read only</p></li><li class="listitem"><p>max stat cache size</p></li><li class="listitem"><p>msdfs proxy</p></li><li class="listitem"><p>open files database hash size</p></li><li class="listitem"><p>set quota command</p></li><li class="listitem"><p>store dos attributes</p></li><li class="listitem"><p>use sendfile</p></li><li class="listitem"><p>usershare allow guests</p></li><li class="listitem"><p>usershare max shares</p></li><li class="listitem"><p>usershare owner only</p></li><li class="listitem"><p>usershare path</p></li><li class="listitem"><p>usershare prefix allow list</p></li><li class="listitem"><p>usershare prefix deny list</p></li><li class="listitem"><p>usershare template share</p></li><li class="listitem"><p>vfs objects</p></li></ul></div><p>Printing</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>cups options</p></li><li class="listitem"><p>cups server</p></li><li class="listitem"><p>force printername</p></li><li class="listitem"><p>iprint server</p></li><li class="listitem"><p>max reported print jobs</p></li><li class="listitem"><p>printcap cache time</p></li></ul></div><p>Unicode and Character Sets</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>display charset</p></li><li class="listitem"><p>dos charset</p></li><li class="listitem"><p>UNIX charset</p></li></ul></div><p>SID to UID/GID Mappings</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>idmap backend</p></li><li class="listitem"><p>idmap gid</p></li><li class="listitem"><p>idmap uid</p></li><li class="listitem"><p>username map script</p></li><li class="listitem"><p>winbind nss info</p></li><li class="listitem"><p>winbind offline logon</p></li><li class="listitem"><p>winbind refresh tickets</p></li><li class="listitem"><p>winbind trusted domains only</p></li><li class="listitem"><p>template primary group</p></li></ul></div><p>LDAP</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>ldap delete dn</p></li><li class="listitem"><p>ldap group suffix</p></li><li class="listitem"><p>ldap idmap suffix</p></li><li class="listitem"><p>ldap machine suffix</p></li><li class="listitem"><p>ldap passwd sync</p></li><li class="listitem"><p>ldap replication sleep</p></li><li class="listitem"><p>ldap timeout</p></li><li class="listitem"><p>ldap user suffix</p></li></ul></div><p>General Configuration</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>eventlog list</p></li><li class="listitem"><p>preload modules</p></li><li class="listitem"><p>reset on zero vc</p></li><li class="listitem"><p>privatedir</p></li></ul></div></div><div class="sect3" title="Modified Parameters (Changes in Behavior)"><div class="titlepage"><div><div><h4 class="title"><a name="id439942"></a>Modified Parameters (Changes in Behavior)</h4></div></div></div><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>acl group control (new default is No, deprecated parameter)</p></li><li class="listitem"><p>change notify timeout (scope changed)</p></li><li class="listitem"><p>dos filemode (disabled by default)</p></li><li class="listitem"><p>dos filetimes (enabled by default)</p></li><li class="listitem"><p>enable asu support (disabled by default)</p></li><li class="listitem"><p>enable privileges (enabled by default)</p></li><li class="listitem"><p>encrypt passwords (enabled by default) </p></li><li class="listitem"><p>host msdfs (enabled by default)</p></li><li class="listitem"><p>mangling method (set to hash2 by default) </p></li><li class="listitem"><p>map to guest</p></li><li class="listitem"><p>only user (deprecated)</p></li><li class="listitem"><p>passwd chat</p></li><li class="listitem"><p>passwd program</p></li><li class="listitem"><p>password server</p></li><li class="listitem"><p>restrict anonymous (integer value)</p></li><li class="listitem"><p>security (new ads value)</p></li><li class="listitem"><p>strict locking (auto by default)</p></li><li class="listitem"><p>winbind cache time (increased to 5 minutes)</p></li><li class="listitem"><p>winbind enum groups (disabled by default)</p></li><li class="listitem"><p>winbind enum users (disabled by default)</p></li><li class="listitem"><p>winbind nested groups (enabled by default)</p></li><li class="listitem"><p>winbind uid (deprecated in favor of idmap uid)</p></li><li class="listitem"><p>winbind gid (deprecated in favor of idmap gid)</p></li><li class="listitem"><p>winbindd nss info</p></li><li class="listitem"><p>write cache (deprecated)</p></li></ul></div></div></div><div class="sect2" title="New Functionality"><div class="titlepage"><div><div><h3 class="title"><a name="id440071"></a>New Functionality</h3></div></div></div><p>192 <a class="indexterm" name="id44007 8"></a>191 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>admin log</p></li><li class="listitem"><p>alternate permissions</p></li><li class="listitem"><p>character set</p></li><li class="listitem"><p>client codepage</p></li><li class="listitem"><p>code page directory</p></li><li class="listitem"><p>coding system</p></li><li class="listitem"><p>domain admin group</p></li><li class="listitem"><p>domain guest group</p></li><li class="listitem"><p>enable rid algorithm</p></li><li class="listitem"><p>enable svcctl</p></li><li class="listitem"><p>force unknown acl user</p></li><li class="listitem"><p>hosts equiv</p></li><li class="listitem"><p>ldap filter</p></li><li class="listitem"><p>min password length</p></li><li class="listitem"><p>nt smb support</p></li><li class="listitem"><p>post script</p></li><li class="listitem"><p>printer admin</p></li><li class="listitem"><p>printer driver</p></li><li class="listitem"><p>printer driver file</p></li><li class="listitem"><p>printer driver location</p></li><li class="listitem"><p>read size</p></li><li class="listitem"><p>source environment</p></li><li class="listitem"><p>status </p></li><li class="listitem"><p>strip dot </p></li><li class="listitem"><p>total print jobs</p></li><li class="listitem"><p>unicode</p></li><li class="listitem"><p>use rhosts</p></li><li class="listitem"><p>valid chars</p></li><li class="listitem"><p>vfs options</p></li><li class="listitem"><p>winbind enable local accounts</p></li><li class="listitem"><p>winbind max idle children</p></li><li class="listitem"><p>wins partners</p></li></ul></div></div><div class="sect3" title="New Parameters"><div class="titlepage"><div><div><h4 class="title"><a name="id439392"></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="id439405"></a><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>abort shutdown script</p></li><li class="listitem"><p>shutdown script</p></li></ul></div><p>User and Group Account Management</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>add group script</p></li><li class="listitem"><p>add machine script</p></li><li class="listitem"><p>add user to group script</p></li><li class="listitem"><p>algorithmic rid base</p></li><li class="listitem"><p>delete group script</p></li><li class="listitem"><p>delete user from group script</p></li><li class="listitem"><p>passdb backend</p></li><li class="listitem"><p>rename user script</p></li><li class="listitem"><p>set primary group script</p></li><li class="listitem"><p>username map script</p></li></ul></div><p>Authentication</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>auth methods</p></li><li class="listitem"><p>ldap password sync</p></li><li class="listitem"><p>passdb expand explicit</p></li><li class="listitem"><p>realm</p></li></ul></div><p>Protocol Options</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>add port command</p></li><li class="listitem"><p>afs token lifetime</p></li><li class="listitem"><p>client lanman auth</p></li><li class="listitem"><p>client NTLMv2 auth</p></li><li class="listitem"><p>client schannel</p></li><li class="listitem"><p>client signing</p></li><li class="listitem"><p>client use spnego</p></li><li class="listitem"><p>defer sharing violations</p></li><li class="listitem"><p>disable netbios</p></li><li class="listitem"><p>dmapi support</p></li><li class="listitem"><p>enable privileges</p></li><li class="listitem"><p>use kerberos keytab</p></li><li class="listitem"><p>log nt token command</p></li><li class="listitem"><p>ntlm auth</p></li><li class="listitem"><p>paranoid server security </p></li><li class="listitem"><p>sendfile</p></li><li class="listitem"><p>server schannel</p></li><li class="listitem"><p>server signing</p></li><li class="listitem"><p>smb ports</p></li><li class="listitem"><p>svcctl list</p></li><li class="listitem"><p>use spnego</p></li></ul></div><p>File Service</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>allocation roundup size</p></li><li class="listitem"><p>acl check permissions</p></li><li class="listitem"><p>acl group control</p></li><li class="listitem"><p>acl map full control</p></li><li class="listitem"><p>aio read size</p></li><li class="listitem"><p>aio write size</p></li><li class="listitem"><p>dfree cache time</p></li><li class="listitem"><p>dfree command</p></li><li class="listitem"><p>ea support</p></li><li class="listitem"><p>enable asu support</p></li><li class="listitem"><p>fam change notify</p></li><li class="listitem"><p>force unknown acl user</p></li><li class="listitem"><p>get quota command</p></li><li class="listitem"><p>hide special files</p></li><li class="listitem"><p>hide unwriteable files</p></li><li class="listitem"><p>inherit owner</p></li><li class="listitem"><p>hostname lookups</p></li><li class="listitem"><p>kernel change notify</p></li><li class="listitem"><p>mangle prefix</p></li><li class="listitem"><p>map acl inherit</p></li><li class="listitem"><p>map read only</p></li><li class="listitem"><p>max stat cache size</p></li><li class="listitem"><p>msdfs proxy</p></li><li class="listitem"><p>open files database hash size</p></li><li class="listitem"><p>set quota command</p></li><li class="listitem"><p>store dos attributes</p></li><li class="listitem"><p>use sendfile</p></li><li class="listitem"><p>usershare allow guests</p></li><li class="listitem"><p>usershare max shares</p></li><li class="listitem"><p>usershare owner only</p></li><li class="listitem"><p>usershare path</p></li><li class="listitem"><p>usershare prefix allow list</p></li><li class="listitem"><p>usershare prefix deny list</p></li><li class="listitem"><p>usershare template share</p></li><li class="listitem"><p>vfs objects</p></li></ul></div><p>Printing</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>cups options</p></li><li class="listitem"><p>cups server</p></li><li class="listitem"><p>force printername</p></li><li class="listitem"><p>iprint server</p></li><li class="listitem"><p>max reported print jobs</p></li><li class="listitem"><p>printcap cache time</p></li></ul></div><p>Unicode and Character Sets</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>display charset</p></li><li class="listitem"><p>dos charset</p></li><li class="listitem"><p>UNIX charset</p></li></ul></div><p>SID to UID/GID Mappings</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>idmap backend</p></li><li class="listitem"><p>idmap gid</p></li><li class="listitem"><p>idmap uid</p></li><li class="listitem"><p>username map script</p></li><li class="listitem"><p>winbind nss info</p></li><li class="listitem"><p>winbind offline logon</p></li><li class="listitem"><p>winbind refresh tickets</p></li><li class="listitem"><p>winbind trusted domains only</p></li><li class="listitem"><p>template primary group</p></li></ul></div><p>LDAP</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>ldap delete dn</p></li><li class="listitem"><p>ldap group suffix</p></li><li class="listitem"><p>ldap idmap suffix</p></li><li class="listitem"><p>ldap machine suffix</p></li><li class="listitem"><p>ldap passwd sync</p></li><li class="listitem"><p>ldap replication sleep</p></li><li class="listitem"><p>ldap timeout</p></li><li class="listitem"><p>ldap user suffix</p></li></ul></div><p>General Configuration</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>eventlog list</p></li><li class="listitem"><p>preload modules</p></li><li class="listitem"><p>reset on zero vc</p></li><li class="listitem"><p>privatedir</p></li></ul></div></div><div class="sect3" title="Modified Parameters (Changes in Behavior)"><div class="titlepage"><div><div><h4 class="title"><a name="id439940"></a>Modified Parameters (Changes in Behavior)</h4></div></div></div><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>acl group control (new default is No, deprecated parameter)</p></li><li class="listitem"><p>change notify timeout (scope changed)</p></li><li class="listitem"><p>dos filemode (disabled by default)</p></li><li class="listitem"><p>dos filetimes (enabled by default)</p></li><li class="listitem"><p>enable asu support (disabled by default)</p></li><li class="listitem"><p>enable privileges (enabled by default)</p></li><li class="listitem"><p>encrypt passwords (enabled by default) </p></li><li class="listitem"><p>host msdfs (enabled by default)</p></li><li class="listitem"><p>mangling method (set to hash2 by default) </p></li><li class="listitem"><p>map to guest</p></li><li class="listitem"><p>only user (deprecated)</p></li><li class="listitem"><p>passwd chat</p></li><li class="listitem"><p>passwd program</p></li><li class="listitem"><p>password server</p></li><li class="listitem"><p>restrict anonymous (integer value)</p></li><li class="listitem"><p>security (new ads value)</p></li><li class="listitem"><p>strict locking (auto by default)</p></li><li class="listitem"><p>winbind cache time (increased to 5 minutes)</p></li><li class="listitem"><p>winbind enum groups (disabled by default)</p></li><li class="listitem"><p>winbind enum users (disabled by default)</p></li><li class="listitem"><p>winbind nested groups (enabled by default)</p></li><li class="listitem"><p>winbind uid (deprecated in favor of idmap uid)</p></li><li class="listitem"><p>winbind gid (deprecated in favor of idmap gid)</p></li><li class="listitem"><p>winbindd nss info</p></li><li class="listitem"><p>write cache (deprecated)</p></li></ul></div></div></div><div class="sect2" title="New Functionality"><div class="titlepage"><div><div><h3 class="title"><a name="id440069"></a>New Functionality</h3></div></div></div><p> 192 <a class="indexterm" name="id440076"></a> 193 193 The major changes in behavior since that Samba-2.2.x series are documented in this section. 194 194 Please refer to the <code class="filename">WHATSNEW.txt</code> file that ships with every release of 195 195 Samba to obtain detailed information regarding the changes that have been made during the 196 196 life of the current Samba release. 197 </p><div class="sect3" title="TDB Data Files"><div class="titlepage"><div><div><h4 class="title"><a name="id44009 5"></a>TDB Data Files</h4></div></div></div><a class="indexterm" name="id440100"></a><p>197 </p><div class="sect3" title="TDB Data Files"><div class="titlepage"><div><div><h4 class="title"><a name="id440093"></a>TDB Data Files</h4></div></div></div><a class="indexterm" name="id440098"></a><p> 198 198 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> 199 199 for information pertaining to the Samba-3 data files, their location and the information that must be 200 200 preserved across server migrations, updates and upgrades. 201 201 </p><p> 202 <a class="indexterm" name="id44012 8"></a>202 <a class="indexterm" name="id440126"></a> 203 203 Please remember to back up your existing ${lock directory}/*tdb before upgrading to Samba-3. If necessary, 204 204 Samba will upgrade databases as they are opened. Downgrading from Samba-3 to 2.2, or reversion to an earlier 205 205 version of Samba-3 from a later release, is an unsupported path. 206 206 </p><p> 207 <a class="indexterm" name="id4401 40"></a>207 <a class="indexterm" name="id440138"></a> 208 208 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>. 209 209 </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 210 exporting various database tables via the winreg RPCs.</p></td><td align="left">no</td></tr><tr><td align="left">sessionid</td><td align="justify"><p>Temporary cache for miscellaneous session information.</p></td><td align="left">no</td></tr><tr><td align="left">share_info</td><td align="justify">Share ACL settings.</td><td align="left">yes</td></tr><tr><td align="left">unexpected</td><td align="justify"><p>Packets received for which no process was listening.</p></td><td align="left">no</td></tr><tr><td align="left">winbindd_cache</td><td align="justify"><p>Cache of identity information received from an NT4 or an ADS domain.</p></td><td align="left">yes</td></tr><tr><td align="left">winbindd_idmap</td><td align="justify"><p>New ID map table from SIDS to UNIX UIDs/GIDs.</p></td><td align="left">yes</td></tr></tbody></table></div></div><br class="table-break"></div><div class="sect3" title="Changes in Behavior"><div class="titlepage"><div><div><h4 class="title"><a name="id44043 2"></a>Changes in Behavior</h4></div></div></div><p>210 exporting various database tables via the winreg RPCs.</p></td><td align="left">no</td></tr><tr><td align="left">sessionid</td><td align="justify"><p>Temporary cache for miscellaneous session information.</p></td><td align="left">no</td></tr><tr><td align="left">share_info</td><td align="justify">Share ACL settings.</td><td align="left">yes</td></tr><tr><td align="left">unexpected</td><td align="justify"><p>Packets received for which no process was listening.</p></td><td align="left">no</td></tr><tr><td align="left">winbindd_cache</td><td align="justify"><p>Cache of identity information received from an NT4 or an ADS domain.</p></td><td align="left">yes</td></tr><tr><td align="left">winbindd_idmap</td><td align="justify"><p>New ID map table from SIDS to UNIX UIDs/GIDs.</p></td><td align="left">yes</td></tr></tbody></table></div></div><br class="table-break"></div><div class="sect3" title="Changes in Behavior"><div class="titlepage"><div><div><h4 class="title"><a name="id440430"></a>Changes in Behavior</h4></div></div></div><p> 211 211 The following issues are known changes in behavior between Samba-2.2 and 212 212 Samba-3 that may affect certain installations of Samba. 213 213 </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p> 214 <a class="indexterm" name="id44045 2"></a>215 <a class="indexterm" name="id44045 9"></a>216 <a class="indexterm" name="id44046 5"></a>214 <a class="indexterm" name="id440450"></a> 215 <a class="indexterm" name="id440457"></a> 216 <a class="indexterm" name="id440463"></a> 217 217 When operating as a member of a Windows domain, Samba-2.2 would map any users authenticated by the remote DC 218 218 to the <span class="quote">“<span class="quote">guest account</span>”</span> if a UID could not be obtained via the getpwnam() call. Samba-3 rejects … … 220 220 to re-establish the Samba-2.2 behavior. 221 221 </p></li><li class="listitem"><p> 222 <a class="indexterm" name="id44048 7"></a>223 <a class="indexterm" name="id44049 3"></a>222 <a class="indexterm" name="id440485"></a> 223 <a class="indexterm" name="id440491"></a> 224 224 When adding machines to a Samba-2.2 controlled domain, the 225 225 <span class="quote">“<span class="quote">add user script</span>”</span> was used to create the UNIX identity of the … … 228 228 not fall back to using the <span class="quote">“<span class="quote">add user script</span>”</span> in the absence of 229 229 an <span class="quote">“<span class="quote">add machine script</span>”</span>. 230 </p></li></ol></div></div><div class="sect3" title="Passdb Backends and Authentication"><div class="titlepage"><div><div><h4 class="title"><a name="id4405 20"></a>Passdb Backends and Authentication</h4></div></div></div><p>230 </p></li></ol></div></div><div class="sect3" title="Passdb Backends and Authentication"><div class="titlepage"><div><div><h4 class="title"><a name="id440518"></a>Passdb Backends and Authentication</h4></div></div></div><p> 231 231 There have been a few new changes that Samba administrators should be 232 232 aware of when moving to Samba-3. 233 233 </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p> 234 <a class="indexterm" name="id4405 40"></a>234 <a class="indexterm" name="id440538"></a> 235 235 Encrypted passwords have been enabled by default in order to 236 236 interoperate better with out-of-the-box Windows client … … 239 239 must be explicitly defined in <code class="filename">smb.conf</code>. 240 240 </p></li><li class="listitem"><p> 241 <a class="indexterm" name="id44056 3"></a>242 <a class="indexterm" name="id4405 70"></a>243 <a class="indexterm" name="id44057 6"></a>241 <a class="indexterm" name="id440561"></a> 242 <a class="indexterm" name="id440568"></a> 243 <a class="indexterm" name="id440574"></a> 244 244 Inclusion of new <a class="link" href="smb.conf.5.html#SECURITY" target="_top">security = ads</a> option for integration 245 245 with an Active Directory domain using the native Windows Kerberos 5 and LDAP protocols. 246 246 </p></li></ol></div><p> 247 <a class="indexterm" name="id440 600"></a>247 <a class="indexterm" name="id440598"></a> 248 248 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 249 249 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 … … 251 251 the values actually mean in order to ensure Samba operates correctly. 252 252 </p><p> 253 <a class="indexterm" name="id44064 7"></a>254 <a class="indexterm" name="id44065 4"></a>255 <a class="indexterm" name="id4406 60"></a>253 <a class="indexterm" name="id440645"></a> 254 <a class="indexterm" name="id440652"></a> 255 <a class="indexterm" name="id440658"></a> 256 256 Certain functions of the <code class="literal">smbpasswd</code> tool have been split between the 257 257 new <code class="literal">smbpasswd</code> utility, the <code class="literal">net</code> tool, and the new <code class="literal">pdbedit</code> 258 258 utility. See the respective man pages for details. 259 </p></div><div class="sect3" title="LDAP"><div class="titlepage"><div><div><h4 class="title"><a name="id44069 4"></a>LDAP</h4></div></div></div><p>259 </p></div><div class="sect3" title="LDAP"><div class="titlepage"><div><div><h4 class="title"><a name="id440692"></a>LDAP</h4></div></div></div><p> 260 260 This section outlines the new features effecting Samba/LDAP integration. 261 </p><div class="sect4" title="New Schema"><div class="titlepage"><div><div><h5 class="title"><a name="id44070 3"></a>New Schema</h5></div></div></div><p>262 <a class="indexterm" name="id4407 11"></a>263 <a class="indexterm" name="id44071 7"></a>264 <a class="indexterm" name="id44072 4"></a>265 <a class="indexterm" name="id4407 31"></a>261 </p><div class="sect4" title="New Schema"><div class="titlepage"><div><div><h5 class="title"><a name="id440701"></a>New Schema</h5></div></div></div><p> 262 <a class="indexterm" name="id440709"></a> 263 <a class="indexterm" name="id440715"></a> 264 <a class="indexterm" name="id440722"></a> 265 <a class="indexterm" name="id440729"></a> 266 266 A new object class (sambaSamAccount) has been introduced to replace 267 267 the old sambaAccount. This change aids in the renaming of attributes … … 271 271 </p><p> 272 272 Example: 273 <a class="indexterm" name="id44074 4"></a>273 <a class="indexterm" name="id440742"></a> 274 274 </p><pre class="screen"> 275 275 <code class="prompt">$ </code>ldapsearch .... -LLL -b "ou=people,dc=..." > old.ldif 276 276 <code class="prompt">$ </code>convertSambaAccount --sid <DOM SID> --input old.ldif --output new.ldif 277 277 </pre><p> 278 <a class="indexterm" name="id44077 4"></a>278 <a class="indexterm" name="id440772"></a> 279 279 The <DOM SID> can be obtained by running 280 280 </p><pre class="screen"> 281 281 <code class="prompt">$ </code><strong class="userinput"><code>net getlocalsid <DOMAINNAME></code></strong> 282 282 </pre><p> 283 <a class="indexterm" name="id440 800"></a>283 <a class="indexterm" name="id440798"></a> 284 284 on the Samba PDC as root. 285 285 </p><p> 286 286 Under Samba-2.x the domain SID can be obtained by executing: 287 <a class="indexterm" name="id4408 10"></a>287 <a class="indexterm" name="id440808"></a> 288 288 </p><pre class="screen"> 289 289 <code class="prompt">$ </code><strong class="userinput"><code>smbpasswd -S <DOMAINNAME></code></strong> 290 290 </pre><p> 291 291 </p><p> 292 <a class="indexterm" name="id44083 6"></a>293 <a class="indexterm" name="id44084 3"></a>294 <a class="indexterm" name="id4408 50"></a>295 <a class="indexterm" name="id44085 7"></a>292 <a class="indexterm" name="id440834"></a> 293 <a class="indexterm" name="id440841"></a> 294 <a class="indexterm" name="id440848"></a> 295 <a class="indexterm" name="id440855"></a> 296 296 The old <code class="literal">sambaAccount</code> schema may still be used by specifying the 297 297 <em class="parameter"><code>ldapsam_compat</code></em> passdb backend. However, the sambaAccount and … … 303 303 Other new object classes and their uses include: 304 304 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> 305 <a class="indexterm" name="id440 900"></a>306 <a class="indexterm" name="id44090 7"></a>307 <a class="indexterm" name="id44091 4"></a>308 <a class="indexterm" name="id4409 20"></a>309 <a class="indexterm" name="id44092 7"></a>310 <a class="indexterm" name="id44093 4"></a>305 <a class="indexterm" name="id440898"></a> 306 <a class="indexterm" name="id440905"></a> 307 <a class="indexterm" name="id440912"></a> 308 <a class="indexterm" name="id440918"></a> 309 <a class="indexterm" name="id440925"></a> 310 <a class="indexterm" name="id440932"></a> 311 311 <code class="literal">sambaDomain</code> domain information used to allocate RIDs 312 312 for users and groups as necessary. The attributes are added … … 315 315 passdb backend has been selected. 316 316 </p></li><li class="listitem"><p> 317 <a class="indexterm" name="id44096 3"></a>318 <a class="indexterm" name="id44096 9"></a>319 <a class="indexterm" name="id44097 6"></a>317 <a class="indexterm" name="id440961"></a> 318 <a class="indexterm" name="id440967"></a> 319 <a class="indexterm" name="id440974"></a> 320 320 sambaGroupMapping an object representing the 321 321 relationship between a posixGroup and a Windows … … 323 323 group suffix</span>”</span> and managed by the <span class="quote">“<span class="quote">net groupmap</span>”</span> command. 324 324 </p></li><li class="listitem"><p> 325 <a class="indexterm" name="id44099 9"></a>326 <a class="indexterm" name="id44100 5"></a>327 <a class="indexterm" name="id44101 2"></a>328 <a class="indexterm" name="id44101 9"></a>325 <a class="indexterm" name="id440997"></a> 326 <a class="indexterm" name="id441003"></a> 327 <a class="indexterm" name="id441010"></a> 328 <a class="indexterm" name="id441017"></a> 329 329 <code class="literal">sambaUNIXIdPool</code> created in the <span class="quote">“<span class="quote">ldap idmap suffix</span>”</span> entry 330 330 automatically and contains the next available <span class="quote">“<span class="quote">idmap UID</span>”</span> and 331 331 <span class="quote">“<span class="quote">idmap GID</span>”</span>. 332 332 </p></li><li class="listitem"><p> 333 <a class="indexterm" name="id4410 51"></a>334 <a class="indexterm" name="id44105 7"></a>333 <a class="indexterm" name="id441049"></a> 334 <a class="indexterm" name="id441055"></a> 335 335 <code class="literal">sambaIdmapEntry</code> object storing a mapping between a 336 336 SID and a UNIX UID/GID. These objects are created by the 337 337 idmap_ldap module as needed. 338 </p></li></ul></div></div><div class="sect4" title="New Suffix for Searching"><div class="titlepage"><div><div><h5 class="title"><a name="id44107 7"></a>New Suffix for Searching</h5></div></div></div><p>339 <a class="indexterm" name="id44108 5"></a>340 <a class="indexterm" name="id4410 91"></a>341 <a class="indexterm" name="id44109 7"></a>342 <a class="indexterm" name="id44110 4"></a>343 <a class="indexterm" name="id4411 11"></a>344 <a class="indexterm" name="id44111 8"></a>345 <a class="indexterm" name="id44112 5"></a>338 </p></li></ul></div></div><div class="sect4" title="New Suffix for Searching"><div class="titlepage"><div><div><h5 class="title"><a name="id441075"></a>New Suffix for Searching</h5></div></div></div><p> 339 <a class="indexterm" name="id441083"></a> 340 <a class="indexterm" name="id441089"></a> 341 <a class="indexterm" name="id441095"></a> 342 <a class="indexterm" name="id441102"></a> 343 <a class="indexterm" name="id441109"></a> 344 <a class="indexterm" name="id441116"></a> 345 <a class="indexterm" name="id441123"></a> 346 346 The following new <code class="filename">smb.conf</code> parameters have been added to aid in directing 347 347 certain LDAP queries when <em class="parameter"><code>passdb backend = ldapsam://...</code></em> has been 348 348 specified. 349 349 </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>ldap suffix used to search for user and computer accounts.</p></li><li class="listitem"><p>ldap user suffix used to store user accounts.</p></li><li class="listitem"><p>ldap machine suffix used to store machine trust accounts.</p></li><li class="listitem"><p>ldap group suffix location of posixGroup/sambaGroupMapping entries.</p></li><li class="listitem"><p>ldap idmap suffix location of sambaIdmapEntry objects.</p></li></ul></div><p> 350 <a class="indexterm" name="id44118 9"></a>351 <a class="indexterm" name="id44119 5"></a>350 <a class="indexterm" name="id441187"></a> 351 <a class="indexterm" name="id441193"></a> 352 352 If an <em class="parameter"><code>ldap suffix</code></em> is defined, it will be appended to all of the 353 353 remaining subsuffix parameters. In this case, the order of the suffix … … 357 357 Due to a limitation in Samba's <code class="filename">smb.conf</code> parsing, you should not surround 358 358 the domain names with quotation marks. 359 </p></div><div class="sect4" title="IdMap LDAP Support"><div class="titlepage"><div><div><h5 class="title"><a name="id44123 3"></a>IdMap LDAP Support</h5></div></div></div><p>360 <a class="indexterm" name="id4412 41"></a>359 </p></div><div class="sect4" title="IdMap LDAP Support"><div class="titlepage"><div><div><h5 class="title"><a name="id441231"></a>IdMap LDAP Support</h5></div></div></div><p> 360 <a class="indexterm" name="id441239"></a> 361 361 Samba-3 supports an LDAP backend for the idmap subsystem. The 362 362 following options inform Samba that the idmap table should be 363 363 stored on the directory server <span class="emphasis"><em>onterose</em></span> in the ou=Idmap,dc=quenya,dc=org partition. 364 </p><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td>...</td></tr><tr><td><a class="indexterm" name="id44127 2"></a><em class="parameter"><code>idmap backend = ldap:ldap://onterose/</code></em></td></tr><tr><td><a class="indexterm" name="id441283"></a><em class="parameter"><code>ldap idmap suffix = ou=Idmap</code></em></td></tr><tr><td><a class="indexterm" name="id441295"></a><em class="parameter"><code>idmap uid = 40000-50000</code></em></td></tr><tr><td><a class="indexterm" name="id441306"></a><em class="parameter"><code>idmap gid = 40000-50000</code></em></td></tr></table><p>365 <a class="indexterm" name="id4413 20"></a>364 </p><table border="0" summary="Simple list" class="simplelist"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td>...</td></tr><tr><td><a class="indexterm" name="id441270"></a><em class="parameter"><code>idmap backend = ldap:ldap://onterose/</code></em></td></tr><tr><td><a class="indexterm" name="id441281"></a><em class="parameter"><code>ldap idmap suffix = ou=Idmap</code></em></td></tr><tr><td><a class="indexterm" name="id441293"></a><em class="parameter"><code>idmap uid = 40000-50000</code></em></td></tr><tr><td><a class="indexterm" name="id441304"></a><em class="parameter"><code>idmap gid = 40000-50000</code></em></td></tr></table><p> 365 <a class="indexterm" name="id441318"></a> 366 366 This configuration allows Winbind installations on multiple servers to 367 367 share a UID/GID number space, thus avoiding the interoperability problems
Note:
See TracChangeset
for help on using the changeset viewer.