WHATSNEW: Add release notes for Samba 4.1.11.
[Samba.git] / WHATSNEW.txt
blob521ea1fd0b82731127516b121c643ce982a6b145
1                    ==============================
2                    Release Notes for Samba 4.1.11
3                            August 1, 2014
4                    ==============================
7 This is a security release in order to address
8 CVE-2014-3560 (Remote code execution in nmbd).
10 o  CVE-2014-3560:
11    Samba 4.0.0 to 4.1.10 are affected by a remote code execution attack on
12    unauthenticated nmbd NetBIOS name services.
14    A malicious browser can send packets that may overwrite the heap of
15    the target nmbd NetBIOS name services daemon. It may be possible to
16    use this to generate a remote code execution vulnerability as the
17    superuser (root).
20 Changes since 4.1.10:
21 ---------------------
23 o   Volker Lendecke <vl@samba.org>
24     * BUG 10735: CVE-2014-3560: Fix unstrcpy macro length.
27 #######################################
28 Reporting bugs & Development Discussion
29 #######################################
31 Please discuss this release on the samba-technical mailing list or by
32 joining the #samba-technical IRC channel on irc.freenode.net.
34 If you do report problems then please try to send high quality
35 feedback. If you don't provide vital information to help us track down
36 the problem then you will probably be ignored.  All bug reports should
37 be filed under the Samba 4.1 product in the project's Bugzilla
38 database (https://bugzilla.samba.org/).
41 ======================================================================
42 == Our Code, Our Bugs, Our Responsibility.
43 == The Samba Team
44 ======================================================================
47 Release notes for older releases follow:
48 ----------------------------------------
50 ======================================================================
52                    ==============================
53                    Release Notes for Samba 4.1.10
54                            July 28, 2014
55                    ==============================
58 This is the latest stable release of Samba 4.1.
61 Changes since 4.1.9:
62 --------------------
64 o   Michael Adam <obnox@samba.org>
65     * BUG 10693: Backport ldb-1.1.17 + changes from master.
68 o   Jeremy Allison <jra@samba.org>
69     * BUG 10587: s3: libsmbclient: Work around bugs in SLES cifsd and Apple smbx
70       SMB1 servers.
71     * BUG 10653: Samba won't start on a machine configured with only IPv4.
72     * BUG 10671: s3: smbd: Prevent file truncation on an open that fails with
73       share mode violation.
74     * BUG 10673: s3: SMB2: Fix leak of blocking lock records in the database.
75     * BUG 10684: SMB1 blocking locks can fail notification on unlock, causing
76       client timeout.
77     * BUG 10685: s3: smbd: Locking, fix off-by one calculation in
78       brl_pending_overlap().
79     * BUG 10692: wbcCredentialCache fails if challenge_blob is not first.
82 o   Christian Ambach <ambi@samba.org>
83     * BUG 10693: lib/ldb: Fix compiler warnings.
86 o   Andrew Bartlett <abartlet@samba.org>
87     * BUG 8077: dbcheck: Add check and test for various invalid userParameters
88       values.
89     * BUG 8449: Simple use case results in "no talloc stackframe around, leaking
90       memory" error.)
91     * BUG 10130: dsdb: Always store and return the userParameters as a array of
92       LE 16-bit values.
93     * BUG 10582: dsdb: Rename private_data to rootdse_private_data in rootdse.
94     * BUG 10627: rid_array used before status checked - segmentation fault due
95       to null pointer dereference.
96     * BUG 10693: ldb: make the successful ldb_transaction_start() message
97       clearer.
98     * BUG 10694: dsdb: Return NO_SUCH_OBJECT if a basedn is a deleted object.
99     * BUG 10700: Backport access check related fixes from master.
102 o   Björn Baumbach <bb@sernet.de>
103     * BUG 10674: samba-tool: Add --site parameter to provision command.
106 o   Howard Chu <hyc@symas.com>
107     * BUG 10693: Fix SEGV from improperly formed SUBSTRING/PRESENCE filter.
110 o   Jeroen Dekkers <jeroen@dekkers.ch>
111     * BUG 10693: ldb: Do not build libldb-cmdline when using system ldb.
114 o   Nadezhda Ivanova <nivanova@symas.com>
115     * BUG 10693: s4-openldap: Remove use of talloc_reference in
116       ldb_map_outbound.c
119 o   Björn Jacke <bj@sernet.de>
120     * BUG 3263: net/doc: Make clear that net vampire is for NT4 domains only.
123 o   Abhidnya Joshi <achirmul@in.ibm.com>
124     * BUG s3: Fix missing braces in nfs4_acls.c.
127 o   Volker Lendecke <vl@samba.org>
128     * BUG 10593: Fix "PANIC: assert failed at ../source3/smbd/open.c(1582): ret".
129     * BUG 10663: msg_channel: Fix a 100% CPU loop.
130     * BUG 10671: s3: smbd: Prevent file truncation on an open that fails with
131       share mode violation.
132     * BUG 10680: smbstatus: Fix an uninitialized variable.
133     * BUG 10687: 'RW2' smbtorture test fails when -N <numprocs> is set to 2 due
134       to the invalid status check in the second client.
135     * BUG 10693: ldb: Fix 1138330 Dereference null return value, fix CIDs
136       241329, 240798, 1034791, 1034792 1034910, 1034910).
137     * BUG 10699: smbd: Avoid double-free in get_print_db_byname.
140 o   Stefan Metzmacher <metze@samba.org>
141     * BUG 8077: s4:dsdb/samldb: Don't allow 'userParameters' to be modified over
142       LDAP for now.
143     * BUG 9763: s4:dsdb/repl_meta_data: Make sure objectGUID can't be deleted.
144     * BUG 10469: ldb-samba: fix a memory leak in
145       ldif_canonicalise_objectCategory().
146     * BUG 10294: s4:repl_meta_data: fix array assignment in
147       replmd_process_linked_attribute().
148     * BUG 10536: dbchecker: Verify and fix broken dn values.
149     * BUG 10692: wbcCredentialCache fails if challenge_blob is not first.
150     * BUG 10693: ldb:pyldb: Add some more helper functions for LdbDn.
151     * BUG 10694: s4:dsdb/extended_dn_in: Don't force DSDB_SEARCH_SHOW_RECYCLED.
152     * BUG 10696: Backport autobuild/selftest fixes from master.
153     * BUG 10706: s3:smb2_read: let smb2_sendfile_send_data() behave like
154       send_file_readX().
157 o   Matthieu Patou <mat@matws.net>
158     * BUG 10693: pyldb: Decrement ref counters on py_results and quiet warnings.
159     * BUG 10698: Backport drs-crackname fixes from master.
162 o   Pavel Reichl <pavel.reichl@redhat.com>
163     * BUG 10693: ldb: Use of NULL pointer bugfix.
166 o   Garming Sam <garming@catalyst.net.nz>
167     * BUG 10703: Backport provision fixes from master.
170 o   Andreas Schneider <asn@samba.org>
171     * BUG 10693: ldb: Add a env variable to disable RTLD_DEEPBIND.
174 #######################################
175 Reporting bugs & Development Discussion
176 #######################################
178 Please discuss this release on the samba-technical mailing list or by
179 joining the #samba-technical IRC channel on irc.freenode.net.
181 If you do report problems then please try to send high quality
182 feedback. If you don't provide vital information to help us track down
183 the problem then you will probably be ignored.  All bug reports should
184 be filed under the Samba 4.1 product in the project's Bugzilla
185 database (https://bugzilla.samba.org/).
188 ======================================================================
189 == Our Code, Our Bugs, Our Responsibility.
190 == The Samba Team
191 ======================================================================
194 ----------------------------------------------------------------------
197                    =============================
198                    Release Notes for Samba 4.1.9
199                            June 23, 2014
200                    =============================
203 This is a security release in order to address
204 CVE-2014-0244 (Denial of service - CPU loop) and
205 CVE-2014-3493 (Denial of service - Server crash/memory corruption).
207 o  CVE-2014-0244:
208    All current released versions of Samba are vulnerable to a denial of
209    service on the nmbd NetBIOS name services daemon. A malformed packet
210    can cause the nmbd server to loop the CPU and prevent any further
211    NetBIOS name service.
213    This flaw is not exploitable beyond causing the code to loop expending
214    CPU resources.
216 o  CVE-2014-3493:
217    All current released versions of Samba are affected by a denial of service
218    crash involving overwriting memory on an authenticated connection to the
219    smbd file server.
222 Changes since 4.1.8:
223 --------------------
225 o   Jeremy Allison <jra@samba.org>
226     * BUG 10633: CVE-2014-0244: Fix nmbd denial of service.
227     * BUG 10654: CVE-2014-3493: Fix segmentation fault in
228       smbd_marshall_dir_entry()'s SMB_FIND_FILE_UNIX handler.
231 #######################################
232 Reporting bugs & Development Discussion
233 #######################################
235 Please discuss this release on the samba-technical mailing list or by
236 joining the #samba-technical IRC channel on irc.freenode.net.
238 If you do report problems then please try to send high quality
239 feedback. If you don't provide vital information to help us track down
240 the problem then you will probably be ignored.  All bug reports should
241 be filed under the Samba 4.1 product in the project's Bugzilla
242 database (https://bugzilla.samba.org/).
245 ======================================================================
246 == Our Code, Our Bugs, Our Responsibility.
247 == The Samba Team
248 ======================================================================
251 ----------------------------------------------------------------------
254                    =============================
255                    Release Notes for Samba 4.1.8
256                            June 3, 2014
257                    =============================
260 This is the latest stable release of Samba 4.1.
262 Please note that this bug fix release also addresses two minor security issues
263 without being a dedicated security release:
265   o CVE-2014-0239: dns: Don't reply to replies (bug #10609).
266   o CVE-2014-0178: Malformed FSCTL_SRV_ENUMERATE_SNAPSHOTS response
267     (bug #10549).
269 For more details including security advisories and patches, please see
271   http://www.samba.org/samba/history/security.html
274 Changes since 4.1.7:
275 --------------------
277 o   Michael Adam <obnox@samba.org>
278     * BUG 10548: build: Fix ordering problems with lib-provided and internal
279       RPATHs.
282 o   Jeremy Allison <jra@samba.org>
283     * BUG 3124: s3: smb2: Fix 'xcopy /d' with samba shares.
284     * BUG 10544: s3: lib/util: Fix logic inside set_namearray loops.
285     * BUG 10564: Fix lock order violation and file lost.
286     * BUG 10577: Fix wildcard unlink to fail if we get an error rather than
287       trying to continue.
290 o   Andrew Bartlett <abartlet@samba.org>
291     * BUG 10569: dsdb: Do checks for invalid renames in samldb, before
292       repl_meta_data.
295 o   Björn Baumbach <bb@sernet.de>
296     * BUG 10239: s3: nmbd: Reset debug settings after reading config file.
297     * BUG 10544: s3: lib/util: set_namearray reads across end of namelist
298     * BUG 10556: lib-util: Rename memdup to smb_memdup and fix all callers.
301 o   Kai Blin <kai@samba.org>
302     * BUG 10609: CVE-2014-0239: dns: Don't reply to replies.
305 o   Alexander Bokovoy <ab@samba.org>
306     * BUG 10517: Use exit_daemon() to communicate status of startup to
307       systemd.
310 o   David Disseldorp <ddiss@samba.org>
311     * BUG 10590: byteorder: Do not assume PowerPC is big-endian.
312     * BUG 10612: printing: Fix purge of all print jobs.
315 o   Benjamin Franzke <benjaminfranzke@googlemail.com>
316     * BUG 10524: Fix adding NetApps.
319 o   Abhidnya Joshi <achirmul@in.ibm.com>
320     * BUG 10547: idmap_autorid: Fix failure in reverse lookup if ID is from
321       domain range index #0.
324 o   Stefan Metzmacher <metze@samba.org>
325     * BUG 10472: script/autobuild: Make use of
326       '--with-perl-{arch,lib}-install-dir'.
329 o   Noel Power <nopower@suse.com>
330     * BUG 10554: Fix read of deleted memory in reply_writeclose()'.
333 o   Jose A. Rivera <jarrpa@redhat.com>
334     * BUG 10151: Extra ':' in msg for Waf Cross Compile Build System with
335       Cross-answers command.
336     * BUG 10348: Fix empty body in if-statement in continue_domain_open_lookup.
339 o   Christof Schmitt <christof.schmitt@us.ibm.com>
340     * BUG 10549: CVE-2014-0178: Malformed FSCTL_SRV_ENUMERATE_SNAPSHOTS
341       response.
344 o   Andreas Schneider <asn@samba.org>
345     * BUG 10472: wafsamba: Fix the installation on FreeBSD.
348 #######################################
349 Reporting bugs & Development Discussion
350 #######################################
352 Please discuss this release on the samba-technical mailing list or by
353 joining the #samba-technical IRC channel on irc.freenode.net.
355 If you do report problems then please try to send high quality
356 feedback. If you don't provide vital information to help us track down
357 the problem then you will probably be ignored.  All bug reports should
358 be filed under the Samba 4.1 product in the project's Bugzilla
359 database (https://bugzilla.samba.org/).
362 ======================================================================
363 == Our Code, Our Bugs, Our Responsibility.
364 == The Samba Team
365 ======================================================================
368 ----------------------------------------------------------------------
371                    =============================
372                    Release Notes for Samba 4.1.7
373                            April 17, 2014
374                    =============================
377 This is the latest stable release of Samba 4.1.
380 Changes since 4.1.6:
381 --------------------
383 o   Jeremy Allison <jra@samba.org>
384     * BUG 9878: Make "force user" work as expected.
385     * BUG 9942: Fix problem with server taking too long to respond to a
386       MSG_PRINTER_DRVUPGRADE message.
387     * BUG 9993: s3-printing: Fix obvious memory leak in
388       printer_list_get_printer().
389     * BUG 10344: SessionLogoff on a signed connection with an outstanding notify
390       request crashes smbd.
391     * BUG 10431: Fix STATUS_NO_MEMORY response from Query File Posix Lock request.
392     * BUG 10508: smbd: Correctly add remote users into local groups.
393     * BUG 10534: Cleanup messages.tdb record after unclean smbd shutdown.
396 o   Christian Ambach <ambi@samba.org>
397     * BUG 9911: Fix build on AIX with IBM XL C/C++ (gettext detection issues).
398     * BUG 10308: Fix String Conversion Errors with Samba 4.1.0 Build on AIX 7.1.
401 o   Gregor Beck <gbeck@sernet.de>
402     * BUG 10230: Make (lib)smbclient work with NetApp.
403     * BUG 10458: Fix 'wbinfo -i' with one-way trust.
404     * s3:rpc_server: Minor refactoring of process_request_pdu().
407 o   Kai Blin <kai@samba.org>
408     * BUG 10471: Don't respond with NXDOMAIN to records that exist with another
409       type.
412 o   Alexander Bokovoy <ab@samba.org>
413     * BUG 10504: lsa.idl: Define lsa.ForestTrustCollisionInfo and
414       ForestTrustCollisionRecord as public structs.
417 o   Günther Deschner <gd@samba.org>
418     * BUG 10439: Increase max netbios name components.
421 o   David Disseldorp <ddiss@samba.org>
422     * BUG 10188: doc: Add "spoolss: architecture" parameter usage.
423     * BUG 10484: Initial FSRVP rpcclient requests fail with
424       NT_STATUS_PIPE_NOT_AVAILABLE.
425     * BUG 10521: rpcclient FSRVP request UNCs should include a trailing
426       backslash.
429 o   Daniel Liberman <danielvl@gmail.com>
430     * BUG 10387: 'net ads search' on high latency networks can return a partial
431       list with no error indication.
434 o   Stefan Metzmacher <metze@samba.org>
435     * BUG 10200: Make 'smbclient' support DFS shares with SMB2/3.
436     * BUG 10344: SessionLogoff on a signed connection with an outstanding notify
437       request crashes smbd.
438     * BUG 10422: max xmit > 64kb leads to segmentation fault.
439     * BUG 10444: smbd_server_connection_terminate("CTDB_SRVID_RELEASE_IP")
440       panics from within ctdbd_migrate() with invalid lock_order.
441     * BUG 10464: samba4 services not binding on IPv6 addresses causing
442       connection delays.
445 o   Garming Sam <garming@catalyst.net.nz>
446     * BUG 10378: dfs: Always call create_conn_struct with root privileges.
449 o   Andreas Schneider <asn@cryptomilk.org>
450     * BUG 10467: s3-vfs: Fix stream_depot vfs module on btrfs.
451     * BUG 10472: pidl: waf should have an option for the dir to install perl
452       files and do not glob.
453     * BUG 10474: s3-spoolssd: Don't register spoolssd if epmd is not running.
454     * BUG 10481: s3-rpc_server: Fix handling of fragmented rpc requests.
457 o   Gustavo Zacarias <gustavo@zacarias.com.ar>
458     * BUG 10506: Make 'smbreadline' build with readline 6.3.
461 #######################################
462 Reporting bugs & Development Discussion
463 #######################################
465 Please discuss this release on the samba-technical mailing list or by
466 joining the #samba-technical IRC channel on irc.freenode.net.
468 If you do report problems then please try to send high quality
469 feedback. If you don't provide vital information to help us track down
470 the problem then you will probably be ignored.  All bug reports should
471 be filed under the Samba 4.1 product in the project's Bugzilla
472 database (https://bugzilla.samba.org/).
475 ======================================================================
476 == Our Code, Our Bugs, Our Responsibility.
477 == The Samba Team
478 ======================================================================
481 ----------------------------------------------------------------------
484                    =============================
485                    Release Notes for Samba 4.1.6
486                            March 11, 2014
487                    =============================
490 This is a security release in order to address
491 CVE-2013-4496 (Password lockout not enforced for SAMR password changes) and
492 CVE-2013-6442 (smbcacls can remove a file or directory ACL by mistake).
494 o  CVE-2013-4496:
495    Samba versions 3.4.0 and above allow the administrator to implement
496    locking out Samba accounts after a number of bad password attempts.
498    However, all released versions of Samba did not implement this check for
499    password changes, such as are available over multiple SAMR and RAP
500    interfaces, allowing password guessing attacks.
502 o  CVE-2013-6442:
503    Samba versions 4.0.0 and above have a flaw in the smbcacls command. If
504    smbcacls is used with the "-C|--chown name" or "-G|--chgrp name"
505    command options it will remove the existing ACL on the object being
506    modified, leaving the file or directory unprotected.
509 Changes since 4.1.5:
510 --------------------
512 o   Jeremy Allison <jra@samba.org>
513     * BUG 10327: CVE-2013-6442: ensure we don't lose an existing ACL when
514       setting owner or group owner.
517 o   Andrew Bartlett <abartlet@samba.org>
518     * BUG 10245: CVE-2013-4496: Enforce password lockout for SAMR password
519       changes.
522 o   Stefan Metzmacher <metze@samba.org>
523     * BUG 10245: CVE-2013-4496: Enforce password lockout for SAMR password
524       changes.
527 #######################################
528 Reporting bugs & Development Discussion
529 #######################################
531 Please discuss this release on the samba-technical mailing list or by
532 joining the #samba-technical IRC channel on irc.freenode.net.
534 If you do report problems then please try to send high quality
535 feedback. If you don't provide vital information to help us track down
536 the problem then you will probably be ignored.  All bug reports should
537 be filed under the Samba 4.1 product in the project's Bugzilla
538 database (https://bugzilla.samba.org/).
541 ======================================================================
542 == Our Code, Our Bugs, Our Responsibility.
543 == The Samba Team
544 ======================================================================
547 ----------------------------------------------------------------------
550                    =============================
551                    Release Notes for Samba 4.1.5
552                          February 21, 2014
553                    =============================
556 This is the latest stable release of Samba 4.1.
558 Major enhancements in Samba 4.1.5 include:
560 o  Fix 100% CPU utilization in winbindd when trying to free memory in
561    winbindd_reinit_after_fork (bug #10358).
562 o  smbd: Fix memory overwrites (bug #10415).
565 Changes since 4.1.4:
566 --------------------
568 o   Michael Adam <obnox@samba.org>
569     * BUG 10259: Make shadow_copy2 module working with Windows 7.
572 o   Jeremy Allison <jra@samba.org>
573     * BUG 2662: Make revamped directory handling code 64bit clean.
574     * BUG 10320: s3: smbpasswd: Fix crashes on invalid input.
575     * BUG 10358: Fix 100% CPU utilization in winbindd when trying to free
576       memory in winbindd_reinit_after_fork.
577     * BUG 10406: s3: vfs_dirsort module: Allow dirsort to work when multiple
578       simultaneous directories are open.
579     * BUG 10429: s3: modules: streaminfo: As we have no VFS function
580       SMB_VFS_LLISTXATTR we can't cope with a symlink when lp_posix_pathnames()
581       is true.
584 o   Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
585     * BUG 10087: ntlm_auth sometimes returns the wrong username to
586       mod_ntlm_auth_winbind.
589 o   Andrew Bartlett <abartlet@samba.org>
590     * BUG 10418: Fix INTERNAL ERROR: Signal 11 in the kdc pid.
593 o   Jeffrey Clark <dude@zaplabs.com>
594     * BUG 10418: Add support for Heimdal's unified krb5 and hdb plugin system.
597 o   Niels de Vos <ndevos@redhat.com>
598     * BUG 10384: vfs/glusterfs: In case atime is not passed, set it to the
599       current atime.
602 o   David Disseldorp <ddiss@samba.org>
603     * BUG 10424: vfs_btrfs: Fix incorrect zero length server-side copy request
604       handling.
607 o   Volker Lendecke <vl@samba.org>
608     * BUG 2191: s3-winbind: Improve performance of wb_fill_pwent_sid2uid_done().
609     * BUG 10415: smbd: Fix memory overwrites.
610     * BUG 10436: smbd: Fix an ancient oplock bug.
613 o   Stefan Metzmacher <metze@samba.org>
614     * BUG 10442: Fix crash bug in smb2_notify code.
617 o   Andreas Schneider <asn@samba.org>
618     * BUG 10367: Fix several memory leaks.
621 o   Jelmer Vernooij <jelmer@samba.org>
622     * BUG 10418: Cope with first element in hdb_method having a different name
623       in different heimdal versions.
626 #######################################
627 Reporting bugs & Development Discussion
628 #######################################
630 Please discuss this release on the samba-technical mailing list or by
631 joining the #samba-technical IRC channel on irc.freenode.net.
633 If you do report problems then please try to send high quality
634 feedback. If you don't provide vital information to help us track down
635 the problem then you will probably be ignored.  All bug reports should
636 be filed under the Samba 4.1 product in the project's Bugzilla
637 database (https://bugzilla.samba.org/).
640 ======================================================================
641 == Our Code, Our Bugs, Our Responsibility.
642 == The Samba Team
643 ======================================================================
646 ----------------------------------------------------------------------
649                    =============================
650                    Release Notes for Samba 4.1.4
651                          January 10, 2014
652                    =============================
655 This is the latest stable release of Samba 4.1.
657 Major enhancements in Samba 4.1.4 include:
659 o  Fix segfault in smbd (bug #10284).
660 o  Fix SMB2 server panic when a smb2 brlock times out (bug #10311).
663 Changes since 4.1.3:
664 --------------------
666 o   Jeremy Allison <jra@samba.org>
667     * BUG 9870: smbd: Allow updates on directory write times on open handles.
668     * BUG 10260: smbclient shows no error if deleting a directory with del
669       failed.
670     * BUG 10297: smbd: Fix writing to a directory with -wx permissions
671       on a share.
672     * BUG 10305: ldb: bad if test in ldb_comparison_fold().
675 o   Christian Ambach <ambi@samba.org>
676     * BUG 10276: Fix waf build error on AIX with IBM XL C/C++.
677     * BUG 10280: s3:winbindd fix use of uninitialized variables.
680 o   Michele Baldessari <michele@acksyn.org>
681     * BUG 10281: Fix typos in man pages.
684 o   Jan Brummer <jan.brummer@tabos.org>
685     * BUG 10285: s3-winbindd: Fix DEBUG statement in winbind_msg_offline().
688 o   Günther Deschner <gd@samba.org>
689     * BUG 10262: s3-libnetjoin: Use upper-case realm when composing default
690       upn.
691     * BUG 10281: Fix numerous typos in man pages.
694 o   David Disseldorp <ddiss@samba.org>
695     * BUG 10271: Send correct job-ID in print job notifications.
698 o   Poornima Gurusiddaiah <pgurusid@redhat.com>
699     * BUG 10337: vfs_glusterfs: Enable per client log file.
702 o   Volker Lendecke <vl@samba.org>
703     * BUG 10250: smbd: Fix a talloc hierarchy problem in msg_channel.
704     * BUG 10284: smbd: Fix segfaults.
705     * BUG 10297: smbd: Fix writing to a directory with -wx permissions
706       on a share.
707     * BUG 10311: Fix SMB2 server panic when a smb2 brlock times out.
710 o   Stefan Metzmacher <metze@samba.org>
711     * BUG 10298: Reduce smb2_server processing overhead.
714 o   Arvid Requate <requate@univention.de>
715     * BUG 10267: Fix printing via local printer drivers with Windows 8.
718 o   Christof Schmitt <cs@samba.org>
719     * BUG 10310: Fix AIO with SMB2 and locks.
722 o   Andreas Schneider <asn@samba.org>
723     * BUG 2191: Fix %G/%g substitution in 'template homedir'.
724     * BUG 10274: Fix several issues and warnings from analyzer tools.
725     * BUG 10286: s3-lib: Fix %G substitution for domain users in smbd.
728 #######################################
729 Reporting bugs & Development Discussion
730 #######################################
732 Please discuss this release on the samba-technical mailing list or by
733 joining the #samba-technical IRC channel on irc.freenode.net.
735 If you do report problems then please try to send high quality
736 feedback. If you don't provide vital information to help us track down
737 the problem then you will probably be ignored.  All bug reports should
738 be filed under the Samba 4.1 product in the project's Bugzilla
739 database (https://bugzilla.samba.org/).
742 ======================================================================
743 == Our Code, Our Bugs, Our Responsibility.
744 == The Samba Team
745 ======================================================================
748 ----------------------------------------------------------------------
751                    =============================
752                    Release Notes for Samba 4.1.3
753                          December 9, 2013
754                    =============================
757 This is a security release in order to address
758 CVE-2013-4408 (DCE-RPC fragment length field is incorrectly checked) and
759 CVE-2012-6150 (pam_winbind login without require_membership_of restrictions).
761 o  CVE-2013-4408:
762    Samba versions 3.4.0 and above (versions 3.4.0 - 3.4.17, 3.5.0 -
763    3.5.22, 3.6.0 - 3.6.21, 4.0.0 - 4.0.12 and including 4.1.2) are
764    vulnerable to buffer overrun exploits in the client processing of
765    DCE-RPC packets. This is due to incorrect checking of the DCE-RPC
766    fragment length in the client code.
768    This is a critical vulnerability as the DCE-RPC client code is part of
769    the winbindd authentication and identity mapping daemon, which is
770    commonly configured as part of many server installations (when joined
771    to an Active Directory Domain). A malicious Active Directory Domain
772    Controller or man-in-the-middle attacker impersonating an Active
773    Directory Domain Controller could achieve root-level access by
774    compromising the winbindd process.
776    Samba server versions 3.4.0 - 3.4.17 and versions 3.5.0 - 3.5.22 are
777    also vulnerable to a denial of service attack (server crash) due to a
778    similar error in the server code of those versions.
780    Samba server versions 3.6.0 and above (including all 3.6.x versions,
781    all 4.0.x versions and 4.1.x) are not vulnerable to this problem.
783    In addition range checks were missing on arguments returned from calls
784    to the DCE-RPC functions LookupSids (lsa and samr), LookupNames (lsa and samr)
785    and LookupRids (samr) which could also cause similar problems.
787    As this was found during an internal audit of the Samba code there are
788    no currently known exploits for this problem (as of December 9th 2013).
790 o  CVE-2012-6150:
791    Winbind allows for the further restriction of authenticated PAM logins using
792    the require_membership_of parameter. System administrators may specify a list
793    of SIDs or groups for which an authenticated user must be a member of. If an
794    authenticated user does not belong to any of the entries, then login should
795    fail. Invalid group name entries are ignored.
797    Samba versions 3.3.10, 3.4.3, 3.5.0 and later incorrectly allow login from
798    authenticated users if the require_membership_of parameter specifies only
799    invalid group names.
801    This is a vulnerability with low impact. All require_membership_of group
802    names must be invalid for this bug to be encountered.
805 Changes since 4.1.2:
806 --------------------
808 o   Jeremy Allison <jra@samba.org>
809     * BUG 10185: CVE-2013-4408: Correctly check DCE-RPC fragment length field.
812 o   Stefan Metzmacher <metze@samba.org>
813     * BUG 10185: CVE-2013-4408: Correctly check DCE-RPC fragment length field.
816 o   Noel Power <noel.power@suse.com>
817     * BUGs 10300, 10306: CVE-2012-6150: Fail authentication if user isn't
818       member of *any* require_membership_of specified groups.
821 #######################################
822 Reporting bugs & Development Discussion
823 #######################################
825 Please discuss this release on the samba-technical mailing list or by
826 joining the #samba-technical IRC channel on irc.freenode.net.
828 If you do report problems then please try to send high quality
829 feedback. If you don't provide vital information to help us track down
830 the problem then you will probably be ignored.  All bug reports should
831 be filed under the Samba 4.1 product in the project's Bugzilla
832 database (https://bugzilla.samba.org/).
835 ======================================================================
836 == Our Code, Our Bugs, Our Responsibility.
837 == The Samba Team
838 ======================================================================
841 ----------------------------------------------------------------------
844                    =============================
845                    Release Notes for Samba 4.1.2
846                          November 22, 2013
847                    =============================
850 This is is the latest stable release of Samba 4.1.
853 Changes since 4.1.1:
854 --------------------
856 o   Jeremy Allison <jra@samba.org>
857     * BUG 10187: Missing talloc_free can leak stackframe in error path.
858     * BUG 10196: RW Deny for a specific user is not overriding RW Allow for a
859       group.
862 o   Anand Avati <avati@redhat.com>
863     * BUG 10224: vfs_glusterfs: Implement proper mashalling/unmarshalling of
864       ACLs.
867 o   Andrew Bartlett <abartlet@samba.org>
868     * BUG 10052: dfs_server: Use dsdb_search_one to catch 0 results as well as
869       NO_SUCH_OBJECT errors.
872 o   Samuel Cabrero <scabrero@zentyal.com>
873     * BUG 9091: s4-dns: dlz_bind9: Create dns-HOSTNAME account disabled.
876 o   Günther Deschner <gd@samba.org>
877     * BUG 10264: s3-winbindd: Fix cache_traverse_validate_fn failure for
878       NDR cache entries.
881 o   Christopher R. Hertel <crh@redhat.com>
882     * BUG 10224: vfs_glusterfs: Fix excessive debug output from
883       vfs_gluster_open().
886 o   Björn Jacke <bj@sernet.de>
887     * BUG 10247: xattr: Fix listing EAs on *BSD for non-root users.
890 o   Volker Lendecke <vl@samba.org>
891     * BUG 10190: Fix memset used with constant zero length parameter.
892     * BUG 10195: nsswitch: Fix short writes in winbind_write_sock.
895 o   Stefan Metzmacher <metze@samba.org>
896     * BUG 10193: s4:dsdb/rootdse: report 'dnsHostName' instead of 'dNSHostName'.
897     * BUG 10232: libcli/smb: Fix smb2cli_ioctl*() against Windows 2008.
900 o   Susant Kumar Palai <spalai@redhat.com>
901     * BUG 10224: VFS plugin was sending the actual size of the volume instead of
902       the total number of block units because of which windows was getting the
903       wrong volume capacity.
906 o   Andreas Schneider <asn@samba.org>
907     * BUG 10194: Make offline logon cache updating for cross child domain group
908       membership.
909     * BUG 10269: util: Remove 32bit macros breaking strict aliasing.
910     * BUG 10253: Fix the build of vfs_glusterfs.
913 #######################################
914 Reporting bugs & Development Discussion
915 #######################################
917 Please discuss this release on the samba-technical mailing list or by
918 joining the #samba-technical IRC channel on irc.freenode.net.
920 If you do report problems then please try to send high quality
921 feedback. If you don't provide vital information to help us track down
922 the problem then you will probably be ignored.  All bug reports should
923 be filed under the Samba 4.1 product in the project's Bugzilla
924 database (https://bugzilla.samba.org/).
927 ======================================================================
928 == Our Code, Our Bugs, Our Responsibility.
929 == The Samba Team
930 ======================================================================
933 ----------------------------------------------------------------------
936                    =============================
937                    Release Notes for Samba 4.1.1
938                          November 11, 2013
939                    =============================
942 This is a security release in order to address
943 CVE-2013-4475 (ACLs are not checked on opening an alternate
944 data stream on a file or directory) and
945 CVE-2013-4476 (Private key in key.pem world readable).
947 o  CVE-2013-4475:
948    Samba versions 3.2.0 and above (all versions of 3.2.x, 3.3.x,
949    3.4.x, 3.5.x, 3.6.x, 4.0.x and 4.1.x) do not check the underlying
950    file or directory ACL when opening an alternate data stream.
952    According to the SMB1 and SMB2+ protocols the ACL on an underlying
953    file or directory should control what access is allowed to alternate
954    data streams that are associated with the file or directory.
956    By default no version of Samba supports alternate data streams
957    on files or directories.
959    Samba can be configured to support alternate data streams by loading
960    either one of two virtual file system modues (VFS) vfs_streams_depot or
961    vfs_streams_xattr supplied with Samba, so this bug only affects Samba
962    servers configured this way.
964    To determine if your server is vulnerable, check for the strings
965    "streams_depot" or "streams_xattr" inside your smb.conf configuration
966    file.
968 o  CVE-2013-4476:
969    In setups which provide ldap(s) and/or https services, the private
970    key for SSL/TLS encryption might be world readable. This typically
971    happens in active directory domain controller setups.
974 Changes since 4.1.0:
975 --------------------
977 o   Jeremy Allison <jra@samba.org>
978     * BUGs 10234 + 10229: CVE-2013-4475: Fix access check verification on stream
979       files.
982 o   Björn Baumbach <bb@sernet.de>
983     * BUG 10234: CVE-2013-4476: Private key in key.pem world readable.
986 #######################################
987 Reporting bugs & Development Discussion
988 #######################################
990 Please discuss this release on the samba-technical mailing list or by
991 joining the #samba-technical IRC channel on irc.freenode.net.
993 If you do report problems then please try to send high quality
994 feedback. If you don't provide vital information to help us track down
995 the problem then you will probably be ignored.  All bug reports should
996 be filed under the Samba 4.1 product in the project's Bugzilla
997 database (https://bugzilla.samba.org/).
1000 ======================================================================
1001 == Our Code, Our Bugs, Our Responsibility.
1002 == The Samba Team
1003 ======================================================================
1006 ----------------------------------------------------------------------
1009                    =============================
1010                    Release Notes for Samba 4.1.0
1011                          October 11, 2013
1012                    =============================
1015 This is is the first stable release of Samba 4.1.
1017 Samba 4.1 will be the next version of the Samba suite and includes
1018 all the technology found in both the Samba4 series and the stable 3.x
1019 series. The primary additional features over Samba 3.6 are
1020 support for the Active Directory logon protocols used by Windows 2000
1021 and above.
1023 Major enhancements in Samba 4.1.0 include:
1025 Client tools support SMB2/3
1026 ===========================
1028 Samba 4.1.0 contains the first release of our client tools
1029 and client library that work over the new protocols SMB2 or SMB3.
1030 Note that SMB3 only works either to a Samba server version 4.0.0
1031 or above, or to a Windows Server running Windows 2012 or Windows 8.
1033 The default protocol for smbclient and smbcacls is still
1034 SMB1 (the NT1 protocol dialect). An SMB2 or SMB3 connection
1035 can be selected in one of two ways. The easiest way to test
1036 the new protocol connection is to add the -mMAX_PROTOCOL
1037 command line switch to either smbclient or smbcacls.
1039 For example, to connect using SMB3 with smbclient a user
1040 would type:
1042 smbclient //server/share -Uuser%password -mSMB3
1044 Another example of connecting using SMB2 using smbcacls
1045 would be:
1047 smbcacls //server/share -Uuser%password -mSMB2 filename
1049 Note that when connecting using SMB2 or SMB3 protocols
1050 the UNIX extensions are no longer available inside the
1051 smbclient command set. This is due to UNIX extensions
1052 not yet being defined for the SMB2 or SMB3 protocols.
1054 The second way to select SMB2 or SMB3 connections is to
1055 set the "client max protocol" parameter in the [global]
1056 section of your smb.conf.
1058 Setting this parameter will cause all client connections
1059 from Samba and its client tools to offer the requested
1060 max protocol to a server on every connection request.
1062 For example, to cause all client tools (including winbindd,
1063 rpcclient, and the libsmbclient library) to attempt use SMB3
1064 by default add the line:
1066 client max protocol = SMB3
1068 to the [global] section of your smb.conf. This has not
1069 been as widely tested as the -mPROTOCOL options, but
1070 is intended to work correctly in the final release of
1071 4.1.0.
1073 Encrypted transport
1074 ===================
1076 Although Samba servers have supported encrypted transport
1077 connections using the UNIX extensions for many years,
1078 selecting SMB3 transport allows encrypted transport
1079 connections to Windows servers that support SMB3, as
1080 well as Samba servers.
1082 In order to enable this, add the "-e" option to the
1083 smbclient command line.
1085 For example, to connect to a Windows 2012 server over
1086 SMB3 and select an encrypted transport you would use
1087 the following command line:
1089 smbclient //Win2012Server/share -Uuser%password -mSMB3 -e
1092 Directory database replication (AD DC mode)
1093 ===========================================
1095 Directory replication has been reworked in order to improve the
1096 correctness and efficiency.
1097 As a net effect of it, replication with other domain controllers with
1098 a heavily modified schema is now possible (ie. Windows 2012 DCs or
1099 other Windows DC with exchange installed) and replication didn't fail
1100 anymore in such environments.
1103 Server-Side Copy Support
1104 ========================
1106 Samba 4.1.0 adds support for server-side copy operations via the SMB2
1107 FSCTL_SRV_COPYCHUNK request. Clients making use of server-side copy
1108 support, such as Windows Server 2012, should experience considerable
1109 performance improvements for file copy operations, as file data need not
1110 traverse the network.
1111 This feature is enabled by default on the smbd file server.
1114 Btrfs Filesystem Integration
1115 ============================
1117 The Btrfs VFS module provided with Samba 4.1.0 further improves the
1118 performance of server-side copy operations on shares backed by a Btrfs
1119 filesystem. It does so by allowing multiple files to share the same
1120 on-disk extents, avoiding the unnecessary duplication of source and
1121 destination file data during a server-side copy operation.
1123 This feature can be explicitly enabled on smbd shares backed by a Btrfs
1124 filesystem with the smb.conf parameter:
1125 vfs objects = btrfs
1128 REMOVED COMPONENTS
1129 ==================
1131 The Samba Web Administration Tool (SWAT) has been removed.
1132 Details why SWAT has been removed can be found on the samba-technical mailing
1133 list:
1135 https://lists.samba.org/archive/samba-technical/2013-February/090572.html
1138 ######################################################################
1139 Changes
1140 #######
1142 smb.conf changes
1143 ----------------
1145    Parameter Name                       Description     Default
1146    --------------                       -----------     -------
1148    acl allow execute always             New             False
1149    password level                       Removed
1150    set directory                        Removed
1151    use ntdb                             New             No
1154 RUNNING Samba 4.1 as an AD DC
1155 =============================
1157 A short guide to setting up Samba as an AD DC can be found on the wiki:
1159   https://wiki.samba.org/index.php/Samba_AD_DC_HOWTO
1162 COMMIT HIGHLIGHTS
1163 =================
1165 o   Jeremy Allison <jra@samba.org>
1166     * Add SMB2 and SMB3 support for client tools and client library.
1167     * Add support for SMB3 Encrypted transport.
1170 o   David Disseldorp <ddiss@samba.org>
1171     * Add vfs_btrfs module.
1172     * Add support for server-side copy operations via the
1173       SMB2 FSCTL_SRV_COPYCHUNK request.
1176 CHANGES SINCE 4.1.0rc4
1177 ======================
1179 o   Stefan Metzmacher <metze@samba.org>
1180     * BUG 10178: Fix PAC parsing failure.
1183 o   Andreas Schneider <asn@samba.org>
1184     * BUG 10132: pam_winbindd: Support the KEYRING ccache type.
1187 CHANGES SINCE 4.1.0rc3
1188 ======================
1190 o   Michael Adam <obnox@samba.org>
1191     * BUG 10134: Add "acl allow execute always" parameter.
1194 o   Jeremy Allison <jra@samba.org>
1195     * BUG 10139: Valid utf8 filenames cause "invalid conversion error"
1196       messages.
1197     * BUG 10145: Samba SMB2 client code reads the wrong short name length in a
1198       directory listing reply.
1199     * BUG 10149: cli_smb2_get_ea_list_path() failed to close file on exit.
1200     * BUG 10150: Not all OEM servers support the ALTNAME info level.
1203 o   Andrew Bartlett <abartlet@samba.org>
1204     * BUG 8077: dsdb: Convert the full string from UTF16 to UTF8, including
1205       embedded NULLs.
1206     * BUG 9461: python-samba-tool fsmo: Do not give an error on a successful
1207       role transfer.
1208     * BUG 10157: Regression causes replication failure with Windows 2008R2 and
1209       deletes Deleted Objects.
1212 o   Günther Deschner <gd@samba.org>
1213     * BUG 10147: Better document potential implications of a globally used
1214       "valid users".
1217 o   Korobkin <korobkin+samba@gmail.com>
1218     * BUG 10118: Raise the level of a debug when unable to open a printer.
1221 o   Volker Lendecke <vl@samba.org>
1222     * BUG 10008: dbwrap_ctdb: Treat empty records as non-existing.
1223     * BUG 10138: smbd: Always clean up share modes after hard crash.
1226 o   Daniel Liberman <danielvl@gmail.com>
1227     * BUG 10162: Fix POSIX ACL mapping when setting DENY ACE's from Windows.
1230 o   Stefan Metzmacher <metze@samba.org>
1231     * BUG 10144: libcli/smb: Use SMB1 MID=0 for the initial Negprot.
1232     * BUG 10146: libcli/smb: Only check the SMB2 session setup signature if
1233       required and valid.
1236 o   Matthieu Patou <mat@matws.net>
1237     * BUG 10158: Netbios related samba process consumes 100% CPU.
1240 o   Christof Schmitt <christof.schmitt@us.ibm.com>
1241     * BUG 10137: vfs_shadow_copy2: Display previous versions correctly over
1242       SMB2.
1245 CHANGES SINCE 4.1.0rc2
1246 ======================
1248 o   Michael Adam <obnox@samba.org>
1249     * BUG 10107: Fix Winbind crashes on DC with trusted AD domains.
1252 o   Jeremy Allison <jra@samba.org>
1253     * BUG 5917: Fix working on site with Read Only Domain Controller.
1254     * BUG 9974: Add SMB2 and SMB3 support for smbclient.
1255     * BUG 10063: Fix memory leak in source3/lib/util.c:1493.
1256     * BUG 10121: Masks incorrectly applied to UNIX extension permission
1257       changes.
1260 o   Christian Ambach <ambi@samba.org>
1261     * BUG 9911: Build Samba 4.0.x on AIX with IBM XL C/C++.
1264 o   Andrew Bartlett <abartlet@samba.org>
1265     * BUG 9091: When replicating DNS for bind9_dlz we need to create the
1266       server-DNS account remotely.
1269 o   Günther Deschner <gd@samba.org>
1270     * BUG 9615: Winbind unable to retrieve user information from AD.
1271     * BUG 9899: winbind_lookup_names() fails because of
1272       NT_STATUS_CANT_ACCESS_DOMAIN_INFO.
1273     * BUG 10107: Fix Winbind crashes on DC with trusted AD domains.
1276 o   Volker Lendecke <vl@samba.org>
1277     * BUG 10086: smbd: Fix async echo handler forking.
1278     * BUG 10106: Honour output buffer length set by the client for SMB2 GetInfo
1279       requests.
1280     * BUG 10114: Handle Dropbox (write-only-directory) case correctly
1281       in pathname lookup.
1284 o   Stefan Metzmacher <metze@samba.org>
1285     * BUG 10030: ::1 added to nameserver on join.
1288 o   Rusty Russell <rusty@rustcorp.com.au>
1289     * BUG 10000: Add man pages for ntdb tools.
1292 o   Karolin Seeger <kseeger@samba.org>
1293     * BUG 7364: Add man page for vfs_syncops.
1294     * BUG 7490: Add man page for vfs_linux_xfs_sgid.
1295     * BUG 10001: Add man page for samba-regedit tool.
1296     * BUG 10076: Fix variable list in vfs_crossrename man page.
1299 o   Andreas Schneider <asn@samba.org>
1300     * BUG 10073: Fix segmentation fault in 'net ads join'.
1301     * BUG 10082: s3-winbind: Fix a segfault passing NULL to a fstring argument.
1304 o   Richard Sharpe <realrichardsharpe@gmail.com>
1305     * BUG 10097: MacOSX 10.9 will not follow path-based DFS referrals handed
1306       out by Samba.
1309 o   Ralph Wuerthner <ralph.wuerthner@de.ibm.com>
1310     * BUG 10106: Honour output buffer length set by the client for SMB2 GetInfo
1311       requests.
1314 CHANGES SINCE 4.1.0rc1
1315 ======================
1317 o   Jeremy Allison <jra@samba.org>
1318     * BUG 9992: Windows error 0x800700FE when copying files with xattr names
1319       containing ":".
1320     * BUG 10010: Missing integer wrap protection in EA list reading can cause
1321       server to loop with DOS (CVE-2013-4124).
1322     * BUG 10064: Linux kernel oplock breaks can miss signals.
1325 o   Andrew Bartlett <abartlet@samba.org>
1326     * BUG 9029: Fix replication with --domain-crictical-only to fill in
1327       backlinks.
1328     * BUG 9820: Fix crash of winbind after "ls -l
1329       /usr/local/samba/var/locks/sysvol".
1330     * BUG 10056: dsdb improvements.
1333 o   Björn Baumbach <bb@sernet.de>
1334     * BUG 10003: Fix segfault while reading incomplete session info.
1337 o   Gregor Beck <gbeck@sernet.de>
1338     * BUG 9678: Windows 8 Roaming profiles fail.
1341 o   Günther Deschner <gd@samba.org>
1342     * BUG 10043: Allow to change the default location for Kerberos credential
1343       caches.
1346 o   Volker Lendecke <vl@samba.org>
1347     * BUG 10013: Fix a 100% loop at shutdown time (smbd).
1350 o   Stefan Metzmacher <metze@samba.org>
1351     * BUG 9820: Fix crash of winbind after "ls -l
1352       /usr/local/samba/var/locks/sysvol".
1353     * BUG 10015: Fix/improve debug options.
1354     * BUG 10042: Fix crashes in socket_get_local_addr().
1355     * BUG 10056: dsdb improvements.
1358 o   Andreas Schneider <asn@samba.org>
1359     * BUG 9994: Do not delete an existing valid credential cache (s3-winbind).
1360     * BUG 10040: Rename regedit to samba-regedit.
1361     * BUG 10041: Remove obsolete swat manpage and references.
1362     * BUG 10048: nsswitch: Add OPT_KRB5CCNAME to avoid an error message.
1365 o   Alexander Werth <alexander.werth@de.ibm.com>
1366     * BUG 10045: Remove a redundant inlined substitution of ACLs.
1369 o   Ralph Wuerthner <ralphw@de.ibm.com>
1370     * BUG 10064: Linux kernel oplock breaks can miss signals.
1373 #######################################
1374 Reporting bugs & Development Discussion
1375 #######################################
1377 Please discuss this release on the samba-technical mailing list or by
1378 joining the #samba-technical IRC channel on irc.freenode.net.
1380 If you do report problems then please try to send high quality
1381 feedback. If you don't provide vital information to help us track down
1382 the problem then you will probably be ignored.  All bug reports should
1383 be filed under the Samba 4.1 product in the project's Bugzilla
1384 database (https://bugzilla.samba.org/).
1387 ======================================================================
1388 == Our Code, Our Bugs, Our Responsibility.
1389 == The Samba Team
1390 ======================================================================