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