WHATSNEW: Add release notes for Samba 4.0.18.
[Samba.git] / WHATSNEW.txt
blob0320288bb3efab75e2cdee231450035f153144e8
1                    ==============================
2                    Release Notes for Samba 4.0.18
3                             May 27, 2014
4                    ==============================
7 This is the latest stable release of Samba 4.0.
9 Please note that this bug fix release also addresses two minor security issues
10 without being a dedicated security release:
12   o CVE-2014-0239: dns: Don't reply to replies (bug #10609).
13   o CVE-2014-0178: Malformed FSCTL_SRV_ENUMERATE_SNAPSHOTS response
14     (bug #10549).
16 For more details including security advisories and patches, please see
18   http://www.samba.org/samba/history/security.html
21  Changes since 4.0.17:
22 ---------------------
24 o   Michael Adam <obnox@samba.org>
25     * BUG 10548: build: Fix ordering problems with lib-provided and internal
26       RPATHs.
29 o   Jeremy Allison <jra@samba.org>
30     * BUG 10577: SMB1 wildcard unlink fail can leave a retry record on the open
31       retry queue.
32     * BUG 10564: Fix lock order violation and file lost.
35 o   Björn Baumbach <bb@sernet.de>
36     * BUG 10239: s3-nmbd: Reset debug settings after reading config file.
37     * BUG 10544: s3-lib/util: set_namearray reads across end of namelist
38       string.
39     * BUG 10556: lib-util: Rename memdup to smb_memdup and fix all callers.
42 o   Kai Blin <kai@samba.org>
43     * BUG 10609: CVE-2014-0239: dns: Don't reply to replies.
46 o   David Disseldorp <ddiss@samba.org>
47     * BUG 10590: byteorder: Do not assume PowerPC is big-endian.
50 o   Stefan Metzmacher <metze@samba.org>
51     * BUG 10472: script/autobuild: Make use of
52       '--with-perl-{arch,lib}-install-dir'.
55 o   Noel Power <nopower@suse.com>
56     * BUG 10554: Fix read of deleted memory in reply_writeclose()'.
59 o   Jose A. Rivera <jarrpa@redhat.com>
60     * BUG 10151: Extra ':' in msg for Waf Cross Compile Build System with
61       Cross-answers command.
62     * BUG 10348: Fix empty body in if-statement in continue_domain_open_lookup.
65 o   Christof Schmitt <christof.schmitt@us.ibm.com>
66     * BUG 10549: CVE-2014-0178: Malformed FSCTL_SRV_ENUMERATE_SNAPSHOTS
67       response.
70 o   Andreas Schneider <asn@samba.org>
71     * BUG 10472: wafsamba: Fix the installation on FreeBSD.
74 ######################################################################
75 Reporting bugs & Development Discussion
76 #######################################
78 Please discuss this release on the samba-technical mailing list or by
79 joining the #samba-technical IRC channel on irc.freenode.net.
81 If you do report problems then please try to send high quality
82 feedback. If you don't provide vital information to help us track down
83 the problem then you will probably be ignored.  All bug reports should
84 be filed under the Samba 4.0 product in the project's Bugzilla
85 database (https://bugzilla.samba.org/).
88 ======================================================================
89 == Our Code, Our Bugs, Our Responsibility.
90 == The Samba Team
91 ======================================================================
94 Release notes for older releases follow:
95 ----------------------------------------
97                    ==============================
98                    Release Notes for Samba 4.0.17
99                            April 15, 2014
100                    ==============================
103 This is the latest stable release of Samba 4.0.
106 Changes since 4.0.16:
107 ---------------------
109 o   Jeremy Allison <jra@samba.org>
110     * BUG 9878: Make "force user" work as expected.
111     * BUG 9942: Fix problem with server taking too long to respond to a
112       MSG_PRINTER_DRVUPGRADE message.
113     * BUG 9993: s3-printing: Fix obvious memory leak in
114       printer_list_get_printer().
115     * BUG 10344: SessionLogoff on a signed connection with an outstanding notify
116       request crashes smbd.
117     * BUG 10431: Fix STATUS_NO_MEMORY response from Query File Posix Lock request.
118     * BUG 10508: smbd: Correctly add remote users into local groups.
119     * BUG 10534: Cleanup messages.tdb record after unclean smbd shutdown.
122 o   Christian Ambach <ambi@samba.org>
123     * BUG 9911: Fix build on AIX with IBM XL C/C++ (gettext detection issues).
124     * BUG 10308: Fix String Conversion Errors with Samba 4.1.0 Build on AIX 7.1.
127 o   Andrew Bartlett <abartlet@samba.org>
128     * smbd: Split create_conn_struct into a fn that does not change the
129       working dir.
132 o   Gregor Beck <gbeck@sernet.de>
133     * BUG 10458: Fix 'wbinfo -i' with one-way trust.
134     * s3:rpc_server: Minor refactoring of process_request_pdu().
137 o   Kai Blin <kai@samba.org>
138     * BUG 10471: Don't respond with NXDOMAIN to records that exist with another
139       type.
142 o   Alexander Bokovoy <ab@samba.org>
143     * BUG 10504: lsa.idl: Define lsa.ForestTrustCollisionInfo and
144       ForestTrustCollisionRecord as public structs.
147 o   Günther Deschner <gd@samba.org>
148     * BUG 10439: Increase max netbios name components.
151 o   David Disseldorp <ddiss@samba.org>
152     * BUG 10188: doc: Add "spoolss: architecture" parameter usage.
153     * BUG 10484: Initial FSRVP rpcclient requests fail with
154       NT_STATUS_PIPE_NOT_AVAILABLE.
157 o   Daniel Liberman <danielvl@gmail.com>
158     * BUG 10387: 'net ads search' on high latency networks can return a partial
159       list with no error indication.
162 o   Stefan Metzmacher <metze@samba.org>
163     * BUG 10344: SessionLogoff on a signed connection with an outstanding notify
164       request crashes smbd.
165     * BUG 10422: max xmit > 64kb leads to segmentation fault.
166     * BUG 10444: smbd_server_connection_terminate("CTDB_SRVID_RELEASE_IP")
167       panics from within ctdbd_migrate() with invalid lock_order.
168     * BUG 10464: samba4 services not binding on IPv6 addresses causing
169       connection delays.
170     * tevent: Fix crash bug in tevent_queue_immediate_trigger().
173 o   Garming Sam <garming@catalyst.net.nz>
174     * BUG 10378: dfs: Always call create_conn_struct with root privileges.
177 o   Andreas Schneider <asn@cryptomilk.org>
178     * BUG 10472: pidl: waf should have an option for the dir to install perl
179       files and do not glob.
180     * BUG 10474: s3-spoolssd: Don't register spoolssd if epmd is not running.
181     * BUG 10481: s3-rpc_server: Fix handling of fragmented rpc requests.
184 o   Gustavo Zacarias <gustavo@zacarias.com.ar>
185     * BUG 10506: Make 'smbreadline' build with readline 6.3.
188 ######################################################################
189 Reporting bugs & Development Discussion
190 #######################################
192 Please discuss this release on the samba-technical mailing list or by
193 joining the #samba-technical IRC channel on irc.freenode.net.
195 If you do report problems then please try to send high quality
196 feedback. If you don't provide vital information to help us track down
197 the problem then you will probably be ignored.  All bug reports should
198 be filed under the Samba 4.0 product in the project's Bugzilla
199 database (https://bugzilla.samba.org/).
202 ======================================================================
203 == Our Code, Our Bugs, Our Responsibility.
204 == The Samba Team
205 ======================================================================
208 ----------------------------------------------------------------------
211                    ==============================
212                    Release Notes for Samba 4.0.16
213                            March 11, 2014
214                    ==============================
217 This is a security release in order to address
218 CVE-2013-4496 (Password lockout not enforced for SAMR password changes) and
219 CVE-2013-6442 (smbcacls can remove a file or directory ACL by mistake).
221 o  CVE-2013-4496:
222    Samba versions 3.4.0 and above allow the administrator to implement
223    locking out Samba accounts after a number of bad password attempts.
225    However, all released versions of Samba did not implement this check for
226    password changes, such as are available over multiple SAMR and RAP
227    interfaces, allowing password guessing attacks.
229 o  CVE-2013-6442:
230    Samba versions 4.0.0 and above have a flaw in the smbcacls command. If
231    smbcacls is used with the "-C|--chown name" or "-G|--chgrp name"
232    command options it will remove the existing ACL on the object being
233    modified, leaving the file or directory unprotected.
236 Changes since 4.0.15:
237 ---------------------
239 o   Jeremy Allison <jra@samba.org>
240     * BUG 10327: CVE-2013-6442: ensure we don't lose an existing ACL when
241       setting owner or group owner.
244 o   Andrew Bartlett <abartlet@samba.org>
245     * BUG 10245: CVE-2013-4496: Enforce password lockout for SAMR password
246       changes.
249 o   Stefan Metzmacher <metze@samba.org>
250     * BUG 10245: CVE-2013-4496: Enforce password lockout for SAMR password
251       changes.
254 ######################################################################
255 Reporting bugs & Development Discussion
256 #######################################
258 Please discuss this release on the samba-technical mailing list or by
259 joining the #samba-technical IRC channel on irc.freenode.net.
261 If you do report problems then please try to send high quality
262 feedback. If you don't provide vital information to help us track down
263 the problem then you will probably be ignored.  All bug reports should
264 be filed under the Samba 4.0 product in the project's Bugzilla
265 database (https://bugzilla.samba.org/).
268 ======================================================================
269 == Our Code, Our Bugs, Our Responsibility.
270 == The Samba Team
271 ======================================================================
274 ----------------------------------------------------------------------
277                    ==============================
278                    Release Notes for Samba 4.0.15
279                          February 18, 2014
280                    ==============================
283 This is the latest stable release of Samba 4.0.
286 Changes since 4.0.14:
287 ---------------------
289 o   Michael Adam <obnox@samba.org>
290     * BUG 10259: Make shadow_copy2 module working with Windows 7.
293 o   Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
294     * BUG 10087: ntlm_auth sometimes returns the wrong username to
295       mod_ntlm_auth_winbind.
298 o   Jeremy Allison <jra@samba.org>
299     * BUG 2662: Make revamped directory handling code 64bit clean.
300     * BUG 10358: Fix 100% CPU utilization in winbindd when trying to free
301       memory in winbindd_reinit_after_fork.
302     * BUG 10429: s3: modules: streaminfo: As we have no VFS function
303       SMB_VFS_LLISTXATTR we can't cope with a symlink when lp_posix_pathnames()
304       is true.
307 o   Christian Ambach <ambi@samba.org>
308     * BUG 0280: s3:winbindd: Fix use of uninitialized variables.
311 o   Andrew Bartlett <abartlet@samba.org>
312     * BUG 10418: Fix INTERNAL ERROR: Signal 11 in the kdc pid.
315 o   Jeffrey Clark <dude@zaplabs.com>
316     * BUG 10418: Add support for Heimdal's unified krb5 and hdb plugin system.
319 o   Volker Lendecke <vl@samba.org>
320     * BUG 2191: s3-winbind: Improve performance of wb_fill_pwent_sid2uid_done().
321     * BUG 10415: smbd: Fix memory overwrites.
322     * BUG 10436: smbd: Fix an ancient oplock bug.
325 o   Stefan Metzmacher <metze@samba.org>
326     * BUG 10442: Fix crash bug in smb2_notify code.
329 o   Jelmer Vernooij <jelmer@samba.org>
330     * BUG 10418: Cope with first element in hdb_method having a different name
331       in different heimdal versions.
334 ######################################################################
335 Reporting bugs & Development Discussion
336 #######################################
338 Please discuss this release on the samba-technical mailing list or by
339 joining the #samba-technical IRC channel on irc.freenode.net.
341 If you do report problems then please try to send high quality
342 feedback. If you don't provide vital information to help us track down
343 the problem then you will probably be ignored.  All bug reports should
344 be filed under the Samba 4.0 product in the project's Bugzilla
345 database (https://bugzilla.samba.org/).
348 ======================================================================
349 == Our Code, Our Bugs, Our Responsibility.
350 == The Samba Team
351 ======================================================================
354 ----------------------------------------------------------------------
357                    ==============================
358                    Release Notes for Samba 4.0.14
359                            January 7, 2014
360                    ==============================
363 This is the latest stable release of Samba 4.0.
365 Major enhancements in Samba 4.0.14 include:
367 o  Fix segfault in smbd (bug #10284).
368 o  Fix SMB2 server panic when a smb2 brlock times out (bug #10311).
371 Changes since 4.0.13:
372 ---------------------
374 o   Jeremy Allison <jra@samba.org>
375     * BUG 9870: smbd: Allow updates on directory write times on open handles.
376     * BUG 10297: smbd: Fix writing to a directory with -wx permissions
377       on a share.
378     * BUG 10305: ldb: Fix bad if test in ldb_comparison_fold().
379     * BUG 10320: s3:smbpasswd: Fix crashes on invalid input.
382 o   David Disseldorp <ddiss@samba.org>
383     * BUG 10271: Send correct job-ID in print job notifications.
386 o   Volker Lendecke <vl@samba.org>
387     * BUG 10250: smbd: Fix a talloc hierarchy problem in msg_channel.
388     * BUG 10284: smbd: Fix segfault.
389     * BUG 10297: smbd: Fix writing to a directory with -wx permissions
390       on a share.
391     * BUG 10311: Fix SMB2 server panic when a smb2 brlock times out.
394 o   Stefan Metzmacher <metze@samba.org>
395     * BUG 10298: Reduce smb2_server processing overhead.
396     * BUG 10330: s3:configure: Require tevent >= 0.9.18 as external library.
399 o   Arvid Requate <requate@univention.de>
400     * BUG 10267: spoolss: Accept XPS_PASS datatype used by Windows 8.
403 o   Christof Schmitt <cs@samba.org>
404     * BUG 10310: Fix AIO with SMB2 and locks.
407 o   Andreas Schneider <asn@samba.org>
408     * BUG 2191: Fix substution of %G/%g in 'template * homedir'.
411 ######################################################################
412 Reporting bugs & Development Discussion
413 #######################################
415 Please discuss this release on the samba-technical mailing list or by
416 joining the #samba-technical IRC channel on irc.freenode.net.
418 If you do report problems then please try to send high quality
419 feedback. If you don't provide vital information to help us track down
420 the problem then you will probably be ignored.  All bug reports should
421 be filed under the Samba 4.0 product in the project's Bugzilla
422 database (https://bugzilla.samba.org/).
425 ----------------------------------------------------------------------
428                    ==============================
429                    Release Notes for Samba 4.0.13
430                           December 9, 2013
431                    ==============================
434 This is a security release in order to address
435 CVE-2013-4408 (DCE-RPC fragment length field is incorrectly checked) and
436 CVE-2012-6150 (pam_winbind login without require_membership_of restrictions).
438 o  CVE-2013-4408:
439    Samba versions 3.4.0 and above (versions 3.4.0 - 3.4.17, 3.5.0 -
440    3.5.22, 3.6.0 - 3.6.21, 4.0.0 - 4.0.12 and including 4.1.2) are
441    vulnerable to buffer overrun exploits in the client processing of
442    DCE-RPC packets. This is due to incorrect checking of the DCE-RPC
443    fragment length in the client code.
445    This is a critical vulnerability as the DCE-RPC client code is part of
446    the winbindd authentication and identity mapping daemon, which is
447    commonly configured as part of many server installations (when joined
448    to an Active Directory Domain). A malicious Active Directory Domain
449    Controller or man-in-the-middle attacker impersonating an Active
450    Directory Domain Controller could achieve root-level access by
451    compromising the winbindd process.
453    Samba server versions 3.4.0 - 3.4.17 and versions 3.5.0 - 3.5.22 are
454    also vulnerable to a denial of service attack (server crash) due to a
455    similar error in the server code of those versions.
457    Samba server versions 3.6.0 and above (including all 3.6.x versions,
458    all 4.0.x versions and 4.1.x) are not vulnerable to this problem.
460    In addition range checks were missing on arguments returned from calls
461    to the DCE-RPC functions LookupSids (lsa and samr), LookupNames (lsa and samr)
462    and LookupRids (samr) which could also cause similar problems.
464    As this was found during an internal audit of the Samba code there are
465    no currently known exploits for this problem (as of December 9th 2013).
467 o  CVE-2012-6150:
468    Winbind allows for the further restriction of authenticated PAM logins using
469    the require_membership_of parameter. System administrators may specify a list
470    of SIDs or groups for which an authenticated user must be a member of. If an
471    authenticated user does not belong to any of the entries, then login should
472    fail. Invalid group name entries are ignored.
474    Samba versions 3.3.10, 3.4.3, 3.5.0 and later incorrectly allow login from
475    authenticated users if the require_membership_of parameter specifies only
476    invalid group names.
478    This is a vulnerability with low impact. All require_membership_of group
479    names must be invalid for this bug to be encountered.
482 Changes since 4.0.12:
483 ---------------------
485 o   Jeremy Allison <jra@samba.org>
486     * BUG 10185: CVE-2013-4408: Correctly check DCE-RPC fragment length field.
489 o   Stefan Metzmacher <metze@samba.org>
490     * BUG 10185: CVE-2013-4408: Correctly check DCE-RPC fragment length field.
493 o   Noel Power <noel.power@suse.com>
494     * BUGs 10300, 10306: CVE-2012-6150: Fail authentication if user isn't
495       member of *any* require_membership_of specified groups.
498 ######################################################################
499 Reporting bugs & Development Discussion
500 #######################################
502 Please discuss this release on the samba-technical mailing list or by
503 joining the #samba-technical IRC channel on irc.freenode.net.
505 If you do report problems then please try to send high quality
506 feedback. If you don't provide vital information to help us track down
507 the problem then you will probably be ignored.  All bug reports should
508 be filed under the Samba 4.0 product in the project's Bugzilla
509 database (https://bugzilla.samba.org/).
512 ======================================================================
513 == Our Code, Our Bugs, Our Responsibility.
514 == The Samba Team
515 ======================================================================
518 ----------------------------------------------------------------------
521                    ==============================
522                    Release Notes for Samba 4.0.12
523                           November 19, 2013
524                    ==============================
527 This is is the latest stable release of Samba 4.0.
529 Major enhancements in Samba 4.0.12 include:
531 o  RW Deny for a specific user is not overriding RW Allow for a group (bug
532    #10196)
535 Changes since 4.0.11:
536 ---------------------
538 o   Jeremy Allison <jra@samba.org>
539     * BUG 10187: Missing talloc_free can leak stackframe in error path.
540     * BUG 10196: RW Deny for a specific user is not overriding RW Allow for a
541       group.
544 o   Andrew Bartlett <abartlet@samba.org>
545     * BUG 10052: Use dsdb_search_one to catch 0 results as well as
546       NO_SUCH_OBJECT errors.
549 o   Samuel Cabrero <scabrero@zentyal.com>
550     * BUG 9091: s4-dns: dlz_bind9: Create dns-HOSTNAME account disabled.
553 o   Günther Deschner <gd@samba.org>
554     * BUG 10264: s3-winbind: Fix cache_traverse_validate_fn failure for NDR
555       cache entries.
558 o   Björn Jacke <bj@sernet.de>
559     * BUG 10247: xattr: Fix listing EAs on *BSD for non-root users.
562 o   Volker Lendecke <vl@samba.org>
563     * BUG 10195: nsswitch: Fix short writes in winbind_write_sock.
566 o   Stefan Metzmacher <metze@samba.org>
567     * BUG 9905: ldap_server: Register name and pid at startup.
568     * BUG 10193: s4:dsdb/rootdse: report 'dnsHostName' instead of 'dNSHostName'.
569     * BUG 10232: libcli/smb: fix smb2cli_ioctl*() against Windows 2008.
572 o   Andreas Schneider <asn@samba.org>
573     * BUG 10132: pam_winbindd: Add support for the KEYRING ccache type.
574     * BUG 10194: winbind: Offline logon cache not updating for cross child
575       domain group membership.
576     * BUG 10269: util: Remove 32bit macros breaking strict aliasing.
579 ######################################################################
580 Reporting bugs & Development Discussion
581 #######################################
583 Please discuss this release on the samba-technical mailing list or by
584 joining the #samba-technical IRC channel on irc.freenode.net.
586 If you do report problems then please try to send high quality
587 feedback. If you don't provide vital information to help us track down
588 the problem then you will probably be ignored.  All bug reports should
589 be filed under the Samba 4.0 product in the project's Bugzilla
590 database (https://bugzilla.samba.org/).
593 ======================================================================
594 == Our Code, Our Bugs, Our Responsibility.
595 == The Samba Team
596 ======================================================================
599 ----------------------------------------------------------------------
602                    ==============================
603                    Release Notes for Samba 4.0.11
604                           November 11, 2013
605                    ==============================
608 This is a security release in order to address
609 CVE-2013-4475 (ACLs are not checked on opening an alternate
610 data stream on a file or directory) and
611 CVE-2013-4476 (Private key in key.pem world readable).
613 o  CVE-2013-4475:
614    Samba versions 3.2.0 and above (all versions of 3.2.x, 3.3.x,
615    3.4.x, 3.5.x, 3.6.x, 4.0.x and 4.1.x) do not check the underlying
616    file or directory ACL when opening an alternate data stream.
618    According to the SMB1 and SMB2+ protocols the ACL on an underlying
619    file or directory should control what access is allowed to alternate
620    data streams that are associated with the file or directory.
622    By default no version of Samba supports alternate data streams
623    on files or directories.
625    Samba can be configured to support alternate data streams by loading
626    either one of two virtual file system modues (VFS) vfs_streams_depot or
627    vfs_streams_xattr supplied with Samba, so this bug only affects Samba
628    servers configured this way.
630    To determine if your server is vulnerable, check for the strings
631    "streams_depot" or "streams_xattr" inside your smb.conf configuration
632    file.
634 o  CVE-2013-4476:
635    In setups which provide ldap(s) and/or https services, the private
636    key for SSL/TLS encryption might be world readable. This typically
637    happens in active directory domain controller setups.
640 Changes since 4.0.10:
641 ---------------------
643 o   Jeremy Allison <jra@samba.org>
644     * BUGs 10234 + 10229: CVE-2013-4475: Fix access check verification on stream
645       files.
648 o   Björn Baumbach <bb@sernet.de>
649     * BUG 10234: CVE-2013-4476: Private key in key.pem world readable.
652 ######################################################################
653 Reporting bugs & Development Discussion
654 #######################################
656 Please discuss this release on the samba-technical mailing list or by
657 joining the #samba-technical IRC channel on irc.freenode.net.
659 If you do report problems then please try to send high quality
660 feedback. If you don't provide vital information to help us track down
661 the problem then you will probably be ignored.  All bug reports should
662 be filed under the Samba 4.0 product in the project's Bugzilla
663 database (https://bugzilla.samba.org/).
666 ======================================================================
667 == Our Code, Our Bugs, Our Responsibility.
668 == The Samba Team
669 ======================================================================
672 ----------------------------------------------------------------------
675                    ==============================
676                    Release Notes for Samba 4.0.10
677                            October 8, 2013
678                    ==============================
681 This is is the latest stable release of Samba 4.0.
683 Major enhancements in Samba 4.0.10 include:
685 o  NetBIOS related samba process consumes 100% CPU (bug #10158).
686 o  smbd: Clean up share modes after hard crash (bug #10138).
687 o  Fix POSIX ACL mapping when setting DENY ACE's from Windows (bug #10162).
689 To ease upgrades from Samba 3.6 and older, a new parameter called "acl allow
690 execute always" has been introduced as a temporary workaround. Please see the
691 smb.conf man page for details.
694 Changes since 4.0.9:
695 --------------------
697 o   Michael Adam <obnox@samba.org>
698     * BUG 10134: Ease file server upgrades from 3.6 and earlier with "acl allow
699       execute always".
700     * BUG 10169: Fix build error in scavenger.c.
703 o   Jeremy Allison <jra@samba.org>
704     * BUG 5917: Make Samba work on site with Read Only Domain Controller.
705     * BUG 9166: Starting smbd or nmbd with stdin from /dev/null results in
706       "EOF on stdin".
707     * BUG 10063: source3/lib/util.c:1493 leaking memory w/ pam_winbind.so /
708       winbind.
709     * BUG 10121: Masks incorrectly applied to UNIX extension permission changes.
710     * BUG 10139: Valid utf8 filenames cause "invalid conversion error"
711       messages.
714 o   Christian Ambach <ambi@samba.org>
715     * BUG #9911 - Build Samba 4.0.x on AIX with IBM XL C/C++.
718 o   Andrew Bartlett <abartlet@samba.org>
719     * BUG 8077: dsdb: Convert the full string from UTF16 to UTF8, including
720       embedded NULLs.
721     * BUG 9091: When replicating DNS for bind9_dlz we need to create the
722       server-DNS account remotely.
723     * BUG 9461: python-samba-tool fsmo: Do not give an error on a successful
724       role transfer.
727 o   Günther Deschner <gd@samba.org>
728     * BUG 9615: s3-winbindd: fix fallback to ncacn_np in cm_connect_lsat().
729     * BUG 9899: s3-winbindd: fix fallback to ncacn_np in cm_connect_lsat().
730     * BUG 10147: Better document potential implications of a globally used
731       "valid users".
734 o   Korobkin <korobkin+samba@gmail.com>
735     * BUG 10118: Samba is chatty about being unable to open a printer.
738 o   Amitay Isaacs <amitay@gmail.com>
739     * BUG 9599: samba-tool/dns: Pass on additional flags when creating zones.
742 o   Volker Lendecke <vl@samba.org>
743     * BUG 10086: smbd: Fix async echo handler forking.
744     * BUG 10106: Honour output buffer length set by the client for SMB2
745       GetInfo requests.
746     * BUG 10114: Dropbox (write-only-directory) case isn't handled correctly in
747       pathname lookup.
748     * BUG 10138: smbd: Clean up share modes after hard crash.
751 o   Daniel Liberman <danielvl@gmail.com>
752     * BUG 10162: Fix POSIX ACL mapping when setting DENY ACE's from Windows.
755 o   Stefan Metzmacher <metze@samba.org>
756     * BUG 9802: Move gencache.tdb to /var/cache/samba.
757     * BUG 10030: ::1 added to nameserver on join.
760 o   Matthieu Patou <mat@matws.net>
761     * BUG 10158: NetBIOS related samba process consumes 100% CPU.
764 o   Christof Schmitt <christof.schmitt@us.ibm.com>
765     * BUG 10137: vfs_shadow_copy2 does not display previous versions correctly
766       over SMB2.
769 o   Karolin Seeger <kseeger@samba.org>
770     * BUG 10076: docs: Fix variable list in man vfs_crossrename.
773 o   Richard Sharpe <realrichardsharpe@gmail.com>
774     * BUG 10097 - MacOSX 10.9 will not follow path-based DFS referrals handed
775       out by Samba.
778 o   Ralph Wuerthner <ralph.wuerthner@de.ibm.com>
779     * BUG 10106: Honour output buffer length set by the client for SMB2
780       GetInfo requests.
783 ######################################################################
784 Reporting bugs & Development Discussion
785 #######################################
787 Please discuss this release on the samba-technical mailing list or by
788 joining the #samba-technical IRC channel on irc.freenode.net.
790 If you do report problems then please try to send high quality
791 feedback. If you don't provide vital information to help us track down
792 the problem then you will probably be ignored.  All bug reports should
793 be filed under the Samba 4.0 product in the project's Bugzilla
794 database (https://bugzilla.samba.org/).
797 ======================================================================
798 == Our Code, Our Bugs, Our Responsibility.
799 == The Samba Team
800 ======================================================================
803 ----------------------------------------------------------------------
806                    =============================
807                    Release Notes for Samba 4.0.9
808                           August 20, 2013
809                    =============================
812 This is is the latest stable release of Samba 4.0.
814 Major enhancements in Samba 4.0.9 include:
816 o  Fix crash of Winbind after "ls -l /usr/local/samba/var/locks/sysvol"
817    (bug #9820).
818 o  Fix segmentation fault while reading incomplete session info (bug #10003).
819 o  smbd: Fix a 100% loop at shutdown time (bug #10013).
822 Changes since 4.0.8:
823 --------------------
825 o   Michael Adam <obnox@samba.org>
826     * BUG 9930: smbd: Cleanup disonnected durable handles.
829 o   Jeremy Allison <jra@samba.org>
830     * BUG 9992: Fix Windows error 0x800700FE when copying files with xattr names
831       containing ":".
832     * BUG 10064: Linux kernel oplock breaks can miss signals.
835 o   Andrew Bartlett <abartlet@samba.org>
836     * BUG 9820: Fix crash of Winbind after "ls -l
837       /usr/local/samba/var/locks/sysvol".
838     * BUG 10014: Fix excessive RID allocation.
841 o   Björn Baumbach <bb@sernet.de>
842     * BUG 10003: s3-lib: Fix segmentation fault while reading incomplete
843       session info.
846 o   Gregor Beck <gbeck@sernet.de>
847     * BUG 9678: Windows 8 Roaming profiles fail.
848     * BUG 9930: smbd: Cleanup disonnected durable handles.
851 o   Kai Blin <kai@samba.org>
852     * BUG 10015: Add debugclass for DNS server.
855 o   Alexander Bokovoy <ab@samba.org>
856     * BUG 9779: Add UPN enumeration to passdb internal API.
859 o   Günther Deschner <gd@samba.org>
860     * BUG 10043: Allow to change the default location for Kerberos credential
861       caches.
862     * BUG 10073: net ads join: Fix segmentation fault in
863       create_local_private_krb5_conf_for_domain.
866 o   Volker Lendecke <vl@samba.org>
867     * BUG 10013: smbd: Fix a 100% loop at shutdown time.
870 o   Stefan Metzmacher <metze@samba.org>
871     * BUG 9820: Fix crash of Winbind after "ls -l
872       /usr/local/samba/var/locks/sysvol".
873     * BUG 10003: s3-lib: Fix segmentation fault while reading incomplete
874       session info.
875     * BUG 10015: Fix/improve debug options.
878 o   Christof Schmitt <christof.schmitt@us.ibm.com>
879     * BUG 9970: vfs_streams_xattr: Do not attempt to write empty attribute
880       twice.
883 o   Andreas Schneider <asn@samba.org>
884     * BUG 9994: s3-winbind: Do not delete an existing valid credential cache.
885     * BUG 10073: net ads join: Fix segmentation fault in
886       create_local_private_krb5_conf_for_domain.
889 o   Ralph Wuerthner <ralphw@de.ibm.com>
890     * BUG 10064: Linux kernel oplock breaks can miss signals.
893 ######################################################################
894 Reporting bugs & Development Discussion
895 #######################################
897 Please discuss this release on the samba-technical mailing list or by
898 joining the #samba-technical IRC channel on irc.freenode.net.
900 If you do report problems then please try to send high quality
901 feedback. If you don't provide vital information to help us track down
902 the problem then you will probably be ignored.  All bug reports should
903 be filed under the Samba 4.0 product in the project's Bugzilla
904 database (https://bugzilla.samba.org/).
907 ======================================================================
908 == Our Code, Our Bugs, Our Responsibility.
909 == The Samba Team
910 ======================================================================
913 ----------------------------------------------------------------------
916                    =============================
917                    Release Notes for Samba 4.0.8
918                           August 05, 2013
919                    =============================
922 This is a security release in order to address
923 CVE-2013-4124 (Missing integer wrap protection in EA list reading can cause
924 server to loop with DOS).
926 o  CVE-2013-4124:
927    All current released versions of Samba are vulnerable to a denial of
928    service on an authenticated or guest connection. A malformed packet
929    can cause the smbd server to loop the CPU performing memory
930    allocations and preventing any further service.
932    A connection to a file share, or a local account is needed to exploit
933    this problem, either authenticated or unauthenticated if guest
934    connections are allowed.
936    This flaw is not exploitable beyond causing the code to loop
937    allocating memory, which may cause the machine to exceed memory
938    limits.
941 Changes since 4.0.7:
942 --------------------
944 o   Jeremy Allison <jra@samba.org>
945     * BUG 10010: CVE-2013-4124: Missing integer wrap protection in EA list
946       reading can cause server to loop with DOS.
949 ######################################################################
950 Reporting bugs & Development Discussion
951 #######################################
953 Please discuss this release on the samba-technical mailing list or by
954 joining the #samba-technical IRC channel on irc.freenode.net.
956 If you do report problems then please try to send high quality
957 feedback. If you don't provide vital information to help us track down
958 the problem then you will probably be ignored.  All bug reports should
959 be filed under the Samba 4.0 product in the project's Bugzilla
960 database (https://bugzilla.samba.org/).
963 ======================================================================
964 == Our Code, Our Bugs, Our Responsibility.
965 == The Samba Team
966 ======================================================================
969 ----------------------------------------------------------------------
972                    =============================
973                    Release Notes for Samba 4.0.7
974                            July 2, 2013
975                    =============================
978 This is is the latest stable release of Samba 4.0.
980 Major enhancements in Samba 4.0.7 include:
982 o  Fix a core dump with invalid lock order while opening/editing
983    or copying MS files (bug #9794).
984 o  Fix crash bug from search of mail= (bug #9967).
985 o  winbind4: talloc use after free (bug #9832).
988 Changes since 4.0.6:
989 --------------------
991 o   Michael Adam <obnox@samba.org>
992     * BUG 9909: build: Add missing new line to replaced python shebang line.
995 o   Jeremy Allison <jra@samba.org>
996     * BUG 9794: Fix a core dump with invalid lock order while opening/editing
997       or copying MS files.
1000 o   Andrew Bartlett <abartlet@samba.org>
1001     * BUG 9465: s3-rpc_server: Ensure we are root when starting and using
1002       gensec.
1003     * BUG 9906: Doc fixes for 4.0.
1004     * BUG 9907: Build fixes for 4.0 found during autoconf or debian packaging
1005       work.
1006     * BUG 9967: Fix crash bug from search of mail=.
1007     * BUG 9968: Fix build with system Heimdal of samba4kgetcred.
1010 o   Björn Baumbach <bb@sernet.de>
1011     * BUG 9947: Check for netbios aliases in ad_get_referrals.
1014 o   Kai Blin <kai@samba.org>
1015     * BUG 9485: Add support for MX queries.
1016     * BUG 9559: dns: Delete dnsNode objects when they are empty.
1017     * BUG 9632: dns: Support larger queries when asking forwarder.
1020 o   David Disseldorp <ddiss@samba.org>
1021     * BUG 8997: Change libreplace GPL source to LGPL.
1022     * BUG 9900: is_printer_published GUID retrieval.
1023     * BUG 9910: PIE builds not supported.
1026 o   Peng Haitao <penght@cn.fujitsu.com>
1027     * BUG 9941: Fix a bug of drvupgrade of smbcontrol.
1030 o   Björn Jacke <bj@sernet.de>
1031     * BUG 9880: Use of wrong RFC2307 primary group field.
1034 o   Volker Lendecke <vl@samba.org>
1035     * BUG 9832: winbind4: talloc use after free.
1036     * BUG 9953: Fix tevent_poll on 32-bit machines (Coverity ID 989236).
1039 o   Stefan Metzmacher <metze@samba.org>
1040     * BUG 9805: s3:lib/server_mutex: Open mutex.tdb with CLEAR_IF_FIRST.
1041     * BUG 9929: s4:winbind: Don't leak libnet_context into the main event
1042       context.
1045 o   Andreas Schneider <asn@samba.org>
1046     * BUG 9881: Check for system libtevent.
1049 o   Michael Wood <esiotrot@gmail.com>
1050     * BUG 9964: docs: Avoid mentioning a possibly misleading option.
1053 o   Vadim Zhukov <persgray@gmail.com>
1054     * BUG 9888: More generic check for OpenBSD platform.
1057 ######################################################################
1058 Reporting bugs & Development Discussion
1059 #######################################
1061 Please discuss this release on the samba-technical mailing list or by
1062 joining the #samba-technical IRC channel on irc.freenode.net.
1064 If you do report problems then please try to send high quality
1065 feedback. If you don't provide vital information to help us track down
1066 the problem then you will probably be ignored.  All bug reports should
1067 be filed under the Samba 4.0 product in the project's Bugzilla
1068 database (https://bugzilla.samba.org/).
1071 ======================================================================
1072 == Our Code, Our Bugs, Our Responsibility.
1073 == The Samba Team
1074 ======================================================================
1077 ----------------------------------------------------------------------
1080                    =============================
1081                    Release Notes for Samba 4.0.6
1082                            May 21, 2013
1083                    =============================
1086 This is is the latest stable release of Samba 4.0.
1088 Major enhancements in Samba 4.0.6 include:
1090 o  Fix crash during Win8 sync (bug #9822).
1091 o  Fix segfault when loging in with wrong password from w2k8r2 (bug #9834).
1094 Changes since 4.0.5:
1095 --------------------
1097 o   Jeremy Allison <jra@samba.org>
1098     * BUG 9412: SMB2 server doesn't support recvfile.
1099     * BUG 9722: Properly handle oplock breaks in compound requests.
1100     * BUG 9777: vfs_dirsort uses non-stackable calls, dirfd(), malloc instead
1101       of talloc and doesn't cope with directories being modified whilst reading.
1102     * BUG 9811: Old DOS SMB CTEMP request uses a non-VFS function to access the
1103       filesystem.
1104     * BUG 9822: Fix crash during Win8 sync.
1107 o   Anand Avati <avati@redhat.com>
1108     * BUG 9833: Function called in unix_convert() path can overwrite errno.
1111 o   Andrew Bartlett <abartlet@samba.org>
1112     * BUG 9785: Use specified python for runtime installation of Samba.
1113     * BUG 9834: Fix segfault when loging in with wrong password from w2k8r2.
1116 o   Alexander Bokovoy <ab@samba.org>
1117     * BUG 9767: Fix 'net ads join' when called via stdin.
1120 o   David Disseldorp <ddiss@samba.org>
1121     * BUG 9807: wbinfo: Fix segfault in wbinfo_pam_logon.
1122     * BUG 9830: Fix panic in nt_printer_publish_ads.
1125 o   Volker Lendecke <vl@samba.org>
1126     * BUG 9775: Fix segfault for "artificial" conn_structs in vfs_fake_perms.
1127     * BUG 9809: Package new dbwrap_tool man page.
1128     * BUG 9824: SMB signing and the async echo responder don't work together.
1129     * BUG 9832: talloc use after free in winbind4.
1130     * BUG 9854: Fix NULL pointer dereference in Winbind.
1131     * BUG 9868: Fix making LIBNDR_PREG_OBJ.
1134 o   Stefan Metzmacher <metze@samba.org>
1135     * BUG 9545: Fix the build of vfs_notify_fam.
1136     * BUG 9803: Change '--with-dmapi' to 'default=auto' to match the autoconf
1137       build.
1138     * BUG 9804: wafsamba: Display the default value in help for
1139       SAMBA3_ADD_OPTION.
1140     * BUG 9382: Add support for PFC_FLAG_OBJECT_UUID when parsing packets.
1143 o   Andreas Schneider <asn@samba.org>
1144     * BUG 9139: Fix the username map optimization.
1145     * BUG 9699: Fix adding case sensitive spn.
1146     * BUG 9766: Cache name_to_sid/sid_to_name correctly.
1147     * BUG 9817: Fix 'map untrusted to domain' with NTLMv2.
1150 o   Richard Sharpe <realrichardsharpe@gmail.com>
1151     * BUG 9722:  Properly handle oplock breaks in compound requests.
1154 o   Ralph Wuerthner <ralph.wuerthner@de.ibm.com>
1155     * BUG 9782: Fix panic when running 'smbtorture smb.base'.
1158 ######################################################################
1159 Reporting bugs & Development Discussion
1160 #######################################
1162 Please discuss this release on the samba-technical mailing list or by
1163 joining the #samba-technical IRC channel on irc.freenode.net.
1165 If you do report problems then please try to send high quality
1166 feedback. If you don't provide vital information to help us track down
1167 the problem then you will probably be ignored.  All bug reports should
1168 be filed under the Samba 4.0 product in the project's Bugzilla
1169 database (https://bugzilla.samba.org/).
1172 ======================================================================
1173 == Our Code, Our Bugs, Our Responsibility.
1174 == The Samba Team
1175 ======================================================================
1178 ----------------------------------------------------------------------
1181                    =============================
1182                    Release Notes for Samba 4.0.5
1183                            April 9, 2013
1184                    =============================
1187 This is is the latest stable release of Samba 4.0.
1189 Major enhancements in Samba 4.0.5 include:
1191 o  Fix large reads/writes from some Linux clients (bug #9706).
1192 o  Add 'samba-tool dbcheck --reset-well-known-acls' (bugs #9740 and #9267).
1195 Changes since 4.0.4:
1196 --------------------
1198 o   Michael Adam <obnox@samba.org>
1199     * BUG 9617: libnss-winbindd does not provide pass struct for groups mapped
1200       with ID_TYPE_BOTH and vice versa.
1201     * BUG 9653: idmap_autorid: Fix freeing of non-talloced memory.
1202     * BUG 9711: s4:winbindd: Do not drop the workgroup name in the getgrnam, getgrent
1203       and getgrgid calls.
1206 o   Jeremy Allison <jra@samba.org>
1207     * BUG 9130: Certain xattrs cause Windows error 0x800700FF.
1208     * BUG 9519: Samba returns unexpected error on SMB posix open.
1209     * BUG 9642: Fix the build of vfs_afsacl.
1210     * BUG 9695: Backport tevent changes to bring library to version 0.9.18.
1211     * BUG 9706: Fix large reads/writes from some Linux clients.
1212     * BUG 9724: is_encrypted_packet() function incorrectly used inside server.
1213     * BUG 9733: Fix 'smbcontrol close-share'.
1214     * BUG 9748: Remove unneeded fstat system call from hot read path.
1215     * BUG 9760: Fix incorrect parsing of SMB2 command codes.
1218 o   Christian Ambach <ambi@samba.org>
1219     * BUG 9643: Fix the build with --fake-kaserver.
1220     * BUG 9644: Fix compile of source3/lib/afs.c.
1221     * BUG 9669: Fix crash in 'net rpc join' against a Samba 3.0.33 PDC.
1224 o   Timur Bakeyev <timur@FreeBSD.org>
1225     * BUG 9666: Fix filtering of link-local addresses.
1228 o   Andrew Bartlett <abartlet@samba.org>
1229     * BUG 9663: 'make test' hangs.
1230     * BUG 9697: DsReplicaGetInfo fails due to sendto() EMSGSIZE error
1231       on UNIX domain socket.
1232     * BUG 9703: Fix build on solaris8: Do not force a specific perl on
1233       pod2man.
1234     * BUG 9717: Set LD_LIBRARY_PATH in install_with_python.sh.
1235     * BUG 9718: s4-idmap: Remove requirement that posixAccount or posixGroup be set
1236       for rfc2307.
1237     * BUG 9719: Allow forcing an override of an old @MODULES record.
1238     * BUG 9720: Do not print the admin password during 'samba-tool
1239       classicupgrade'.
1240     * BUG 9721: Make samba_upgradedns more robust (do not guess addresses
1241       when just changing roles).
1242     * BUG 9725: upgradeprovision and 'samba-tool dbcheck' patches for 4.0.NEXT.
1243     * BUG 9728: DO NOT install samba_upgradeprovision in 4.0.x.
1244     * BUG 9739: PIDL: Build fixes for hosts without CPP (Solaris 11).
1245     * BUG 9740: Add 'samba-tool dbcheck --reset-well-known-acls'.
1246     * BUG 9267: Can't delegate adding computers to domain.
1249 o   Alexander Bokovoy <ab@samba.org>
1250     * BUG 9636: PIDL: Fix parsing linemarkers in preprocessor output.
1251     * BUG 9639: Rename internal subsystem pdb_ldap to pdb_ldapsam.
1254 o   Ira Cooper <ira@samba.org>
1255     * BUG 9646: Make SMB2_GETINFO multi-volume aware.
1258 o   David Disseldorp <ddiss@samba.org>
1259     * BUG 9633: Recursive mget should continue on EPERM.
1262 o   Landon Fuller <landonf@bikemonkey.org>
1263     * BUG 9656: Work around FreeBSD's getaddrinfo() underscore issue.
1264     * BUG 9696: Remove incomplete samba_dnsupdate IPv6 link-local address
1265       check.
1266     * BUG 9697: Handle EMSGSIZE on UNIX domain sockets.
1269 o   Björn Jacke <bj@sernet.de>
1270     * BUG 7825: Fix GNU ld version detection with old gcc releases.
1273 o   Daniel Kobras <d.kobras@science-computing.de>
1274     * BUG 9039: Never try to map global SAM name.
1277 o   Guenter Kukkukk <kukks@samba.org>
1278     * BUG 9701: Fix vfs_catia and update documentation.
1281 o   Volker Lendecke <vl@samba.org>
1282     * BUG 9695: Backport tevent changes to bring library to version 0.9.18.
1283     * BUG 9727: Fix NULL pointer dereference.
1284     * BUG 9736: Change to smbd/dir.c code gives significant performance
1285       increases on large directory listings.
1288 o   Stefan Metzmacher <metze@samba.org>
1289     * BUG 9557: Fix build on AIX.
1290     * BUG 9625: Reauth-capable client fails to access shares on Windows member.
1291     * BUG 9695: Backport tevent changes to bring library to version 0.9.18.
1292     * BUG 9706: Parameter is incorrect on Android.
1295 o   Andreas Schneider <asn@samba.org>
1296     * BUG 9664: Fix correct linking of libreplace with cmdline-credentials.
1297     * BUG 9683: Fix several resource (fd) leaks.
1298     * BUG 9685: Fix a memory leak in spoolss rpc server.
1299     * BUG 9686: Fix a possible buffer overrun in pdb_smbpasswd.
1300     * BUG 9687: Fix several possible null pointer dereferences.
1301     * BUG 9723: Add a tool to migrate latin1 printing tdbs to registry.
1302     * BUG 9735: Fix Winbind separator in upn to username conversion.
1303     * BUG 9758: Don't leak the epm_Map policy handle.
1306 o   Richard Sharpe <rsharpe@samba.org>
1307     * BUG 9674: Samba denies owner Read Control when there is a DENY entry
1308       while W2K08 does not.
1309     * BUG 9689: Make sure that domain joins work correctly when the DC disallows
1310       NTLM auth.
1311     * BUG 9704: Fix nss_winbind name on FreeBSD.
1312     * BUG 9747: Make sure that we only propogate the INHERITED flag when we are
1313       allowed to.
1316 Note about upgrading from older versions:
1317 -----------------------------------------
1319 It is still the case that there are printing tdbs (ntprinting.tdb, ntforms.tdb,
1320 ntdrivers.tdb) which are in latin1 or other encodings. When updating from
1321 Samba 3.5 or earlier to Samba 3.6 or 4.0 these tdbs need to be migrated to our
1322 new registry based printing management.  This means during the migration we
1323 also need to do charset conversion. This can only been done manually cause we don't
1324 know in which encoding the tdb is. You have to specify the correct code page
1325 for the conversion, see iconv -l and Wikipedia [1] for the available codepages.
1326 The mostly used one is Windows Latin1 which is CP1252.
1328 We've extended the 'net printing dump' and 'net printing migrate' commands to
1329 define the encoding of the tdb. So you can correctly view the tdb with:
1331   net printing dump encoding=CP1252 /path/to/ntprinters.tdb
1333 or migrate it with e.g.:
1335   net printing migrate encoding=CP1252 /path/to/ntprinters.tdb
1337 If you migrate printers we suggest you do it in the following order.
1339 ntforms.tdb
1340 ntdrivers.tdb
1341 ntprinting.tdb
1343 Don't forget to rename, move or delete these files in /var/lib/samba after the
1344 migration.
1346 [1] https://en.wikipedia.org/wiki/Code_page
1349 ######################################################################
1350 Reporting bugs & Development Discussion
1351 #######################################
1353 Please discuss this release on the samba-technical mailing list or by
1354 joining the #samba-technical IRC channel on irc.freenode.net.
1356 If you do report problems then please try to send high quality
1357 feedback. If you don't provide vital information to help us track down
1358 the problem then you will probably be ignored.  All bug reports should
1359 be filed under the Samba 4.0 product in the project's Bugzilla
1360 database (https://bugzilla.samba.org/).
1363 ======================================================================
1364 == Our Code, Our Bugs, Our Responsibility.
1365 == The Samba Team
1366 ======================================================================
1369 ----------------------------------------------------------------------
1372                    =============================
1373                    Release Notes for Samba 4.0.4
1374                           March 19, 2013
1375                    =============================
1378 This is a security release in order to address CVE-2013-1863
1379 (World-writeable files may be created in additional shares on a
1380 Samba 4.0 AD DC).
1382 o  CVE-2013-1863:
1383    Administrators of the Samba 4.0 Active Directory Domain
1384    Controller might unexpectedly find files created world-writeable
1385    if additional CIFS file shares are created on the AD DC.
1386    Samba versions 4.0.0rc6 - 4.0.3 (inclusive) are affected by this
1387    defect.
1390 Changes since 4.0.3:
1391 --------------------
1393 o   Andrew Bartlett <abartlet@samba.org>
1394     * BUG 9709: CVE-2013-1863: Remove forced set of 'create mask' to 0777.
1397 ######################################################################
1398 Reporting bugs & Development Discussion
1399 #######################################
1401 Please discuss this release on the samba-technical mailing list or by
1402 joining the #samba-technical IRC channel on irc.freenode.net.
1404 If you do report problems then please try to send high quality
1405 feedback. If you don't provide vital information to help us track down
1406 the problem then you will probably be ignored.  All bug reports should
1407 be filed under the Samba 4.0 product in the project's Bugzilla
1408 database (https://bugzilla.samba.org/).
1411 ======================================================================
1412 == Our Code, Our Bugs, Our Responsibility.
1413 == The Samba Team
1414 ======================================================================
1417 ----------------------------------------------------------------------
1420                    =============================
1421                    Release Notes for Samba 4.0.3
1422                          February 05, 2013
1423                    =============================
1426 This is is the latest stable release of Samba 4.0.
1428 Major enhancements in Samba 4.0.3 include:
1430 o  check_password_quality: Handle non-ASCII characters properly (bug #9105).
1431 o  Fix ACL problem with delegation of privileges and deletion of accounts
1432    over LDAP interface (bug #8909).
1433 o  Fix 'smbd' panic triggered by unlink after open (bug #9571).
1434 o  smbd: Fix memleak in the async echo handler (bug #9549).
1436 Known issues:
1437 -------------
1439 o  For more details concerning the ACL problem with delegation of privileges
1440    and deletion of accounts over LDAP interface (bugs #8909 and #9267)
1441    regarding upgrades from older 4.0.x versions, please see
1443      http://wiki.samba.org/index.php/Samba_AD_DC_HOWTO#Upgrading
1445    which will be filled with details once we have worked out an upgrade
1446    strategy.
1448 Changes since 4.0.2:
1449 --------------------
1451 o   Michael Adam <obnox@samba.org>
1452     * BUG 9568: Document the command line options in dbwrap_tool(1).
1455 o   Jeremy Allison <jra@samba.org>
1456     * BUG 9196: defer_open is triggered multiple times on the same request.
1457     * BUG 9518: conn->share_access appears not be be reset between users.
1458     * BUG 9550: sigprocmask does not work on FreeBSD to stop further signals in
1459       a signal handler.
1460     * BUG 9572: Fix file corruption during SMB1 read by Mac OSX 10.8.2 clients.
1461     * BUG 9586: smbd[29175]: disk_free: sys_popen() failed" message logged in
1462       /var/log/message many times.
1463     * BUG 9587: Archive flag is always set on directories.
1464     * BUG 9588: ACLs are not inherited to directories for DFS shares.
1467 o   Andrew Bartlett <abartlet@samba.org>
1468     * BUG 8909: Fix ACL problem with delegation of privileges and deletion of
1469       accounts over LDAP interface.
1470     * BUG 9461: FSMO seize of naming role fails: NT_STATUS_IO_TIMEOUT.
1471     * BUG 9564: Fix compilation of Solaris ACL module.
1472     * BUG 9581: gensec: Allow login without a PAC by default.
1473     * BUG 9596: Linked attribute handling should be by GUID.
1474     * BUG 9598: Use pid,task_id as cluster_id in process_single just like
1475       process_prefork.
1476     * BUG 9609: ldb: Ensure to decrement the transaction_active whenever we
1477       delete a transaction.
1478     * BUG 9609: Add 'ldbdump' tool.
1479     * BUG 9609: ldb: Remove no-longer-existing ltdb_unpack_data_free from
1480       ldb_tdb.h.
1481     * BUG 9609: ldb: Change ltdb_unpack_data to take an ldb_context.
1482     * BUG 9610: dsdb: Make secrets_tdb_sync cope with -H secrets.ldb.
1485 o   Björn Baumbach <bb@sernet.de>
1486     * BUG 9512: wafsamba: Use additional xml catalog file.
1487     * BUG 9517: samba_dnsupdate: Set KRB5_CONFIG for nsupdate command.
1488     * BUG 9552: smb.conf(5): Update list of available protocols.
1489     * BUG 9568: Add dbwrap_tool.1 manual page.
1490     * BUG 9569: ntlm_auth(1): Fix format and make examples visible.
1493 o   Ira Cooper <ira@samba.org>
1494     * BUG 9575: Duplicate flags defined in the winbindd protocol.
1497 o   Günther Deschner <gd@samba.org>
1498     * BUG 9474: Downgrade v4 printer driver requests to v3.
1499     * BUG 9595: s3-winbind: Fix the build of idmap_ldap.
1502 o   David Disseldorp <ddiss@samba.org>
1503     * BUG 9378: Add extra attributes for AD printer publishing.
1506 o   Stephen Gallagher <sgallagh@redhat.com>
1507     * BUG 9609: ldb: Move doxygen comments for ldb_connect to the right place.
1510 o   Volker Lendecke <vl@samba.org>
1511     * BUG 9541: Make use of posix_openpt.
1512     * BUG 9544: Fix build of vfs_commit and plug in async pwrite support.
1513     * BUG 9546: Fix aio_suspend detection on FreeBSD.
1514     * BUG 9548: Correctly detect O_DIRECT.
1515     * BUG 9549: smbd: Fix memleak in the async echo handler.
1518 o   Stefan Metzmacher <metze@samba.org>
1519     * BUG 8909: Fix ACL problem with delegation of privileges and deletion of
1520       accounts over LDAP interface.
1521     * BUG 9105: check_password_quality: Handle non-ASCII characters properly.
1522     * BUG 9481: samba_upgradeprovision: fix the nTSecurityDescriptor on more
1523       containers.
1524     * BUG 9499: s3:smb2_negprot: set the 'remote_proto' value.
1525     * BUG 9508: s4:drsuapi: Make sure we report the meta data from the cycle
1526       start.
1527     * BUG 9540: terminate the irpc_servers_byname() result with
1528       server_id_set_disconnected().
1529     * BUG 9598: Fix timeouts of some IRPC calls.
1530     * BUG 9609: Fix a warning by converting from TDB_DATA to struct ldb_val.
1533 o   Matthieu Patou <mat@matws.net>
1534     * BUG 8909: Add documentation.
1535     * BUG 9565: Adding additional Samba 4.0 DC to W2k8 srv AD domain (in win200
1536       functional level) produces dbcheck errors.
1539 o   Arvid Requate <requate@univention.de>
1540     * BUG 9555: s4-resolve: Fix parsing of IPv6/AAAA in dns_lookup.
1543 o   Rusty Russell <rusty@rustcorp.com.au>
1544     * BUG 9609: tdb: Add '-e' option to tdbdump (and document it).
1545     * BUG 9609: tdb: 'tdbdump' should log errors, and fail in that case.
1546     * BUG 9609: tdb: Add tdb_rescue() to allow an emergency best-effort dump.
1549 o   Samba-JP oota <ribbon@samba.gr.jp>
1550     * BUG 9528: Remove superfluous bracket in samba.8.xml.
1551     * BUG 9530: Fix typo in vfs_tsmsm.8.xml.
1554 o   Andreas Schneider <asn@samba.org>
1555     * BUG 9574: Fix a possible null pointer dereference in spoolss.
1558 o   Karolin Seeger <kseeger@samba.org>
1559     * BUG 9591: Correct meta data in ldb manpages.
1562 o   Pavel Shilovsky <piastry@etersoft.ru>
1563     * BUG 9571: Fix 'smbd' panic triggered by unlink after open.
1566 o   Andrew Tridgell <tridge@samba.org>
1567     * BUG 9609: ldb: Fix callers for ldb_pack_data() and ldb_unpack_data().
1568     * BUG 9609: ldb: move ldb_pack.c into common.
1571 o   Jelmer Vernooij <jelmer@samba.org>
1572     * BUG 9503: waf assumes that pythonX.Y-config is a Python script.
1575 ######################################################################
1576 Reporting bugs & Development Discussion
1577 #######################################
1579 Please discuss this release on the samba-technical mailing list or by
1580 joining the #samba-technical IRC channel on irc.freenode.net.
1582 If you do report problems then please try to send high quality
1583 feedback. If you don't provide vital information to help us track down
1584 the problem then you will probably be ignored.  All bug reports should
1585 be filed under the Samba 4.0 product in the project's Bugzilla
1586 database (https://bugzilla.samba.org/).
1589 ======================================================================
1590 == Our Code, Our Bugs, Our Responsibility.
1591 == The Samba Team
1592 ======================================================================
1595 ----------------------------------------------------------------------
1598                    =============================
1599                    Release Notes for Samba 4.0.2
1600                          January 30, 2013
1601                    =============================
1604 This is a security release in order to address
1605 CVE-2013-0213 (Clickjacking issue in SWAT) and
1606 CVE-2013-0214 (Potential XSRF in SWAT).
1608 o  CVE-2013-0213:
1609    All current released versions of Samba are vulnerable to clickjacking in the
1610    Samba Web Administration Tool (SWAT). When the SWAT pages are integrated into
1611    a malicious web page via a frame or iframe and then overlaid by other content,
1612    an attacker could trick an administrator to potentially change Samba settings.
1614    In order to be vulnerable, SWAT must have been installed and enabled
1615    either as a standalone server launched from inetd or xinetd, or as a
1616    CGI plugin to Apache. If SWAT has not been installed or enabled (which
1617    is the default install state for Samba) this advisory can be ignored.
1619 o  CVE-2013-0214:
1620    All current released versions of Samba are vulnerable to a cross-site
1621    request forgery in the Samba Web Administration Tool (SWAT). By guessing a
1622    user's password and then tricking a user who is authenticated with SWAT into
1623    clicking a manipulated URL on a different web page, it is possible to manipulate
1624    SWAT.
1626    In order to be vulnerable, the attacker needs to know the victim's password.
1627    Additionally SWAT must have been installed and enabled either as a standalone
1628    server launched from inetd or xinetd, or as a CGI plugin to Apache. If SWAT has
1629    not been installed or enabled (which is the default install state for Samba)
1630    this advisory can be ignored.
1633 Changes since 4.0.1:
1634 ====================
1636 o   Kai Blin <kai@samba.org>
1637     * BUG 9576: CVE-2013-0213: Fix clickjacking issue in SWAT.
1638     * BUG 9577: CVE-2013-0214: Fix potential XSRF in SWAT.
1641 #######################################
1642 Reporting bugs & Development Discussion
1643 #######################################
1645 Please discuss this release on the samba-technical mailing list or by
1646 joining the #samba-technical IRC channel on irc.freenode.net.
1648 If you do report problems then please try to send high quality
1649 feedback. If you don't provide vital information to help us track down
1650 the problem then you will probably be ignored.  All bug reports should
1651 be filed under the Samba 4.0 product in the project's Bugzilla
1652 database (https://bugzilla.samba.org/).
1655 ======================================================================
1656 == Our Code, Our Bugs, Our Responsibility.
1657 == The Samba Team
1658 ======================================================================
1661 ----------------------------------------------------------------------
1664                    =============================
1665                    Release Notes for Samba 4.0.1
1666                           January 15, 2013
1667                    =============================
1670 This is a security release in order to address CVE-2013-0172.
1672 o  CVE-2013-0172:
1673    Samba 4.0.0 as an AD DC may provide authenticated users with write access
1674    to LDAP directory objects.
1676    In AD, Access Control Entries can be assigned based on the objectClass
1677    of the object.  If a user or a group the user is a member of has any
1678    access based on the objectClass, then that user has write access to that
1679    object.
1681    Additionally, if a user has write access to any attribute on the object,
1682    they may have access to write to all attributes.
1684    An important mitigation is that anonymous access is totally disabled by
1685    default.  The second important mitigation is that normal users are
1686    typically only given the problematic per-objectClass right via the
1687    "pre-windows 2000 compatible access" group, and Samba 4.0.0 incorrectly
1688    does not make "authenticated users" part of this group.
1690 Changes since 4.0.0:
1691 ====================
1693 o   Andrew Bartlett <abartlet@samba.org>
1694     * Bug 9554 - CVE-2013-0172 - Samba 4.0 as an AD DC may provide authenticated
1695       users with write access to LDAP directory objects.
1697 #######################################
1698 Reporting bugs & Development Discussion
1699 #######################################
1701 Please discuss this release on the samba-technical mailing list or by
1702 joining the #samba-technical IRC channel on irc.freenode.net.
1704 If you do report problems then please try to send high quality
1705 feedback. If you don't provide vital information to help us track down
1706 the problem then you will probably be ignored.  All bug reports should
1707 be filed under the Samba 4.0 product in the project's Bugzilla
1708 database (https://bugzilla.samba.org/).
1711 ======================================================================
1712 == Our Code, Our Bugs, Our Responsibility.
1713 == The Samba Team
1714 ======================================================================
1717 ----------------------------------------------------------------------
1720                    =============================
1721                    Release Notes for Samba 4.0.0
1722                          December 11, 2012
1723                    =============================
1726 This is is the first stable release of Samba 4.0.
1728 This release contains the best of all of Samba's
1729 technology parts, both a file server (that you can reasonably expect
1730 to upgrade existing Samba 3.x releases to) and the AD domain
1731 controller work previously known as 'Samba4'.
1733 Major enhancements in Samba 4.0.0 include:
1735 Active Directory services
1736 =========================
1738 Samba 4.0 supports the server-side of the Active Directory logon
1739 environment used by Windows 2000 and later, so we can do full domain
1740 join and domain logon operations with these clients.
1742 Our Domain Controller (DC) implementation includes our own built-in
1743 LDAP server and Kerberos Key Distribution Center (KDC) as well as the
1744 Samba3-like logon services provided over CIFS.  We correctly generate
1745 the infamous Kerberos PAC, and include it with the Kerberos tickets we
1746 issue.
1748 When running an AD DC, you only need to run 'samba' (not smbd/nmbd/winbindd),
1749 as the required services are co-coordinated by this master binary.
1750 The tool to administer the Active Directory services is called 'samba-tool'.
1752 A short guide to setting up Samba 4 as an AD DC can be found on the wiki:
1754   http://wiki.samba.org/index.php/Samba4/HOWTO
1757 File Services
1758 =============
1760 Samba 4.0.0 ships with two distinct file servers.  We now use the
1761 file server from the Samba 3.x series 'smbd' for all file serving by
1762 default.
1764 Samba 4.0 also ships with the 'NTVFS' file server.  This file server
1765 is what was used prior to the beta2 release of Samba 4.0, and is
1766 tuned to match the requirements of an AD domain controller.  We
1767 continue to support this, not only to provide continuity to
1768 installations that have deployed it as part of an AD DC, but also as a
1769 running example of the NT-FSA architecture we expect to move smbd to in
1770 the longer term.
1772 For pure file server work, the binaries users would expect from that
1773 series (smbd, nmbd, winbindd, smbpasswd) continue to be available.
1776 Domain Member Support
1777 =====================
1779 Domain member support in the 'samba' binary is in its infancy, and
1780 is not comparable to the support found in 'winbindd'. As such, on
1781 Samba domain member servers, the binaries 'smbd', 'nmbd' and 'winbindd'
1782 are to be used, as known from Samba 3 domain member server setups.
1783 The only exceptions from this rule are the cases which explicitly
1784 require the 'samba' binary, namely running the ntvfs file server,
1785 the CIFS proxy or OpenChange on a domain member.
1791 As DNS is an integral part of Active Directory, we also provide two DNS
1792 solutions, a simple internal DNS server for 'out of the box' configurations
1793 and a more elaborate BIND plugin using the BIND DLZ mechanism in versions
1794 9.8 and 9.9. During the provision, you can select which backend to use.
1795 With the internal backend, your DNS server is good to go.
1796 If you chose the BIND_DLZ backend, a configuration file will be generated
1797 for bind to make it use this plugin, as well as a file explaining how to
1798 set up bind.
1804 To provide accurate timestamps to Windows clients, we integrate with
1805 the NTP project to provide secured NTP replies.  To use you need to
1806 start ntpd and configure it with the 'restrict ... ms-sntp' and
1807 ntpsigndsocket options.
1810 Python Scripting Interface
1811 ==========================
1813 A new scripting interface has been added to Samba 4, allowing
1814 Python programs to interface to Samba's internals, and many tools and
1815 internal workings of the DC code is now implemented in python.
1818 Known Issues
1819 ============
1821 - Replication of DNS data from one AD server to another may not work.
1822   The DNS data used by the internal DNS server and bind9_dlz is stored
1823   in an application partition in our directory.  The replication of
1824   this partition is not yet reliable.
1826 - Replication may fail on FreeBSD due to getaddrinfo() rejecting names
1827   containing _.  A workaround will be in a future release.
1829 - samba_upgradeprovision should not be run when upgrading to this release
1830   from a recent release.  No important database format changes have
1831   been made since alpha16.
1833 - Installation on systems without a system iconv (and developer
1834   headers at compile time) is known to cause errors when dealing with
1835   non-ASCII characters.
1837 - There is no NetBIOS browsing support (network neighbourhood)
1838   available for the AD domain controller.  (Support in nmbd and smbd
1839   for classic domains and member/standalone servers is unchanged).
1841 - Clock Synchronisation is critical.  Many 'wrong password' errors are
1842   actually due to Kerberos objecting to a clock skew between client
1843   and server.  (The NTP work in the previous alphas are partly to assist
1844   with this problem).
1846 - The DRS replication code may fail.  Please contact the team if you
1847   experience issues with DRS replication, as we have fixed many issues
1848   here in response to feedback from our production users.
1850 - Linux inotify will now only be supported on systems where glibc also supports
1851   it (for details, please refer to bug #8850).
1854 Upgrading
1855 =========
1857 Users upgrading from Samba 3.x domain controllers and wanting to use
1858 Samba 4.0 as an AD DC should use the 'samba-tool domain
1859 classicupgrade' command.  See the wiki for more details:
1860 https://wiki.samba.org/index.php/Samba4/samba3upgrade/HOWTO.
1862 Users upgrading from Samba 4.0 alpha and beta releases since alpha15
1863 should run 'samba-tool dbcheck --cross-ncs --fix' before re-starting
1864 Samba.  Users upgrading from earlier alpha releases should contact the
1865 team for advice.
1867 Users upgrading an AD DC from any previous release should run
1868 'samba-tool ntacl sysvolreset' to re-sync ACLs on the sysvol share
1869 with those matching the GPOs in LDAP and the defaults from an initial
1870 provision.  This will set an underlying POSIX ACL if required (eg not
1871 using the NTVFS file server).
1873 If you used the BIND9_FLATFILE or BIND9_DLZ features,
1874 you'll have to add '-dns' to the 'server services' option,
1875 as the internal dns server (SAMBA_INTERNAL) is the default now.
1878 Supported features
1879 ==================
1881 A whitepaper of currently (un-)supported features is available on the wiki:
1883   https://wiki.samba.org/index.php/Samba_4.0_Whitepaper
1886 ######################################################################
1887 Changes
1888 #######
1890 smb.conf changes
1891 ----------------
1893    Parameter Name                       Description
1894    --------------                       -----------
1896    acl compatibility                    Removed
1897    allow dns updates                    New
1898    announce as                          Removed
1899    announce version                     Removed
1900    cldap port                           New
1901    client max protocol                  New
1902    client min protocol                  New
1903    client signing                       Changed default
1904    dcerpc endpoint servers              New
1905    dgram port                           New
1906    directory security mask              Removed
1907    display charset                      Removed
1908    dns forwarder                        New
1909    dns update command                   New
1910    force security mode                  Removed
1911    force directory security mode        Removed
1912    homedir map                          Changed default
1913    kernel oplocks                       Changed default
1914    kernel share modes                   New
1915    kpasswd port                         New
1916    krb5 port                            New
1917    nbt client socket address            New
1918    nbt port                             New
1919    nsupdate command                     New
1920    ntp signd socket directory           New
1921    ntvfs handler                        New
1922    paranoid server security             Removed
1923    pid directory                        New
1924    printer admin                        Removed
1925    rndc command                         New
1926    rpc big endian                       New
1927    samba kcc command                    New
1928    security mask                        Removed
1929    send spnego principal                Removed
1930    server max protocol                  New
1931    server min protocol                  New
1932    server role                          New
1933    server services                      New
1934    server signing                       Changed default
1935    share backend                        New
1936    share modes                          Removed
1937    smb2 max read                        Changed default
1938    smb2 max write                       Changed default
1939    smb2 max trans                       Changed default
1940    socket address                       Removed
1941    spn update command                   New
1942    time offset                          Removed
1943    tls cafile                           New
1944    tls certfile                         New
1945    tls crlfile                          New
1946    tls dh params file                   New
1947    tls enabled                          New
1948    tls keyfile                          New
1949    unicode                              New
1950    web port                             New
1951    winbindd privileged socket directory New
1952    winbind sealed pipes                 New
1953    winbindd socket directory            New
1956 CHANGES SINCE 4.0.0rc6
1957 ======================
1959 o   Michael Adam <obnox@samba.org>
1960     * BUG 9414: Honor password complexity settings.
1961     * BUG 9456: developer-build: Fix panic when acl_xattr fails with access
1962       denied.
1963     * BUG 9457: Fix "map username script" with "security=ads" and Winbind.
1966 o   Jeremy Allison <jra@samba.org>
1967     * BUG 9462: Users can not be given write permissions any more by default.
1970 o   Andrew Bartlett <abartlet@samba.org>
1971     * BUG 9415: Install SWAT *.msg files with waf.
1974 o   Alexander Bokovoy <ab@samba.org>
1975     * BUG 9479: Support FIPS mode when building Samba.
1978 o   Günther Deschner <gd@samba.org>
1979     * BUG 9438: Fix netr_ServerPasswordSet2, netr_LogonSamLogon with netlogon
1980       AES.
1983 o   Tsukasa Hamano <hamano@osstech.co.jp>
1984     * BUG 9471: Fix SEGV when using second vfs module.
1987 o   Stefan Metzmacher <metze@samba.org>
1988     * BUG 9414: Honor password complexity settings.
1989     * BUG 9470: Fix MMC crashes.
1990     * BUG 9481: Fix ACL on "cn=partitions,cn=configuration".
1993 o   Andreas Schneider <asn@samba.org>
1994     * BUG 9459: Install manpages only if we install the target.
1997 o   Richard Sharpe <realrichardsharpe@gmail.com>
1998     * BUG 9460: Respond correctly to FILE_STREAM_INFO requests.
2001 CHANGES SINCE 4.0.0rc5
2002 ======================
2004 In this release candidate, we have a significant number of improvements
2005 to our Access Control List (ACL) code, particularly for the Active
2006 Directory Domain Controller, but also in our general purpose file
2007 server.
2009 These changes are important, as they enable Group Policy Objects to work
2010 correctly, allow administrators to impose restrictions on some users
2011 reading certain parts of the directory and correctly propagating
2012 inherited ACLs down the LDAP directory tree.
2014 Users of the Active Directory Domain Controller upgrading from any
2015 previous release should run 'samba-tool ntacl sysvolreset' to re-sync
2016 ACLs on the sysvol share with those matching the GPOs in LDAP and the
2017 defaults from an initial provision.  This will set an underlying POSIX
2018 ACL if required.
2020 The ACLs in the Active Directory are also checked on searches by default.
2021 The automatic inheritance of ACLs is also correctly recalculated on
2022 changes now.
2024 o   Michael Adam <obnox@samba.org>
2025     * BUG 9350: Fail "configure --with-ads" if ads support is not available.
2026     * BUG 9446: Id mapping code delivers inconsistent results.
2027     * BUG 9453: Fix building pdb_ldap as shared module.
2030 o   Jeremy Allison <jra@samba.org>
2031     * BUG 9236: ACL masks incorrectly applied when setting ACLs.
2032     * BUG 9374: Allow smb2.acls torture test to pass against smbd with a POSIX
2033       ACLs backend.
2036 o   Christian Ambach <ambi@samba.org>
2037     * BUG 9178: Add DMAPI configure option and checks.
2038     * BUG 9274: Document shadow:snapdirseverywhere option of vfs_shadow_copy2.
2039     * BUG 9339: Backport build fixes from master.
2040     * BUG 9411: aio read marks the file as modified.
2041     * BUG 9413: Fix waf build on AIX6.
2044 o   Andrew Bartlett <abartlet@samba.org>
2045     * BUG 9121: Provide and use setproctitle replacement function for samba4
2046       processes on linux.
2047     * BUG 9271: samba-tool: Rework ldap attribute fetch in classicupgrade for
2048       missing attributes.
2049     * BUG 9421: Fix several build issues.
2050     * BUG 9448: Backport several crash bugs from master.
2053 o   Sumit Bose <sbose@redhat.com>
2054     * BUG 9367: Use work around for 'winbind use default domain' only if it
2055       is set.
2058 o   Kai Blin <kai@samba.org>
2059     * BUG 9399 - 'samba-tool dns serverinfo localhost' returns 'Memory
2060       allocation error'.
2061     * BUG 9449: Remove unused samba-dig tool.
2064 o   Günther Deschner <gd@samba.org>
2065     * BUG 9426: rpc_client: lookup nametype 0x20 in rpc_pipe_open_tcp_port().
2066     * BUG 9439: Fix ncacn_ip_tcp reconnection code for lsa lookups.
2067     * BUG 9451: Allow to force DNS updates using net.
2070 o   David Disseldorp <ddiss@samba.org>
2071     * BUG 9433: spoolss: Fix segfault when "default devmode" is disabled.
2074 o   Amitay Isaacs <amitay@gmail.com>
2075     * BUG 9265: Bind dlz fails to start if there is a trustedanchors zone.
2076     * BUG 9354: Fix format string vulnerability in an error message.
2079 o   Volker Lendecke <vl@samba.org>
2080     * BUG 9422: Large read requests cause server to issue malformed reply.
2081     * BUG 9440: Do not rely on dbwrap_record_get_value to return a talloc
2082       object.
2085 o   Stefan Metzmacher <metze@samba.org>
2086     * BUG 8620: Read ACL are not enabled by default on DS.
2087     * BUG 8621: ACL are not recalculated if parent is changed and inherit is
2088       enabled.
2089     * BUG 9373: samba-tool: Report a CommandError if loading of the config file
2090       fails.
2091     * BUG 9385: Add missing newline in the output of ldb_ldif_write_trace().
2092     * BUG 9390: Fix segfaults in "log level = 10" on Solaris.
2093     * BUG 9402: lib/addns: Fix working with a bind9 server.
2094     * BUG 9406: ACL fixes since 4.0 rc1.
2095     * BUG 9447: Backport tests from master.
2096     * BUG 9448: Backport several crash bugs from master.
2099 o   Ricky Nance <ricky.nance@weaubleau.k12.mo.us>
2100     * BUG 9449: Remove phpldapadmin inclusion.
2103 o   Matthieu Patou <mat@matws.net>
2104     * BUG 9418: Fix MD5 detection in the autoconf build.
2107 o   Arvid Requate <requate@univention.de>
2108     * BUG 9376: Fix typo in got_duplicate_group check.
2109     * BUG 9392: Fix 'samba-tool fsmo --role=schema'.
2112 o   Andreas Schneider <asn@samba.org>
2113     * BUG 9386: Failover if netlogon pipe is not available.
2114     * BUG 9436: Fix leaking sockets of SMB connections to a DC.
2117 o   Karolin Seeger <kseeger@samba.org>
2118     * BUG 9425: Do not build ntdb by default.
2119     * BUG 9437: Warnings when building manpages with waf.
2120     * BUG 9443: Manpages of the libraries are located in different
2121       subdirectories.
2122     * BUG 9444: Merge both samba.8 manpages.
2123     * BUG 9445: Update man 7 samba.
2126 o   Jelmer Vernooij <jelmer@samba.org>
2127     * BUG 9339: Backport build fixes from master.
2130 CHANGES SINCE 4.0.0rc4
2131 ======================
2133 With this release candidate the location of the socket samba accepts
2134 connections from NTPd has changed, as has the enforced permissions.
2136 This means the ntp.conf will need to change from (eg)
2138 ntpsigndsocket /usr/local/samba/var/run/ntp_signd/
2142 ntpsigndsocket /usr/local/samba/var/lib/ntp_signd/
2144 To use the socket with ntp on a system with an ntp user and group, you must
2145 run:
2147 chgrp ntp /usr/local/samba/var/lib/ntp_signd/
2149 o   Michael Adam <obnox@samba.org>
2150     * BUG 9321: winbindd:cache: Fix offline logons with cached credentials.
2151     * BUG 9339: Build and quota fixes.
2152     * BUG 9353: Fix the cluster(ctdb) build without system talloc installed.
2155 o   Christian Ambach <ambi@samba.org>
2156     * BUG 9208: Cannot migrate files with inheritance flags to share on top of
2157       NFSv4 filesystem.
2158     * BUG 9361: Quotas management doesn't work with SMB2/3.
2161 o   Andrew Bartlett <abartlet@samba.org>
2162     * BUG 9317: Cannot easily change to internal DNS server.
2163     * BUG 9338: lib/replace: Return size of xattr if size argument is 0.
2164     * BUG 9339: Build and quota fixes.
2165     * BUG 9340: Do not use the wheel group for 'administrators'.
2166     * BUG 9347: winbind: Extend wbcAuthenticateUserEx to provide PAC.
2167     * BUG 9352: Fix samba crashes with certain RPC calls.
2168     * BUG 9355: Set mask values to 0777 and use fileserver.conf.
2169     * BUG 9357: Don't expose more symbols than specified by abi_match setting.
2170     * BUG 9379: ntp_signd permissions are too broad.
2173 o   Björn Baumbach <bb@sernet.de>
2174     * BUG 9300: vfs_streams_depot: Add delete_lost option.
2175     * BUG 9348: Fix the build against older ctdb versions.
2176     * BUG 9345: fix use of <smbconfoption> tag.
2177     * BUG 9349: Fix check for ctdb_private.h
2178     * BUG 9351: Fail "configure --with-cluster-support" if ctdb support is not
2179       available.
2182 o   Ira Cooper <ira@samba.org>
2183     * BUG 9339: Build and quota fixes.
2186 o   Günther Deschner <gd@samba.org>
2187     * BUG 9272: 'net ads join' does not provide AES keys in host keytab.
2190 o   David Disseldorp <ddiss@samba.org>
2191     * BUG 9125: Revert "s3-winbindd: make sure we obey the -n switch
2192       also for samlogon cache access" and describe samlogon cache caveat for
2193       'winbindd -n'.
2196 o   Björn Jacke <bj@sernet.de>
2197     * BUG 7472: Check for dn_expand also in libinet.
2198     * BUG 9339: Build and quota fixes.
2201 o   Volker Lendecke <vl@samba.org>
2202     * BUG 9208: Cannot migrate files with inheritance flags to share on top of
2203       NFSv4 filesystem.
2204     * BUG 9352: dsdb: Simplify DsCrackNameOneFilter a bit.
2207 o   Stefan Metzmacher <metze@samba.org>
2208     * BUG 8620: Read ACL are not enabled by default on DS.
2209     * BUG 9175: Add smbXcli_session_set_disconnect_expired().
2210     * BUG 9341: Fix SMBD_SMB2_NUM_IOV_PER_REQ check for sendfile().
2211     * BUG 9359: Optimization needed for SMB2 performance sensitive workloads.
2212     * BUG 9360: SMB1 tree connect time is wrong.
2215 o   Ricky Nance <ricky.nance@weaubleau.k12.mo.us>
2216     * BUG 9339: Build and quota fixes.
2219 o   Rusty Russell <rusty@rustcorp.com.au>
2220     * BUG 9339: Build and quota fixes.
2223 o   Christof Schmitt <christof.schmitt@us.ibm.com>
2224     * BUG 9347: winbind: Extend wbcAuthenticateUserEx to provide PAC.
2227 o   Andreas Schneider <asn@samba.org>
2228     * BUG 9326: Fix 'net ads join' message for the dns domain.
2229     * BUG 9336: Add NetworkManager dispatcher script for Winbind.
2230     * BUG 9339: Build and quota fixes.
2233 o   Jelmer Vernooij <jelmer@samba.org>
2234     * BUG 9357: Don't expose more symbols than specified by abi_match setting.
2237 CHANGES SINCE 4.0.0rc3
2238 ======================
2240 o   Michael Adam <obnox@samba.org>
2241     * BUG 9304: Remove unused sessionid.tdb and connections.tdb related code.
2242     * BUG 9319: validate stat(2) information before reconnect durable handles.
2245 o   Jeremy Allison <jra@samba.org>
2246     * BUG 9190: Fix regression (change in behavior) of default acl masks.
2247       Remove "security mask", "force security mode", "directory security mask"
2248       "force directory" and "security mode" parameters.
2249     * BUG 9329: Directory listing with SeBackup can crash smbd.
2252 o   Andrew Bartlett <abartlet@samba.org>
2253     * BUG 9295: Assert that auth_domain, auth_builtin, auth_sam, auth_winbind
2254       are builtin.
2255     * BUG 9322: Backport ldb version update.
2258 o   Björn Baumbach <bb@sernet.de>
2259     * BUG 9190: docs: Fix opening and ending tag mismatch: para.
2262 o   Gregor Beck <gbeck@sernet.de>
2263     * BUG 9304: Remove unused sessionid.tdb and connections.tdb related code.
2266 o   David Disseldorp <ddiss@suse.de>
2267     * BUG 8564: Fix segfault in pam_sm_authenticate().
2270 o   Stefan Metzmacher <metze@samba.org>
2271     * BUG 9184: Fix loop in tdgram_bsd_recvfrom().
2272     * BUG 9209: Fix unitialized padding in smb2_create_blob_push_one().
2273     * BUG 9304: Remove unused sessionid.tdb and connections.tdb related code.
2274     * BUG 9309: Avoid a level 0 DEBUG if tstream_npa_connect_recv fails.
2275     * BUG 9318: Fix write time updates for durable handles.
2278 o   Andreas Schneider <asn@samba.org>
2279     * BUG 9295: Build standard auth modules as internal modules.
2280     * BUG 9301: Move 'smbprint' to a common location.
2283 o   Jelmer Vernooij <jelmer@samba.org>
2284     * BUG 9274: Add documentation and selftest fixes.
2287 CHANGES SINCE 4.0.0rc2
2288 ======================
2290 o   Jeremy Allison <jra@samba.org>
2291     * BUG 8966: Fix 'net rpc share allowedusers' to work with 2008r2.
2292     * BUG 9209: Parse of invalid SMB2 create blob can cause smbd crash.
2293     * BUG 9214: Bad user supplied SMB2 credit value can cause smbd to call
2294       smb_panic.
2295     * BUG 9222: Document that signing cannot be disabled for SMB2 by design.
2298 o   Andrew Bartlett <abartlet@samba.org>
2299     * BUG 9235: Update Samba3-HOWTO Collection.
2300     * BUG 9271: samba-tool: Skip chown in sysvolreset when it would fail on
2301       a GID.
2302     * BUG 9274: Update Samba3-HOWTO Collection.
2305 o   Björn Baumbach <bb@sernet.de>
2306     * BUG 9235: Fix opening and ending tag mismatch in Samba3-HOWTO.
2307     * BUG 9271: Fix typos in samba_backup.
2308     * BUG 9274: Add delete_lost option to vfs_streams_depot.8.
2311 o   Kai Blin <kai@samba.org>
2312     * BUG 9225: Fix return code for deleted DNS records.
2313     * BUG 8878: Time out UDP requests after DNS_REQUEST_TIMEOUT seconds.
2316 o   Günther Deschner <gd@samba.org>
2317     * BUG 9177: pam_winbind: Match more return codes when wbcGetPwnam has
2318     failed.
2321 o   David Disseldorp <ddiss@samba.org>
2322     * BUG 9269: Fix 64bit-portability-issue.
2325 o   Björn Jacke <bj@sernet.de>
2326     * BUG 5670: Apply some Solaris packaging fixes.
2327     * BUG 8107: Fix poll replacement to become a msleep replacement.
2328     * BUG 8344: Fix --with(out)-sendfile-support option handling.
2331 o   Volker Lendecke <vl@samba.org>
2332     * BUG 9223: Fix uninitialized variable in the cldap server.
2333     * BUG 9268: Make tdb robust against improper CLEAR_IF_FIRST restart.
2336 o   Stefan Metzmacher <metze@samba.org>
2337     * BUG 9271: Several samba-tool fixes.
2338     * BUG 9196: Don't take 'state->te' as indication for "was_deferred".
2341 o   Matthieu Patou <mat@matws.net>
2342     * BUG 9240: Remove unused variable in DNS server.
2343     * BUG 9252: Preliminary tests for dcpromo in Windows 2012 fails with
2344       Samba DC.
2345     * BUG 9253: Crackname returns a dns domain name even if there is no cracked
2346       SID.
2347     * BUG 9255: Getncchanges with exop for repl_obj returns highest_usn.
2348     * BUG 9256: Getncchanges with exop for repl_obj_with_secrets should always
2349       be allowed for RWDC.
2350     * BUG 9257: LDAP server has at least one un-initialized variable.
2351     * BUG 9258: LDAP server ignore configuration values set in the database for
2352       timeout.
2353     * BUG 9259: rodc join fails complaining that it can't find a RWDC.
2354     * BUG 9260: kccdrs_replica_get_info returns invalid level when non
2355       supported should be returned.
2356     * BUG 9261: ds_replica_sync fails when specifying a name and not a guid.
2357     * BUG 9264: getncchanges returns invalid_parameters when it should return
2358       bad_nc.
2359     * BUG 9254: DsExecuteKCC returns wrong error code if taskid != 0.
2360     * BUG 9265: Bind dlz fails to start if there is a trustedanchors zone.
2363 o   Rusty Russell <rusty@rustcorp.com.au>
2364     * BUG 9268: Make tdb robust against shrinking tdbs.
2367 o   Andreas Schneider <asn@samba.org>
2368     * BUG 8769: Fix RAW printing for normal users.
2369     * BUG 9112: Increase debug level for info that the db is empty.
2370     * BUG 9244: Build pam_smbpass module only if enabled.
2371     * BUG 9245: Make sure the registry is set up before we init printing.
2372     * BUG 9276: Add config for systemd-tmpfiles.
2373     * BUG 9280: Add support for reloading systemd services.
2376 o   Karolin Seeger <kseeger@samba.org>
2377     * BUG 7826: Remove link to Using Samba.
2378     * BUG 8802: Add basic manpages for 'samba' and 'samba-tool'.
2379     * BUG 9165: Fix makerpms.sh on RHEL.
2380     * BUG 9243: Remove duplicate synonym min protocol.
2381     * BUG 9271: Several samba-tool fixes.
2384 o   Jelmer Vernooij <jelmer@samba.org>
2385     * BUG 9243: Add basic documentation for 'server min protocol'.
2386     * BUG 9271: Several samba-tool fixes.
2387     * BUG 9274: Add documentation for several parameters.
2390 o   Matthias Dieter Wallnöfer <mdw@samba.org>
2391     * BUG 9183: Introduce the wildcard binding feature to allow DNS to listen on
2392       localhost.
2395 CHANGES SINCE 4.0.0rc1
2396 ======================
2398 o   Michael Adam <obnox@samba.org>
2399     * BUG 9173: Make the SMB2 compound request create/delete_on_close/
2400       close work as Windows.
2403 o   Jeremy Allison <jra@samba.org>
2404     * BUG 9161: Re-add the vfs_Chdir() cache.
2405     * BUG 9189: SMB2 Create doesn't return correct MAX ACCESS access mask in
2406       blob.
2407     * BUG 9213: Bad ASN.1 NegTokenInit packet can cause invalid free.
2410 o   Christian Ambach <ambi@samba.org>
2411     * BUG 9162: Fix the build of the GPFS VFS module.
2412     * BUG 9197: Only do 'printing_subsystem_update' when printing is enabled.
2415 o   Andrew Bartlett <abartlet@samba.org>
2416     * BUG 9228: Fix build on systems without ldap development headers.
2419 o   Alexander Bokovoy <ab@samba.org>
2420     * BUG 9157: Cleanup idmap_ldap build dependencies.
2421     * BUG 9228: Make smbldaphelper subsystem an internal library.
2422     * BUG 9229: Fix build of winbindd- and krb5 locator-related manpages.
2425 o   Sumit Bose <sbose@redhat.com>
2426     * BUG 9185: Allow DNS resolution of trusted domains if DNS name is
2427       available.
2430 o   Ira Cooper <ira@samba.org>
2431     * BUG 9162: Fix build on Illumos/Solaris using '--with-acl'.
2432     * BUG 9173: Compound requests should continue processing.
2435 o   Günther Deschner <gd@samba.org>
2436     * BUG 9185: Winbind cannot resolve AD DC in a different subnet.
2439 o   Björn Jacke <bj@sernet.de>
2440     * BUG 9162: Fix the build of the ACL VFS modules.
2441     * BUG 9172: Fix reporting of gfs2 quotas.
2444 o   Volker Lendecke <vl@samba.org>
2445     * BUG 9217: CreateFile with FILE_DIRECTORY_FILE can create directories
2446       on read-only shares.
2449 o   Vladimir Marek <Vladimir.Marek@Oracle.COM>
2450     * BUG 9192: Fix service control for non-internal services.
2453 o   Stefan Metzmacher <metze@samba.org>
2454     * BUG 9173: Make the SMB2 compound request create/delete_on_close/
2455       close work as Windows.
2456     * BUG 9184: Fix receiving of UDP packets from 0 bytes.
2457     * BUG 9191: Release the share mode lock before calling exit_server().
2458     * BUG 9193: Fix usage of invalid memory in smb2_signing_check_pdu().
2459     * BUG 9194: Disallow '--prefix=/usr' and '--prefix=/usr/local' without
2460       '--enable-fhs'.
2461     * BUG 9198: Fix RHEL-CTDB packaging.
2464 o   Matthieu Patou <mat@matws.net>
2465     * BUG 9199: Fix usage of "panic action".
2466     * BUG 9233: Fix a non handled memory out of memory.
2469 o   Andreas Schneider <asn@samba.org>
2470     * BUG 8632: Fix builtin forms order to match Windows again.
2471     * BUG 9159: Fix generating idmap manpages.
2472     * BUG 9218: Don't segfault if user specified ports out for range.
2473     * BUG 9231: Fix NT_STATUS_IO_TIMEOUT during slow import of printers into
2474       registry.
2477 #######################################
2478 Reporting bugs & Development Discussion
2479 #######################################
2481 Please discuss this release on the samba-technical mailing list or by
2482 joining the #samba-technical IRC channel on irc.freenode.net.
2484 If you do report problems then please try to send high quality
2485 feedback. If you don't provide vital information to help us track down
2486 the problem then you will probably be ignored.  All bug reports should
2487 be filed under the Samba 4.0 product in the project's Bugzilla
2488 database (https://bugzilla.samba.org/).
2491 ======================================================================
2492 == Our Code, Our Bugs, Our Responsibility.
2493 == The Samba Team
2494 ======================================================================