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