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