1 ==============================
2 Release Notes for Samba 4.0.21
4 ==============================
7 This is a security release in order to address
8 CVE-2014-3560 (Remote code execution in nmbd).
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
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.0 product in the project's Bugzilla
38 database (https://bugzilla.samba.org/).
41 ======================================================================
42 == Our Code, Our Bugs, Our Responsibility.
44 ======================================================================
47 Release notes for older releases follow:
48 ----------------------------------------
50 ==============================
51 Release Notes for Samba 4.0.20
53 ==============================
56 This is the latest stable release of the Samba 4.0 release series.
62 o Jeremy Allison <jra@samba.org>
63 * BUG 3124: s3: smb2: Fix 'xcopy /d' with samba shares.
64 * BUG 10653: Samba won't start on a machine configured with only IPv4.
65 * BUG 10673: s3: SMB2: Fix leak of blocking lock records in the database.
66 * BUG 10684: SMB1 blocking locks can fail notification on unlock, causing
68 * BUG 10685: s3: smbd: Locking, fix off-by one calculation in
69 brl_pending_overlap().
70 * BUG 10692: wbcCredentialCache fails if challenge_blob is not first.
73 o Andrew Bartlett <abartlet@samba.org>
74 * BUG 10627: rid_array used before status checked - segmentation fault due
75 to null pointer dereference.
78 o David Disseldorp <ddiss@samba.org>
79 * BUG 10612: printing: Fix purge of all print jobs.
82 o Björn Jacke <bj@sernet.de>
83 * BUG 3263: net/doc: Make clear that net vampire is for NT4 domains only.
84 * BUG 10657: autobuild: Delete $NSS_MODULES in "make clean".
87 o Volker Lendecke <vl@samba.org>
88 * BUG 10663: msg_channel: Fix a 100% CPU loop.
89 * BUG 10680: smbstatus: Fix an uninitialized variable.
90 * BUG 10687: 'RW2' smbtorture test fails when -N <numprocs> is set to 2 due
91 to the invalid status check in the second client.
92 * BUG 10699: smbd: Avoid double-free in get_print_db_byname.
95 o Stefan Metzmacher <metze@samba.org>
96 * BUG 10469: ldb-samba: fix a memory leak in
97 ldif_canonicalise_objectCategory().
98 * BUG 10692: wbcCredentialCache fails if challenge_blob is not first.
99 * BUG 10696: Backport autobuild/selftest fixes from master.
100 * BUG 10706: s3:smb2_read: let smb2_sendfile_send_data() behave like
104 ######################################################################
105 Reporting bugs & Development Discussion
106 #######################################
108 Please discuss this release on the samba-technical mailing list or by
109 joining the #samba-technical IRC channel on irc.freenode.net.
111 If you do report problems then please try to send high quality
112 feedback. If you don't provide vital information to help us track down
113 the problem then you will probably be ignored. All bug reports should
114 be filed under the Samba 4.0 product in the project's Bugzilla
115 database (https://bugzilla.samba.org/).
118 ======================================================================
119 == Our Code, Our Bugs, Our Responsibility.
121 ======================================================================
124 ----------------------------------------------------------------------
127 ==============================
128 Release Notes for Samba 4.0.19
130 ==============================
133 This is a security release in order to address
134 CVE-2014-0244 (Denial of service - CPU loop) and
135 CVE-2014-3493 (Denial of service - Server crash/memory corruption).
138 All current released versions of Samba are vulnerable to a denial of
139 service on the nmbd NetBIOS name services daemon. A malformed packet
140 can cause the nmbd server to loop the CPU and prevent any further
141 NetBIOS name service.
143 This flaw is not exploitable beyond causing the code to loop expending
147 All current released versions of Samba are affected by a denial of service
148 crash involving overwriting memory on an authenticated connection to the
152 Changes since 4.0.18:
153 ---------------------
155 o Jeremy Allison <jra@samba.org>
156 * BUG 10633: CVE-2014-0244: Fix nmbd denial of service.
157 * BUG 10654: CVE-2014-3493: Fix segmentation fault in
158 smbd_marshall_dir_entry()'s SMB_FIND_FILE_UNIX handler.
161 ######################################################################
162 Reporting bugs & Development Discussion
163 #######################################
165 Please discuss this release on the samba-technical mailing list or by
166 joining the #samba-technical IRC channel on irc.freenode.net.
168 If you do report problems then please try to send high quality
169 feedback. If you don't provide vital information to help us track down
170 the problem then you will probably be ignored. All bug reports should
171 be filed under the Samba 4.0 product in the project's Bugzilla
172 database (https://bugzilla.samba.org/).
175 ======================================================================
176 == Our Code, Our Bugs, Our Responsibility.
178 ======================================================================
181 ----------------------------------------------------------------------
184 ==============================
185 Release Notes for Samba 4.0.18
187 ==============================
190 This is the latest stable release of Samba 4.0.
192 Please note that this bug fix release also addresses two minor security issues
193 without being a dedicated security release:
195 o CVE-2014-0239: dns: Don't reply to replies (bug #10609).
196 o CVE-2014-0178: Malformed FSCTL_SRV_ENUMERATE_SNAPSHOTS response
199 For more details including security advisories and patches, please see
201 http://www.samba.org/samba/history/security.html
204 Changes since 4.0.17:
205 ---------------------
207 o Michael Adam <obnox@samba.org>
208 * BUG 10548: build: Fix ordering problems with lib-provided and internal
212 o Jeremy Allison <jra@samba.org>
213 * BUG 10577: SMB1 wildcard unlink fail can leave a retry record on the open
215 * BUG 10564: Fix lock order violation and file lost.
218 o Björn Baumbach <bb@sernet.de>
219 * BUG 10239: s3-nmbd: Reset debug settings after reading config file.
220 * BUG 10544: s3-lib/util: set_namearray reads across end of namelist
222 * BUG 10556: lib-util: Rename memdup to smb_memdup and fix all callers.
225 o Kai Blin <kai@samba.org>
226 * BUG 10609: CVE-2014-0239: dns: Don't reply to replies.
229 o David Disseldorp <ddiss@samba.org>
230 * BUG 10590: byteorder: Do not assume PowerPC is big-endian.
233 o Stefan Metzmacher <metze@samba.org>
234 * BUG 10472: script/autobuild: Make use of
235 '--with-perl-{arch,lib}-install-dir'.
238 o Noel Power <nopower@suse.com>
239 * BUG 10554: Fix read of deleted memory in reply_writeclose()'.
242 o Jose A. Rivera <jarrpa@redhat.com>
243 * BUG 10151: Extra ':' in msg for Waf Cross Compile Build System with
244 Cross-answers command.
245 * BUG 10348: Fix empty body in if-statement in continue_domain_open_lookup.
248 o Christof Schmitt <christof.schmitt@us.ibm.com>
249 * BUG 10549: CVE-2014-0178: Malformed FSCTL_SRV_ENUMERATE_SNAPSHOTS
253 o Andreas Schneider <asn@samba.org>
254 * BUG 10472: wafsamba: Fix the installation on FreeBSD.
257 ######################################################################
258 Reporting bugs & Development Discussion
259 #######################################
261 Please discuss this release on the samba-technical mailing list or by
262 joining the #samba-technical IRC channel on irc.freenode.net.
264 If you do report problems then please try to send high quality
265 feedback. If you don't provide vital information to help us track down
266 the problem then you will probably be ignored. All bug reports should
267 be filed under the Samba 4.0 product in the project's Bugzilla
268 database (https://bugzilla.samba.org/).
271 ======================================================================
272 == Our Code, Our Bugs, Our Responsibility.
274 ======================================================================
277 ----------------------------------------------------------------------
280 ==============================
281 Release Notes for Samba 4.0.17
283 ==============================
286 This is the latest stable release of Samba 4.0.
289 Changes since 4.0.16:
290 ---------------------
292 o Jeremy Allison <jra@samba.org>
293 * BUG 9878: Make "force user" work as expected.
294 * BUG 9942: Fix problem with server taking too long to respond to a
295 MSG_PRINTER_DRVUPGRADE message.
296 * BUG 9993: s3-printing: Fix obvious memory leak in
297 printer_list_get_printer().
298 * BUG 10344: SessionLogoff on a signed connection with an outstanding notify
299 request crashes smbd.
300 * BUG 10431: Fix STATUS_NO_MEMORY response from Query File Posix Lock request.
301 * BUG 10508: smbd: Correctly add remote users into local groups.
302 * BUG 10534: Cleanup messages.tdb record after unclean smbd shutdown.
305 o Christian Ambach <ambi@samba.org>
306 * BUG 9911: Fix build on AIX with IBM XL C/C++ (gettext detection issues).
307 * BUG 10308: Fix String Conversion Errors with Samba 4.1.0 Build on AIX 7.1.
310 o Andrew Bartlett <abartlet@samba.org>
311 * smbd: Split create_conn_struct into a fn that does not change the
315 o Gregor Beck <gbeck@sernet.de>
316 * BUG 10458: Fix 'wbinfo -i' with one-way trust.
317 * s3:rpc_server: Minor refactoring of process_request_pdu().
320 o Kai Blin <kai@samba.org>
321 * BUG 10471: Don't respond with NXDOMAIN to records that exist with another
325 o Alexander Bokovoy <ab@samba.org>
326 * BUG 10504: lsa.idl: Define lsa.ForestTrustCollisionInfo and
327 ForestTrustCollisionRecord as public structs.
330 o Günther Deschner <gd@samba.org>
331 * BUG 10439: Increase max netbios name components.
334 o David Disseldorp <ddiss@samba.org>
335 * BUG 10188: doc: Add "spoolss: architecture" parameter usage.
336 * BUG 10484: Initial FSRVP rpcclient requests fail with
337 NT_STATUS_PIPE_NOT_AVAILABLE.
340 o Daniel Liberman <danielvl@gmail.com>
341 * BUG 10387: 'net ads search' on high latency networks can return a partial
342 list with no error indication.
345 o Stefan Metzmacher <metze@samba.org>
346 * BUG 10344: SessionLogoff on a signed connection with an outstanding notify
347 request crashes smbd.
348 * BUG 10422: max xmit > 64kb leads to segmentation fault.
349 * BUG 10444: smbd_server_connection_terminate("CTDB_SRVID_RELEASE_IP")
350 panics from within ctdbd_migrate() with invalid lock_order.
351 * BUG 10464: samba4 services not binding on IPv6 addresses causing
353 * tevent: Fix crash bug in tevent_queue_immediate_trigger().
356 o Garming Sam <garming@catalyst.net.nz>
357 * BUG 10378: dfs: Always call create_conn_struct with root privileges.
360 o Andreas Schneider <asn@cryptomilk.org>
361 * BUG 10472: pidl: waf should have an option for the dir to install perl
362 files and do not glob.
363 * BUG 10474: s3-spoolssd: Don't register spoolssd if epmd is not running.
364 * BUG 10481: s3-rpc_server: Fix handling of fragmented rpc requests.
367 o Gustavo Zacarias <gustavo@zacarias.com.ar>
368 * BUG 10506: Make 'smbreadline' build with readline 6.3.
371 ######################################################################
372 Reporting bugs & Development Discussion
373 #######################################
375 Please discuss this release on the samba-technical mailing list or by
376 joining the #samba-technical IRC channel on irc.freenode.net.
378 If you do report problems then please try to send high quality
379 feedback. If you don't provide vital information to help us track down
380 the problem then you will probably be ignored. All bug reports should
381 be filed under the Samba 4.0 product in the project's Bugzilla
382 database (https://bugzilla.samba.org/).
385 ======================================================================
386 == Our Code, Our Bugs, Our Responsibility.
388 ======================================================================
391 ----------------------------------------------------------------------
394 ==============================
395 Release Notes for Samba 4.0.16
397 ==============================
400 This is a security release in order to address
401 CVE-2013-4496 (Password lockout not enforced for SAMR password changes) and
402 CVE-2013-6442 (smbcacls can remove a file or directory ACL by mistake).
405 Samba versions 3.4.0 and above allow the administrator to implement
406 locking out Samba accounts after a number of bad password attempts.
408 However, all released versions of Samba did not implement this check for
409 password changes, such as are available over multiple SAMR and RAP
410 interfaces, allowing password guessing attacks.
413 Samba versions 4.0.0 and above have a flaw in the smbcacls command. If
414 smbcacls is used with the "-C|--chown name" or "-G|--chgrp name"
415 command options it will remove the existing ACL on the object being
416 modified, leaving the file or directory unprotected.
419 Changes since 4.0.15:
420 ---------------------
422 o Jeremy Allison <jra@samba.org>
423 * BUG 10327: CVE-2013-6442: ensure we don't lose an existing ACL when
424 setting owner or group owner.
427 o Andrew Bartlett <abartlet@samba.org>
428 * BUG 10245: CVE-2013-4496: Enforce password lockout for SAMR password
432 o Stefan Metzmacher <metze@samba.org>
433 * BUG 10245: CVE-2013-4496: Enforce password lockout for SAMR password
437 ######################################################################
438 Reporting bugs & Development Discussion
439 #######################################
441 Please discuss this release on the samba-technical mailing list or by
442 joining the #samba-technical IRC channel on irc.freenode.net.
444 If you do report problems then please try to send high quality
445 feedback. If you don't provide vital information to help us track down
446 the problem then you will probably be ignored. All bug reports should
447 be filed under the Samba 4.0 product in the project's Bugzilla
448 database (https://bugzilla.samba.org/).
451 ======================================================================
452 == Our Code, Our Bugs, Our Responsibility.
454 ======================================================================
457 ----------------------------------------------------------------------
460 ==============================
461 Release Notes for Samba 4.0.15
463 ==============================
466 This is the latest stable release of Samba 4.0.
469 Changes since 4.0.14:
470 ---------------------
472 o Michael Adam <obnox@samba.org>
473 * BUG 10259: Make shadow_copy2 module working with Windows 7.
476 o Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
477 * BUG 10087: ntlm_auth sometimes returns the wrong username to
478 mod_ntlm_auth_winbind.
481 o Jeremy Allison <jra@samba.org>
482 * BUG 2662: Make revamped directory handling code 64bit clean.
483 * BUG 10358: Fix 100% CPU utilization in winbindd when trying to free
484 memory in winbindd_reinit_after_fork.
485 * BUG 10429: s3: modules: streaminfo: As we have no VFS function
486 SMB_VFS_LLISTXATTR we can't cope with a symlink when lp_posix_pathnames()
490 o Christian Ambach <ambi@samba.org>
491 * BUG 0280: s3:winbindd: Fix use of uninitialized variables.
494 o Andrew Bartlett <abartlet@samba.org>
495 * BUG 10418: Fix INTERNAL ERROR: Signal 11 in the kdc pid.
498 o Jeffrey Clark <dude@zaplabs.com>
499 * BUG 10418: Add support for Heimdal's unified krb5 and hdb plugin system.
502 o Volker Lendecke <vl@samba.org>
503 * BUG 2191: s3-winbind: Improve performance of wb_fill_pwent_sid2uid_done().
504 * BUG 10415: smbd: Fix memory overwrites.
505 * BUG 10436: smbd: Fix an ancient oplock bug.
508 o Stefan Metzmacher <metze@samba.org>
509 * BUG 10442: Fix crash bug in smb2_notify code.
512 o Jelmer Vernooij <jelmer@samba.org>
513 * BUG 10418: Cope with first element in hdb_method having a different name
514 in different heimdal versions.
517 ######################################################################
518 Reporting bugs & Development Discussion
519 #######################################
521 Please discuss this release on the samba-technical mailing list or by
522 joining the #samba-technical IRC channel on irc.freenode.net.
524 If you do report problems then please try to send high quality
525 feedback. If you don't provide vital information to help us track down
526 the problem then you will probably be ignored. All bug reports should
527 be filed under the Samba 4.0 product in the project's Bugzilla
528 database (https://bugzilla.samba.org/).
531 ======================================================================
532 == Our Code, Our Bugs, Our Responsibility.
534 ======================================================================
537 ----------------------------------------------------------------------
540 ==============================
541 Release Notes for Samba 4.0.14
543 ==============================
546 This is the latest stable release of Samba 4.0.
548 Major enhancements in Samba 4.0.14 include:
550 o Fix segfault in smbd (bug #10284).
551 o Fix SMB2 server panic when a smb2 brlock times out (bug #10311).
554 Changes since 4.0.13:
555 ---------------------
557 o Jeremy Allison <jra@samba.org>
558 * BUG 9870: smbd: Allow updates on directory write times on open handles.
559 * BUG 10297: smbd: Fix writing to a directory with -wx permissions
561 * BUG 10305: ldb: Fix bad if test in ldb_comparison_fold().
562 * BUG 10320: s3:smbpasswd: Fix crashes on invalid input.
565 o David Disseldorp <ddiss@samba.org>
566 * BUG 10271: Send correct job-ID in print job notifications.
569 o Volker Lendecke <vl@samba.org>
570 * BUG 10250: smbd: Fix a talloc hierarchy problem in msg_channel.
571 * BUG 10284: smbd: Fix segfault.
572 * BUG 10297: smbd: Fix writing to a directory with -wx permissions
574 * BUG 10311: Fix SMB2 server panic when a smb2 brlock times out.
577 o Stefan Metzmacher <metze@samba.org>
578 * BUG 10298: Reduce smb2_server processing overhead.
579 * BUG 10330: s3:configure: Require tevent >= 0.9.18 as external library.
582 o Arvid Requate <requate@univention.de>
583 * BUG 10267: spoolss: Accept XPS_PASS datatype used by Windows 8.
586 o Christof Schmitt <cs@samba.org>
587 * BUG 10310: Fix AIO with SMB2 and locks.
590 o Andreas Schneider <asn@samba.org>
591 * BUG 2191: Fix substution of %G/%g in 'template * homedir'.
594 ######################################################################
595 Reporting bugs & Development Discussion
596 #######################################
598 Please discuss this release on the samba-technical mailing list or by
599 joining the #samba-technical IRC channel on irc.freenode.net.
601 If you do report problems then please try to send high quality
602 feedback. If you don't provide vital information to help us track down
603 the problem then you will probably be ignored. All bug reports should
604 be filed under the Samba 4.0 product in the project's Bugzilla
605 database (https://bugzilla.samba.org/).
608 ----------------------------------------------------------------------
611 ==============================
612 Release Notes for Samba 4.0.13
614 ==============================
617 This is a security release in order to address
618 CVE-2013-4408 (DCE-RPC fragment length field is incorrectly checked) and
619 CVE-2012-6150 (pam_winbind login without require_membership_of restrictions).
622 Samba versions 3.4.0 and above (versions 3.4.0 - 3.4.17, 3.5.0 -
623 3.5.22, 3.6.0 - 3.6.21, 4.0.0 - 4.0.12 and including 4.1.2) are
624 vulnerable to buffer overrun exploits in the client processing of
625 DCE-RPC packets. This is due to incorrect checking of the DCE-RPC
626 fragment length in the client code.
628 This is a critical vulnerability as the DCE-RPC client code is part of
629 the winbindd authentication and identity mapping daemon, which is
630 commonly configured as part of many server installations (when joined
631 to an Active Directory Domain). A malicious Active Directory Domain
632 Controller or man-in-the-middle attacker impersonating an Active
633 Directory Domain Controller could achieve root-level access by
634 compromising the winbindd process.
636 Samba server versions 3.4.0 - 3.4.17 and versions 3.5.0 - 3.5.22 are
637 also vulnerable to a denial of service attack (server crash) due to a
638 similar error in the server code of those versions.
640 Samba server versions 3.6.0 and above (including all 3.6.x versions,
641 all 4.0.x versions and 4.1.x) are not vulnerable to this problem.
643 In addition range checks were missing on arguments returned from calls
644 to the DCE-RPC functions LookupSids (lsa and samr), LookupNames (lsa and samr)
645 and LookupRids (samr) which could also cause similar problems.
647 As this was found during an internal audit of the Samba code there are
648 no currently known exploits for this problem (as of December 9th 2013).
651 Winbind allows for the further restriction of authenticated PAM logins using
652 the require_membership_of parameter. System administrators may specify a list
653 of SIDs or groups for which an authenticated user must be a member of. If an
654 authenticated user does not belong to any of the entries, then login should
655 fail. Invalid group name entries are ignored.
657 Samba versions 3.3.10, 3.4.3, 3.5.0 and later incorrectly allow login from
658 authenticated users if the require_membership_of parameter specifies only
661 This is a vulnerability with low impact. All require_membership_of group
662 names must be invalid for this bug to be encountered.
665 Changes since 4.0.12:
666 ---------------------
668 o Jeremy Allison <jra@samba.org>
669 * BUG 10185: CVE-2013-4408: Correctly check DCE-RPC fragment length field.
672 o Stefan Metzmacher <metze@samba.org>
673 * BUG 10185: CVE-2013-4408: Correctly check DCE-RPC fragment length field.
676 o Noel Power <noel.power@suse.com>
677 * BUGs 10300, 10306: CVE-2012-6150: Fail authentication if user isn't
678 member of *any* require_membership_of specified groups.
681 ######################################################################
682 Reporting bugs & Development Discussion
683 #######################################
685 Please discuss this release on the samba-technical mailing list or by
686 joining the #samba-technical IRC channel on irc.freenode.net.
688 If you do report problems then please try to send high quality
689 feedback. If you don't provide vital information to help us track down
690 the problem then you will probably be ignored. All bug reports should
691 be filed under the Samba 4.0 product in the project's Bugzilla
692 database (https://bugzilla.samba.org/).
695 ======================================================================
696 == Our Code, Our Bugs, Our Responsibility.
698 ======================================================================
701 ----------------------------------------------------------------------
704 ==============================
705 Release Notes for Samba 4.0.12
707 ==============================
710 This is is the latest stable release of Samba 4.0.
712 Major enhancements in Samba 4.0.12 include:
714 o RW Deny for a specific user is not overriding RW Allow for a group (bug
718 Changes since 4.0.11:
719 ---------------------
721 o Jeremy Allison <jra@samba.org>
722 * BUG 10187: Missing talloc_free can leak stackframe in error path.
723 * BUG 10196: RW Deny for a specific user is not overriding RW Allow for a
727 o Andrew Bartlett <abartlet@samba.org>
728 * BUG 10052: Use dsdb_search_one to catch 0 results as well as
729 NO_SUCH_OBJECT errors.
732 o Samuel Cabrero <scabrero@zentyal.com>
733 * BUG 9091: s4-dns: dlz_bind9: Create dns-HOSTNAME account disabled.
736 o Günther Deschner <gd@samba.org>
737 * BUG 10264: s3-winbind: Fix cache_traverse_validate_fn failure for NDR
741 o Björn Jacke <bj@sernet.de>
742 * BUG 10247: xattr: Fix listing EAs on *BSD for non-root users.
745 o Volker Lendecke <vl@samba.org>
746 * BUG 10195: nsswitch: Fix short writes in winbind_write_sock.
749 o Stefan Metzmacher <metze@samba.org>
750 * BUG 9905: ldap_server: Register name and pid at startup.
751 * BUG 10193: s4:dsdb/rootdse: report 'dnsHostName' instead of 'dNSHostName'.
752 * BUG 10232: libcli/smb: fix smb2cli_ioctl*() against Windows 2008.
755 o Andreas Schneider <asn@samba.org>
756 * BUG 10132: pam_winbindd: Add support for the KEYRING ccache type.
757 * BUG 10194: winbind: Offline logon cache not updating for cross child
758 domain group membership.
759 * BUG 10269: util: Remove 32bit macros breaking strict aliasing.
762 ######################################################################
763 Reporting bugs & Development Discussion
764 #######################################
766 Please discuss this release on the samba-technical mailing list or by
767 joining the #samba-technical IRC channel on irc.freenode.net.
769 If you do report problems then please try to send high quality
770 feedback. If you don't provide vital information to help us track down
771 the problem then you will probably be ignored. All bug reports should
772 be filed under the Samba 4.0 product in the project's Bugzilla
773 database (https://bugzilla.samba.org/).
776 ======================================================================
777 == Our Code, Our Bugs, Our Responsibility.
779 ======================================================================
782 ----------------------------------------------------------------------
785 ==============================
786 Release Notes for Samba 4.0.11
788 ==============================
791 This is a security release in order to address
792 CVE-2013-4475 (ACLs are not checked on opening an alternate
793 data stream on a file or directory) and
794 CVE-2013-4476 (Private key in key.pem world readable).
797 Samba versions 3.2.0 and above (all versions of 3.2.x, 3.3.x,
798 3.4.x, 3.5.x, 3.6.x, 4.0.x and 4.1.x) do not check the underlying
799 file or directory ACL when opening an alternate data stream.
801 According to the SMB1 and SMB2+ protocols the ACL on an underlying
802 file or directory should control what access is allowed to alternate
803 data streams that are associated with the file or directory.
805 By default no version of Samba supports alternate data streams
806 on files or directories.
808 Samba can be configured to support alternate data streams by loading
809 either one of two virtual file system modues (VFS) vfs_streams_depot or
810 vfs_streams_xattr supplied with Samba, so this bug only affects Samba
811 servers configured this way.
813 To determine if your server is vulnerable, check for the strings
814 "streams_depot" or "streams_xattr" inside your smb.conf configuration
818 In setups which provide ldap(s) and/or https services, the private
819 key for SSL/TLS encryption might be world readable. This typically
820 happens in active directory domain controller setups.
823 Changes since 4.0.10:
824 ---------------------
826 o Jeremy Allison <jra@samba.org>
827 * BUGs 10234 + 10229: CVE-2013-4475: Fix access check verification on stream
831 o Björn Baumbach <bb@sernet.de>
832 * BUG 10234: CVE-2013-4476: Private key in key.pem world readable.
835 ######################################################################
836 Reporting bugs & Development Discussion
837 #######################################
839 Please discuss this release on the samba-technical mailing list or by
840 joining the #samba-technical IRC channel on irc.freenode.net.
842 If you do report problems then please try to send high quality
843 feedback. If you don't provide vital information to help us track down
844 the problem then you will probably be ignored. All bug reports should
845 be filed under the Samba 4.0 product in the project's Bugzilla
846 database (https://bugzilla.samba.org/).
849 ======================================================================
850 == Our Code, Our Bugs, Our Responsibility.
852 ======================================================================
855 ----------------------------------------------------------------------
858 ==============================
859 Release Notes for Samba 4.0.10
861 ==============================
864 This is is the latest stable release of Samba 4.0.
866 Major enhancements in Samba 4.0.10 include:
868 o NetBIOS related samba process consumes 100% CPU (bug #10158).
869 o smbd: Clean up share modes after hard crash (bug #10138).
870 o Fix POSIX ACL mapping when setting DENY ACE's from Windows (bug #10162).
872 To ease upgrades from Samba 3.6 and older, a new parameter called "acl allow
873 execute always" has been introduced as a temporary workaround. Please see the
874 smb.conf man page for details.
880 o Michael Adam <obnox@samba.org>
881 * BUG 10134: Ease file server upgrades from 3.6 and earlier with "acl allow
883 * BUG 10169: Fix build error in scavenger.c.
886 o Jeremy Allison <jra@samba.org>
887 * BUG 5917: Make Samba work on site with Read Only Domain Controller.
888 * BUG 9166: Starting smbd or nmbd with stdin from /dev/null results in
890 * BUG 10063: source3/lib/util.c:1493 leaking memory w/ pam_winbind.so /
892 * BUG 10121: Masks incorrectly applied to UNIX extension permission changes.
893 * BUG 10139: Valid utf8 filenames cause "invalid conversion error"
897 o Christian Ambach <ambi@samba.org>
898 * BUG #9911 - Build Samba 4.0.x on AIX with IBM XL C/C++.
901 o Andrew Bartlett <abartlet@samba.org>
902 * BUG 8077: dsdb: Convert the full string from UTF16 to UTF8, including
904 * BUG 9091: When replicating DNS for bind9_dlz we need to create the
905 server-DNS account remotely.
906 * BUG 9461: python-samba-tool fsmo: Do not give an error on a successful
910 o Günther Deschner <gd@samba.org>
911 * BUG 9615: s3-winbindd: fix fallback to ncacn_np in cm_connect_lsat().
912 * BUG 9899: s3-winbindd: fix fallback to ncacn_np in cm_connect_lsat().
913 * BUG 10147: Better document potential implications of a globally used
917 o Korobkin <korobkin+samba@gmail.com>
918 * BUG 10118: Samba is chatty about being unable to open a printer.
921 o Amitay Isaacs <amitay@gmail.com>
922 * BUG 9599: samba-tool/dns: Pass on additional flags when creating zones.
925 o Volker Lendecke <vl@samba.org>
926 * BUG 10086: smbd: Fix async echo handler forking.
927 * BUG 10106: Honour output buffer length set by the client for SMB2
929 * BUG 10114: Dropbox (write-only-directory) case isn't handled correctly in
931 * BUG 10138: smbd: Clean up share modes after hard crash.
934 o Daniel Liberman <danielvl@gmail.com>
935 * BUG 10162: Fix POSIX ACL mapping when setting DENY ACE's from Windows.
938 o Stefan Metzmacher <metze@samba.org>
939 * BUG 9802: Move gencache.tdb to /var/cache/samba.
940 * BUG 10030: ::1 added to nameserver on join.
943 o Matthieu Patou <mat@matws.net>
944 * BUG 10158: NetBIOS related samba process consumes 100% CPU.
947 o Christof Schmitt <christof.schmitt@us.ibm.com>
948 * BUG 10137: vfs_shadow_copy2 does not display previous versions correctly
952 o Karolin Seeger <kseeger@samba.org>
953 * BUG 10076: docs: Fix variable list in man vfs_crossrename.
956 o Richard Sharpe <realrichardsharpe@gmail.com>
957 * BUG 10097 - MacOSX 10.9 will not follow path-based DFS referrals handed
961 o Ralph Wuerthner <ralph.wuerthner@de.ibm.com>
962 * BUG 10106: Honour output buffer length set by the client for SMB2
966 ######################################################################
967 Reporting bugs & Development Discussion
968 #######################################
970 Please discuss this release on the samba-technical mailing list or by
971 joining the #samba-technical IRC channel on irc.freenode.net.
973 If you do report problems then please try to send high quality
974 feedback. If you don't provide vital information to help us track down
975 the problem then you will probably be ignored. All bug reports should
976 be filed under the Samba 4.0 product in the project's Bugzilla
977 database (https://bugzilla.samba.org/).
980 ======================================================================
981 == Our Code, Our Bugs, Our Responsibility.
983 ======================================================================
986 ----------------------------------------------------------------------
989 =============================
990 Release Notes for Samba 4.0.9
992 =============================
995 This is is the latest stable release of Samba 4.0.
997 Major enhancements in Samba 4.0.9 include:
999 o Fix crash of Winbind after "ls -l /usr/local/samba/var/locks/sysvol"
1001 o Fix segmentation fault while reading incomplete session info (bug #10003).
1002 o smbd: Fix a 100% loop at shutdown time (bug #10013).
1005 Changes since 4.0.8:
1006 --------------------
1008 o Michael Adam <obnox@samba.org>
1009 * BUG 9930: smbd: Cleanup disonnected durable handles.
1012 o Jeremy Allison <jra@samba.org>
1013 * BUG 9992: Fix Windows error 0x800700FE when copying files with xattr names
1015 * BUG 10064: Linux kernel oplock breaks can miss signals.
1018 o Andrew Bartlett <abartlet@samba.org>
1019 * BUG 9820: Fix crash of Winbind after "ls -l
1020 /usr/local/samba/var/locks/sysvol".
1021 * BUG 10014: Fix excessive RID allocation.
1024 o Björn Baumbach <bb@sernet.de>
1025 * BUG 10003: s3-lib: Fix segmentation fault while reading incomplete
1029 o Gregor Beck <gbeck@sernet.de>
1030 * BUG 9678: Windows 8 Roaming profiles fail.
1031 * BUG 9930: smbd: Cleanup disonnected durable handles.
1034 o Kai Blin <kai@samba.org>
1035 * BUG 10015: Add debugclass for DNS server.
1038 o Alexander Bokovoy <ab@samba.org>
1039 * BUG 9779: Add UPN enumeration to passdb internal API.
1042 o Günther Deschner <gd@samba.org>
1043 * BUG 10043: Allow to change the default location for Kerberos credential
1045 * BUG 10073: net ads join: Fix segmentation fault in
1046 create_local_private_krb5_conf_for_domain.
1049 o Volker Lendecke <vl@samba.org>
1050 * BUG 10013: smbd: Fix a 100% loop at shutdown time.
1053 o Stefan Metzmacher <metze@samba.org>
1054 * BUG 9820: Fix crash of Winbind after "ls -l
1055 /usr/local/samba/var/locks/sysvol".
1056 * BUG 10003: s3-lib: Fix segmentation fault while reading incomplete
1058 * BUG 10015: Fix/improve debug options.
1061 o Christof Schmitt <christof.schmitt@us.ibm.com>
1062 * BUG 9970: vfs_streams_xattr: Do not attempt to write empty attribute
1066 o Andreas Schneider <asn@samba.org>
1067 * BUG 9994: s3-winbind: Do not delete an existing valid credential cache.
1068 * BUG 10073: net ads join: Fix segmentation fault in
1069 create_local_private_krb5_conf_for_domain.
1072 o Ralph Wuerthner <ralphw@de.ibm.com>
1073 * BUG 10064: Linux kernel oplock breaks can miss signals.
1076 ######################################################################
1077 Reporting bugs & Development Discussion
1078 #######################################
1080 Please discuss this release on the samba-technical mailing list or by
1081 joining the #samba-technical IRC channel on irc.freenode.net.
1083 If you do report problems then please try to send high quality
1084 feedback. If you don't provide vital information to help us track down
1085 the problem then you will probably be ignored. All bug reports should
1086 be filed under the Samba 4.0 product in the project's Bugzilla
1087 database (https://bugzilla.samba.org/).
1090 ======================================================================
1091 == Our Code, Our Bugs, Our Responsibility.
1093 ======================================================================
1096 ----------------------------------------------------------------------
1099 =============================
1100 Release Notes for Samba 4.0.8
1102 =============================
1105 This is a security release in order to address
1106 CVE-2013-4124 (Missing integer wrap protection in EA list reading can cause
1107 server to loop with DOS).
1110 All current released versions of Samba are vulnerable to a denial of
1111 service on an authenticated or guest connection. A malformed packet
1112 can cause the smbd server to loop the CPU performing memory
1113 allocations and preventing any further service.
1115 A connection to a file share, or a local account is needed to exploit
1116 this problem, either authenticated or unauthenticated if guest
1117 connections are allowed.
1119 This flaw is not exploitable beyond causing the code to loop
1120 allocating memory, which may cause the machine to exceed memory
1124 Changes since 4.0.7:
1125 --------------------
1127 o Jeremy Allison <jra@samba.org>
1128 * BUG 10010: CVE-2013-4124: Missing integer wrap protection in EA list
1129 reading can cause server to loop with DOS.
1132 ######################################################################
1133 Reporting bugs & Development Discussion
1134 #######################################
1136 Please discuss this release on the samba-technical mailing list or by
1137 joining the #samba-technical IRC channel on irc.freenode.net.
1139 If you do report problems then please try to send high quality
1140 feedback. If you don't provide vital information to help us track down
1141 the problem then you will probably be ignored. All bug reports should
1142 be filed under the Samba 4.0 product in the project's Bugzilla
1143 database (https://bugzilla.samba.org/).
1146 ======================================================================
1147 == Our Code, Our Bugs, Our Responsibility.
1149 ======================================================================
1152 ----------------------------------------------------------------------
1155 =============================
1156 Release Notes for Samba 4.0.7
1158 =============================
1161 This is is the latest stable release of Samba 4.0.
1163 Major enhancements in Samba 4.0.7 include:
1165 o Fix a core dump with invalid lock order while opening/editing
1166 or copying MS files (bug #9794).
1167 o Fix crash bug from search of mail= (bug #9967).
1168 o winbind4: talloc use after free (bug #9832).
1171 Changes since 4.0.6:
1172 --------------------
1174 o Michael Adam <obnox@samba.org>
1175 * BUG 9909: build: Add missing new line to replaced python shebang line.
1178 o Jeremy Allison <jra@samba.org>
1179 * BUG 9794: Fix a core dump with invalid lock order while opening/editing
1180 or copying MS files.
1183 o Andrew Bartlett <abartlet@samba.org>
1184 * BUG 9465: s3-rpc_server: Ensure we are root when starting and using
1186 * BUG 9906: Doc fixes for 4.0.
1187 * BUG 9907: Build fixes for 4.0 found during autoconf or debian packaging
1189 * BUG 9967: Fix crash bug from search of mail=.
1190 * BUG 9968: Fix build with system Heimdal of samba4kgetcred.
1193 o Björn Baumbach <bb@sernet.de>
1194 * BUG 9947: Check for netbios aliases in ad_get_referrals.
1197 o Kai Blin <kai@samba.org>
1198 * BUG 9485: Add support for MX queries.
1199 * BUG 9559: dns: Delete dnsNode objects when they are empty.
1200 * BUG 9632: dns: Support larger queries when asking forwarder.
1203 o David Disseldorp <ddiss@samba.org>
1204 * BUG 8997: Change libreplace GPL source to LGPL.
1205 * BUG 9900: is_printer_published GUID retrieval.
1206 * BUG 9910: PIE builds not supported.
1209 o Peng Haitao <penght@cn.fujitsu.com>
1210 * BUG 9941: Fix a bug of drvupgrade of smbcontrol.
1213 o Björn Jacke <bj@sernet.de>
1214 * BUG 9880: Use of wrong RFC2307 primary group field.
1217 o Volker Lendecke <vl@samba.org>
1218 * BUG 9832: winbind4: talloc use after free.
1219 * BUG 9953: Fix tevent_poll on 32-bit machines (Coverity ID 989236).
1222 o Stefan Metzmacher <metze@samba.org>
1223 * BUG 9805: s3:lib/server_mutex: Open mutex.tdb with CLEAR_IF_FIRST.
1224 * BUG 9929: s4:winbind: Don't leak libnet_context into the main event
1228 o Andreas Schneider <asn@samba.org>
1229 * BUG 9881: Check for system libtevent.
1232 o Michael Wood <esiotrot@gmail.com>
1233 * BUG 9964: docs: Avoid mentioning a possibly misleading option.
1236 o Vadim Zhukov <persgray@gmail.com>
1237 * BUG 9888: More generic check for OpenBSD platform.
1240 ######################################################################
1241 Reporting bugs & Development Discussion
1242 #######################################
1244 Please discuss this release on the samba-technical mailing list or by
1245 joining the #samba-technical IRC channel on irc.freenode.net.
1247 If you do report problems then please try to send high quality
1248 feedback. If you don't provide vital information to help us track down
1249 the problem then you will probably be ignored. All bug reports should
1250 be filed under the Samba 4.0 product in the project's Bugzilla
1251 database (https://bugzilla.samba.org/).
1254 ======================================================================
1255 == Our Code, Our Bugs, Our Responsibility.
1257 ======================================================================
1260 ----------------------------------------------------------------------
1263 =============================
1264 Release Notes for Samba 4.0.6
1266 =============================
1269 This is is the latest stable release of Samba 4.0.
1271 Major enhancements in Samba 4.0.6 include:
1273 o Fix crash during Win8 sync (bug #9822).
1274 o Fix segfault when loging in with wrong password from w2k8r2 (bug #9834).
1277 Changes since 4.0.5:
1278 --------------------
1280 o Jeremy Allison <jra@samba.org>
1281 * BUG 9412: SMB2 server doesn't support recvfile.
1282 * BUG 9722: Properly handle oplock breaks in compound requests.
1283 * BUG 9777: vfs_dirsort uses non-stackable calls, dirfd(), malloc instead
1284 of talloc and doesn't cope with directories being modified whilst reading.
1285 * BUG 9811: Old DOS SMB CTEMP request uses a non-VFS function to access the
1287 * BUG 9822: Fix crash during Win8 sync.
1290 o Anand Avati <avati@redhat.com>
1291 * BUG 9833: Function called in unix_convert() path can overwrite errno.
1294 o Andrew Bartlett <abartlet@samba.org>
1295 * BUG 9785: Use specified python for runtime installation of Samba.
1296 * BUG 9834: Fix segfault when loging in with wrong password from w2k8r2.
1299 o Alexander Bokovoy <ab@samba.org>
1300 * BUG 9767: Fix 'net ads join' when called via stdin.
1303 o David Disseldorp <ddiss@samba.org>
1304 * BUG 9807: wbinfo: Fix segfault in wbinfo_pam_logon.
1305 * BUG 9830: Fix panic in nt_printer_publish_ads.
1308 o Volker Lendecke <vl@samba.org>
1309 * BUG 9775: Fix segfault for "artificial" conn_structs in vfs_fake_perms.
1310 * BUG 9809: Package new dbwrap_tool man page.
1311 * BUG 9824: SMB signing and the async echo responder don't work together.
1312 * BUG 9832: talloc use after free in winbind4.
1313 * BUG 9854: Fix NULL pointer dereference in Winbind.
1314 * BUG 9868: Fix making LIBNDR_PREG_OBJ.
1317 o Stefan Metzmacher <metze@samba.org>
1318 * BUG 9545: Fix the build of vfs_notify_fam.
1319 * BUG 9803: Change '--with-dmapi' to 'default=auto' to match the autoconf
1321 * BUG 9804: wafsamba: Display the default value in help for
1323 * BUG 9382: Add support for PFC_FLAG_OBJECT_UUID when parsing packets.
1326 o Andreas Schneider <asn@samba.org>
1327 * BUG 9139: Fix the username map optimization.
1328 * BUG 9699: Fix adding case sensitive spn.
1329 * BUG 9766: Cache name_to_sid/sid_to_name correctly.
1330 * BUG 9817: Fix 'map untrusted to domain' with NTLMv2.
1333 o Richard Sharpe <realrichardsharpe@gmail.com>
1334 * BUG 9722: Properly handle oplock breaks in compound requests.
1337 o Ralph Wuerthner <ralph.wuerthner@de.ibm.com>
1338 * BUG 9782: Fix panic when running 'smbtorture smb.base'.
1341 ######################################################################
1342 Reporting bugs & Development Discussion
1343 #######################################
1345 Please discuss this release on the samba-technical mailing list or by
1346 joining the #samba-technical IRC channel on irc.freenode.net.
1348 If you do report problems then please try to send high quality
1349 feedback. If you don't provide vital information to help us track down
1350 the problem then you will probably be ignored. All bug reports should
1351 be filed under the Samba 4.0 product in the project's Bugzilla
1352 database (https://bugzilla.samba.org/).
1355 ======================================================================
1356 == Our Code, Our Bugs, Our Responsibility.
1358 ======================================================================
1361 ----------------------------------------------------------------------
1364 =============================
1365 Release Notes for Samba 4.0.5
1367 =============================
1370 This is is the latest stable release of Samba 4.0.
1372 Major enhancements in Samba 4.0.5 include:
1374 o Fix large reads/writes from some Linux clients (bug #9706).
1375 o Add 'samba-tool dbcheck --reset-well-known-acls' (bugs #9740 and #9267).
1378 Changes since 4.0.4:
1379 --------------------
1381 o Michael Adam <obnox@samba.org>
1382 * BUG 9617: libnss-winbindd does not provide pass struct for groups mapped
1383 with ID_TYPE_BOTH and vice versa.
1384 * BUG 9653: idmap_autorid: Fix freeing of non-talloced memory.
1385 * BUG 9711: s4:winbindd: Do not drop the workgroup name in the getgrnam, getgrent
1389 o Jeremy Allison <jra@samba.org>
1390 * BUG 9130: Certain xattrs cause Windows error 0x800700FF.
1391 * BUG 9519: Samba returns unexpected error on SMB posix open.
1392 * BUG 9642: Fix the build of vfs_afsacl.
1393 * BUG 9695: Backport tevent changes to bring library to version 0.9.18.
1394 * BUG 9706: Fix large reads/writes from some Linux clients.
1395 * BUG 9724: is_encrypted_packet() function incorrectly used inside server.
1396 * BUG 9733: Fix 'smbcontrol close-share'.
1397 * BUG 9748: Remove unneeded fstat system call from hot read path.
1398 * BUG 9760: Fix incorrect parsing of SMB2 command codes.
1401 o Christian Ambach <ambi@samba.org>
1402 * BUG 9643: Fix the build with --fake-kaserver.
1403 * BUG 9644: Fix compile of source3/lib/afs.c.
1404 * BUG 9669: Fix crash in 'net rpc join' against a Samba 3.0.33 PDC.
1407 o Timur Bakeyev <timur@FreeBSD.org>
1408 * BUG 9666: Fix filtering of link-local addresses.
1411 o Andrew Bartlett <abartlet@samba.org>
1412 * BUG 9663: 'make test' hangs.
1413 * BUG 9697: DsReplicaGetInfo fails due to sendto() EMSGSIZE error
1414 on UNIX domain socket.
1415 * BUG 9703: Fix build on solaris8: Do not force a specific perl on
1417 * BUG 9717: Set LD_LIBRARY_PATH in install_with_python.sh.
1418 * BUG 9718: s4-idmap: Remove requirement that posixAccount or posixGroup be set
1420 * BUG 9719: Allow forcing an override of an old @MODULES record.
1421 * BUG 9720: Do not print the admin password during 'samba-tool
1423 * BUG 9721: Make samba_upgradedns more robust (do not guess addresses
1424 when just changing roles).
1425 * BUG 9725: upgradeprovision and 'samba-tool dbcheck' patches for 4.0.NEXT.
1426 * BUG 9728: DO NOT install samba_upgradeprovision in 4.0.x.
1427 * BUG 9739: PIDL: Build fixes for hosts without CPP (Solaris 11).
1428 * BUG 9740: Add 'samba-tool dbcheck --reset-well-known-acls'.
1429 * BUG 9267: Can't delegate adding computers to domain.
1432 o Alexander Bokovoy <ab@samba.org>
1433 * BUG 9636: PIDL: Fix parsing linemarkers in preprocessor output.
1434 * BUG 9639: Rename internal subsystem pdb_ldap to pdb_ldapsam.
1437 o Ira Cooper <ira@samba.org>
1438 * BUG 9646: Make SMB2_GETINFO multi-volume aware.
1441 o David Disseldorp <ddiss@samba.org>
1442 * BUG 9633: Recursive mget should continue on EPERM.
1445 o Landon Fuller <landonf@bikemonkey.org>
1446 * BUG 9656: Work around FreeBSD's getaddrinfo() underscore issue.
1447 * BUG 9696: Remove incomplete samba_dnsupdate IPv6 link-local address
1449 * BUG 9697: Handle EMSGSIZE on UNIX domain sockets.
1452 o Björn Jacke <bj@sernet.de>
1453 * BUG 7825: Fix GNU ld version detection with old gcc releases.
1456 o Daniel Kobras <d.kobras@science-computing.de>
1457 * BUG 9039: Never try to map global SAM name.
1460 o Guenter Kukkukk <kukks@samba.org>
1461 * BUG 9701: Fix vfs_catia and update documentation.
1464 o Volker Lendecke <vl@samba.org>
1465 * BUG 9695: Backport tevent changes to bring library to version 0.9.18.
1466 * BUG 9727: Fix NULL pointer dereference.
1467 * BUG 9736: Change to smbd/dir.c code gives significant performance
1468 increases on large directory listings.
1471 o Stefan Metzmacher <metze@samba.org>
1472 * BUG 9557: Fix build on AIX.
1473 * BUG 9625: Reauth-capable client fails to access shares on Windows member.
1474 * BUG 9695: Backport tevent changes to bring library to version 0.9.18.
1475 * BUG 9706: Parameter is incorrect on Android.
1478 o Andreas Schneider <asn@samba.org>
1479 * BUG 9664: Fix correct linking of libreplace with cmdline-credentials.
1480 * BUG 9683: Fix several resource (fd) leaks.
1481 * BUG 9685: Fix a memory leak in spoolss rpc server.
1482 * BUG 9686: Fix a possible buffer overrun in pdb_smbpasswd.
1483 * BUG 9687: Fix several possible null pointer dereferences.
1484 * BUG 9723: Add a tool to migrate latin1 printing tdbs to registry.
1485 * BUG 9735: Fix Winbind separator in upn to username conversion.
1486 * BUG 9758: Don't leak the epm_Map policy handle.
1489 o Richard Sharpe <rsharpe@samba.org>
1490 * BUG 9674: Samba denies owner Read Control when there is a DENY entry
1491 while W2K08 does not.
1492 * BUG 9689: Make sure that domain joins work correctly when the DC disallows
1494 * BUG 9704: Fix nss_winbind name on FreeBSD.
1495 * BUG 9747: Make sure that we only propogate the INHERITED flag when we are
1499 Note about upgrading from older versions:
1500 -----------------------------------------
1502 It is still the case that there are printing tdbs (ntprinting.tdb, ntforms.tdb,
1503 ntdrivers.tdb) which are in latin1 or other encodings. When updating from
1504 Samba 3.5 or earlier to Samba 3.6 or 4.0 these tdbs need to be migrated to our
1505 new registry based printing management. This means during the migration we
1506 also need to do charset conversion. This can only been done manually cause we don't
1507 know in which encoding the tdb is. You have to specify the correct code page
1508 for the conversion, see iconv -l and Wikipedia [1] for the available codepages.
1509 The mostly used one is Windows Latin1 which is CP1252.
1511 We've extended the 'net printing dump' and 'net printing migrate' commands to
1512 define the encoding of the tdb. So you can correctly view the tdb with:
1514 net printing dump encoding=CP1252 /path/to/ntprinters.tdb
1516 or migrate it with e.g.:
1518 net printing migrate encoding=CP1252 /path/to/ntprinters.tdb
1520 If you migrate printers we suggest you do it in the following order.
1526 Don't forget to rename, move or delete these files in /var/lib/samba after the
1529 [1] https://en.wikipedia.org/wiki/Code_page
1532 ######################################################################
1533 Reporting bugs & Development Discussion
1534 #######################################
1536 Please discuss this release on the samba-technical mailing list or by
1537 joining the #samba-technical IRC channel on irc.freenode.net.
1539 If you do report problems then please try to send high quality
1540 feedback. If you don't provide vital information to help us track down
1541 the problem then you will probably be ignored. All bug reports should
1542 be filed under the Samba 4.0 product in the project's Bugzilla
1543 database (https://bugzilla.samba.org/).
1546 ======================================================================
1547 == Our Code, Our Bugs, Our Responsibility.
1549 ======================================================================
1552 ----------------------------------------------------------------------
1555 =============================
1556 Release Notes for Samba 4.0.4
1558 =============================
1561 This is a security release in order to address CVE-2013-1863
1562 (World-writeable files may be created in additional shares on a
1566 Administrators of the Samba 4.0 Active Directory Domain
1567 Controller might unexpectedly find files created world-writeable
1568 if additional CIFS file shares are created on the AD DC.
1569 Samba versions 4.0.0rc6 - 4.0.3 (inclusive) are affected by this
1573 Changes since 4.0.3:
1574 --------------------
1576 o Andrew Bartlett <abartlet@samba.org>
1577 * BUG 9709: CVE-2013-1863: Remove forced set of 'create mask' to 0777.
1580 ######################################################################
1581 Reporting bugs & Development Discussion
1582 #######################################
1584 Please discuss this release on the samba-technical mailing list or by
1585 joining the #samba-technical IRC channel on irc.freenode.net.
1587 If you do report problems then please try to send high quality
1588 feedback. If you don't provide vital information to help us track down
1589 the problem then you will probably be ignored. All bug reports should
1590 be filed under the Samba 4.0 product in the project's Bugzilla
1591 database (https://bugzilla.samba.org/).
1594 ======================================================================
1595 == Our Code, Our Bugs, Our Responsibility.
1597 ======================================================================
1600 ----------------------------------------------------------------------
1603 =============================
1604 Release Notes for Samba 4.0.3
1606 =============================
1609 This is is the latest stable release of Samba 4.0.
1611 Major enhancements in Samba 4.0.3 include:
1613 o check_password_quality: Handle non-ASCII characters properly (bug #9105).
1614 o Fix ACL problem with delegation of privileges and deletion of accounts
1615 over LDAP interface (bug #8909).
1616 o Fix 'smbd' panic triggered by unlink after open (bug #9571).
1617 o smbd: Fix memleak in the async echo handler (bug #9549).
1622 o For more details concerning the ACL problem with delegation of privileges
1623 and deletion of accounts over LDAP interface (bugs #8909 and #9267)
1624 regarding upgrades from older 4.0.x versions, please see
1626 http://wiki.samba.org/index.php/Samba_AD_DC_HOWTO#Upgrading
1628 which will be filled with details once we have worked out an upgrade
1631 Changes since 4.0.2:
1632 --------------------
1634 o Michael Adam <obnox@samba.org>
1635 * BUG 9568: Document the command line options in dbwrap_tool(1).
1638 o Jeremy Allison <jra@samba.org>
1639 * BUG 9196: defer_open is triggered multiple times on the same request.
1640 * BUG 9518: conn->share_access appears not be be reset between users.
1641 * BUG 9550: sigprocmask does not work on FreeBSD to stop further signals in
1643 * BUG 9572: Fix file corruption during SMB1 read by Mac OSX 10.8.2 clients.
1644 * BUG 9586: smbd[29175]: disk_free: sys_popen() failed" message logged in
1645 /var/log/message many times.
1646 * BUG 9587: Archive flag is always set on directories.
1647 * BUG 9588: ACLs are not inherited to directories for DFS shares.
1650 o Andrew Bartlett <abartlet@samba.org>
1651 * BUG 8909: Fix ACL problem with delegation of privileges and deletion of
1652 accounts over LDAP interface.
1653 * BUG 9461: FSMO seize of naming role fails: NT_STATUS_IO_TIMEOUT.
1654 * BUG 9564: Fix compilation of Solaris ACL module.
1655 * BUG 9581: gensec: Allow login without a PAC by default.
1656 * BUG 9596: Linked attribute handling should be by GUID.
1657 * BUG 9598: Use pid,task_id as cluster_id in process_single just like
1659 * BUG 9609: ldb: Ensure to decrement the transaction_active whenever we
1660 delete a transaction.
1661 * BUG 9609: Add 'ldbdump' tool.
1662 * BUG 9609: ldb: Remove no-longer-existing ltdb_unpack_data_free from
1664 * BUG 9609: ldb: Change ltdb_unpack_data to take an ldb_context.
1665 * BUG 9610: dsdb: Make secrets_tdb_sync cope with -H secrets.ldb.
1668 o Björn Baumbach <bb@sernet.de>
1669 * BUG 9512: wafsamba: Use additional xml catalog file.
1670 * BUG 9517: samba_dnsupdate: Set KRB5_CONFIG for nsupdate command.
1671 * BUG 9552: smb.conf(5): Update list of available protocols.
1672 * BUG 9568: Add dbwrap_tool.1 manual page.
1673 * BUG 9569: ntlm_auth(1): Fix format and make examples visible.
1676 o Ira Cooper <ira@samba.org>
1677 * BUG 9575: Duplicate flags defined in the winbindd protocol.
1680 o Günther Deschner <gd@samba.org>
1681 * BUG 9474: Downgrade v4 printer driver requests to v3.
1682 * BUG 9595: s3-winbind: Fix the build of idmap_ldap.
1685 o David Disseldorp <ddiss@samba.org>
1686 * BUG 9378: Add extra attributes for AD printer publishing.
1689 o Stephen Gallagher <sgallagh@redhat.com>
1690 * BUG 9609: ldb: Move doxygen comments for ldb_connect to the right place.
1693 o Volker Lendecke <vl@samba.org>
1694 * BUG 9541: Make use of posix_openpt.
1695 * BUG 9544: Fix build of vfs_commit and plug in async pwrite support.
1696 * BUG 9546: Fix aio_suspend detection on FreeBSD.
1697 * BUG 9548: Correctly detect O_DIRECT.
1698 * BUG 9549: smbd: Fix memleak in the async echo handler.
1701 o Stefan Metzmacher <metze@samba.org>
1702 * BUG 8909: Fix ACL problem with delegation of privileges and deletion of
1703 accounts over LDAP interface.
1704 * BUG 9105: check_password_quality: Handle non-ASCII characters properly.
1705 * BUG 9481: samba_upgradeprovision: fix the nTSecurityDescriptor on more
1707 * BUG 9499: s3:smb2_negprot: set the 'remote_proto' value.
1708 * BUG 9508: s4:drsuapi: Make sure we report the meta data from the cycle
1710 * BUG 9540: terminate the irpc_servers_byname() result with
1711 server_id_set_disconnected().
1712 * BUG 9598: Fix timeouts of some IRPC calls.
1713 * BUG 9609: Fix a warning by converting from TDB_DATA to struct ldb_val.
1716 o Matthieu Patou <mat@matws.net>
1717 * BUG 8909: Add documentation.
1718 * BUG 9565: Adding additional Samba 4.0 DC to W2k8 srv AD domain (in win200
1719 functional level) produces dbcheck errors.
1722 o Arvid Requate <requate@univention.de>
1723 * BUG 9555: s4-resolve: Fix parsing of IPv6/AAAA in dns_lookup.
1726 o Rusty Russell <rusty@rustcorp.com.au>
1727 * BUG 9609: tdb: Add '-e' option to tdbdump (and document it).
1728 * BUG 9609: tdb: 'tdbdump' should log errors, and fail in that case.
1729 * BUG 9609: tdb: Add tdb_rescue() to allow an emergency best-effort dump.
1732 o Samba-JP oota <ribbon@samba.gr.jp>
1733 * BUG 9528: Remove superfluous bracket in samba.8.xml.
1734 * BUG 9530: Fix typo in vfs_tsmsm.8.xml.
1737 o Andreas Schneider <asn@samba.org>
1738 * BUG 9574: Fix a possible null pointer dereference in spoolss.
1741 o Karolin Seeger <kseeger@samba.org>
1742 * BUG 9591: Correct meta data in ldb manpages.
1745 o Pavel Shilovsky <piastry@etersoft.ru>
1746 * BUG 9571: Fix 'smbd' panic triggered by unlink after open.
1749 o Andrew Tridgell <tridge@samba.org>
1750 * BUG 9609: ldb: Fix callers for ldb_pack_data() and ldb_unpack_data().
1751 * BUG 9609: ldb: move ldb_pack.c into common.
1754 o Jelmer Vernooij <jelmer@samba.org>
1755 * BUG 9503: waf assumes that pythonX.Y-config is a Python script.
1758 ######################################################################
1759 Reporting bugs & Development Discussion
1760 #######################################
1762 Please discuss this release on the samba-technical mailing list or by
1763 joining the #samba-technical IRC channel on irc.freenode.net.
1765 If you do report problems then please try to send high quality
1766 feedback. If you don't provide vital information to help us track down
1767 the problem then you will probably be ignored. All bug reports should
1768 be filed under the Samba 4.0 product in the project's Bugzilla
1769 database (https://bugzilla.samba.org/).
1772 ======================================================================
1773 == Our Code, Our Bugs, Our Responsibility.
1775 ======================================================================
1778 ----------------------------------------------------------------------
1781 =============================
1782 Release Notes for Samba 4.0.2
1784 =============================
1787 This is a security release in order to address
1788 CVE-2013-0213 (Clickjacking issue in SWAT) and
1789 CVE-2013-0214 (Potential XSRF in SWAT).
1792 All current released versions of Samba are vulnerable to clickjacking in the
1793 Samba Web Administration Tool (SWAT). When the SWAT pages are integrated into
1794 a malicious web page via a frame or iframe and then overlaid by other content,
1795 an attacker could trick an administrator to potentially change Samba settings.
1797 In order to be vulnerable, SWAT must have been installed and enabled
1798 either as a standalone server launched from inetd or xinetd, or as a
1799 CGI plugin to Apache. If SWAT has not been installed or enabled (which
1800 is the default install state for Samba) this advisory can be ignored.
1803 All current released versions of Samba are vulnerable to a cross-site
1804 request forgery in the Samba Web Administration Tool (SWAT). By guessing a
1805 user's password and then tricking a user who is authenticated with SWAT into
1806 clicking a manipulated URL on a different web page, it is possible to manipulate
1809 In order to be vulnerable, the attacker needs to know the victim's password.
1810 Additionally SWAT must have been installed and enabled either as a standalone
1811 server launched from inetd or xinetd, or as a CGI plugin to Apache. If SWAT has
1812 not been installed or enabled (which is the default install state for Samba)
1813 this advisory can be ignored.
1816 Changes since 4.0.1:
1817 ====================
1819 o Kai Blin <kai@samba.org>
1820 * BUG 9576: CVE-2013-0213: Fix clickjacking issue in SWAT.
1821 * BUG 9577: CVE-2013-0214: Fix potential XSRF in SWAT.
1824 #######################################
1825 Reporting bugs & Development Discussion
1826 #######################################
1828 Please discuss this release on the samba-technical mailing list or by
1829 joining the #samba-technical IRC channel on irc.freenode.net.
1831 If you do report problems then please try to send high quality
1832 feedback. If you don't provide vital information to help us track down
1833 the problem then you will probably be ignored. All bug reports should
1834 be filed under the Samba 4.0 product in the project's Bugzilla
1835 database (https://bugzilla.samba.org/).
1838 ======================================================================
1839 == Our Code, Our Bugs, Our Responsibility.
1841 ======================================================================
1844 ----------------------------------------------------------------------
1847 =============================
1848 Release Notes for Samba 4.0.1
1850 =============================
1853 This is a security release in order to address CVE-2013-0172.
1856 Samba 4.0.0 as an AD DC may provide authenticated users with write access
1857 to LDAP directory objects.
1859 In AD, Access Control Entries can be assigned based on the objectClass
1860 of the object. If a user or a group the user is a member of has any
1861 access based on the objectClass, then that user has write access to that
1864 Additionally, if a user has write access to any attribute on the object,
1865 they may have access to write to all attributes.
1867 An important mitigation is that anonymous access is totally disabled by
1868 default. The second important mitigation is that normal users are
1869 typically only given the problematic per-objectClass right via the
1870 "pre-windows 2000 compatible access" group, and Samba 4.0.0 incorrectly
1871 does not make "authenticated users" part of this group.
1873 Changes since 4.0.0:
1874 ====================
1876 o Andrew Bartlett <abartlet@samba.org>
1877 * Bug 9554 - CVE-2013-0172 - Samba 4.0 as an AD DC may provide authenticated
1878 users with write access to LDAP directory objects.
1880 #######################################
1881 Reporting bugs & Development Discussion
1882 #######################################
1884 Please discuss this release on the samba-technical mailing list or by
1885 joining the #samba-technical IRC channel on irc.freenode.net.
1887 If you do report problems then please try to send high quality
1888 feedback. If you don't provide vital information to help us track down
1889 the problem then you will probably be ignored. All bug reports should
1890 be filed under the Samba 4.0 product in the project's Bugzilla
1891 database (https://bugzilla.samba.org/).
1894 ======================================================================
1895 == Our Code, Our Bugs, Our Responsibility.
1897 ======================================================================
1900 ----------------------------------------------------------------------
1903 =============================
1904 Release Notes for Samba 4.0.0
1906 =============================
1909 This is is the first stable release of Samba 4.0.
1911 This release contains the best of all of Samba's
1912 technology parts, both a file server (that you can reasonably expect
1913 to upgrade existing Samba 3.x releases to) and the AD domain
1914 controller work previously known as 'Samba4'.
1916 Major enhancements in Samba 4.0.0 include:
1918 Active Directory services
1919 =========================
1921 Samba 4.0 supports the server-side of the Active Directory logon
1922 environment used by Windows 2000 and later, so we can do full domain
1923 join and domain logon operations with these clients.
1925 Our Domain Controller (DC) implementation includes our own built-in
1926 LDAP server and Kerberos Key Distribution Center (KDC) as well as the
1927 Samba3-like logon services provided over CIFS. We correctly generate
1928 the infamous Kerberos PAC, and include it with the Kerberos tickets we
1931 When running an AD DC, you only need to run 'samba' (not smbd/nmbd/winbindd),
1932 as the required services are co-coordinated by this master binary.
1933 The tool to administer the Active Directory services is called 'samba-tool'.
1935 A short guide to setting up Samba 4 as an AD DC can be found on the wiki:
1937 http://wiki.samba.org/index.php/Samba4/HOWTO
1943 Samba 4.0.0 ships with two distinct file servers. We now use the
1944 file server from the Samba 3.x series 'smbd' for all file serving by
1947 Samba 4.0 also ships with the 'NTVFS' file server. This file server
1948 is what was used prior to the beta2 release of Samba 4.0, and is
1949 tuned to match the requirements of an AD domain controller. We
1950 continue to support this, not only to provide continuity to
1951 installations that have deployed it as part of an AD DC, but also as a
1952 running example of the NT-FSA architecture we expect to move smbd to in
1955 For pure file server work, the binaries users would expect from that
1956 series (smbd, nmbd, winbindd, smbpasswd) continue to be available.
1959 Domain Member Support
1960 =====================
1962 Domain member support in the 'samba' binary is in its infancy, and
1963 is not comparable to the support found in 'winbindd'. As such, on
1964 Samba domain member servers, the binaries 'smbd', 'nmbd' and 'winbindd'
1965 are to be used, as known from Samba 3 domain member server setups.
1966 The only exceptions from this rule are the cases which explicitly
1967 require the 'samba' binary, namely running the ntvfs file server,
1968 the CIFS proxy or OpenChange on a domain member.
1974 As DNS is an integral part of Active Directory, we also provide two DNS
1975 solutions, a simple internal DNS server for 'out of the box' configurations
1976 and a more elaborate BIND plugin using the BIND DLZ mechanism in versions
1977 9.8 and 9.9. During the provision, you can select which backend to use.
1978 With the internal backend, your DNS server is good to go.
1979 If you chose the BIND_DLZ backend, a configuration file will be generated
1980 for bind to make it use this plugin, as well as a file explaining how to
1987 To provide accurate timestamps to Windows clients, we integrate with
1988 the NTP project to provide secured NTP replies. To use you need to
1989 start ntpd and configure it with the 'restrict ... ms-sntp' and
1990 ntpsigndsocket options.
1993 Python Scripting Interface
1994 ==========================
1996 A new scripting interface has been added to Samba 4, allowing
1997 Python programs to interface to Samba's internals, and many tools and
1998 internal workings of the DC code is now implemented in python.
2004 - Replication of DNS data from one AD server to another may not work.
2005 The DNS data used by the internal DNS server and bind9_dlz is stored
2006 in an application partition in our directory. The replication of
2007 this partition is not yet reliable.
2009 - Replication may fail on FreeBSD due to getaddrinfo() rejecting names
2010 containing _. A workaround will be in a future release.
2012 - samba_upgradeprovision should not be run when upgrading to this release
2013 from a recent release. No important database format changes have
2014 been made since alpha16.
2016 - Installation on systems without a system iconv (and developer
2017 headers at compile time) is known to cause errors when dealing with
2018 non-ASCII characters.
2020 - There is no NetBIOS browsing support (network neighbourhood)
2021 available for the AD domain controller. (Support in nmbd and smbd
2022 for classic domains and member/standalone servers is unchanged).
2024 - Clock Synchronisation is critical. Many 'wrong password' errors are
2025 actually due to Kerberos objecting to a clock skew between client
2026 and server. (The NTP work in the previous alphas are partly to assist
2029 - The DRS replication code may fail. Please contact the team if you
2030 experience issues with DRS replication, as we have fixed many issues
2031 here in response to feedback from our production users.
2033 - Linux inotify will now only be supported on systems where glibc also supports
2034 it (for details, please refer to bug #8850).
2040 Users upgrading from Samba 3.x domain controllers and wanting to use
2041 Samba 4.0 as an AD DC should use the 'samba-tool domain
2042 classicupgrade' command. See the wiki for more details:
2043 https://wiki.samba.org/index.php/Samba4/samba3upgrade/HOWTO.
2045 Users upgrading from Samba 4.0 alpha and beta releases since alpha15
2046 should run 'samba-tool dbcheck --cross-ncs --fix' before re-starting
2047 Samba. Users upgrading from earlier alpha releases should contact the
2050 Users upgrading an AD DC from any previous release should run
2051 'samba-tool ntacl sysvolreset' to re-sync ACLs on the sysvol share
2052 with those matching the GPOs in LDAP and the defaults from an initial
2053 provision. This will set an underlying POSIX ACL if required (eg not
2054 using the NTVFS file server).
2056 If you used the BIND9_FLATFILE or BIND9_DLZ features,
2057 you'll have to add '-dns' to the 'server services' option,
2058 as the internal dns server (SAMBA_INTERNAL) is the default now.
2064 A whitepaper of currently (un-)supported features is available on the wiki:
2066 https://wiki.samba.org/index.php/Samba_4.0_Whitepaper
2069 ######################################################################
2076 Parameter Name Description
2077 -------------- -----------
2079 acl compatibility Removed
2080 allow dns updates New
2082 announce version Removed
2084 client max protocol New
2085 client min protocol New
2086 client signing Changed default
2087 dcerpc endpoint servers New
2089 directory security mask Removed
2090 display charset Removed
2092 dns update command New
2093 force security mode Removed
2094 force directory security mode Removed
2095 homedir map Changed default
2096 kernel oplocks Changed default
2097 kernel share modes New
2100 nbt client socket address New
2102 nsupdate command New
2103 ntp signd socket directory New
2105 paranoid server security Removed
2107 printer admin Removed
2110 samba kcc command New
2111 security mask Removed
2112 send spnego principal Removed
2113 server max protocol New
2114 server min protocol New
2117 server signing Changed default
2120 smb2 max read Changed default
2121 smb2 max write Changed default
2122 smb2 max trans Changed default
2123 socket address Removed
2124 spn update command New
2129 tls dh params file New
2134 winbindd privileged socket directory New
2135 winbind sealed pipes New
2136 winbindd socket directory New
2139 CHANGES SINCE 4.0.0rc6
2140 ======================
2142 o Michael Adam <obnox@samba.org>
2143 * BUG 9414: Honor password complexity settings.
2144 * BUG 9456: developer-build: Fix panic when acl_xattr fails with access
2146 * BUG 9457: Fix "map username script" with "security=ads" and Winbind.
2149 o Jeremy Allison <jra@samba.org>
2150 * BUG 9462: Users can not be given write permissions any more by default.
2153 o Andrew Bartlett <abartlet@samba.org>
2154 * BUG 9415: Install SWAT *.msg files with waf.
2157 o Alexander Bokovoy <ab@samba.org>
2158 * BUG 9479: Support FIPS mode when building Samba.
2161 o Günther Deschner <gd@samba.org>
2162 * BUG 9438: Fix netr_ServerPasswordSet2, netr_LogonSamLogon with netlogon
2166 o Tsukasa Hamano <hamano@osstech.co.jp>
2167 * BUG 9471: Fix SEGV when using second vfs module.
2170 o Stefan Metzmacher <metze@samba.org>
2171 * BUG 9414: Honor password complexity settings.
2172 * BUG 9470: Fix MMC crashes.
2173 * BUG 9481: Fix ACL on "cn=partitions,cn=configuration".
2176 o Andreas Schneider <asn@samba.org>
2177 * BUG 9459: Install manpages only if we install the target.
2180 o Richard Sharpe <realrichardsharpe@gmail.com>
2181 * BUG 9460: Respond correctly to FILE_STREAM_INFO requests.
2184 CHANGES SINCE 4.0.0rc5
2185 ======================
2187 In this release candidate, we have a significant number of improvements
2188 to our Access Control List (ACL) code, particularly for the Active
2189 Directory Domain Controller, but also in our general purpose file
2192 These changes are important, as they enable Group Policy Objects to work
2193 correctly, allow administrators to impose restrictions on some users
2194 reading certain parts of the directory and correctly propagating
2195 inherited ACLs down the LDAP directory tree.
2197 Users of the Active Directory Domain Controller upgrading from any
2198 previous release should run 'samba-tool ntacl sysvolreset' to re-sync
2199 ACLs on the sysvol share with those matching the GPOs in LDAP and the
2200 defaults from an initial provision. This will set an underlying POSIX
2203 The ACLs in the Active Directory are also checked on searches by default.
2204 The automatic inheritance of ACLs is also correctly recalculated on
2207 o Michael Adam <obnox@samba.org>
2208 * BUG 9350: Fail "configure --with-ads" if ads support is not available.
2209 * BUG 9446: Id mapping code delivers inconsistent results.
2210 * BUG 9453: Fix building pdb_ldap as shared module.
2213 o Jeremy Allison <jra@samba.org>
2214 * BUG 9236: ACL masks incorrectly applied when setting ACLs.
2215 * BUG 9374: Allow smb2.acls torture test to pass against smbd with a POSIX
2219 o Christian Ambach <ambi@samba.org>
2220 * BUG 9178: Add DMAPI configure option and checks.
2221 * BUG 9274: Document shadow:snapdirseverywhere option of vfs_shadow_copy2.
2222 * BUG 9339: Backport build fixes from master.
2223 * BUG 9411: aio read marks the file as modified.
2224 * BUG 9413: Fix waf build on AIX6.
2227 o Andrew Bartlett <abartlet@samba.org>
2228 * BUG 9121: Provide and use setproctitle replacement function for samba4
2230 * BUG 9271: samba-tool: Rework ldap attribute fetch in classicupgrade for
2232 * BUG 9421: Fix several build issues.
2233 * BUG 9448: Backport several crash bugs from master.
2236 o Sumit Bose <sbose@redhat.com>
2237 * BUG 9367: Use work around for 'winbind use default domain' only if it
2241 o Kai Blin <kai@samba.org>
2242 * BUG 9399 - 'samba-tool dns serverinfo localhost' returns 'Memory
2244 * BUG 9449: Remove unused samba-dig tool.
2247 o Günther Deschner <gd@samba.org>
2248 * BUG 9426: rpc_client: lookup nametype 0x20 in rpc_pipe_open_tcp_port().
2249 * BUG 9439: Fix ncacn_ip_tcp reconnection code for lsa lookups.
2250 * BUG 9451: Allow to force DNS updates using net.
2253 o David Disseldorp <ddiss@samba.org>
2254 * BUG 9433: spoolss: Fix segfault when "default devmode" is disabled.
2257 o Amitay Isaacs <amitay@gmail.com>
2258 * BUG 9265: Bind dlz fails to start if there is a trustedanchors zone.
2259 * BUG 9354: Fix format string vulnerability in an error message.
2262 o Volker Lendecke <vl@samba.org>
2263 * BUG 9422: Large read requests cause server to issue malformed reply.
2264 * BUG 9440: Do not rely on dbwrap_record_get_value to return a talloc
2268 o Stefan Metzmacher <metze@samba.org>
2269 * BUG 8620: Read ACL are not enabled by default on DS.
2270 * BUG 8621: ACL are not recalculated if parent is changed and inherit is
2272 * BUG 9373: samba-tool: Report a CommandError if loading of the config file
2274 * BUG 9385: Add missing newline in the output of ldb_ldif_write_trace().
2275 * BUG 9390: Fix segfaults in "log level = 10" on Solaris.
2276 * BUG 9402: lib/addns: Fix working with a bind9 server.
2277 * BUG 9406: ACL fixes since 4.0 rc1.
2278 * BUG 9447: Backport tests from master.
2279 * BUG 9448: Backport several crash bugs from master.
2282 o Ricky Nance <ricky.nance@weaubleau.k12.mo.us>
2283 * BUG 9449: Remove phpldapadmin inclusion.
2286 o Matthieu Patou <mat@matws.net>
2287 * BUG 9418: Fix MD5 detection in the autoconf build.
2290 o Arvid Requate <requate@univention.de>
2291 * BUG 9376: Fix typo in got_duplicate_group check.
2292 * BUG 9392: Fix 'samba-tool fsmo --role=schema'.
2295 o Andreas Schneider <asn@samba.org>
2296 * BUG 9386: Failover if netlogon pipe is not available.
2297 * BUG 9436: Fix leaking sockets of SMB connections to a DC.
2300 o Karolin Seeger <kseeger@samba.org>
2301 * BUG 9425: Do not build ntdb by default.
2302 * BUG 9437: Warnings when building manpages with waf.
2303 * BUG 9443: Manpages of the libraries are located in different
2305 * BUG 9444: Merge both samba.8 manpages.
2306 * BUG 9445: Update man 7 samba.
2309 o Jelmer Vernooij <jelmer@samba.org>
2310 * BUG 9339: Backport build fixes from master.
2313 CHANGES SINCE 4.0.0rc4
2314 ======================
2316 With this release candidate the location of the socket samba accepts
2317 connections from NTPd has changed, as has the enforced permissions.
2319 This means the ntp.conf will need to change from (eg)
2321 ntpsigndsocket /usr/local/samba/var/run/ntp_signd/
2325 ntpsigndsocket /usr/local/samba/var/lib/ntp_signd/
2327 To use the socket with ntp on a system with an ntp user and group, you must
2330 chgrp ntp /usr/local/samba/var/lib/ntp_signd/
2332 o Michael Adam <obnox@samba.org>
2333 * BUG 9321: winbindd:cache: Fix offline logons with cached credentials.
2334 * BUG 9339: Build and quota fixes.
2335 * BUG 9353: Fix the cluster(ctdb) build without system talloc installed.
2338 o Christian Ambach <ambi@samba.org>
2339 * BUG 9208: Cannot migrate files with inheritance flags to share on top of
2341 * BUG 9361: Quotas management doesn't work with SMB2/3.
2344 o Andrew Bartlett <abartlet@samba.org>
2345 * BUG 9317: Cannot easily change to internal DNS server.
2346 * BUG 9338: lib/replace: Return size of xattr if size argument is 0.
2347 * BUG 9339: Build and quota fixes.
2348 * BUG 9340: Do not use the wheel group for 'administrators'.
2349 * BUG 9347: winbind: Extend wbcAuthenticateUserEx to provide PAC.
2350 * BUG 9352: Fix samba crashes with certain RPC calls.
2351 * BUG 9355: Set mask values to 0777 and use fileserver.conf.
2352 * BUG 9357: Don't expose more symbols than specified by abi_match setting.
2353 * BUG 9379: ntp_signd permissions are too broad.
2356 o Björn Baumbach <bb@sernet.de>
2357 * BUG 9300: vfs_streams_depot: Add delete_lost option.
2358 * BUG 9348: Fix the build against older ctdb versions.
2359 * BUG 9345: fix use of <smbconfoption> tag.
2360 * BUG 9349: Fix check for ctdb_private.h
2361 * BUG 9351: Fail "configure --with-cluster-support" if ctdb support is not
2365 o Ira Cooper <ira@samba.org>
2366 * BUG 9339: Build and quota fixes.
2369 o Günther Deschner <gd@samba.org>
2370 * BUG 9272: 'net ads join' does not provide AES keys in host keytab.
2373 o David Disseldorp <ddiss@samba.org>
2374 * BUG 9125: Revert "s3-winbindd: make sure we obey the -n switch
2375 also for samlogon cache access" and describe samlogon cache caveat for
2379 o Björn Jacke <bj@sernet.de>
2380 * BUG 7472: Check for dn_expand also in libinet.
2381 * BUG 9339: Build and quota fixes.
2384 o Volker Lendecke <vl@samba.org>
2385 * BUG 9208: Cannot migrate files with inheritance flags to share on top of
2387 * BUG 9352: dsdb: Simplify DsCrackNameOneFilter a bit.
2390 o Stefan Metzmacher <metze@samba.org>
2391 * BUG 8620: Read ACL are not enabled by default on DS.
2392 * BUG 9175: Add smbXcli_session_set_disconnect_expired().
2393 * BUG 9341: Fix SMBD_SMB2_NUM_IOV_PER_REQ check for sendfile().
2394 * BUG 9359: Optimization needed for SMB2 performance sensitive workloads.
2395 * BUG 9360: SMB1 tree connect time is wrong.
2398 o Ricky Nance <ricky.nance@weaubleau.k12.mo.us>
2399 * BUG 9339: Build and quota fixes.
2402 o Rusty Russell <rusty@rustcorp.com.au>
2403 * BUG 9339: Build and quota fixes.
2406 o Christof Schmitt <christof.schmitt@us.ibm.com>
2407 * BUG 9347: winbind: Extend wbcAuthenticateUserEx to provide PAC.
2410 o Andreas Schneider <asn@samba.org>
2411 * BUG 9326: Fix 'net ads join' message for the dns domain.
2412 * BUG 9336: Add NetworkManager dispatcher script for Winbind.
2413 * BUG 9339: Build and quota fixes.
2416 o Jelmer Vernooij <jelmer@samba.org>
2417 * BUG 9357: Don't expose more symbols than specified by abi_match setting.
2420 CHANGES SINCE 4.0.0rc3
2421 ======================
2423 o Michael Adam <obnox@samba.org>
2424 * BUG 9304: Remove unused sessionid.tdb and connections.tdb related code.
2425 * BUG 9319: validate stat(2) information before reconnect durable handles.
2428 o Jeremy Allison <jra@samba.org>
2429 * BUG 9190: Fix regression (change in behavior) of default acl masks.
2430 Remove "security mask", "force security mode", "directory security mask"
2431 "force directory" and "security mode" parameters.
2432 * BUG 9329: Directory listing with SeBackup can crash smbd.
2435 o Andrew Bartlett <abartlet@samba.org>
2436 * BUG 9295: Assert that auth_domain, auth_builtin, auth_sam, auth_winbind
2438 * BUG 9322: Backport ldb version update.
2441 o Björn Baumbach <bb@sernet.de>
2442 * BUG 9190: docs: Fix opening and ending tag mismatch: para.
2445 o Gregor Beck <gbeck@sernet.de>
2446 * BUG 9304: Remove unused sessionid.tdb and connections.tdb related code.
2449 o David Disseldorp <ddiss@suse.de>
2450 * BUG 8564: Fix segfault in pam_sm_authenticate().
2453 o Stefan Metzmacher <metze@samba.org>
2454 * BUG 9184: Fix loop in tdgram_bsd_recvfrom().
2455 * BUG 9209: Fix unitialized padding in smb2_create_blob_push_one().
2456 * BUG 9304: Remove unused sessionid.tdb and connections.tdb related code.
2457 * BUG 9309: Avoid a level 0 DEBUG if tstream_npa_connect_recv fails.
2458 * BUG 9318: Fix write time updates for durable handles.
2461 o Andreas Schneider <asn@samba.org>
2462 * BUG 9295: Build standard auth modules as internal modules.
2463 * BUG 9301: Move 'smbprint' to a common location.
2466 o Jelmer Vernooij <jelmer@samba.org>
2467 * BUG 9274: Add documentation and selftest fixes.
2470 CHANGES SINCE 4.0.0rc2
2471 ======================
2473 o Jeremy Allison <jra@samba.org>
2474 * BUG 8966: Fix 'net rpc share allowedusers' to work with 2008r2.
2475 * BUG 9209: Parse of invalid SMB2 create blob can cause smbd crash.
2476 * BUG 9214: Bad user supplied SMB2 credit value can cause smbd to call
2478 * BUG 9222: Document that signing cannot be disabled for SMB2 by design.
2481 o Andrew Bartlett <abartlet@samba.org>
2482 * BUG 9235: Update Samba3-HOWTO Collection.
2483 * BUG 9271: samba-tool: Skip chown in sysvolreset when it would fail on
2485 * BUG 9274: Update Samba3-HOWTO Collection.
2488 o Björn Baumbach <bb@sernet.de>
2489 * BUG 9235: Fix opening and ending tag mismatch in Samba3-HOWTO.
2490 * BUG 9271: Fix typos in samba_backup.
2491 * BUG 9274: Add delete_lost option to vfs_streams_depot.8.
2494 o Kai Blin <kai@samba.org>
2495 * BUG 9225: Fix return code for deleted DNS records.
2496 * BUG 8878: Time out UDP requests after DNS_REQUEST_TIMEOUT seconds.
2499 o Günther Deschner <gd@samba.org>
2500 * BUG 9177: pam_winbind: Match more return codes when wbcGetPwnam has
2504 o David Disseldorp <ddiss@samba.org>
2505 * BUG 9269: Fix 64bit-portability-issue.
2508 o Björn Jacke <bj@sernet.de>
2509 * BUG 5670: Apply some Solaris packaging fixes.
2510 * BUG 8107: Fix poll replacement to become a msleep replacement.
2511 * BUG 8344: Fix --with(out)-sendfile-support option handling.
2514 o Volker Lendecke <vl@samba.org>
2515 * BUG 9223: Fix uninitialized variable in the cldap server.
2516 * BUG 9268: Make tdb robust against improper CLEAR_IF_FIRST restart.
2519 o Stefan Metzmacher <metze@samba.org>
2520 * BUG 9271: Several samba-tool fixes.
2521 * BUG 9196: Don't take 'state->te' as indication for "was_deferred".
2524 o Matthieu Patou <mat@matws.net>
2525 * BUG 9240: Remove unused variable in DNS server.
2526 * BUG 9252: Preliminary tests for dcpromo in Windows 2012 fails with
2528 * BUG 9253: Crackname returns a dns domain name even if there is no cracked
2530 * BUG 9255: Getncchanges with exop for repl_obj returns highest_usn.
2531 * BUG 9256: Getncchanges with exop for repl_obj_with_secrets should always
2532 be allowed for RWDC.
2533 * BUG 9257: LDAP server has at least one un-initialized variable.
2534 * BUG 9258: LDAP server ignore configuration values set in the database for
2536 * BUG 9259: rodc join fails complaining that it can't find a RWDC.
2537 * BUG 9260: kccdrs_replica_get_info returns invalid level when non
2538 supported should be returned.
2539 * BUG 9261: ds_replica_sync fails when specifying a name and not a guid.
2540 * BUG 9264: getncchanges returns invalid_parameters when it should return
2542 * BUG 9254: DsExecuteKCC returns wrong error code if taskid != 0.
2543 * BUG 9265: Bind dlz fails to start if there is a trustedanchors zone.
2546 o Rusty Russell <rusty@rustcorp.com.au>
2547 * BUG 9268: Make tdb robust against shrinking tdbs.
2550 o Andreas Schneider <asn@samba.org>
2551 * BUG 8769: Fix RAW printing for normal users.
2552 * BUG 9112: Increase debug level for info that the db is empty.
2553 * BUG 9244: Build pam_smbpass module only if enabled.
2554 * BUG 9245: Make sure the registry is set up before we init printing.
2555 * BUG 9276: Add config for systemd-tmpfiles.
2556 * BUG 9280: Add support for reloading systemd services.
2559 o Karolin Seeger <kseeger@samba.org>
2560 * BUG 7826: Remove link to Using Samba.
2561 * BUG 8802: Add basic manpages for 'samba' and 'samba-tool'.
2562 * BUG 9165: Fix makerpms.sh on RHEL.
2563 * BUG 9243: Remove duplicate synonym min protocol.
2564 * BUG 9271: Several samba-tool fixes.
2567 o Jelmer Vernooij <jelmer@samba.org>
2568 * BUG 9243: Add basic documentation for 'server min protocol'.
2569 * BUG 9271: Several samba-tool fixes.
2570 * BUG 9274: Add documentation for several parameters.
2573 o Matthias Dieter Wallnöfer <mdw@samba.org>
2574 * BUG 9183: Introduce the wildcard binding feature to allow DNS to listen on
2578 CHANGES SINCE 4.0.0rc1
2579 ======================
2581 o Michael Adam <obnox@samba.org>
2582 * BUG 9173: Make the SMB2 compound request create/delete_on_close/
2583 close work as Windows.
2586 o Jeremy Allison <jra@samba.org>
2587 * BUG 9161: Re-add the vfs_Chdir() cache.
2588 * BUG 9189: SMB2 Create doesn't return correct MAX ACCESS access mask in
2590 * BUG 9213: Bad ASN.1 NegTokenInit packet can cause invalid free.
2593 o Christian Ambach <ambi@samba.org>
2594 * BUG 9162: Fix the build of the GPFS VFS module.
2595 * BUG 9197: Only do 'printing_subsystem_update' when printing is enabled.
2598 o Andrew Bartlett <abartlet@samba.org>
2599 * BUG 9228: Fix build on systems without ldap development headers.
2602 o Alexander Bokovoy <ab@samba.org>
2603 * BUG 9157: Cleanup idmap_ldap build dependencies.
2604 * BUG 9228: Make smbldaphelper subsystem an internal library.
2605 * BUG 9229: Fix build of winbindd- and krb5 locator-related manpages.
2608 o Sumit Bose <sbose@redhat.com>
2609 * BUG 9185: Allow DNS resolution of trusted domains if DNS name is
2613 o Ira Cooper <ira@samba.org>
2614 * BUG 9162: Fix build on Illumos/Solaris using '--with-acl'.
2615 * BUG 9173: Compound requests should continue processing.
2618 o Günther Deschner <gd@samba.org>
2619 * BUG 9185: Winbind cannot resolve AD DC in a different subnet.
2622 o Björn Jacke <bj@sernet.de>
2623 * BUG 9162: Fix the build of the ACL VFS modules.
2624 * BUG 9172: Fix reporting of gfs2 quotas.
2627 o Volker Lendecke <vl@samba.org>
2628 * BUG 9217: CreateFile with FILE_DIRECTORY_FILE can create directories
2629 on read-only shares.
2632 o Vladimir Marek <Vladimir.Marek@Oracle.COM>
2633 * BUG 9192: Fix service control for non-internal services.
2636 o Stefan Metzmacher <metze@samba.org>
2637 * BUG 9173: Make the SMB2 compound request create/delete_on_close/
2638 close work as Windows.
2639 * BUG 9184: Fix receiving of UDP packets from 0 bytes.
2640 * BUG 9191: Release the share mode lock before calling exit_server().
2641 * BUG 9193: Fix usage of invalid memory in smb2_signing_check_pdu().
2642 * BUG 9194: Disallow '--prefix=/usr' and '--prefix=/usr/local' without
2644 * BUG 9198: Fix RHEL-CTDB packaging.
2647 o Matthieu Patou <mat@matws.net>
2648 * BUG 9199: Fix usage of "panic action".
2649 * BUG 9233: Fix a non handled memory out of memory.
2652 o Andreas Schneider <asn@samba.org>
2653 * BUG 8632: Fix builtin forms order to match Windows again.
2654 * BUG 9159: Fix generating idmap manpages.
2655 * BUG 9218: Don't segfault if user specified ports out for range.
2656 * BUG 9231: Fix NT_STATUS_IO_TIMEOUT during slow import of printers into
2660 #######################################
2661 Reporting bugs & Development Discussion
2662 #######################################
2664 Please discuss this release on the samba-technical mailing list or by
2665 joining the #samba-technical IRC channel on irc.freenode.net.
2667 If you do report problems then please try to send high quality
2668 feedback. If you don't provide vital information to help us track down
2669 the problem then you will probably be ignored. All bug reports should
2670 be filed under the Samba 4.0 product in the project's Bugzilla
2671 database (https://bugzilla.samba.org/).
2674 ======================================================================
2675 == Our Code, Our Bugs, Our Responsibility.
2677 ======================================================================