1 =============================
2 Release Notes for Samba 4.2.6
4 =============================
7 This is the latest stable release of Samba 4.2.
13 o Michael Adam <obnox@samba.org>
14 * BUG 11365: ctdb: Strip trailing spaces from nodes file.
15 * BUG 11577: ctdb: Open the RO tracking db with perms 0600 instead of 0000.
16 * BUG 11619: doc: Fix a typo in the smb.conf manpage.
19 o Jeremy Allison <jra@samba.org>
20 * BUG 11452: s3-smbd: Fix old DOS client doing wildcard delete - gives a
21 attribute type of zero.
22 * BUG 11565: auth: gensec: Fix a memory leak.
23 * BUG 11566: lib: util: Make non-critical message a warning.
24 * BUG 11589: s3: smbd: If EA's are turned off on a share don't allow an SMB2
25 create containing them.
26 * BUG 11615: s3: smbd: have_file_open_below() fails to enumerate open files
27 below an open directory handle.
30 o Ralph Boehme <slow@samba.org>
31 * BUG 11564: async_req: Fix non-blocking connect().
34 o Volker Lendecke <vl@samba.org>
35 * BUG 11243: vfs_gpfs: Re-enable share modes.
36 * BUG 11570: smbd: Send SMB2 oplock breaks unencrypted.
39 o YvanM <yvan.masson@openmailbox.org>
40 * BUG 11584: manpage: Correct small typo error.
43 o Marc Muehlfeld <mmuehlfeld@samba.org>
44 * BUG 9912: Changing log level of two entries to from 1 to 3.
47 o Andreas Schneider <asn@samba.org>
48 * BUG 11346: wafsamba: Also build libraries with RELRO protection.
49 * BUG 11563: nss_wins: Do not run into use after free issues when we access
50 memory allocated on the globals and the global being reinitialized.
53 o Karolin Seeger <kseeger@samba.org>
54 * BUG 11619: docs: Fix some typos in the idmap config section of man 5
58 o Noel Power <noel.power@suse.com>
59 * BUG 11569: Fix winbindd crashes with samlogon for trusted domain user.
60 * BUG 11597: Backport some valgrind fixes from upstream master.
63 #######################################
64 Reporting bugs & Development Discussion
65 #######################################
67 Please discuss this release on the samba-technical mailing list or by
68 joining the #samba-technical IRC channel on irc.freenode.net.
70 If you do report problems then please try to send high quality
71 feedback. If you don't provide vital information to help us track down
72 the problem then you will probably be ignored. All bug reports should
73 be filed under the Samba 4.2 product in the project's Bugzilla
74 database (https://bugzilla.samba.org/).
77 ======================================================================
78 == Our Code, Our Bugs, Our Responsibility.
80 ======================================================================
83 Release notes for older releases follow:
84 ----------------------------------------
86 ======================================================================
88 =============================
89 Release Notes for Samba 4.2.5
91 =============================
94 This is the latest stable release of Samba 4.2.
100 o Jeremy Allison <jra@samba.org>
101 * BUG 10252: s3: smbd: Fix our access-based enumeration on "hide unreadable"
103 * BUG 10634: smbd: Fix file name buflen and padding in notify repsonse.
104 * BUG 11486: s3: smbd: Fix mkdir race condition.
105 * BUG 11522: s3: smbd: Fix opening/creating :stream files on the root share
107 * BUG 11535: s3: smbd: Fix NULL pointer bug introduced by previous 'raw'
108 stream fix (bug #11522).
109 * BUG 11555: s3: lsa: lookup_name() logic for unqualified (no DOMAIN\
110 component) names is incorrect.
113 o Ralph Boehme <slow@samba.org>
114 * BUG 11535: s3: smbd: Fix a crash in unix_convert().
115 * BUG 11543: vfs_fruit: Return value of ad_pack in vfs_fruit.c.
116 * BUG 11549: Fix bug in smbstatus where the lease info is not printed.
117 * BUG 11550: s3:smbstatus: Add stream name to share_entry_forall().
118 * BUG 11555: s3:lib: validate domain name in lookup_wellknown_name().
121 o Günther Deschner <gd@samba.org>
122 * BUG 11038: kerberos: Make sure we only use prompter type when available.
125 o Björn Jacke <bj@sernet.de>
126 * BUG 10365: nss_winbind: Fix hang on Solaris on big groups.
127 * BUG 11355: build: Use as-needed linker flag also on OpenBSD.
130 o Volker Lendecke <vl@samba.org>
131 * BUG 11038: winbind: Fix 100% loop.
132 * BUG 11381: Fix a deadlock in tdb.
135 o Stefan Metzmacher <metze@samba.org>
136 * BUG 11316: s3:ctdbd_conn: Make sure we destroy tevent_fd before closing
138 * BUG 11327: dcerpc.idl: accept invalid dcerpc_bind_nak pdus.
141 o Har Gagan Sahai <SHarGagan@novell.com>
142 * BUG 11509: s3: dfs: Fix a crash when the dfs targets are disabled.
145 o Andreas Schneider <asn@samba.org>
146 * BUG 11502: pam_winbind: Fix a segfault if initialization fails.
149 o Uri Simchoni <uri@samba.org>
150 * BUG 11528: net: Fix a crash with 'net ads keytab create'.
151 * BUG 11547: vfs_commit: Set the fd on open before calling SMB_VFS_FSTAT.
154 #######################################
155 Reporting bugs & Development Discussion
156 #######################################
158 Please discuss this release on the samba-technical mailing list or by
159 joining the #samba-technical IRC channel on irc.freenode.net.
161 If you do report problems then please try to send high quality
162 feedback. If you don't provide vital information to help us track down
163 the problem then you will probably be ignored. All bug reports should
164 be filed under the Samba 4.2 product in the project's Bugzilla
165 database (https://bugzilla.samba.org/).
168 ======================================================================
169 == Our Code, Our Bugs, Our Responsibility.
171 ======================================================================
174 ----------------------------------------------------------------------
177 =============================
178 Release Notes for Samba 4.2.4
180 =============================
183 This is the latest stable release of Samba 4.2.
189 o Michael Adam <obnox@samba.org>
190 * BUG 11372: smbd: Fix SMB3 functionality of "smb encrypt".
193 o Jeremy Allison <jra@samba.org>
194 * BUG 11359: lib: replace: Add strsep function (missing on Solaris).
197 o Ralph Boehme <slow@samba.org>
198 * BUG 11278: Fix stream names with colon with "fruit:encoding = native".
199 * BUG 11317: vfs:fruit: Implement copyfile style copy_chunk.
200 * BUG 11426: s3-net: Use talloc array in share allowedusers.
201 * BUG 11467: vfs_fruit: Handling of empty resource fork.
204 o Alexander Bokovoy <ab@samba.org>
205 * BUG 11265: auth/credentials: If credentials have principal set, they are
206 not anonymous anymore.
209 o Günther Deschner <gd@samba.org>
210 * BUG 11373: s3-smbd: Reset protocol in smbXsrv_connection_init_tables
214 o Amitay Isaacs <amitay@gmail.com>
215 * BUG 11398: ctdb-daemon: Return correct sequence number for
216 CONTROL_GET_DB_SEQNUM.
217 * BUG 11431: ctdb-daemon: Improve error handling for running event scripts.
220 o Volker Lendecke <vl@samba.org>
221 * BUG 11316: lib: Fix rundown of open_socket_out().
222 * BUG 11488: Avoid quoting problems in user's DNs.
225 o Justin Maggard <jmaggard@netgear.com>
226 * BUG 11320: s3-passdb: Respect LOOKUP_NAME_GROUP flag in sid lookup.
229 o Roel van Meer <roel@1afa.com>
230 * BUG 11427: s3-util: Compare the maximum allowed length of a NetBIOS name.
233 o Stefan Metzmacher <metze@samba.org>
234 * BUG 11316: s3:lib: Fix some corner cases of open_socket_out_cleanup().
235 * BUG 11454: Backport dcesrv_netr_DsRGetDCNameEx2 fixes.
238 o Anubhav Rakshit <anubhav.rakshit@gmail.com>
239 * BUG 11361: s3:libsmb: Fix a bug in conversion of ea list to ea array.
242 o Arvid Requate <requate@univention.de>
243 * BUG 11291: s4:rpc_server/netlogon: Fix for NetApp.
246 o Andreas Schneider <asn@samba.org>
247 * BUG 9862: s3-auth: Fix "map to guest = Bad uid".
248 * BUG 11403: s3-smbd: Leave sys_disk_free() if dfree command is used.
249 * BUG 11404: s3-auth: Fix a possible null pointer dereference.
252 o Martin Schwenke <martin@meltin.net>
253 * BUG 11399: ctdb-scripts: Support monitoring of interestingly named VLANs
255 * BUG 11432: ctdb-daemon: Check if updates are in flight when releasing all
257 * BUG 11435: ctdb-build: Fix building of PCP PMDA module.
260 o Wei Zhong <wweyeww@gmail.com>
261 * BUG 10823: s3: winbindd: Fix TALLOC_FREE of uninitialized groups variable.
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.2 product in the project's Bugzilla
275 database (https://bugzilla.samba.org/).
278 ======================================================================
279 == Our Code, Our Bugs, Our Responsibility.
281 ======================================================================
284 ----------------------------------------------------------------------
287 =============================
288 Release Notes for Samba 4.2.3
290 =============================
293 This is the latest stable release of Samba 4.2.
299 o Michael Adam <obnox@samba.org>
300 * BUG 11366: docs: Overhaul the description of "smb encrypt" to include SMB3
304 o Jeremy Allison <jra@samba.org>
305 * BUG 11068: s3: lib: util: Ensure we read a hex number as %x, not %u.
306 * BUG 11295: Excessive cli_resolve_path() usage can slow down transmission.
307 * BUG 11328: winbindd: winbindd_raw_kerberos_login - ensure logon_info
309 * BUG 11339: s3: smbd: Use separate flag to track
310 become_root()/unbecome_root() state.
311 * BUG 11342: s3: smbd: Codenomicon crash in do_smb_load_module().
314 o Christian Ambach <ambi@samba.org>
315 * BUG 11170: s3:param/loadparm: Fix 'testparm --show-all-parameters'.
318 o Andrew Bartlett <abartlet@samba.org>
319 * BUG 10991: winbindd: Sync secrets.ldb into secrets.tdb on startup.
322 o Ralph Boehme <slow@samba.org>
323 * BUG 11277: s3:smb2: Add padding to last command in compound requests.
324 * BUG 11305: vfs_fruit: Add option "veto_appledouble".
325 * BUG 11323: smbd/trans2: Add a useful diagnostic for files with bad
327 * BUG 11363: vfs_fruit: Check offset and length for AFP_AfpInfo read
329 * BUG 11371: ncacn_http: Fix GNUism.
332 o Günther Deschner <gd@samba.org>
333 * BUG 11245: s3-rpc_server: Fix rpc_create_tcpip_sockets() processing of
337 o Alexander Drozdov <al.drozdov@gmail.com>
338 * BUG 11331: tdb: version 1.3.5: ABI change: tdb_chainlock_read_nonblock()
342 o Evangelos Foutras <evangelos@foutrelis.com>
343 * BUG 8780: s4:lib/tls: Fix build with gnutls 3.4.
346 o David Holder <david.holder@erion.co.uk>
347 * BUG 11281: Add IPv6 support to ADS client side LDAP connects.
348 * BUG 11282: Add IPv6 support for determining FQDN during ADS join.
349 * BUG 11283: s3: IPv6 enabled DNS connections for ADS client.
352 o Steve Howells <steve.howells@moscowfirst.com>
353 * BUG 10924: s4.2/fsmo.py: Fixed fsmo transfer exception.
356 o Amitay Isaacs <amitay@gmail.com>
357 * BUG 11293: Fix invalid write in ctdb_lock_context_destructor.
360 o Volker Lendecke <vl@samba.org>
361 * BUG 11218: smbd: Fix a use-after-free.
362 * BUG 11312: tstream: Make socketpair nonblocking.
363 * BUG 11330: tevent: Fix CID 1035381 Unchecked return value.
364 * BUG 11331: tdb: Fix CID 1034842 and 1034841 Resource leaks.
367 o Stefan Metzmacher <metze@samba.org>
368 * BUG 11061: Logon via MS Remote Desktop hangs.
369 * BUG 11141: tevent: Add a note to tevent_add_fd().
370 * BUG 11293: Fix invalid write in ctdb_lock_context_destructor.
371 * BUG 11316: tevent_fd needs to be destroyed before closing the fd.
372 * BUG 11319: Build fails on Solaris 11 with "‘PTHREAD_MUTEX_ROBUST’
374 * BUG 11326: Robust mutex support broken in 1.3.5.
375 * BUG 11329: s3:smb2_setinfo: Fix memory leak in the defer_rename case.
376 * BUG 11330: Backport tevent-0.9.25.
377 * BUG 11331: Backport tdb-1.3.6.
378 * BUG 11367: s3:auth_domain: Fix talloc problem in
379 connect_to_domain_password_server().
382 o Marc Muehlfeld <mmuehlfeld@samba.org>
383 * BUG 11315: Group creation: Add msSFU30Name only when --nis-domain was
386 o Matthieu Patou <mat@matws.net>
387 * BUG 11356: pidl: Make the compilation of PIDL producing the same results
388 if the content hasn't change.
391 o Noel Power <noel.power@suse.com>
392 * BUG 11328: Kerberos auth info3 should contain resource group ids available
396 o Gordon Ross <gordon.w.ross@gmail.com>
397 * BUG 11330: lib: tevent: Fix compile error in Solaris ports backend.
400 o Christof Schmitt <cs@samba.org>
401 * BUG 11313: idmap_rfc2307: Fix wbinfo '--gid-to-sid' query.
402 * BUG 11324: Change sharesec output back to previous format.
405 o Uri Simchoni <urisimchoni@gmail.com>
406 * BUG 11358: winbindd: Disconnect child process if request is cancelled at
410 o Petr Viktorin <pviktori@redhat.com>
411 * BUG 11330: Backport tevent-0.9.25.
414 o Youzhong Yang <yyang@mathworks.com>
415 * BUG 11217: s3-unix_msg: Remove socket file after closing socket fd.
418 #######################################
419 Reporting bugs & Development Discussion
420 #######################################
422 Please discuss this release on the samba-technical mailing list or by
423 joining the #samba-technical IRC channel on irc.freenode.net.
425 If you do report problems then please try to send high quality
426 feedback. If you don't provide vital information to help us track down
427 the problem then you will probably be ignored. All bug reports should
428 be filed under the Samba 4.2 product in the project's Bugzilla
429 database (https://bugzilla.samba.org/).
432 ======================================================================
433 == Our Code, Our Bugs, Our Responsibility.
435 ======================================================================
438 ----------------------------------------------------------------------
441 =============================
442 Release Notes for Samba 4.2.2
444 =============================
447 This is the latest stable release of Samba 4.2.
453 o Michael Adam <obnox@samba.org>
454 * BUG 11182: s3:smbXsrv: refactor duplicate code into
455 smbXsrv_session_clear_and_logoff().
456 * BUG 11260: gencache: don't fail gencache_stabilize if there were records
460 o Jeremy Allison <jra@samba.org>
461 * BUG 11186: s3: libsmbclient: After getting attribute server, ensure main
462 srv pointer is still valid.
463 * BUG 11236: s4: rpc: Refactor dcesrv_alter() function into setup and send
465 * BUG 11240: s3: smbd: Incorrect file size returned in the response of
466 "FILE_SUPERSEDE Create".
467 * BUG 11249: Mangled names do not work with acl_xattr.
468 * BUG 11254: nmbd rewrites browse.dat when not required.
471 o Ralph Boehme <slow@samba.org>
472 * BUG 11213: vfs_fruit: add option "nfs_aces" that controls the NFS ACEs
474 * BUG 11224: s3:smbd: Add missing tevent_req_nterror.
475 * BUG 11243: vfs: kernel_flock and named streams.
476 * BUG 11244: vfs_gpfs: Error code path doesn't call END_PROFILE.
479 o Alexander Bokovoy <ab@samba.org>
480 * BUG 11284: s4: libcli/finddcs_cldap: continue processing CLDAP until all
484 o David Disseldorp <ddiss@samba.org>
485 * BUG 11201: ctdb: check for talloc_asprintf() failure.:w
486 * BUG 11210: spoolss: purge the printer name cache on name change.
489 o Amitay Isaacs <amitay@gmail.com>
490 * BUG 11204: CTDB statd-callout does not scale.
493 o Björn Jacke <bj@sernet.de>
494 * BUG 11221: vfs_fruit: also map characters below 0x20.
497 o Rajesh Joseph <rjoseph@redhat.com>
498 * BUG 11201: ctdb: Coverity fix for CID 1291643.
501 o Julien Kerihuel <j.kerihuel@openchange.org>
502 * BUG 11225: Multiplexed RPC connections are not handled by DCERPC server.
503 * BUG 11226: Fix terminate connection behavior for asynchronous endpoint
504 with PUSH notification flavors.
507 o Led <ledest@gmail.com>
508 * BUG 11007: ctdb-scripts: Fix bashism in ctdbd_wrapper script.
511 o Volker Lendecke <vl@samba.org>
512 * BUG 11201: ctdb: Fix CIDs 1125615, 1125634, 1125613, 1288201 and 1125553.
513 * BUG 11257: SMB2 should cancel pending NOTIFY calls with DELETE_PENDING if
514 the directory is deleted.
517 o Stefan Metzmacher <metze@samba.org>
518 * BUG 11141: s3:winbindd: make sure we remove pending io requests before
519 closing client sockets.
520 * BUG 11182: Fix panic triggered by smbd_smb2_request_notify_done() ->
521 smbXsrv_session_find_channel() in smbd.
524 o Christof Schmitt <cs@samba.org>
525 * BUG 11237: 'sharesec' output no longer matches input format.
528 o Andreas Schneider <asn@samba.org>
529 * BUG 11200: waf: Fix systemd detection.
532 o Martin Schwenke <martin@meltin.net>
533 * BUG 11202: CTDB: Fix portability issues.
534 * BUG 11203: CTDB: Fix some IPv6-related issues.
535 * BUG 11204: CTDB statd-callout does not scale.
538 o Richard Sharpe <rsharpe@nutanix.com>
539 * BUG 11234: 'net ads dns gethostbyname' crashes with an error in TALLOC_FREE
540 if you enter invalid values.
543 o Uri Simchoni <urisimchoni@gmail.com>
544 * BUG 11267: libads: record service ticket endtime for sealed ldap
548 o Lukas Slebodnik <lslebodn@redhat.com>
549 * BUG 11033: lib/util: Include DEBUG macro in internal header files before
553 #######################################
554 Reporting bugs & Development Discussion
555 #######################################
557 Please discuss this release on the samba-technical mailing list or by
558 joining the #samba-technical IRC channel on irc.freenode.net.
560 If you do report problems then please try to send high quality
561 feedback. If you don't provide vital information to help us track down
562 the problem then you will probably be ignored. All bug reports should
563 be filed under the Samba 4.2 product in the project's Bugzilla
564 database (https://bugzilla.samba.org/).
567 ======================================================================
568 == Our Code, Our Bugs, Our Responsibility.
570 ======================================================================
573 ----------------------------------------------------------------------
576 =============================
577 Release Notes for Samba 4.2.1
579 =============================
582 This is the latest stable release of Samba 4.2.
588 o Michael Adam <obnox@samba.org>
589 * BUG 8905: s3:winbind:grent: Don't stop group enumeration when a group has
591 * BUG 10476: build:wafadmin: Fix use of spaces instead of tabs.
592 * BUG 11143: s3-winbind: Fix cached user group lookup of trusted domains.
595 o Jeremy Allison <jra@samba.org>
596 * BUG 10016: s3: lib: ntlmssp: If NTLMSSP_NEGOTIATE_TARGET_INFO isn't set,
597 cope with servers that don't send the 2 unused fields.
598 * BUG 10888: s3: client: "client use spnego principal = yes" code checks
600 * BUG 11079: s3: lib: libsmbclient: If reusing a server struct, check every
601 cli->timout miliseconds if it's still valid before use.
602 * BUG 11173: s3: libcli: smb1: Ensure we correctly finish a tevent req if
603 the writev fails in the SMB1 case.
604 * BUG 11175: Fix lots of winbindd zombie processes on Solaris platform.
605 * BUG 11177: s3: libsmbclient: Add missing talloc stackframe.
608 o Andrew Bartlett <abartlet@samba.org>
609 * BUG 11135: backupkey: Explicitly link to gnutls and gcrypt.
610 * BUG 11174: backupkey: Use ndr_pull_struct_blob_all().
613 o Ralph Boehme <slow@samba.org>
614 * BUG 11125: vfs_fruit: Enhance handling of malformed AppleDouble files.
617 o Samuel Cabrero <samuelcabrero@kernevil.me>
618 * BUG 9791: Initialize dwFlags field of DNS_RPC_NODE structure.
621 o David Disseldorp <ddiss@samba.org>
622 * BUG 11169: docs/idmap_rid: Remove deprecated base_rid from example.
625 o Volker Lendecke <vl@samba.org>
626 * BUG 10476: waf: Fix the build on openbsd.
629 o Stefan Metzmacher <metze@samba.org>
630 * BUG 11144: talloc: Version 2.1.2.
631 * BUG 11164: s4:auth/gensec_gssapi: Let gensec_gssapi_update() return
632 NT_STATUS_LOGON_FAILURE for unknown errors.
635 o Matthew Newton <matthew-git@newtoncomputing.co.uk>
636 * BUG 11149: Update libwbclient version to 0.12.
639 o Andreas Schneider <asn@samba.org>
640 * BUG 11018: spoolss: Retrieve published printer GUID if not in registry.
641 * BUG 11135: replace: Remove superfluous check for gcrypt header.
642 * BUG 11180: s4-process_model: Do not close random fds while forking.
643 * BUG 11185: s3-passdb: Fix 'force user' with winbind default domain.
646 o Christof Schmitt <cs@samba.org>
647 * BUG 11153: brlock: Use 0 instead of empty initializer list.
650 o Thomas Schulz <schulz@adi.com>
651 * BUG 11092: lib: texpect: Fix the build on Solaris.
652 * BUG 11140: libcli/auth: Match Declaration of
653 netlogon_creds_cli_context_tmp with implementation.
656 o Jelmer Vernooij <jelmer@samba.org>
657 * BUG 11137: Backport subunit changes.
660 #######################################
661 Reporting bugs & Development Discussion
662 #######################################
664 Please discuss this release on the samba-technical mailing list or by
665 joining the #samba-technical IRC channel on irc.freenode.net.
667 If you do report problems then please try to send high quality
668 feedback. If you don't provide vital information to help us track down
669 the problem then you will probably be ignored. All bug reports should
670 be filed under the Samba 4.2 product in the project's Bugzilla
671 database (https://bugzilla.samba.org/).
674 ======================================================================
675 == Our Code, Our Bugs, Our Responsibility.
677 ======================================================================
680 ----------------------------------------------------------------------
683 =============================
684 Release Notes for Samba 4.2.0
686 =============================
689 This is is the first stable release of Samba 4.2.
691 Samba 4.2 will be the next version of the Samba suite.
694 Samba User Survey 2015
695 ======================
697 https://www.surveygizmo.com/s3/2020369/Samba-User-Survey-2015
699 Please take our survey. It will help us improve Samba by understanding
700 your knowledge and needs. The survey runs until end of March 2015 and
701 won't ask for any personal info. The full results will be shared with
702 the Samba Team, and statistical summaries will be shared with the
703 Samba community after the SambaXP conference (http://sambaxp.org).
706 IMPORTANT NOTE ABOUT THE SUPPORT END OF SAMBA 3
707 =================================================
709 With the final release of Samba 4.2, the last series of Samba 3 has
710 been discontinued! People still running 3.6.x or earlier,should
711 consider moving to a more recent and maintained version (4.0 - 4.2).
712 One of the common misconceptions is that Samba 4.x automatically
713 means "Active Directory only": This is wrong!
715 Acting as an Active Directory Domain Controller is just one of the
716 enhancements included in Samba 4.0 and later. Version 4.0 was just the
717 next release after the 3.6 series and contains all the features of the
718 previous ones - including the NT4-style (classic) domain support. This
719 means you can update a Samba 3.x NT4-style PDC to 4.x, just as you've
720 updated in the past (e.g. from 3.4.x to 3.5.x). You don't have to move
721 your NT4-style domain to an Active Directory!
723 And of course the possibility remains unchanged, to setup a new NT4-style
724 PDC with Samba 4.x, like done in the past (e.g. with openLDAP backend).
725 Active Directory support in Samba 4 is additional and does not replace
726 any of these features. We do understand the difficulty presented by
727 existing LDAP structures and for that reason there isn't a plan to
728 decommission the classic PDC support. It remains tested by the continuous
731 The code that supports the classic Domain Controller is also the same
732 code that supports the internal 'Domain' of standalone servers and
733 Domain Member Servers. This means that we still use this code, even
734 when not acting as an AD Domain Controller. It is also the basis for
735 some of the features of FreeIPA and so it gets development attention
736 from that direction as well.
742 Read the "Winbindd/Netlogon improvements" section (below) carefully!
748 Transparent File Compression
749 ============================
751 Samba 4.2.0 adds support for the manipulation of file and folder
752 compression flags on the Btrfs filesystem.
753 With the Btrfs Samba VFS module enabled, SMB2+ compression flags can
754 be set remotely from the Windows Explorer File->Properties->Advanced
755 dialog. Files flagged for compression are transparently compressed
756 and uncompressed when accessed or modified.
758 Previous File Versions with Snapper
759 ===================================
761 The newly added Snapper VFS module exposes snapshots managed by
762 Snapper for use by Samba. This provides the ability for remote
763 clients to access shadow-copies via Windows Explorer using the
764 "previous versions" dialog.
766 Winbindd/Netlogon improvements
767 ==============================
769 The whole concept of maintaining the netlogon secure channel
770 to (other) domain controllers was rewritten in order to maintain
771 global state in a netlogon_creds_cli.tdb. This is the proper fix
772 for a large number of bugs:
774 https://bugzilla.samba.org/show_bug.cgi?id=6563
775 https://bugzilla.samba.org/show_bug.cgi?id=7944
776 https://bugzilla.samba.org/show_bug.cgi?id=7945
777 https://bugzilla.samba.org/show_bug.cgi?id=7568
778 https://bugzilla.samba.org/show_bug.cgi?id=8599
780 In addition a strong session key is now required by default,
781 which means that communication to older servers or clients
782 might be rejected by default.
784 For the client side we have the following new options:
785 "require strong key" (yes by default), "reject md5 servers" (no by default).
786 E.g. for Samba 3.0.37 you need "require strong key = no" and
787 for NT4 DCs you need "require strong key = no" and "client NTLMv2 auth = no",
789 On the server side (as domain controller) we have the following new options:
790 "allow nt4 crypto" (no by default), "reject md5 client" (no by default).
791 E.g. in order to allow Samba < 3.0.27 or NT4 members to work
792 you need "allow nt4 crypto = yes"
794 winbindd does not list group memberships for display purposes
795 (e.g. getent group <domain\<group>) anymore by default.
796 The new default is "winbind expand groups = 0" now,
797 the reason for this is the same as for "winbind enum users = no"
798 and "winbind enum groups = no". Providing this information is not always
799 reliably possible, e.g. if there are trusted domains.
801 Please consult the smb.conf manpage for more details on these new options.
803 Winbindd use on the Samba AD DC
804 ===============================
806 Winbindd is now used on the Samba AD DC by default, replacing the
807 partial rewrite used for winbind operations in Samba 4.0 and 4.1.
809 This allows more code to be shared, more options to be honoured, and
810 paves the way for support for trusted domains in the AD DC.
812 If required the old internal winbind can be activated by setting
813 'server services = +winbind -winbindd'. Upgrading users with a server
814 services parameter specified should ensure they change 'winbind' to
815 'winbindd' to obtain the new functionality.
817 The 'samba' binary still manages the starting of this service, there
818 is no need to start the winbindd binary manually.
820 Winbind now requires secured connections
821 ========================================
823 To improve protection against rogue domain controllers we now require
824 that when we connect to an AD DC in our forest, that the connection be
825 signed using SMB Signing. Set 'client signing = off' in the smb.conf
828 Also and DCE/RPC pipes must be sealed, set 'require strong key =
829 false' and 'winbind sealed pipes = false' to disable.
831 Finally, the default for 'client ldap sasl wrapping' has been set to
832 'sign', to ensure the integrity of LDAP connections. Set 'client ldap
833 sasl wrapping = plain' to disable.
835 Larger IO sizes for SMB2/3 by default
836 =====================================
838 The default values for "smb2 max read", "smb2 max write" and "smb2 max trans"
839 have been changed to 8388608 (8MiB) in order to match the default of
845 The SMB2 protocol allows clients to aggressively cache files
846 locally above and beyond the caching allowed by SMB1 and SMB2 oplocks.
848 Called SMB2 leases, this can greatly reduce traffic on an SMB2
849 connection. Samba 4.2 now implements SMB2 leases.
851 It can be turned on by setting the parameter "smb2 leases = yes"
852 in the [global] section of your smb.conf. This parameter is set
853 to off by default until the SMB2 leasing code is declared fully stable.
855 Improved DCERPC man in the middle detection
856 ===========================================
858 The DCERPC header signing has been implemented
859 in addition to the dcerpc_sec_verification_trailer
862 Overhauled "net idmap" command
863 ==============================
865 The command line interface of the "net idmap" command has been
866 made systematic, and subcommands for reading and writing the autorid idmap
867 database have been added. Note that the writing commands should be
868 used with great care. See the net(8) manual page for details.
873 The tdb library, our core mechanism to store Samba-specific data on disk and
874 share it between processes, has been improved to support process shared robust
875 mutexes on Linux. These mutexes are available on Linux and Solaris and
876 significantly reduce the overhead involved with tdb. To enable mutexes for
879 dbwrap_tdb_mutexes:* = yes
881 in the [global] section of your smb.conf.
883 Tdb file space management has also been made more efficient. This
884 will lead to smaller and less fragmented databases.
886 Messaging improvements
887 ======================
889 Our internal messaging subsystem, used for example for things like oplock
890 break messages between smbds or setting a process debug level dynamically, has
891 been rewritten to use unix domain datagram messages.
896 Samba's file server clustering component CTDB is now integrated in the
897 Samba tree. This avoids the confusion of compatibility of Samba and CTDB
898 versions as existed previously.
900 To build the Samba file server with cluster support, use the configure
901 command line option --with-cluster-support. This will build clustered
902 file server against the in-tree CTDB and will also build CTDB.
903 Building clustered samba with previous versions of CTDB is no longer
906 Samba Registry Editor
907 =====================
909 The utitlity to browse the samba registry has been overhauled by our Google
910 Summer of Code student Chris Davis. Now samba-regedit has a
911 Midnight-Commander-like theme and UI experience. You can browse keys and edit
912 the diffent value types. For a data value type a hexeditor has been
915 Bad Password Lockout in the AD DC
916 =================================
918 Samba's AD DC now implements bad password lockout (on a per-DC basis).
920 That is, incorrect password attempts are tracked, and accounts locked
921 out if too many bad passwords are submitted. There is also a grace
922 period of 60 minutes on the previous password when used for NTLM
923 authentication (matching Windows 2003 SP1: https://support2.microsoft.com/kb/906305).
925 The relevant settings can be seen using 'samba-tool domain
926 passwordsettings show' (the new settings being highlighted):
928 Password informations for domain 'DC=samba,DC=example,DC=com'
930 Password complexity: on
931 Store plaintext passwords: off
932 Password history length: 24
933 Minimum password length: 7
934 Minimum password age (days): 1
935 Maximum password age (days): 42
936 * Account lockout duration (mins): 30 *
937 * Account lockout threshold (attempts): 0 *
938 * Reset account lockout after (mins): 30 *
940 These values can be set using 'samba-tool domain passwordsettings set'.
942 Correct defaults in the smb.conf manpages
943 =========================================
945 The default values for smb.conf parameters are now correctly specified
946 in the smb.conf manpage, even when they refer to build-time specified
947 paths. Provided Samba is built on a system with the right tools
948 (xsltproc in particular) required to generate our man pages, then
949 these will be built with the exact same embedded paths as used by the
950 configuration parser at runtime. Additionally, the default values
951 read from the smb.conf manpage are checked by our test suite to match
952 the values seen in testparm and used by the running binaries.
954 Consistent behaviour between samba-tool testparm and testparm
955 =============================================================
957 With the exception of the registry backend, which remains only
958 available in the file server, the behaviour of the smb.conf parser and
959 the tools 'samba-tool testparm' and 'testparm' is now consistent,
960 particularly with regard to default values. Except with regard to
961 registry shares, it is no longer needed to use one tool on the AD
962 DC, and another on the file server.
967 A VFS module for basic WORM (Write once read many) support has been
968 added. It allows an additional layer on top of a Samba share, that provides
969 a basic set of WORM functionality on the client side, to control the
970 writeability of files and folders.
972 As the module is simply an additional layer, share access and permissions
973 work like expected - only WORM functionality is added on top. Removing the
974 module from the share configuration, removes this layer again. The
975 filesystem ACLs are not affected in any way from the module and treated
978 The module does not provide complete WORM functions, like some archiving
979 products do! It is not audit-proof, because the WORM function is only
980 available on the client side, when accessing a share through SMB! If
981 the same folder is shared by other services like NFS, the access only
982 depends on the underlying filesystem ACLs. Equally if you access the
983 content directly on the server.
985 For additional information, see
986 https://wiki.samba.org/index.php/VFS/vfs_worm
988 vfs_fruit, a VFS module for OS X clients
989 ========================================
991 A new VFS module that provides enhanced compatibility with Apple SMB
992 clients and interoperability with a Netatalk 3 AFP fileserver.
994 The module features enhanced performance with reliable named streams
995 support, interoperability with special characters commonly used by OS
996 X client (eg '*', '/'), integrated file locking and Mac metadata
997 access with Netatalk 3 and enhanced performance by implementing
998 Apple's SMB2 extension codenamed "AAPL".
1000 The modules behaviour is fully configurable, please refer to the
1001 manpage vfs_fruit for further details.
1003 smbclient archival improvements
1004 ===============================
1006 Archive creation and extraction support in smbclient has been rewritten
1007 to use libarchive. This fixes a number of outstanding bugs in Samba's
1008 previous custom tar implementation and also adds support for the
1009 extraction of zipped archives.
1010 smbclient archive support can be enabled or disabled at build time with
1011 corresponding --with[out]-libarchive configure parameters.
1014 ######################################################################
1021 Parameter Name Description Default
1022 -------------- ----------- -------
1024 allow nt4 crypto New no
1025 neutralize nt4 emulation New no
1026 reject md5 client New no
1027 reject md5 servers New no
1028 require strong key New yes
1029 smb2 max read Changed default 8388608
1030 smb2 max write Changed default 8388608
1031 smb2 max trans Changed default 8388608
1032 winbind expand groups Changed default 0
1035 CHANGES SINCE 4.2.0rc5
1036 ======================
1038 o Michael Adam <obnox@samba.org>
1039 * BUG 11117: doc:man:vfs_glusterfs: improve the configuration section.
1042 o Jeremy Allison <jra@samba.org>
1043 * BUG 11118: tevent: Ignore unexpected signal events in the same way the
1047 o Andrew Bartlett <abartlet@samba.org>
1048 * BUG 11100: debug: Set close-on-exec for the main log file FD.
1049 * BUG 11097: Fix Win8.1 Credentials Manager issue after KB2992611 on Samba
1053 o Ira Cooper <ira@samba.org>
1054 * BUG 1115: smbd: Stop using vfs_Chdir after SMB_VFS_DISCONNECT.
1057 o Günther Deschner <gd@samba.org>
1058 * BUG 11088: vfs: Add a brief vfs_ceph manpage.
1061 o David Disseldorp <ddiss@samba.org>
1062 * BUG 11118: tevent: version 0.9.24.
1065 o Amitay Isaacs <amitay@gmail.com>
1066 * BUG 11124: ctdb-io: Do not use sys_write to write to client sockets.
1069 o Volker Lendecke <vl@samba.org>
1070 * BUG 11119: snprintf: Try to support %j.
1073 o Garming Sam <garming@catalyst.net.nz>
1074 * BUG 11097: Fix Win8.1 Credentials Manager issue after KB2992611 on Samba
1078 o Andreas Schneider <asn@samba.org>
1079 * BUG 11127: doc-xml: Add 'sharesec' reference to 'access based share
1083 CHANGES SINCE 4.2.0rc4
1084 ======================
1086 o Michael Adam <obnox@samba.org>
1087 * BUG 11032: Enable mutexes in gencache_notrans.tdb.
1088 * BUG 11058: cli_connect_nb_send: Don't segfault on host == NULL.
1091 o Jeremy Allison <jra@samba.org>
1092 * BUG 10849: s3: lib, s3: modules: Fix compilation on Solaris.
1093 * BUG 11044: Fix authentication using Kerberos (not AD).
1094 * BUG 11077: CVE-2015-0240: s3: netlogon: Ensure we don't call talloc_free
1095 on an uninitialized pointer.
1096 * BUG 11094: s3: smbclient: Allinfo leaves the file handle open.
1097 * BUG 11102: s3: smbd: leases - losen paranoia check. Stat opens can grant
1099 * BUG 11104: s3: smbd: SMB2 close. If a file has delete on close, store the
1100 return info before deleting.
1103 o Ira Cooper <ira@samba.org>
1104 * BUG 11069: vfs_glusterfs: Add comments to the pipe(2) code.
1107 o Günther Deschner <gd@samba.org>
1108 * BUG 11070: s3-vfs: Fix developer build of vfs_ceph module.
1111 o David Disseldorp <ddiss@samba.org>
1112 * BUG 10808: printing/cups: Pack requested-attributes with IPP_TAG_KEYWORD.
1113 * BUG 11055: vfs_snapper: Correctly handles multi-byte DBus strings.
1114 * BUG 11059: libsmb: Provide authinfo domain for encrypted session
1118 o Poornima G <pgurusid@redhat.com>
1119 * BUG 11069: vfs_glusterfs: Implement AIO support.
1122 o Volker Lendecke <vl@samba.org>
1123 * BUG 11032: Enable mutexes in gencache_notrans.tdb.
1126 o Stefan Metzmacher <metze@samba.org>
1127 * BUG 9299: nsswitch: Fix soname of linux nss_*.so.2 modules.
1128 * BUG 9702: s3:smb2_server: protect against integer wrap with "smb2 max
1130 * BUG 9810: Make validate_ldb of String(Generalized-Time) accept
1131 millisecond format ".000Z".
1132 * BUG 10112: Use -R linker flag on Solaris, not -rpath.
1135 o Marc Muehlfeld <mmuehlfeld@samba.org>
1136 * BUG 10909: samba-tool: Create NIS enabled users and unixHomeDirectory
1140 o Garming Sam <garming@catalyst.net.nz>
1141 * BUG 11022: Make Sharepoint search show user documents.
1144 o Christof Schmitt <cs@samba.org>
1145 * BUG 11032: Enable mutexes in gencache_notrans.tdb.
1148 o Andreas Schneider <asn@samba.org>
1149 * BUG 11058: utils: Fix 'net time' segfault.
1150 * BUG 11066: s3-pam_smbpass: Fix memory leak in pam_sm_authenticate().
1151 * BUG 11077: CVE-2015-0240: s3-netlogon: Make sure we do not deference a
1155 o Raghavendra Talur <raghavendra.talur@gmail.com>
1156 * BUG 11069: vfs/glusterfs: Change xattr key to match gluster key.
1159 CHANGES SINCE 4.2.0rc3
1160 ======================
1162 o Andrew Bartlett <abartlet@samba.org>
1163 * BUG 10993: CVE-2014-8143: dsdb-samldb: Check for extended access
1164 rights before we allow changes to userAccountControl.
1167 o Günther Deschner <gd@samba.org>
1168 * BUG 10240: vfs: Add glusterfs manpage.
1171 o David Disseldorp <ddiss@samba.org>
1172 * BUG 10984: Fix spoolss IDL response marshalling when returning error
1173 without clearing info.
1176 o Amitay Isaacs <amitay@gmail.com>
1177 * BUG 11000: ctdb-daemon: Use correct tdb flags when enabling robust mutex
1181 o Volker Lendecke <vl@samba.org>
1182 * BUG 11032: tdb_wrap: Make mutexes easier to use.
1183 * BUG 11039: vfs_fruit: Fix base_fsp name conversion.
1184 * BUG 11040: vfs_fruit: mmap under FreeBSD needs PROT_READ.
1185 * BUG 11051: net: Fix sam addgroupmem.
1188 o Stefan Metzmacher <metze@samba.org>
1189 * BUG 10940: s3:passdb: fix logic in pdb_set_pw_history().
1190 * BUG 11004: tdb: version 1.3.4.
1193 o Christof Schmitt <cs@samba.org>
1194 * BUG 11034: winbind: Retry after SESSION_EXPIRED error in ping-dc.
1197 o Andreas Schneider <asn@samba.org>
1198 * BUG 11008: s3-util: Fix authentication with long hostnames.
1199 * BUG 11026: nss_wrapper: check for nss.h.
1200 * BUG 11033: lib/util: Avoid collision which alread defined consumer DEBUG
1202 * BUG 11037: s3-libads: Fix a possible segfault in kerberos_fetch_pac().
1205 CHANGES SINCE 4.2.0rc2
1206 ======================
1208 o Michael Adam <obnox@samba.org>
1209 * BUG 10892: Integrate CTDB into top-level Samba build.
1212 o Jeremy Allison <jra@samba.org>
1213 * BUG 10851: lib: uid_wrapper: Fix setgroups and syscall detection on a
1214 system without native uid_wrapper library.
1215 * BUG 10896: s3-nmbd: Fix netbios name truncation.
1216 * BUG 10904: Fix smbclient loops doing a directory listing against Mac OS X 10
1217 server with a non-wildcard path.
1218 * BUG 10911: Add support for SMB2 leases.
1219 * BUG 10920: s3: nmbd: Ensure NetBIOS names are only 15 characters stored.
1220 * BUG 10966: libcli: SMB2: Pure SMB2-only negprot fix to make us behave as a
1221 Windows client does.
1222 * BUG 10982: s3: smbd: Fix *allocate* calls to follow POSIX error return
1226 o Christian Ambach <ambi@samba.org>
1227 * BUG 9629: Make 'profiles' work again.
1230 o Björn Baumbach <bb@sernet.de>
1231 * BUG 11014: ctdb-build: Fix build without xsltproc.
1234 o Ralph Boehme <slow@samba.org>
1235 * BUG 10834: Don't build vfs_snapper on FreeBSD.
1236 * BUG 10971: vfs_streams_xattr: Check stream type.
1237 * BUG 10983: vfs_fruit: Add support for AAPL.
1238 * BUG 11005: vfs_streams_xattr: Add missing call to SMB_VFS_NEXT_CONNECT.
1241 o Günther Deschner <gd@samba.org>
1242 * BUG 9056: pam_winbind: fix warn_pwd_expire implementation.
1243 * BUG 10942: Cleanup add_string_to_array and usage.
1246 o David Disseldorp <ddiss@samba.org>
1247 * BUG 10898: spoolss: Fix handling of bad EnumJobs levels.
1248 * BUG 10905: Fix print job enumeration.
1251 o Amitay Isaacs <amitay@gmail.com>
1252 * BUG 10620: s4-dns: Add support for BIND 9.10.
1253 * BUG 10892: Integrate CTDB into top-level Samba build.
1254 * BUG 10996: Fix IPv6 support in CTDB.
1255 * BUG 11014: packaging: Include CTDB man pages in the tarball.
1258 o Björn Jacke <bj@sernet.de>
1259 * BUG 10835: nss_winbind: Add getgroupmembership for FreeBSD.
1262 o Guenter Kukkukk <linux@kukkukk.com>
1263 * BUG 10952: Fix 'samba-tool dns serverinfo <server>' for IPv6.
1266 o Volker Lendecke <vl@samba.org>
1267 * BUG 10932: pdb_tdb: Fix a TALLOC/SAFE_FREE mixup.
1268 * BUG 10942: dbwrap_ctdb: Pass on mutex flags to tdb_open.
1271 o Justin Maggard <jmaggard10@gmail.com>
1272 * BUG 10852: winbind3: Fix pwent variable substitution.
1275 o Kamen Mazdrashki <kamenim@samba.org>
1276 * BUG 10975: ldb: version 1.1.18
1279 o Stefan Metzmacher <metze@samba.org>
1280 * BUG 10781: tdb: version 1.3.3
1281 * BUG 10911: Add support for SMB2 leases.
1282 * BUG 10921: s3:smbd: Fix file corruption using "write cache size != 0".
1283 * BUG 10949: Fix RootDSE search with extended dn control.
1284 * BUG 10958: libcli/smb: only force signing of smb2 session setups when
1285 binding a new session.
1286 * BUG 10975: ldb: version 1.1.18
1287 * BUG 11016: pdb_get_trusteddom_pw() fails with non valid UTF16 random
1291 o Marc Muehlfeld <mmuehlfeld@samba.org>
1292 * BUG 10895: samba-tool group add: Add option '--nis-domain' and '--gid'.
1295 o Noel Power <noel.power@suse.com>
1296 * BUG 10918: btrfs: Don't leak opened directory handle.
1299 o Matt Rogers <mrogers@redhat.com>
1300 * BUG 10933: s3-keytab: fix keytab array NULL termination.
1303 o Garming Sam <garming@catalyst.net.nz>
1304 * BUG 10355: pdb: Fix build issues with shared modules.
1305 * BUG 10720: idmap: Return the correct id type to *id_to_sid methods.
1306 * BUG 10864: Fix testparm to show hidden share defaults.
1309 o Andreas Schneider <asn@samba.org>
1310 * BUG 10279: Make 'smbclient' use cached creds.
1311 * BUG 10960: s3-smbclient: Return success if we listed the shares.
1312 * BUG 10961: s3-smbstatus: Fix exit code of profile output.
1313 * BUG 10965: socket_wrapper: Add missing prototype check for eventfd.
1316 o Martin Schwenke <martin@meltin.net>
1317 * BUG 10892: Integrate CTDB into top-level Samba build.
1318 * BUG 10996: Fix IPv6 support in CTDB.
1321 CHANGES SINCE 4.2.0rc1
1322 ======================
1324 o Jeremy Allison <jra@samba.org>
1325 * BUG 10848: s3: smb2cli: query info return length check was reversed.
1328 o Björn Baumbach <bb@sernet.de>
1329 * BUG 10862: build: Do not install 'texpect' binary anymore.
1332 o Chris Davis <cd.rattan@gmail.com>
1333 * BUG 10859: Improve samba-regedit.
1336 o Jakub Hrozek <jakub.hrozek@gmail.com>
1337 * BUG 10861: Fix build of socket_wrapper on systems without SO_PROTOCOL.
1340 o Volker Lendecke <vl@samba.org>
1341 * BUG 10860: registry: Don't leave dangling transactions.
1344 o Stefan Metzmacher <metze@samba.org>
1345 * BUG 10866: libcli/smb: Fix smb2cli_validate_negotiate_info with
1346 min=PROTOCOL_NT1 max=PROTOCOL_SMB2_02.
1349 o Christof Schmitt <cs@samba.org>
1350 * BUG 10837: idmap_rfc2307: Fix a crash after connection problem to DC.
1353 #######################################
1354 Reporting bugs & Development Discussion
1355 #######################################
1357 Please discuss this release on the samba-technical mailing list or by
1358 joining the #samba-technical IRC channel on irc.freenode.net.
1360 If you do report problems then please try to send high quality
1361 feedback. If you don't provide vital information to help us track down
1362 the problem then you will probably be ignored. All bug reports should
1363 be filed under the Samba 4.2 product in the project's Bugzilla
1364 database (https://bugzilla.samba.org/).
1367 ======================================================================
1368 == Our Code, Our Bugs, Our Responsibility.
1370 ======================================================================