s3-rpcclient: Fix Bug #7277. rpcclient was sending invalid data, causing cupsaddsmb...
[Samba/bb.git] / WHATSNEW.txt
blob8d79905a1530cdf5afb0db253a6d02b4f2692aef
1                    =============================
2                    Release Notes for Samba 3.5.3
3                             May 19, 2010
4                    =============================
7 This is the latest stable release of Samba 3.5.
9 Major enhancements in Samba 3.5.3 include:
11   o
14 Changes since 3.5.2
15 -------------------
19 ######################################################################
20 Reporting bugs & Development Discussion
21 #######################################
23 Please discuss this release on the samba-technical mailing list or by
24 joining the #samba-technical IRC channel on irc.freenode.net.
26 If you do report problems then please try to send high quality
27 feedback. If you don't provide vital information to help us track down
28 the problem then you will probably be ignored.  All bug reports should
29 be filed under the Samba 3.5 product in the project's Bugzilla
30 database (https://bugzilla.samba.org/).
33 ======================================================================
34 == Our Code, Our Bugs, Our Responsibility.
35 == The Samba Team
36 ======================================================================
39 Release notes for older releases follow:
40 ----------------------------------------
42                    =============================
43                    Release Notes for Samba 3.5.2
44                            April 7, 2010
45                    =============================
48 This is the latest stable release of Samba 3.5.
50 Major enhancements in Samba 3.5.2 include:
52   o Fix smbd segfaults in _netr_SamLogon for clients sending null domain
53     (bug #7237).
54   o Fix smbd segfaults in "waiting for connections" message (bug #7251).
55   o Fix an uninitialized variable read in smbd (bug #7254).
56   o Fix a memleak in Winbind (bug #7278).
57   o Fix Winbind reconnection to it's own domain (bug #7295).
60 Changes since 3.5.1
61 -------------------
64 o   Michael Adam <obnox@samba.org>
65     * BUG 7231: Fix automatic building of vfs_tsmsm if gpfs and dmapi are
66       present.
67     * BUG 7232: Fix race conditions in CTDB persistent transactions.
68     * BUG 7313: Make 'net conf addshare' atomic.
69     * BUG 7314: Eliminate race condition in creating/scanning sorted subkeys in
70       the registry backend.
73 o   Jeremy Allison <jra@samba.org>
74     * BUG 7075: Fix bug in vfs_scannedonly rmdir implementation.
75     * BUG 7159: Fix handling of bad server data returns in client rpc_transport.
76     * BUG 7234: Symlink delete fails but incorrectly reports success to client.
77     * BUG 7255: Fix "printer admin" functionality.
78     * BUG 7283: Fix smbd segfault if using vfs_acl_tdb.
79     * BUG 7297: Fix smbd crashes with CUPS printers and no [printers] share defined.
80     * BUG 7310: Fix DOS attribute inconsistency with MS Office.
83 o   Kai Blin <kai@samba.org>
84     * BUG 7290: Fix core dump in 'ntlm_auth' with "gss-spnego" helper.
87 o   Günther Deschner <gd@samba.org>
88     * BUG 6727: Fix several printing issues.
89     * BUG 7237: Fix smbd segfaults in _netr_SamLogon for clients sending
90       null domain.
91     * BUG 7256: Fix value-needed calculation in_spoolss_EnumPrinterData().
92     * BUG 7258: Fix _winreg_QueryValue crash bugs and implement Windows
93       behavior.
96 o   Holger Hetterich <hhetter@novell.com>
97     * BUG 7203: Fix 'net share' command.
100 o   Michael Karcher <samba@mkarcher.dialup.fu-berlin.de>
101     * BUG 7269: Fix job management commands for CUPS queues.
104 o   Jeff Layton <jlayton@redhat.com>
105     * BUG 6853: Fix race condition in mount.cifs that allows user to replace
106       mountpoint with a symlink.
109 o   Volker Lendecke <vl@samba.org>
110     * BUG 5198: Fix parsing of the gecos field.
111     * BUG 7202: Fix access by multi-threaded applications.
112     * BUG 7212: Fix returning of group members with 'getent group'.
113     * BUG 7216: Fix the build of net_afs.c with --fake-kaserver=yes.
114     * BUG 7229: Fix a NULL pointer dereference in smbd.
115     * BUG 7232: Fix race conditions in CTDB persistent transactions.
116     * BUG 7254: Fix an uninitialized variable read in smbd.
117     * BUG 7278: Fix a memleak in Winbind.
120 o   Roel van Meer <rolek@alt001.com>
121     * BUG 6814: Fix valgrind warning.
124 o   Stefan Metzmacher <metze@samba.org>
125     * BUG 7170: Never mark external domains as internal in Winbind.
126     * BUG 7225: Make Winbind logs more verbose for troubleshooting.
127     * BUG 7251: Fix smbd segfault in "waiting for connections" message.
128     * BUG 7295: Fix Winbind reconnection to it's own domain.
129     * BUG 7316: Winbind possibly segfaults when trying a trusted domain without
130       inbound trust.
133 o   SATOH Fumiyasu <fumiyas@osstech.co.jp>
134     * BUG 1206: Fix segfault if hide files or veto files has no ".AppleDouble".
137 o   Simo Sorce <idra@samba.org>
138     * BUG 7204: Fix DN parsing name was always null.
141 o   Andrew Tridgell <tridge@samba.org>
142     * BUG 7312: Many disconnecting clients render clustered Samba unusuable
143       for some time.
146 o   Bo Yang <boyang@samba.org>
147     * BUG 7206: Signals are processed twice in child.
151 ######################################################################
152 Reporting bugs & Development Discussion
153 #######################################
155 Please discuss this release on the samba-technical mailing list or by
156 joining the #samba-technical IRC channel on irc.freenode.net.
158 If you do report problems then please try to send high quality
159 feedback. If you don't provide vital information to help us track down
160 the problem then you will probably be ignored.  All bug reports should
161 be filed under the Samba 3.5 product in the project's Bugzilla
162 database (https://bugzilla.samba.org/).
165 ======================================================================
166 == Our Code, Our Bugs, Our Responsibility.
167 == The Samba Team
168 ======================================================================
170 ----------------------------------------------------------------------
172                    =============================
173                    Release Notes for Samba 3.5.1
174                             March 8, 2010
175                    =============================
178 This is a security release in order to address CVE-2010-0728.
181 o  CVE-2010-0728:
182    In Samba releases 3.5.0, 3.4.6 and 3.3.11, new code
183    was added to fix a problem with Linux asynchronous IO handling.
184    This code introduced a bad security flaw on Linux platforms if the
185    binaries were built on Linux platforms with libcap support.
186    The flaw caused all smbd processes to inherit CAP_DAC_OVERRIDE
187    capabilities, allowing all file system access to be allowed
188    even when permissions should have denied access.
191 Changes since 3.5.0
192 -------------------
195 o   Jeremy Allison <jra@samba.org>
196     * BUG 7222: Fix for CVE-2010-0728.
199 ######################################################################
200 Reporting bugs & Development Discussion
201 #######################################
203 Please discuss this release on the samba-technical mailing list or by
204 joining the #samba-technical IRC channel on irc.freenode.net.
206 If you do report problems then please try to send high quality
207 feedback. If you don't provide vital information to help us track down
208 the problem then you will probably be ignored.  All bug reports should
209 be filed under the Samba 3.5 product in the project's Bugzilla
210 database (https://bugzilla.samba.org/).
213 ======================================================================
214 == Our Code, Our Bugs, Our Responsibility.
215 == The Samba Team
216 ======================================================================
219 ----------------------------------------------------------------------
222                    =============================
223                    Release Notes for Samba 3.5.0
224                             March 1, 2010
225                    ===============================
228 This is the first stable release of Samba 3.5.
231 Major enhancements in Samba 3.5.0 include:
233 General changes:
234 o Add support for full Windows timestamp resolution
235 o The Using Samba HTML book has been removed.
236 o 'net', 'smbclient' and libsmbclient can use credentials cached by Winbind.
237 o The default value of "wide links" has been changed to "no".
239 Protocol changes:
240 o Experimental implementation of SMB2
242 Printing Changes:
243 o Add encryption support for connections to a CUPS server
245 Winbind changes:
246 o Major refactoring
247 o Asynchronous
249 VFS modules:
250 o New vfs_scannedonly module has been added.
253 General changes:
254 ================
256 Support for full Windows timestamp resolution has been added. This effectively
257 makes us use Windows' full 100ns timestamp resolution if supported by the
258 kernel (2.6.22 and higher) and the glibc (2.6 and higher).
260 The Using Samba HTML book has been removed from the Samba tarball.
261 It is still available at http://www.samba.org/samba/docs/using_samba/toc.html.
263 Samba client tools like 'net', 'smbclient' and libsmbclient can use the user
264 credentials cached by Winbind at logon time. This is very useful e.g. when
265 connecting to a Samba server using Nautilus without re-entering username and
266 password. This feature is enabled by default and can be disabled per application
267 by setting the LIBSMBCLIENT_NO_CCACHE environment variable.
269 The default value of "wide links" has been changed to "no" to avoid an insecure
270 default configuration ("wide links = yes" and "unix extensions = yes"). For
271 more details, please see http://www.samba.org/samba/news/symlink_attack.html.
274 Protocol changes
275 ================
277 An EXPERIMENTAL implementation of the SMB2 protocol has been added. SMB2 can be
278 enabled by setting "max protocol = smb2". SMB2 is a new implementation of the
279 SMB protocol used by Windows Vista and higher.
281 Printing Changes
282 ================
284 A new parameter "cups encrypt" has been added to control whether connections to
285 CUPS servers will be encrypted or not. The default is to use unencrypted
286 connections.
288 Winbind changes
289 ===============
291 The Winbind daemon has been refactored internally to be asynchronous. The new
292 Winbind will not be blocked by running 'getent group' or 'getent passwd'.
294 VFS modules
295 ===========
297 A new VFS module "scannedonly" has been added. This is a filter that
298 talks to an antivirus-engine and stores whether a file is clean or not.
299 Users do only see clean files on their filesystem.
302 ######################################################################
303 Changes
304 #######
306 smb.conf changes
307 ----------------
309    Parameter Name                      Description     Default
310    --------------                      -----------     -------
312    create krb5 conf                    New             yes
313    ctdb timeout                        New             0
314    cups encrypt                        New             no
315    debug hires timestamp               Changed Default yes
316    ldap deref                          New             auto
317    ldap follow referral                New             auto
318    nmbd bind explicit broadcast        New             no
319    wide links                          Changed Default no
322 New configure options
323 ---------------------
325 --enable-external-libtdb        Enable external tdb
326 --enable-netapi                 Turn on netapi support
327 --enable-pthreadpool            Enable pthreads pool helper support
328 --with-cifsumount               Include umount.cifs (Linux only) support
329 --with-codepagedir=DIR          Where to put codepages
332 Commit Highlights
333 =================
335 o   Björn Jacke <bj@sernet.de>
336     * Add support for full Windows timestamp resolution.
337     * Add encryption support for connections to a CUPS server.
340 o   Volker Lendecke <vl@samba.org>
341     * Major internal refactoring of the Winbind daemon.
342     * Make Winbind asynchronous.
343     * Make 'net', 'smbclient' and libsmbclient use the logon credentials cached
344       by Winbind.
347 o   Stefan Metzmacher <metze@samba.org>
348     * Implement the new SMB2 protocol (experimental).
351 Changes since 3.5.0rc3
352 ----------------------
355 o   Günther Deschner <gd@samba.org>
356     * BUG 7181: Fix 'net ads dns' usage calls.
357     * BUG 7182: Fix uninitialized variable in wkssvc_enumerateusers.
360 o   Volker Lendecke <vl@samba.org>
361     * BUG 7145: Fix duplicate sam and unix accounts.
362     * BUG 7166: Avoid calling cli_alloc_mid twice in cli_smb_req_iov_send.
365 o   Stefan Metzmacher <metze@samba.org>
366     * BUG 7160: Keep the the correct negotiate_flags on the cli->dc structure.
369 Changes since 3.5.0rc2
370 ----------------------
373 o   Jeremy Allison <jra@samba.org>
374     * BUG 6557: Fix vfs_full_audit.
375     * BUG 6876: Fix duplicate initializer in the rmdir module.
376     * BUG 7063: Fix core dump on Ubuntu 8.04 64 bit.
377     * BUG 7067: Fix failing of smbd to respond to a read or a write caused by
378       Linux asynchronous IO (aio).
379     * BUG 7069: Fix 'smbget' error status.
380     * BUG 7072: Fix unlocking of accounts from ldap.
381     * BUG 7079  Cliconnect gets realm wrong with trusted domains.
382     * BUG 7081: Fix vfs_expand_msdfs.
383     * BUG 7084: Fix storing of create time on directories in an EA in new
384       create time code.
385     * BUG 7104: "wide links" and "unix extensions" are incompatible.
386     * BUG 7118: Fix nmbd problems with socket address.
387     * BUG 7122: Fix reading of large browselist.
388     * BUG 7154: "mangling method = hash" can crash storing a name containing a '.'.
389     * BUG 7155: Valgrind Conditional jump or move depends on uninitialised
390       value(s) error when "mangling method = hash"..
393 o   Steven Danneman <steven.danneman@isilon.com>
394     * BUG 7096: Fix string buffer overflow causing heap corruption in smbd.
397 o   Günther Deschner <gd@samba.org>
398     * BUG 6888: Fix printing with 64 bit clients.
399     * BUG 7130: Fix listing of printjobs in  Windows 7.
400     * BUG 7148: Fix get_acl_blob in the acl_tdb VFS module.
403 o   Björn Jacke <bj@sernet.de>
404     * BUG 7103: Fix build issue on Tru64.
405     * BUG 7116: Change ldap filter to what really was intended.
406     * Fix some wrong newlines in de translation strings.
409 o   Jeff Layton <jlayton@redhat.com>
410     * BUG 6868: Fix crash bug in 'cifs.upcall'.
413 o   Volker Lendecke <vl@samba.org>
414     * BUG 7085: Fix an early release of the global lock that can cause data
415       corruption in libtdb.
416     * BUG 7139: Owner of file not available with Kerberos.
419 o   Stefan Metzmacher <metze@samba.org>
420     * BUG 6888: Fix printing with 64 bit clients.
421     * BUG 7098: Fix results of 'smbclient -L' with a large browse list.
422     * BUG 7116: Add pdb_ldap performance fixes.
423     * BUG 7118: Add new "nmbd bind explicit broadcast" parameter.
424     * BUG 7119: Support large browselist.
425     * BUG 7140: Fix IPv4/IPv6 problems.
428 o   Lars Müller <lars@samba.org>
429     * BUG 7071: Fix build of 'smbfilter'.
430     * BUG 7047: Add cross option to samba_cv_linux_getgrouplist_ok.
431     * BUG 7102: Normalize "Changing password for" msg IDs and STRs.
434 o   Olivier Sessink <olivier@virtscano.fakenet>
435     * BUG 7076: Fix build of vfs_scannedonly on AIX.
438 o   Bo Yang <boyang@samba.org>
439     * BUG 7106: Fix malformed require_membership_of_sid.
443 Changes since 3.5.0rc1
444 ----------------------
447 o   Michael Adam <obnox@samba.org>
448     * BUG 4347: Check password history before increasing "badPasswordCount".
451 o   Jeremy Allison <jra@samba.org>
452     * BUG 5202: Fix changing of ACLs on writable file with "dos filemode=yes".
453     * BUG 6876: Fix deletion of an object whose parent folder does not have delete
454       rights fails even if the delete right is set on the object in
455       vfs_acl_xattr and vfs_acl_tdb.
456     * BUG 7033: Fix SMBrmdir error message when deleting a directory fails.
457     * BUG 7036: Fix 'net rpc getsid' in hardened Windows environments.
458     * BUG 7045: Fix bad (non memory copying) interfaces in smbc_setXXXX calls.
461 o   Giovanni Bajo <rasky@develer.com>
462     * BUG 7029: Disable sanity check in NetShareEnum for better compatibility
463       with Windows.
466 o   Kai Blin <kai@samba.org>
467     * BUG 7039: Fix compile error with WITH_DNS_UPDATE. Update .po files.
470 o   Günther Deschner <gd@samba.org>
471     * BUG 7043: Fix crash bug in libsmbclient.
474 o   André Hentschel <nerv@dawncrow.de>
475     * BUG 7039: Complete German translation of 'net'.
478 o   Björn Jacke <bj@sernet.de>
479     * BUG 7039: Improve some German translations in 'net'.
482 o   William Jojo <w.jojo@hvcc.edu>
483     * BUG 7052: Fix DFS on AIX.
486 o   Volker Lendecke <vl@samba.org>
487     * BUG 6981: Fix large paged search with DirX LDAP servers.
488     * BUG 7027: Fix a segfault in winbindd_dual_ccache_ntlm_auth().
489     * BUG 7037: Fix a Winbind segfault in "trusted_domains".
490     * BUG 7046: Fix libsmbclient crash against OpenSolaris CIFS server.
491     * BUG 7062: Make 'net', 'smbclient' and libsmbclient use the logon
492       credentials cached by Winbind.
493     * Lock down some srvsvc calls according to what w2k3 seems to do.
496 o   Stefan Metzmacher <metze@samba.org>
497     * BUG 6157: Restore Samba 3.0.x behavior and use the first "uid" value in
498       pdb_ldap.
501 o   SASAJIMA Toshihiro <sasajima_t@jp.fujitsu.com>
502     * BUG 7034: Fix segfault in vfs_cap.
505 o   Olivier Sessink <oliviersessink@gmail.com>
506     * BUG 7028: Add new scannedonly VFS module.
509 Changes since 3.5.0pre2
510 -----------------------
512 o   Jeremy Allison <jra@samba.org>
513     * BUG 6837: Fix "Too many open files" when trying to access large number of
514       files with Windows 7.
515     * BUG 6939: Fix long filenames when "mangling method" is set to "hash".
516     * BUG 7020: Fix smbd using 2G memory.
517     * Ensure dos_mode can return FILE_ATTRIBUTE_NORMAL, then filter the returned
518       attributes by protocol level.
519     * Vector correctly through reply_openerror() (which uses the same logic).
520     * Fix bugs with the full Windows ACL support.
523 o   Kai Blin <kai@samba.org>
524     * Add a few missing gettext calls to the 'net' command.
525     * Fix up a share type translation and translate some more strings in 'net'.
528 o   Günther Deschner <gd@samba.org>
529     * Allow to call "pdbedit -N description -u user" without specifiyng "-r".
530     * Add spoolss_DriverInfo7.
531     * Fix rpcclient after setprinter IDL fixes.
532     * Use generated krb5.conf in 'net ads testjoin'.
535 o   Jonas Gorski <jonas.gorski+samba@gmail.com>
536     * BUG 6992: make test for getgrouplist cacheable.
539 o   André Hentschel <nerv@dawncrow.de>
540     * Add some German translations for the 'net' command.
543 o   Suresh Jayaraman <sjayaraman@suse.de>
544     * Update mount.cifs man page with nounix option.
547 o   Volker Lendecke <vl@samba.org>
548     * Fix _samr_GetAliasMembership for results with 0 rids.
549     * Fix an error case in cli_negprot.
550     * Add a lower-cost alternative to wbinfo -t: wbinfo --ping-dc.
551     * Restore correct timeouts for SMB requests.
552     * Fix a 64-bit error in libsmb.
553     * Replace IS_DOMAIN_OFFLINE by a function in Winbind.
554     * Simplify/cleanup Winbind code.
557 o   Kamen Mazdrashki <kamen.mazdrashki@postpath.com>
558     * Fix write behind memory block in libtalloc.
559     * Fix result check for getaddrinfo().
562 o   Jim McDonough <jmcd@samba.org>
563     * BUG 7014: Fix Winbind crash when retrieving empty group members.
566 o   Brian Lu <brian.lu@sun.com>
567     * BUG 6991: Create symbol links to shared libraries.
570 o   Stefan Metzmacher <metze@samba.org>
571     * Add tsocket_address_bsd_sockaddr() and tsocket_address_bsd_from_sockaddr()
572       to tsocket.
573     * Always set tdb->tracefd to -1 to be safe on goto fail in libtdb.
574     * Add TDB_DISALLOW_NESTING and make TDB_ALLOW_NESTING the default behavior.
575     * Fix standalone 'make installdocs'.
578 o   Peter Rosin <peda@lysator.liu.se>
579     * Output %p as unsigned in snprintf replacement.
582 o   Ronnie Sahlberg <ronniesahlberg@gmail.com>
583     * New attempt at TDB transaction nesting allow/disallow.
586 o   Kirill Smelkov <kirr@mns.spb.ru>
587     * Remove swig stuff from libtdb.
588     * Reset tdb->fd to -1 in tdb_close() in libtdb.
591 o   Simo Sorce <idra@samba.org>
592     * Change the way mksysms work in libtalloc.
595 o   Jelmer Vernooij <jelmer@samba.org>
596     * Also build and install tdb manpages from standalone tdb.
599 o   Bo Yang <boyang@samba.org>
600     * Fix infinite loop in NCACN_IP_TCP as there is no timeout.
601     * Make winbindd_cache.c aware of domain offline to avoid unnecessary backend
602       query.
603     * List trusted domains from wcache when domain is offline.
606 Changes since 3.5.0pre1
607 -----------------------
609 o   Michael Adam <obnox@samba.org>
610     * Fix the build when no external talloc and tdb are installed.
611     * Fix detection of CTDB headers on systems without system-libtalloc.
614 o   Jeremy Allison <jra@samba.org>
615     * BUG 6802: A created folder does not properly inherit permissions from
616       parent in vfs_acl_xattr.
617     * BUG 6837: "Too many open files" when trying to access large number of
618       files from Windows 7.
619     * BUG 6938 : No hook exists to check creation rights when using acl_xattr
620       module.
621     * Fix vfs_acl_xattr which was failing to call the NEXT connect function.
622     * Restructure the ACL code.
623     * Refactor reply_rmdir to use handle based code.
626 o   Dan Cox <dan@wep.net>
627     * BUG 2350: Add LDAP Alias Dereferencing support.
630 o   Günther Deschner <gd@samba.org>
631     * BUG 6929: Fix build with recent heimdal.
632     * Fix several printing issues.
633     * Fix the build on Mac OS X 10.6.2.
634     * Fix net and rpcclient after setprinterdataex changes.
635     * Add full support for level 8 printer drivers.
636     * Add more spoolss architectures to IDL.
637     * Fix enumprinter key client and server.
638     * Fix crash in EnumPrinterDataEx.
641 o   Björn Jacke <bj@sernet.de>
642     * Prefer posix_fallocate for doing "strict allocate".
645 o   Matt Kraai <mkraai@beckman.com>
646     * BUG 6860: Fix shared library build on QNX.
649 o   Volker Lendecke <vl@samba.org>
650     * BUG 6288: SWAT adds a second share when changing parameters of an existing
651       share.
652     * BUG 6435: Fix minor memory corruption.
653     * Restore "fake directory create times" as a share parameter.
654     * Fix explicit stat64 support.
655     * Add support for NetWkstaGetInfo 101 and 102.
656     * Add rpcclient wkssvc_enumerateusers.
657     * De-deprecate "write cache size" to prevent its removal without a proper
658       alternative.
659     * Allow more than 1000 users in BUILTIN\Users.
662 o   Jim McDonough <jmcd@samba.org>
663     * BUG 6967: Prevent glibc error on 'net ads join'.
666 o   Lars Müller <lars@samba.org>
667     * BUG 6710: Only install the cifs.upcall man page if CIFSUPCALL_PROGS was
668       set while configure.
671 o   Ian Puleston <ipuleston@sonicwall.com>
672     * Complete support for NetWkstaGetInfo/NetWkstaEnumUsers.
675 o   Karolin Seeger <kseeger@samba.org>
676     * Fix the build of the example VFS modules.
679 o   Bo Yang <boyang@samba.org>
680     * BUG 6879: Fix crash in Winbind.
681     * Fix crash in free_file_list().
682     * Give the user a chance to change password when password will expire soon.
685 ######################################################################
686 Reporting bugs & Development Discussion
687 #######################################
689 Please discuss this release on the samba-technical mailing list or by
690 joining the #samba-technical IRC channel on irc.freenode.net.
692 If you do report problems then please try to send high quality
693 feedback. If you don't provide vital information to help us track down
694 the problem then you will probably be ignored.  All bug reports should
695 be filed under the Samba 3.5 product in the project's Bugzilla
696 database (https://bugzilla.samba.org/).
699 ======================================================================
700 == Our Code, Our Bugs, Our Responsibility.
701 == The Samba Team
702 ======================================================================