s3: VFS: shadow_copy2: Fix module to work with variable current working directory.
[Samba.git] / WHATSNEW.txt
blob3f0946cc2ff2b69679cf19c021570feddaa7be82
1                    =============================
2                    Release Notes for Samba 4.4.9
3                            January 2, 2017
4                    =============================
7 This is the latest stable release of Samba 4.4.
10 Changes since 4.4.8:
11 --------------------
13 o  Michael Adam <obnox@samba.org>
14    * BUG 12404: vfs:glusterfs: Preallocate result for glfs_realpath.
16 o  Jeremy Allison <jra@samba.org>
17    * BUG 12299: Fix unitialized variable warnings in smbd open.c and close.c.
18    * BUG 12387: s3: vfs: streams_depot. Use conn->connectpath not conn->cwd.
19    * BUG 12436: s3/smbd: Fix the last resort check that sets the file type
20      attribute.
22 o  Andrew Bartlett <abartlet@samba.org>
23    * BUG 12395: build: Fix build with perl on debian sid.
25 o  Ralph Boehme <slow@samba.org>
26    * BUG 12412: Fix typo in vfs_fruit: fruit:ressource -> fruit:resource.
28 o  Günther Deschner <gd@samba.org>
29    * BUG 11197: spoolss: Use correct values for secdesc and devmode pointers.
31 o  Amitay Isaacs <amitay@gmail.com>
32    * BUG 12366: provision: Add support for BIND 9.11.x.
33    * BUG 12392: ctdb-locking: Reset real-time priority in lock helper.
34    * BUG 12434: ctdb-recovery: Avoid NULL dereference in failure case.
36 o  Stefan Metzmacher <metze@samba.org>
37    * BUG 10297: s3:smbd: Only pass UCF_PREP_CREATEFILE to filename_convert() if
38      we may create a new file.
39    * BUG 12471: Fix build with MIT Kerberos.
41 o  Mathieu Parent <math.parent@gmail.com>
42    * BUG 12371: ctdb-scripts: Fix Debian init in Samba eventscript.
44 o  Andreas Schneider <asn@samba.org>
45    * BUG 12183: s3-printing: Correctly encode CUPS printer URIs.
46    * BUG 12195: s3-printing: Allow printer names longer than 16 chars.
47    * BUG 12269: nss_wins: Fix errno values for HOST_NOT_FOUND.
48    * BUG 12405: s3-winbind: Do not return NO_MEMORY if we have an empty user
49      list.
50    * BUG 12415: s3:spoolss: Add support for COPY_FROM_DIRECTORY in
51      AddPrinterDriverEx.
53 o  Martin Schwenke <martin@meltin.net>
54    * BUG 12104: ctdb-packaging: Move CTDB tests to /usr/local/share/ctdb/tests/.
56 o  Ralph Wuerthner <ralph.wuerthner@de.ibm.com>
57    * BUG 12372: ctdb-conn: Add missing variable initialization.
60 #######################################
61 Reporting bugs & Development Discussion
62 #######################################
64 Please discuss this release on the samba-technical mailing list or by
65 joining the #samba-technical IRC channel on irc.freenode.net.
67 If you do report problems then please try to send high quality
68 feedback. If you don't provide vital information to help us track down
69 the problem then you will probably be ignored.  All bug reports should
70 be filed under the "Samba 4.1 and newer" product in the project's Bugzilla
71 database (https://bugzilla.samba.org/).
74 ======================================================================
75 == Our Code, Our Bugs, Our Responsibility.
76 == The Samba Team
77 ======================================================================
80 Release notes for older releases follow:
81 ----------------------------------------
83                    =============================
84                    Release Notes for Samba 4.4.8
85                          December 19, 2016
86                    =============================
89 This is a security release in order to address the following defects:
91 o  CVE-2016-2123 (Samba NDR Parsing ndr_pull_dnsp_name Heap-based Buffer
92    Overflow Remote Code Execution Vulnerability).
93 o  CVE-2016-2125 (Unconditional privilege delegation to Kerberos servers in
94    trusted realms).
95 o  CVE-2016-2126 (Flaws in Kerberos PAC validation can trigger privilege
96    elevation).
98 =======
99 Details
100 =======
102 o  CVE-2016-2123:
103    The Samba routine ndr_pull_dnsp_name contains an integer wrap problem,
104    leading to an attacker-controlled memory overwrite. ndr_pull_dnsp_name
105    parses data from the Samba Active Directory ldb database.  Any user
106    who can write to the dnsRecord attribute over LDAP can trigger this
107    memory corruption.
109    By default, all authenticated LDAP users can write to the dnsRecord
110    attribute on new DNS objects. This makes the defect a remote privilege
111    escalation.
113 o  CVE-2016-2125
114    Samba client code always requests a forwardable ticket
115    when using Kerberos authentication. This means the
116    target server, which must be in the current or trusted
117    domain/realm, is given a valid general purpose Kerberos
118    "Ticket Granting Ticket" (TGT), which can be used to
119    fully impersonate the authenticated user or service.
121 o  CVE-2016-2126
122    A remote, authenticated, attacker can cause the winbindd process
123    to crash using a legitimate Kerberos ticket due to incorrect
124    handling of the arcfour-hmac-md5 PAC checksum.
126    A local service with access to the winbindd privileged pipe can
127    cause winbindd to cache elevated access permissions.
130 Changes since 4.4.7:
131 --------------------
133 o  Volker Lendecke <vl@samba.org>
134    * BUG 12409: CVE-2016-2123: Fix DNS vuln ZDI-CAN-3995.
136 o  Stefan Metzmacher <metze@samba.org>
137    * BUG 12445: CVE-2016-2125: Don't send delegated credentials to all servers.
138    * BUG 12446: CVE-2016-2126: auth/kerberos: Only allow known checksum types in
139      check_pac_checksum().
142 #######################################
143 Reporting bugs & Development Discussion
144 #######################################
146 Please discuss this release on the samba-technical mailing list or by
147 joining the #samba-technical IRC channel on irc.freenode.net.
149 If you do report problems then please try to send high quality
150 feedback. If you don't provide vital information to help us track down
151 the problem then you will probably be ignored.  All bug reports should
152 be filed under the "Samba 4.1 and newer" product in the project's Bugzilla
153 database (https://bugzilla.samba.org/).
156 ======================================================================
157 == Our Code, Our Bugs, Our Responsibility.
158 == The Samba Team
159 ======================================================================
162 ----------------------------------------------------------------------
165                    =============================
166                    Release Notes for Samba 4.4.7
167                          October 26, 2016
168                    =============================
171 This is the latest stable release of Samba 4.4.
173 Major enhancements in Samba 4.4.7 include:
175 o  Let winbindd discard expired kerberos tickets when built against
176    (internal) heimdal (BUG #12369).
177 o  REGRESSION: smbd segfaults on startup, tevent context being freed
178    (BUG #12283).
181 Changes since 4.4.6:
182 --------------------
184 o  Jeremy Allison <jra@samba.org>
185    * BUG 11259: smbd contacts a domain controller for each session.
186    * BUG 12283: REGRESSION: smbd segfaults on startup, tevent context being
187      freed.
188    * BUG 12291: source3/lib/msghdr: Fix syntax error before or at: ;.
189    * BUG 12381: s3: cldap: cldap_multi_netlogon_send() fails with one bad IPv6
190      address.
192 o  Christian Ambach <ambi@samba.org>
193    * BUG 9945: Setting specific logger levels in smb.conf makes 'samba-tool drs
194      showrepl' crash.
196 o  Björn Baumbach <bb@sernet.de>
197    * BUG 8618: s3-printing: Fix migrate printer code.
199 o  Ralph Boehme <slow@samba.org>
200    * BUG 12261: s3/smbd: Set FILE_ATTRIBUTE_DIRECTORY as necessary.
202 o  Günther Deschner <gd@samba.org>
203    * BUG 12285: "DriverVersion" registry backend parsing incorrect in spoolss.
205 o  David Disseldorp <ddiss@samba.org>
206    * BUG 12144: smbd/ioctl: Match WS2016 ReFS get compression behaviour.
208 o  Amitay Isaacs <amitay@gmail.com>
209    * BUG 12287: CTDB PID file handling is too weak.
211 o  Volker Lendecke <vl@samba.org>
212    * BUG 12045: gencache: Bail out of stabilize if we can not get the allrecord
213      lock.
214    * BUG 12283: glusterfs: Avoid tevent_internal.h.
215    * BUG 12374: spoolss: Fix caching of printername->sharename.
217 o  Stefan Metzmacher <metze@samba.org>
218    * BUG 12283: REGRESSION: smbd segfaults on startup, tevent context being
219      freed.
220    * BUG 12369: Let winbindd discard expired kerberos tickets when built against
221      (internal) heimdal.
223 o  Noel Power <noel.power@suse.com>
224    * BUG 12298: s3/winbindd: Using default domain with user@domain.com format
225      fails.
227 o  Jose A. Rivera <jarrpa@samba.org>
228    * BUG 12362: ctdb-scripts: Avoid dividing by zero in memory calculation.
230 o  Anoop C S <anoopcs@redhat.com>
231    * BUG 12377: vfs_glusterfs: Fix a memory leak in connect path.
233 o  Andreas Schneider <asn@samba.org>
234    * BUG 12269: nss_wins has incorrect function definitions for gethostbyname*.
235    * BUG 12276: s3-lib: Fix %G substitution in AD member environment.
236    * BUG 12364: s3-utils: Fix loading smb.conf in smbcquotas.
238 o  Martin Schwenke <martin@meltin.net>
239    * BUG 12287: CTDB PID file handling is too weak.
240    * BUG 12362: ctdb-scripts: Fix incorrect variable reference.
243 #######################################
244 Reporting bugs & Development Discussion
245 #######################################
247 Please discuss this release on the samba-technical mailing list or by
248 joining the #samba-technical IRC channel on irc.freenode.net.
250 If you do report problems then please try to send high quality
251 feedback. If you don't provide vital information to help us track down
252 the problem then you will probably be ignored.  All bug reports should
253 be filed under the "Samba 4.1 and newer" product in the project's Bugzilla
254 database (https://bugzilla.samba.org/).
257 ======================================================================
258 == Our Code, Our Bugs, Our Responsibility.
259 == The Samba Team
260 ======================================================================
263 ----------------------------------------------------------------------
266                    =============================
267                    Release Notes for Samba 4.4.6
268                         September 22, 2016
269                    =============================
272 This is the latest stable release of Samba 4.4.
275 Changes since 4.4.5:
276 --------------------
278 o  Michael Adam <obnox@samba.org>
279    * BUG 11977: libnet: Ignore realm setting for domain security joins to AD
280      domains if 'winbind rpc only = true'.
281    * BUG 12155: idmap: Centrally check that unix IDs returned by the idmap
282      backends are in range.
284 o  Jeremy Allison <jra@samba.org>
285    * BUG 11838:  s4: ldb: Ignore case of "range" in sscanf as we've already
286      checked for its presence.
287    * BUG 11845: Incorrect bytecount in ReadAndX smb1 response.
288    * BUG 11955: lib: Fix uninitialized read in msghdr_copy.
289    * BUG 11959: s3: krb5: keytab - The done label can be jumped to with context
290      == NULL.
291    * BUG 11986: s3: libsmb: Correctly trim a trailing \\ character in
292      cli_smb2_create_fnum_send() when passing a pathname to SMB2 create.
293    * BUG 12021: Fix smbd crash (Signal 4) on File Delete.
294    * BUG 12135: libgpo: Correctly use the 'server' parameter after parsing it
295      out of the GPO path.
296    * BUG 12139: s3: oplock: Fix race condition when closing an oplocked file.
297    * BUG 12272: Fix messaging subsystem crash.
299 o  Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
300    * BUG 11750: gcc6 fails to build internal heimdal.
302 o  Andrew Bartlett <abartlet@samba.org>
303    * BUG 11991: build: Build less of Samba when building
304      '--without-ntvfs-fileserver'.
305    * BUG 12026: build: Always build eventlog6. This is not a duplicate of
306      eventlog.
307    * BUG 12154: ldb-samba: Add "secret" as a value to hide in LDIF files.
308    * BUG 12178: dbcheck: Abandon dbcheck if we get an error during a
309      transaction.
311 o  Ralph Boehme <slow@samba.org>
312    * BUG 10008: dbwrap_ctdb: Treat empty records in ltdb as non-existing.
313    * BUG 11520: Fix DNS secure updates.
314    * BUG 11961: idmap_autorid allocates ids for unknown SIDs from other
315      backends.
316    * BUG 11992: s3/smbd: Only use stored dos attributes for
317      open_match_attributes() check.
318    * BUG 12005: smbd: Ignore ctdb tombstone records in
319      fetch_share_mode_unlocked_parser().
320    * BUG 12016: cleanupd terminates main smbd on exit.
321    * BUG 12028: vfs_acl_xattr: Objects without NT ACL xattr.
322    * BUG 12105: async_req: Make async_connect_send() "reentrant".
323    * BUG 12177: vfs_acl_common: Fix unexpected synthesized default ACL from
324      vfs_acl_xattr.
325    * BUG 12181: vfs_acl_xattr|tdb: Enforced settings when
326      "ignore system acls = yes".
328 o  Alexander Bokovoy <ab@samba.org>
329    * BUG 11975: libnet_join: use sitename if it was set by pre-join detection.
331 o  Günther Deschner <gd@samba.org>
332    * BUG 11977: s3-libnet: Print error string even on successful completion of
333      libnetjoin.
335 o  Amitay Isaacs <amitay@gmail.com>
336    * BUG 11940: CTDB fails to recover large database.
337    * BUG 11941: CTDB does not ban misbehaving nodes during recovery.
338    * BUG 11946: Samba and CTDB packages both have tevent-unix-util dependency.
339    * BUG 11956: ctdb-recoverd: Avoid duplicate recoverd event in parallel
340      recovery.
341    * BUG 12158: CTDB release IP fixes.
342    * BUG 12259: ctdb-protocol: Fix marshalling for GET_DB_SEQNUM control
343      request.
344    * BUG 12271: CTDB recovery does not terminate if no node is banned due to
345      failure.
346    * BUG 12275: ctdb-recovery-helper: Add missing initialisation of ban_credits.
348 o  Volker Lendecke <vl@samba.org>
349    * BUG 12268: smbd: Reset O_NONBLOCK on open files.
351 o  Stefan Metzmacher <metze@samba.org>
352    * BUG 11948: dcerpc.idl: Remove unused DCERPC_NCACN_PAYLOAD_MAX_SIZE.
353    * BUG 11982: Invalid auth_pad_length is not ignored for BIND_* and ALTER_*
354      pdus.
355    * BUG 11994: gensec/spnego: Work around missing server mechListMIC in SMB
356      servers.
357    * BUG 12007: libads: Ensure the right ccache is used during spnego bind.
358    * BUG 12018: python/remove_dc: Handle dnsNode objects without dnsRecord
359      attribute.
360    * BUG 12129: samba-tool/ldapcmp: Ignore differences of whenChanged.
362 o  Marc Muehlfeld <mmuehlfeld@samba.org>
363    * BUG 12023: man: Wrong option for parameter ldap ssl in smb.conf man page.
365 o  Andreas Schneider <asn@samba.org>
366    * BUG 11936: libutil: Support systemd 230.
367    * BUG 11999: s3-winbind: Fix memory leak with each cached credential login.
368    * BUG 12104: ctdb-waf: Move ctdb tests to libexec directory.
369    * BUG 12175: s3-util: Fix asking for username and password in smbget.
371 o  Martin Schwenke <martin@meltin.net>
372    * BUG 12104: ctdb-packaging: Move ctdb tests to libexec directory.
373    * BUG 12110: ctdb-daemon: Fix several Coverity IDs.
374    * BUG 12158: CTDB release IP fixes.
375    * BUG 12161: Fix CTDB cumulative takeover timeout.
376    * BUG 12180: Fix CTDB crashes running eventscripts.
378 o  Uri Simchoni <uri@samba.org>
379    * BUG 12006: auth: Fix a memory leak in gssapi_get_session_key().
380    * BUG 12145: smbd: If inherit owner is enabled, the free disk on a folder
381      should take the owner's quota into account.
382    * BUG 12149: smbd: Allow reading files based on FILE_EXECUTE access right.
383    * BUG 12172: Fix access of snapshot folders via SMB1.
385 o  Lorinczy Zsigmond <lzsiga@freemail.c3.hu>
386    * BUG 11947: lib: replace: snprintf: Fix length calculation for hex/octal
387      64-bit values.
390 #######################################
391 Reporting bugs & Development Discussion
392 #######################################
394 Please discuss this release on the samba-technical mailing list or by
395 joining the #samba-technical IRC channel on irc.freenode.net.
397 If you do report problems then please try to send high quality
398 feedback. If you don't provide vital information to help us track down
399 the problem then you will probably be ignored.  All bug reports should
400 be filed under the "Samba 4.1 and newer" product in the project's Bugzilla
401 database (https://bugzilla.samba.org/).
404 ======================================================================
405 == Our Code, Our Bugs, Our Responsibility.
406 == The Samba Team
407 ======================================================================
410 ----------------------------------------------------------------------
413                    =============================
414                    Release Notes for Samba 4.4.5
415                            July 7, 2016
416                    =============================
419 This is a security release in order to address the following defect:
421 o  CVE-2016-2119 (Client side SMB2/3 required signing can be downgraded)
423 =======
424 Details
425 =======
427 o  CVE-2016-2119:
428    It's possible for an attacker to downgrade the required signing for
429    an SMB2/3 client connection, by injecting the SMB2_SESSION_FLAG_IS_GUEST
430    or SMB2_SESSION_FLAG_IS_NULL flags.
432    This means that the attacker can impersonate a server being connected to by
433    Samba, and return malicious results.
435    The primary concern is with winbindd, as it uses DCERPC over SMB2 when talking
436    to domain controllers as a member server, and trusted domains as a domain
437    controller.  These DCE/RPC connections were intended to protected by the
438    combination of "client ipc signing" and
439    "client ipc max protocol" in their effective default settings
440    ("mandatory" and "SMB3_11").
442    Additionally, management tools like net, samba-tool and rpcclient use DCERPC
443    over SMB2/3 connections.
445    By default, other tools in Samba are unprotected, but rarely they are
446    configured to use smb signing, via the "client signing" parameter (the default
447    is "if_required").  Even more rarely the "client max protocol" is set to SMB2,
448    rather than the NT1 default.
450    If both these conditions are met, then this issue would also apply to these
451    other tools, including command line tools like smbcacls, smbcquota, smbclient,
452    smbget and applications using libsmbclient.
455 Changes since 4.4.4:
456 --------------------
458 o  Stefan Metzmacher <metze@samba.org>
459    * BUG 11860: CVE-2016-2119: Fix client side SMB2 signing downgrade.
460    * BUG 11948: Total dcerpc response payload more than 0x400000.
463 #######################################
464 Reporting bugs & Development Discussion
465 #######################################
467 Please discuss this release on the samba-technical mailing list or by
468 joining the #samba-technical IRC channel on irc.freenode.net.
470 If you do report problems then please try to send high quality
471 feedback. If you don't provide vital information to help us track down
472 the problem then you will probably be ignored.  All bug reports should
473 be filed under the "Samba 4.1 and newer" product in the project's Bugzilla
474 database (https://bugzilla.samba.org/).
477 ======================================================================
478 == Our Code, Our Bugs, Our Responsibility.
479 == The Samba Team
480 ======================================================================
483 ----------------------------------------------------------------------
486                    =============================
487                    Release Notes for Samba 4.4.4
488                            June 7, 2016
489                    =============================
492 This is the latest stable release of Samba 4.4.
495 Changes since 4.4.3:
496 --------------------
498 o  Michael Adam <obnox@samba.org>
499    * BUG 11809: SMB3 multichannel: Add implementation of missing channel sequence
500      number verification.
501    * BUG 11919: smbd:close: Only remove kernel share modes if they had been
502      taken at open.
503    * BUG 11930: notifyd: Prevent NULL deref segfault in notifyd_peer_destructor.
505 o  Jeremy Allison <jra@samba.org>
506    * BUG 10618: s3: auth: Move the declaration of struct dom_sid tmp_sid to
507      function level scope.
509 o  Christian Ambach <ambi@samba.org>
510    * BUG 10796: s3:rpcclient: Make '--pw-nt-hash' option work.
511    * BUG 11354: s3:libsmb/clifile: Use correct value for MaxParameterCount for
512      setting EAs.
513    * BUG 11438: Fix case sensitivity issues over SMB2 or above.
515 o  Ralph Boehme <slow@samba.org>
516    * BUG 1703: s3:libnet:libnet_join: Add netbios aliases as SPNs.
517    * BUG 11721: vfs_fruit: Add an option that allows disabling POSIX rename
518      behaviour.
520 o  Alexander Bokovoy <ab@samba.org>
521    * BUG 11936: s3-smbd: Support systemd 230.
523 o  Ira Cooper <ira@samba.org>
524    * BUG 11907: source3: Honor the core soft limit of the OS.
526 o  Günther Deschner <gd@samba.org>
527    * BUG 11809: SMB3 multichannel: Add implementation of missing channel sequence
528      number verification.
529    * BUG 11864: s3:client:smbspool_krb5_wrapper: Fix the non clearenv build.
530    * BUG 11906: s3-kerberos: Avoid entering a password change dialogue also when
531      using MIT.
533 o  Robin Hack <hack.robin@gmail.com>
534    * BUG 11890: ldb-samba/ldb_matching_rules: Fix CID 1349424 - Uninitialized
535      pointer read.
537 o  Volker Lendecke <vl@samba.org>
538    * BUG 11844: dbwrap_ctdb: Fix ENOENT->NT_STATUS_NOT_FOUND.
540 o  Robin McCorkell <robin@mccorkell.me.uk>
541    * BUG 11276: Correctly set cli->raw_status for libsmbclient in SMB2 code.
543 o  Stefan Metzmacher <metze@samba.org>
544    * BUG 11910: s3:smbd: Fix anonymous authentication if signing is mandatory.
545    * BUG 11912: libcli/auth: Let msrpc_parse() return talloc'ed empty strings.
546    * BUG 11914: Fix NTLM Authentication issue with squid.
547    * BUG 11927: s3:rpcclient: make use of SMB_SIGNING_IPC_DEFAULT.
549 o  Luca Olivetti <luca@wetron.es>
550    * BUG 11530: pdb: Fix segfault in pdb_ldap for missing gecos.
552 o  Rowland Penny <rpenny@samba.org>
553    * BUG 11613: Allow 'samba-tool fsmo' to cope with empty or missing fsmo
554      roles.
556 o  Anoop C S <anoopcs@redhat.com>
557    * BUG 11907: packaging: Set default limit for core file size in service
558      files.
560 o  Andreas Schneider <asn@samba.org>
561    * BUG 11922: s3-net: Convert the key_name to UTF8 during migration.
562    * BUG 11935: s3-smbspool: Log to stderr.
564 o  Uri Simchoni <uri@samba.org>
565    * BUG 11900: heimdal: Encode/decode kvno as signed integer.
566    * BUG 11931: s3-quotas: Fix sysquotas_4B quota fetching for BSD.
567    * BUG 11937: smbd: dfree: Ignore quota if not enforced.
569 o  Raghavendra Talur <rtalur@redhat.com>
570    * BUG 11907: init: Set core file size to unlimited by default.
572 o  Hemanth Thummala <hemanth.thummala@nutanix.com>
573    * BUG 11934: Fix memory leak in share mode locking.
576 #######################################
577 Reporting bugs & Development Discussion
578 #######################################
580 Please discuss this release on the samba-technical mailing list or by
581 joining the #samba-technical IRC channel on irc.freenode.net.
583 If you do report problems then please try to send high quality
584 feedback. If you don't provide vital information to help us track down
585 the problem then you will probably be ignored.  All bug reports should
586 be filed under the "Samba 4.1 and newer" product in the project's Bugzilla
587 database (https://bugzilla.samba.org/).
590 ======================================================================
591 == Our Code, Our Bugs, Our Responsibility.
592 == The Samba Team
593 ======================================================================
596 ----------------------------------------------------------------------
599                    =============================
600                    Release Notes for Samba 4.4.3
601                            May 2, 2016
602                    =============================
605 This is the latest stable release of Samba 4.4.
607 This release fixes some regressions introduced by the last security fixes.
608 Please see bug https://bugzilla.samba.org/show_bug.cgi?id=11849 for a list of
609 bugs addressing these regressions and more information.
612 Changes since 4.4.2:
613 --------------------
615 o  Michael Adam <obnox@samba.org>
616    * BUG 11786: idmap_hash: Only allow the hash module for default idmap config.
618 o  Jeremy Allison <jra@samba.org>
619    * BUG 11822: s3: libsmb: Fix error where short name length was read as 2
620      bytes, should be 1.
622 o  Andrew Bartlett <abartlet@samba.org>
623    * BUG 11789: Fix returning of ldb.MessageElement.
625 o  Ralph Boehme <slow@samba.org>
626    * BUG 11855: cleanupd: Restart as needed.
628 o  Günther Deschner <gd@samba.org>
629    * BUG 11786: s3:winbindd:idmap: check loadparm in domain_has_idmap_config()
630      helper as well.
631    * BUG 11789: libsmb/pysmb: Add pytalloc-util dependency to fix the build.
633 o  Volker Lendecke <vl@samba.org>
634    * BUG 11786: winbind: Fix CID 1357100: Unchecked return value.
635    * BUG 11816: nwrap: Fix the build on Solaris.
636    * BUG 11827: vfs_catia: Fix memleak.
637    * BUG 11878: smbd: Avoid large reads beyond EOF.
639 o  Stefan Metzmacher <metze@samba.org>
640    * BUG 11789: s3:wscript: pylibsmb depends on pycredentials.
641    * BUG 11841: Fix NT_STATUS_ACCESS_DENIED when accessing Windows public share.
642    * BUG 11847: Only validate MIC if "map to guest" is not being used.
643    * BUG 11849: auth/ntlmssp: Add ntlmssp_{client,server}:force_old_spnego
644      option for testing.
645    * BUG 11850: NetAPP SMB servers don't negotiate NTLMSSP_SIGN.
646    * BUG 11858: Allow anonymous smb connections.
647    * BUG 11870: Fix ads_sasl_spnego_gensec_bind(KRB5).
648    * BUG 11872: Fix 'wbinfo -u' and 'net ads search'.
650 o  Tom Mortensen <tomm@lime-technology.com>
651    * BUG 11875: nss_wins: Fix the hostent setup.
653 o  Garming Sam <garming@catalyst.net.nz>
654    * BUG 11789: build: Mark explicit dependencies on pytalloc-util.
656 o  Partha Sarathi <partha@exablox.com>
657    * BUG 11819: Fix the smb2_setinfo to handle FS info types and FSQUOTA
658      infolevel.
660 o  Jorge Schrauwen <sjorge@blackdot.be>
661    * BUG 11816: configure: Don't check for inotify on illumos.
663 o  Uri Simchoni <uri@samba.org>
664    * BUG 11806: vfs_acl_common: Avoid setting POSIX ACLs if "ignore system acls"
665      is set.
666    * BUG 11815: smbcquotas: print "NO LIMIT" only if returned quota value is 0.
667    * BUG 11852: libads: Record session expiry for spnego sasl binds.
669 o  Hemanth Thummala <hemanth.thummala@nutanix.com>
670    * BUG 11840: Mask general purpose signals for notifyd.
673 #######################################
674 Reporting bugs & Development Discussion
675 #######################################
677 Please discuss this release on the samba-technical mailing list or by
678 joining the #samba-technical IRC channel on irc.freenode.net.
680 If you do report problems then please try to send high quality
681 feedback. If you don't provide vital information to help us track down
682 the problem then you will probably be ignored.  All bug reports should
683 be filed under the "Samba 4.1 and newer" product in the project's Bugzilla
684 database (https://bugzilla.samba.org/).
687 ======================================================================
688 == Our Code, Our Bugs, Our Responsibility.
689 == The Samba Team
690 ======================================================================
693 ----------------------------------------------------------------------
696                    =============================
697                    Release Notes for Samba 4.4.2
698                            April 12, 2016
699                    =============================
701 This is a security release containing one additional
702 regression fix for the security release 4.4.1.
704 This fixes a regression that prevents things like 'net ads join'
705 from working against a Windows 2003 domain.
707 Changes since 4.4.1:
708 ====================
710 o  Stefan Metzmacher <metze@samba.org>
711    * Bug 11804 - prerequisite backports for the security release on
712      April 12th, 2016
715 -----------------------------------------------------------------------
718                    =============================
719                    Release Notes for Samba 4.4.1
720                            April 12, 2016
721                    =============================
724 This is a security release in order to address the following CVEs:
726 o  CVE-2015-5370 (Multiple errors in DCE-RPC code)
728 o  CVE-2016-2110 (Man in the middle attacks possible with NTLMSSP)
730 o  CVE-2016-2111 (NETLOGON Spoofing Vulnerability)
732 o  CVE-2016-2112 (LDAP client and server don't enforce integrity)
734 o  CVE-2016-2113 (Missing TLS certificate validation)
736 o  CVE-2016-2114 ("server signing = mandatory" not enforced)
738 o  CVE-2016-2115 (SMB IPC traffic is not integrity protected)
740 o  CVE-2016-2118 (SAMR and LSA man in the middle attacks possible)
742 The number of changes are rather huge for a security release,
743 compared to typical security releases.
745 Given the number of problems and the fact that they are all related
746 to man in the middle attacks we decided to fix them all at once
747 instead of splitting them.
749 In order to prevent the man in the middle attacks it was required
750 to change the (default) behavior for some protocols. Please see the
751 "New smb.conf options" and "Behavior changes" sections below.
753 =======
754 Details
755 =======
757 o  CVE-2015-5370
759    Versions of Samba from 3.6.0 to 4.4.0 inclusive are vulnerable to
760    denial of service attacks (crashes and high cpu consumption)
761    in the DCE-RPC client and server implementations. In addition,
762    errors in validation of the DCE-RPC packets can lead to a downgrade
763    of a secure connection to an insecure one.
765    While we think it is unlikely, there's a nonzero chance for
766    a remote code execution attack against the client components,
767    which are used by smbd, winbindd and tools like net, rpcclient and
768    others. This may gain root access to the attacker.
770    The above applies all possible server roles Samba can operate in.
772    Note that versions before 3.6.0 had completely different marshalling
773    functions for the generic DCE-RPC layer. It's quite possible that
774    that code has similar problems!
776    The downgrade of a secure connection to an insecure one may
777    allow an attacker to take control of Active Directory object
778    handles created on a connection created from an Administrator
779    account and re-use them on the now non-privileged connection,
780    compromising the security of the Samba AD-DC.
782 o  CVE-2016-2110:
784    There are several man in the middle attacks possible with
785    NTLMSSP authentication.
787    E.g. NTLMSSP_NEGOTIATE_SIGN and NTLMSSP_NEGOTIATE_SEAL
788    can be cleared by a man in the middle.
790    This was by protocol design in earlier Windows versions.
792    Windows Server 2003 RTM and Vista RTM introduced a way
793    to protect against the trivial downgrade.
795    See MsvAvFlags and flag 0x00000002 in
796    https://msdn.microsoft.com/en-us/library/cc236646.aspx
798    This new feature also implies support for a mechlistMIC
799    when used within SPNEGO, which may prevent downgrades
800    from other SPNEGO mechs, e.g. Kerberos, if sign or
801    seal is finally negotiated.
803    The Samba implementation doesn't enforce the existence of
804    required flags, which were requested by the application layer,
805    e.g. LDAP or SMB1 encryption (via the unix extensions).
806    As a result a man in the middle can take over the connection.
807    It is also possible to misguide client and/or
808    server to send unencrypted traffic even if encryption
809    was explicitly requested.
811    LDAP (with NTLMSSP authentication) is used as a client
812    by various admin tools of the Samba project,
813    e.g. "net", "samba-tool", "ldbsearch", "ldbedit", ...
815    As an active directory member server LDAP is also used
816    by the winbindd service when connecting to domain controllers.
818    Samba also offers an LDAP server when running as
819    active directory domain controller.
821    The NTLMSSP authentication used by the SMB1 encryption
822    is protected by smb signing, see CVE-2015-5296.
824 o  CVE-2016-2111:
826    It's basically the same as CVE-2015-0005 for Windows:
828      The NETLOGON service in Microsoft Windows Server 2003 SP2,
829      Windows Server 2008 SP2 and R2 SP1, and Windows Server 2012 Gold
830      and R2, when a Domain Controller is configured, allows remote
831      attackers to spoof the computer name of a secure channel's
832      endpoint, and obtain sensitive session information, by running a
833      crafted application and leveraging the ability to sniff network
834      traffic, aka "NETLOGON Spoofing Vulnerability".
836    The vulnerability in Samba is worse as it doesn't require
837    credentials of a computer account in the domain.
839    This only applies to Samba running as classic primary domain controller,
840    classic backup domain controller or active directory domain controller.
842    The security patches introduce a new option called "raw NTLMv2 auth"
843    ("yes" or "no") for the [global] section in smb.conf.
844    Samba (the smbd process) will reject client using raw NTLMv2
845    without using NTLMSSP.
847    Note that this option also applies to Samba running as
848    standalone server and member server.
850    You should also consider using "lanman auth = no" (which is already the default)
851    and "ntlm auth = no". Have a look at the smb.conf manpage for further details,
852    as they might impact compatibility with older clients. These also
853    apply for all server roles.
855 o  CVE-2016-2112:
857    Samba uses various LDAP client libraries, a builtin one and/or the system
858    ldap libraries (typically openldap).
860    As active directory domain controller Samba also provides an LDAP server.
862    Samba takes care of doing SASL (GSS-SPNEGO) authentication with Kerberos or NTLMSSP
863    for LDAP connections, including possible integrity (sign) and privacy (seal)
864    protection.
866    Samba has support for an option called "client ldap sasl wrapping" since version
867    3.2.0. Its default value has changed from "plain" to "sign" with version 4.2.0.
869    Tools using the builtin LDAP client library do not obey the
870    "client ldap sasl wrapping" option. This applies to tools like:
871    "samba-tool", "ldbsearch", "ldbedit" and more. Some of them have command line
872    options like "--sign" and "--encrypt". With the security update they will
873    also obey the "client ldap sasl wrapping" option as default.
875    In all cases, even if explicitly request via "client ldap sasl wrapping",
876    "--sign" or "--encrypt", the protection can be downgraded by a man in the
877    middle.
879    The LDAP server doesn't have an option to enforce strong authentication
880    yet. The security patches will introduce a new option called
881    "ldap server require strong auth", possible values are "no",
882    "allow_sasl_over_tls" and "yes".
884    As the default behavior was as "no" before, you may
885    have to explicitly change this option until all clients have
886    been adjusted to handle LDAP_STRONG_AUTH_REQUIRED errors.
887    Windows clients and Samba member servers already use
888    integrity protection.
890 o  CVE-2016-2113:
892    Samba has support for TLS/SSL for some protocols:
893    ldap and http, but currently certificates are not
894    validated at all. While we have a "tls cafile" option,
895    the configured certificate is not used to validate
896    the server certificate.
898    This applies to ldaps:// connections triggered by tools like:
899    "ldbsearch", "ldbedit" and more. Note that it only applies
900    to the ldb tools when they are built as part of Samba or with Samba
901    extensions installed, which means the Samba builtin LDAP client library is
902    used.
904    It also applies to dcerpc client connections using ncacn_http (with https://),
905    which are only used by the openchange project. Support for ncacn_http
906    was introduced in version 4.2.0.
908    The security patches will introduce a new option called
909    "tls verify peer". Possible values are "no_check", "ca_only",
910    "ca_and_name_if_available", "ca_and_name" and "as_strict_as_possible".
912    If you use the self-signed certificates which are auto-generated
913    by Samba, you won't have a crl file and need to explicitly
914    set "tls verify peer = ca_and_name".
916 o  CVE-2016-2114
918    Due to a regression introduced in Samba 4.0.0,
919    an explicit "server signing = mandatory" in the [global] section
920    of the smb.conf was not enforced for clients using the SMB1 protocol.
922    As a result it does not enforce smb signing and allows man in the middle attacks.
924    This problem applies to all possible server roles:
925    standalone server, member server, classic primary domain controller,
926    classic backup domain controller and active directory domain controller.
928    In addition, when Samba is configured with "server role = active directory domain controller"
929    the effective default for the "server signing" option should be "mandatory".
931    During the early development of Samba 4 we had a new experimental
932    file server located under source4/smb_server. But before
933    the final 4.0.0 release we switched back to the file server
934    under source3/smbd.
936    But the logic for the correct default of "server signing" was not
937    ported correctly ported.
939    Note that the default for server roles other than active directory domain
940    controller, is "off" because of performance reasons.
942 o  CVE-2016-2115:
944    Samba has an option called "client signing", this is turned off by default
945    for performance reasons on file transfers.
947    This option is also used when using DCERPC with ncacn_np.
949    In order to get integrity protection for ipc related communication
950    by default the "client ipc signing" option is introduced.
951    The effective default for this new option is "mandatory".
953    In order to be compatible with more SMB server implementations,
954    the following additional options are introduced:
955    "client ipc min protocol" ("NT1" by default) and
956    "client ipc max protocol" (the highest support SMB2/3 dialect by default).
957    These options overwrite the "client min protocol" and "client max protocol"
958    options, because the default for "client max protocol" is still "NT1".
959    The reason for this is the fact that all SMB2/3 support SMB signing,
960    while there are still SMB1 implementations which don't offer SMB signing
961    by default (this includes Samba versions before 4.0.0).
963    Note that winbindd (in versions 4.2.0 and higher) enforces SMB signing
964    against active directory domain controllers despite of the
965    "client signing" and "client ipc signing" options.
967 o  CVE-2016-2118 (a.k.a. BADLOCK):
969    The Security Account Manager Remote Protocol [MS-SAMR] and the
970    Local Security Authority (Domain Policy) Remote Protocol [MS-LSAD]
971    are both vulnerable to man in the middle attacks. Both are application level
972    protocols based on the generic DCE 1.1 Remote Procedure Call (DCERPC) protocol.
974    These protocols are typically available on all Windows installations
975    as well as every Samba server. They are used to maintain
976    the Security Account Manager Database. This applies to all
977    roles, e.g. standalone, domain member, domain controller.
979    Any authenticated DCERPC connection a client initiates against a server
980    can be used by a man in the middle to impersonate the authenticated user
981    against the SAMR or LSAD service on the server.
983    The client chosen application protocol, auth type (e.g. Kerberos or NTLMSSP)
984    and auth level (NONE, CONNECT, PKT_INTEGRITY, PKT_PRIVACY) do not matter
985    in this case. A man in the middle can change auth level to CONNECT
986    (which means authentication without message protection) and take over
987    the connection.
989    As a result, a man in the middle is able to get read/write access to the
990    Security Account Manager Database, which reveals all passwords
991    and any other potential sensitive information.
993    Samba running as an active directory domain controller is additionally
994    missing checks to enforce PKT_PRIVACY for the
995    Directory Replication Service Remote Protocol [MS-DRSR] (drsuapi)
996    and the BackupKey Remote Protocol [MS-BKRP] (backupkey).
997    The Domain Name Service Server Management Protocol [MS-DNSP] (dnsserver)
998    is not enforcing at least PKT_INTEGRITY.
1000 ====================
1001 New smb.conf options
1002 ====================
1004   allow dcerpc auth level connect (G)
1006     This option controls whether DCERPC services are allowed to be used with
1007     DCERPC_AUTH_LEVEL_CONNECT, which provides authentication, but no per
1008     message integrity nor privacy protection.
1010     Some interfaces like samr, lsarpc and netlogon have a hard-coded default
1011     of no and epmapper, mgmt and rpcecho have a hard-coded default of yes.
1013     The behavior can be overwritten per interface name (e.g. lsarpc,
1014     netlogon, samr, srvsvc, winreg, wkssvc ...) by using
1015     'allow dcerpc auth level connect:interface = yes' as option.
1017     This option yields precedence to the implementation specific restrictions.
1018     E.g. the drsuapi and backupkey protocols require DCERPC_AUTH_LEVEL_PRIVACY.
1019     The dnsserver protocol requires DCERPC_AUTH_LEVEL_INTEGRITY.
1021     Default: allow dcerpc auth level connect = no
1023     Example: allow dcerpc auth level connect = yes
1025   client ipc signing (G)
1027     This controls whether the client is allowed or required to use
1028     SMB signing for IPC$ connections as DCERPC transport. Possible
1029     values are auto, mandatory and disabled.
1031     When set to mandatory or default, SMB signing is required.
1033     When set to auto, SMB signing is offered, but not enforced and
1034     if set to disabled, SMB signing is not offered either.
1036     Connections from winbindd to Active Directory Domain Controllers
1037     always enforce signing.
1039     Default: client ipc signing = default
1041   client ipc max protocol (G)
1043     The value of the parameter (a string) is the highest protocol level that will
1044     be supported for IPC$ connections as DCERPC transport.
1046     Normally this option should not be set as the automatic negotiation phase
1047     in the SMB protocol takes care of choosing the appropriate protocol.
1049     The value default refers to the latest supported protocol, currently SMB3_11.
1051     See client max protocol for a full list of available protocols.
1052     The values CORE, COREPLUS, LANMAN1, LANMAN2 are silently upgraded to NT1.
1054     Default: client ipc max protocol = default
1056     Example: client ipc max protocol = SMB2_10
1058   client ipc min protocol (G)
1060     This setting controls the minimum protocol version that the will be
1061     attempted to use for IPC$ connections as DCERPC transport.
1063     Normally this option should not be set as the automatic negotiation phase
1064     in the SMB protocol takes care of choosing the appropriate protocol.
1066     The value default refers to the higher value of NT1 and the
1067     effective value of "client min protocol".
1069     See client max protocol for a full list of available protocols.
1070     The values CORE, COREPLUS, LANMAN1, LANMAN2 are silently upgraded to NT1.
1072     Default: client ipc min protocol = default
1074     Example: client ipc min protocol = SMB3_11
1076   ldap server require strong auth (G)
1078     The ldap server require strong auth defines whether the
1079     ldap server requires ldap traffic to be signed or
1080     signed and encrypted (sealed). Possible values are no,
1081     allow_sasl_over_tls and yes.
1083     A value of no allows simple and sasl binds over all transports.
1085     A value of allow_sasl_over_tls allows simple and sasl binds (without sign or seal)
1086     over TLS encrypted connections. Unencrypted connections only
1087     allow sasl binds with sign or seal.
1089     A value of yes allows only simple binds over TLS encrypted connections.
1090     Unencrypted connections only allow sasl binds with sign or seal.
1092     Default: ldap server require strong auth = yes
1094   raw NTLMv2 auth (G)
1096     This parameter determines whether or not smbd(8) will allow SMB1 clients
1097     without extended security (without SPNEGO) to use NTLMv2 authentication.
1099     If this option, lanman auth and ntlm auth are all disabled, then only
1100     clients with SPNEGO support will be permitted. That means NTLMv2 is only
1101     supported within NTLMSSP.
1103     Default: raw NTLMv2 auth = no
1105   tls verify peer (G)
1107     This controls if and how strict the client will verify the peer's
1108     certificate and name. Possible values are (in increasing order): no_check,
1109     ca_only, ca_and_name_if_available, ca_and_name and as_strict_as_possible.
1111     When set to no_check the certificate is not verified at all,
1112     which allows trivial man in the middle attacks.
1114     When set to ca_only the certificate is verified to be signed from a ca
1115     specified in the "tls ca file" option. Setting "tls ca file" to a valid file
1116     is required. The certificate lifetime is also verified. If the "tls crl file"
1117     option is configured, the certificate is also verified against
1118     the ca crl.
1120     When set to ca_and_name_if_available all checks from ca_only are performed.
1121     In addition, the peer hostname is verified against the certificate's
1122     name, if it is provided by the application layer and not given as
1123     an ip address string.
1125     When set to ca_and_name all checks from ca_and_name_if_available are performed.
1126     In addition the peer hostname needs to be provided and even an ip
1127     address is checked against the certificate's name.
1129     When set to as_strict_as_possible all checks from ca_and_name are performed.
1130     In addition the "tls crl file" needs to be configured. Future versions
1131     of Samba may implement additional checks.
1133     Default: tls verify peer = as_strict_as_possible
1135   tls priority (G) (backported from Samba 4.3 to Samba 4.2)
1137     This option can be set to a string describing the TLS protocols to be
1138     supported in the parts of Samba that use GnuTLS, specifically the AD DC.
1140     The default turns off SSLv3, as this protocol is no longer considered
1141     secure after CVE-2014-3566 (otherwise known as POODLE) impacted SSLv3 use
1142     in HTTPS applications.
1144     The valid options are described in the GNUTLS Priority-Strings
1145     documentation at http://gnutls.org/manual/html_node/Priority-Strings.html
1147     Default: tls priority = NORMAL:-VERS-SSL3.0
1149 ================
1150 Behavior changes
1151 ================
1153 o  The default auth level for authenticated binds has changed from
1154    DCERPC_AUTH_LEVEL_CONNECT to DCERPC_AUTH_LEVEL_INTEGRITY.
1155    That means ncacn_ip_tcp:server is now implicitly the same
1156    as ncacn_ip_tcp:server[sign] and offers a similar protection
1157    as ncacn_np:server, which relies on smb signing.
1159 o  The following constraints are applied to SMB1 connections:
1161    - "client lanman auth = yes" is now consistently
1162      required for authenticated connections using the
1163      SMB1 LANMAN2 dialect.
1164    - "client ntlmv2 auth = yes" and "client use spnego = yes"
1165      (both the default values), require extended security (SPNEGO)
1166      support from the server. That means NTLMv2 is only used within
1167      NTLMSSP.
1169 o  Tools like "samba-tool", "ldbsearch", "ldbedit" and more obey the
1170    default of "client ldap sasl wrapping = sign". Even with
1171    "client ldap sasl wrapping = plain" they will automatically upgrade
1172    to "sign" when getting LDAP_STRONG_AUTH_REQUIRED from the LDAP
1173    server.
1175 Changes since 4.4.0:
1176 ====================
1178 o  Jeremy Allison <jra@samba.org>
1179    * Bug 11344 - CVE-2015-5370: Multiple errors in DCE-RPC code.
1181 o  Christian Ambach <ambi@samba.org>
1182    * Bug 11804 - prerequisite backports for the security release on
1183      April 12th, 2016.
1185 o  Ralph Boehme <slow@samba.org>
1186    * Bug 11644 - CVE-2016-2112: The LDAP client and server don't enforce
1187      integrity protection.
1189 o  Günther Deschner <gd@samba.org>
1190    * Bug 11749 - CVE-2016-2111: NETLOGON Spoofing Vulnerability.
1192    * Bug 11804 - prerequisite backports for the security release on
1193      April 12th, 2016.
1195 o  Volker Lendecke <vl@samba.org>
1196    * Bug 11804 - prerequisite backports for the security release on
1197      April 12th, 2016.
1199 o  Stefan Metzmacher <metze@samba.org>
1200    * Bug 11344 - CVE-2015-5370: Multiple errors in DCE-RPC code.
1202    * Bug 11616 - CVE-2016-2118: SAMR and LSA man in the middle attacks possible.
1204    * Bug 11644 - CVE-2016-2112: The LDAP client and server doesn't enforce
1205      integrity protection.
1207    * Bug 11687 - CVE-2016-2114: "server signing = mandatory" not enforced.
1209    * Bug 11688 - CVE-2016-2110: Man in the middle attacks possible with NTLMSSP.
1211    * Bug 11749 - CVE-2016-2111: NETLOGON Spoofing Vulnerability.
1213    * Bug 11752 - CVE-2016-2113: Missing TLS certificate validation allows man in
1214      the middle attacks.
1216    * Bug 11756 - CVE-2016-2115: SMB client connections for IPC traffic are not
1217      integrity protected.
1219    * Bug 11804 - prerequisite backports for the security release on
1220      April 12th, 2016.
1223 #######################################
1224 Reporting bugs & Development Discussion
1225 #######################################
1227 Please discuss this release on the samba-technical mailing list or by
1228 joining the #samba-technical IRC channel on irc.freenode.net.
1230 If you do report problems then please try to send high quality
1231 feedback. If you don't provide vital information to help us track down
1232 the problem then you will probably be ignored.  All bug reports should
1233 be filed under the "Samba 4.1 and newer" product in the project's Bugzilla
1234 database (https://bugzilla.samba.org/).
1237 ======================================================================
1238 == Our Code, Our Bugs, Our Responsibility.
1239 == The Samba Team
1240 ======================================================================
1243 ----------------------------------------------------------------------
1246                    =============================
1247                    Release Notes for Samba 4.4.0
1248                            March 22, 2016
1249                    =============================
1252 This is the first stable release of the Samba 4.4 release series.
1255 UPGRADING
1256 =========
1258 Nothing special.
1261 NEW FEATURES/CHANGES
1262 ====================
1264 Asynchronous flush requests
1265 ---------------------------
1267 Flush requests from SMB2/3 clients are handled asynchronously and do
1268 not block the processing of other requests. Note that 'strict sync'
1269 has to be set to 'yes' for Samba to honor flush requests from SMB
1270 clients.
1272 s3: smbd
1273 --------
1275 Remove '--with-aio-support' configure option. We no longer would ever prefer
1276 POSIX-RT aio, use pthread_aio instead.
1278 samba-tool sites
1279 ----------------
1281 The 'samba-tool sites' subcommand can now be run against another server by
1282 specifying an LDB URL using the '-H' option and not against the local database
1283 only (which is still the default when no URL is given).
1285 samba-tool domain demote
1286 ------------------------
1288 Add '--remove-other-dead-server' option to 'samba-tool domain demote'
1289 subcommand. The new version of this tool now can remove another DC that is
1290 itself offline.  The '--remove-other-dead-server' removes as many references
1291 to the DC as possible.
1293 samba-tool drs clone-dc-database
1294 --------------------------------
1296 Replicate an initial clone of domain, but do not join it.
1297 This is developed for debugging purposes, but not for setting up another DC.
1299 pdbedit
1300 -------
1302 Add '--set-nt-hash' option to pdbedit to update user password from nt-hash
1303 hexstring. 'pdbedit -vw' shows also password hashes.
1305 smbstatus
1306 ---------
1308 'smbstatus' was enhanced to show the state of signing and encryption for
1309 sessions and shares.
1311 smbget
1312 ------
1313 The -u and -p options for user and password were replaced by the -U option that
1314 accepts username[%password] as in many other tools of the Samba suite.
1315 Similary, smbgetrc files do not accept username and password options any more,
1316 only a single "user" option which also accepts user%password combinations.
1317 The -P option was removed.
1319 s4-rpc_server
1320 -------------
1322 Add a GnuTLS based backupkey implementation.
1324 ntlm_auth
1325 ---------
1327 Using the '--offline-logon' enables ntlm_auth to use cached passwords when the
1328 DC is offline.
1330 Allow '--password' force a local password check for ntlm-server-1 mode.
1332 vfs_offline
1333 -----------
1335 A new VFS module called vfs_offline has been added to mark all files in the
1336 share as offline. It can be useful for shares mounted on top of a remote file
1337 system (either through a samba VFS module or via FUSE).
1342 The Samba KCC has been improved, but is still disabled by default.
1347 There were several improvements concerning the Samba DNS server.
1349 Active Directory
1350 ----------------
1352 There were some improvements in the Active Directory area.
1354 WINS nsswitch module
1355 --------------------
1357 The WINS nsswitch module has been rewritten to address memory issues and to
1358 simplify the code. The module now uses libwbclient to do WINS queries. This
1359 means that winbind needs to be running in order to resolve WINS names using
1360 the nss_wins module. This does not affect smbd.
1362 CTDB changes
1363 ------------
1365 * CTDB now uses a newly implemented parallel database recovery scheme
1366   that avoids deadlocks with smbd.
1368   In certain circumstances CTDB and smbd could deadlock.  The new
1369   recovery implementation avoid this.  It also provides improved
1370   recovery performance.
1372 * All files are now installed into and referred to by the paths
1373   configured at build time.  Therefore, CTDB will now work properly
1374   when installed into the default location at /usr/local.
1376 * Public CTDB header files are no longer installed, since Samba and
1377   CTDB are built from within the same source tree.
1379 * CTDB_DBDIR can now be set to tmpfs[:<tmpfs-options>]
1381   This will cause volatile TDBs to be located in a tmpfs.  This can
1382   help to avoid performance problems associated with contention on the
1383   disk where volatile TDBs are usually stored.  See ctdbd.conf(5) for
1384   more details.
1386 * Configuration variable CTDB_NATGW_SLAVE_ONLY is no longer used.
1387   Instead, nodes should be annotated with the "slave-only" option in
1388   the CTDB NAT gateway nodes file.  This file must be consistent
1389   across nodes in a NAT gateway group.  See ctdbd.conf(5) for more
1390   details.
1392 * New event script 05.system allows various system resources to be
1393   monitored
1395   This can be helpful for explaining poor performance or unexpected
1396   behaviour.  New configuration variables are
1397   CTDB_MONITOR_FILESYSTEM_USAGE, CTDB_MONITOR_MEMORY_USAGE and
1398   CTDB_MONITOR_SWAP_USAGE.  Default values cause warnings to be
1399   logged.  See the SYSTEM RESOURCE MONITORING CONFIGURATION in
1400   ctdbd.conf(5) for more information.
1402   The memory, swap and filesystem usage monitoring previously found in
1403   00.ctdb and 40.fs_use is no longer available.  Therefore,
1404   configuration variables CTDB_CHECK_FS_USE, CTDB_MONITOR_FREE_MEMORY,
1405   CTDB_MONITOR_FREE_MEMORY_WARN and CTDB_CHECK_SWAP_IS_NOT_USED are
1406   now ignored.
1408 * The 62.cnfs eventscript has been removed.  To get a similar effect
1409   just do something like this:
1411       mmaddcallback ctdb-disable-on-quorumLoss \
1412         --command /usr/bin/ctdb \
1413         --event quorumLoss --parms "disable"
1415       mmaddcallback ctdb-enable-on-quorumReached \
1416         --command /usr/bin/ctdb \
1417         --event quorumReached --parms "enable"
1419 * The CTDB tunable parameter EventScriptTimeoutCount has been renamed
1420   to MonitorTimeoutCount
1422   It has only ever been used to limit timed-out monitor events.
1424   Configurations containing CTDB_SET_EventScriptTimeoutCount=<n> will
1425   cause CTDB to fail at startup.  Useful messages will be logged.
1427 * The commandline option "-n all" to CTDB tool has been removed.
1429   The option was not uniformly implemented for all the commands.
1430   Instead of command "ctdb ip -n all", use "ctdb ip all".
1432 * All CTDB current manual pages are now correctly installed
1435 EXPERIMENTAL FEATURES
1436 =====================
1438 SMB3 Multi-Channel
1439 ------------------
1441 Samba 4.4.0 adds *experimental* support for SMB3 Multi-Channel.
1442 Multi-Channel is an SMB3 protocol feature that allows the client
1443 to bind multiple transport connections into one authenticated
1444 SMB session. This allows for increased fault tolerance and
1445 throughput. The client chooses transport connections as reported
1446 by the server and also chooses over which of the bound transport
1447 connections to send traffic. I/O operations for a given file
1448 handle can span multiple network connections this way.
1449 An SMB multi-channel session will be valid as long as at least
1450 one of its channels are up.
1452 In Samba, multi-channel can be enabled by setting the new
1453 smb.conf option "server multi channel support" to "yes".
1454 It is disabled by default.
1456 Samba has to report interface speeds and some capabilities to
1457 the client. On Linux, Samba can auto-detect the speed of an
1458 interface. But to support other platforms, and in order to be
1459 able to manually override the detected values, the "interfaces"
1460 smb.conf option has been given an extended syntax, by which an
1461 interface specification can additionally carry speed and
1462 capability information. The extended syntax looks like this
1463 for setting the speed to 1 gigabit per second:
1465     interfaces = 192.168.1.42;speed=1000000000
1467 This extension should be used with care and are mainly intended
1468 for testing. See the smb.conf manual page for details.
1470 CAVEAT: While this should be working without problems mostly,
1471 there are still corner cases in the treatment of channel failures
1472 that may result in DATA CORRUPTION when these race conditions hit.
1473 It is hence
1475     NOT RECOMMENDED TO USE MULTI-CHANNEL IN PRODUCTION
1477 at this stage. This situation can be expected to improve during
1478 the life-time of the 4.4 release. Feed-back from test-setups is
1479 highly welcome.
1482 REMOVED FEATURES
1483 ================
1485 Public headers
1486 --------------
1488 Several public headers are not installed any longer. They are made for internal
1489 use only. More public headers will very likely be removed in future releases.
1491 The following headers are not installed any longer:
1492 dlinklist.h, gen_ndr/epmapper.h, gen_ndr/mgmt.h, gen_ndr/ndr_atsvc_c.h,
1493 gen_ndr/ndr_epmapper_c.h, gen_ndr/ndr_epmapper.h, gen_ndr/ndr_mgmt_c.h,
1494 gen_ndr/ndr_mgmt.h,gensec.h, ldap_errors.h, ldap_message.h, ldap_ndr.h,
1495 ldap-util.h, pytalloc.h, read_smb.h, registry.h, roles.h, samba_util.h,
1496 smb2_constants.h, smb2_create_blob.h, smb2.h, smb2_lease.h, smb2_signing.h,
1497 smb_cli.h, smb_cliraw.h, smb_common.h, smb_composite.h, smb_constants.h,
1498 smb_raw.h, smb_raw_interfaces.h, smb_raw_signing.h, smb_raw_trans2.h,
1499 smb_request.h, smb_seal.h, smb_signing.h, smb_unix_ext.h, smb_util.h,
1500 torture.h, tstream_smbXcli_np.h.
1502 vfs_smb_traffic_analyzer
1503 ------------------------
1505 The SMB traffic analyzer VFS module has been removed, because it is not
1506 maintained any longer and not widely used.
1508 vfs_scannedonly
1509 ---------------
1511 The scannedonly VFS module has been removed, because it is not maintained
1512 any longer.
1514 smb.conf changes
1515 ----------------
1517   Parameter Name                Description             Default
1518   --------------                -----------             -------
1519   aio max threads               New                     100
1520   ldap page size                Changed default         1000
1521   server multi channel support  New                     No
1522   interfaces                    Extended syntax
1525 KNOWN ISSUES
1526 ============
1528 Currently none.
1531 CHANGES SINCE 4.4.0rc5
1532 ======================
1534 o  Michael Adam <obnox@samba.org>
1535    * BUG 11796: smbd: Enable multi-channel if 'server multi channel support =
1536      yes' in the config.
1538 o  Günther Deschner <gd@samba.org>
1539    * BUG 11802: lib/socket/interfaces: Fix some uninitialied bytes.
1541 o  Uri Simchoni <uri@samba.org>
1542    * BUG 11798: build: Fix build when '--without-quota' specified.
1545 CHANGES SINCE 4.4.0rc4
1546 ======================
1548 o  Andrew Bartlett <abartlet@samba.org>
1549    * BUG 11780: mkdir can return ACCESS_DENIED incorrectly on create race.
1550    * BUG 11783: Mismatch between local and remote attribute ids lets
1551      replication fail with custom schema.
1552    * BUG 11789: Talloc: Version 2.1.6.
1554 o  Ira Cooper <ira@samba.org>
1555    * BUG 11774: vfs_glusterfs: Fix use after free in AIO callback.
1557 o  Günther Deschner <gd@samba.org>
1558    * BUG 11755: Fix net join.
1560 o  Amitay Isaacs <amitay@gmail.com>
1561    * BUG 11770: Reset TCP Connections during IP failover.
1563 o  Justin Maggard <jmaggard10@gmail.com>
1564    * BUG 11773: s3:smbd: Add negprot remote arch detection for OSX.
1566 o  Stefan Metzmacher <metze@samba.org>
1567    * BUG 11772: ldb: Version 1.1.26.
1568    * BUG 11782: "trustdom_list_done: Got invalid trustdom response" message
1569      should be avoided.
1571 o  Uri Simchoni <uri@samba.org>
1572    * BUG 11769: libnet: Make Kerberos domain join site-aware.
1573    * BUG 11788: Quota is not supported on Solaris 10.
1576 CHANGES SINCE 4.4.0rc3
1577 ======================
1579 o  Jeremy Allison <jra@samba.org>
1580    * BUG 11648: CVE-2015-7560: Getting and setting Windows ACLs on symlinks can
1581      change permissions on link target.
1583 o  Christian Ambach <ambi@samba.org>
1584    * BUG 11767: s3:utils/smbget: Fix option parsing.
1586 o  Alberto Maria Fiaschi <alberto.fiaschi@estar.toscana.it>
1587    * BUG 8093: Access based share enum: handle permission set in configuration
1588      files.
1590 o  Stefan Metzmacher <metze@samba.org>
1591    * BUG 11702: s3:clispnego: Fix confusing warning in spnego_gen_krb5_wrap().
1592    * BUG 11742: tevent: version 0.9.28: Fix memory leak when old signal action
1593      restored.
1594    * BUG 11755: s3:libads: setup the msDS-SupportedEncryptionTypes attribute on
1595      ldap_add.
1596    * BUGs 11128, 11686: CVE-2016-0771: Read of uninitialized memory DNS TXT
1597      handling.
1599 o  Garming Sam <garming@catalyst.net.nz>
1600    * BUGs 11128, 11686: CVE-2016-0771: Read of uninitialized memory DNS TXT
1601      handling.
1603 o  Uri Simchoni <uri@samba.org>
1604    * BUG 11691: winbindd: Return trust parameters when listing trusts.
1605    * BUG 11753: smbd: Ignore SVHDX create context.
1606    * BUG 11763: passdb: Add linefeed to debug message.
1609 CHANGES SINCE 4.4.0rc2
1610 ======================
1612 o  Michael Adam <obnox@samba.org>
1613    * BUG 11723: lib:socket: Fix CID 1350010: Integer OVERFLOW_BEFORE_WIDEN.
1614    * BUG 11735: lib:socket: Fix CID 1350009: Fix illegal memory accesses
1615      (BUFFER_SIZE_WARNING).
1617 o  Jeremy Allison <jra@samba.org>
1618    * BUG 10489: s3: smbd: posix_acls: Fix check for setting u:g:o entry on a
1619      filesystem with no ACL support.
1621 o  Christian Ambach <ambi@samba.org>
1622    * BUG 11700: s3:utils/smbget: Set default blocksize.
1624 o  Anoop C S <anoopcs@redhat.com>
1625    * BUG 11734: lib/socket: Fix improper use of default interface speed.
1627 o  Ralph Boehme <slow@samba.org>
1628    * BUG 11714: lib/tsocket: Work around sockets not supporting FIONREAD.
1630 o  Volker Lendecke <vl@samba.org>
1631    * BUG 11724: smbd: Fix CID 1351215 Improper use of negative value.
1632    * BUG 11725: smbd: Fix CID 1351216 Dereference null return value.
1633    * BUG 11732: param: Fix str_list_v3 to accept ; again.
1635 o  Noel Power <noel.power@suse.com>
1636    * BUG 11738: libcli: Fix debug message, print sid string for new_ace trustee.
1638 o  Jose A. Rivera <jarrpa@samba.org>
1639    * BUG 11727: s3:smbd:open: Skip redundant call to file_set_dosmode when
1640      creating a new file.
1642 o  Andreas Schneider <asn@samba.org>
1643    * BUG 11730: docs: Add manpage for cifsdd.
1644    * BUG 11739: Fix installation path of Samba helper binaries.
1646 o  Berend De Schouwer <berend.de.schouwer@gmail.com>
1647    * BUG 11643: docs: Add example for domain logins to smbspool man page.
1649 o  Martin Schwenke <martin@meltin.net>
1650    * BUG 11719: ctdb-scripts: Drop use of "smbcontrol winbindd ip-dropped ..."
1652 o  Hemanth Thummala <hemanth.thummala@nutanix.com>
1653    * BUG 11708: loadparm: Fix memory leak issue.
1654    * BUG 11740: Fix memory leak in loadparm.
1657 CHANGES SINCE 4.4.0rc1
1658 ======================
1660 o  Michael Adam <obnox@samba.org>
1661    * BUG 11715: s3:vfs:glusterfs: Fix build after quota changes.
1663 o  Jeremy Allison <jra@samba.org>
1664    * BUG 11703: s3: smbd: Fix timestamp rounding inside SMB2 create.
1666 o  Christian Ambach <ambi@samba.org>
1667    * BUG 11700: Streamline 'smbget' options with the rest of the Samba utils.
1669 o  Günther Deschner <gd@samba.org>
1670    * BUG 11696: ctdb: Do not provide a useless pkgconfig file for ctdb.
1672 o  Stefan Metzmacher <metze@samba.org>
1673    * BUG 11699: Crypto.Cipher.ARC4 is not available on some platforms, fallback
1674      to M2Crypto.RC4.RC4 then.
1676 o  Amitay Isaacs <amitay@gmail.com>
1677    * BUG 11705: Sockets with htons(IPPROTO_RAW) and CVE-2015-8543.
1679 o  Andreas Schneider <asn@samba.org>
1680    * BUG 11690: docs: Add smbspool_krb5_wrapper manpage.
1682 o  Uri Simchoni <uri@samba.org>
1683    * BUG 11681: smbd: Show correct disk size for different quota and dfree block
1684      sizes.
1687 #######################################
1688 Reporting bugs & Development Discussion
1689 #######################################
1691 Please discuss this release on the samba-technical mailing list or by
1692 joining the #samba-technical IRC channel on irc.freenode.net.
1694 If you do report problems then please try to send high quality
1695 feedback. If you don't provide vital information to help us track down
1696 the problem then you will probably be ignored.  All bug reports should
1697 be filed under the Samba 4.1 and newer product in the project's Bugzilla
1698 database (https://bugzilla.samba.org/).
1701 ======================================================================
1702 == Our Code, Our Bugs, Our Responsibility.
1703 == The Samba Team
1704 ======================================================================