s3/smbd: add comments and some reformatting to open_file_ntcreate()
[Samba.git] / WHATSNEW.txt
blob7f74f34233f6c9774749977f35dabefe861b5252
1                    ==============================
2                    Release Notes for Samba 4.4.10
3                             March 1, 2017
4                    ==============================
7 This is the latest stable release of Samba 4.4. Please note that this will
8 likely be the last maintenance release of the Samba 4.4 release branch.
10 Major enhancements in Samba 4.4.10 include:
12 o  Domain join broken under certain circumstances after winbindd changed the
13    trust password (bug #12262).
15 A new parameter "include system krb5 conf" has been added (bug #12441). Please
16 see the man page for details.
19 Changes since 4.4.9:
20 --------------------
22 o  Jeremy Allison <jra@samba.org>
23    * BUG 12479: s3: libsmb: Add cli_smb2_ftruncate(), plumb into
24      cli_ftruncate().
25    * BUG 12499: s3: vfs: dirsort doesn't handle opendir of "." correctly.
26    * BUG 12572: s3: smbd: Don't loop infinitely on bad-symlink resolution.
27    * BUG 12531: Make vfs_shadow_copy2 cope with server changing directories.
28    * BUG 12546: s3: VFS: vfs_streams_xattr.c: Make streams_xattr_open() store
29      the same path as streams_xattr_recheck().
31 o  Ralph Boehme <slow@samba.org>
32    * BUG 12536: s3/smbd: Check for invalid access_mask
33      smbd_calculate_access_mask().
34    * BUG 12541: vfs_fruit: checks wrong AAPL config state and so always uses
35      readdirattr.
36    * BUG 12545: s3/rpc_server/mdssvc: Add attribute "kMDItemContentType".
37    * BUG 12591: vfs_streams_xattr: Use fsp, not base_fsp.
39 o  David Disseldorp <ddiss@samba.org>
40    * BUG 12144: smbd/ioctl: Match WS2016 ReFS set compression behaviour.
42 o  Amitay Isaacs <amitay@gmail.com>
43    * BUG 12580: ctdb-common: Fix use-after-free error in comm_fd_handler().
45 o  Björn Jacke <bj@sernet.de>
46    * BUG 2210: pam: Map more NT password errors to PAM errors.
47    * BUG 12535: vfs_default: Unlock the right file in copy chunk.
49 o  Volker Lendecke <vl@samba.org>
50    * BUG 12509: messaging: Fix dead but not cleaned-up-yet destination sockets.
51    * BUG 12551: smbd: Fix "map acl inherit" = yes.
53 o  Stefan Metzmacher <metze@samba.org>
54    * BUG 11830: Domain member cannot resolve trusted domains' users.
55    * BUG 12262: Domain join broken under certain circumstances after winbindd
56      changed the trust password.
57    * BUG 12480: 'kinit' succeeded, but ads_sasl_spnego_gensec_bind(KRB5) failed: An
58      internal error occurred (with MIT krb5).
59    * BUG 12540: s3:smbd: allow "server min protocol = SMB3_00" to go via "SMB
60      2.???" negprot.
61    * BUG 12581: 'smbclient' fails on bad endianess when listing shares from
62      Solaris kernel SMB server on SPARC.
63    * BUG 12585: librpc/rpc: fix regression in
64      NT_STATUS_RPC_ENUM_VALUE_OUT_OF_RANGE error mapping.
65    * BUG 12586: netlogon_creds_cli_LogonSamLogon doesn't work without
66      netr_LogonSamLogonEx.
67    * BUG 12587: Fix winbindd child segfaults on connect to an NT4 domain.
68    * BUG 12588: cm_prepare_connection may return NT_STATUS_OK without a valid
69      connection.
70    * BUG 12598: winbindd (as member) requires kerberos against trusted ad domain,
71      while it shouldn't.
73 o  Andreas Schneider <asn@samba.org>
74    * BUG 12441: s3:libads: Include system /etc/krb5.conf if we use MIT Kerberos.
75    * BUG 12571: s3-vfs: Only walk the directory once in open_and_sort_dir().
77 o  Martin Schwenke <martin@meltin.net>
78    * BUG 12589: CTDB statd-callout does not cause grace period when
79      CTDB_NFS_CALLOUT="".
81 o  Uri Simchoni <uri@samba.org>
82    * BUG 12529: waf: Backport finding of pkg-config.
85 #######################################
86 Reporting bugs & Development Discussion
87 #######################################
89 Please discuss this release on the samba-technical mailing list or by
90 joining the #samba-technical IRC channel on irc.freenode.net.
92 If you do report problems then please try to send high quality
93 feedback. If you don't provide vital information to help us track down
94 the problem then you will probably be ignored.  All bug reports should
95 be filed under the "Samba 4.1 and newer" product in the project's Bugzilla
96 database (https://bugzilla.samba.org/).
99 ======================================================================
100 == Our Code, Our Bugs, Our Responsibility.
101 == The Samba Team
102 ======================================================================
105 Release notes for older releases follow:
106 ----------------------------------------
108                    =============================
109                    Release Notes for Samba 4.4.9
110                            January 2, 2017
111                    =============================
114 This is the latest stable release of Samba 4.4.
117 Changes since 4.4.8:
118 --------------------
120 o  Michael Adam <obnox@samba.org>
121    * BUG 12404: vfs:glusterfs: Preallocate result for glfs_realpath.
123 o  Jeremy Allison <jra@samba.org>
124    * BUG 12299: Fix unitialized variable warnings in smbd open.c and close.c.
125    * BUG 12387: s3: vfs: streams_depot. Use conn->connectpath not conn->cwd.
126    * BUG 12436: s3/smbd: Fix the last resort check that sets the file type
127      attribute.
129 o  Andrew Bartlett <abartlet@samba.org>
130    * BUG 12395: build: Fix build with perl on debian sid.
132 o  Ralph Boehme <slow@samba.org>
133    * BUG 12412: Fix typo in vfs_fruit: fruit:ressource -> fruit:resource.
135 o  Günther Deschner <gd@samba.org>
136    * BUG 11197: spoolss: Use correct values for secdesc and devmode pointers.
138 o  Amitay Isaacs <amitay@gmail.com>
139    * BUG 12366: provision: Add support for BIND 9.11.x.
140    * BUG 12392: ctdb-locking: Reset real-time priority in lock helper.
141    * BUG 12434: ctdb-recovery: Avoid NULL dereference in failure case.
143 o  Stefan Metzmacher <metze@samba.org>
144    * BUG 10297: s3:smbd: Only pass UCF_PREP_CREATEFILE to filename_convert() if
145      we may create a new file.
146    * BUG 12471: Fix build with MIT Kerberos.
148 o  Mathieu Parent <math.parent@gmail.com>
149    * BUG 12371: ctdb-scripts: Fix Debian init in Samba eventscript.
151 o  Andreas Schneider <asn@samba.org>
152    * BUG 12183: s3-printing: Correctly encode CUPS printer URIs.
153    * BUG 12195: s3-printing: Allow printer names longer than 16 chars.
154    * BUG 12269: nss_wins: Fix errno values for HOST_NOT_FOUND.
155    * BUG 12405: s3-winbind: Do not return NO_MEMORY if we have an empty user
156      list.
157    * BUG 12415: s3:spoolss: Add support for COPY_FROM_DIRECTORY in
158      AddPrinterDriverEx.
160 o  Martin Schwenke <martin@meltin.net>
161    * BUG 12104: ctdb-packaging: Move CTDB tests to /usr/local/share/ctdb/tests/.
163 o  Ralph Wuerthner <ralph.wuerthner@de.ibm.com>
164    * BUG 12372: ctdb-conn: Add missing variable initialization.
167 #######################################
168 Reporting bugs & Development Discussion
169 #######################################
171 Please discuss this release on the samba-technical mailing list or by
172 joining the #samba-technical IRC channel on irc.freenode.net.
174 If you do report problems then please try to send high quality
175 feedback. If you don't provide vital information to help us track down
176 the problem then you will probably be ignored.  All bug reports should
177 be filed under the "Samba 4.1 and newer" product in the project's Bugzilla
178 database (https://bugzilla.samba.org/).
181 ======================================================================
182 == Our Code, Our Bugs, Our Responsibility.
183 == The Samba Team
184 ======================================================================
187 ----------------------------------------------------------------------
190                    =============================
191                    Release Notes for Samba 4.4.8
192                          December 19, 2016
193                    =============================
196 This is a security release in order to address the following defects:
198 o  CVE-2016-2123 (Samba NDR Parsing ndr_pull_dnsp_name Heap-based Buffer
199    Overflow Remote Code Execution Vulnerability).
200 o  CVE-2016-2125 (Unconditional privilege delegation to Kerberos servers in
201    trusted realms).
202 o  CVE-2016-2126 (Flaws in Kerberos PAC validation can trigger privilege
203    elevation).
205 =======
206 Details
207 =======
209 o  CVE-2016-2123:
210    The Samba routine ndr_pull_dnsp_name contains an integer wrap problem,
211    leading to an attacker-controlled memory overwrite. ndr_pull_dnsp_name
212    parses data from the Samba Active Directory ldb database.  Any user
213    who can write to the dnsRecord attribute over LDAP can trigger this
214    memory corruption.
216    By default, all authenticated LDAP users can write to the dnsRecord
217    attribute on new DNS objects. This makes the defect a remote privilege
218    escalation.
220 o  CVE-2016-2125
221    Samba client code always requests a forwardable ticket
222    when using Kerberos authentication. This means the
223    target server, which must be in the current or trusted
224    domain/realm, is given a valid general purpose Kerberos
225    "Ticket Granting Ticket" (TGT), which can be used to
226    fully impersonate the authenticated user or service.
228 o  CVE-2016-2126
229    A remote, authenticated, attacker can cause the winbindd process
230    to crash using a legitimate Kerberos ticket due to incorrect
231    handling of the arcfour-hmac-md5 PAC checksum.
233    A local service with access to the winbindd privileged pipe can
234    cause winbindd to cache elevated access permissions.
237 Changes since 4.4.7:
238 --------------------
240 o  Volker Lendecke <vl@samba.org>
241    * BUG 12409: CVE-2016-2123: Fix DNS vuln ZDI-CAN-3995.
243 o  Stefan Metzmacher <metze@samba.org>
244    * BUG 12445: CVE-2016-2125: Don't send delegated credentials to all servers.
245    * BUG 12446: CVE-2016-2126: auth/kerberos: Only allow known checksum types in
246      check_pac_checksum().
249 #######################################
250 Reporting bugs & Development Discussion
251 #######################################
253 Please discuss this release on the samba-technical mailing list or by
254 joining the #samba-technical IRC channel on irc.freenode.net.
256 If you do report problems then please try to send high quality
257 feedback. If you don't provide vital information to help us track down
258 the problem then you will probably be ignored.  All bug reports should
259 be filed under the "Samba 4.1 and newer" product in the project's Bugzilla
260 database (https://bugzilla.samba.org/).
263 ======================================================================
264 == Our Code, Our Bugs, Our Responsibility.
265 == The Samba Team
266 ======================================================================
269 ----------------------------------------------------------------------
272                    =============================
273                    Release Notes for Samba 4.4.7
274                          October 26, 2016
275                    =============================
278 This is the latest stable release of Samba 4.4.
280 Major enhancements in Samba 4.4.7 include:
282 o  Let winbindd discard expired kerberos tickets when built against
283    (internal) heimdal (BUG #12369).
284 o  REGRESSION: smbd segfaults on startup, tevent context being freed
285    (BUG #12283).
288 Changes since 4.4.6:
289 --------------------
291 o  Jeremy Allison <jra@samba.org>
292    * BUG 11259: smbd contacts a domain controller for each session.
293    * BUG 12283: REGRESSION: smbd segfaults on startup, tevent context being
294      freed.
295    * BUG 12291: source3/lib/msghdr: Fix syntax error before or at: ;.
296    * BUG 12381: s3: cldap: cldap_multi_netlogon_send() fails with one bad IPv6
297      address.
299 o  Christian Ambach <ambi@samba.org>
300    * BUG 9945: Setting specific logger levels in smb.conf makes 'samba-tool drs
301      showrepl' crash.
303 o  Björn Baumbach <bb@sernet.de>
304    * BUG 8618: s3-printing: Fix migrate printer code.
306 o  Ralph Boehme <slow@samba.org>
307    * BUG 12261: s3/smbd: Set FILE_ATTRIBUTE_DIRECTORY as necessary.
309 o  Günther Deschner <gd@samba.org>
310    * BUG 12285: "DriverVersion" registry backend parsing incorrect in spoolss.
312 o  David Disseldorp <ddiss@samba.org>
313    * BUG 12144: smbd/ioctl: Match WS2016 ReFS get compression behaviour.
315 o  Amitay Isaacs <amitay@gmail.com>
316    * BUG 12287: CTDB PID file handling is too weak.
318 o  Volker Lendecke <vl@samba.org>
319    * BUG 12045: gencache: Bail out of stabilize if we can not get the allrecord
320      lock.
321    * BUG 12283: glusterfs: Avoid tevent_internal.h.
322    * BUG 12374: spoolss: Fix caching of printername->sharename.
324 o  Stefan Metzmacher <metze@samba.org>
325    * BUG 12283: REGRESSION: smbd segfaults on startup, tevent context being
326      freed.
327    * BUG 12369: Let winbindd discard expired kerberos tickets when built against
328      (internal) heimdal.
330 o  Noel Power <noel.power@suse.com>
331    * BUG 12298: s3/winbindd: Using default domain with user@domain.com format
332      fails.
334 o  Jose A. Rivera <jarrpa@samba.org>
335    * BUG 12362: ctdb-scripts: Avoid dividing by zero in memory calculation.
337 o  Anoop C S <anoopcs@redhat.com>
338    * BUG 12377: vfs_glusterfs: Fix a memory leak in connect path.
340 o  Andreas Schneider <asn@samba.org>
341    * BUG 12269: nss_wins has incorrect function definitions for gethostbyname*.
342    * BUG 12276: s3-lib: Fix %G substitution in AD member environment.
343    * BUG 12364: s3-utils: Fix loading smb.conf in smbcquotas.
345 o  Martin Schwenke <martin@meltin.net>
346    * BUG 12287: CTDB PID file handling is too weak.
347    * BUG 12362: ctdb-scripts: Fix incorrect variable reference.
350 #######################################
351 Reporting bugs & Development Discussion
352 #######################################
354 Please discuss this release on the samba-technical mailing list or by
355 joining the #samba-technical IRC channel on irc.freenode.net.
357 If you do report problems then please try to send high quality
358 feedback. If you don't provide vital information to help us track down
359 the problem then you will probably be ignored.  All bug reports should
360 be filed under the "Samba 4.1 and newer" product in the project's Bugzilla
361 database (https://bugzilla.samba.org/).
364 ======================================================================
365 == Our Code, Our Bugs, Our Responsibility.
366 == The Samba Team
367 ======================================================================
370 ----------------------------------------------------------------------
373                    =============================
374                    Release Notes for Samba 4.4.6
375                         September 22, 2016
376                    =============================
379 This is the latest stable release of Samba 4.4.
382 Changes since 4.4.5:
383 --------------------
385 o  Michael Adam <obnox@samba.org>
386    * BUG 11977: libnet: Ignore realm setting for domain security joins to AD
387      domains if 'winbind rpc only = true'.
388    * BUG 12155: idmap: Centrally check that unix IDs returned by the idmap
389      backends are in range.
391 o  Jeremy Allison <jra@samba.org>
392    * BUG 11838:  s4: ldb: Ignore case of "range" in sscanf as we've already
393      checked for its presence.
394    * BUG 11845: Incorrect bytecount in ReadAndX smb1 response.
395    * BUG 11955: lib: Fix uninitialized read in msghdr_copy.
396    * BUG 11959: s3: krb5: keytab - The done label can be jumped to with context
397      == NULL.
398    * BUG 11986: s3: libsmb: Correctly trim a trailing \\ character in
399      cli_smb2_create_fnum_send() when passing a pathname to SMB2 create.
400    * BUG 12021: Fix smbd crash (Signal 4) on File Delete.
401    * BUG 12135: libgpo: Correctly use the 'server' parameter after parsing it
402      out of the GPO path.
403    * BUG 12139: s3: oplock: Fix race condition when closing an oplocked file.
404    * BUG 12272: Fix messaging subsystem crash.
406 o  Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
407    * BUG 11750: gcc6 fails to build internal heimdal.
409 o  Andrew Bartlett <abartlet@samba.org>
410    * BUG 11991: build: Build less of Samba when building
411      '--without-ntvfs-fileserver'.
412    * BUG 12026: build: Always build eventlog6. This is not a duplicate of
413      eventlog.
414    * BUG 12154: ldb-samba: Add "secret" as a value to hide in LDIF files.
415    * BUG 12178: dbcheck: Abandon dbcheck if we get an error during a
416      transaction.
418 o  Ralph Boehme <slow@samba.org>
419    * BUG 10008: dbwrap_ctdb: Treat empty records in ltdb as non-existing.
420    * BUG 11520: Fix DNS secure updates.
421    * BUG 11961: idmap_autorid allocates ids for unknown SIDs from other
422      backends.
423    * BUG 11992: s3/smbd: Only use stored dos attributes for
424      open_match_attributes() check.
425    * BUG 12005: smbd: Ignore ctdb tombstone records in
426      fetch_share_mode_unlocked_parser().
427    * BUG 12016: cleanupd terminates main smbd on exit.
428    * BUG 12028: vfs_acl_xattr: Objects without NT ACL xattr.
429    * BUG 12105: async_req: Make async_connect_send() "reentrant".
430    * BUG 12177: vfs_acl_common: Fix unexpected synthesized default ACL from
431      vfs_acl_xattr.
432    * BUG 12181: vfs_acl_xattr|tdb: Enforced settings when
433      "ignore system acls = yes".
435 o  Alexander Bokovoy <ab@samba.org>
436    * BUG 11975: libnet_join: use sitename if it was set by pre-join detection.
438 o  Günther Deschner <gd@samba.org>
439    * BUG 11977: s3-libnet: Print error string even on successful completion of
440      libnetjoin.
442 o  Amitay Isaacs <amitay@gmail.com>
443    * BUG 11940: CTDB fails to recover large database.
444    * BUG 11941: CTDB does not ban misbehaving nodes during recovery.
445    * BUG 11946: Samba and CTDB packages both have tevent-unix-util dependency.
446    * BUG 11956: ctdb-recoverd: Avoid duplicate recoverd event in parallel
447      recovery.
448    * BUG 12158: CTDB release IP fixes.
449    * BUG 12259: ctdb-protocol: Fix marshalling for GET_DB_SEQNUM control
450      request.
451    * BUG 12271: CTDB recovery does not terminate if no node is banned due to
452      failure.
453    * BUG 12275: ctdb-recovery-helper: Add missing initialisation of ban_credits.
455 o  Volker Lendecke <vl@samba.org>
456    * BUG 12268: smbd: Reset O_NONBLOCK on open files.
458 o  Stefan Metzmacher <metze@samba.org>
459    * BUG 11948: dcerpc.idl: Remove unused DCERPC_NCACN_PAYLOAD_MAX_SIZE.
460    * BUG 11982: Invalid auth_pad_length is not ignored for BIND_* and ALTER_*
461      pdus.
462    * BUG 11994: gensec/spnego: Work around missing server mechListMIC in SMB
463      servers.
464    * BUG 12007: libads: Ensure the right ccache is used during spnego bind.
465    * BUG 12018: python/remove_dc: Handle dnsNode objects without dnsRecord
466      attribute.
467    * BUG 12129: samba-tool/ldapcmp: Ignore differences of whenChanged.
469 o  Marc Muehlfeld <mmuehlfeld@samba.org>
470    * BUG 12023: man: Wrong option for parameter ldap ssl in smb.conf man page.
472 o  Andreas Schneider <asn@samba.org>
473    * BUG 11936: libutil: Support systemd 230.
474    * BUG 11999: s3-winbind: Fix memory leak with each cached credential login.
475    * BUG 12104: ctdb-waf: Move ctdb tests to libexec directory.
476    * BUG 12175: s3-util: Fix asking for username and password in smbget.
478 o  Martin Schwenke <martin@meltin.net>
479    * BUG 12104: ctdb-packaging: Move ctdb tests to libexec directory.
480    * BUG 12110: ctdb-daemon: Fix several Coverity IDs.
481    * BUG 12158: CTDB release IP fixes.
482    * BUG 12161: Fix CTDB cumulative takeover timeout.
483    * BUG 12180: Fix CTDB crashes running eventscripts.
485 o  Uri Simchoni <uri@samba.org>
486    * BUG 12006: auth: Fix a memory leak in gssapi_get_session_key().
487    * BUG 12145: smbd: If inherit owner is enabled, the free disk on a folder
488      should take the owner's quota into account.
489    * BUG 12149: smbd: Allow reading files based on FILE_EXECUTE access right.
490    * BUG 12172: Fix access of snapshot folders via SMB1.
492 o  Lorinczy Zsigmond <lzsiga@freemail.c3.hu>
493    * BUG 11947: lib: replace: snprintf: Fix length calculation for hex/octal
494      64-bit values.
497 #######################################
498 Reporting bugs & Development Discussion
499 #######################################
501 Please discuss this release on the samba-technical mailing list or by
502 joining the #samba-technical IRC channel on irc.freenode.net.
504 If you do report problems then please try to send high quality
505 feedback. If you don't provide vital information to help us track down
506 the problem then you will probably be ignored.  All bug reports should
507 be filed under the "Samba 4.1 and newer" product in the project's Bugzilla
508 database (https://bugzilla.samba.org/).
511 ======================================================================
512 == Our Code, Our Bugs, Our Responsibility.
513 == The Samba Team
514 ======================================================================
517 ----------------------------------------------------------------------
520                    =============================
521                    Release Notes for Samba 4.4.5
522                            July 7, 2016
523                    =============================
526 This is a security release in order to address the following defect:
528 o  CVE-2016-2119 (Client side SMB2/3 required signing can be downgraded)
530 =======
531 Details
532 =======
534 o  CVE-2016-2119:
535    It's possible for an attacker to downgrade the required signing for
536    an SMB2/3 client connection, by injecting the SMB2_SESSION_FLAG_IS_GUEST
537    or SMB2_SESSION_FLAG_IS_NULL flags.
539    This means that the attacker can impersonate a server being connected to by
540    Samba, and return malicious results.
542    The primary concern is with winbindd, as it uses DCERPC over SMB2 when talking
543    to domain controllers as a member server, and trusted domains as a domain
544    controller.  These DCE/RPC connections were intended to protected by the
545    combination of "client ipc signing" and
546    "client ipc max protocol" in their effective default settings
547    ("mandatory" and "SMB3_11").
549    Additionally, management tools like net, samba-tool and rpcclient use DCERPC
550    over SMB2/3 connections.
552    By default, other tools in Samba are unprotected, but rarely they are
553    configured to use smb signing, via the "client signing" parameter (the default
554    is "if_required").  Even more rarely the "client max protocol" is set to SMB2,
555    rather than the NT1 default.
557    If both these conditions are met, then this issue would also apply to these
558    other tools, including command line tools like smbcacls, smbcquota, smbclient,
559    smbget and applications using libsmbclient.
562 Changes since 4.4.4:
563 --------------------
565 o  Stefan Metzmacher <metze@samba.org>
566    * BUG 11860: CVE-2016-2119: Fix client side SMB2 signing downgrade.
567    * BUG 11948: Total dcerpc response payload more than 0x400000.
570 #######################################
571 Reporting bugs & Development Discussion
572 #######################################
574 Please discuss this release on the samba-technical mailing list or by
575 joining the #samba-technical IRC channel on irc.freenode.net.
577 If you do report problems then please try to send high quality
578 feedback. If you don't provide vital information to help us track down
579 the problem then you will probably be ignored.  All bug reports should
580 be filed under the "Samba 4.1 and newer" product in the project's Bugzilla
581 database (https://bugzilla.samba.org/).
584 ======================================================================
585 == Our Code, Our Bugs, Our Responsibility.
586 == The Samba Team
587 ======================================================================
590 ----------------------------------------------------------------------
593                    =============================
594                    Release Notes for Samba 4.4.4
595                            June 7, 2016
596                    =============================
599 This is the latest stable release of Samba 4.4.
602 Changes since 4.4.3:
603 --------------------
605 o  Michael Adam <obnox@samba.org>
606    * BUG 11809: SMB3 multichannel: Add implementation of missing channel sequence
607      number verification.
608    * BUG 11919: smbd:close: Only remove kernel share modes if they had been
609      taken at open.
610    * BUG 11930: notifyd: Prevent NULL deref segfault in notifyd_peer_destructor.
612 o  Jeremy Allison <jra@samba.org>
613    * BUG 10618: s3: auth: Move the declaration of struct dom_sid tmp_sid to
614      function level scope.
616 o  Christian Ambach <ambi@samba.org>
617    * BUG 10796: s3:rpcclient: Make '--pw-nt-hash' option work.
618    * BUG 11354: s3:libsmb/clifile: Use correct value for MaxParameterCount for
619      setting EAs.
620    * BUG 11438: Fix case sensitivity issues over SMB2 or above.
622 o  Ralph Boehme <slow@samba.org>
623    * BUG 1703: s3:libnet:libnet_join: Add netbios aliases as SPNs.
624    * BUG 11721: vfs_fruit: Add an option that allows disabling POSIX rename
625      behaviour.
627 o  Alexander Bokovoy <ab@samba.org>
628    * BUG 11936: s3-smbd: Support systemd 230.
630 o  Ira Cooper <ira@samba.org>
631    * BUG 11907: source3: Honor the core soft limit of the OS.
633 o  Günther Deschner <gd@samba.org>
634    * BUG 11809: SMB3 multichannel: Add implementation of missing channel sequence
635      number verification.
636    * BUG 11864: s3:client:smbspool_krb5_wrapper: Fix the non clearenv build.
637    * BUG 11906: s3-kerberos: Avoid entering a password change dialogue also when
638      using MIT.
640 o  Robin Hack <hack.robin@gmail.com>
641    * BUG 11890: ldb-samba/ldb_matching_rules: Fix CID 1349424 - Uninitialized
642      pointer read.
644 o  Volker Lendecke <vl@samba.org>
645    * BUG 11844: dbwrap_ctdb: Fix ENOENT->NT_STATUS_NOT_FOUND.
647 o  Robin McCorkell <robin@mccorkell.me.uk>
648    * BUG 11276: Correctly set cli->raw_status for libsmbclient in SMB2 code.
650 o  Stefan Metzmacher <metze@samba.org>
651    * BUG 11910: s3:smbd: Fix anonymous authentication if signing is mandatory.
652    * BUG 11912: libcli/auth: Let msrpc_parse() return talloc'ed empty strings.
653    * BUG 11914: Fix NTLM Authentication issue with squid.
654    * BUG 11927: s3:rpcclient: make use of SMB_SIGNING_IPC_DEFAULT.
656 o  Luca Olivetti <luca@wetron.es>
657    * BUG 11530: pdb: Fix segfault in pdb_ldap for missing gecos.
659 o  Rowland Penny <rpenny@samba.org>
660    * BUG 11613: Allow 'samba-tool fsmo' to cope with empty or missing fsmo
661      roles.
663 o  Anoop C S <anoopcs@redhat.com>
664    * BUG 11907: packaging: Set default limit for core file size in service
665      files.
667 o  Andreas Schneider <asn@samba.org>
668    * BUG 11922: s3-net: Convert the key_name to UTF8 during migration.
669    * BUG 11935: s3-smbspool: Log to stderr.
671 o  Uri Simchoni <uri@samba.org>
672    * BUG 11900: heimdal: Encode/decode kvno as signed integer.
673    * BUG 11931: s3-quotas: Fix sysquotas_4B quota fetching for BSD.
674    * BUG 11937: smbd: dfree: Ignore quota if not enforced.
676 o  Raghavendra Talur <rtalur@redhat.com>
677    * BUG 11907: init: Set core file size to unlimited by default.
679 o  Hemanth Thummala <hemanth.thummala@nutanix.com>
680    * BUG 11934: Fix memory leak in share mode locking.
683 #######################################
684 Reporting bugs & Development Discussion
685 #######################################
687 Please discuss this release on the samba-technical mailing list or by
688 joining the #samba-technical IRC channel on irc.freenode.net.
690 If you do report problems then please try to send high quality
691 feedback. If you don't provide vital information to help us track down
692 the problem then you will probably be ignored.  All bug reports should
693 be filed under the "Samba 4.1 and newer" product in the project's Bugzilla
694 database (https://bugzilla.samba.org/).
697 ======================================================================
698 == Our Code, Our Bugs, Our Responsibility.
699 == The Samba Team
700 ======================================================================
703 ----------------------------------------------------------------------
706                    =============================
707                    Release Notes for Samba 4.4.3
708                            May 2, 2016
709                    =============================
712 This is the latest stable release of Samba 4.4.
714 This release fixes some regressions introduced by the last security fixes.
715 Please see bug https://bugzilla.samba.org/show_bug.cgi?id=11849 for a list of
716 bugs addressing these regressions and more information.
719 Changes since 4.4.2:
720 --------------------
722 o  Michael Adam <obnox@samba.org>
723    * BUG 11786: idmap_hash: Only allow the hash module for default idmap config.
725 o  Jeremy Allison <jra@samba.org>
726    * BUG 11822: s3: libsmb: Fix error where short name length was read as 2
727      bytes, should be 1.
729 o  Andrew Bartlett <abartlet@samba.org>
730    * BUG 11789: Fix returning of ldb.MessageElement.
732 o  Ralph Boehme <slow@samba.org>
733    * BUG 11855: cleanupd: Restart as needed.
735 o  Günther Deschner <gd@samba.org>
736    * BUG 11786: s3:winbindd:idmap: check loadparm in domain_has_idmap_config()
737      helper as well.
738    * BUG 11789: libsmb/pysmb: Add pytalloc-util dependency to fix the build.
740 o  Volker Lendecke <vl@samba.org>
741    * BUG 11786: winbind: Fix CID 1357100: Unchecked return value.
742    * BUG 11816: nwrap: Fix the build on Solaris.
743    * BUG 11827: vfs_catia: Fix memleak.
744    * BUG 11878: smbd: Avoid large reads beyond EOF.
746 o  Stefan Metzmacher <metze@samba.org>
747    * BUG 11789: s3:wscript: pylibsmb depends on pycredentials.
748    * BUG 11841: Fix NT_STATUS_ACCESS_DENIED when accessing Windows public share.
749    * BUG 11847: Only validate MIC if "map to guest" is not being used.
750    * BUG 11849: auth/ntlmssp: Add ntlmssp_{client,server}:force_old_spnego
751      option for testing.
752    * BUG 11850: NetAPP SMB servers don't negotiate NTLMSSP_SIGN.
753    * BUG 11858: Allow anonymous smb connections.
754    * BUG 11870: Fix ads_sasl_spnego_gensec_bind(KRB5).
755    * BUG 11872: Fix 'wbinfo -u' and 'net ads search'.
757 o  Tom Mortensen <tomm@lime-technology.com>
758    * BUG 11875: nss_wins: Fix the hostent setup.
760 o  Garming Sam <garming@catalyst.net.nz>
761    * BUG 11789: build: Mark explicit dependencies on pytalloc-util.
763 o  Partha Sarathi <partha@exablox.com>
764    * BUG 11819: Fix the smb2_setinfo to handle FS info types and FSQUOTA
765      infolevel.
767 o  Jorge Schrauwen <sjorge@blackdot.be>
768    * BUG 11816: configure: Don't check for inotify on illumos.
770 o  Uri Simchoni <uri@samba.org>
771    * BUG 11806: vfs_acl_common: Avoid setting POSIX ACLs if "ignore system acls"
772      is set.
773    * BUG 11815: smbcquotas: print "NO LIMIT" only if returned quota value is 0.
774    * BUG 11852: libads: Record session expiry for spnego sasl binds.
776 o  Hemanth Thummala <hemanth.thummala@nutanix.com>
777    * BUG 11840: Mask general purpose signals for notifyd.
780 #######################################
781 Reporting bugs & Development Discussion
782 #######################################
784 Please discuss this release on the samba-technical mailing list or by
785 joining the #samba-technical IRC channel on irc.freenode.net.
787 If you do report problems then please try to send high quality
788 feedback. If you don't provide vital information to help us track down
789 the problem then you will probably be ignored.  All bug reports should
790 be filed under the "Samba 4.1 and newer" product in the project's Bugzilla
791 database (https://bugzilla.samba.org/).
794 ======================================================================
795 == Our Code, Our Bugs, Our Responsibility.
796 == The Samba Team
797 ======================================================================
800 ----------------------------------------------------------------------
803                    =============================
804                    Release Notes for Samba 4.4.2
805                            April 12, 2016
806                    =============================
808 This is a security release containing one additional
809 regression fix for the security release 4.4.1.
811 This fixes a regression that prevents things like 'net ads join'
812 from working against a Windows 2003 domain.
814 Changes since 4.4.1:
815 ====================
817 o  Stefan Metzmacher <metze@samba.org>
818    * Bug 11804 - prerequisite backports for the security release on
819      April 12th, 2016
822 -----------------------------------------------------------------------
825                    =============================
826                    Release Notes for Samba 4.4.1
827                            April 12, 2016
828                    =============================
831 This is a security release in order to address the following CVEs:
833 o  CVE-2015-5370 (Multiple errors in DCE-RPC code)
835 o  CVE-2016-2110 (Man in the middle attacks possible with NTLMSSP)
837 o  CVE-2016-2111 (NETLOGON Spoofing Vulnerability)
839 o  CVE-2016-2112 (LDAP client and server don't enforce integrity)
841 o  CVE-2016-2113 (Missing TLS certificate validation)
843 o  CVE-2016-2114 ("server signing = mandatory" not enforced)
845 o  CVE-2016-2115 (SMB IPC traffic is not integrity protected)
847 o  CVE-2016-2118 (SAMR and LSA man in the middle attacks possible)
849 The number of changes are rather huge for a security release,
850 compared to typical security releases.
852 Given the number of problems and the fact that they are all related
853 to man in the middle attacks we decided to fix them all at once
854 instead of splitting them.
856 In order to prevent the man in the middle attacks it was required
857 to change the (default) behavior for some protocols. Please see the
858 "New smb.conf options" and "Behavior changes" sections below.
860 =======
861 Details
862 =======
864 o  CVE-2015-5370
866    Versions of Samba from 3.6.0 to 4.4.0 inclusive are vulnerable to
867    denial of service attacks (crashes and high cpu consumption)
868    in the DCE-RPC client and server implementations. In addition,
869    errors in validation of the DCE-RPC packets can lead to a downgrade
870    of a secure connection to an insecure one.
872    While we think it is unlikely, there's a nonzero chance for
873    a remote code execution attack against the client components,
874    which are used by smbd, winbindd and tools like net, rpcclient and
875    others. This may gain root access to the attacker.
877    The above applies all possible server roles Samba can operate in.
879    Note that versions before 3.6.0 had completely different marshalling
880    functions for the generic DCE-RPC layer. It's quite possible that
881    that code has similar problems!
883    The downgrade of a secure connection to an insecure one may
884    allow an attacker to take control of Active Directory object
885    handles created on a connection created from an Administrator
886    account and re-use them on the now non-privileged connection,
887    compromising the security of the Samba AD-DC.
889 o  CVE-2016-2110:
891    There are several man in the middle attacks possible with
892    NTLMSSP authentication.
894    E.g. NTLMSSP_NEGOTIATE_SIGN and NTLMSSP_NEGOTIATE_SEAL
895    can be cleared by a man in the middle.
897    This was by protocol design in earlier Windows versions.
899    Windows Server 2003 RTM and Vista RTM introduced a way
900    to protect against the trivial downgrade.
902    See MsvAvFlags and flag 0x00000002 in
903    https://msdn.microsoft.com/en-us/library/cc236646.aspx
905    This new feature also implies support for a mechlistMIC
906    when used within SPNEGO, which may prevent downgrades
907    from other SPNEGO mechs, e.g. Kerberos, if sign or
908    seal is finally negotiated.
910    The Samba implementation doesn't enforce the existence of
911    required flags, which were requested by the application layer,
912    e.g. LDAP or SMB1 encryption (via the unix extensions).
913    As a result a man in the middle can take over the connection.
914    It is also possible to misguide client and/or
915    server to send unencrypted traffic even if encryption
916    was explicitly requested.
918    LDAP (with NTLMSSP authentication) is used as a client
919    by various admin tools of the Samba project,
920    e.g. "net", "samba-tool", "ldbsearch", "ldbedit", ...
922    As an active directory member server LDAP is also used
923    by the winbindd service when connecting to domain controllers.
925    Samba also offers an LDAP server when running as
926    active directory domain controller.
928    The NTLMSSP authentication used by the SMB1 encryption
929    is protected by smb signing, see CVE-2015-5296.
931 o  CVE-2016-2111:
933    It's basically the same as CVE-2015-0005 for Windows:
935      The NETLOGON service in Microsoft Windows Server 2003 SP2,
936      Windows Server 2008 SP2 and R2 SP1, and Windows Server 2012 Gold
937      and R2, when a Domain Controller is configured, allows remote
938      attackers to spoof the computer name of a secure channel's
939      endpoint, and obtain sensitive session information, by running a
940      crafted application and leveraging the ability to sniff network
941      traffic, aka "NETLOGON Spoofing Vulnerability".
943    The vulnerability in Samba is worse as it doesn't require
944    credentials of a computer account in the domain.
946    This only applies to Samba running as classic primary domain controller,
947    classic backup domain controller or active directory domain controller.
949    The security patches introduce a new option called "raw NTLMv2 auth"
950    ("yes" or "no") for the [global] section in smb.conf.
951    Samba (the smbd process) will reject client using raw NTLMv2
952    without using NTLMSSP.
954    Note that this option also applies to Samba running as
955    standalone server and member server.
957    You should also consider using "lanman auth = no" (which is already the default)
958    and "ntlm auth = no". Have a look at the smb.conf manpage for further details,
959    as they might impact compatibility with older clients. These also
960    apply for all server roles.
962 o  CVE-2016-2112:
964    Samba uses various LDAP client libraries, a builtin one and/or the system
965    ldap libraries (typically openldap).
967    As active directory domain controller Samba also provides an LDAP server.
969    Samba takes care of doing SASL (GSS-SPNEGO) authentication with Kerberos or NTLMSSP
970    for LDAP connections, including possible integrity (sign) and privacy (seal)
971    protection.
973    Samba has support for an option called "client ldap sasl wrapping" since version
974    3.2.0. Its default value has changed from "plain" to "sign" with version 4.2.0.
976    Tools using the builtin LDAP client library do not obey the
977    "client ldap sasl wrapping" option. This applies to tools like:
978    "samba-tool", "ldbsearch", "ldbedit" and more. Some of them have command line
979    options like "--sign" and "--encrypt". With the security update they will
980    also obey the "client ldap sasl wrapping" option as default.
982    In all cases, even if explicitly request via "client ldap sasl wrapping",
983    "--sign" or "--encrypt", the protection can be downgraded by a man in the
984    middle.
986    The LDAP server doesn't have an option to enforce strong authentication
987    yet. The security patches will introduce a new option called
988    "ldap server require strong auth", possible values are "no",
989    "allow_sasl_over_tls" and "yes".
991    As the default behavior was as "no" before, you may
992    have to explicitly change this option until all clients have
993    been adjusted to handle LDAP_STRONG_AUTH_REQUIRED errors.
994    Windows clients and Samba member servers already use
995    integrity protection.
997 o  CVE-2016-2113:
999    Samba has support for TLS/SSL for some protocols:
1000    ldap and http, but currently certificates are not
1001    validated at all. While we have a "tls cafile" option,
1002    the configured certificate is not used to validate
1003    the server certificate.
1005    This applies to ldaps:// connections triggered by tools like:
1006    "ldbsearch", "ldbedit" and more. Note that it only applies
1007    to the ldb tools when they are built as part of Samba or with Samba
1008    extensions installed, which means the Samba builtin LDAP client library is
1009    used.
1011    It also applies to dcerpc client connections using ncacn_http (with https://),
1012    which are only used by the openchange project. Support for ncacn_http
1013    was introduced in version 4.2.0.
1015    The security patches will introduce a new option called
1016    "tls verify peer". Possible values are "no_check", "ca_only",
1017    "ca_and_name_if_available", "ca_and_name" and "as_strict_as_possible".
1019    If you use the self-signed certificates which are auto-generated
1020    by Samba, you won't have a crl file and need to explicitly
1021    set "tls verify peer = ca_and_name".
1023 o  CVE-2016-2114
1025    Due to a regression introduced in Samba 4.0.0,
1026    an explicit "server signing = mandatory" in the [global] section
1027    of the smb.conf was not enforced for clients using the SMB1 protocol.
1029    As a result it does not enforce smb signing and allows man in the middle attacks.
1031    This problem applies to all possible server roles:
1032    standalone server, member server, classic primary domain controller,
1033    classic backup domain controller and active directory domain controller.
1035    In addition, when Samba is configured with "server role = active directory domain controller"
1036    the effective default for the "server signing" option should be "mandatory".
1038    During the early development of Samba 4 we had a new experimental
1039    file server located under source4/smb_server. But before
1040    the final 4.0.0 release we switched back to the file server
1041    under source3/smbd.
1043    But the logic for the correct default of "server signing" was not
1044    ported correctly ported.
1046    Note that the default for server roles other than active directory domain
1047    controller, is "off" because of performance reasons.
1049 o  CVE-2016-2115:
1051    Samba has an option called "client signing", this is turned off by default
1052    for performance reasons on file transfers.
1054    This option is also used when using DCERPC with ncacn_np.
1056    In order to get integrity protection for ipc related communication
1057    by default the "client ipc signing" option is introduced.
1058    The effective default for this new option is "mandatory".
1060    In order to be compatible with more SMB server implementations,
1061    the following additional options are introduced:
1062    "client ipc min protocol" ("NT1" by default) and
1063    "client ipc max protocol" (the highest support SMB2/3 dialect by default).
1064    These options overwrite the "client min protocol" and "client max protocol"
1065    options, because the default for "client max protocol" is still "NT1".
1066    The reason for this is the fact that all SMB2/3 support SMB signing,
1067    while there are still SMB1 implementations which don't offer SMB signing
1068    by default (this includes Samba versions before 4.0.0).
1070    Note that winbindd (in versions 4.2.0 and higher) enforces SMB signing
1071    against active directory domain controllers despite of the
1072    "client signing" and "client ipc signing" options.
1074 o  CVE-2016-2118 (a.k.a. BADLOCK):
1076    The Security Account Manager Remote Protocol [MS-SAMR] and the
1077    Local Security Authority (Domain Policy) Remote Protocol [MS-LSAD]
1078    are both vulnerable to man in the middle attacks. Both are application level
1079    protocols based on the generic DCE 1.1 Remote Procedure Call (DCERPC) protocol.
1081    These protocols are typically available on all Windows installations
1082    as well as every Samba server. They are used to maintain
1083    the Security Account Manager Database. This applies to all
1084    roles, e.g. standalone, domain member, domain controller.
1086    Any authenticated DCERPC connection a client initiates against a server
1087    can be used by a man in the middle to impersonate the authenticated user
1088    against the SAMR or LSAD service on the server.
1090    The client chosen application protocol, auth type (e.g. Kerberos or NTLMSSP)
1091    and auth level (NONE, CONNECT, PKT_INTEGRITY, PKT_PRIVACY) do not matter
1092    in this case. A man in the middle can change auth level to CONNECT
1093    (which means authentication without message protection) and take over
1094    the connection.
1096    As a result, a man in the middle is able to get read/write access to the
1097    Security Account Manager Database, which reveals all passwords
1098    and any other potential sensitive information.
1100    Samba running as an active directory domain controller is additionally
1101    missing checks to enforce PKT_PRIVACY for the
1102    Directory Replication Service Remote Protocol [MS-DRSR] (drsuapi)
1103    and the BackupKey Remote Protocol [MS-BKRP] (backupkey).
1104    The Domain Name Service Server Management Protocol [MS-DNSP] (dnsserver)
1105    is not enforcing at least PKT_INTEGRITY.
1107 ====================
1108 New smb.conf options
1109 ====================
1111   allow dcerpc auth level connect (G)
1113     This option controls whether DCERPC services are allowed to be used with
1114     DCERPC_AUTH_LEVEL_CONNECT, which provides authentication, but no per
1115     message integrity nor privacy protection.
1117     Some interfaces like samr, lsarpc and netlogon have a hard-coded default
1118     of no and epmapper, mgmt and rpcecho have a hard-coded default of yes.
1120     The behavior can be overwritten per interface name (e.g. lsarpc,
1121     netlogon, samr, srvsvc, winreg, wkssvc ...) by using
1122     'allow dcerpc auth level connect:interface = yes' as option.
1124     This option yields precedence to the implementation specific restrictions.
1125     E.g. the drsuapi and backupkey protocols require DCERPC_AUTH_LEVEL_PRIVACY.
1126     The dnsserver protocol requires DCERPC_AUTH_LEVEL_INTEGRITY.
1128     Default: allow dcerpc auth level connect = no
1130     Example: allow dcerpc auth level connect = yes
1132   client ipc signing (G)
1134     This controls whether the client is allowed or required to use
1135     SMB signing for IPC$ connections as DCERPC transport. Possible
1136     values are auto, mandatory and disabled.
1138     When set to mandatory or default, SMB signing is required.
1140     When set to auto, SMB signing is offered, but not enforced and
1141     if set to disabled, SMB signing is not offered either.
1143     Connections from winbindd to Active Directory Domain Controllers
1144     always enforce signing.
1146     Default: client ipc signing = default
1148   client ipc max protocol (G)
1150     The value of the parameter (a string) is the highest protocol level that will
1151     be supported for IPC$ connections as DCERPC transport.
1153     Normally this option should not be set as the automatic negotiation phase
1154     in the SMB protocol takes care of choosing the appropriate protocol.
1156     The value default refers to the latest supported protocol, currently SMB3_11.
1158     See client max protocol for a full list of available protocols.
1159     The values CORE, COREPLUS, LANMAN1, LANMAN2 are silently upgraded to NT1.
1161     Default: client ipc max protocol = default
1163     Example: client ipc max protocol = SMB2_10
1165   client ipc min protocol (G)
1167     This setting controls the minimum protocol version that the will be
1168     attempted to use for IPC$ connections as DCERPC transport.
1170     Normally this option should not be set as the automatic negotiation phase
1171     in the SMB protocol takes care of choosing the appropriate protocol.
1173     The value default refers to the higher value of NT1 and the
1174     effective value of "client min protocol".
1176     See client max protocol for a full list of available protocols.
1177     The values CORE, COREPLUS, LANMAN1, LANMAN2 are silently upgraded to NT1.
1179     Default: client ipc min protocol = default
1181     Example: client ipc min protocol = SMB3_11
1183   ldap server require strong auth (G)
1185     The ldap server require strong auth defines whether the
1186     ldap server requires ldap traffic to be signed or
1187     signed and encrypted (sealed). Possible values are no,
1188     allow_sasl_over_tls and yes.
1190     A value of no allows simple and sasl binds over all transports.
1192     A value of allow_sasl_over_tls allows simple and sasl binds (without sign or seal)
1193     over TLS encrypted connections. Unencrypted connections only
1194     allow sasl binds with sign or seal.
1196     A value of yes allows only simple binds over TLS encrypted connections.
1197     Unencrypted connections only allow sasl binds with sign or seal.
1199     Default: ldap server require strong auth = yes
1201   raw NTLMv2 auth (G)
1203     This parameter determines whether or not smbd(8) will allow SMB1 clients
1204     without extended security (without SPNEGO) to use NTLMv2 authentication.
1206     If this option, lanman auth and ntlm auth are all disabled, then only
1207     clients with SPNEGO support will be permitted. That means NTLMv2 is only
1208     supported within NTLMSSP.
1210     Default: raw NTLMv2 auth = no
1212   tls verify peer (G)
1214     This controls if and how strict the client will verify the peer's
1215     certificate and name. Possible values are (in increasing order): no_check,
1216     ca_only, ca_and_name_if_available, ca_and_name and as_strict_as_possible.
1218     When set to no_check the certificate is not verified at all,
1219     which allows trivial man in the middle attacks.
1221     When set to ca_only the certificate is verified to be signed from a ca
1222     specified in the "tls ca file" option. Setting "tls ca file" to a valid file
1223     is required. The certificate lifetime is also verified. If the "tls crl file"
1224     option is configured, the certificate is also verified against
1225     the ca crl.
1227     When set to ca_and_name_if_available all checks from ca_only are performed.
1228     In addition, the peer hostname is verified against the certificate's
1229     name, if it is provided by the application layer and not given as
1230     an ip address string.
1232     When set to ca_and_name all checks from ca_and_name_if_available are performed.
1233     In addition the peer hostname needs to be provided and even an ip
1234     address is checked against the certificate's name.
1236     When set to as_strict_as_possible all checks from ca_and_name are performed.
1237     In addition the "tls crl file" needs to be configured. Future versions
1238     of Samba may implement additional checks.
1240     Default: tls verify peer = as_strict_as_possible
1242   tls priority (G) (backported from Samba 4.3 to Samba 4.2)
1244     This option can be set to a string describing the TLS protocols to be
1245     supported in the parts of Samba that use GnuTLS, specifically the AD DC.
1247     The default turns off SSLv3, as this protocol is no longer considered
1248     secure after CVE-2014-3566 (otherwise known as POODLE) impacted SSLv3 use
1249     in HTTPS applications.
1251     The valid options are described in the GNUTLS Priority-Strings
1252     documentation at http://gnutls.org/manual/html_node/Priority-Strings.html
1254     Default: tls priority = NORMAL:-VERS-SSL3.0
1256 ================
1257 Behavior changes
1258 ================
1260 o  The default auth level for authenticated binds has changed from
1261    DCERPC_AUTH_LEVEL_CONNECT to DCERPC_AUTH_LEVEL_INTEGRITY.
1262    That means ncacn_ip_tcp:server is now implicitly the same
1263    as ncacn_ip_tcp:server[sign] and offers a similar protection
1264    as ncacn_np:server, which relies on smb signing.
1266 o  The following constraints are applied to SMB1 connections:
1268    - "client lanman auth = yes" is now consistently
1269      required for authenticated connections using the
1270      SMB1 LANMAN2 dialect.
1271    - "client ntlmv2 auth = yes" and "client use spnego = yes"
1272      (both the default values), require extended security (SPNEGO)
1273      support from the server. That means NTLMv2 is only used within
1274      NTLMSSP.
1276 o  Tools like "samba-tool", "ldbsearch", "ldbedit" and more obey the
1277    default of "client ldap sasl wrapping = sign". Even with
1278    "client ldap sasl wrapping = plain" they will automatically upgrade
1279    to "sign" when getting LDAP_STRONG_AUTH_REQUIRED from the LDAP
1280    server.
1282 Changes since 4.4.0:
1283 ====================
1285 o  Jeremy Allison <jra@samba.org>
1286    * Bug 11344 - CVE-2015-5370: Multiple errors in DCE-RPC code.
1288 o  Christian Ambach <ambi@samba.org>
1289    * Bug 11804 - prerequisite backports for the security release on
1290      April 12th, 2016.
1292 o  Ralph Boehme <slow@samba.org>
1293    * Bug 11644 - CVE-2016-2112: The LDAP client and server don't enforce
1294      integrity protection.
1296 o  Günther Deschner <gd@samba.org>
1297    * Bug 11749 - CVE-2016-2111: NETLOGON Spoofing Vulnerability.
1299    * Bug 11804 - prerequisite backports for the security release on
1300      April 12th, 2016.
1302 o  Volker Lendecke <vl@samba.org>
1303    * Bug 11804 - prerequisite backports for the security release on
1304      April 12th, 2016.
1306 o  Stefan Metzmacher <metze@samba.org>
1307    * Bug 11344 - CVE-2015-5370: Multiple errors in DCE-RPC code.
1309    * Bug 11616 - CVE-2016-2118: SAMR and LSA man in the middle attacks possible.
1311    * Bug 11644 - CVE-2016-2112: The LDAP client and server doesn't enforce
1312      integrity protection.
1314    * Bug 11687 - CVE-2016-2114: "server signing = mandatory" not enforced.
1316    * Bug 11688 - CVE-2016-2110: Man in the middle attacks possible with NTLMSSP.
1318    * Bug 11749 - CVE-2016-2111: NETLOGON Spoofing Vulnerability.
1320    * Bug 11752 - CVE-2016-2113: Missing TLS certificate validation allows man in
1321      the middle attacks.
1323    * Bug 11756 - CVE-2016-2115: SMB client connections for IPC traffic are not
1324      integrity protected.
1326    * Bug 11804 - prerequisite backports for the security release on
1327      April 12th, 2016.
1330 #######################################
1331 Reporting bugs & Development Discussion
1332 #######################################
1334 Please discuss this release on the samba-technical mailing list or by
1335 joining the #samba-technical IRC channel on irc.freenode.net.
1337 If you do report problems then please try to send high quality
1338 feedback. If you don't provide vital information to help us track down
1339 the problem then you will probably be ignored.  All bug reports should
1340 be filed under the "Samba 4.1 and newer" product in the project's Bugzilla
1341 database (https://bugzilla.samba.org/).
1344 ======================================================================
1345 == Our Code, Our Bugs, Our Responsibility.
1346 == The Samba Team
1347 ======================================================================
1350 ----------------------------------------------------------------------
1353                    =============================
1354                    Release Notes for Samba 4.4.0
1355                            March 22, 2016
1356                    =============================
1359 This is the first stable release of the Samba 4.4 release series.
1362 UPGRADING
1363 =========
1365 Nothing special.
1368 NEW FEATURES/CHANGES
1369 ====================
1371 Asynchronous flush requests
1372 ---------------------------
1374 Flush requests from SMB2/3 clients are handled asynchronously and do
1375 not block the processing of other requests. Note that 'strict sync'
1376 has to be set to 'yes' for Samba to honor flush requests from SMB
1377 clients.
1379 s3: smbd
1380 --------
1382 Remove '--with-aio-support' configure option. We no longer would ever prefer
1383 POSIX-RT aio, use pthread_aio instead.
1385 samba-tool sites
1386 ----------------
1388 The 'samba-tool sites' subcommand can now be run against another server by
1389 specifying an LDB URL using the '-H' option and not against the local database
1390 only (which is still the default when no URL is given).
1392 samba-tool domain demote
1393 ------------------------
1395 Add '--remove-other-dead-server' option to 'samba-tool domain demote'
1396 subcommand. The new version of this tool now can remove another DC that is
1397 itself offline.  The '--remove-other-dead-server' removes as many references
1398 to the DC as possible.
1400 samba-tool drs clone-dc-database
1401 --------------------------------
1403 Replicate an initial clone of domain, but do not join it.
1404 This is developed for debugging purposes, but not for setting up another DC.
1406 pdbedit
1407 -------
1409 Add '--set-nt-hash' option to pdbedit to update user password from nt-hash
1410 hexstring. 'pdbedit -vw' shows also password hashes.
1412 smbstatus
1413 ---------
1415 'smbstatus' was enhanced to show the state of signing and encryption for
1416 sessions and shares.
1418 smbget
1419 ------
1420 The -u and -p options for user and password were replaced by the -U option that
1421 accepts username[%password] as in many other tools of the Samba suite.
1422 Similary, smbgetrc files do not accept username and password options any more,
1423 only a single "user" option which also accepts user%password combinations.
1424 The -P option was removed.
1426 s4-rpc_server
1427 -------------
1429 Add a GnuTLS based backupkey implementation.
1431 ntlm_auth
1432 ---------
1434 Using the '--offline-logon' enables ntlm_auth to use cached passwords when the
1435 DC is offline.
1437 Allow '--password' force a local password check for ntlm-server-1 mode.
1439 vfs_offline
1440 -----------
1442 A new VFS module called vfs_offline has been added to mark all files in the
1443 share as offline. It can be useful for shares mounted on top of a remote file
1444 system (either through a samba VFS module or via FUSE).
1449 The Samba KCC has been improved, but is still disabled by default.
1454 There were several improvements concerning the Samba DNS server.
1456 Active Directory
1457 ----------------
1459 There were some improvements in the Active Directory area.
1461 WINS nsswitch module
1462 --------------------
1464 The WINS nsswitch module has been rewritten to address memory issues and to
1465 simplify the code. The module now uses libwbclient to do WINS queries. This
1466 means that winbind needs to be running in order to resolve WINS names using
1467 the nss_wins module. This does not affect smbd.
1469 CTDB changes
1470 ------------
1472 * CTDB now uses a newly implemented parallel database recovery scheme
1473   that avoids deadlocks with smbd.
1475   In certain circumstances CTDB and smbd could deadlock.  The new
1476   recovery implementation avoid this.  It also provides improved
1477   recovery performance.
1479 * All files are now installed into and referred to by the paths
1480   configured at build time.  Therefore, CTDB will now work properly
1481   when installed into the default location at /usr/local.
1483 * Public CTDB header files are no longer installed, since Samba and
1484   CTDB are built from within the same source tree.
1486 * CTDB_DBDIR can now be set to tmpfs[:<tmpfs-options>]
1488   This will cause volatile TDBs to be located in a tmpfs.  This can
1489   help to avoid performance problems associated with contention on the
1490   disk where volatile TDBs are usually stored.  See ctdbd.conf(5) for
1491   more details.
1493 * Configuration variable CTDB_NATGW_SLAVE_ONLY is no longer used.
1494   Instead, nodes should be annotated with the "slave-only" option in
1495   the CTDB NAT gateway nodes file.  This file must be consistent
1496   across nodes in a NAT gateway group.  See ctdbd.conf(5) for more
1497   details.
1499 * New event script 05.system allows various system resources to be
1500   monitored
1502   This can be helpful for explaining poor performance or unexpected
1503   behaviour.  New configuration variables are
1504   CTDB_MONITOR_FILESYSTEM_USAGE, CTDB_MONITOR_MEMORY_USAGE and
1505   CTDB_MONITOR_SWAP_USAGE.  Default values cause warnings to be
1506   logged.  See the SYSTEM RESOURCE MONITORING CONFIGURATION in
1507   ctdbd.conf(5) for more information.
1509   The memory, swap and filesystem usage monitoring previously found in
1510   00.ctdb and 40.fs_use is no longer available.  Therefore,
1511   configuration variables CTDB_CHECK_FS_USE, CTDB_MONITOR_FREE_MEMORY,
1512   CTDB_MONITOR_FREE_MEMORY_WARN and CTDB_CHECK_SWAP_IS_NOT_USED are
1513   now ignored.
1515 * The 62.cnfs eventscript has been removed.  To get a similar effect
1516   just do something like this:
1518       mmaddcallback ctdb-disable-on-quorumLoss \
1519         --command /usr/bin/ctdb \
1520         --event quorumLoss --parms "disable"
1522       mmaddcallback ctdb-enable-on-quorumReached \
1523         --command /usr/bin/ctdb \
1524         --event quorumReached --parms "enable"
1526 * The CTDB tunable parameter EventScriptTimeoutCount has been renamed
1527   to MonitorTimeoutCount
1529   It has only ever been used to limit timed-out monitor events.
1531   Configurations containing CTDB_SET_EventScriptTimeoutCount=<n> will
1532   cause CTDB to fail at startup.  Useful messages will be logged.
1534 * The commandline option "-n all" to CTDB tool has been removed.
1536   The option was not uniformly implemented for all the commands.
1537   Instead of command "ctdb ip -n all", use "ctdb ip all".
1539 * All CTDB current manual pages are now correctly installed
1542 EXPERIMENTAL FEATURES
1543 =====================
1545 SMB3 Multi-Channel
1546 ------------------
1548 Samba 4.4.0 adds *experimental* support for SMB3 Multi-Channel.
1549 Multi-Channel is an SMB3 protocol feature that allows the client
1550 to bind multiple transport connections into one authenticated
1551 SMB session. This allows for increased fault tolerance and
1552 throughput. The client chooses transport connections as reported
1553 by the server and also chooses over which of the bound transport
1554 connections to send traffic. I/O operations for a given file
1555 handle can span multiple network connections this way.
1556 An SMB multi-channel session will be valid as long as at least
1557 one of its channels are up.
1559 In Samba, multi-channel can be enabled by setting the new
1560 smb.conf option "server multi channel support" to "yes".
1561 It is disabled by default.
1563 Samba has to report interface speeds and some capabilities to
1564 the client. On Linux, Samba can auto-detect the speed of an
1565 interface. But to support other platforms, and in order to be
1566 able to manually override the detected values, the "interfaces"
1567 smb.conf option has been given an extended syntax, by which an
1568 interface specification can additionally carry speed and
1569 capability information. The extended syntax looks like this
1570 for setting the speed to 1 gigabit per second:
1572     interfaces = 192.168.1.42;speed=1000000000
1574 This extension should be used with care and are mainly intended
1575 for testing. See the smb.conf manual page for details.
1577 CAVEAT: While this should be working without problems mostly,
1578 there are still corner cases in the treatment of channel failures
1579 that may result in DATA CORRUPTION when these race conditions hit.
1580 It is hence
1582     NOT RECOMMENDED TO USE MULTI-CHANNEL IN PRODUCTION
1584 at this stage. This situation can be expected to improve during
1585 the life-time of the 4.4 release. Feed-back from test-setups is
1586 highly welcome.
1589 REMOVED FEATURES
1590 ================
1592 Public headers
1593 --------------
1595 Several public headers are not installed any longer. They are made for internal
1596 use only. More public headers will very likely be removed in future releases.
1598 The following headers are not installed any longer:
1599 dlinklist.h, gen_ndr/epmapper.h, gen_ndr/mgmt.h, gen_ndr/ndr_atsvc_c.h,
1600 gen_ndr/ndr_epmapper_c.h, gen_ndr/ndr_epmapper.h, gen_ndr/ndr_mgmt_c.h,
1601 gen_ndr/ndr_mgmt.h,gensec.h, ldap_errors.h, ldap_message.h, ldap_ndr.h,
1602 ldap-util.h, pytalloc.h, read_smb.h, registry.h, roles.h, samba_util.h,
1603 smb2_constants.h, smb2_create_blob.h, smb2.h, smb2_lease.h, smb2_signing.h,
1604 smb_cli.h, smb_cliraw.h, smb_common.h, smb_composite.h, smb_constants.h,
1605 smb_raw.h, smb_raw_interfaces.h, smb_raw_signing.h, smb_raw_trans2.h,
1606 smb_request.h, smb_seal.h, smb_signing.h, smb_unix_ext.h, smb_util.h,
1607 torture.h, tstream_smbXcli_np.h.
1609 vfs_smb_traffic_analyzer
1610 ------------------------
1612 The SMB traffic analyzer VFS module has been removed, because it is not
1613 maintained any longer and not widely used.
1615 vfs_scannedonly
1616 ---------------
1618 The scannedonly VFS module has been removed, because it is not maintained
1619 any longer.
1621 smb.conf changes
1622 ----------------
1624   Parameter Name                Description             Default
1625   --------------                -----------             -------
1626   aio max threads               New                     100
1627   ldap page size                Changed default         1000
1628   server multi channel support  New                     No
1629   interfaces                    Extended syntax
1632 KNOWN ISSUES
1633 ============
1635 Currently none.
1638 CHANGES SINCE 4.4.0rc5
1639 ======================
1641 o  Michael Adam <obnox@samba.org>
1642    * BUG 11796: smbd: Enable multi-channel if 'server multi channel support =
1643      yes' in the config.
1645 o  Günther Deschner <gd@samba.org>
1646    * BUG 11802: lib/socket/interfaces: Fix some uninitialied bytes.
1648 o  Uri Simchoni <uri@samba.org>
1649    * BUG 11798: build: Fix build when '--without-quota' specified.
1652 CHANGES SINCE 4.4.0rc4
1653 ======================
1655 o  Andrew Bartlett <abartlet@samba.org>
1656    * BUG 11780: mkdir can return ACCESS_DENIED incorrectly on create race.
1657    * BUG 11783: Mismatch between local and remote attribute ids lets
1658      replication fail with custom schema.
1659    * BUG 11789: Talloc: Version 2.1.6.
1661 o  Ira Cooper <ira@samba.org>
1662    * BUG 11774: vfs_glusterfs: Fix use after free in AIO callback.
1664 o  Günther Deschner <gd@samba.org>
1665    * BUG 11755: Fix net join.
1667 o  Amitay Isaacs <amitay@gmail.com>
1668    * BUG 11770: Reset TCP Connections during IP failover.
1670 o  Justin Maggard <jmaggard10@gmail.com>
1671    * BUG 11773: s3:smbd: Add negprot remote arch detection for OSX.
1673 o  Stefan Metzmacher <metze@samba.org>
1674    * BUG 11772: ldb: Version 1.1.26.
1675    * BUG 11782: "trustdom_list_done: Got invalid trustdom response" message
1676      should be avoided.
1678 o  Uri Simchoni <uri@samba.org>
1679    * BUG 11769: libnet: Make Kerberos domain join site-aware.
1680    * BUG 11788: Quota is not supported on Solaris 10.
1683 CHANGES SINCE 4.4.0rc3
1684 ======================
1686 o  Jeremy Allison <jra@samba.org>
1687    * BUG 11648: CVE-2015-7560: Getting and setting Windows ACLs on symlinks can
1688      change permissions on link target.
1690 o  Christian Ambach <ambi@samba.org>
1691    * BUG 11767: s3:utils/smbget: Fix option parsing.
1693 o  Alberto Maria Fiaschi <alberto.fiaschi@estar.toscana.it>
1694    * BUG 8093: Access based share enum: handle permission set in configuration
1695      files.
1697 o  Stefan Metzmacher <metze@samba.org>
1698    * BUG 11702: s3:clispnego: Fix confusing warning in spnego_gen_krb5_wrap().
1699    * BUG 11742: tevent: version 0.9.28: Fix memory leak when old signal action
1700      restored.
1701    * BUG 11755: s3:libads: setup the msDS-SupportedEncryptionTypes attribute on
1702      ldap_add.
1703    * BUGs 11128, 11686: CVE-2016-0771: Read of uninitialized memory DNS TXT
1704      handling.
1706 o  Garming Sam <garming@catalyst.net.nz>
1707    * BUGs 11128, 11686: CVE-2016-0771: Read of uninitialized memory DNS TXT
1708      handling.
1710 o  Uri Simchoni <uri@samba.org>
1711    * BUG 11691: winbindd: Return trust parameters when listing trusts.
1712    * BUG 11753: smbd: Ignore SVHDX create context.
1713    * BUG 11763: passdb: Add linefeed to debug message.
1716 CHANGES SINCE 4.4.0rc2
1717 ======================
1719 o  Michael Adam <obnox@samba.org>
1720    * BUG 11723: lib:socket: Fix CID 1350010: Integer OVERFLOW_BEFORE_WIDEN.
1721    * BUG 11735: lib:socket: Fix CID 1350009: Fix illegal memory accesses
1722      (BUFFER_SIZE_WARNING).
1724 o  Jeremy Allison <jra@samba.org>
1725    * BUG 10489: s3: smbd: posix_acls: Fix check for setting u:g:o entry on a
1726      filesystem with no ACL support.
1728 o  Christian Ambach <ambi@samba.org>
1729    * BUG 11700: s3:utils/smbget: Set default blocksize.
1731 o  Anoop C S <anoopcs@redhat.com>
1732    * BUG 11734: lib/socket: Fix improper use of default interface speed.
1734 o  Ralph Boehme <slow@samba.org>
1735    * BUG 11714: lib/tsocket: Work around sockets not supporting FIONREAD.
1737 o  Volker Lendecke <vl@samba.org>
1738    * BUG 11724: smbd: Fix CID 1351215 Improper use of negative value.
1739    * BUG 11725: smbd: Fix CID 1351216 Dereference null return value.
1740    * BUG 11732: param: Fix str_list_v3 to accept ; again.
1742 o  Noel Power <noel.power@suse.com>
1743    * BUG 11738: libcli: Fix debug message, print sid string for new_ace trustee.
1745 o  Jose A. Rivera <jarrpa@samba.org>
1746    * BUG 11727: s3:smbd:open: Skip redundant call to file_set_dosmode when
1747      creating a new file.
1749 o  Andreas Schneider <asn@samba.org>
1750    * BUG 11730: docs: Add manpage for cifsdd.
1751    * BUG 11739: Fix installation path of Samba helper binaries.
1753 o  Berend De Schouwer <berend.de.schouwer@gmail.com>
1754    * BUG 11643: docs: Add example for domain logins to smbspool man page.
1756 o  Martin Schwenke <martin@meltin.net>
1757    * BUG 11719: ctdb-scripts: Drop use of "smbcontrol winbindd ip-dropped ..."
1759 o  Hemanth Thummala <hemanth.thummala@nutanix.com>
1760    * BUG 11708: loadparm: Fix memory leak issue.
1761    * BUG 11740: Fix memory leak in loadparm.
1764 CHANGES SINCE 4.4.0rc1
1765 ======================
1767 o  Michael Adam <obnox@samba.org>
1768    * BUG 11715: s3:vfs:glusterfs: Fix build after quota changes.
1770 o  Jeremy Allison <jra@samba.org>
1771    * BUG 11703: s3: smbd: Fix timestamp rounding inside SMB2 create.
1773 o  Christian Ambach <ambi@samba.org>
1774    * BUG 11700: Streamline 'smbget' options with the rest of the Samba utils.
1776 o  Günther Deschner <gd@samba.org>
1777    * BUG 11696: ctdb: Do not provide a useless pkgconfig file for ctdb.
1779 o  Stefan Metzmacher <metze@samba.org>
1780    * BUG 11699: Crypto.Cipher.ARC4 is not available on some platforms, fallback
1781      to M2Crypto.RC4.RC4 then.
1783 o  Amitay Isaacs <amitay@gmail.com>
1784    * BUG 11705: Sockets with htons(IPPROTO_RAW) and CVE-2015-8543.
1786 o  Andreas Schneider <asn@samba.org>
1787    * BUG 11690: docs: Add smbspool_krb5_wrapper manpage.
1789 o  Uri Simchoni <uri@samba.org>
1790    * BUG 11681: smbd: Show correct disk size for different quota and dfree block
1791      sizes.
1794 #######################################
1795 Reporting bugs & Development Discussion
1796 #######################################
1798 Please discuss this release on the samba-technical mailing list or by
1799 joining the #samba-technical IRC channel on irc.freenode.net.
1801 If you do report problems then please try to send high quality
1802 feedback. If you don't provide vital information to help us track down
1803 the problem then you will probably be ignored.  All bug reports should
1804 be filed under the Samba 4.1 and newer product in the project's Bugzilla
1805 database (https://bugzilla.samba.org/).
1808 ======================================================================
1809 == Our Code, Our Bugs, Our Responsibility.
1810 == The Samba Team
1811 ======================================================================