s3: smbd: have_file_open_below() fails to enumerate open files below an open director...
[Samba.git] / WHATSNEW.txt
blob8e65255032effe93c44dda52af83b250f5e46eb6
1                    =============================
2                    Release Notes for Samba 4.2.5
3                          October 27, 2015
4                    =============================
7 This is the latest stable release of Samba 4.2.
10 Changes since 4.2.4:
11 --------------------
13 o   Jeremy Allison <jra@samba.org>
14     * BUG 10252: s3: smbd: Fix our access-based enumeration on "hide unreadable"
15       to match Windows.
16     * BUG 10634: smbd: Fix file name buflen and padding in notify repsonse.
17     * BUG 11486: s3: smbd: Fix mkdir race condition.
18     * BUG 11522: s3: smbd: Fix opening/creating :stream files on the root share
19       directory.
20     * BUG 11535: s3: smbd: Fix NULL pointer bug introduced by previous 'raw'
21       stream fix (bug #11522).
22     * BUG 11555: s3: lsa: lookup_name() logic for unqualified (no DOMAIN\
23       component) names is incorrect.
26 o   Ralph Boehme <slow@samba.org>
27     * BUG 11535: s3: smbd: Fix a crash in unix_convert().
28     * BUG 11543: vfs_fruit: Return value of ad_pack in vfs_fruit.c.
29     * BUG 11549: Fix bug in smbstatus where the lease info is not printed.
30     * BUG 11550: s3:smbstatus: Add stream name to share_entry_forall().
31     * BUG 11555: s3:lib: validate domain name in lookup_wellknown_name().
34 o   Günther Deschner <gd@samba.org>
35     * BUG 11038: kerberos: Make sure we only use prompter type when available.
38 o   Björn Jacke <bj@sernet.de>
39     * BUG 10365: nss_winbind: Fix hang on Solaris on big groups.
40     * BUG 11355: build: Use as-needed linker flag also on OpenBSD.
43 o   Volker Lendecke <vl@samba.org>
44     * BUG 11038: winbind: Fix 100% loop.
45     * BUG 11381: Fix a deadlock in tdb.
48 o   Stefan Metzmacher <metze@samba.org>
49     * BUG 11316: s3:ctdbd_conn: Make sure we destroy tevent_fd before closing
50       the socket.
51     * BUG 11327: dcerpc.idl: accept invalid dcerpc_bind_nak pdus.
54 o   Har Gagan Sahai <SHarGagan@novell.com>
55     * BUG 11509: s3: dfs: Fix a crash when the dfs targets are disabled.
58 o   Andreas Schneider <asn@samba.org>
59     * BUG 11502: pam_winbind: Fix a segfault if initialization fails.
62 o   Uri Simchoni <uri@samba.org>
63     * BUG 11528: net: Fix a crash with 'net ads keytab create'.
64     * BUG 11547: vfs_commit: Set the fd on open before calling SMB_VFS_FSTAT.
67 #######################################
68 Reporting bugs & Development Discussion
69 #######################################
71 Please discuss this release on the samba-technical mailing list or by
72 joining the #samba-technical IRC channel on irc.freenode.net.
74 If you do report problems then please try to send high quality
75 feedback. If you don't provide vital information to help us track down
76 the problem then you will probably be ignored.  All bug reports should
77 be filed under the Samba 4.2 product in the project's Bugzilla
78 database (https://bugzilla.samba.org/).
81 ======================================================================
82 == Our Code, Our Bugs, Our Responsibility.
83 == The Samba Team
84 ======================================================================
87 Release notes for older releases follow:
88 ----------------------------------------
90 ======================================================================
92                    =============================
93                    Release Notes for Samba 4.2.4
94                          September 8, 2015
95                    =============================
98 This is the latest stable release of Samba 4.2.
101 Changes since 4.2.3:
102 --------------------
104 o   Michael Adam <obnox@samba.org>
105     * BUG 11372: smbd: Fix SMB3 functionality of "smb encrypt".
108 o   Jeremy Allison <jra@samba.org>
109     * BUG 11359: lib: replace: Add strsep function (missing on Solaris).
112 o   Ralph Boehme <slow@samba.org>
113     * BUG 11278: Fix stream names with colon with "fruit:encoding = native".
114     * BUG 11317: vfs:fruit: Implement copyfile style copy_chunk.
115     * BUG 11426: s3-net: Use talloc array in share allowedusers.
116     * BUG 11467: vfs_fruit: Handling of empty resource fork.
119 o   Alexander Bokovoy <ab@samba.org>
120     * BUG 11265: auth/credentials: If credentials have principal set, they are
121       not anonymous anymore.
124 o   Günther Deschner <gd@samba.org>
125     * BUG 11373: s3-smbd: Reset protocol in smbXsrv_connection_init_tables
126       failure paths.
129 o   Amitay Isaacs <amitay@gmail.com>
130     * BUG 11398: ctdb-daemon: Return correct sequence number for
131       CONTROL_GET_DB_SEQNUM.
132     * BUG 11431: ctdb-daemon: Improve error handling for running event scripts.
135 o   Volker Lendecke <vl@samba.org>
136     * BUG 11316: lib: Fix rundown of open_socket_out().
137     * BUG 11488: Avoid quoting problems in user's DNs.
140 o   Justin Maggard <jmaggard@netgear.com>
141     * BUG 11320: s3-passdb: Respect LOOKUP_NAME_GROUP flag in sid lookup.
144 o   Roel van Meer <roel@1afa.com>
145     * BUG 11427: s3-util: Compare the maximum allowed length of a NetBIOS name.
148 o   Stefan Metzmacher <metze@samba.org>
149     * BUG 11316: s3:lib: Fix some corner cases of open_socket_out_cleanup().
150     * BUG 11454: Backport dcesrv_netr_DsRGetDCNameEx2 fixes.
153 o   Anubhav Rakshit <anubhav.rakshit@gmail.com>
154     * BUG 11361: s3:libsmb: Fix a bug in conversion of ea list to ea array.
157 o   Arvid Requate <requate@univention.de>
158     * BUG 11291: s4:rpc_server/netlogon: Fix for NetApp.
161 o   Andreas Schneider <asn@samba.org>
162     * BUG 9862: s3-auth: Fix "map to guest = Bad uid".
163     * BUG 11403: s3-smbd: Leave sys_disk_free() if dfree command is used.
164     * BUG 11404: s3-auth: Fix a possible null pointer dereference.
167 o   Martin Schwenke <martin@meltin.net>
168     * BUG 11399: ctdb-scripts: Support monitoring of interestingly named VLANs
169       on bonds.
170     * BUG 11432: ctdb-daemon: Check if updates are in flight when releasing all
171       IPs.
172     * BUG 11435: ctdb-build: Fix building of PCP PMDA module.
175 o   Wei Zhong <wweyeww@gmail.com>
176     * BUG 10823: s3: winbindd: Fix TALLOC_FREE of uninitialized groups variable.
179 #######################################
180 Reporting bugs & Development Discussion
181 #######################################
183 Please discuss this release on the samba-technical mailing list or by
184 joining the #samba-technical IRC channel on irc.freenode.net.
186 If you do report problems then please try to send high quality
187 feedback. If you don't provide vital information to help us track down
188 the problem then you will probably be ignored.  All bug reports should
189 be filed under the Samba 4.2 product in the project's Bugzilla
190 database (https://bugzilla.samba.org/).
193 ======================================================================
194 == Our Code, Our Bugs, Our Responsibility.
195 == The Samba Team
196 ======================================================================
199 ----------------------------------------------------------------------
202                    =============================
203                    Release Notes for Samba 4.2.3
204                            July 14, 2015
205                    =============================
208 This is the latest stable release of Samba 4.2.
211 Changes since 4.2.2:
212 --------------------
214 o   Michael Adam <obnox@samba.org>
215     * BUG 11366: docs: Overhaul the description of "smb encrypt" to include SMB3
216       encryption.
219 o   Jeremy Allison <jra@samba.org>
220     * BUG 11068: s3: lib: util: Ensure we read a hex number as %x, not %u.
221     * BUG 11295: Excessive cli_resolve_path() usage can slow down transmission.
222     * BUG 11328: winbindd: winbindd_raw_kerberos_login - ensure logon_info
223       exists in PAC.
224     * BUG 11339: s3: smbd: Use separate flag to track
225       become_root()/unbecome_root() state.
226     * BUG 11342: s3: smbd: Codenomicon crash in do_smb_load_module().
229 o   Christian Ambach <ambi@samba.org>
230     * BUG 11170: s3:param/loadparm: Fix 'testparm --show-all-parameters'.
233 o   Andrew Bartlett <abartlet@samba.org>
234     * BUG 10991: winbindd: Sync secrets.ldb into secrets.tdb on startup.
237 o   Ralph Boehme <slow@samba.org>
238     * BUG 11277: s3:smb2: Add padding to last command in compound requests.
239     * BUG 11305: vfs_fruit: Add option "veto_appledouble".
240     * BUG 11323: smbd/trans2: Add a useful diagnostic for files with bad
241       encoding.
242     * BUG 11363: vfs_fruit: Check offset and length for AFP_AfpInfo read
243       requests.
244     * BUG 11371: ncacn_http: Fix GNUism.
247 o   Günther Deschner <gd@samba.org>
248     * BUG 11245: s3-rpc_server: Fix rpc_create_tcpip_sockets() processing of
249       interfaces.
252 o   Alexander Drozdov <al.drozdov@gmail.com>
253     * BUG 11331: tdb: version 1.3.5: ABI change: tdb_chainlock_read_nonblock()
254       has been added.
257 o   Evangelos Foutras <evangelos@foutrelis.com>
258     * BUG 8780: s4:lib/tls: Fix build with gnutls 3.4.
261 o   David Holder <david.holder@erion.co.uk>
262     * BUG 11281: Add IPv6 support to ADS client side LDAP connects.
263     * BUG 11282: Add IPv6 support for determining FQDN during ADS join.
264     * BUG 11283: s3: IPv6 enabled DNS connections for ADS client.
267 o   Steve Howells <steve.howells@moscowfirst.com>
268     * BUG 10924: s4.2/fsmo.py: Fixed fsmo transfer exception.
271 o   Amitay Isaacs <amitay@gmail.com>
272     * BUG 11293: Fix invalid write in ctdb_lock_context_destructor.
275 o   Volker Lendecke <vl@samba.org>
276     * BUG 11218: smbd: Fix a use-after-free.
277     * BUG 11312: tstream: Make socketpair nonblocking.
278     * BUG 11330: tevent: Fix CID 1035381 Unchecked return value.
279     * BUG 11331: tdb: Fix CID 1034842 and 1034841 Resource leaks.
282 o   Stefan Metzmacher <metze@samba.org>
283     * BUG 11061: Logon via MS Remote Desktop hangs.
284     * BUG 11141: tevent: Add a note to tevent_add_fd().
285     * BUG 11293: Fix invalid write in ctdb_lock_context_destructor.
286     * BUG 11316: tevent_fd needs to be destroyed before closing the fd.
287     * BUG 11319: Build fails on Solaris 11 with "‘PTHREAD_MUTEX_ROBUST’
288       undeclared".
289     * BUG 11326: Robust mutex support broken in 1.3.5.
290     * BUG 11329: s3:smb2_setinfo: Fix memory leak in the defer_rename case.
291     * BUG 11330: Backport tevent-0.9.25.
292     * BUG 11331: Backport tdb-1.3.6.
293     * BUG 11367: s3:auth_domain: Fix talloc problem in
294       connect_to_domain_password_server().
297 o   Marc Muehlfeld <mmuehlfeld@samba.org>
298     * BUG 11315: Group creation: Add msSFU30Name only when --nis-domain was
299       given.
301 o   Matthieu Patou <mat@matws.net>
302     * BUG 11356: pidl: Make the compilation of PIDL producing the same results
303       if the content hasn't change.
306 o   Noel Power <noel.power@suse.com>
307     * BUG 11328: Kerberos auth info3 should contain resource group ids available
308       from pac_logon.
311 o   Gordon Ross <gordon.w.ross@gmail.com>
312     * BUG 11330: lib: tevent: Fix compile error in Solaris ports backend.
315 o   Christof Schmitt <cs@samba.org>
316     * BUG 11313: idmap_rfc2307: Fix wbinfo '--gid-to-sid' query.
317     * BUG 11324: Change sharesec output back to previous format.
320 o   Uri Simchoni <urisimchoni@gmail.com>
321     * BUG 11358: winbindd: Disconnect child process if request is cancelled at
322       main process.
325 o   Petr Viktorin <pviktori@redhat.com>
326     * BUG 11330: Backport tevent-0.9.25.
329 o   Youzhong Yang <yyang@mathworks.com>
330     * BUG 11217: s3-unix_msg: Remove socket file after closing socket fd.
333 #######################################
334 Reporting bugs & Development Discussion
335 #######################################
337 Please discuss this release on the samba-technical mailing list or by
338 joining the #samba-technical IRC channel on irc.freenode.net.
340 If you do report problems then please try to send high quality
341 feedback. If you don't provide vital information to help us track down
342 the problem then you will probably be ignored.  All bug reports should
343 be filed under the Samba 4.2 product in the project's Bugzilla
344 database (https://bugzilla.samba.org/).
347 ======================================================================
348 == Our Code, Our Bugs, Our Responsibility.
349 == The Samba Team
350 ======================================================================
353 ----------------------------------------------------------------------
356                    =============================
357                    Release Notes for Samba 4.2.2
358                            May 27, 2015
359                    =============================
362 This is the latest stable release of Samba 4.2.
365 Changes since 4.2.1:
366 --------------------
368 o   Michael Adam <obnox@samba.org>
369     * BUG 11182: s3:smbXsrv: refactor duplicate code into
370       smbXsrv_session_clear_and_logoff().
371     * BUG 11260: gencache: don't fail gencache_stabilize if there were records
372       to delete.
375 o   Jeremy Allison <jra@samba.org>
376     * BUG 11186: s3: libsmbclient: After getting attribute server, ensure main
377       srv pointer is still valid.
378     * BUG 11236: s4: rpc: Refactor dcesrv_alter() function into setup and send
379       steps.
380     * BUG 11240: s3: smbd: Incorrect file size returned in the response of
381       "FILE_SUPERSEDE Create".
382     * BUG 11249: Mangled names do not work with acl_xattr.
383     * BUG 11254: nmbd rewrites browse.dat when not required.
386 o   Ralph Boehme <slow@samba.org>
387     * BUG 11213: vfs_fruit: add option "nfs_aces" that controls the NFS ACEs
388       stuff.
389     * BUG 11224: s3:smbd: Add missing tevent_req_nterror.
390     * BUG 11243: vfs: kernel_flock and named streams.
391     * BUG 11244: vfs_gpfs: Error code path doesn't call END_PROFILE.
394 o   Alexander Bokovoy <ab@samba.org>
395     * BUG 11284: s4: libcli/finddcs_cldap: continue processing CLDAP until all
396       addresses are used.
399 o   David Disseldorp <ddiss@samba.org>
400     * BUG 11201: ctdb: check for talloc_asprintf() failure.:w
401     * BUG 11210: spoolss: purge the printer name cache on name change.
404 o   Amitay Isaacs <amitay@gmail.com>
405     * BUG 11204: CTDB statd-callout does not scale.
408 o   Björn Jacke <bj@sernet.de>
409     * BUG 11221: vfs_fruit: also map characters below 0x20.
412 o   Rajesh Joseph <rjoseph@redhat.com>
413     * BUG 11201: ctdb: Coverity fix for CID 1291643.
416 o   Julien Kerihuel <j.kerihuel@openchange.org>
417     * BUG 11225: Multiplexed RPC connections are not handled by DCERPC server.
418     * BUG 11226: Fix terminate connection behavior for asynchronous endpoint
419       with PUSH notification flavors.
422 o   Led <ledest@gmail.com>
423     * BUG 11007: ctdb-scripts: Fix bashism in ctdbd_wrapper script.
426 o   Volker Lendecke <vl@samba.org>
427     * BUG 11201: ctdb: Fix CIDs 1125615, 1125634, 1125613, 1288201 and 1125553.
428     * BUG 11257: SMB2 should cancel pending NOTIFY calls with DELETE_PENDING if
429       the directory is deleted.
432 o   Stefan Metzmacher <metze@samba.org>
433     * BUG 11141: s3:winbindd: make sure we remove pending io requests before
434       closing client sockets.
435     * BUG 11182: Fix panic triggered by smbd_smb2_request_notify_done() ->
436       smbXsrv_session_find_channel() in smbd.
439 o   Christof Schmitt <cs@samba.org>
440     * BUG 11237: 'sharesec' output no longer matches input format.
443 o   Andreas Schneider <asn@samba.org>
444     * BUG 11200: waf: Fix systemd detection.
447 o   Martin Schwenke <martin@meltin.net>
448     * BUG 11202: CTDB: Fix portability issues.
449     * BUG 11203: CTDB: Fix some IPv6-related issues.
450     * BUG 11204: CTDB statd-callout does not scale.
453 o   Richard Sharpe <rsharpe@nutanix.com>
454     * BUG 11234: 'net ads dns gethostbyname' crashes with an error in TALLOC_FREE
455       if you enter invalid values.
458 o   Uri Simchoni <urisimchoni@gmail.com>
459     * BUG 11267: libads: record service ticket endtime for sealed ldap
460       connections.
463 o   Lukas Slebodnik <lslebodn@redhat.com>
464     * BUG 11033: lib/util: Include DEBUG macro in internal header files before
465       samba_util.h.
468 #######################################
469 Reporting bugs & Development Discussion
470 #######################################
472 Please discuss this release on the samba-technical mailing list or by
473 joining the #samba-technical IRC channel on irc.freenode.net.
475 If you do report problems then please try to send high quality
476 feedback. If you don't provide vital information to help us track down
477 the problem then you will probably be ignored.  All bug reports should
478 be filed under the Samba 4.2 product in the project's Bugzilla
479 database (https://bugzilla.samba.org/).
482 ======================================================================
483 == Our Code, Our Bugs, Our Responsibility.
484 == The Samba Team
485 ======================================================================
488 ----------------------------------------------------------------------
491                    =============================
492                    Release Notes for Samba 4.2.1
493                            April 15, 2015
494                    =============================
497 This is the latest stable release of Samba 4.2.
500 Changes since 4.2.0:
501 --------------------
503 o   Michael Adam <obnox@samba.org>
504     * BUG 8905: s3:winbind:grent: Don't stop group enumeration when a group has
505       no gid.
506     * BUG 10476: build:wafadmin: Fix use of spaces instead of tabs.
507     * BUG 11143: s3-winbind: Fix cached user group lookup of trusted domains.
510 o   Jeremy Allison <jra@samba.org>
511     * BUG 10016: s3: lib: ntlmssp: If NTLMSSP_NEGOTIATE_TARGET_INFO isn't set,
512       cope with servers that don't send the 2 unused fields.
513     * BUG 10888: s3: client: "client use spnego principal = yes" code checks
514       wrong name.
515     * BUG 11079: s3: lib: libsmbclient: If reusing a server struct, check every
516       cli->timout miliseconds if it's still valid before use.
517     * BUG 11173: s3: libcli: smb1: Ensure we correctly finish a tevent req if
518       the writev fails in the SMB1 case.
519     * BUG 11175: Fix lots of winbindd zombie processes on Solaris platform.
520     * BUG 11177: s3: libsmbclient: Add missing talloc stackframe.
523 o   Andrew Bartlett <abartlet@samba.org>
524     * BUG 11135: backupkey: Explicitly link to gnutls and gcrypt.
525     * BUG 11174: backupkey: Use ndr_pull_struct_blob_all().
528 o   Ralph Boehme <slow@samba.org>
529     * BUG 11125: vfs_fruit: Enhance handling of malformed AppleDouble files.
532 o   Samuel Cabrero <samuelcabrero@kernevil.me>
533     * BUG 9791: Initialize dwFlags field of DNS_RPC_NODE structure.
536 o   David Disseldorp <ddiss@samba.org>
537     * BUG 11169: docs/idmap_rid: Remove deprecated base_rid from example.
540 o   Volker Lendecke <vl@samba.org>
541     * BUG 10476: waf: Fix the build on openbsd.
544 o   Stefan Metzmacher <metze@samba.org>
545     * BUG 11144: talloc: Version 2.1.2.
546     * BUG 11164: s4:auth/gensec_gssapi: Let gensec_gssapi_update() return
547       NT_STATUS_LOGON_FAILURE for unknown errors.
550 o   Matthew Newton <matthew-git@newtoncomputing.co.uk>
551     * BUG 11149: Update libwbclient version to 0.12.
554 o   Andreas Schneider <asn@samba.org>
555     * BUG 11018: spoolss: Retrieve published printer GUID if not in registry.
556     * BUG 11135: replace: Remove superfluous check for gcrypt header.
557     * BUG 11180: s4-process_model: Do not close random fds while forking.
558     * BUG 11185: s3-passdb: Fix 'force user' with winbind default domain.
561 o   Christof Schmitt <cs@samba.org>
562     * BUG 11153: brlock: Use 0 instead of empty initializer list.
565 o   Thomas Schulz <schulz@adi.com>
566     * BUG 11092: lib: texpect: Fix the build on Solaris.
567     * BUG 11140: libcli/auth: Match Declaration of
568       netlogon_creds_cli_context_tmp with implementation.
571 o   Jelmer Vernooij <jelmer@samba.org>
572     * BUG 11137: Backport subunit changes.
575 #######################################
576 Reporting bugs & Development Discussion
577 #######################################
579 Please discuss this release on the samba-technical mailing list or by
580 joining the #samba-technical IRC channel on irc.freenode.net.
582 If you do report problems then please try to send high quality
583 feedback. If you don't provide vital information to help us track down
584 the problem then you will probably be ignored.  All bug reports should
585 be filed under the Samba 4.2 product in the project's Bugzilla
586 database (https://bugzilla.samba.org/).
589 ======================================================================
590 == Our Code, Our Bugs, Our Responsibility.
591 == The Samba Team
592 ======================================================================
595 ----------------------------------------------------------------------
598                    =============================
599                    Release Notes for Samba 4.2.0
600                            March 04, 2015
601                    =============================
604 This is is the first stable release of Samba 4.2.
606 Samba 4.2 will be the next version of the Samba suite.
609 Samba User Survey 2015
610 ======================
612 https://www.surveygizmo.com/s3/2020369/Samba-User-Survey-2015
614 Please take our survey. It will help us improve Samba by understanding
615 your knowledge and needs. The survey runs until end of March 2015 and
616 won't ask for any personal info. The full results will be shared with
617 the Samba Team, and statistical summaries will be shared with the
618 Samba community after the SambaXP conference (http://sambaxp.org).
621 IMPORTANT NOTE ABOUT THE SUPPORT END OF SAMBA 3
622 =================================================
624 With the final release of Samba 4.2, the last series of Samba 3 has
625 been discontinued! People still running 3.6.x or earlier,should
626 consider moving to a more recent and maintained version (4.0 - 4.2).
627 One of the common misconceptions is that Samba 4.x automatically
628 means "Active Directory only": This is wrong!
630 Acting as an Active Directory Domain Controller is just one of the
631 enhancements included in Samba 4.0 and later. Version 4.0 was just the
632 next release after the 3.6 series and contains all the features of the
633 previous ones - including the NT4-style (classic) domain support. This
634 means you can update a Samba 3.x NT4-style PDC to 4.x, just as you've
635 updated in the past (e.g. from 3.4.x to 3.5.x). You don't have to move
636 your NT4-style domain to an Active Directory!
638 And of course the possibility remains unchanged, to setup a new NT4-style
639 PDC with Samba 4.x, like done in the past (e.g. with openLDAP backend).
640 Active Directory support in Samba 4 is additional and does not replace
641 any of these features. We do understand the difficulty presented by
642 existing LDAP structures and for that reason there isn't a plan to
643 decommission the classic PDC support. It remains tested by the continuous
644 integration system.
646 The code that supports the classic Domain Controller is also the same
647 code that supports the internal 'Domain' of standalone servers and
648 Domain Member Servers. This means that we still use this code, even
649 when not acting as an AD Domain Controller. It is also the basis for
650 some of the features of FreeIPA and so it gets development attention
651 from that direction as well.
654 UPGRADING
655 =========
657 Read the "Winbindd/Netlogon improvements" section (below) carefully!
660 NEW FEATURES
661 ============
663 Transparent File Compression
664 ============================
666 Samba 4.2.0 adds support for the manipulation of file and folder
667 compression flags on the Btrfs filesystem.
668 With the Btrfs Samba VFS module enabled, SMB2+ compression flags can
669 be set remotely from the Windows Explorer File->Properties->Advanced
670 dialog. Files flagged for compression are transparently compressed
671 and uncompressed when accessed or modified.
673 Previous File Versions with Snapper
674 ===================================
676 The newly added Snapper VFS module exposes snapshots managed by
677 Snapper for use by Samba. This provides the ability for remote
678 clients to access shadow-copies via Windows Explorer using the
679 "previous versions" dialog.
681 Winbindd/Netlogon improvements
682 ==============================
684 The whole concept of maintaining the netlogon secure channel
685 to (other) domain controllers was rewritten in order to maintain
686 global state in a netlogon_creds_cli.tdb. This is the proper fix
687 for a large number of bugs:
689   https://bugzilla.samba.org/show_bug.cgi?id=6563
690   https://bugzilla.samba.org/show_bug.cgi?id=7944
691   https://bugzilla.samba.org/show_bug.cgi?id=7945
692   https://bugzilla.samba.org/show_bug.cgi?id=7568
693   https://bugzilla.samba.org/show_bug.cgi?id=8599
695 In addition a strong session key is now required by default,
696 which means that communication to older servers or clients
697 might be rejected by default.
699 For the client side we have the following new options:
700 "require strong key" (yes by default), "reject md5 servers" (no by default).
701 E.g. for Samba 3.0.37 you need "require strong key = no" and
702 for NT4 DCs you need "require strong key = no" and "client NTLMv2 auth = no",
704 On the server side (as domain controller) we have the following new options:
705 "allow nt4 crypto" (no by default), "reject md5 client" (no by default).
706 E.g. in order to allow Samba < 3.0.27 or NT4 members to work
707 you need "allow nt4 crypto = yes"
709 winbindd does not list group memberships for display purposes
710 (e.g. getent group <domain\<group>) anymore by default.
711 The new default is "winbind expand groups = 0" now,
712 the reason for this is the same as for "winbind enum users = no"
713 and "winbind enum groups = no". Providing this information is not always
714 reliably possible, e.g. if there are trusted domains.
716 Please consult the smb.conf manpage for more details on these new options.
718 Winbindd use on the Samba AD DC
719 ===============================
721 Winbindd is now used on the Samba AD DC by default, replacing the
722 partial rewrite used for winbind operations in Samba 4.0 and 4.1.
724 This allows more code to be shared, more options to be honoured, and
725 paves the way for support for trusted domains in the AD DC.
727 If required the old internal winbind can be activated by setting
728 'server services = +winbind -winbindd'.  Upgrading users with a server
729 services parameter specified should ensure they change 'winbind' to
730 'winbindd' to obtain the new functionality.
732 The 'samba' binary still manages the starting of this service, there
733 is no need to start the winbindd binary manually.
735 Winbind now requires secured connections
736 ========================================
738 To improve protection against rogue domain controllers we now require
739 that when we connect to an AD DC in our forest, that the connection be
740 signed using SMB Signing.  Set 'client signing = off' in the smb.conf
741 to disable.
743 Also and DCE/RPC pipes must be sealed, set 'require strong key =
744 false' and 'winbind sealed pipes = false' to disable.
746 Finally, the default for 'client ldap sasl wrapping' has been set to
747 'sign', to ensure the integrity of LDAP connections.  Set 'client ldap
748 sasl wrapping = plain' to disable.
750 Larger IO sizes for SMB2/3 by default
751 =====================================
753 The default values for "smb2 max read", "smb2 max write" and "smb2 max trans"
754 have been changed to 8388608 (8MiB) in order to match the default of
755 Windows 2012R2.
757 SMB2 leases
758 ===========
760 The SMB2 protocol allows clients to aggressively cache files
761 locally above and beyond the caching allowed by SMB1 and SMB2 oplocks.
763 Called SMB2 leases, this can greatly reduce traffic on an SMB2
764 connection. Samba 4.2 now implements SMB2 leases.
766 It can be turned on by setting the parameter "smb2 leases = yes"
767 in the [global] section of your smb.conf. This parameter is set
768 to off by default until the SMB2 leasing code is declared fully stable.
770 Improved DCERPC man in the middle detection
771 ===========================================
773 The DCERPC header signing has been implemented
774 in addition to the dcerpc_sec_verification_trailer
775 protection.
777 Overhauled "net idmap" command
778 ==============================
780 The command line interface of the "net idmap" command has been
781 made systematic, and subcommands for reading and writing the autorid idmap
782 database have been added. Note that the writing commands should be
783 used with great care. See the net(8) manual page for details.
785 tdb improvements
786 ================
788 The tdb library, our core mechanism to store Samba-specific data on disk and
789 share it between processes, has been improved to support process shared robust
790 mutexes on Linux. These mutexes are available on Linux and Solaris and
791 significantly reduce the overhead involved with tdb. To enable mutexes for
792 tdb, set
794 dbwrap_tdb_mutexes:* = yes
796 in the [global] section of your smb.conf.
798 Tdb file space management has also been made more efficient. This
799 will lead to smaller and less fragmented databases.
801 Messaging improvements
802 ======================
804 Our internal messaging subsystem, used for example for things like oplock
805 break messages between smbds or setting a process debug level dynamically, has
806 been rewritten to use unix domain datagram messages.
808 Clustering support
809 ==================
811 Samba's file server clustering component CTDB is now integrated in the
812 Samba tree.  This avoids the confusion of compatibility of Samba and CTDB
813 versions as existed previously.
815 To build the Samba file server with cluster support, use the configure
816 command line option --with-cluster-support.  This will build clustered
817 file server against the in-tree CTDB and will also build CTDB.
818 Building clustered samba with previous versions of CTDB is no longer
819 supported.
821 Samba Registry Editor
822 =====================
824 The utitlity to browse the samba registry has been overhauled by our Google
825 Summer of Code student Chris Davis. Now samba-regedit has a
826 Midnight-Commander-like theme and UI experience. You can browse keys and edit
827 the diffent value types. For a data value type a hexeditor has been
828 implemented.
830 Bad Password Lockout in the AD DC
831 =================================
833 Samba's AD DC now implements bad password lockout (on a per-DC basis).
835 That is, incorrect password attempts are tracked, and accounts locked
836 out if too many bad passwords are submitted.  There is also a grace
837 period of 60 minutes on the previous password when used for NTLM
838 authentication (matching Windows 2003 SP1: https://support2.microsoft.com/kb/906305).
840 The relevant settings can be seen using 'samba-tool domain
841 passwordsettings show' (the new settings being highlighted):
843 Password informations for domain 'DC=samba,DC=example,DC=com'
845 Password complexity: on
846 Store plaintext passwords: off
847 Password history length: 24
848 Minimum password length: 7
849 Minimum password age (days): 1
850 Maximum password age (days): 42
851 * Account lockout duration (mins): 30     *
852 * Account lockout threshold (attempts): 0 *
853 * Reset account lockout after (mins): 30  *
855 These values can be set using 'samba-tool domain passwordsettings set'.
857 Correct defaults in the smb.conf manpages
858 =========================================
860 The default values for smb.conf parameters are now correctly specified
861 in the smb.conf manpage, even when they refer to build-time specified
862 paths.  Provided Samba is built on a system with the right tools
863 (xsltproc in particular) required to generate our man pages, then
864 these will be built with the exact same embedded paths as used by the
865 configuration parser at runtime.  Additionally, the default values
866 read from the smb.conf manpage are checked by our test suite to match
867 the values seen in testparm and used by the running binaries.
869 Consistent behaviour between samba-tool testparm and testparm
870 =============================================================
872 With the exception of the registry backend, which remains only
873 available in the file server, the behaviour of the smb.conf parser and
874 the tools 'samba-tool testparm' and 'testparm' is now consistent,
875 particularly with regard to default values.  Except with regard to
876 registry shares, it is no longer needed to use one tool on the AD
877 DC, and another on the file server.
879 VFS WORM module
880 ===============
882 A VFS module for basic WORM (Write once read many) support has been
883 added. It allows an additional layer on top of a Samba share, that provides
884 a basic set of WORM functionality on the client side, to control the
885 writeability of files and folders.
887 As the module is simply an additional layer, share access and permissions
888 work like expected - only WORM functionality is added on top. Removing the
889 module from the share configuration, removes this layer again. The
890 filesystem ACLs are not affected in any way from the module and treated
891 as usual.
893 The module does not provide complete WORM functions, like some archiving
894 products do! It is not audit-proof, because the WORM function is only
895 available on the client side, when accessing a share through SMB! If
896 the same folder is shared by other services like NFS, the access only
897 depends on the underlying filesystem ACLs. Equally if you access the
898 content directly on the server.
900 For additional information, see
901 https://wiki.samba.org/index.php/VFS/vfs_worm
903 vfs_fruit, a VFS module for OS X clients
904 ========================================
906 A new VFS module that provides enhanced compatibility with Apple SMB
907 clients and interoperability with a Netatalk 3 AFP fileserver.
909 The module features enhanced performance with reliable named streams
910 support, interoperability with special characters commonly used by OS
911 X client (eg '*', '/'), integrated file locking and Mac metadata
912 access with Netatalk 3 and enhanced performance by implementing
913 Apple's SMB2 extension codenamed "AAPL".
915 The modules behaviour is fully configurable, please refer to the
916 manpage vfs_fruit for further details.
918 smbclient archival improvements
919 ===============================
921 Archive creation and extraction support in smbclient has been rewritten
922 to use libarchive. This fixes a number of outstanding bugs in Samba's
923 previous custom tar implementation and also adds support for the
924 extraction of zipped archives.
925 smbclient archive support can be enabled or disabled at build time with
926 corresponding --with[out]-libarchive configure parameters.
929 ######################################################################
930 Changes
931 #######
933 smb.conf changes
934 ----------------
936    Parameter Name                       Description     Default
937    --------------                       -----------     -------
939    allow nt4 crypto                     New             no
940    neutralize nt4 emulation             New             no
941    reject md5 client                    New             no
942    reject md5 servers                   New             no
943    require strong key                   New             yes
944    smb2 max read                        Changed default 8388608
945    smb2 max write                       Changed default 8388608
946    smb2 max trans                       Changed default 8388608
947    winbind expand groups                Changed default 0
950 CHANGES SINCE 4.2.0rc5
951 ======================
953 o   Michael Adam <obnox@samba.org>
954     * BUG 11117: doc:man:vfs_glusterfs: improve the configuration section.
957 o   Jeremy Allison <jra@samba.org>
958     * BUG 11118: tevent: Ignore unexpected signal events in the same way the
959       epoll backend does.
962 o   Andrew Bartlett <abartlet@samba.org>
963     * BUG 11100: debug: Set close-on-exec for the main log file FD.
964     * BUG 11097: Fix Win8.1 Credentials Manager issue after KB2992611 on Samba
965       domain.
968 o   Ira Cooper <ira@samba.org>
969     * BUG 1115: smbd: Stop using vfs_Chdir after SMB_VFS_DISCONNECT.
972 o   Günther Deschner <gd@samba.org>
973     * BUG 11088: vfs: Add a brief vfs_ceph manpage.
976 o   David Disseldorp <ddiss@samba.org>
977     * BUG 11118: tevent: version 0.9.24.
980 o   Amitay Isaacs <amitay@gmail.com>
981     * BUG 11124: ctdb-io: Do not use sys_write to write to client sockets.
984 o   Volker Lendecke <vl@samba.org>
985     * BUG 11119: snprintf: Try to support %j.
988 o   Garming Sam <garming@catalyst.net.nz>
989     * BUG 11097: Fix Win8.1 Credentials Manager issue after KB2992611 on Samba
990       domain.
993 o   Andreas Schneider <asn@samba.org>
994     * BUG 11127: doc-xml: Add 'sharesec' reference to 'access based share
995       enum'.
998 CHANGES SINCE 4.2.0rc4
999 ======================
1001 o   Michael Adam <obnox@samba.org>
1002     * BUG 11032: Enable mutexes in gencache_notrans.tdb.
1003     * BUG 11058: cli_connect_nb_send: Don't segfault on host == NULL.
1006 o   Jeremy Allison <jra@samba.org>
1007     * BUG 10849: s3: lib, s3: modules: Fix compilation on Solaris.
1008     * BUG 11044: Fix authentication using Kerberos (not AD).
1009     * BUG 11077: CVE-2015-0240: s3: netlogon: Ensure we don't call talloc_free
1010       on an uninitialized pointer.
1011     * BUG 11094: s3: smbclient: Allinfo leaves the file handle open.
1012     * BUG 11102: s3: smbd: leases - losen paranoia check. Stat opens can grant
1013       leases.
1014     * BUG 11104: s3: smbd: SMB2 close. If a file has delete on close, store the
1015       return info before deleting.
1018 o   Ira Cooper <ira@samba.org>
1019     * BUG 11069: vfs_glusterfs: Add comments to the pipe(2) code.
1022 o   Günther Deschner <gd@samba.org>
1023     * BUG 11070: s3-vfs: Fix developer build of vfs_ceph module.
1026 o   David Disseldorp <ddiss@samba.org>
1027     * BUG 10808: printing/cups: Pack requested-attributes with IPP_TAG_KEYWORD.
1028     * BUG 11055: vfs_snapper: Correctly handles multi-byte DBus strings.
1029     * BUG 11059: libsmb: Provide authinfo domain for encrypted session
1030       referrals.
1033 o   Poornima G <pgurusid@redhat.com>
1034     * BUG 11069: vfs_glusterfs: Implement AIO support.
1037 o   Volker Lendecke <vl@samba.org>
1038     * BUG 11032: Enable mutexes in gencache_notrans.tdb.
1041 o   Stefan Metzmacher <metze@samba.org>
1042     * BUG 9299: nsswitch: Fix soname of linux nss_*.so.2 modules.
1043     * BUG 9702: s3:smb2_server: protect against integer wrap with "smb2 max
1044       credits = 65535".
1045     * BUG 9810: Make validate_ldb of String(Generalized-Time) accept
1046       millisecond format ".000Z".
1047     * BUG 10112: Use -R linker flag on Solaris, not -rpath.
1050 o   Marc Muehlfeld <mmuehlfeld@samba.org>
1051     * BUG 10909: samba-tool: Create NIS enabled users and unixHomeDirectory
1052       attribute.
1055 o   Garming Sam <garming@catalyst.net.nz>
1056     * BUG 11022: Make Sharepoint search show user documents.
1059 o   Christof Schmitt <cs@samba.org>
1060     * BUG 11032: Enable mutexes in gencache_notrans.tdb.
1063 o   Andreas Schneider <asn@samba.org>
1064     * BUG 11058: utils: Fix 'net time' segfault.
1065     * BUG 11066: s3-pam_smbpass: Fix memory leak in pam_sm_authenticate().
1066     * BUG 11077: CVE-2015-0240: s3-netlogon: Make sure we do not deference a
1067       NULL pointer.
1070 o   Raghavendra Talur <raghavendra.talur@gmail.com>
1071     * BUG 11069: vfs/glusterfs: Change xattr key to match gluster key.
1074 CHANGES SINCE 4.2.0rc3
1075 ======================
1077 o   Andrew Bartlett <abartlet@samba.org>
1078     * BUG 10993: CVE-2014-8143: dsdb-samldb: Check for extended access
1079       rights before we allow changes to userAccountControl.
1082 o   Günther Deschner <gd@samba.org>
1083     * BUG 10240: vfs: Add glusterfs manpage.
1086 o   David Disseldorp <ddiss@samba.org>
1087     * BUG 10984: Fix spoolss IDL response marshalling when returning error
1088       without clearing info.
1091 o   Amitay Isaacs <amitay@gmail.com>
1092     * BUG 11000: ctdb-daemon: Use correct tdb flags when enabling robust mutex
1093       support.
1096 o   Volker Lendecke <vl@samba.org>
1097     * BUG 11032: tdb_wrap: Make mutexes easier to use.
1098     * BUG 11039: vfs_fruit: Fix base_fsp name conversion.
1099     * BUG 11040: vfs_fruit: mmap under FreeBSD needs PROT_READ.
1100     * BUG 11051: net: Fix sam addgroupmem.
1103 o   Stefan Metzmacher <metze@samba.org>
1104     * BUG 10940: s3:passdb: fix logic in pdb_set_pw_history().
1105     * BUG 11004: tdb: version 1.3.4.
1108 o   Christof Schmitt <cs@samba.org>
1109     * BUG 11034: winbind: Retry after SESSION_EXPIRED error in ping-dc.
1112 o   Andreas Schneider <asn@samba.org>
1113     * BUG 11008: s3-util: Fix authentication with long hostnames.
1114     * BUG 11026: nss_wrapper: check for nss.h.
1115     * BUG 11033: lib/util: Avoid collision which alread defined consumer DEBUG
1116       macro.
1117     * BUG 11037: s3-libads: Fix a possible segfault in kerberos_fetch_pac().
1120 CHANGES SINCE 4.2.0rc2
1121 ======================
1123 o   Michael Adam <obnox@samba.org>
1124     * BUG 10892: Integrate CTDB into top-level Samba build.
1127 o   Jeremy Allison <jra@samba.org>
1128     * BUG 10851: lib: uid_wrapper: Fix setgroups and syscall detection on a
1129       system without native uid_wrapper library.
1130     * BUG 10896: s3-nmbd: Fix netbios name truncation.
1131     * BUG 10904: Fix smbclient loops doing a directory listing against Mac OS X 10
1132       server with a non-wildcard path.
1133     * BUG 10911: Add support for SMB2 leases.
1134     * BUG 10920: s3: nmbd: Ensure NetBIOS names are only 15 characters stored.
1135     * BUG 10966: libcli: SMB2: Pure SMB2-only negprot fix to make us behave as a
1136       Windows client does.
1137     * BUG 10982: s3: smbd: Fix *allocate* calls to follow POSIX error return
1138       convention.
1141 o   Christian Ambach <ambi@samba.org>
1142     * BUG 9629: Make 'profiles' work again.
1145 o   Björn Baumbach <bb@sernet.de>
1146     * BUG 11014: ctdb-build: Fix build without xsltproc.
1149 o   Ralph Boehme <slow@samba.org>
1150     * BUG 10834: Don't build vfs_snapper on FreeBSD.
1151     * BUG 10971: vfs_streams_xattr: Check stream type.
1152     * BUG 10983: vfs_fruit: Add support for AAPL.
1153     * BUG 11005: vfs_streams_xattr: Add missing call to SMB_VFS_NEXT_CONNECT.
1156 o   Günther Deschner <gd@samba.org>
1157     * BUG 9056: pam_winbind: fix warn_pwd_expire implementation.
1158     * BUG 10942: Cleanup add_string_to_array and usage.
1161 o   David Disseldorp <ddiss@samba.org>
1162     * BUG 10898: spoolss: Fix handling of bad EnumJobs levels.
1163     * BUG 10905: Fix print job enumeration.
1166 o   Amitay Isaacs <amitay@gmail.com>
1167     * BUG 10620: s4-dns: Add support for BIND 9.10.
1168     * BUG 10892: Integrate CTDB into top-level Samba build.
1169     * BUG 10996: Fix IPv6 support in CTDB.
1170     * BUG 11014: packaging: Include CTDB man pages in the tarball.
1173 o   Björn Jacke <bj@sernet.de>
1174     * BUG 10835: nss_winbind: Add getgroupmembership for FreeBSD.
1177 o   Guenter Kukkukk <linux@kukkukk.com>
1178     * BUG 10952: Fix 'samba-tool dns serverinfo <server>' for IPv6.
1181 o   Volker Lendecke <vl@samba.org>
1182     * BUG 10932: pdb_tdb: Fix a TALLOC/SAFE_FREE mixup.
1183     * BUG 10942: dbwrap_ctdb: Pass on mutex flags to tdb_open.
1186 o   Justin Maggard <jmaggard10@gmail.com>
1187     * BUG 10852: winbind3: Fix pwent variable substitution.
1190 o   Kamen Mazdrashki <kamenim@samba.org>
1191     * BUG 10975: ldb: version 1.1.18
1194 o   Stefan Metzmacher <metze@samba.org>
1195     * BUG 10781: tdb: version 1.3.3
1196     * BUG 10911: Add support for SMB2 leases.
1197     * BUG 10921: s3:smbd: Fix file corruption using "write cache size != 0".
1198     * BUG 10949: Fix RootDSE search with extended dn control.
1199     * BUG 10958: libcli/smb: only force signing of smb2 session setups when
1200       binding a new session.
1201     * BUG 10975: ldb: version 1.1.18
1202     * BUG 11016: pdb_get_trusteddom_pw() fails with non valid UTF16 random
1203       passwords.
1206 o   Marc Muehlfeld <mmuehlfeld@samba.org>
1207     * BUG 10895: samba-tool group add: Add option '--nis-domain' and '--gid'.
1210 o   Noel Power <noel.power@suse.com>
1211     * BUG 10918: btrfs: Don't leak opened directory handle.
1214 o   Matt Rogers <mrogers@redhat.com>
1215     * BUG 10933: s3-keytab: fix keytab array NULL termination.
1218 o   Garming Sam <garming@catalyst.net.nz>
1219     * BUG 10355: pdb: Fix build issues with shared modules.
1220     * BUG 10720: idmap: Return the correct id type to *id_to_sid methods.
1221     * BUG 10864: Fix testparm to show hidden share defaults.
1224 o   Andreas Schneider <asn@samba.org>
1225     * BUG 10279: Make 'smbclient' use cached creds.
1226     * BUG 10960: s3-smbclient: Return success if we listed the shares.
1227     * BUG 10961: s3-smbstatus: Fix exit code of profile output.
1228     * BUG 10965: socket_wrapper: Add missing prototype check for eventfd.
1231 o   Martin Schwenke <martin@meltin.net>
1232     * BUG 10892: Integrate CTDB into top-level Samba build.
1233     * BUG 10996: Fix IPv6 support in CTDB.
1236 CHANGES SINCE 4.2.0rc1
1237 ======================
1239 o   Jeremy Allison <jra@samba.org>
1240     * BUG 10848: s3: smb2cli: query info return length check was reversed.
1243 o   Björn Baumbach <bb@sernet.de>
1244     * BUG 10862: build: Do not install 'texpect' binary anymore.
1247 o   Chris Davis <cd.rattan@gmail.com>
1248     * BUG 10859: Improve samba-regedit.
1251 o   Jakub Hrozek <jakub.hrozek@gmail.com>
1252     * BUG 10861: Fix build of socket_wrapper on systems without SO_PROTOCOL.
1255 o   Volker Lendecke <vl@samba.org>
1256     * BUG 10860: registry: Don't leave dangling transactions.
1259 o   Stefan Metzmacher <metze@samba.org>
1260     * BUG 10866: libcli/smb: Fix smb2cli_validate_negotiate_info with
1261       min=PROTOCOL_NT1 max=PROTOCOL_SMB2_02.
1264 o   Christof Schmitt <cs@samba.org>
1265     * BUG 10837: idmap_rfc2307: Fix a crash after connection problem to DC.
1268 #######################################
1269 Reporting bugs & Development Discussion
1270 #######################################
1272 Please discuss this release on the samba-technical mailing list or by
1273 joining the #samba-technical IRC channel on irc.freenode.net.
1275 If you do report problems then please try to send high quality
1276 feedback. If you don't provide vital information to help us track down
1277 the problem then you will probably be ignored.  All bug reports should
1278 be filed under the Samba 4.2 product in the project's Bugzilla
1279 database (https://bugzilla.samba.org/).
1282 ======================================================================
1283 == Our Code, Our Bugs, Our Responsibility.
1284 == The Samba Team
1285 ======================================================================