docs: Adapt version strings in man vfs_smb_traffic_analyzer.
[Samba.git] / WHATSNEW.txt
blob8a11744f267e4ed5b1b188af69eb201e642aec71
1                    =================================
2                    Release Notes for Samba 3.3.0pre2
3                           September 30, 2008
4                    =================================
6 This is the second preview release of Samba 3.3.0.  This is *not*
7 intended for production environments and is designed for testing
8 purposes only.  Please report any defects via the Samba bug reporting
9 system at https://bugzilla.samba.org/.
11 Major enhancements in Samba 3.3.0 include:
13  Configuration/installation:
14  o Splitting of library directory into library directory and separate
15    modules directory.
17  File Serving:
18  o Extended Cluster support.
20  Winbind:
21  o Simplified idmap configuration.
22  o New idmap backends "adex" and "hash".
23  o Added new parameter "winbind reconnect delay".
24  o Added support for user and group aliasing.
26  Administrative tools:
27  o The destination "all" of smbcontrol does now affect all running
28    daemons including nmbd and winbindd.
29  o New 'net rpc vampire keytab' and 'net rpc vampire ldif' commands.
30  o The 'net' utility can now use kerberos for joining and authentication.
32  Libraries:
33  o NetApi library implements various new calls for User- and Group
34    Account Management.
37 Configure changes
38 =================
40 The configure option "--with-libdir" has been removed. The library
41 directory can still be specified by using the existing "--libdir" option.
42 A new option "--with-modulesdir" has been added to allow the specification
43 of a separate directory for the shared modules.
46 Winbind idmap backend changes
47 =============================
49 The idmap configuration has changed with version 3.3 to something that
50 allows a smoother upgrade path from pre-3.0.25 configurations that use
51 "idmap backend". The reason for this change is that to many, also to Samba
52 developers, the 3.0.25 style configuration with "idmap config" turned out
53 to be very complex. Version 3.3 no longer deprecates the "idmap backend"
54 parameter, instead with "idmap backend" the default idmap backend is
55 specified.
57 Accordingly, the "idmap config <domain> : default = yes" setting is no
58 longer being looked at.
60 The alloc backend defaults to the default backend, which should be able to
61 allocate IDs. In the default distribution the tdb and ldap backends can
62 allocate, the ad and rid backends can not. The idmap alloc range is now
63 being set with the "old" parameters "idmap uid" and "idmap gid".
65 The "idmap domains" parameter has been removed.
68 winbind reconnect delay
69 =======================
71 This is a new parameter which specifies the number of seconds the Winbind
72 daemon will wait between attempts to contact a Domain controller for a domain
73 that is determined to be down or not contactable.
76 Winbind's Name Aliasing
77 =======================
79 Name aliasing in Winbind is a feature that allows an administrator to
80 map a fully qualified user or group name from a Windows domain to a
81 convenient short name for Unix access.  This is similar to the username
82 map functionality supported by smbd but is primary intended for
83 clients and servers making use of Winbind's PAM and NSS libraries.
85 For example, the user "DOMAIN\fred" has been mapped to the Unix name
86 "freddie".
88    $ getent passwd "DOMAIN\fred"
89    freddie:x:1000:1001:Fred Jones:/home/freddie:/bin/bash
91    $ getent passwd freddie
92    freddie:x:1000:1001:Fred Jones:/home/freddie:/bin/bash
94 The name aliasing support is provided by individual nss_info plugins.
95 For example, the new "adex" plugin reads the uid attribute from Active
96 Directory to make a short login name to the fully qualified name.
97 While the new "hash" module utilizes a local file to map "short_name
98 = QUALIFIED\name".  Both user and group name mapping is supported.
99 Please refer to the "winbind nss info" option in smb.conf(5) and
100 to individual plugin man pages for further details.
103 idmap_hash
104 ==========
106 The idmap_hash plugin provides similar support as the idmap_rid
107 module.  However, uids and gids are generated from the full domain
108 SID using a hashing algorithm that maps the lower 19 bits from the user
109 or group RID to bits 0 - 19 in the Unix id and hashes 96 bits from
110 the domain SID to bits 20 - 30 in the Unix id.  The result is a 31 bit
111 uid or gid that is consistent across machines and provides support for
112 trusted domains.
114 Please refer to the idmap_hash(8) man page for more details.
117 idmap_adex
118 ==========
120 The adex idmap/nss_info plugin is an adaptation of the Likewise
121 Enterprise plugin with support for OU based cells removed
122 (since the Windows pieces to manage the cells are not available).
124 This plugin supports
126       * The RFC2307 schema for users and groups.
127       * Connections to trusted domains
128       * Global catalog searches
129       * Cross forest trusts
130       * User and group aliases
132 Prerequisite: Add the following attributes to the Partial Attribute
133 Set in global catalog:
135       * uidNumber
136       * uid
137       * gidNumber
139 A basic config using the current trunk code would look like:
141 [global]
142         idmap backend = adex
143         idmap uid = 10000 - 29999
144         idmap gid = 10000 - 29999
145         winbind nss info = adex
147         winbind normalize names = yes
148         winbind refresh tickets = yes
149         template homedir = /home/%D/%U
150         template shell = /bin/bash
152 Please refer to the idmap_adex(8) man page for more details.
155 ######################################################################
156 Changes
157 #######
159 smb.conf changes
160 ----------------
162     Parameter Name                      Description     Default
163     --------------                      -----------     -------
164     cups connection timeout             New             30
165     idmap domains                       Removed
166     init logon delayed hosts            New             ""
167     init logon delay                    New             100
168     winbind reconnect delay             New             30
171 Changes since 3.3.0pre1:
172 ------------------------
175 o   Michael Adam <obnox@samba.org>
177     * BUG 5492: Fix RHEL SPEC file by removing libmsrpc stuff.
178     * BUG 5507: Fix several issues in the RHEL SPEC file.
180 o   Jeremy Allison <jra@samba.org>
181     * BUG 5729: Explicitly allow "-valid".
182     * BUG 5737: Fix winbindd crash in an unusual failure mode.
183     * BUG 5751: Fix showing of ACLs on DFS in (lib)smbclient.
184     * BUG 5762: Fix opening of mangled directory name (resulted
185       'is a stream name').
186     * BUG 5783: Fix FindFirst where search pattern == mangled filename.
187     * BUG 5790: Fix returning of STATUS_OBJECT_NAME_NOT_FOUND on set file
188       disposition.
189     * Fix crashes when looking up a non-existant uid.
190     * Fix getting/setting of NT ACLs on a file.
191     * Add st_birthtime and friends for accurate create times on *BSD
192       and MacOSX).
193     * Fix the wcache_invalidate_samlogon calls.
194     * Clarify usage of "force create mode".
195     * Get smbd to look (read-only) into the winbindd cache for uid/gid <--> sid
196       mappings.
197     * Write times code update.
198     * Add experimental version of VFS module acl_xattr.
201 o   Gerald W. Carter <jerry@samba.org>
202     * Fix segfault when calling nss_get_info() with a NULL ads structure.
203     * Add support for name aliasing in Winbind.
204     * Add the idmap/nss-info provider from Likewise Open.
205     * Allow an admin to define the "uid" attribute for a RFC2307
206       user object in AD to be the username alias.
207     * Add new idmap backend "adex" to support RFC2307 enabled AD forests.
210 o   Steven Danneman <steven.danneman@isilon.com>
211     * Fix build warnings.
212     * Cleanup of DC enumeration in get_dcs().
215 o   Günther Deschner <gd@samba.org>
216     * BUG 5710: Fix changing of machine account passwords.
217     * BUG 5784: Fix pam_winbind build issue on Solaris.
218     * Fix invalid sid copy (hit when enumerating sibling domains) in Winbind.
219     * Fix double installation of cifs.upcall.
222 o   James Ding <ding_cc@hotmail.com>
223     * BUG 5736: Fix Winbind crash bug with trusted domains.
226 o   Ephi Dror <Ephi.Dror@datadomain.com>
227     * Correct the netsamlogon_clear_cached_user function.
230 o   Holger Hetterich <hhetter@novell.com>
231     * Add new VFS module to analyze SMB traffic to record write and read
232       operations on the Samba server.
235 o   Jeff Layton <jlayton@redhat.com>
236     * Fix build warnings in cifs.upcall.
239 o   Volker Lendecke <vl@sernet.de>
240     * BUG 5707: Do proper error handling if the socket is closed.
241     * BUG 5778: Don't define 'strlcat' and 'strlcpy' if it's already defined.
242     * Fix Coverity IDs 587 and 589.
243     * Increase the default positive idmap cache time to a week.
244     * Fix calculation of useable_space for trans2 and nttrans replies.
245     * Add mapping of generic bits when setting an NFSv4 ACL.
248 o   Stefan Metzmacher <metze@samba.org>
249     * Some write time fixes.
252 o   Karolin Seeger <kseeger@samba.org>
253     * Add new parameter "cups connection timeout".
256 o   Simo Sorce <idra@samba.org>
257     * Fix enumeration of nested group memberships in Winbind.
258       This affected only setups using "security = ads".
261 o   Timur <timur@FreeBSD.org>
262     * Fix cut and paste error in quota code.
263     * Fix display of POSIX ACLs.
264     * Fix aio on FreeBSD.
267 o   Andrew Tridgell <tridge@samba.org>
268     * Fix permissions of group_mapping.ldb (CVE-2008-3789).
269     * Avoid a race condition in glibc between AIO and setresuid().
270     * Add missing become root for AIO operations.
271     * Fix an errno handling bug that could lead to an infinite loop.
272     * Fix logic of tsmsm_sendfile().
273     * Fix handling of arbitrary new PAC types.
276 o   Qiao Yang <geoyang@ironport.com>
277     * Fix a memleak.
280 Commit Highlights:
281 ------------------
283 o   Michael Adam <obnox@samba.org>
284     * BUG 5609: Remove configure option "--with-libdir" and add
285       "--with-modulesdir".
286     * Extend "net rpc vampire keytab" to support differential replication
287       and storing of kerberos keys.
288     * Rework internal logic of registry tdb code.
289     * Freeze autogenerated prototype headers (good bye "make proto").
292 o   Jeremy Allison <jra@samba.org>
293     * Add new "winbind reconnect delay" parameter.
294     * Make the change to smbcontrol for "all" to mean broadcast,
295       and "smbd" to mean the main smb daemon.
298 o   Gerald W. Carter <jerry@samba.org>
299     * Add support for name aliasing in Winbind.
300     * Add the idmap/nss-info provider from Likewise Open.
301     * Allow an admin to define the "uid" attribute for a RFC2307
302       user object in AD to be the username alias.
303     * Add new idmap backend "adex" to support RFC2307 enabled AD forests.
306 o   Guenther Deschner <gd@samba.org>
307     * BUG 5710: Fix changing of machine account passwords.
308     * Add "net rpc vampire keytab" and "net rpc vampire ldif".
311 o   Volker Lendecke <vl@samba.org>
312     * Rework of the Winbind idmap backend.
313     * Fix calculation of useable_space for trans2 and nttrans replies.
314     * Add mapping of generic bits when setting an NFSv4 ACL.
317 ######################################################################
318 Reporting bugs & Development Discussion
319 #######################################
321 Please discuss this release on the samba-technical mailing list or by
322 joining the #samba-technical IRC channel on irc.freenode.net.
324 If you do report problems then please try to send high quality
325 feedback. If you don't provide vital information to help us track down
326 the problem then you will probably be ignored.  All bug reports should
327 be filed under the Samba 3.3 product in the project's Bugzilla
328 database (https://bugzilla.samba.org/).
331 ======================================================================
332 == Our Code, Our Bugs, Our Responsibility.
333 == The Samba Team
334 ======================================================================