1 =============================
2 Release Notes for Samba 4.1.9
4 =============================
7 This is a security release in order to address
8 CVE-2014-0244 (Denial of service - CPU loop) and
9 CVE-2014-3493 (Denial of service - Server crash/memory corruption).
12 All current released versions of Samba are vulnerable to a denial of
13 service on the nmbd NetBIOS name services daemon. A malformed packet
14 can cause the nmbd server to loop the CPU and prevent any further
17 This flaw is not exploitable beyond causing the code to loop expending
21 All current released versions of Samba are affected by a denial of service
22 crash involving overwriting memory on an authenticated connection to the
29 o Jeremy Allison <jra@samba.org>
30 * BUG 10633: CVE-2014-0244: Fix nmbd denial of service.
31 * BUG 10654: CVE-2014-3493: Fix segmentation fault in
32 smbd_marshall_dir_entry()'s SMB_FIND_FILE_UNIX handler.
35 #######################################
36 Reporting bugs & Development Discussion
37 #######################################
39 Please discuss this release on the samba-technical mailing list or by
40 joining the #samba-technical IRC channel on irc.freenode.net.
42 If you do report problems then please try to send high quality
43 feedback. If you don't provide vital information to help us track down
44 the problem then you will probably be ignored. All bug reports should
45 be filed under the Samba 4.1 product in the project's Bugzilla
46 database (https://bugzilla.samba.org/).
49 ======================================================================
50 == Our Code, Our Bugs, Our Responsibility.
52 ======================================================================
55 Release notes for older releases follow:
56 ----------------------------------------
58 =============================
59 Release Notes for Samba 4.1.8
61 =============================
64 This is the latest stable release of Samba 4.1.
66 Please note that this bug fix release also addresses two minor security issues
67 without being a dedicated security release:
69 o CVE-2014-0239: dns: Don't reply to replies (bug #10609).
70 o CVE-2014-0178: Malformed FSCTL_SRV_ENUMERATE_SNAPSHOTS response
73 For more details including security advisories and patches, please see
75 http://www.samba.org/samba/history/security.html
81 o Michael Adam <obnox@samba.org>
82 * BUG 10548: build: Fix ordering problems with lib-provided and internal
86 o Jeremy Allison <jra@samba.org>
87 * BUG 3124: s3: smb2: Fix 'xcopy /d' with samba shares.
88 * BUG 10544: s3: lib/util: Fix logic inside set_namearray loops.
89 * BUG 10564: Fix lock order violation and file lost.
90 * BUG 10577: Fix wildcard unlink to fail if we get an error rather than
94 o Andrew Bartlett <abartlet@samba.org>
95 * BUG 10569: dsdb: Do checks for invalid renames in samldb, before
99 o Björn Baumbach <bb@sernet.de>
100 * BUG 10239: s3: nmbd: Reset debug settings after reading config file.
101 * BUG 10544: s3: lib/util: set_namearray reads across end of namelist
102 * BUG 10556: lib-util: Rename memdup to smb_memdup and fix all callers.
105 o Kai Blin <kai@samba.org>
106 * BUG 10609: CVE-2014-0239: dns: Don't reply to replies.
109 o Alexander Bokovoy <ab@samba.org>
110 * BUG 10517: Use exit_daemon() to communicate status of startup to
114 o David Disseldorp <ddiss@samba.org>
115 * BUG 10590: byteorder: Do not assume PowerPC is big-endian.
116 * BUG 10612: printing: Fix purge of all print jobs.
119 o Benjamin Franzke <benjaminfranzke@googlemail.com>
120 * BUG 10524: Fix adding NetApps.
123 o Abhidnya Joshi <achirmul@in.ibm.com>
124 * BUG 10547: idmap_autorid: Fix failure in reverse lookup if ID is from
125 domain range index #0.
128 o Stefan Metzmacher <metze@samba.org>
129 * BUG 10472: script/autobuild: Make use of
130 '--with-perl-{arch,lib}-install-dir'.
133 o Noel Power <nopower@suse.com>
134 * BUG 10554: Fix read of deleted memory in reply_writeclose()'.
137 o Jose A. Rivera <jarrpa@redhat.com>
138 * BUG 10151: Extra ':' in msg for Waf Cross Compile Build System with
139 Cross-answers command.
140 * BUG 10348: Fix empty body in if-statement in continue_domain_open_lookup.
143 o Christof Schmitt <christof.schmitt@us.ibm.com>
144 * BUG 10549: CVE-2014-0178: Malformed FSCTL_SRV_ENUMERATE_SNAPSHOTS
148 o Andreas Schneider <asn@samba.org>
149 * BUG 10472: wafsamba: Fix the installation on FreeBSD.
152 #######################################
153 Reporting bugs & Development Discussion
154 #######################################
156 Please discuss this release on the samba-technical mailing list or by
157 joining the #samba-technical IRC channel on irc.freenode.net.
159 If you do report problems then please try to send high quality
160 feedback. If you don't provide vital information to help us track down
161 the problem then you will probably be ignored. All bug reports should
162 be filed under the Samba 4.1 product in the project's Bugzilla
163 database (https://bugzilla.samba.org/).
166 ======================================================================
167 == Our Code, Our Bugs, Our Responsibility.
169 ======================================================================
172 ----------------------------------------------------------------------
175 =============================
176 Release Notes for Samba 4.1.7
178 =============================
181 This is the latest stable release of Samba 4.1.
187 o Jeremy Allison <jra@samba.org>
188 * BUG 9878: Make "force user" work as expected.
189 * BUG 9942: Fix problem with server taking too long to respond to a
190 MSG_PRINTER_DRVUPGRADE message.
191 * BUG 9993: s3-printing: Fix obvious memory leak in
192 printer_list_get_printer().
193 * BUG 10344: SessionLogoff on a signed connection with an outstanding notify
194 request crashes smbd.
195 * BUG 10431: Fix STATUS_NO_MEMORY response from Query File Posix Lock request.
196 * BUG 10508: smbd: Correctly add remote users into local groups.
197 * BUG 10534: Cleanup messages.tdb record after unclean smbd shutdown.
200 o Christian Ambach <ambi@samba.org>
201 * BUG 9911: Fix build on AIX with IBM XL C/C++ (gettext detection issues).
202 * BUG 10308: Fix String Conversion Errors with Samba 4.1.0 Build on AIX 7.1.
205 o Gregor Beck <gbeck@sernet.de>
206 * BUG 10230: Make (lib)smbclient work with NetApp.
207 * BUG 10458: Fix 'wbinfo -i' with one-way trust.
208 * s3:rpc_server: Minor refactoring of process_request_pdu().
211 o Kai Blin <kai@samba.org>
212 * BUG 10471: Don't respond with NXDOMAIN to records that exist with another
216 o Alexander Bokovoy <ab@samba.org>
217 * BUG 10504: lsa.idl: Define lsa.ForestTrustCollisionInfo and
218 ForestTrustCollisionRecord as public structs.
221 o Günther Deschner <gd@samba.org>
222 * BUG 10439: Increase max netbios name components.
225 o David Disseldorp <ddiss@samba.org>
226 * BUG 10188: doc: Add "spoolss: architecture" parameter usage.
227 * BUG 10484: Initial FSRVP rpcclient requests fail with
228 NT_STATUS_PIPE_NOT_AVAILABLE.
229 * BUG 10521: rpcclient FSRVP request UNCs should include a trailing
233 o Daniel Liberman <danielvl@gmail.com>
234 * BUG 10387: 'net ads search' on high latency networks can return a partial
235 list with no error indication.
238 o Stefan Metzmacher <metze@samba.org>
239 * BUG 10200: Make 'smbclient' support DFS shares with SMB2/3.
240 * BUG 10344: SessionLogoff on a signed connection with an outstanding notify
241 request crashes smbd.
242 * BUG 10422: max xmit > 64kb leads to segmentation fault.
243 * BUG 10444: smbd_server_connection_terminate("CTDB_SRVID_RELEASE_IP")
244 panics from within ctdbd_migrate() with invalid lock_order.
245 * BUG 10464: samba4 services not binding on IPv6 addresses causing
249 o Garming Sam <garming@catalyst.net.nz>
250 * BUG 10378: dfs: Always call create_conn_struct with root privileges.
253 o Andreas Schneider <asn@cryptomilk.org>
254 * BUG 10467: s3-vfs: Fix stream_depot vfs module on btrfs.
255 * BUG 10472: pidl: waf should have an option for the dir to install perl
256 files and do not glob.
257 * BUG 10474: s3-spoolssd: Don't register spoolssd if epmd is not running.
258 * BUG 10481: s3-rpc_server: Fix handling of fragmented rpc requests.
261 o Gustavo Zacarias <gustavo@zacarias.com.ar>
262 * BUG 10506: Make 'smbreadline' build with readline 6.3.
265 #######################################
266 Reporting bugs & Development Discussion
267 #######################################
269 Please discuss this release on the samba-technical mailing list or by
270 joining the #samba-technical IRC channel on irc.freenode.net.
272 If you do report problems then please try to send high quality
273 feedback. If you don't provide vital information to help us track down
274 the problem then you will probably be ignored. All bug reports should
275 be filed under the Samba 4.1 product in the project's Bugzilla
276 database (https://bugzilla.samba.org/).
279 ======================================================================
280 == Our Code, Our Bugs, Our Responsibility.
282 ======================================================================
285 ----------------------------------------------------------------------
288 =============================
289 Release Notes for Samba 4.1.6
291 =============================
294 This is a security release in order to address
295 CVE-2013-4496 (Password lockout not enforced for SAMR password changes) and
296 CVE-2013-6442 (smbcacls can remove a file or directory ACL by mistake).
299 Samba versions 3.4.0 and above allow the administrator to implement
300 locking out Samba accounts after a number of bad password attempts.
302 However, all released versions of Samba did not implement this check for
303 password changes, such as are available over multiple SAMR and RAP
304 interfaces, allowing password guessing attacks.
307 Samba versions 4.0.0 and above have a flaw in the smbcacls command. If
308 smbcacls is used with the "-C|--chown name" or "-G|--chgrp name"
309 command options it will remove the existing ACL on the object being
310 modified, leaving the file or directory unprotected.
316 o Jeremy Allison <jra@samba.org>
317 * BUG 10327: CVE-2013-6442: ensure we don't lose an existing ACL when
318 setting owner or group owner.
321 o Andrew Bartlett <abartlet@samba.org>
322 * BUG 10245: CVE-2013-4496: Enforce password lockout for SAMR password
326 o Stefan Metzmacher <metze@samba.org>
327 * BUG 10245: CVE-2013-4496: Enforce password lockout for SAMR password
331 #######################################
332 Reporting bugs & Development Discussion
333 #######################################
335 Please discuss this release on the samba-technical mailing list or by
336 joining the #samba-technical IRC channel on irc.freenode.net.
338 If you do report problems then please try to send high quality
339 feedback. If you don't provide vital information to help us track down
340 the problem then you will probably be ignored. All bug reports should
341 be filed under the Samba 4.1 product in the project's Bugzilla
342 database (https://bugzilla.samba.org/).
345 ======================================================================
346 == Our Code, Our Bugs, Our Responsibility.
348 ======================================================================
351 ----------------------------------------------------------------------
354 =============================
355 Release Notes for Samba 4.1.5
357 =============================
360 This is the latest stable release of Samba 4.1.
362 Major enhancements in Samba 4.1.5 include:
364 o Fix 100% CPU utilization in winbindd when trying to free memory in
365 winbindd_reinit_after_fork (bug #10358).
366 o smbd: Fix memory overwrites (bug #10415).
372 o Michael Adam <obnox@samba.org>
373 * BUG 10259: Make shadow_copy2 module working with Windows 7.
376 o Jeremy Allison <jra@samba.org>
377 * BUG 2662: Make revamped directory handling code 64bit clean.
378 * BUG 10320: s3: smbpasswd: Fix crashes on invalid input.
379 * BUG 10358: Fix 100% CPU utilization in winbindd when trying to free
380 memory in winbindd_reinit_after_fork.
381 * BUG 10406: s3: vfs_dirsort module: Allow dirsort to work when multiple
382 simultaneous directories are open.
383 * BUG 10429: s3: modules: streaminfo: As we have no VFS function
384 SMB_VFS_LLISTXATTR we can't cope with a symlink when lp_posix_pathnames()
388 o Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
389 * BUG 10087: ntlm_auth sometimes returns the wrong username to
390 mod_ntlm_auth_winbind.
393 o Andrew Bartlett <abartlet@samba.org>
394 * BUG 10418: Fix INTERNAL ERROR: Signal 11 in the kdc pid.
397 o Jeffrey Clark <dude@zaplabs.com>
398 * BUG 10418: Add support for Heimdal's unified krb5 and hdb plugin system.
401 o Niels de Vos <ndevos@redhat.com>
402 * BUG 10384: vfs/glusterfs: In case atime is not passed, set it to the
406 o David Disseldorp <ddiss@samba.org>
407 * BUG 10424: vfs_btrfs: Fix incorrect zero length server-side copy request
411 o Volker Lendecke <vl@samba.org>
412 * BUG 2191: s3-winbind: Improve performance of wb_fill_pwent_sid2uid_done().
413 * BUG 10415: smbd: Fix memory overwrites.
414 * BUG 10436: smbd: Fix an ancient oplock bug.
417 o Stefan Metzmacher <metze@samba.org>
418 * BUG 10442: Fix crash bug in smb2_notify code.
421 o Andreas Schneider <asn@samba.org>
422 * BUG 10367: Fix several memory leaks.
425 o Jelmer Vernooij <jelmer@samba.org>
426 * BUG 10418: Cope with first element in hdb_method having a different name
427 in different heimdal versions.
430 #######################################
431 Reporting bugs & Development Discussion
432 #######################################
434 Please discuss this release on the samba-technical mailing list or by
435 joining the #samba-technical IRC channel on irc.freenode.net.
437 If you do report problems then please try to send high quality
438 feedback. If you don't provide vital information to help us track down
439 the problem then you will probably be ignored. All bug reports should
440 be filed under the Samba 4.1 product in the project's Bugzilla
441 database (https://bugzilla.samba.org/).
444 ======================================================================
445 == Our Code, Our Bugs, Our Responsibility.
447 ======================================================================
450 ----------------------------------------------------------------------
453 =============================
454 Release Notes for Samba 4.1.4
456 =============================
459 This is the latest stable release of Samba 4.1.
461 Major enhancements in Samba 4.1.4 include:
463 o Fix segfault in smbd (bug #10284).
464 o Fix SMB2 server panic when a smb2 brlock times out (bug #10311).
470 o Jeremy Allison <jra@samba.org>
471 * BUG 9870: smbd: Allow updates on directory write times on open handles.
472 * BUG 10260: smbclient shows no error if deleting a directory with del
474 * BUG 10297: smbd: Fix writing to a directory with -wx permissions
476 * BUG 10305: ldb: bad if test in ldb_comparison_fold().
479 o Christian Ambach <ambi@samba.org>
480 * BUG 10276: Fix waf build error on AIX with IBM XL C/C++.
481 * BUG 10280: s3:winbindd fix use of uninitialized variables.
484 o Michele Baldessari <michele@acksyn.org>
485 * BUG 10281: Fix typos in man pages.
488 o Jan Brummer <jan.brummer@tabos.org>
489 * BUG 10285: s3-winbindd: Fix DEBUG statement in winbind_msg_offline().
492 o Günther Deschner <gd@samba.org>
493 * BUG 10262: s3-libnetjoin: Use upper-case realm when composing default
495 * BUG 10281: Fix numerous typos in man pages.
498 o David Disseldorp <ddiss@samba.org>
499 * BUG 10271: Send correct job-ID in print job notifications.
502 o Poornima Gurusiddaiah <pgurusid@redhat.com>
503 * BUG 10337: vfs_glusterfs: Enable per client log file.
506 o Volker Lendecke <vl@samba.org>
507 * BUG 10250: smbd: Fix a talloc hierarchy problem in msg_channel.
508 * BUG 10284: smbd: Fix segfaults.
509 * BUG 10297: smbd: Fix writing to a directory with -wx permissions
511 * BUG 10311: Fix SMB2 server panic when a smb2 brlock times out.
514 o Stefan Metzmacher <metze@samba.org>
515 * BUG 10298: Reduce smb2_server processing overhead.
518 o Arvid Requate <requate@univention.de>
519 * BUG 10267: Fix printing via local printer drivers with Windows 8.
522 o Christof Schmitt <cs@samba.org>
523 * BUG 10310: Fix AIO with SMB2 and locks.
526 o Andreas Schneider <asn@samba.org>
527 * BUG 2191: Fix %G/%g substitution in 'template homedir'.
528 * BUG 10274: Fix several issues and warnings from analyzer tools.
529 * BUG 10286: s3-lib: Fix %G substitution for domain users in smbd.
532 #######################################
533 Reporting bugs & Development Discussion
534 #######################################
536 Please discuss this release on the samba-technical mailing list or by
537 joining the #samba-technical IRC channel on irc.freenode.net.
539 If you do report problems then please try to send high quality
540 feedback. If you don't provide vital information to help us track down
541 the problem then you will probably be ignored. All bug reports should
542 be filed under the Samba 4.1 product in the project's Bugzilla
543 database (https://bugzilla.samba.org/).
546 ======================================================================
547 == Our Code, Our Bugs, Our Responsibility.
549 ======================================================================
552 ----------------------------------------------------------------------
555 =============================
556 Release Notes for Samba 4.1.3
558 =============================
561 This is a security release in order to address
562 CVE-2013-4408 (DCE-RPC fragment length field is incorrectly checked) and
563 CVE-2012-6150 (pam_winbind login without require_membership_of restrictions).
566 Samba versions 3.4.0 and above (versions 3.4.0 - 3.4.17, 3.5.0 -
567 3.5.22, 3.6.0 - 3.6.21, 4.0.0 - 4.0.12 and including 4.1.2) are
568 vulnerable to buffer overrun exploits in the client processing of
569 DCE-RPC packets. This is due to incorrect checking of the DCE-RPC
570 fragment length in the client code.
572 This is a critical vulnerability as the DCE-RPC client code is part of
573 the winbindd authentication and identity mapping daemon, which is
574 commonly configured as part of many server installations (when joined
575 to an Active Directory Domain). A malicious Active Directory Domain
576 Controller or man-in-the-middle attacker impersonating an Active
577 Directory Domain Controller could achieve root-level access by
578 compromising the winbindd process.
580 Samba server versions 3.4.0 - 3.4.17 and versions 3.5.0 - 3.5.22 are
581 also vulnerable to a denial of service attack (server crash) due to a
582 similar error in the server code of those versions.
584 Samba server versions 3.6.0 and above (including all 3.6.x versions,
585 all 4.0.x versions and 4.1.x) are not vulnerable to this problem.
587 In addition range checks were missing on arguments returned from calls
588 to the DCE-RPC functions LookupSids (lsa and samr), LookupNames (lsa and samr)
589 and LookupRids (samr) which could also cause similar problems.
591 As this was found during an internal audit of the Samba code there are
592 no currently known exploits for this problem (as of December 9th 2013).
595 Winbind allows for the further restriction of authenticated PAM logins using
596 the require_membership_of parameter. System administrators may specify a list
597 of SIDs or groups for which an authenticated user must be a member of. If an
598 authenticated user does not belong to any of the entries, then login should
599 fail. Invalid group name entries are ignored.
601 Samba versions 3.3.10, 3.4.3, 3.5.0 and later incorrectly allow login from
602 authenticated users if the require_membership_of parameter specifies only
605 This is a vulnerability with low impact. All require_membership_of group
606 names must be invalid for this bug to be encountered.
612 o Jeremy Allison <jra@samba.org>
613 * BUG 10185: CVE-2013-4408: Correctly check DCE-RPC fragment length field.
616 o Stefan Metzmacher <metze@samba.org>
617 * BUG 10185: CVE-2013-4408: Correctly check DCE-RPC fragment length field.
620 o Noel Power <noel.power@suse.com>
621 * BUGs 10300, 10306: CVE-2012-6150: Fail authentication if user isn't
622 member of *any* require_membership_of specified groups.
625 #######################################
626 Reporting bugs & Development Discussion
627 #######################################
629 Please discuss this release on the samba-technical mailing list or by
630 joining the #samba-technical IRC channel on irc.freenode.net.
632 If you do report problems then please try to send high quality
633 feedback. If you don't provide vital information to help us track down
634 the problem then you will probably be ignored. All bug reports should
635 be filed under the Samba 4.1 product in the project's Bugzilla
636 database (https://bugzilla.samba.org/).
639 ======================================================================
640 == Our Code, Our Bugs, Our Responsibility.
642 ======================================================================
645 ----------------------------------------------------------------------
648 =============================
649 Release Notes for Samba 4.1.2
651 =============================
654 This is is the latest stable release of Samba 4.1.
660 o Jeremy Allison <jra@samba.org>
661 * BUG 10187: Missing talloc_free can leak stackframe in error path.
662 * BUG 10196: RW Deny for a specific user is not overriding RW Allow for a
666 o Anand Avati <avati@redhat.com>
667 * BUG 10224: vfs_glusterfs: Implement proper mashalling/unmarshalling of
671 o Andrew Bartlett <abartlet@samba.org>
672 * BUG 10052: dfs_server: Use dsdb_search_one to catch 0 results as well as
673 NO_SUCH_OBJECT errors.
676 o Samuel Cabrero <scabrero@zentyal.com>
677 * BUG 9091: s4-dns: dlz_bind9: Create dns-HOSTNAME account disabled.
680 o Günther Deschner <gd@samba.org>
681 * BUG 10264: s3-winbindd: Fix cache_traverse_validate_fn failure for
685 o Christopher R. Hertel <crh@redhat.com>
686 * BUG 10224: vfs_glusterfs: Fix excessive debug output from
690 o Björn Jacke <bj@sernet.de>
691 * BUG 10247: xattr: Fix listing EAs on *BSD for non-root users.
694 o Volker Lendecke <vl@samba.org>
695 * BUG 10190: Fix memset used with constant zero length parameter.
696 * BUG 10195: nsswitch: Fix short writes in winbind_write_sock.
699 o Stefan Metzmacher <metze@samba.org>
700 * BUG 10193: s4:dsdb/rootdse: report 'dnsHostName' instead of 'dNSHostName'.
701 * BUG 10232: libcli/smb: Fix smb2cli_ioctl*() against Windows 2008.
704 o Susant Kumar Palai <spalai@redhat.com>
705 * BUG 10224: VFS plugin was sending the actual size of the volume instead of
706 the total number of block units because of which windows was getting the
707 wrong volume capacity.
710 o Andreas Schneider <asn@samba.org>
711 * BUG 10194: Make offline logon cache updating for cross child domain group
713 * BUG 10269: util: Remove 32bit macros breaking strict aliasing.
714 * BUG 10253: Fix the build of vfs_glusterfs.
717 #######################################
718 Reporting bugs & Development Discussion
719 #######################################
721 Please discuss this release on the samba-technical mailing list or by
722 joining the #samba-technical IRC channel on irc.freenode.net.
724 If you do report problems then please try to send high quality
725 feedback. If you don't provide vital information to help us track down
726 the problem then you will probably be ignored. All bug reports should
727 be filed under the Samba 4.1 product in the project's Bugzilla
728 database (https://bugzilla.samba.org/).
731 ======================================================================
732 == Our Code, Our Bugs, Our Responsibility.
734 ======================================================================
737 ----------------------------------------------------------------------
740 =============================
741 Release Notes for Samba 4.1.1
743 =============================
746 This is a security release in order to address
747 CVE-2013-4475 (ACLs are not checked on opening an alternate
748 data stream on a file or directory) and
749 CVE-2013-4476 (Private key in key.pem world readable).
752 Samba versions 3.2.0 and above (all versions of 3.2.x, 3.3.x,
753 3.4.x, 3.5.x, 3.6.x, 4.0.x and 4.1.x) do not check the underlying
754 file or directory ACL when opening an alternate data stream.
756 According to the SMB1 and SMB2+ protocols the ACL on an underlying
757 file or directory should control what access is allowed to alternate
758 data streams that are associated with the file or directory.
760 By default no version of Samba supports alternate data streams
761 on files or directories.
763 Samba can be configured to support alternate data streams by loading
764 either one of two virtual file system modues (VFS) vfs_streams_depot or
765 vfs_streams_xattr supplied with Samba, so this bug only affects Samba
766 servers configured this way.
768 To determine if your server is vulnerable, check for the strings
769 "streams_depot" or "streams_xattr" inside your smb.conf configuration
773 In setups which provide ldap(s) and/or https services, the private
774 key for SSL/TLS encryption might be world readable. This typically
775 happens in active directory domain controller setups.
781 o Jeremy Allison <jra@samba.org>
782 * BUGs 10234 + 10229: CVE-2013-4475: Fix access check verification on stream
786 o Björn Baumbach <bb@sernet.de>
787 * BUG 10234: CVE-2013-4476: Private key in key.pem world readable.
790 #######################################
791 Reporting bugs & Development Discussion
792 #######################################
794 Please discuss this release on the samba-technical mailing list or by
795 joining the #samba-technical IRC channel on irc.freenode.net.
797 If you do report problems then please try to send high quality
798 feedback. If you don't provide vital information to help us track down
799 the problem then you will probably be ignored. All bug reports should
800 be filed under the Samba 4.1 product in the project's Bugzilla
801 database (https://bugzilla.samba.org/).
804 ======================================================================
805 == Our Code, Our Bugs, Our Responsibility.
807 ======================================================================
810 ----------------------------------------------------------------------
813 =============================
814 Release Notes for Samba 4.1.0
816 =============================
819 This is is the first stable release of Samba 4.1.
821 Samba 4.1 will be the next version of the Samba suite and includes
822 all the technology found in both the Samba4 series and the stable 3.x
823 series. The primary additional features over Samba 3.6 are
824 support for the Active Directory logon protocols used by Windows 2000
827 Major enhancements in Samba 4.1.0 include:
829 Client tools support SMB2/3
830 ===========================
832 Samba 4.1.0 contains the first release of our client tools
833 and client library that work over the new protocols SMB2 or SMB3.
834 Note that SMB3 only works either to a Samba server version 4.0.0
835 or above, or to a Windows Server running Windows 2012 or Windows 8.
837 The default protocol for smbclient and smbcacls is still
838 SMB1 (the NT1 protocol dialect). An SMB2 or SMB3 connection
839 can be selected in one of two ways. The easiest way to test
840 the new protocol connection is to add the -mMAX_PROTOCOL
841 command line switch to either smbclient or smbcacls.
843 For example, to connect using SMB3 with smbclient a user
846 smbclient //server/share -Uuser%password -mSMB3
848 Another example of connecting using SMB2 using smbcacls
851 smbcacls //server/share -Uuser%password -mSMB2 filename
853 Note that when connecting using SMB2 or SMB3 protocols
854 the UNIX extensions are no longer available inside the
855 smbclient command set. This is due to UNIX extensions
856 not yet being defined for the SMB2 or SMB3 protocols.
858 The second way to select SMB2 or SMB3 connections is to
859 set the "client max protocol" parameter in the [global]
860 section of your smb.conf.
862 Setting this parameter will cause all client connections
863 from Samba and its client tools to offer the requested
864 max protocol to a server on every connection request.
866 For example, to cause all client tools (including winbindd,
867 rpcclient, and the libsmbclient library) to attempt use SMB3
868 by default add the line:
870 client max protocol = SMB3
872 to the [global] section of your smb.conf. This has not
873 been as widely tested as the -mPROTOCOL options, but
874 is intended to work correctly in the final release of
880 Although Samba servers have supported encrypted transport
881 connections using the UNIX extensions for many years,
882 selecting SMB3 transport allows encrypted transport
883 connections to Windows servers that support SMB3, as
884 well as Samba servers.
886 In order to enable this, add the "-e" option to the
887 smbclient command line.
889 For example, to connect to a Windows 2012 server over
890 SMB3 and select an encrypted transport you would use
891 the following command line:
893 smbclient //Win2012Server/share -Uuser%password -mSMB3 -e
896 Directory database replication (AD DC mode)
897 ===========================================
899 Directory replication has been reworked in order to improve the
900 correctness and efficiency.
901 As a net effect of it, replication with other domain controllers with
902 a heavily modified schema is now possible (ie. Windows 2012 DCs or
903 other Windows DC with exchange installed) and replication didn't fail
904 anymore in such environments.
907 Server-Side Copy Support
908 ========================
910 Samba 4.1.0 adds support for server-side copy operations via the SMB2
911 FSCTL_SRV_COPYCHUNK request. Clients making use of server-side copy
912 support, such as Windows Server 2012, should experience considerable
913 performance improvements for file copy operations, as file data need not
914 traverse the network.
915 This feature is enabled by default on the smbd file server.
918 Btrfs Filesystem Integration
919 ============================
921 The Btrfs VFS module provided with Samba 4.1.0 further improves the
922 performance of server-side copy operations on shares backed by a Btrfs
923 filesystem. It does so by allowing multiple files to share the same
924 on-disk extents, avoiding the unnecessary duplication of source and
925 destination file data during a server-side copy operation.
927 This feature can be explicitly enabled on smbd shares backed by a Btrfs
928 filesystem with the smb.conf parameter:
935 The Samba Web Administration Tool (SWAT) has been removed.
936 Details why SWAT has been removed can be found on the samba-technical mailing
939 https://lists.samba.org/archive/samba-technical/2013-February/090572.html
942 ######################################################################
949 Parameter Name Description Default
950 -------------- ----------- -------
952 acl allow execute always New False
953 password level Removed
954 set directory Removed
958 RUNNING Samba 4.1 as an AD DC
959 =============================
961 A short guide to setting up Samba as an AD DC can be found on the wiki:
963 https://wiki.samba.org/index.php/Samba_AD_DC_HOWTO
969 o Jeremy Allison <jra@samba.org>
970 * Add SMB2 and SMB3 support for client tools and client library.
971 * Add support for SMB3 Encrypted transport.
974 o David Disseldorp <ddiss@samba.org>
975 * Add vfs_btrfs module.
976 * Add support for server-side copy operations via the
977 SMB2 FSCTL_SRV_COPYCHUNK request.
980 CHANGES SINCE 4.1.0rc4
981 ======================
983 o Stefan Metzmacher <metze@samba.org>
984 * BUG 10178: Fix PAC parsing failure.
987 o Andreas Schneider <asn@samba.org>
988 * BUG 10132: pam_winbindd: Support the KEYRING ccache type.
991 CHANGES SINCE 4.1.0rc3
992 ======================
994 o Michael Adam <obnox@samba.org>
995 * BUG 10134: Add "acl allow execute always" parameter.
998 o Jeremy Allison <jra@samba.org>
999 * BUG 10139: Valid utf8 filenames cause "invalid conversion error"
1001 * BUG 10145: Samba SMB2 client code reads the wrong short name length in a
1002 directory listing reply.
1003 * BUG 10149: cli_smb2_get_ea_list_path() failed to close file on exit.
1004 * BUG 10150: Not all OEM servers support the ALTNAME info level.
1007 o Andrew Bartlett <abartlet@samba.org>
1008 * BUG 8077: dsdb: Convert the full string from UTF16 to UTF8, including
1010 * BUG 9461: python-samba-tool fsmo: Do not give an error on a successful
1012 * BUG 10157: Regression causes replication failure with Windows 2008R2 and
1013 deletes Deleted Objects.
1016 o Günther Deschner <gd@samba.org>
1017 * BUG 10147: Better document potential implications of a globally used
1021 o Korobkin <korobkin+samba@gmail.com>
1022 * BUG 10118: Raise the level of a debug when unable to open a printer.
1025 o Volker Lendecke <vl@samba.org>
1026 * BUG 10008: dbwrap_ctdb: Treat empty records as non-existing.
1027 * BUG 10138: smbd: Always clean up share modes after hard crash.
1030 o Daniel Liberman <danielvl@gmail.com>
1031 * BUG 10162: Fix POSIX ACL mapping when setting DENY ACE's from Windows.
1034 o Stefan Metzmacher <metze@samba.org>
1035 * BUG 10144: libcli/smb: Use SMB1 MID=0 for the initial Negprot.
1036 * BUG 10146: libcli/smb: Only check the SMB2 session setup signature if
1040 o Matthieu Patou <mat@matws.net>
1041 * BUG 10158: Netbios related samba process consumes 100% CPU.
1044 o Christof Schmitt <christof.schmitt@us.ibm.com>
1045 * BUG 10137: vfs_shadow_copy2: Display previous versions correctly over
1049 CHANGES SINCE 4.1.0rc2
1050 ======================
1052 o Michael Adam <obnox@samba.org>
1053 * BUG 10107: Fix Winbind crashes on DC with trusted AD domains.
1056 o Jeremy Allison <jra@samba.org>
1057 * BUG 5917: Fix working on site with Read Only Domain Controller.
1058 * BUG 9974: Add SMB2 and SMB3 support for smbclient.
1059 * BUG 10063: Fix memory leak in source3/lib/util.c:1493.
1060 * BUG 10121: Masks incorrectly applied to UNIX extension permission
1064 o Christian Ambach <ambi@samba.org>
1065 * BUG 9911: Build Samba 4.0.x on AIX with IBM XL C/C++.
1068 o Andrew Bartlett <abartlet@samba.org>
1069 * BUG 9091: When replicating DNS for bind9_dlz we need to create the
1070 server-DNS account remotely.
1073 o Günther Deschner <gd@samba.org>
1074 * BUG 9615: Winbind unable to retrieve user information from AD.
1075 * BUG 9899: winbind_lookup_names() fails because of
1076 NT_STATUS_CANT_ACCESS_DOMAIN_INFO.
1077 * BUG 10107: Fix Winbind crashes on DC with trusted AD domains.
1080 o Volker Lendecke <vl@samba.org>
1081 * BUG 10086: smbd: Fix async echo handler forking.
1082 * BUG 10106: Honour output buffer length set by the client for SMB2 GetInfo
1084 * BUG 10114: Handle Dropbox (write-only-directory) case correctly
1088 o Stefan Metzmacher <metze@samba.org>
1089 * BUG 10030: ::1 added to nameserver on join.
1092 o Rusty Russell <rusty@rustcorp.com.au>
1093 * BUG 10000: Add man pages for ntdb tools.
1096 o Karolin Seeger <kseeger@samba.org>
1097 * BUG 7364: Add man page for vfs_syncops.
1098 * BUG 7490: Add man page for vfs_linux_xfs_sgid.
1099 * BUG 10001: Add man page for samba-regedit tool.
1100 * BUG 10076: Fix variable list in vfs_crossrename man page.
1103 o Andreas Schneider <asn@samba.org>
1104 * BUG 10073: Fix segmentation fault in 'net ads join'.
1105 * BUG 10082: s3-winbind: Fix a segfault passing NULL to a fstring argument.
1108 o Richard Sharpe <realrichardsharpe@gmail.com>
1109 * BUG 10097: MacOSX 10.9 will not follow path-based DFS referrals handed
1113 o Ralph Wuerthner <ralph.wuerthner@de.ibm.com>
1114 * BUG 10106: Honour output buffer length set by the client for SMB2 GetInfo
1118 CHANGES SINCE 4.1.0rc1
1119 ======================
1121 o Jeremy Allison <jra@samba.org>
1122 * BUG 9992: Windows error 0x800700FE when copying files with xattr names
1124 * BUG 10010: Missing integer wrap protection in EA list reading can cause
1125 server to loop with DOS (CVE-2013-4124).
1126 * BUG 10064: Linux kernel oplock breaks can miss signals.
1129 o Andrew Bartlett <abartlet@samba.org>
1130 * BUG 9029: Fix replication with --domain-crictical-only to fill in
1132 * BUG 9820: Fix crash of winbind after "ls -l
1133 /usr/local/samba/var/locks/sysvol".
1134 * BUG 10056: dsdb improvements.
1137 o Björn Baumbach <bb@sernet.de>
1138 * BUG 10003: Fix segfault while reading incomplete session info.
1141 o Gregor Beck <gbeck@sernet.de>
1142 * BUG 9678: Windows 8 Roaming profiles fail.
1145 o Günther Deschner <gd@samba.org>
1146 * BUG 10043: Allow to change the default location for Kerberos credential
1150 o Volker Lendecke <vl@samba.org>
1151 * BUG 10013: Fix a 100% loop at shutdown time (smbd).
1154 o Stefan Metzmacher <metze@samba.org>
1155 * BUG 9820: Fix crash of winbind after "ls -l
1156 /usr/local/samba/var/locks/sysvol".
1157 * BUG 10015: Fix/improve debug options.
1158 * BUG 10042: Fix crashes in socket_get_local_addr().
1159 * BUG 10056: dsdb improvements.
1162 o Andreas Schneider <asn@samba.org>
1163 * BUG 9994: Do not delete an existing valid credential cache (s3-winbind).
1164 * BUG 10040: Rename regedit to samba-regedit.
1165 * BUG 10041: Remove obsolete swat manpage and references.
1166 * BUG 10048: nsswitch: Add OPT_KRB5CCNAME to avoid an error message.
1169 o Alexander Werth <alexander.werth@de.ibm.com>
1170 * BUG 10045: Remove a redundant inlined substitution of ACLs.
1173 o Ralph Wuerthner <ralphw@de.ibm.com>
1174 * BUG 10064: Linux kernel oplock breaks can miss signals.
1177 #######################################
1178 Reporting bugs & Development Discussion
1179 #######################################
1181 Please discuss this release on the samba-technical mailing list or by
1182 joining the #samba-technical IRC channel on irc.freenode.net.
1184 If you do report problems then please try to send high quality
1185 feedback. If you don't provide vital information to help us track down
1186 the problem then you will probably be ignored. All bug reports should
1187 be filed under the Samba 4.1 product in the project's Bugzilla
1188 database (https://bugzilla.samba.org/).
1191 ======================================================================
1192 == Our Code, Our Bugs, Our Responsibility.
1194 ======================================================================