WHATSNEW: Update changes.
[metze/samba/wip.git] / WHATSNEW.txt
1                    =============================
2                    Release Notes for Samba 3.4.0
3                            July 1, 2009
4                    =============================
5
6
7 This is the first stable release of Samba 3.4.
8
9
10 Major enhancements in Samba 3.4.0 include:
11 ------------------------------------------
12
13 Configuration changes:
14 o The default passdb backend has been changed to 'tdbsam'!
15
16 General changes:
17 o Samba4 and Samba3 sources are included in the tarball
18
19 Authentication Changes:
20 o Changed the way smbd handles untrusted domain names given during user
21   authentication.
22
23 Printing Changes:
24 o Various fixes including printer change notificiation for Samba spoolss
25   print servers.
26
27 Internal changes:
28 o The remaining hand-marshalled DCE/RPC services (ntsvcs, svcctl, eventlog
29   and spoolss) were replaced by autogenerated code based on PIDL.
30 o Samba3 and Samba4 do now share a common tevent library.
31 o The code has been cleaned up and the major basic interfaces are shared with
32   Samba4 now.
33 o An asynchronous API has been added.
34
35
36 Configuration changes
37 =====================
38
39 !!! ATTENTION !!!
40 The default passdb backend has been changed to 'tdbsam'! That breaks existing
41 setups using the 'smbpasswd' backend without explicit declaration! Please use
42 'passdb backend = smbpasswd' if you would like to stick to the 'smbpasswd'
43 backend or convert your smbpasswd entries using e.g. 'pdbedit -i smbpasswd -e
44 tdbsam'.
45
46 The 'tdbsam' backend is much more flexible concerning per user settings
47 like 'profile path' or 'home directory' and there are some commands which do not
48 work with the 'smbpasswd' backend at all.
49
50
51 General Changes
52 ===============
53
54 On the way towards a standalone Samba AD domain controller, Samba3 and Samba4
55 branches can be built as "merged" build. That's why Samba3 and Samba4 sources
56 are included in the tarball. The merged build is possible in Samba 3.4.0, but
57 disabled by default. To learn more about the merged build,
58 please see http://wiki.samba.org/index.php/Franky.
59
60 According to this one, there is no "source" directory included in the tarball at
61 all. Samba3 sources are located in "source3", Samba4 sources are located in
62 "source4". The libraries have been moved to the toplevel directory.
63
64 To build plain Samba3, please change to "source3" and start the build as usual.
65 To build Samba4 as well, please use the "--enable-merged-build" configure
66 option.
67
68
69 Authentication Changes
70 ======================
71
72 Previously, when Samba was a domain member and a client was connecting using an
73 untrusted domain name, such as BOGUS\user smbd would remap the untrusted
74 domain to the primary domain smbd was a member of and attempt authentication
75 using that DOMAIN\user name.  This differed from how a Windows member server
76 would behave.  Now, smbd will replace the BOGUS name with it's SAM name.  In
77 the case where smbd is acting as a PDC this will be DOMAIN\user.  In the case
78 where smbd is acting as a domain member server this will be WORKSTATION\user.
79 Thus, smbd will never assume that an incoming user name which is not qualified
80 with the same primary domain, is part of smbd's primary domain.
81
82 While this behavior matches Windows, it may break some workflows which depended
83 on smbd to always pass through bogus names to the DC for verification.  A new
84 parameter "map untrusted to domain" can be enabled to revert to the legacy
85 behavior.
86
87
88 Printing Changes
89 ================
90
91 The spoolss subsystem was replaced by autogenerated code based on PIDL. That fixes
92 several printing issues including printer change notificiation on Samba print
93 servers and will stabilize the printing functionality generally.
94 The support for spoolss printing with Windows Vista has been improved.
95
96
97 Internal Changes
98 ================
99
100 The remaining hand-marshalled DCE/RPC services (ntsvcs, svcctl, eventlog and
101 spoolss) were replaced by autogenerated code based on PIDL.
102 So Günther Deschner finally corrected one of the biggest mistakes in the
103 development of Samba: Hand-marshalled RPC stubs.
104
105 Thanks a lot! :-)
106
107 Samba3 and Samba4 do now share a common tevent library for fd and timer events.
108
109 The code has been cleaned up and Samba3 and Samba4 do share the major basic
110 interfaces now. That is why the libraries were moved to the toplevel directory.
111 That is one of the first steps to share code and minimize the gap between
112 these two versions.
113
114 An asynchronous API has been added.
115
116
117 ######################################################################
118 Changes
119 #######
120
121 smb.conf changes
122 ----------------
123
124    Parameter Name                      Description     Default
125    --------------                      -----------     -------
126
127    access based share enum             New             No
128    dedicated keytab file               New             ""
129    kerberos method                     New             default
130    map untrusted to domain             New             No
131    max open files                      Changed Default auto detected
132    passdb backend                      Changed Default tdbsam
133    perfcount module                    New             ""
134    use kerberos keytab                 Removed
135
136
137 New [sub]commands
138 -----------------
139
140    net eventlog                 Import/dump/export native win32 eventlog files.
141    net rpc service create       Create a new service.
142    net rpc service delete       Delete an existing service.
143
144
145 New configure options
146 ---------------------
147
148 --enable-external-libtalloc     Enable external talloc
149 --enable-merged-build           Build Samba 4 as well
150 --enable-gnutls                 Turn on gnutls support
151 --with-statedir=DIR             Where to put persistent state files
152 --with-cachedir=DIR             Where to put temporary cache files
153 --with-ncalprcdir=DIR           Where to put ncalrpc sockets
154 --with-selftest-shrdir=DIR      The share directory that make test will be run
155                                 against
156 --with-selftest-custom-conf=PATH
157                                 An optional custom smb.conf that is included in
158                                 the server smb.conf during make test
159 --with-wbclient                 Use external wbclient
160 --with-included-popt            Use bundled popt library, not from system
161 --with-libiconv=BASEDIR         Use libiconv in BASEDIR/lib and BASEDIR/include
162 --with-sqlite3                  SQLITE3 backend support
163 --with-pthreads                 Include pthreads
164 --with-setproctitle             Search for setproctitle support
165
166
167 Commit Highlights
168 =================
169
170
171 o   Steven Danneman <steven.danneman@isilon.com>
172     * Change the way smbd handles untrusted domain names given during user
173       authentication.
174
175
176 o   Guenther Deschner <gd@samba.org>
177     * Replace the hand-marshalled DCE/RPC services ntsvcs, svcctl, eventlog
178       and spoolss by autogenerated code based on PIDL.
179     * Fix several printing issues and improve support for printer change
180       notificiations.
181     * Add 'net eventlog'.
182
183
184 o   Volker Lendecke <vl@samba.org>
185     * Add asynchronous API.
186
187
188 o   Stefan Metzmacher <metze@samba.org>
189     * Make Samba3 and Samba4 share a tevent library.
190
191
192 o   Dan Sledz <dsledz@isilon.com>
193     * Add two new parameters to control how we verify kerberos tickets.
194
195
196 o   Danny Tylman <danny.tylman@insightix.com>
197     * Add 'net rpc service' subcommands 'create' and 'delete'.
198
199
200 o   Jelmer Vernooij <jelmer@samba.org>
201     * Make merged build possible.
202     * Move common libraries to the shared lib/ directory.
203
204
205 Changes since 3.4.0rc1
206 ----------------------
207
208
209 o    Michael Adam <obnox@samba.org>
210      * BUG 6509: Use gid (not uid) cache in fetch_gid_from_cache().
211
212
213 o    Björn Jacke <bj@sernet.de>
214      * BUG 6497: Fix calling of 'test' in configure.
215
216
217 o    Volker Lendecke <vl@samba.org>
218      * BUG 6498: Add workaround for MS KB932762.
219
220
221 o    David Markey <admin@dmarkey.com>
222      * BUG 6514: Improve error message in 'net' when smb.conf is not available.
223
224
225 o    Bo Yang <boyang@samba.org>
226      * BUG 6499: Fix building of pam_smbpass.
227
228
229 Changes since 3.4.0pre2
230 -----------------------
231
232
233 o   Jeremy Allison <jra@samba.org>
234     * BUG 6297: Owner of sticky directory cannot delete files created by
235       others.
236     * BUG 6476: Fix smbd-zombies in memory when using [x]inetd.
237     * BUG 6487: Add missing DFS call in trans2 mkdir call.
238     * BUG 6488: acl_group_override() call in posix acls references an
239       uninitialized variable.
240
241
242 o   Günther Deschner <gd@samba.org>
243     * BUG 5456: Fix "net ads testjoin".
244     * BUG 6253: Use correct value for password expiry calculation in
245       pam_winbind.
246     * BUG 6305: Correctly prompt for a password when a username was given.
247     * BUG 6451: net/libnetapi user rename using wrong access bits.
248     * BUG 6458: Fix uninitialized variable in local_password_change().
249     * BUG 6465: Fix enumeration of empty aliases.
250
251
252 o   Volker Lendecke <vl@samba.org>
253     * BUG 4699: Remove pidfile on clean shutdown.
254     * BUG 6449: 'net rap user add' crashes without -C option.
255
256
257 o   David Markey <admin@dmarkey.com>
258     * BUG 6328: Add support for multiple rights to
259       "net sam rights grant/revoke".
260
261
262 o   Andreas Schneider <mail@cynapses.org>
263     * Improve pam_winbind documentation.
264
265
266 o   Simo Sorce <idra@samba.org>
267     * BUG 6081: Make it possible to change machine account sids.
268     * BUG 6333: Consolidate create/delete account paths in pdbedit.
269
270
271 o   Jelmer Vernooij <jelmer@samba.org>
272     * Remove outdated Debian package sources.
273
274
275 Changes since 3.4.0pre1
276 -----------------------
277
278
279 o   Jeremy Allison <jra@samba.org>
280     * BUG 6291: Fix 'force user'.
281     * BUG 6313: ldapsam_update_sam_account() crashes while doing talloc_free on
282       malloced memory.
283     * BUG 6315: Fix smbd crashes when doing vfs_full_audit on IPC$ close event.
284     * BUG 6330: Fix DFS on AIX.
285     * Fix a bunch of compiler warnings about wrong format types.
286     * Fix the core of the SAMR access functions.
287     * Fix SAMR server for winbindd access.
288
289
290 o   Michael Adam <obnox@samba.org>
291     * BUG 4271: testparm should not print includes.
292     * BUG 6292: Update config.guess from gnu.org.
293     * BUG 6320: Handle registry config source in file_list.
294     * BUG 6371: Unsuccessful 'net conf setparm' leaves empty share.
295     * BUG 6387: Fix a crash bug in idmap_ldap_unixids_to_sids.
296     * BUG 6415: Filter out of range mappings in default idmap config
297       (idmap_tdb).
298     * BUG 6416: Filter out of range mappings in default idmap config
299       (idmap_tdb2).
300     * BUG 6417: Filter out of range mappings in default idmap config
301       (idmap_ldap).
302     * Add dbwrap_tool - a tdb tool that is CTDB-aware.
303     * Hide "config backend" from swat.
304     * Fix linking with --disable-shared-libs.
305
306
307 o   Steven Danneman <steven.danneman@isilon.com>
308     * Fix issue with missing entries when enumerating directories.
309     * Map NULL domains to our global sam name.
310
311
312 o   Günther Deschner <gd@samba.org>
313     * BUG 5859: Fix renaming of samr objects failed due to samr setuserinfo
314       access checks.
315     * BUG 6099: Fix NETLOGON credential chain.
316     * BUG 6253: Use correct value for password expiry calculation.
317     * BUG 6309: Support remote unjoining of Windows 2003 or greater.
318     * BUG 6340: Don't segfault when cleartext trustdom pwd could not be
319       retrieved.
320     * BUG 6372: usermanager only displaying 1024 groups and aliases.
321     * Fix driver upload for Xerox 4110 PS printer driver.
322     * Add "net dom renamecomputer" to rename machines in a domain.
323     * Inspect the correct computername string before enabling/disabling the
324       change button in netdomjoin-gui.
325     * Fix join prompt dialog test in netdomjoin-gui.
326     * Only gray out labels when not root and not connecting to remote
327       machines (netdomjoin-gui).
328     * Allow to switch between workgroups/domains with the same name
329       (netdomjoin-gui).
330     * Add NetShutdownInit and NetShutdownAbort.
331     * Fix samr access checks.
332     * Add a security model to LSA.
333     * Fix nss_wrapper build for Solaris.
334
335
336 o   Geza Gemes <geza@kzsdabas.hu>
337     * BUG 6136: New AFS syscall conventions.
338
339
340 o   Ole Hansen <ole@redvw.com>
341     * BUG 6359: smbclient -L does not list workgroup for hosts with both IPv4
342       and IPv6 addresses
343
344
345 o   Björn Jacke <bj@sernet.de>
346     * Also handle DirX return codes.
347
348
349 o   Steve Langasek <vorlon@debian.org>
350     * BUG 4831: Don't call openlog() or closelog() from pam_smbpass.
351
352
353 o   Volker Lendecke <vl@samba.org>
354     * BUG 5681: Do not limit the number of network interfaces.
355     * BUG 6157: Fix handling of multi-value attribute "uid".
356     * BUG 6302: Give the VFS a chance to read from 0-byte files.
357     * BUG 6336: Fix segfault in 'net groupmap set'.
358     * BUG 6361: Make --rcfile work in smbget.
359     * Do not crash in ctdbd_traverse if ctdbd is not around.
360     * Fix Coverity ID 897.
361     * Fix a race condition in vfs_aio_fork with gpfs share modes.
362     * Fix bug disclosed by lock8 torture test.
363     * Fix a race condition in winbind leading to a panic.
364     * Attempt to fix a Debian build problem.
365
366
367 o   Jim McDonough <jmcd@samba.org>
368     * Detect tight loop in tdb_find().
369
370
371 o   Stefan Metzmacher <metze@samba.org>
372     * BUG 2346: Fix posix ACLs when setting an ACL without explicit ACE for the
373       owner.
374
375
376 o   Tim Prouty <tprouty@samba.org>
377     * Fix chained sesssetupAndX/tconn messages.
378     * Fix strict locking with chained reads.
379     * Fix two bugs in sendfile.
380
381
382 o   Slava Semushin <php-coder@altlinux.ru>
383     * Fix memory leak.
384     * Fix file descriptor leak.
385
386
387 o   Aravind Srinivasan <aravind.srinivasan@isilon.com>
388     * Fallback to the legacy sid_to_(uid|gid) instead of returning NULL.
389     * Always allocate memory in dptr_ReadDirName.
390
391
392 o   Kumar Thangavelu <Kumar.Thangavelu@riverbed.com>
393     * Fix 'net' crash during domain join.
394
395
396 o   Marc VanHeyningen <marc.vanheyningen@isilon.com>
397     * Zero an uninitialized array.
398     * Allow child processes to exit gracefully if we are out of fds.
399
400
401 ######################################################################
402 Reporting bugs & Development Discussion
403 #######################################
404
405 Please discuss this release on the samba-technical mailing list or by
406 joining the #samba-technical IRC channel on irc.freenode.net.
407
408 If you do report problems then please try to send high quality
409 feedback. If you don't provide vital information to help us track down
410 the problem then you will probably be ignored.  All bug reports should
411 be filed under the Samba 3.4 product in the project's Bugzilla
412 database (https://bugzilla.samba.org/).
413
414
415 ======================================================================
416 == Our Code, Our Bugs, Our Responsibility.
417 == The Samba Team
418 ======================================================================
419