s3 ntlm_auth: Don't malloc data that will be talloc_free()d
[Samba.git] / WHATSNEW.txt
blob6602941772f15487addd197ec634e03d023a977f
1                    =============================
2                    Release Notes for Samba 3.5.2
3                             , 2010
4                    =============================
7 This is the third stable release of Samba 3.5.
9 Major enhancements in Samba 3.5.2 include:
11
13 Changes since 3.5.1
14 -------------------
17 o  
20 ######################################################################
21 Reporting bugs & Development Discussion
22 #######################################
24 Please discuss this release on the samba-technical mailing list or by
25 joining the #samba-technical IRC channel on irc.freenode.net.
27 If you do report problems then please try to send high quality
28 feedback. If you don't provide vital information to help us track down
29 the problem then you will probably be ignored.  All bug reports should
30 be filed under the Samba 3.5 product in the project's Bugzilla
31 database (https://bugzilla.samba.org/).
34 ======================================================================
35 == Our Code, Our Bugs, Our Responsibility.
36 == The Samba Team
37 ======================================================================
40 Release notes for older releases follow:
41 ----------------------------------------
43                    =============================
44                    Release Notes for Samba 3.5.1
45                             March 8, 2010
46                    =============================
49 This is a security release in order to address CVE-2010-0728.
52 o  CVE-2010-0728:
53    In Samba releases 3.5.0, 3.4.6 and 3.3.11, new code
54    was added to fix a problem with Linux asynchronous IO handling.
55    This code introduced a bad security flaw on Linux platforms if the
56    binaries were built on Linux platforms with libcap support.
57    The flaw caused all smbd processes to inherit CAP_DAC_OVERRIDE
58    capabilities, allowing all file system access to be allowed
59    even when permissions should have denied access.
62 Changes since 3.5.0
63 -------------------
66 o   Jeremy Allison <jra@samba.org>
67     * BUG 7222: Fix for CVE-2010-0728.
70 ######################################################################
71 Reporting bugs & Development Discussion
72 #######################################
74 Please discuss this release on the samba-technical mailing list or by
75 joining the #samba-technical IRC channel on irc.freenode.net.
77 If you do report problems then please try to send high quality
78 feedback. If you don't provide vital information to help us track down
79 the problem then you will probably be ignored.  All bug reports should
80 be filed under the Samba 3.5 product in the project's Bugzilla
81 database (https://bugzilla.samba.org/).
84 ======================================================================
85 == Our Code, Our Bugs, Our Responsibility.
86 == The Samba Team
87 ======================================================================
90 ----------------------------------------------------------------------
93                    =============================
94                    Release Notes for Samba 3.5.0
95                             March 1, 2010
96                    ===============================
99 This is the first stable release of Samba 3.5.
102 Major enhancements in Samba 3.5.0 include:
104 General changes:
105 o Add support for full Windows timestamp resolution
106 o The Using Samba HTML book has been removed.
107 o 'net', 'smbclient' and libsmbclient can use credentials cached by Winbind.
108 o The default value of "wide links" has been changed to "no".
110 Protocol changes:
111 o Experimental implementation of SMB2
113 Printing Changes:
114 o Add encryption support for connections to a CUPS server
116 Winbind changes:
117 o Major refactoring
118 o Asynchronous
120 VFS modules:
121 o New vfs_scannedonly module has been added.
124 General changes:
125 ================
127 Support for full Windows timestamp resolution has been added. This effectively
128 makes us use Windows' full 100ns timestamp resolution if supported by the
129 kernel (2.6.22 and higher) and the glibc (2.6 and higher).
131 The Using Samba HTML book has been removed from the Samba tarball.
132 It is still available at http://www.samba.org/samba/docs/using_samba/toc.html.
134 Samba client tools like 'net', 'smbclient' and libsmbclient can use the user
135 credentials cached by Winbind at logon time. This is very useful e.g. when
136 connecting to a Samba server using Nautilus without re-entering username and
137 password. This feature is enabled by default and can be disabled per application
138 by setting the LIBSMBCLIENT_NO_CCACHE environment variable.
140 The default value of "wide links" has been changed to "no" to avoid an insecure
141 default configuration ("wide links = yes" and "unix extensions = yes"). For
142 more details, please see http://www.samba.org/samba/news/symlink_attack.html.
145 Protocol changes
146 ================
148 An EXPERIMENTAL implementation of the SMB2 protocol has been added. SMB2 can be
149 enabled by setting "max protocol = smb2". SMB2 is a new implementation of the
150 SMB protocol used by Windows Vista and higher.
152 Printing Changes
153 ================
155 A new parameter "cups encrypt" has been added to control whether connections to
156 CUPS servers will be encrypted or not. The default is to use unencrypted
157 connections.
159 Winbind changes
160 ===============
162 The Winbind daemon has been refactored internally to be asynchronous. The new
163 Winbind will not be blocked by running 'getent group' or 'getent passwd'.
165 VFS modules
166 ===========
168 A new VFS module "scannedonly" has been added. This is a filter that
169 talks to an antivirus-engine and stores whether a file is clean or not.
170 Users do only see clean files on their filesystem.
173 ######################################################################
174 Changes
175 #######
177 smb.conf changes
178 ----------------
180    Parameter Name                      Description     Default
181    --------------                      -----------     -------
183    create krb5 conf                    New             yes
184    ctdb timeout                        New             0
185    cups encrypt                        New             no
186    debug hires timestamp               Changed Default yes
187    ldap deref                          New             auto
188    ldap follow referral                New             auto
189    nmbd bind explicit broadcast        New             no
190    wide links                          Changed Default no
193 New configure options
194 ---------------------
196 --enable-external-libtdb        Enable external tdb
197 --enable-netapi                 Turn on netapi support
198 --enable-pthreadpool            Enable pthreads pool helper support
199 --with-cifsumount               Include umount.cifs (Linux only) support
200 --with-codepagedir=DIR          Where to put codepages
203 Commit Highlights
204 =================
206 o   Björn Jacke <bj@sernet.de>
207     * Add support for full Windows timestamp resolution.
208     * Add encryption support for connections to a CUPS server.
211 o   Volker Lendecke <vl@samba.org>
212     * Major internal refactoring of the Winbind daemon.
213     * Make Winbind asynchronous.
214     * Make 'net', 'smbclient' and libsmbclient use the logon credentials cached
215       by Winbind.
218 o   Stefan Metzmacher <metze@samba.org>
219     * Implement the new SMB2 protocol (experimental).
222 Changes since 3.5.0rc3
223 ----------------------
226 o   Günther Deschner <gd@samba.org>
227     * BUG 7181: Fix 'net ads dns' usage calls.
228     * BUG 7182: Fix uninitialized variable in wkssvc_enumerateusers.
231 o   Volker Lendecke <vl@samba.org>
232     * BUG 7145: Fix duplicate sam and unix accounts.
233     * BUG 7166: Avoid calling cli_alloc_mid twice in cli_smb_req_iov_send.
236 o   Stefan Metzmacher <metze@samba.org>
237     * BUG 7160: Keep the the correct negotiate_flags on the cli->dc structure.
240 Changes since 3.5.0rc2
241 ----------------------
244 o   Jeremy Allison <jra@samba.org>
245     * BUG 6557: Fix vfs_full_audit.
246     * BUG 6876: Fix duplicate initializer in the rmdir module.
247     * BUG 7063: Fix core dump on Ubuntu 8.04 64 bit.
248     * BUG 7067: Fix failing of smbd to respond to a read or a write caused by
249       Linux asynchronous IO (aio).
250     * BUG 7069: Fix 'smbget' error status.
251     * BUG 7072: Fix unlocking of accounts from ldap.
252     * BUG 7079  Cliconnect gets realm wrong with trusted domains.
253     * BUG 7081: Fix vfs_expand_msdfs.
254     * BUG 7084: Fix storing of create time on directories in an EA in new
255       create time code.
256     * BUG 7104: "wide links" and "unix extensions" are incompatible.
257     * BUG 7118: Fix nmbd problems with socket address.
258     * BUG 7122: Fix reading of large browselist.
259     * BUG 7154: "mangling method = hash" can crash storing a name containing a '.'.
260     * BUG 7155: Valgrind Conditional jump or move depends on uninitialised
261       value(s) error when "mangling method = hash"..
264 o   Steven Danneman <steven.danneman@isilon.com>
265     * BUG 7096: Fix string buffer overflow causing heap corruption in smbd.
268 o   Günther Deschner <gd@samba.org>
269     * BUG 6888: Fix printing with 64 bit clients.
270     * BUG 7130: Fix listing of printjobs in  Windows 7.
271     * BUG 7148: Fix get_acl_blob in the acl_tdb VFS module.
274 o   Björn Jacke <bj@sernet.de>
275     * BUG 7103: Fix build issue on Tru64.
276     * BUG 7116: Change ldap filter to what really was intended.
277     * Fix some wrong newlines in de translation strings.
280 o   Jeff Layton <jlayton@redhat.com>
281     * BUG 6868: Fix crash bug in 'cifs.upcall'.
284 o   Volker Lendecke <vl@samba.org>
285     * BUG 7085: Fix an early release of the global lock that can cause data
286       corruption in libtdb.
287     * BUG 7139: Owner of file not available with Kerberos.
290 o   Stefan Metzmacher <metze@samba.org>
291     * BUG 6888: Fix printing with 64 bit clients.
292     * BUG 7098: Fix results of 'smbclient -L' with a large browse list.
293     * BUG 7116: Add pdb_ldap performance fixes.
294     * BUG 7118: Add new "nmbd bind explicit broadcast" parameter.
295     * BUG 7119: Support large browselist.
296     * BUG 7140: Fix IPv4/IPv6 problems.
299 o   Lars Müller <lars@samba.org>
300     * BUG 7071: Fix build of 'smbfilter'.
301     * BUG 7047: Add cross option to samba_cv_linux_getgrouplist_ok.
302     * BUG 7102: Normalize "Changing password for" msg IDs and STRs.
305 o   Olivier Sessink <olivier@virtscano.fakenet>
306     * BUG 7076: Fix build of vfs_scannedonly on AIX.
309 o   Bo Yang <boyang@samba.org>
310     * BUG 7106: Fix malformed require_membership_of_sid.
314 Changes since 3.5.0rc1
315 ----------------------
318 o   Michael Adam <obnox@samba.org>
319     * BUG 4347: Check password history before increasing "badPasswordCount".
322 o   Jeremy Allison <jra@samba.org>
323     * BUG 5202: Fix changing of ACLs on writable file with "dos filemode=yes".
324     * BUG 6876: Fix deletion of an object whose parent folder does not have delete
325       rights fails even if the delete right is set on the object in
326       vfs_acl_xattr and vfs_acl_tdb.
327     * BUG 7033: Fix SMBrmdir error message when deleting a directory fails.
328     * BUG 7036: Fix 'net rpc getsid' in hardened Windows environments.
329     * BUG 7045: Fix bad (non memory copying) interfaces in smbc_setXXXX calls.
332 o   Giovanni Bajo <rasky@develer.com>
333     * BUG 7029: Disable sanity check in NetShareEnum for better compatibility
334       with Windows.
337 o   Kai Blin <kai@samba.org>
338     * BUG 7039: Fix compile error with WITH_DNS_UPDATE. Update .po files.
341 o   Günther Deschner <gd@samba.org>
342     * BUG 7043: Fix crash bug in libsmbclient.
345 o   André Hentschel <nerv@dawncrow.de>
346     * BUG 7039: Complete German translation of 'net'.
349 o   Björn Jacke <bj@sernet.de>
350     * BUG 7039: Improve some German translations in 'net'.
353 o   William Jojo <w.jojo@hvcc.edu>
354     * BUG 7052: Fix DFS on AIX.
357 o   Volker Lendecke <vl@samba.org>
358     * BUG 6981: Fix large paged search with DirX LDAP servers.
359     * BUG 7027: Fix a segfault in winbindd_dual_ccache_ntlm_auth().
360     * BUG 7037: Fix a Winbind segfault in "trusted_domains".
361     * BUG 7046: Fix libsmbclient crash against OpenSolaris CIFS server.
362     * BUG 7062: Make 'net', 'smbclient' and libsmbclient use the logon
363       credentials cached by Winbind.
364     * Lock down some srvsvc calls according to what w2k3 seems to do.
367 o   Stefan Metzmacher <metze@samba.org>
368     * BUG 6157: Restore Samba 3.0.x behavior and use the first "uid" value in
369       pdb_ldap.
372 o   SASAJIMA Toshihiro <sasajima_t@jp.fujitsu.com>
373     * BUG 7034: Fix segfault in vfs_cap.
376 o   Olivier Sessink <oliviersessink@gmail.com>
377     * BUG 7028: Add new scannedonly VFS module.
380 Changes since 3.5.0pre2
381 -----------------------
383 o   Jeremy Allison <jra@samba.org>
384     * BUG 6837: Fix "Too many open files" when trying to access large number of
385       files with Windows 7.
386     * BUG 6939: Fix long filenames when "mangling method" is set to "hash".
387     * BUG 7020: Fix smbd using 2G memory.
388     * Ensure dos_mode can return FILE_ATTRIBUTE_NORMAL, then filter the returned
389       attributes by protocol level.
390     * Vector correctly through reply_openerror() (which uses the same logic).
391     * Fix bugs with the full Windows ACL support.
394 o   Kai Blin <kai@samba.org>
395     * Add a few missing gettext calls to the 'net' command.
396     * Fix up a share type translation and translate some more strings in 'net'.
399 o   Günther Deschner <gd@samba.org>
400     * Allow to call "pdbedit -N description -u user" without specifiyng "-r".
401     * Add spoolss_DriverInfo7.
402     * Fix rpcclient after setprinter IDL fixes.
403     * Use generated krb5.conf in 'net ads testjoin'.
406 o   Jonas Gorski <jonas.gorski+samba@gmail.com>
407     * BUG 6992: make test for getgrouplist cacheable.
410 o   André Hentschel <nerv@dawncrow.de>
411     * Add some German translations for the 'net' command.
414 o   Suresh Jayaraman <sjayaraman@suse.de>
415     * Update mount.cifs man page with nounix option.
418 o   Volker Lendecke <vl@samba.org>
419     * Fix _samr_GetAliasMembership for results with 0 rids.
420     * Fix an error case in cli_negprot.
421     * Add a lower-cost alternative to wbinfo -t: wbinfo --ping-dc.
422     * Restore correct timeouts for SMB requests.
423     * Fix a 64-bit error in libsmb.
424     * Replace IS_DOMAIN_OFFLINE by a function in Winbind.
425     * Simplify/cleanup Winbind code.
428 o   Kamen Mazdrashki <kamen.mazdrashki@postpath.com>
429     * Fix write behind memory block in libtalloc.
430     * Fix result check for getaddrinfo().
433 o   Jim McDonough <jmcd@samba.org>
434     * BUG 7014: Fix Winbind crash when retrieving empty group members.
437 o   Brian Lu <brian.lu@sun.com>
438     * BUG 6991: Create symbol links to shared libraries.
441 o   Stefan Metzmacher <metze@samba.org>
442     * Add tsocket_address_bsd_sockaddr() and tsocket_address_bsd_from_sockaddr()
443       to tsocket.
444     * Always set tdb->tracefd to -1 to be safe on goto fail in libtdb.
445     * Add TDB_DISALLOW_NESTING and make TDB_ALLOW_NESTING the default behavior.
446     * Fix standalone 'make installdocs'.
449 o   Peter Rosin <peda@lysator.liu.se>
450     * Output %p as unsigned in snprintf replacement.
453 o   Ronnie Sahlberg <ronniesahlberg@gmail.com>
454     * New attempt at TDB transaction nesting allow/disallow.
457 o   Kirill Smelkov <kirr@mns.spb.ru>
458     * Remove swig stuff from libtdb.
459     * Reset tdb->fd to -1 in tdb_close() in libtdb.
462 o   Simo Sorce <idra@samba.org>
463     * Change the way mksysms work in libtalloc.
466 o   Jelmer Vernooij <jelmer@samba.org>
467     * Also build and install tdb manpages from standalone tdb.
470 o   Bo Yang <boyang@samba.org>
471     * Fix infinite loop in NCACN_IP_TCP as there is no timeout.
472     * Make winbindd_cache.c aware of domain offline to avoid unnecessary backend
473       query.
474     * List trusted domains from wcache when domain is offline.
477 Changes since 3.5.0pre1
478 -----------------------
480 o   Michael Adam <obnox@samba.org>
481     * Fix the build when no external talloc and tdb are installed.
482     * Fix detection of CTDB headers on systems without system-libtalloc.
485 o   Jeremy Allison <jra@samba.org>
486     * BUG 6802: A created folder does not properly inherit permissions from
487       parent in vfs_acl_xattr.
488     * BUG 6837: "Too many open files" when trying to access large number of
489       files from Windows 7.
490     * BUG 6938 : No hook exists to check creation rights when using acl_xattr
491       module.
492     * Fix vfs_acl_xattr which was failing to call the NEXT connect function.
493     * Restructure the ACL code.
494     * Refactor reply_rmdir to use handle based code.
497 o   Dan Cox <dan@wep.net>
498     * BUG 2350: Add LDAP Alias Dereferencing support.
501 o   Günther Deschner <gd@samba.org>
502     * BUG 6929: Fix build with recent heimdal.
503     * Fix several printing issues.
504     * Fix the build on Mac OS X 10.6.2.
505     * Fix net and rpcclient after setprinterdataex changes.
506     * Add full support for level 8 printer drivers.
507     * Add more spoolss architectures to IDL.
508     * Fix enumprinter key client and server.
509     * Fix crash in EnumPrinterDataEx.
512 o   Björn Jacke <bj@sernet.de>
513     * Prefer posix_fallocate for doing "strict allocate".
516 o   Matt Kraai <mkraai@beckman.com>
517     * BUG 6860: Fix shared library build on QNX.
520 o   Volker Lendecke <vl@samba.org>
521     * BUG 6288: SWAT adds a second share when changing parameters of an existing
522       share.
523     * BUG 6435: Fix minor memory corruption.
524     * Restore "fake directory create times" as a share parameter.
525     * Fix explicit stat64 support.
526     * Add support for NetWkstaGetInfo 101 and 102.
527     * Add rpcclient wkssvc_enumerateusers.
528     * De-deprecate "write cache size" to prevent its removal without a proper
529       alternative.
530     * Allow more than 1000 users in BUILTIN\Users.
533 o   Jim McDonough <jmcd@samba.org>
534     * BUG 6967: Prevent glibc error on 'net ads join'.
537 o   Lars Müller <lars@samba.org>
538     * BUG 6710: Only install the cifs.upcall man page if CIFSUPCALL_PROGS was
539       set while configure.
542 o   Ian Puleston <ipuleston@sonicwall.com>
543     * Complete support for NetWkstaGetInfo/NetWkstaEnumUsers.
546 o   Karolin Seeger <kseeger@samba.org>
547     * Fix the build of the example VFS modules.
550 o   Bo Yang <boyang@samba.org>
551     * BUG 6879: Fix crash in Winbind.
552     * Fix crash in free_file_list().
553     * Give the user a chance to change password when password will expire soon.
556 ######################################################################
557 Reporting bugs & Development Discussion
558 #######################################
560 Please discuss this release on the samba-technical mailing list or by
561 joining the #samba-technical IRC channel on irc.freenode.net.
563 If you do report problems then please try to send high quality
564 feedback. If you don't provide vital information to help us track down
565 the problem then you will probably be ignored.  All bug reports should
566 be filed under the Samba 3.5 product in the project's Bugzilla
567 database (https://bugzilla.samba.org/).
570 ======================================================================
571 == Our Code, Our Bugs, Our Responsibility.
572 == The Samba Team
573 ======================================================================