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