1 =============================
2 Release Notes for Samba 4.0.5
4 =============================
7 This is is the latest stable release of Samba 4.0.
9 Major enhancements in Samba 4.0.5 include:
11 o Fix large reads/writes from some Linux clients (bug #9706).
12 o Add 'samba-tool dbcheck --reset-well-known-acls' (bugs #9740 and #9267).
18 o Michael Adam <obnox@samba.org>
19 * BUG 9617: libnss-winbindd does not provide pass struct for groups mapped
20 with ID_TYPE_BOTH and vice versa.
21 * BUG 9653: idmap_autorid: Fix freeing of non-talloced memory.
22 * BUG 9711: s4:winbindd: Do not drop the workgroup name in the getgrnam, getgrent
26 o Jeremy Allison <jra@samba.org>
27 * BUG 9130: Certain xattrs cause Windows error 0x800700FF.
28 * BUG 9519: Samba returns unexpected error on SMB posix open.
29 * BUG 9642: Fix the build of vfs_afsacl.
30 * BUG 9695: Backport tevent changes to bring library to version 0.9.18.
31 * BUG 9706: Fix large reads/writes from some Linux clients.
32 * BUG 9724: is_encrypted_packet() function incorrectly used inside server.
33 * BUG 9733: Fix 'smbcontrol close-share'.
34 * BUG 9748: Remove unneeded fstat system call from hot read path.
35 * BUG 9760: Fix incorrect parsing of SMB2 command codes.
38 o Christian Ambach <ambi@samba.org>
39 * BUG 9643: Fix the build with --fake-kaserver.
40 * BUG 9644: Fix compile of source3/lib/afs.c.
41 * BUG 9669: Fix crash in 'net rpc join' against a Samba 3.0.33 PDC.
44 o Timur Bakeyev <timur@FreeBSD.org>
45 * BUG 9666: Fix filtering of link-local addresses.
48 o Andrew Bartlett <abartlet@samba.org>
49 * BUG 9663: 'make test' hangs.
50 * BUG 9697: DsReplicaGetInfo fails due to sendto() EMSGSIZE error
51 on UNIX domain socket.
52 * BUG 9703: Fix build on solaris8: Do not force a specific perl on
54 * BUG 9717: Set LD_LIBRARY_PATH in install_with_python.sh.
55 * BUG 9718: s4-idmap: Remove requirement that posixAccount or posixGroup be set
57 * BUG 9719: Allow forcing an override of an old @MODULES record.
58 * BUG 9720: Do not print the admin password during 'samba-tool
60 * BUG 9721: Make samba_upgradedns more robust (do not guess addresses
61 when just changing roles).
62 * BUG 9725: upgradeprovision and 'samba-tool dbcheck' patches for 4.0.NEXT.
63 * BUG 9728: DO NOT install samba_upgradeprovision in 4.0.x.
64 * BUG 9739: PIDL: Build fixes for hosts without CPP (Solaris 11).
65 * BUG 9740: Add 'samba-tool dbcheck --reset-well-known-acls'.
66 * BUG 9267: Can't delegate adding computers to domain.
69 o Alexander Bokovoy <ab@samba.org>
70 * BUG 9636: PIDL: Fix parsing linemarkers in preprocessor output.
71 * BUG 9639: Rename internal subsystem pdb_ldap to pdb_ldapsam.
74 o Ira Cooper <ira@samba.org>
75 * BUG 9646: Make SMB2_GETINFO multi-volume aware.
78 o David Disseldorp <ddiss@samba.org>
79 * BUG 9633: Recursive mget should continue on EPERM.
82 o Landon Fuller <landonf@bikemonkey.org>
83 * BUG 9656: Work around FreeBSD's getaddrinfo() underscore issue.
84 * BUG 9696: Remove incomplete samba_dnsupdate IPv6 link-local address
86 * BUG 9697: Handle EMSGSIZE on UNIX domain sockets.
89 o Björn Jacke <bj@sernet.de>
90 * BUG 7825: Fix GNU ld version detection with old gcc releases.
93 o Daniel Kobras <d.kobras@science-computing.de>
94 * BUG 9039: Never try to map global SAM name.
97 o Guenter Kukkukk <kukks@samba.org>
98 * BUG 9701: Fix vfs_catia and update documentation.
101 o Volker Lendecke <vl@samba.org>
102 * BUG 9695: Backport tevent changes to bring library to version 0.9.18.
103 * BUG 9727: Fix NULL pointer dereference.
104 * BUG 9736: Change to smbd/dir.c code gives significant performance
105 increases on large directory listings.
108 o Stefan Metzmacher <metze@samba.org>
109 * BUG 9557: Fix build on AIX.
110 * BUG 9625: Reauth-capable client fails to access shares on Windows member.
111 * BUG 9695: Backport tevent changes to bring library to version 0.9.18.
112 * BUG 9706: Parameter is incorrect on Android.
115 o Andreas Schneider <asn@samba.org>
116 * BUG 9664: Fix correct linking of libreplace with cmdline-credentials.
117 * BUG 9683: Fix several resource (fd) leaks.
118 * BUG 9685: Fix a memory leak in spoolss rpc server.
119 * BUG 9686: Fix a possible buffer overrun in pdb_smbpasswd.
120 * BUG 9687: Fix several possible null pointer dereferences.
121 * BUG 9723: Add a tool to migrate latin1 printing tdbs to registry.
122 * BUG 9735: Fix Winbind separator in upn to username conversion.
123 * BUG 9758: Don't leak the epm_Map policy handle.
126 o Richard Sharpe <rsharpe@samba.org>
127 * BUG 9674: Samba denies owner Read Control when there is a DENY entry
128 while W2K08 does not.
129 * BUG 9689: Make sure that domain joins work correctly when the DC disallows
131 * BUG 9704: Fix nss_winbind name on FreeBSD.
132 * BUG 9747: Make sure that we only propogate the INHERITED flag when we are
136 Note about upgrading from older versions:
137 -----------------------------------------
139 It is still the case that there are printing tdbs (ntprinting.tdb, ntforms.tdb,
140 ntdrivers.tdb) which are in latin1 or other encodings. When updating from
141 Samba 3.5 or earlier to Samba 3.6 or 4.0 these tdbs need to be migrated to our
142 new registry based printing management. This means during the migration we
143 also need to do charset conversion. This can only been done manually cause we don't
144 know in which encoding the tdb is. You have to specify the correct code page
145 for the conversion, see iconv -l and Wikipedia [1] for the available codepages.
146 The mostly used one is Windows Latin1 which is CP1252.
148 We've extended the 'net printing dump' and 'net printing migrate' commands to
149 define the encoding of the tdb. So you can correctly view the tdb with:
151 net printing dump encoding=CP1252 /path/to/ntprinters.tdb
153 or migrate it with e.g.:
155 net printing migrate encoding=CP1252 /path/to/ntprinters.tdb
157 If you migrate printers we suggest you do it in the following order.
163 Don't forget to rename, move or delete these files in /var/lib/samba after the
166 [1] https://en.wikipedia.org/wiki/Code_page
169 ######################################################################
170 Reporting bugs & Development Discussion
171 #######################################
173 Please discuss this release on the samba-technical mailing list or by
174 joining the #samba-technical IRC channel on irc.freenode.net.
176 If you do report problems then please try to send high quality
177 feedback. If you don't provide vital information to help us track down
178 the problem then you will probably be ignored. All bug reports should
179 be filed under the Samba 4.0 product in the project's Bugzilla
180 database (https://bugzilla.samba.org/).
183 ======================================================================
184 == Our Code, Our Bugs, Our Responsibility.
186 ======================================================================
188 Release notes for older releases follow:
189 ----------------------------------------
191 =============================
192 Release Notes for Samba 4.0.4
194 =============================
197 This is a security release in order to address CVE-2013-1863
198 (World-writeable files may be created in additional shares on a
202 Administrators of the Samba 4.0 Active Directory Domain
203 Controller might unexpectedly find files created world-writeable
204 if additional CIFS file shares are created on the AD DC.
205 Samba versions 4.0.0rc6 - 4.0.3 (inclusive) are affected by this
212 o Andrew Bartlett <abartlet@samba.org>
213 * BUG 9709: CVE-2013-1863: Remove forced set of 'create mask' to 0777.
216 ######################################################################
217 Reporting bugs & Development Discussion
218 #######################################
220 Please discuss this release on the samba-technical mailing list or by
221 joining the #samba-technical IRC channel on irc.freenode.net.
223 If you do report problems then please try to send high quality
224 feedback. If you don't provide vital information to help us track down
225 the problem then you will probably be ignored. All bug reports should
226 be filed under the Samba 4.0 product in the project's Bugzilla
227 database (https://bugzilla.samba.org/).
230 ======================================================================
231 == Our Code, Our Bugs, Our Responsibility.
233 ======================================================================
236 ----------------------------------------------------------------------
239 =============================
240 Release Notes for Samba 4.0.3
242 =============================
245 This is is the latest stable release of Samba 4.0.
247 Major enhancements in Samba 4.0.3 include:
249 o check_password_quality: Handle non-ASCII characters properly (bug #9105).
250 o Fix ACL problem with delegation of privileges and deletion of accounts
251 over LDAP interface (bug #8909).
252 o Fix 'smbd' panic triggered by unlink after open (bug #9571).
253 o smbd: Fix memleak in the async echo handler (bug #9549).
258 o For more details concerning the ACL problem with delegation of privileges
259 and deletion of accounts over LDAP interface (bugs #8909 and #9267)
260 regarding upgrades from older 4.0.x versions, please see
262 http://wiki.samba.org/index.php/Samba_AD_DC_HOWTO#Upgrading
264 which will be filled with details once we have worked out an upgrade
270 o Michael Adam <obnox@samba.org>
271 * BUG 9568: Document the command line options in dbwrap_tool(1).
274 o Jeremy Allison <jra@samba.org>
275 * BUG 9196: defer_open is triggered multiple times on the same request.
276 * BUG 9518: conn->share_access appears not be be reset between users.
277 * BUG 9550: sigprocmask does not work on FreeBSD to stop further signals in
279 * BUG 9572: Fix file corruption during SMB1 read by Mac OSX 10.8.2 clients.
280 * BUG 9586: smbd[29175]: disk_free: sys_popen() failed" message logged in
281 /var/log/message many times.
282 * BUG 9587: Archive flag is always set on directories.
283 * BUG 9588: ACLs are not inherited to directories for DFS shares.
286 o Andrew Bartlett <abartlet@samba.org>
287 * BUG 8909: Fix ACL problem with delegation of privileges and deletion of
288 accounts over LDAP interface.
289 * BUG 9461: FSMO seize of naming role fails: NT_STATUS_IO_TIMEOUT.
290 * BUG 9564: Fix compilation of Solaris ACL module.
291 * BUG 9581: gensec: Allow login without a PAC by default.
292 * BUG 9596: Linked attribute handling should be by GUID.
293 * BUG 9598: Use pid,task_id as cluster_id in process_single just like
295 * BUG 9609: ldb: Ensure to decrement the transaction_active whenever we
296 delete a transaction.
297 * BUG 9609: Add 'ldbdump' tool.
298 * BUG 9609: ldb: Remove no-longer-existing ltdb_unpack_data_free from
300 * BUG 9609: ldb: Change ltdb_unpack_data to take an ldb_context.
301 * BUG 9610: dsdb: Make secrets_tdb_sync cope with -H secrets.ldb.
304 o Björn Baumbach <bb@sernet.de>
305 * BUG 9512: wafsamba: Use additional xml catalog file.
306 * BUG 9517: samba_dnsupdate: Set KRB5_CONFIG for nsupdate command.
307 * BUG 9552: smb.conf(5): Update list of available protocols.
308 * BUG 9568: Add dbwrap_tool.1 manual page.
309 * BUG 9569: ntlm_auth(1): Fix format and make examples visible.
312 o Ira Cooper <ira@samba.org>
313 * BUG 9575: Duplicate flags defined in the winbindd protocol.
316 o Günther Deschner <gd@samba.org>
317 * BUG 9474: Downgrade v4 printer driver requests to v3.
318 * BUG 9595: s3-winbind: Fix the build of idmap_ldap.
321 o David Disseldorp <ddiss@samba.org>
322 * BUG 9378: Add extra attributes for AD printer publishing.
325 o Stephen Gallagher <sgallagh@redhat.com>
326 * BUG 9609: ldb: Move doxygen comments for ldb_connect to the right place.
329 o Volker Lendecke <vl@samba.org>
330 * BUG 9541: Make use of posix_openpt.
331 * BUG 9544: Fix build of vfs_commit and plug in async pwrite support.
332 * BUG 9546: Fix aio_suspend detection on FreeBSD.
333 * BUG 9548: Correctly detect O_DIRECT.
334 * BUG 9549: smbd: Fix memleak in the async echo handler.
337 o Stefan Metzmacher <metze@samba.org>
338 * BUG 8909: Fix ACL problem with delegation of privileges and deletion of
339 accounts over LDAP interface.
340 * BUG 9105: check_password_quality: Handle non-ASCII characters properly.
341 * BUG 9481: samba_upgradeprovision: fix the nTSecurityDescriptor on more
343 * BUG 9499: s3:smb2_negprot: set the 'remote_proto' value.
344 * BUG 9508: s4:drsuapi: Make sure we report the meta data from the cycle
346 * BUG 9540: terminate the irpc_servers_byname() result with
347 server_id_set_disconnected().
348 * BUG 9598: Fix timeouts of some IRPC calls.
349 * BUG 9609: Fix a warning by converting from TDB_DATA to struct ldb_val.
352 o Matthieu Patou <mat@matws.net>
353 * BUG 8909: Add documentation.
354 * BUG 9565: Adding additional Samba 4.0 DC to W2k8 srv AD domain (in win200
355 functional level) produces dbcheck errors.
358 o Arvid Requate <requate@univention.de>
359 * BUG 9555: s4-resolve: Fix parsing of IPv6/AAAA in dns_lookup.
362 o Rusty Russell <rusty@rustcorp.com.au>
363 * BUG 9609: tdb: Add '-e' option to tdbdump (and document it).
364 * BUG 9609: tdb: 'tdbdump' should log errors, and fail in that case.
365 * BUG 9609: tdb: Add tdb_rescue() to allow an emergency best-effort dump.
368 o Samba-JP oota <ribbon@samba.gr.jp>
369 * BUG 9528: Remove superfluous bracket in samba.8.xml.
370 * BUG 9530: Fix typo in vfs_tsmsm.8.xml.
373 o Andreas Schneider <asn@samba.org>
374 * BUG 9574: Fix a possible null pointer dereference in spoolss.
377 o Karolin Seeger <kseeger@samba.org>
378 * BUG 9591: Correct meta data in ldb manpages.
381 o Pavel Shilovsky <piastry@etersoft.ru>
382 * BUG 9571: Fix 'smbd' panic triggered by unlink after open.
385 o Andrew Tridgell <tridge@samba.org>
386 * BUG 9609: ldb: Fix callers for ldb_pack_data() and ldb_unpack_data().
387 * BUG 9609: ldb: move ldb_pack.c into common.
390 o Jelmer Vernooij <jelmer@samba.org>
391 * BUG 9503: waf assumes that pythonX.Y-config is a Python script.
394 ######################################################################
395 Reporting bugs & Development Discussion
396 #######################################
398 Please discuss this release on the samba-technical mailing list or by
399 joining the #samba-technical IRC channel on irc.freenode.net.
401 If you do report problems then please try to send high quality
402 feedback. If you don't provide vital information to help us track down
403 the problem then you will probably be ignored. All bug reports should
404 be filed under the Samba 4.0 product in the project's Bugzilla
405 database (https://bugzilla.samba.org/).
408 ======================================================================
409 == Our Code, Our Bugs, Our Responsibility.
411 ======================================================================
414 ----------------------------------------------------------------------
417 =============================
418 Release Notes for Samba 4.0.2
420 =============================
423 This is a security release in order to address
424 CVE-2013-0213 (Clickjacking issue in SWAT) and
425 CVE-2013-0214 (Potential XSRF in SWAT).
428 All current released versions of Samba are vulnerable to clickjacking in the
429 Samba Web Administration Tool (SWAT). When the SWAT pages are integrated into
430 a malicious web page via a frame or iframe and then overlaid by other content,
431 an attacker could trick an administrator to potentially change Samba settings.
433 In order to be vulnerable, SWAT must have been installed and enabled
434 either as a standalone server launched from inetd or xinetd, or as a
435 CGI plugin to Apache. If SWAT has not been installed or enabled (which
436 is the default install state for Samba) this advisory can be ignored.
439 All current released versions of Samba are vulnerable to a cross-site
440 request forgery in the Samba Web Administration Tool (SWAT). By guessing a
441 user's password and then tricking a user who is authenticated with SWAT into
442 clicking a manipulated URL on a different web page, it is possible to manipulate
445 In order to be vulnerable, the attacker needs to know the victim's password.
446 Additionally SWAT must have been installed and enabled either as a standalone
447 server launched from inetd or xinetd, or as a CGI plugin to Apache. If SWAT has
448 not been installed or enabled (which is the default install state for Samba)
449 this advisory can be ignored.
455 o Kai Blin <kai@samba.org>
456 * BUG 9576: CVE-2013-0213: Fix clickjacking issue in SWAT.
457 * BUG 9577: CVE-2013-0214: Fix potential XSRF in SWAT.
460 #######################################
461 Reporting bugs & Development Discussion
462 #######################################
464 Please discuss this release on the samba-technical mailing list or by
465 joining the #samba-technical IRC channel on irc.freenode.net.
467 If you do report problems then please try to send high quality
468 feedback. If you don't provide vital information to help us track down
469 the problem then you will probably be ignored. All bug reports should
470 be filed under the Samba 4.0 product in the project's Bugzilla
471 database (https://bugzilla.samba.org/).
474 ======================================================================
475 == Our Code, Our Bugs, Our Responsibility.
477 ======================================================================
480 ----------------------------------------------------------------------
483 =============================
484 Release Notes for Samba 4.0.1
486 =============================
489 This is a security release in order to address CVE-2013-0172.
492 Samba 4.0.0 as an AD DC may provide authenticated users with write access
493 to LDAP directory objects.
495 In AD, Access Control Entries can be assigned based on the objectClass
496 of the object. If a user or a group the user is a member of has any
497 access based on the objectClass, then that user has write access to that
500 Additionally, if a user has write access to any attribute on the object,
501 they may have access to write to all attributes.
503 An important mitigation is that anonymous access is totally disabled by
504 default. The second important mitigation is that normal users are
505 typically only given the problematic per-objectClass right via the
506 "pre-windows 2000 compatible access" group, and Samba 4.0.0 incorrectly
507 does not make "authenticated users" part of this group.
512 o Andrew Bartlett <abartlet@samba.org>
513 * Bug 9554 - CVE-2013-0172 - Samba 4.0 as an AD DC may provide authenticated
514 users with write access to LDAP directory objects.
516 #######################################
517 Reporting bugs & Development Discussion
518 #######################################
520 Please discuss this release on the samba-technical mailing list or by
521 joining the #samba-technical IRC channel on irc.freenode.net.
523 If you do report problems then please try to send high quality
524 feedback. If you don't provide vital information to help us track down
525 the problem then you will probably be ignored. All bug reports should
526 be filed under the Samba 4.0 product in the project's Bugzilla
527 database (https://bugzilla.samba.org/).
530 ======================================================================
531 == Our Code, Our Bugs, Our Responsibility.
533 ======================================================================
536 ----------------------------------------------------------------------
539 =============================
540 Release Notes for Samba 4.0.0
542 =============================
545 This is is the first stable release of Samba 4.0.
547 This release contains the best of all of Samba's
548 technology parts, both a file server (that you can reasonably expect
549 to upgrade existing Samba 3.x releases to) and the AD domain
550 controller work previously known as 'Samba4'.
552 Major enhancements in Samba 4.0.0 include:
554 Active Directory services
555 =========================
557 Samba 4.0 supports the server-side of the Active Directory logon
558 environment used by Windows 2000 and later, so we can do full domain
559 join and domain logon operations with these clients.
561 Our Domain Controller (DC) implementation includes our own built-in
562 LDAP server and Kerberos Key Distribution Center (KDC) as well as the
563 Samba3-like logon services provided over CIFS. We correctly generate
564 the infamous Kerberos PAC, and include it with the Kerberos tickets we
567 When running an AD DC, you only need to run 'samba' (not smbd/nmbd/winbindd),
568 as the required services are co-coordinated by this master binary.
569 The tool to administer the Active Directory services is called 'samba-tool'.
571 A short guide to setting up Samba 4 as an AD DC can be found on the wiki:
573 http://wiki.samba.org/index.php/Samba4/HOWTO
579 Samba 4.0.0 ships with two distinct file servers. We now use the
580 file server from the Samba 3.x series 'smbd' for all file serving by
583 Samba 4.0 also ships with the 'NTVFS' file server. This file server
584 is what was used prior to the beta2 release of Samba 4.0, and is
585 tuned to match the requirements of an AD domain controller. We
586 continue to support this, not only to provide continuity to
587 installations that have deployed it as part of an AD DC, but also as a
588 running example of the NT-FSA architecture we expect to move smbd to in
591 For pure file server work, the binaries users would expect from that
592 series (smbd, nmbd, winbindd, smbpasswd) continue to be available.
595 Domain Member Support
596 =====================
598 Domain member support in the 'samba' binary is in its infancy, and
599 is not comparable to the support found in 'winbindd'. As such, on
600 Samba domain member servers, the binaries 'smbd', 'nmbd' and 'winbindd'
601 are to be used, as known from Samba 3 domain member server setups.
602 The only exceptions from this rule are the cases which explicitly
603 require the 'samba' binary, namely running the ntvfs file server,
604 the CIFS proxy or OpenChange on a domain member.
610 As DNS is an integral part of Active Directory, we also provide two DNS
611 solutions, a simple internal DNS server for 'out of the box' configurations
612 and a more elaborate BIND plugin using the BIND DLZ mechanism in versions
613 9.8 and 9.9. During the provision, you can select which backend to use.
614 With the internal backend, your DNS server is good to go.
615 If you chose the BIND_DLZ backend, a configuration file will be generated
616 for bind to make it use this plugin, as well as a file explaining how to
623 To provide accurate timestamps to Windows clients, we integrate with
624 the NTP project to provide secured NTP replies. To use you need to
625 start ntpd and configure it with the 'restrict ... ms-sntp' and
626 ntpsigndsocket options.
629 Python Scripting Interface
630 ==========================
632 A new scripting interface has been added to Samba 4, allowing
633 Python programs to interface to Samba's internals, and many tools and
634 internal workings of the DC code is now implemented in python.
640 - Replication of DNS data from one AD server to another may not work.
641 The DNS data used by the internal DNS server and bind9_dlz is stored
642 in an application partition in our directory. The replication of
643 this partition is not yet reliable.
645 - Replication may fail on FreeBSD due to getaddrinfo() rejecting names
646 containing _. A workaround will be in a future release.
648 - samba_upgradeprovision should not be run when upgrading to this release
649 from a recent release. No important database format changes have
650 been made since alpha16.
652 - Installation on systems without a system iconv (and developer
653 headers at compile time) is known to cause errors when dealing with
654 non-ASCII characters.
656 - There is no NetBIOS browsing support (network neighbourhood)
657 available for the AD domain controller. (Support in nmbd and smbd
658 for classic domains and member/standalone servers is unchanged).
660 - Clock Synchronisation is critical. Many 'wrong password' errors are
661 actually due to Kerberos objecting to a clock skew between client
662 and server. (The NTP work in the previous alphas are partly to assist
665 - The DRS replication code may fail. Please contact the team if you
666 experience issues with DRS replication, as we have fixed many issues
667 here in response to feedback from our production users.
669 - Linux inotify will now only be supported on systems where glibc also supports
670 it (for details, please refer to bug #8850).
676 Users upgrading from Samba 3.x domain controllers and wanting to use
677 Samba 4.0 as an AD DC should use the 'samba-tool domain
678 classicupgrade' command. See the wiki for more details:
679 https://wiki.samba.org/index.php/Samba4/samba3upgrade/HOWTO.
681 Users upgrading from Samba 4.0 alpha and beta releases since alpha15
682 should run 'samba-tool dbcheck --cross-ncs --fix' before re-starting
683 Samba. Users upgrading from earlier alpha releases should contact the
686 Users upgrading an AD DC from any previous release should run
687 'samba-tool ntacl sysvolreset' to re-sync ACLs on the sysvol share
688 with those matching the GPOs in LDAP and the defaults from an initial
689 provision. This will set an underlying POSIX ACL if required (eg not
690 using the NTVFS file server).
692 If you used the BIND9_FLATFILE or BIND9_DLZ features,
693 you'll have to add '-dns' to the 'server services' option,
694 as the internal dns server (SAMBA_INTERNAL) is the default now.
700 A whitepaper of currently (un-)supported features is available on the wiki:
702 https://wiki.samba.org/index.php/Samba_4.0_Whitepaper
705 ######################################################################
712 Parameter Name Description
713 -------------- -----------
715 acl compatibility Removed
716 allow dns updates New
718 announce version Removed
720 client max protocol New
721 client min protocol New
722 client signing Changed default
723 dcerpc endpoint servers New
725 directory security mask Removed
726 display charset Removed
728 dns update command New
729 force security mode Removed
730 force directory security mode Removed
731 homedir map Changed default
732 kernel oplocks Changed default
733 kernel share modes New
736 nbt client socket address New
739 ntp signd socket directory New
741 paranoid server security Removed
743 printer admin Removed
746 samba kcc command New
747 security mask Removed
748 send spnego principal Removed
749 server max protocol New
750 server min protocol New
753 server signing Changed default
756 smb2 max read Changed default
757 smb2 max write Changed default
758 smb2 max trans Changed default
759 socket address Removed
760 spn update command New
765 tls dh params file New
770 winbindd privileged socket directory New
771 winbind sealed pipes New
772 winbindd socket directory New
775 CHANGES SINCE 4.0.0rc6
776 ======================
778 o Michael Adam <obnox@samba.org>
779 * BUG 9414: Honor password complexity settings.
780 * BUG 9456: developer-build: Fix panic when acl_xattr fails with access
782 * BUG 9457: Fix "map username script" with "security=ads" and Winbind.
785 o Jeremy Allison <jra@samba.org>
786 * BUG 9462: Users can not be given write permissions any more by default.
789 o Andrew Bartlett <abartlet@samba.org>
790 * BUG 9415: Install SWAT *.msg files with waf.
793 o Alexander Bokovoy <ab@samba.org>
794 * BUG 9479: Support FIPS mode when building Samba.
797 o Günther Deschner <gd@samba.org>
798 * BUG 9438: Fix netr_ServerPasswordSet2, netr_LogonSamLogon with netlogon
802 o Tsukasa Hamano <hamano@osstech.co.jp>
803 * BUG 9471: Fix SEGV when using second vfs module.
806 o Stefan Metzmacher <metze@samba.org>
807 * BUG 9414: Honor password complexity settings.
808 * BUG 9470: Fix MMC crashes.
809 * BUG 9481: Fix ACL on "cn=partitions,cn=configuration".
812 o Andreas Schneider <asn@samba.org>
813 * BUG 9459: Install manpages only if we install the target.
816 o Richard Sharpe <realrichardsharpe@gmail.com>
817 * BUG 9460: Respond correctly to FILE_STREAM_INFO requests.
820 CHANGES SINCE 4.0.0rc5
821 ======================
823 In this release candidate, we have a significant number of improvements
824 to our Access Control List (ACL) code, particularly for the Active
825 Directory Domain Controller, but also in our general purpose file
828 These changes are important, as they enable Group Policy Objects to work
829 correctly, allow administrators to impose restrictions on some users
830 reading certain parts of the directory and correctly propagating
831 inherited ACLs down the LDAP directory tree.
833 Users of the Active Directory Domain Controller upgrading from any
834 previous release should run 'samba-tool ntacl sysvolreset' to re-sync
835 ACLs on the sysvol share with those matching the GPOs in LDAP and the
836 defaults from an initial provision. This will set an underlying POSIX
839 The ACLs in the Active Directory are also checked on searches by default.
840 The automatic inheritance of ACLs is also correctly recalculated on
843 o Michael Adam <obnox@samba.org>
844 * BUG 9350: Fail "configure --with-ads" if ads support is not available.
845 * BUG 9446: Id mapping code delivers inconsistent results.
846 * BUG 9453: Fix building pdb_ldap as shared module.
849 o Jeremy Allison <jra@samba.org>
850 * BUG 9236: ACL masks incorrectly applied when setting ACLs.
851 * BUG 9374: Allow smb2.acls torture test to pass against smbd with a POSIX
855 o Christian Ambach <ambi@samba.org>
856 * BUG 9178: Add DMAPI configure option and checks.
857 * BUG 9274: Document shadow:snapdirseverywhere option of vfs_shadow_copy2.
858 * BUG 9339: Backport build fixes from master.
859 * BUG 9411: aio read marks the file as modified.
860 * BUG 9413: Fix waf build on AIX6.
863 o Andrew Bartlett <abartlet@samba.org>
864 * BUG 9121: Provide and use setproctitle replacement function for samba4
866 * BUG 9271: samba-tool: Rework ldap attribute fetch in classicupgrade for
868 * BUG 9421: Fix several build issues.
869 * BUG 9448: Backport several crash bugs from master.
872 o Sumit Bose <sbose@redhat.com>
873 * BUG 9367: Use work around for 'winbind use default domain' only if it
877 o Kai Blin <kai@samba.org>
878 * BUG 9399 - 'samba-tool dns serverinfo localhost' returns 'Memory
880 * BUG 9449: Remove unused samba-dig tool.
883 o Günther Deschner <gd@samba.org>
884 * BUG 9426: rpc_client: lookup nametype 0x20 in rpc_pipe_open_tcp_port().
885 * BUG 9439: Fix ncacn_ip_tcp reconnection code for lsa lookups.
886 * BUG 9451: Allow to force DNS updates using net.
889 o David Disseldorp <ddiss@samba.org>
890 * BUG 9433: spoolss: Fix segfault when "default devmode" is disabled.
893 o Amitay Isaacs <amitay@gmail.com>
894 * BUG 9265: Bind dlz fails to start if there is a trustedanchors zone.
895 * BUG 9354: Fix format string vulnerability in an error message.
898 o Volker Lendecke <vl@samba.org>
899 * BUG 9422: Large read requests cause server to issue malformed reply.
900 * BUG 9440: Do not rely on dbwrap_record_get_value to return a talloc
904 o Stefan Metzmacher <metze@samba.org>
905 * BUG 8620: Read ACL are not enabled by default on DS.
906 * BUG 8621: ACL are not recalculated if parent is changed and inherit is
908 * BUG 9373: samba-tool: Report a CommandError if loading of the config file
910 * BUG 9385: Add missing newline in the output of ldb_ldif_write_trace().
911 * BUG 9390: Fix segfaults in "log level = 10" on Solaris.
912 * BUG 9402: lib/addns: Fix working with a bind9 server.
913 * BUG 9406: ACL fixes since 4.0 rc1.
914 * BUG 9447: Backport tests from master.
915 * BUG 9448: Backport several crash bugs from master.
918 o Ricky Nance <ricky.nance@weaubleau.k12.mo.us>
919 * BUG 9449: Remove phpldapadmin inclusion.
922 o Matthieu Patou <mat@matws.net>
923 * BUG 9418: Fix MD5 detection in the autoconf build.
926 o Arvid Requate <requate@univention.de>
927 * BUG 9376: Fix typo in got_duplicate_group check.
928 * BUG 9392: Fix 'samba-tool fsmo --role=schema'.
931 o Andreas Schneider <asn@samba.org>
932 * BUG 9386: Failover if netlogon pipe is not available.
933 * BUG 9436: Fix leaking sockets of SMB connections to a DC.
936 o Karolin Seeger <kseeger@samba.org>
937 * BUG 9425: Do not build ntdb by default.
938 * BUG 9437: Warnings when building manpages with waf.
939 * BUG 9443: Manpages of the libraries are located in different
941 * BUG 9444: Merge both samba.8 manpages.
942 * BUG 9445: Update man 7 samba.
945 o Jelmer Vernooij <jelmer@samba.org>
946 * BUG 9339: Backport build fixes from master.
949 CHANGES SINCE 4.0.0rc4
950 ======================
952 With this release candidate the location of the socket samba accepts
953 connections from NTPd has changed, as has the enforced permissions.
955 This means the ntp.conf will need to change from (eg)
957 ntpsigndsocket /usr/local/samba/var/run/ntp_signd/
961 ntpsigndsocket /usr/local/samba/var/lib/ntp_signd/
963 To use the socket with ntp on a system with an ntp user and group, you must
966 chgrp ntp /usr/local/samba/var/lib/ntp_signd/
968 o Michael Adam <obnox@samba.org>
969 * BUG 9321: winbindd:cache: Fix offline logons with cached credentials.
970 * BUG 9339: Build and quota fixes.
971 * BUG 9353: Fix the cluster(ctdb) build without system talloc installed.
974 o Christian Ambach <ambi@samba.org>
975 * BUG 9208: Cannot migrate files with inheritance flags to share on top of
977 * BUG 9361: Quotas management doesn't work with SMB2/3.
980 o Andrew Bartlett <abartlet@samba.org>
981 * BUG 9317: Cannot easily change to internal DNS server.
982 * BUG 9338: lib/replace: Return size of xattr if size argument is 0.
983 * BUG 9339: Build and quota fixes.
984 * BUG 9340: Do not use the wheel group for 'administrators'.
985 * BUG 9347: winbind: Extend wbcAuthenticateUserEx to provide PAC.
986 * BUG 9352: Fix samba crashes with certain RPC calls.
987 * BUG 9355: Set mask values to 0777 and use fileserver.conf.
988 * BUG 9357: Don't expose more symbols than specified by abi_match setting.
989 * BUG 9379: ntp_signd permissions are too broad.
992 o Björn Baumbach <bb@sernet.de>
993 * BUG 9300: vfs_streams_depot: Add delete_lost option.
994 * BUG 9348: Fix the build against older ctdb versions.
995 * BUG 9345: fix use of <smbconfoption> tag.
996 * BUG 9349: Fix check for ctdb_private.h
997 * BUG 9351: Fail "configure --with-cluster-support" if ctdb support is not
1001 o Ira Cooper <ira@samba.org>
1002 * BUG 9339: Build and quota fixes.
1005 o Günther Deschner <gd@samba.org>
1006 * BUG 9272: 'net ads join' does not provide AES keys in host keytab.
1009 o David Disseldorp <ddiss@samba.org>
1010 * BUG 9125: Revert "s3-winbindd: make sure we obey the -n switch
1011 also for samlogon cache access" and describe samlogon cache caveat for
1015 o Björn Jacke <bj@sernet.de>
1016 * BUG 7472: Check for dn_expand also in libinet.
1017 * BUG 9339: Build and quota fixes.
1020 o Volker Lendecke <vl@samba.org>
1021 * BUG 9208: Cannot migrate files with inheritance flags to share on top of
1023 * BUG 9352: dsdb: Simplify DsCrackNameOneFilter a bit.
1026 o Stefan Metzmacher <metze@samba.org>
1027 * BUG 8620: Read ACL are not enabled by default on DS.
1028 * BUG 9175: Add smbXcli_session_set_disconnect_expired().
1029 * BUG 9341: Fix SMBD_SMB2_NUM_IOV_PER_REQ check for sendfile().
1030 * BUG 9359: Optimization needed for SMB2 performance sensitive workloads.
1031 * BUG 9360: SMB1 tree connect time is wrong.
1034 o Ricky Nance <ricky.nance@weaubleau.k12.mo.us>
1035 * BUG 9339: Build and quota fixes.
1038 o Rusty Russell <rusty@rustcorp.com.au>
1039 * BUG 9339: Build and quota fixes.
1042 o Christof Schmitt <christof.schmitt@us.ibm.com>
1043 * BUG 9347: winbind: Extend wbcAuthenticateUserEx to provide PAC.
1046 o Andreas Schneider <asn@samba.org>
1047 * BUG 9326: Fix 'net ads join' message for the dns domain.
1048 * BUG 9336: Add NetworkManager dispatcher script for Winbind.
1049 * BUG 9339: Build and quota fixes.
1052 o Jelmer Vernooij <jelmer@samba.org>
1053 * BUG 9357: Don't expose more symbols than specified by abi_match setting.
1056 CHANGES SINCE 4.0.0rc3
1057 ======================
1059 o Michael Adam <obnox@samba.org>
1060 * BUG 9304: Remove unused sessionid.tdb and connections.tdb related code.
1061 * BUG 9319: validate stat(2) information before reconnect durable handles.
1064 o Jeremy Allison <jra@samba.org>
1065 * BUG 9190: Fix regression (change in behavior) of default acl masks.
1066 Remove "security mask", "force security mode", "directory security mask"
1067 "force directory" and "security mode" parameters.
1068 * BUG 9329: Directory listing with SeBackup can crash smbd.
1071 o Andrew Bartlett <abartlet@samba.org>
1072 * BUG 9295: Assert that auth_domain, auth_builtin, auth_sam, auth_winbind
1074 * BUG 9322: Backport ldb version update.
1077 o Björn Baumbach <bb@sernet.de>
1078 * BUG 9190: docs: Fix opening and ending tag mismatch: para.
1081 o Gregor Beck <gbeck@sernet.de>
1082 * BUG 9304: Remove unused sessionid.tdb and connections.tdb related code.
1085 o David Disseldorp <ddiss@suse.de>
1086 * BUG 8564: Fix segfault in pam_sm_authenticate().
1089 o Stefan Metzmacher <metze@samba.org>
1090 * BUG 9184: Fix loop in tdgram_bsd_recvfrom().
1091 * BUG 9209: Fix unitialized padding in smb2_create_blob_push_one().
1092 * BUG 9304: Remove unused sessionid.tdb and connections.tdb related code.
1093 * BUG 9309: Avoid a level 0 DEBUG if tstream_npa_connect_recv fails.
1094 * BUG 9318: Fix write time updates for durable handles.
1097 o Andreas Schneider <asn@samba.org>
1098 * BUG 9295: Build standard auth modules as internal modules.
1099 * BUG 9301: Move 'smbprint' to a common location.
1102 o Jelmer Vernooij <jelmer@samba.org>
1103 * BUG 9274: Add documentation and selftest fixes.
1106 CHANGES SINCE 4.0.0rc2
1107 ======================
1109 o Jeremy Allison <jra@samba.org>
1110 * BUG 8966: Fix 'net rpc share allowedusers' to work with 2008r2.
1111 * BUG 9209: Parse of invalid SMB2 create blob can cause smbd crash.
1112 * BUG 9214: Bad user supplied SMB2 credit value can cause smbd to call
1114 * BUG 9222: Document that signing cannot be disabled for SMB2 by design.
1117 o Andrew Bartlett <abartlet@samba.org>
1118 * BUG 9235: Update Samba3-HOWTO Collection.
1119 * BUG 9271: samba-tool: Skip chown in sysvolreset when it would fail on
1121 * BUG 9274: Update Samba3-HOWTO Collection.
1124 o Björn Baumbach <bb@sernet.de>
1125 * BUG 9235: Fix opening and ending tag mismatch in Samba3-HOWTO.
1126 * BUG 9271: Fix typos in samba_backup.
1127 * BUG 9274: Add delete_lost option to vfs_streams_depot.8.
1130 o Kai Blin <kai@samba.org>
1131 * BUG 9225: Fix return code for deleted DNS records.
1132 * BUG 8878: Time out UDP requests after DNS_REQUEST_TIMEOUT seconds.
1135 o Günther Deschner <gd@samba.org>
1136 * BUG 9177: pam_winbind: Match more return codes when wbcGetPwnam has
1140 o David Disseldorp <ddiss@samba.org>
1141 * BUG 9269: Fix 64bit-portability-issue.
1144 o Björn Jacke <bj@sernet.de>
1145 * BUG 5670: Apply some Solaris packaging fixes.
1146 * BUG 8107: Fix poll replacement to become a msleep replacement.
1147 * BUG 8344: Fix --with(out)-sendfile-support option handling.
1150 o Volker Lendecke <vl@samba.org>
1151 * BUG 9223: Fix uninitialized variable in the cldap server.
1152 * BUG 9268: Make tdb robust against improper CLEAR_IF_FIRST restart.
1155 o Stefan Metzmacher <metze@samba.org>
1156 * BUG 9271: Several samba-tool fixes.
1157 * BUG 9196: Don't take 'state->te' as indication for "was_deferred".
1160 o Matthieu Patou <mat@matws.net>
1161 * BUG 9240: Remove unused variable in DNS server.
1162 * BUG 9252: Preliminary tests for dcpromo in Windows 2012 fails with
1164 * BUG 9253: Crackname returns a dns domain name even if there is no cracked
1166 * BUG 9255: Getncchanges with exop for repl_obj returns highest_usn.
1167 * BUG 9256: Getncchanges with exop for repl_obj_with_secrets should always
1168 be allowed for RWDC.
1169 * BUG 9257: LDAP server has at least one un-initialized variable.
1170 * BUG 9258: LDAP server ignore configuration values set in the database for
1172 * BUG 9259: rodc join fails complaining that it can't find a RWDC.
1173 * BUG 9260: kccdrs_replica_get_info returns invalid level when non
1174 supported should be returned.
1175 * BUG 9261: ds_replica_sync fails when specifying a name and not a guid.
1176 * BUG 9264: getncchanges returns invalid_parameters when it should return
1178 * BUG 9254: DsExecuteKCC returns wrong error code if taskid != 0.
1179 * BUG 9265: Bind dlz fails to start if there is a trustedanchors zone.
1182 o Rusty Russell <rusty@rustcorp.com.au>
1183 * BUG 9268: Make tdb robust against shrinking tdbs.
1186 o Andreas Schneider <asn@samba.org>
1187 * BUG 8769: Fix RAW printing for normal users.
1188 * BUG 9112: Increase debug level for info that the db is empty.
1189 * BUG 9244: Build pam_smbpass module only if enabled.
1190 * BUG 9245: Make sure the registry is set up before we init printing.
1191 * BUG 9276: Add config for systemd-tmpfiles.
1192 * BUG 9280: Add support for reloading systemd services.
1195 o Karolin Seeger <kseeger@samba.org>
1196 * BUG 7826: Remove link to Using Samba.
1197 * BUG 8802: Add basic manpages for 'samba' and 'samba-tool'.
1198 * BUG 9165: Fix makerpms.sh on RHEL.
1199 * BUG 9243: Remove duplicate synonym min protocol.
1200 * BUG 9271: Several samba-tool fixes.
1203 o Jelmer Vernooij <jelmer@samba.org>
1204 * BUG 9243: Add basic documentation for 'server min protocol'.
1205 * BUG 9271: Several samba-tool fixes.
1206 * BUG 9274: Add documentation for several parameters.
1209 o Matthias Dieter Wallnöfer <mdw@samba.org>
1210 * BUG 9183: Introduce the wildcard binding feature to allow DNS to listen on
1214 CHANGES SINCE 4.0.0rc1
1215 ======================
1217 o Michael Adam <obnox@samba.org>
1218 * BUG 9173: Make the SMB2 compound request create/delete_on_close/
1219 close work as Windows.
1222 o Jeremy Allison <jra@samba.org>
1223 * BUG 9161: Re-add the vfs_Chdir() cache.
1224 * BUG 9189: SMB2 Create doesn't return correct MAX ACCESS access mask in
1226 * BUG 9213: Bad ASN.1 NegTokenInit packet can cause invalid free.
1229 o Christian Ambach <ambi@samba.org>
1230 * BUG 9162: Fix the build of the GPFS VFS module.
1231 * BUG 9197: Only do 'printing_subsystem_update' when printing is enabled.
1234 o Andrew Bartlett <abartlet@samba.org>
1235 * BUG 9228: Fix build on systems without ldap development headers.
1238 o Alexander Bokovoy <ab@samba.org>
1239 * BUG 9157: Cleanup idmap_ldap build dependencies.
1240 * BUG 9228: Make smbldaphelper subsystem an internal library.
1241 * BUG 9229: Fix build of winbindd- and krb5 locator-related manpages.
1244 o Sumit Bose <sbose@redhat.com>
1245 * BUG 9185: Allow DNS resolution of trusted domains if DNS name is
1249 o Ira Cooper <ira@samba.org>
1250 * BUG 9162: Fix build on Illumos/Solaris using '--with-acl'.
1251 * BUG 9173: Compound requests should continue processing.
1254 o Günther Deschner <gd@samba.org>
1255 * BUG 9185: Winbind cannot resolve AD DC in a different subnet.
1258 o Björn Jacke <bj@sernet.de>
1259 * BUG 9162: Fix the build of the ACL VFS modules.
1260 * BUG 9172: Fix reporting of gfs2 quotas.
1263 o Volker Lendecke <vl@samba.org>
1264 * BUG 9217: CreateFile with FILE_DIRECTORY_FILE can create directories
1265 on read-only shares.
1268 o Vladimir Marek <Vladimir.Marek@Oracle.COM>
1269 * BUG 9192: Fix service control for non-internal services.
1272 o Stefan Metzmacher <metze@samba.org>
1273 * BUG 9173: Make the SMB2 compound request create/delete_on_close/
1274 close work as Windows.
1275 * BUG 9184: Fix receiving of UDP packets from 0 bytes.
1276 * BUG 9191: Release the share mode lock before calling exit_server().
1277 * BUG 9193: Fix usage of invalid memory in smb2_signing_check_pdu().
1278 * BUG 9194: Disallow '--prefix=/usr' and '--prefix=/usr/local' without
1280 * BUG 9198: Fix RHEL-CTDB packaging.
1283 o Matthieu Patou <mat@matws.net>
1284 * BUG 9199: Fix usage of "panic action".
1285 * BUG 9233: Fix a non handled memory out of memory.
1288 o Andreas Schneider <asn@samba.org>
1289 * BUG 8632: Fix builtin forms order to match Windows again.
1290 * BUG 9159: Fix generating idmap manpages.
1291 * BUG 9218: Don't segfault if user specified ports out for range.
1292 * BUG 9231: Fix NT_STATUS_IO_TIMEOUT during slow import of printers into
1296 #######################################
1297 Reporting bugs & Development Discussion
1298 #######################################
1300 Please discuss this release on the samba-technical mailing list or by
1301 joining the #samba-technical IRC channel on irc.freenode.net.
1303 If you do report problems then please try to send high quality
1304 feedback. If you don't provide vital information to help us track down
1305 the problem then you will probably be ignored. All bug reports should
1306 be filed under the Samba 4.0 product in the project's Bugzilla
1307 database (https://bugzilla.samba.org/).
1310 ======================================================================
1311 == Our Code, Our Bugs, Our Responsibility.
1313 ======================================================================