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