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