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