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