WHATSNEW: Update release notes.
[Samba.git] / WHATSNEW.txt
blobfa09d3f8826bb8a41d0b4a57dd485e42752811fa
1                    =============================
2                    Release Notes for Samba 4.0.3
3                          February 05, 2013
4                    =============================
7 This is is the latest stable release of Samba 4.0.
9 Major enhancements in Samba 4.0.3 include:
12 o  check_password_quality: Handle non-ASCII characters properly. (bug #9105).
13 o  Fix ACL problem with delegation of privileges and deletion of accounts
14    over LDAP interface (bug #8909).
15 o  Fix 'smbd' panic triggered by unlink after open (bug #9571).
16 o  smbd: Fix memleak in the async echo handler (bug #9549).
19 Changes since 4.0.2:
20 --------------------
22 o   Michael Adam <obnox@samba.org>
23     * BUG 9568: Document the command line options in dbwrap_tool(1).
26 o   Jeremy Allison <jra@samba.org>
27     * BUG 9196: defer_open is triggered multiple times on the same request.
28     * BUG 9518: conn->share_access appears not be be reset between users.
29     * BUG 9550: sigprocmask does not work on FreeBSD to stop further signals in
30       a signal handler.
31     * BUG 9572: Fix file corruption during SMB1 read by Mac OSX 10.8.2 clients.
32     * BUG 9586: smbd[29175]: disk_free: sys_popen() failed" message logged in
33       /var/log/message many times.
34     * BUG 9587: Archive flag is always set on directories.
35     * BUG 9588: ACLs are not inherited to directories for DFS shares.
38 o   Andrew Bartlett <abartlet@samba.org>
39     * BUG 8909: Fix ACL problem with delegation of privileges and deletion of
40       accounts over LDAP interface.
41     * BUG 9461: FSMO seize of naming role fails: NT_STATUS_IO_TIMEOUT.
42     * BUG 9564: Fix compilation of Solaris ACL module.
43     * BUG 9581: gensec: Allow login without a PAC by default.
44     * BUG 9596: Linked attribute handling should be by GUID.
45     * BUG 9598: Use pid,task_id as cluster_id in process_single just like
46       process_prefork.
47     * BUG 9609: ldb: Ensure to decrement the transaction_active whenever we
48       delete a transaction.
49     * BUG 9609: Add 'ldbdump' tool.
50     * BUG 9609: ldb: Remove no-longer-existing ltdb_unpack_data_free from
51       ldb_tdb.h.
52     * BUG 9609: ldb: Change ltdb_unpack_data to take an ldb_context.
53     * BUG 9610: dsdb: Make secrets_tdb_sync cope with -H secrets.ldb.
56 o   Björn Baumbach <bb@sernet.de>
57     * BUG 9512: wafsamba: Use additional xml catalog file.
58     * BUG 9517: samba_dnsupdate: Set KRB5_CONFIG for nsupdate command.
59     * BUG 9552: smb.conf(5): Update list of available protocols.
60     * BUG 9568: Add dbwrap_tool.1 manual page.
61     * BUG 9569: ntlm_auth(1): Fix format and make examples visible.
64 o   Ira Cooper <ira@samba.org>
65     * BUG 9575: Duplicate flags defined in the winbindd protocol.
68 o   Günther Deschner <gd@samba.org>
69     * BUG 9474: Downgrade v4 printer driver requests to v3.
70     * BUG 9595: s3-winbind: Fix the build of idmap_ldap.
73 o   David Disseldorp <ddiss@samba.org>
74     * BUG 9378: Add extra attributes for AD printer publishing.
77 o   Stephen Gallagher <sgallagh@redhat.com>
78     * BUG 9609: ldb: Move doxygen comments for ldb_connect to the right place.
81 o   Volker Lendecke <vl@samba.org>
82     * BUG 9541: Make use of posix_openpt.
83     * BUG 9544: Fix build of vfs_commit and plug in async pwrite support.
84     * BUG 9546: Fix aio_suspend detection on FreeBSD.
85     * BUG 9548: Correctly detect O_DIRECT.
86     * BUG 9549: smbd: Fix memleak in the async echo handler.
89 o   Stefan Metzmacher <metze@samba.org>
90     * BUG 8909: Fix ACL problem with delegation of privileges and deletion of
91       accounts over LDAP interface.
92     * BUG 9105: check_password_quality: Handle non-ASCII characters properly.
93     * BUG 9481: samba_upgradeprovision: fix the nTSecurityDescriptor on more
94       containers.
95     * BUG 9499: s3:smb2_negprot: set the 'remote_proto' value.
96     * BUG 9508: s4:drsuapi: Make sure we report the meta data from the cycle
97       start.
98     * BUG 9540: terminate the irpc_servers_byname() result with
99       server_id_set_disconnected().
100     * BUG 9598: Fix timeouts of some IRPC calls.
101     * BUG 9609: Fix a warning by converting from TDB_DATA to struct ldb_val.
104 o   Matthieu Patou <mat@matws.net>
105     * BUG 8909: Add documentation.
106     * BUG 9565: Adding additional Samba 4.0 DC to W2k8 srv AD domain (in win200
107       functional level) produces dbcheck errors.
110 o   Arvid Requate <requate@univention.de>
111     * BUG 9555: s4-resolve: Fix parsing of IPv6/AAAA in dns_lookup.
114 o   Rusty Russell <rusty@rustcorp.com.au>
115     * BUG 9609: tdb: Add '-e' option to tdbdump (and document it).
116     * BUG 9609: tdb: 'tdbdump' should log errors, and fail in that case.
117     * BUG 9609: tdb: Add tdb_rescue() to allow an emergency best-effort dump.
120 o   Samba-JP oota <ribbon@samba.gr.jp>
121     * BUG 9528: Remove superfluous bracket in samba.8.xml.
122     * BUG 9530: Fix typo in vfs_tsmsm.8.xml.
125 o   Andreas Schneider <asn@samba.org>
126     * BUG 9574: Fix a possible null pointer dereference in spoolss.
129 o   Karolin Seeger <kseeger@samba.org>
130     * BUG 9591: Correct meta data in ldb manpages.
133 o   Pavel Shilovsky <piastry@etersoft.ru>
134     * BUG 9571: Fix 'smbd' panic triggered by unlink after open.
137 o   Andrew Tridgell <tridge@samba.org>
138     * BUG 9609: ldb: Fix callers for ldb_pack_data() and ldb_unpack_data().
139     * BUG 9609: ldb: move ldb_pack.c into common.
142 o   Jelmer Vernooij <jelmer@samba.org>
143     * BUG 9503: waf assumes that pythonX.Y-config is a Python script.
146 ######################################################################
147 Reporting bugs & Development Discussion
148 #######################################
150 Please discuss this release on the samba-technical mailing list or by
151 joining the #samba-technical IRC channel on irc.freenode.net.
153 If you do report problems then please try to send high quality
154 feedback. If you don't provide vital information to help us track down
155 the problem then you will probably be ignored.  All bug reports should
156 be filed under the Samba 3.6 product in the project's Bugzilla
157 database (https://bugzilla.samba.org/).
160 ======================================================================
161 == Our Code, Our Bugs, Our Responsibility.
162 == The Samba Team
163 ======================================================================
165 Release notes for older releases follow:
166 ----------------------------------------
168                    =============================
169                    Release Notes for Samba 4.0.2
170                          January 30, 2013
171                    =============================
174 This is a security release in order to address
175 CVE-2013-0213 (Clickjacking issue in SWAT) and
176 CVE-2013-0214 (Potential XSRF in SWAT).
178 o  CVE-2013-0213:
179    All current released versions of Samba are vulnerable to clickjacking in the
180    Samba Web Administration Tool (SWAT). When the SWAT pages are integrated into
181    a malicious web page via a frame or iframe and then overlaid by other content,
182    an attacker could trick an administrator to potentially change Samba settings.
184    In order to be vulnerable, SWAT must have been installed and enabled
185    either as a standalone server launched from inetd or xinetd, or as a
186    CGI plugin to Apache. If SWAT has not been installed or enabled (which
187    is the default install state for Samba) this advisory can be ignored.
189 o  CVE-2013-0214:
190    All current released versions of Samba are vulnerable to a cross-site
191    request forgery in the Samba Web Administration Tool (SWAT). By guessing a
192    user's password and then tricking a user who is authenticated with SWAT into
193    clicking a manipulated URL on a different web page, it is possible to manipulate
194    SWAT.
196    In order to be vulnerable, the attacker needs to know the victim's password.
197    Additionally SWAT must have been installed and enabled either as a standalone
198    server launched from inetd or xinetd, or as a CGI plugin to Apache. If SWAT has
199    not been installed or enabled (which is the default install state for Samba)
200    this advisory can be ignored.
203 Changes since 4.0.1:
204 ====================
206 o   Kai Blin <kai@samba.org>
207     * BUG 9576: CVE-2013-0213: Fix clickjacking issue in SWAT.
208     * BUG 9577: CVE-2013-0214: Fix potential XSRF in SWAT.
211 #######################################
212 Reporting bugs & Development Discussion
213 #######################################
215 Please discuss this release on the samba-technical mailing list or by
216 joining the #samba-technical IRC channel on irc.freenode.net.
218 If you do report problems then please try to send high quality
219 feedback. If you don't provide vital information to help us track down
220 the problem then you will probably be ignored.  All bug reports should
221 be filed under the Samba 4.0 product in the project's Bugzilla
222 database (https://bugzilla.samba.org/).
225 ======================================================================
226 == Our Code, Our Bugs, Our Responsibility.
227 == The Samba Team
228 ======================================================================
231 ----------------------------------------------------------------------
234                    =============================
235                    Release Notes for Samba 4.0.1
236                           January 15, 2013
237                    =============================
240 This is a security release in order to address CVE-2013-0172.
242 o  CVE-2013-0172:
243    Samba 4.0.0 as an AD DC may provide authenticated users with write access
244    to LDAP directory objects.
246    In AD, Access Control Entries can be assigned based on the objectClass
247    of the object.  If a user or a group the user is a member of has any
248    access based on the objectClass, then that user has write access to that
249    object.
251    Additionally, if a user has write access to any attribute on the object,
252    they may have access to write to all attributes.
254    An important mitigation is that anonymous access is totally disabled by
255    default.  The second important mitigation is that normal users are
256    typically only given the problematic per-objectClass right via the
257    "pre-windows 2000 compatible access" group, and Samba 4.0.0 incorrectly
258    does not make "authenticated users" part of this group.
260 Changes since 4.0.0:
261 ====================
263 o   Andrew Bartlett <abartlet@samba.org>
264     * Bug 9554 - CVE-2013-0172 - Samba 4.0 as an AD DC may provide authenticated
265       users with write access to LDAP directory objects.
267 #######################################
268 Reporting bugs & Development Discussion
269 #######################################
271 Please discuss this release on the samba-technical mailing list or by
272 joining the #samba-technical IRC channel on irc.freenode.net.
274 If you do report problems then please try to send high quality
275 feedback. If you don't provide vital information to help us track down
276 the problem then you will probably be ignored.  All bug reports should
277 be filed under the Samba 4.0 product in the project's Bugzilla
278 database (https://bugzilla.samba.org/).
281 ======================================================================
282 == Our Code, Our Bugs, Our Responsibility.
283 == The Samba Team
284 ======================================================================
287 ----------------------------------------------------------------------
290                    =============================
291                    Release Notes for Samba 4.0.0
292                          December 11, 2012
293                    =============================
296 This is is the first stable release of Samba 4.0.
298 This release contains the best of all of Samba's
299 technology parts, both a file server (that you can reasonably expect
300 to upgrade existing Samba 3.x releases to) and the AD domain
301 controller work previously known as 'Samba4'.
303 Major enhancements in Samba 4.0.0 include:
305 Active Directory services
306 =========================
308 Samba 4.0 supports the server-side of the Active Directory logon
309 environment used by Windows 2000 and later, so we can do full domain
310 join and domain logon operations with these clients.
312 Our Domain Controller (DC) implementation includes our own built-in
313 LDAP server and Kerberos Key Distribution Center (KDC) as well as the
314 Samba3-like logon services provided over CIFS.  We correctly generate
315 the infamous Kerberos PAC, and include it with the Kerberos tickets we
316 issue.
318 When running an AD DC, you only need to run 'samba' (not smbd/nmbd/winbindd),
319 as the required services are co-coordinated by this master binary.
320 The tool to administer the Active Directory services is called 'samba-tool'.
322 A short guide to setting up Samba 4 as an AD DC can be found on the wiki:
324   http://wiki.samba.org/index.php/Samba4/HOWTO
327 File Services
328 =============
330 Samba 4.0.0 ships with two distinct file servers.  We now use the
331 file server from the Samba 3.x series 'smbd' for all file serving by
332 default.
334 Samba 4.0 also ships with the 'NTVFS' file server.  This file server
335 is what was used prior to the beta2 release of Samba 4.0, and is
336 tuned to match the requirements of an AD domain controller.  We
337 continue to support this, not only to provide continuity to
338 installations that have deployed it as part of an AD DC, but also as a
339 running example of the NT-FSA architecture we expect to move smbd to in
340 the longer term.
342 For pure file server work, the binaries users would expect from that
343 series (smbd, nmbd, winbindd, smbpasswd) continue to be available.
349 As DNS is an integral part of Active Directory, we also provide two DNS
350 solutions, a simple internal DNS server for 'out of the box' configurations
351 and a more elaborate BIND plugin using the BIND DLZ mechanism in versions
352 9.8 and 9.9. During the provision, you can select which backend to use.
353 With the internal backend, your DNS server is good to go.
354 If you chose the BIND_DLZ backend, a configuration file will be generated
355 for bind to make it use this plugin, as well as a file explaining how to
356 set up bind.
362 To provide accurate timestamps to Windows clients, we integrate with
363 the NTP project to provide secured NTP replies.  To use you need to
364 start ntpd and configure it with the 'restrict ... ms-sntp' and
365 ntpsigndsocket options.
368 Python Scripting Interface
369 ==========================
371 A new scripting interface has been added to Samba 4, allowing
372 Python programs to interface to Samba's internals, and many tools and
373 internal workings of the DC code is now implemented in python.
376 Known Issues
377 ============
379 - Replication of DNS data from one AD server to another may not work.
380   The DNS data used by the internal DNS server and bind9_dlz is stored
381   in an application partition in our directory.  The replication of
382   this partition is not yet reliable.
384 - Replication may fail on FreeBSD due to getaddrinfo() rejecting names
385   containing _.  A workaround will be in a future release.
387 - samba_upgradeprovision should not be run when upgrading to this release
388   from a recent release.  No important database format changes have
389   been made since alpha16.
391 - Installation on systems without a system iconv (and developer
392   headers at compile time) is known to cause errors when dealing with
393   non-ASCII characters.
395 - Domain member support in the 'samba' binary is in its infancy, and
396   is not comparable to the support found in winbindd.  As such, do not
397   use the 'samba' binary (provided for the AD server) on a member
398   server.
400 - There is no NetBIOS browsing support (network neighbourhood)
401   available for the AD domain controller.  (Support in nmbd and smbd
402   for classic domains and member/standalone servers is unchanged).
404 - Clock Synchronisation is critical.  Many 'wrong password' errors are
405   actually due to Kerberos objecting to a clock skew between client
406   and server.  (The NTP work in the previous alphas are partly to assist
407   with this problem).
409 - The DRS replication code may fail.  Please contact the team if you
410   experience issues with DRS replication, as we have fixed many issues
411   here in response to feedback from our production users.
413 - Linux inotify will now only be supported on systems where glibc also supports
414   it (for details, please refer to bug #8850).
417 Upgrading
418 =========
420 Users upgrading from Samba 3.x domain controllers and wanting to use
421 Samba 4.0 as an AD DC should use the 'samba-tool domain
422 classicupgrade' command.  See the wiki for more details:
423 https://wiki.samba.org/index.php/Samba4/samba3upgrade/HOWTO.
425 Users upgrading from Samba 4.0 alpha and beta releases since alpha15
426 should run 'samba-tool dbcheck --cross-ncs --fix' before re-starting
427 Samba.  Users upgrading from earlier alpha releases should contact the
428 team for advice.
430 Users upgrading an AD DC from any previous release should run
431 'samba-tool ntacl sysvolreset' to re-sync ACLs on the sysvol share
432 with those matching the GPOs in LDAP and the defaults from an initial
433 provision.  This will set an underlying POSIX ACL if required (eg not
434 using the NTVFS file server).
436 If you used the BIND9_FLATFILE or BIND9_DLZ features,
437 you'll have to add '-dns' to the 'server services' option,
438 as the internal dns server (SAMBA_INTERNAL) is the default now.
441 Supported features
442 ==================
444 A whitepaper of currently (un-)supported features is available on the wiki:
446   https://wiki.samba.org/index.php/Samba_4.0_Whitepaper
449 ######################################################################
450 Changes
451 #######
453 smb.conf changes
454 ----------------
456    Parameter Name                       Description
457    --------------                       -----------
459    acl compatibility                    Removed
460    allow dns updates                    New
461    announce as                          Removed
462    announce version                     Removed
463    cldap port                           New
464    client max protocol                  New
465    client min protocol                  New
466    client signing                       Changed default
467    dcerpc endpoint servers              New
468    dgram port                           New
469    directory security mask              Removed
470    display charset                      Removed
471    dns forwarder                        New
472    dns update command                   New
473    force security mode                  Removed
474    force directory security mode        Removed
475    homedir map                          Changed default
476    kernel oplocks                       Changed default
477    kernel share modes                   New
478    kpasswd port                         New
479    krb5 port                            New
480    nbt client socket address            New
481    nbt port                             New
482    nsupdate command                     New
483    ntp signd socket directory           New
484    ntvfs handler                        New
485    paranoid server security             Removed
486    pid directory                        New
487    printer admin                        Removed
488    rndc command                         New
489    rpc big endian                       New
490    samba kcc command                    New
491    security mask                        Removed
492    send spnego principal                Removed
493    server max protocol                  New
494    server min protocol                  New
495    server role                          New
496    server services                      New
497    server signing                       Changed default
498    share backend                        New
499    share modes                          Removed
500    smb2 max read                        Changed default
501    smb2 max write                       Changed default
502    smb2 max trans                       Changed default
503    socket address                       Removed
504    spn update command                   New
505    time offset                          Removed
506    tls cafile                           New
507    tls certfile                         New
508    tls crlfile                          New
509    tls dh params file                   New
510    tls enabled                          New
511    tls keyfile                          New
512    unicode                              New
513    web port                             New
514    winbindd privileged socket directory New
515    winbind sealed pipes                 New
516    winbindd socket directory            New
519 CHANGES SINCE 4.0.0rc6
520 ======================
522 o   Michael Adam <obnox@samba.org>
523     * BUG 9414: Honor password complexity settings.
524     * BUG 9456: developer-build: Fix panic when acl_xattr fails with access
525       denied.
526     * BUG 9457: Fix "map username script" with "security=ads" and Winbind.
529 o   Jeremy Allison <jra@samba.org>
530     * BUG 9462: Users can not be given write permissions any more by default.
533 o   Andrew Bartlett <abartlet@samba.org>
534     * BUG 9415: Install SWAT *.msg files with waf.
537 o   Alexander Bokovoy <ab@samba.org>
538     * BUG 9479: Support FIPS mode when building Samba.
541 o   Günther Deschner <gd@samba.org>
542     * BUG 9438: Fix netr_ServerPasswordSet2, netr_LogonSamLogon with netlogon
543       AES.
546 o   Tsukasa Hamano <hamano@osstech.co.jp>
547     * BUG 9471: Fix SEGV when using second vfs module.
550 o   Stefan Metzmacher <metze@samba.org>
551     * BUG 9414: Honor password complexity settings.
552     * BUG 9470: Fix MMC crashes.
553     * BUG 9481: Fix ACL on "cn=partitions,cn=configuration".
556 o   Andreas Schneider <asn@samba.org>
557     * BUG 9459: Install manpages only if we install the target.
560 o   Richard Sharpe <realrichardsharpe@gmail.com>
561     * BUG 9460: Respond correctly to FILE_STREAM_INFO requests.
564 CHANGES SINCE 4.0.0rc5
565 ======================
567 In this release candidate, we have a significant number of improvements
568 to our Access Control List (ACL) code, particularly for the Active
569 Directory Domain Controller, but also in our general purpose file
570 server.
572 These changes are important, as they enable Group Policy Objects to work
573 correctly, allow administrators to impose restrictions on some users
574 reading certain parts of the directory and correctly propagating
575 inherited ACLs down the LDAP directory tree.
577 Users of the Active Directory Domain Controller upgrading from any
578 previous release should run 'samba-tool ntacl sysvolreset' to re-sync
579 ACLs on the sysvol share with those matching the GPOs in LDAP and the
580 defaults from an initial provision.  This will set an underlying POSIX
581 ACL if required.
583 The ACLs in the Active Directory are also checked on searches by default.
584 The automatic inheritance of ACLs is also correctly recalculated on
585 changes now.
587 o   Michael Adam <obnox@samba.org>
588     * BUG 9350: Fail "configure --with-ads" if ads support is not available.
589     * BUG 9446: Id mapping code delivers inconsistent results.
590     * BUG 9453: Fix building pdb_ldap as shared module.
593 o   Jeremy Allison <jra@samba.org>
594     * BUG 9236: ACL masks incorrectly applied when setting ACLs.
595     * BUG 9374: Allow smb2.acls torture test to pass against smbd with a POSIX
596       ACLs backend.
599 o   Christian Ambach <ambi@samba.org>
600     * BUG 9178: Add DMAPI configure option and checks.
601     * BUG 9274: Document shadow:snapdirseverywhere option of vfs_shadow_copy2.
602     * BUG 9339: Backport build fixes from master.
603     * BUG 9411: aio read marks the file as modified.
604     * BUG 9413: Fix waf build on AIX6.
607 o   Andrew Bartlett <abartlet@samba.org>
608     * BUG 9121: Provide and use setproctitle replacement function for samba4
609       processes on linux.
610     * BUG 9271: samba-tool: Rework ldap attribute fetch in classicupgrade for
611       missing attributes.
612     * BUG 9421: Fix several build issues.
613     * BUG 9448: Backport several crash bugs from master.
616 o   Sumit Bose <sbose@redhat.com>
617     * BUG 9367: Use work around for 'winbind use default domain' only if it
618       is set.
621 o   Kai Blin <kai@samba.org>
622     * BUG 9399 - 'samba-tool dns serverinfo localhost' returns 'Memory
623       allocation error'.
624     * BUG 9449: Remove unused samba-dig tool.
627 o   Günther Deschner <gd@samba.org>
628     * BUG 9426: rpc_client: lookup nametype 0x20 in rpc_pipe_open_tcp_port().
629     * BUG 9439: Fix ncacn_ip_tcp reconnection code for lsa lookups.
630     * BUG 9451: Allow to force DNS updates using net.
633 o   David Disseldorp <ddiss@samba.org>
634     * BUG 9433: spoolss: Fix segfault when "default devmode" is disabled.
637 o   Amitay Isaacs <amitay@gmail.com>
638     * BUG 9265: Bind dlz fails to start if there is a trustedanchors zone.
639     * BUG 9354: Fix format string vulnerability in an error message.
642 o   Volker Lendecke <vl@samba.org>
643     * BUG 9422: Large read requests cause server to issue malformed reply.
644     * BUG 9440: Do not rely on dbwrap_record_get_value to return a talloc
645       object.
648 o   Stefan Metzmacher <metze@samba.org>
649     * BUG 8620: Read ACL are not enabled by default on DS.
650     * BUG 8621: ACL are not recalculated if parent is changed and inherit is
651       enabled.
652     * BUG 9373: samba-tool: Report a CommandError if loading of the config file
653       fails.
654     * BUG 9385: Add missing newline in the output of ldb_ldif_write_trace().
655     * BUG 9390: Fix segfaults in "log level = 10" on Solaris.
656     * BUG 9402: lib/addns: Fix working with a bind9 server.
657     * BUG 9406: ACL fixes since 4.0 rc1.
658     * BUG 9447: Backport tests from master.
659     * BUG 9448: Backport several crash bugs from master.
662 o   Ricky Nance <ricky.nance@weaubleau.k12.mo.us>
663     * BUG 9449: Remove phpldapadmin inclusion.
666 o   Matthieu Patou <mat@matws.net>
667     * BUG 9418: Fix MD5 detection in the autoconf build.
670 o   Arvid Requate <requate@univention.de>
671     * BUG 9376: Fix typo in got_duplicate_group check.
672     * BUG 9392: Fix 'samba-tool fsmo --role=schema'.
675 o   Andreas Schneider <asn@samba.org>
676     * BUG 9386: Failover if netlogon pipe is not available.
677     * BUG 9436: Fix leaking sockets of SMB connections to a DC.
680 o   Karolin Seeger <kseeger@samba.org>
681     * BUG 9425: Do not build ntdb by default.
682     * BUG 9437: Warnings when building manpages with waf.
683     * BUG 9443: Manpages of the libraries are located in different
684       subdirectories.
685     * BUG 9444: Merge both samba.8 manpages.
686     * BUG 9445: Update man 7 samba.
689 o   Jelmer Vernooij <jelmer@samba.org>
690     * BUG 9339: Backport build fixes from master.
693 CHANGES SINCE 4.0.0rc4
694 ======================
696 With this release candidate the location of the socket samba accepts
697 connections from NTPd has changed, as has the enforced permissions.
699 This means the ntp.conf will need to change from (eg)
701 ntpsigndsocket /usr/local/samba/var/run/ntp_signd/
705 ntpsigndsocket /usr/local/samba/var/lib/ntp_signd/
707 To use the socket with ntp on a system with an ntp user and group, you must
708 run:
710 chgrp ntp /usr/local/samba/var/lib/ntp_signd/
712 o   Michael Adam <obnox@samba.org>
713     * BUG 9321: winbindd:cache: Fix offline logons with cached credentials.
714     * BUG 9339: Build and quota fixes.
715     * BUG 9353: Fix the cluster(ctdb) build without system talloc installed.
718 o   Christian Ambach <ambi@samba.org>
719     * BUG 9208: Cannot migrate files with inheritance flags to share on top of
720       NFSv4 filesystem.
721     * BUG 9361: Quotas management doesn't work with SMB2/3.
724 o   Andrew Bartlett <abartlet@samba.org>
725     * BUG 9317: Cannot easily change to internal DNS server.
726     * BUG 9338: lib/replace: Return size of xattr if size argument is 0.
727     * BUG 9339: Build and quota fixes.
728     * BUG 9340: Do not use the wheel group for 'administrators'.
729     * BUG 9347: winbind: Extend wbcAuthenticateUserEx to provide PAC.
730     * BUG 9352: Fix samba crashes with certain RPC calls.
731     * BUG 9355: Set mask values to 0777 and use fileserver.conf.
732     * BUG 9357: Don't expose more symbols than specified by abi_match setting.
733     * BUG 9379: ntp_signd permissions are too broad.
736 o   Björn Baumbach <bb@sernet.de>
737     * BUG 9300: vfs_streams_depot: Add delete_lost option.
738     * BUG 9348: Fix the build against older ctdb versions.
739     * BUG 9345: fix use of <smbconfoption> tag.
740     * BUG 9349: Fix check for ctdb_private.h
741     * BUG 9351: Fail "configure --with-cluster-support" if ctdb support is not
742       available.
745 o   Ira Cooper <ira@samba.org>
746     * BUG 9339: Build and quota fixes.
749 o   Günther Deschner <gd@samba.org>
750     * BUG 9272: 'net ads join' does not provide AES keys in host keytab.
753 o   David Disseldorp <ddiss@samba.org>
754     * BUG 9125: Revert "s3-winbindd: make sure we obey the -n switch
755       also for samlogon cache access" and describe samlogon cache caveat for
756       'winbindd -n'.
759 o   Björn Jacke <bj@sernet.de>
760     * BUG 7472: Check for dn_expand also in libinet.
761     * BUG 9339: Build and quota fixes.
764 o   Volker Lendecke <vl@samba.org>
765     * BUG 9208: Cannot migrate files with inheritance flags to share on top of
766       NFSv4 filesystem.
767     * BUG 9352: dsdb: Simplify DsCrackNameOneFilter a bit.
770 o   Stefan Metzmacher <metze@samba.org>
771     * BUG 8620: Read ACL are not enabled by default on DS.
772     * BUG 9175: Add smbXcli_session_set_disconnect_expired().
773     * BUG 9341: Fix SMBD_SMB2_NUM_IOV_PER_REQ check for sendfile().
774     * BUG 9359: Optimization needed for SMB2 performance sensitive workloads.
775     * BUG 9360: SMB1 tree connect time is wrong.
778 o   Ricky Nance <ricky.nance@weaubleau.k12.mo.us>
779     * BUG 9339: Build and quota fixes.
782 o   Rusty Russell <rusty@rustcorp.com.au>
783     * BUG 9339: Build and quota fixes.
786 o   Christof Schmitt <christof.schmitt@us.ibm.com>
787     * BUG 9347: winbind: Extend wbcAuthenticateUserEx to provide PAC.
790 o   Andreas Schneider <asn@samba.org>
791     * BUG 9326: Fix 'net ads join' message for the dns domain.
792     * BUG 9336: Add NetworkManager dispatcher script for Winbind.
793     * BUG 9339: Build and quota fixes.
796 o   Jelmer Vernooij <jelmer@samba.org>
797     * BUG 9357: Don't expose more symbols than specified by abi_match setting.
800 CHANGES SINCE 4.0.0rc3
801 ======================
803 o   Michael Adam <obnox@samba.org>
804     * BUG 9304: Remove unused sessionid.tdb and connections.tdb related code.
805     * BUG 9319: validate stat(2) information before reconnect durable handles.
808 o   Jeremy Allison <jra@samba.org>
809     * BUG 9190: Fix regression (change in behavior) of default acl masks.
810       Remove "security mask", "force security mode", "directory security mask"
811       "force directory" and "security mode" parameters.
812     * BUG 9329: Directory listing with SeBackup can crash smbd.
815 o   Andrew Bartlett <abartlet@samba.org>
816     * BUG 9295: Assert that auth_domain, auth_builtin, auth_sam, auth_winbind
817       are builtin.
818     * BUG 9322: Backport ldb version update.
821 o   Björn Baumbach <bb@sernet.de>
822     * BUG 9190: docs: Fix opening and ending tag mismatch: para.
825 o   Gregor Beck <gbeck@sernet.de>
826     * BUG 9304: Remove unused sessionid.tdb and connections.tdb related code.
829 o   David Disseldorp <ddiss@suse.de>
830     * BUG 8564: Fix segfault in pam_sm_authenticate().
833 o   Stefan Metzmacher <metze@samba.org>
834     * BUG 9184: Fix loop in tdgram_bsd_recvfrom().
835     * BUG 9209: Fix unitialized padding in smb2_create_blob_push_one().
836     * BUG 9304: Remove unused sessionid.tdb and connections.tdb related code.
837     * BUG 9309: Avoid a level 0 DEBUG if tstream_npa_connect_recv fails.
838     * BUG 9318: Fix write time updates for durable handles.
841 o   Andreas Schneider <asn@samba.org>
842     * BUG 9295: Build standard auth modules as internal modules.
843     * BUG 9301: Move 'smbprint' to a common location.
846 o   Jelmer Vernooij <jelmer@samba.org>
847     * BUG 9274: Add documentation and selftest fixes.
850 CHANGES SINCE 4.0.0rc2
851 ======================
853 o   Jeremy Allison <jra@samba.org>
854     * BUG 8966: Fix 'net rpc share allowedusers' to work with 2008r2.
855     * BUG 9209: Parse of invalid SMB2 create blob can cause smbd crash.
856     * BUG 9214: Bad user supplied SMB2 credit value can cause smbd to call
857       smb_panic.
858     * BUG 9222: Document that signing cannot be disabled for SMB2 by design.
861 o   Andrew Bartlett <abartlet@samba.org>
862     * BUG 9235: Update Samba3-HOWTO Collection.
863     * BUG 9271: samba-tool: Skip chown in sysvolreset when it would fail on
864       a GID.
865     * BUG 9274: Update Samba3-HOWTO Collection.
868 o   Björn Baumbach <bb@sernet.de>
869     * BUG 9235: Fix opening and ending tag mismatch in Samba3-HOWTO.
870     * BUG 9271: Fix typos in samba_backup.
871     * BUG 9274: Add delete_lost option to vfs_streams_depot.8.
874 o   Kai Blin <kai@samba.org>
875     * BUG 9225: Fix return code for deleted DNS records.
876     * BUG 8878: Time out UDP requests after DNS_REQUEST_TIMEOUT seconds.
879 o   Günther Deschner <gd@samba.org>
880     * BUG 9177: pam_winbind: Match more return codes when wbcGetPwnam has
881     failed.
884 o   David Disseldorp <ddiss@samba.org>
885     * BUG 9269: Fix 64bit-portability-issue.
888 o   Björn Jacke <bj@sernet.de>
889     * BUG 5670: Apply some Solaris packaging fixes.
890     * BUG 8107: Fix poll replacement to become a msleep replacement.
891     * BUG 8344: Fix --with(out)-sendfile-support option handling.
894 o   Volker Lendecke <vl@samba.org>
895     * BUG 9223: Fix uninitialized variable in the cldap server.
896     * BUG 9268: Make tdb robust against improper CLEAR_IF_FIRST restart.
899 o   Stefan Metzmacher <metze@samba.org>
900     * BUG 9271: Several samba-tool fixes.
901     * BUG 9196: Don't take 'state->te' as indication for "was_deferred".
904 o   Matthieu Patou <mat@matws.net>
905     * BUG 9240: Remove unused variable in DNS server.
906     * BUG 9252: Preliminary tests for dcpromo in Windows 2012 fails with
907       Samba DC.
908     * BUG 9253: Crackname returns a dns domain name even if there is no cracked
909       SID.
910     * BUG 9255: Getncchanges with exop for repl_obj returns highest_usn.
911     * BUG 9256: Getncchanges with exop for repl_obj_with_secrets should always
912       be allowed for RWDC.
913     * BUG 9257: LDAP server has at least one un-initialized variable.
914     * BUG 9258: LDAP server ignore configuration values set in the database for
915       timeout.
916     * BUG 9259: rodc join fails complaining that it can't find a RWDC.
917     * BUG 9260: kccdrs_replica_get_info returns invalid level when non
918       supported should be returned.
919     * BUG 9261: ds_replica_sync fails when specifying a name and not a guid.
920     * BUG 9264: getncchanges returns invalid_parameters when it should return
921       bad_nc.
922     * BUG 9254: DsExecuteKCC returns wrong error code if taskid != 0.
923     * BUG 9265: Bind dlz fails to start if there is a trustedanchors zone.
926 o   Rusty Russell <rusty@rustcorp.com.au>
927     * BUG 9268: Make tdb robust against shrinking tdbs.
930 o   Andreas Schneider <asn@samba.org>
931     * BUG 8769: Fix RAW printing for normal users.
932     * BUG 9112: Increase debug level for info that the db is empty.
933     * BUG 9244: Build pam_smbpass module only if enabled.
934     * BUG 9245: Make sure the registry is set up before we init printing.
935     * BUG 9276: Add config for systemd-tmpfiles.
936     * BUG 9280: Add support for reloading systemd services.
939 o   Karolin Seeger <kseeger@samba.org>
940     * BUG 7826: Remove link to Using Samba.
941     * BUG 8802: Add basic manpages for 'samba' and 'samba-tool'.
942     * BUG 9165: Fix makerpms.sh on RHEL.
943     * BUG 9243: Remove duplicate synonym min protocol.
944     * BUG 9271: Several samba-tool fixes.
947 o   Jelmer Vernooij <jelmer@samba.org>
948     * BUG 9243: Add basic documentation for 'server min protocol'.
949     * BUG 9271: Several samba-tool fixes.
950     * BUG 9274: Add documentation for several parameters.
953 o   Matthias Dieter Wallnöfer <mdw@samba.org>
954     * BUG 9183: Introduce the wildcard binding feature to allow DNS to listen on
955       localhost.
958 CHANGES SINCE 4.0.0rc1
959 ======================
961 o   Michael Adam <obnox@samba.org>
962     * BUG 9173: Make the SMB2 compound request create/delete_on_close/
963       close work as Windows.
966 o   Jeremy Allison <jra@samba.org>
967     * BUG 9161: Re-add the vfs_Chdir() cache.
968     * BUG 9189: SMB2 Create doesn't return correct MAX ACCESS access mask in
969       blob.
970     * BUG 9213: Bad ASN.1 NegTokenInit packet can cause invalid free.
973 o   Christian Ambach <ambi@samba.org>
974     * BUG 9162: Fix the build of the GPFS VFS module.
975     * BUG 9197: Only do 'printing_subsystem_update' when printing is enabled.
978 o   Andrew Bartlett <abartlet@samba.org>
979     * BUG 9228: Fix build on systems without ldap development headers.
982 o   Alexander Bokovoy <ab@samba.org>
983     * BUG 9157: Cleanup idmap_ldap build dependencies.
984     * BUG 9228: Make smbldaphelper subsystem an internal library.
985     * BUG 9229: Fix build of winbindd- and krb5 locator-related manpages.
988 o   Sumit Bose <sbose@redhat.com>
989     * BUG 9185: Allow DNS resolution of trusted domains if DNS name is
990       available.
993 o   Ira Cooper <ira@samba.org>
994     * BUG 9162: Fix build on Illumos/Solaris using '--with-acl'.
995     * BUG 9173: Compound requests should continue processing.
998 o   Günther Deschner <gd@samba.org>
999     * BUG 9185: Winbind cannot resolve AD DC in a different subnet.
1002 o   Björn Jacke <bj@sernet.de>
1003     * BUG 9162: Fix the build of the ACL VFS modules.
1004     * BUG 9172: Fix reporting of gfs2 quotas.
1007 o   Volker Lendecke <vl@samba.org>
1008     * BUG 9217: CreateFile with FILE_DIRECTORY_FILE can create directories
1009       on read-only shares.
1012 o   Vladimir Marek <Vladimir.Marek@Oracle.COM>
1013     * BUG 9192: Fix service control for non-internal services.
1016 o   Stefan Metzmacher <metze@samba.org>
1017     * BUG 9173: Make the SMB2 compound request create/delete_on_close/
1018       close work as Windows.
1019     * BUG 9184: Fix receiving of UDP packets from 0 bytes.
1020     * BUG 9191: Release the share mode lock before calling exit_server().
1021     * BUG 9193: Fix usage of invalid memory in smb2_signing_check_pdu().
1022     * BUG 9194: Disallow '--prefix=/usr' and '--prefix=/usr/local' without
1023       '--enable-fhs'.
1024     * BUG 9198: Fix RHEL-CTDB packaging.
1027 o   Matthieu Patou <mat@matws.net>
1028     * BUG 9199: Fix usage of "panic action".
1029     * BUG 9233: Fix a non handled memory out of memory.
1032 o   Andreas Schneider <asn@samba.org>
1033     * BUG 8632: Fix builtin forms order to match Windows again.
1034     * BUG 9159: Fix generating idmap manpages.
1035     * BUG 9218: Don't segfault if user specified ports out for range.
1036     * BUG 9231: Fix NT_STATUS_IO_TIMEOUT during slow import of printers into
1037       registry.
1040 #######################################
1041 Reporting bugs & Development Discussion
1042 #######################################
1044 Please discuss this release on the samba-technical mailing list or by
1045 joining the #samba-technical IRC channel on irc.freenode.net.
1047 If you do report problems then please try to send high quality
1048 feedback. If you don't provide vital information to help us track down
1049 the problem then you will probably be ignored.  All bug reports should
1050 be filed under the Samba 4.0 product in the project's Bugzilla
1051 database (https://bugzilla.samba.org/).
1054 ======================================================================
1055 == Our Code, Our Bugs, Our Responsibility.
1056 == The Samba Team
1057 ======================================================================