smbd:smb2: fix error code when the header says the request is signed but we don't...
[Samba.git] / WHATSNEW.txt
bloba67c16a0f41be257161d895e9b58e905e3bc9b6b
1                    ==============================
2                    Release Notes for Samba 4.1.18
3                             May 12, 2015
4                    ==============================
7 This is the latest stable release of Samba 4.1.
10 Changes since 4.1.17:
11 ---------------------
13 o   Michael Adam <obnox@samba.org>
14     * BUG 8905: s3:winbind:grent: Don't stop group enumeration when a group has
15       no gid.
16     * BUG 11058: cli_connect_nb_send: don't segfault on host == NULL.
17     * BUG 11117: vfs_glusterfs manpage corrections.
18     * BUG 11143: s3-winbind: Fix chached user group lookup of trusted domains.
21 o   Jeremy Allison <jra@samba.org>
22     * BUG 10016: Fix NTLM authentication.
23     * BUG 10888: s3: client - "client use spnego principal = yes" code checks
24       wrong name.
25     * BUG 11079: s3: lib: libsmbclient: If reusing a server struct, check every
26       cli->timout miliseconds if it's still valid before use.
27     * BUG 11094: s3: smbclient: Allinfo leaves the file handle open.
28     * BUG 11144: Fix memory leak in SMB2 notify handling.
29     * BUG 11173: s3: libcli: smb1: Ensure we correctly finish a tevent req if
30       the writev fails in the SMB1 case.
31     * BUG 11177: s3: libsmbclient: Add missing talloc stackframe.
32     * BUG 11186: s3: libsmbclient: After getting attribute server, ensure main
33       srv pointer is still valid.
34     * BUG 11187: s3: Mac OS X 10.10.x fails validate negotiate request to 4.1.x.
35     * BUG 11236: s4: rpc: Refactor dcesrv_alter() function into setup and send
36       steps.
37     * BUG 11240: s3: smbd: Incorrect file size returned in the response of
38       "FILE_SUPERSEDE Create".
39     * BUG 11254: s3: nmbd: Don't set work_changed = True inside
40       update_server_ttl().
43 o   Andrew Bartlett <abartlet@samba.org>
44     * BUG 11100: debug: Set close-on-exec for the main log file FD.
47 o   Ralph Boehme <slow@samba.org>
48     * BUG 11224: s3:smbd: Missing tevent_req_nterror.
49     * BUG 11243: vfs: kernel_flock and named streams.
52 o   Ira Cooper <ira@samba.org>
53     * BUG 11069: vfs_glusterfs: Add comments to the pipe(2) code.
54     * BUG 11115: smbd: Stop using vfs_Chdir after SMB_VFS_DISCONNECT.
57 o   Günther Deschner <gd@samba.org>
58     * BUG 10240: vfs: Add glusterfs manpage.
61 o   David Disseldorp <ddiss@samba.org>
62     * BUG 10808: printing/cups: Pack requested-attributes with IPP_TAG_KEYWORD.
63     * BUG 11018: smbd can't find the GUID for a printer in the registry and
64       fails to publish printers.
65     * BUG 11059: libsmb: Provide authinfo domain for encrypted session
66       referrals.
67     * BUG 11169: docs/idmap_rid: Remove deprecated base_rid from example.
68     * BUG 11210: spoolss: Purge the printer name cache on name change.
71 o   Julien Kerihuel <j.kerihuel@openchange.org>
72     * BUG 11225: s4:rpc_server: Add multiplex state to dcerpc flags and control
73       over multiplex PFC flag in bind_ack and and dcesrv_alter replies.
74     * BUG 11226: Fix terminate connection behavior for asynchronous endpoint
75       with PUSH notification flavors.
78 o   Volker Lendecke <vl@samba.org>
79     * BUG 11041: smbd: Fix CID 1063259 Uninitialized scalar variable.
80     * BUG 11051: net: Fix 'net sam addgroupmem'.
83 o   Stefan Metzmacher <metze@samba.org>
84     * BUG 9702: s3:smb2_server: protect against integer wrap with "smb2 max
85       credits = 65535".
86     * BUG 11144: Fix memory leak in SMB2 notify handling.
87     * BUG 11164: s4:auth/gensec_gssapi: let gensec_gssapi_update() return
88       NT_STATUS_LOGON_FAILURE for unknown errors.
91 o   Andreas Schneider <asn@samba.org>
92     * BUG 10984: spoolss: Clear PrinterInfo on GetPrinter error.
93     * BUG 11008: s3-util: Fix authentication with long hostnames.
94     * BUG 11037: s3-libads: Fix a possible segfault in kerberos_fetch_pac().
95     * BUG 11058: utils: Fix 'net time' segfault.
96     * BUG 11066: s3-pam_smbpass: Fix memory leak in pam_sm_authenticate().
97     * BUG 11127: doc-xml: Add 'sharesec' reference to 'access based share enum'.
98     * BUG 11180: s4-process_model: Do not close random fds while forking.
99     * BUG 11185: s3-passdb: Fix 'force user' with winbind default domain.
102 o   Richard Sharpe <rsharpe@nutanix.com>
103     * BUG 11234: Fix crash in 'net ads dns gethostbyname' with an error in TALLOC_FREE
104       if you enter invalid values.
107 #######################################
108 Reporting bugs & Development Discussion
109 #######################################
111 Please discuss this release on the samba-technical mailing list or by
112 joining the #samba-technical IRC channel on irc.freenode.net.
114 If you do report problems then please try to send high quality
115 feedback. If you don't provide vital information to help us track down
116 the problem then you will probably be ignored.  All bug reports should
117 be filed under the Samba 4.1 product in the project's Bugzilla
118 database (https://bugzilla.samba.org/).
121 ======================================================================
122 == Our Code, Our Bugs, Our Responsibility.
123 == The Samba Team
124 ======================================================================
127 Release notes for older releases follow:
128 ----------------------------------------
130 ======================================================================
132                    ==============================
133                    Release Notes for Samba 4.1.17
134                           February 23, 2015
135                    ==============================
138 This is a security release in order to address CVE-2015-0240 (Unexpected
139 code execution in smbd).
141 o  CVE-2015-0240:
142    All versions of Samba from 3.5.0 to 4.2.0rc4 are vulnerable to an
143    unexpected code execution vulnerability in the smbd file server
144    daemon.
146    A malicious client could send packets that may set up the stack in
147    such a way that the freeing of memory in a subsequent anonymous
148    netlogon packet could allow execution of arbitrary code. This code
149    would execute with root privileges.
152 Changes since 4.1.16:
153 ---------------------
155 o   Jeremy Allison <jra@samba.org>
156     * BUG 11077: CVE-2015-0240: talloc free on uninitialized stack pointer
157       in netlogon server could lead to security vulnerability.
160 o   Andreas Schneider <asn@samba.org>
161     * BUG 11077: CVE-2015-0240: s3-netlogon: Make sure we do not deference
162       a NULL pointer.
165 #######################################
166 Reporting bugs & Development Discussion
167 #######################################
169 Please discuss this release on the samba-technical mailing list or by
170 joining the #samba-technical IRC channel on irc.freenode.net.
172 If you do report problems then please try to send high quality
173 feedback. If you don't provide vital information to help us track down
174 the problem then you will probably be ignored.  All bug reports should
175 be filed under the Samba 4.1 product in the project's Bugzilla
176 database (https://bugzilla.samba.org/).
179 ======================================================================
180 == Our Code, Our Bugs, Our Responsibility.
181 == The Samba Team
182 ======================================================================
185 ----------------------------------------------------------------------
188                    ==============================
189                    Release Notes for Samba 4.1.16
190                           January 15, 2015
191                    ==============================
194 This is a security release in order to address CVE-2014-8143 (Elevation
195 of privilege to Active Directory Domain Controller).
197 o  CVE-2014-8143:
198    Samba's AD DC allows the administrator to delegate
199    creation of user or computer accounts to specific users or groups.
201    However, all released versions of Samba's AD DC did not implement the
202    additional required check on the UF_SERVER_TRUST_ACCOUNT bit in the
203    userAccountControl attributes.
206 Changes since 4.1.15:
207 ---------------------
209 o   Andrew Bartlett <abartlet@samba.org>
210     * BUG 10993: CVE-2014-8143: dsdb-samldb: Check for extended access
211       rights before we allow changes to userAccountControl.
214 #######################################
215 Reporting bugs & Development Discussion
216 #######################################
218 Please discuss this release on the samba-technical mailing list or by
219 joining the #samba-technical IRC channel on irc.freenode.net.
221 If you do report problems then please try to send high quality
222 feedback. If you don't provide vital information to help us track down
223 the problem then you will probably be ignored.  All bug reports should
224 be filed under the Samba 4.1 product in the project's Bugzilla
225 database (https://bugzilla.samba.org/).
228 ======================================================================
229 == Our Code, Our Bugs, Our Responsibility.
230 == The Samba Team
231 ======================================================================
234 -----------------------------------------------------------------------
237                    ==============================
238                    Release Notes for Samba 4.1.15
239                           January 12, 2015
240                    ==============================
243 This is the latest stable release of Samba 4.1.
246 Changes since 4.1.14:
247 ---------------------
249 o   Jeremy Allison <jra@samba.org>
250     * BUG 10966: libcli: SMB2: Pure SMB2-only negprot fix to make us behave as a
251       Windows client does.
252     * BUG 10982 s3: smbd/modules: Fix *allocate* calls to follow POSIX error
253       return convention.
256 o   Christian Ambach <ambi@samba.org>
257     * BUG 9629: Fix profiles tool.
260 o   Samuel Cabrero <scabrero@zentyal.com>
261     * BUG 11006: idl:drsuapi: Manage all possible lengths of drsuapi_DsBindInfo.
264 o   Günther Deschner <gd@samba.org>
265     * BUG 9056: pam_winbind: Fix warn_pwd_expire implementation.
268 o   Guenter Kukkukk <linux@kukkukk.com>
269     * BUG 10952: s4-rpc: dnsserver: Fix enumeration of IPv4 and IPv6 addresses.
272 o   Stefan Metzmacher <metze@samba.org>
273     * BUG 9299: nsswitch: Fix soname of linux nss_*.so.2 modules.
274     * BUG 10949: s4:dsdb/rootdse: Expand extended dn values with the AS_SYSTEM
275       control.
276     * BUG 10958: s3:smb2_server: Allow reauthentication without signing.
277     * BUG 11006: Fix 'domain join' by adding 'drsuapi.DsBindInfoFallBack'
278       attribute 'supported_extensions'.
281 o   Matthieu Patou <mat@matws.net>
282     * BUG 11006: Fix 'domain join' by adding 'drsuapi.DsBindInfoFallBack'
283       attribute 'supported_extensions'.
286 o   Christof Schmitt <cs@samba.org>
287     * BUG 11034: winbind: Retry LogonControl RPC in ping-dc after session
288       expiration.
291 o   Andreas Schneider <asn@samba.org>
292     * BUG 10279: s3-lib: Do not require a password with --use-ccache.
293     * BUG 10960: s3-smbclient: Return success if we listed the shares.
294     * BUG 10961: s3-smbstatus: Fix exit code of profile output.
297 #######################################
298 Reporting bugs & Development Discussion
299 #######################################
301 Please discuss this release on the samba-technical mailing list or by
302 joining the #samba-technical IRC channel on irc.freenode.net.
304 If you do report problems then please try to send high quality
305 feedback. If you don't provide vital information to help us track down
306 the problem then you will probably be ignored.  All bug reports should
307 be filed under the Samba 4.1 product in the project's Bugzilla
308 database (https://bugzilla.samba.org/).
311 ======================================================================
312 == Our Code, Our Bugs, Our Responsibility.
313 == The Samba Team
314 ======================================================================
317 ----------------------------------------------------------------------
320                    ==============================
321                    Release Notes for Samba 4.1.14
322                           December 1, 2014
323                    ==============================
326 This is the latest stable release of Samba 4.1.
329 Changes since 4.1.13:
330 ---------------------
332 o   Michael Adam <obnox@samba.org>
333     * BUG 10472: Revert buildtools/wafadmin/Tools/perl.py back to upstream
334       state.
337 o   Jeremy Allison <jra@samba.org>
338     * BUG 10711: nmbd fails to accept "--piddir" option.
339     * BUG 10896: s3-nmbd: Fix netbios name truncation.
340     * BUG 10904: s3: libsmbclient-smb2. MacOSX 10 SMB2 server doesn't set
341       STATUS_NO_MORE_FILES when handed a non-wildcard path.
342     * BUG 10920: s3: nmbd: Ensure NetBIOS names are only 15 characters stored.
345 o   Günther Deschner <gd@samba.org>
346     * BUG 10942: Cleanup add_string_to_array and usage.
349 o   David Disseldorp <ddiss@samba.org>
350     * BUG 10898: spoolss: Fix handling of bad EnumJobs levels.
351     * BUG 10905: spoolss: Fix jobid in level 3 EnumJobs response.
354 o   Amitay Isaacs <amitay@gmail.com>
355     * BUG 10620: s4-dns: Add support for BIND 9.10.
358 o   Björn Jacke <bj@sernet.de>
359     * BUG 10835: nss_winbind: Add getgroupmembership for FreeBSD.
362 o   Volker Lendecke <vl@samba.org>
363     * BUG 10932: pdb_tdb: Fix a TALLOC/SAFE_FREE mixup.
366 o   Stefan Metzmacher <metze@samba.org>
367     * BUG 10472: pidl/wscript: Remove --with-perl-* options.
368     * BUG 10921: s3:smbd: Fix file corruption using "write cache size != 0".
371 o   Jose A. Rivera <jarrpa@redhat.com>
372     * BUG 10889: vfs_glusterfs: Remove "integer fd" code and store the glfs
373       pointers.
376 o   Matt Rogers <mrogers@redhat.com>
377     * BUG 10933: s3-keytab: Fix keytab array NULL termination.
380 o   Richard Sharpe <realrichardsharpe@gmail.com>
381     * BUG 10880: S3: source3/smbd/process.c::srv_send_smb() returns true on the
382       error path.
385 #######################################
386 Reporting bugs & Development Discussion
387 #######################################
389 Please discuss this release on the samba-technical mailing list or by
390 joining the #samba-technical IRC channel on irc.freenode.net.
392 If you do report problems then please try to send high quality
393 feedback. If you don't provide vital information to help us track down
394 the problem then you will probably be ignored.  All bug reports should
395 be filed under the Samba 4.1 product in the project's Bugzilla
396 database (https://bugzilla.samba.org/).
399 ======================================================================
400 == Our Code, Our Bugs, Our Responsibility.
401 == The Samba Team
402 ======================================================================
405 ----------------------------------------------------------------------
408                    ==============================
409                    Release Notes for Samba 4.1.13
410                          October 20, 2014
411                    ==============================
414 This is the latest stable release of Samba 4.1.
417 Changes since 4.1.12:
418 ---------------------
420 o    Michael Adam <obnox@samba.org>
421      * BUG 10809: s3:smbd:open_file: Use a more natural check.
424 o   Jeremy Allison <jra@samba.org>
425     * BUG 10717: s3: winbindd: Old NT Domain code sets struct
426       winbind_domain->alt_name to be NULL. Ensure this is safe with modern
427       AD-DCs.
428     * BUG 10779: pthreadpool: Slightly serialize jobs.
429     * BUG 10809: s3: smbd: Open logic fix.
430     * BUG 10830: s3: nmbd: Ensure the main nmbd process doesn't create zombies.
431     * BUG 10831: s3: lib: Signal handling - ensure smbrun and change password
432       code save and restore existing SIGCHLD handlers.
433     * BUG 10848: s3: smb2cli: Query info return length check was reversed.
436 o   Günther Deschner <gd@samba.org>
437     * BUG 9984: s3-libnet: Make sure we do not overwrite precreated SPNs.
440 o   Björn Jacke <bj@sernet.de
441     * BUG 10814: docs: Mention incompatibility between kernel oplocks and
442       streams_xattr.
445 o   Volker Lendecke <vl@samba.org>
446     * BUG 10735: Fix unstrcpy.
447     * BUG 10797: s3: smbd: streams - Ensure share mode validation ignores
448       internal opens (op_mid == 0).
449     * BUG 10813: vfs_media_harmony: Fix a crash bug.
450     * BUG 10860: registry: Don't leave dangling transactions.
453 o   Christof Schmitt <cs@samba.org>
454     * BUG 10826: s3-winbindd: Use correct realm for trusted domains in idmap
455       child.
456     * BUG 10837: idmap_rfc2307: Fix a crash after connection problem to DC.
457     * BUG 10838: s3-winbindd: Do not use domain SID from LookupSids for
458       Sids2UnixIDs call.
461 o   Andreas Schneider <asn@samba.org>
462     * BUG 9984: s3-libnet: Add libnet_join_get_machine_spns().
463     * BUG 9985: s3-libads: Add all machine account principals to the keytab.
464     * BUG 10816: nmbd: Send waiting status to systemd.
465     * BUG 10817: libcli: Fix a segfault calling smbXcli_req_set_pending() on
466       NULL.
467     * BUG 10824: nsswitch: Skip groups we were not able to map.
470 #######################################
471 Reporting bugs & Development Discussion
472 #######################################
474 Please discuss this release on the samba-technical mailing list or by
475 joining the #samba-technical IRC channel on irc.freenode.net.
477 If you do report problems then please try to send high quality
478 feedback. If you don't provide vital information to help us track down
479 the problem then you will probably be ignored.  All bug reports should
480 be filed under the Samba 4.1 product in the project's Bugzilla
481 database (https://bugzilla.samba.org/).
484 ======================================================================
485 == Our Code, Our Bugs, Our Responsibility.
486 == The Samba Team
487 ======================================================================
490 ----------------------------------------------------------------------
493                    ==============================
494                    Release Notes for Samba 4.1.12
495                          September 8, 2014
496                    ==============================
499 This is the latest stable release of Samba 4.1.
501 Major enhancements in Samba 4.1.12 include:
503 o  New parameter "winbind request timeout" has been added (bug #3204). Please
504    see smb.conf man page for details.
505 o  Fix smbd crashes when filename contains non-ascii character (bug #10716).
506 o  dnsserver: Handle updates of tombstoned dnsNode objects (bug #10749).
509 Changes since 4.1.11:
510 ---------------------
512 o   Michael Adam <obnox@samba.org>
513     * BUG 10369: build: Fix configure to honour '--without-dmapi'.
514     * BUG 10737: s3:idmap: Don't log missing range config if range checking not
515       requested.
516     * BUG 10741: Fix flapping VFS gpfs offline bit.
519 o   Jeremy Allison <jra@samba.org>
520     * BUG 3204: s3: winbindd: On new client connect, prune idle or hung
521       connections older than "winbind request timeout". Add new parameter
522       "winbind request timeout".
523     * BUG 10640: lib: tevent: make TEVENT_SIG_INCREMENT atomic.
524     * BUG 10650: Make "case sensitive = True" option working with
525       "max protocol = SMB2" or higher in large directories.
526     * BUG 10716: Fix smbd crashes when filename contains non-ascii
527       character.
528     * BUG 10728: 'net time': Fix usage and core dump.
529     * BUG 10773: s3: smbd: POSIX ACLs. Remove incorrect check for
530       SECINFO_PROTECTED_DACL in incoming security_information flags in
531       posix_get_nt_acl_common().
532     * BUG 10794: vfs_dirsort: Fix an off-by-one error that can cause
533       uninitialized memory read.
536 o   Björn Baumbach <bb@sernet.de>
537     * BUG 10543: s3: Enforce a positive allocation_file_size for non-empty
538       files.
541 o   Kai Blin <kai@samba.org>
542     * BUG 10466: provision: Correctly provision the SOA record minimum TTL.
545 o   David Disseldorp <ddiss@samba.org>
546     * BUG 10652: Samba 4 consuming a lot of CPU when re-reading printcap info.
547     * BUG 10787: dosmode: Fix FSCTL_SET_SPARSE request validation.
550 o   Amitay Isaacs <amitay@gmail.com>
551     * BUG 10742: s4-rpc: dnsserver: Allow . to be specified for @ record.
554 o   Daniel Kobras <d.kobras@science-computing.de>
555     * BUG 10731: sys_poll_intr: Fix timeout arithmetic.
558 o   Ross Lagerwall <rosslagerwall@gmail.com>
559     * BUG 10778: s3:libsmb: Set a max charge for SMB2 connections.
562 o   Volker Lendecke <vl@samba.org>
563     * BUG 10716: lib: strings: Simplify strcasecmp.
564     * BUG 10758: lib: Remove unused nstrcpy.
565     * BUG 10782: smbd: Properly initialize mangle_hash.
568 o   Stefan Metzmacher <metze@samba.org>
569     * BUG 9831: s4:setup/dns_update_list: make use of the new substitution
570       variables.
571     * BUG 10723: Allow netr_ServerReqChallenge() and netr_ServerAuthenticate3()
572       on different connections.
573     * BUG 10749: s4-rpc: dnsserver: Handle updates of tombstoned dnsNode
574       objects.
575     * BUG 10751: s4-rpc: dnsserver: return DNS_RANK_NS_GLUE recors when
576       explicitly asked for.
577     * BUG 10773: libcli/security: Add better detection of
578       SECINFO_[UN]PROTECTED_[D|S]ACL in get_sec_info().
581 o   Marc Muehlfeld <mmuehlfeld@samba.org>
582     * BUG 10761: docs: Fix typos in smb.conf (inherit acls).
585 o   Shirish Pargaonkar <spargaonkar@suse.com>
586     * BUG 10755: samba: Retain case sensitivity of cifs client.
589 o   Arvid Requate <requate@univention.de>
590     * BUG 9570: passdb: Fix NT_STATUS_NO_SUCH_GROUP.
593 o   Har Gagan Sahai <SHarGagan@novell.com>
594     * BUG 10759: Fix a memory leak in cli_set_mntpoint().
597 o   Roel van Meer <roel@1afa.com>
598     * BUG 10777: Don't discard result of checking grouptype.
601 #######################################
602 Reporting bugs & Development Discussion
603 #######################################
605 Please discuss this release on the samba-technical mailing list or by
606 joining the #samba-technical IRC channel on irc.freenode.net.
608 If you do report problems then please try to send high quality
609 feedback. If you don't provide vital information to help us track down
610 the problem then you will probably be ignored.  All bug reports should
611 be filed under the Samba 4.1 product in the project's Bugzilla
612 database (https://bugzilla.samba.org/).
615 ======================================================================
616 == Our Code, Our Bugs, Our Responsibility.
617 == The Samba Team
618 ======================================================================
621 ----------------------------------------------------------------------
624                    ==============================
625                    Release Notes for Samba 4.1.11
626                            August 1, 2014
627                    ==============================
630 This is a security release in order to address
631 CVE-2014-3560 (Remote code execution in nmbd).
633 o  CVE-2014-3560:
634    Samba 4.0.0 to 4.1.10 are affected by a remote code execution attack on
635    unauthenticated nmbd NetBIOS name services.
637    A malicious browser can send packets that may overwrite the heap of
638    the target nmbd NetBIOS name services daemon. It may be possible to
639    use this to generate a remote code execution vulnerability as the
640    superuser (root).
643 Changes since 4.1.10:
644 ---------------------
646 o   Volker Lendecke <vl@samba.org>
647     * BUG 10735: CVE-2014-3560: Fix unstrcpy macro length.
650 #######################################
651 Reporting bugs & Development Discussion
652 #######################################
654 Please discuss this release on the samba-technical mailing list or by
655 joining the #samba-technical IRC channel on irc.freenode.net.
657 If you do report problems then please try to send high quality
658 feedback. If you don't provide vital information to help us track down
659 the problem then you will probably be ignored.  All bug reports should
660 be filed under the Samba 4.1 product in the project's Bugzilla
661 database (https://bugzilla.samba.org/).
664 ======================================================================
665 == Our Code, Our Bugs, Our Responsibility.
666 == The Samba Team
667 ======================================================================
670 ----------------------------------------------------------------------
673                    ==============================
674                    Release Notes for Samba 4.1.10
675                            July 28, 2014
676                    ==============================
679 This is the latest stable release of Samba 4.1.
682 Changes since 4.1.9:
683 --------------------
685 o   Michael Adam <obnox@samba.org>
686     * BUG 10693: Backport ldb-1.1.17 + changes from master.
689 o   Jeremy Allison <jra@samba.org>
690     * BUG 10587: s3: libsmbclient: Work around bugs in SLES cifsd and Apple smbx
691       SMB1 servers.
692     * BUG 10653: Samba won't start on a machine configured with only IPv4.
693     * BUG 10671: s3: smbd: Prevent file truncation on an open that fails with
694       share mode violation.
695     * BUG 10673: s3: SMB2: Fix leak of blocking lock records in the database.
696     * BUG 10684: SMB1 blocking locks can fail notification on unlock, causing
697       client timeout.
698     * BUG 10685: s3: smbd: Locking, fix off-by one calculation in
699       brl_pending_overlap().
700     * BUG 10692: wbcCredentialCache fails if challenge_blob is not first.
703 o   Christian Ambach <ambi@samba.org>
704     * BUG 10693: lib/ldb: Fix compiler warnings.
707 o   Andrew Bartlett <abartlet@samba.org>
708     * BUG 8077: dbcheck: Add check and test for various invalid userParameters
709       values.
710     * BUG 8449: Simple use case results in "no talloc stackframe around, leaking
711       memory" error.)
712     * BUG 10130: dsdb: Always store and return the userParameters as a array of
713       LE 16-bit values.
714     * BUG 10582: dsdb: Rename private_data to rootdse_private_data in rootdse.
715     * BUG 10627: rid_array used before status checked - segmentation fault due
716       to null pointer dereference.
717     * BUG 10693: ldb: make the successful ldb_transaction_start() message
718       clearer.
719     * BUG 10694: dsdb: Return NO_SUCH_OBJECT if a basedn is a deleted object.
720     * BUG 10700: Backport access check related fixes from master.
723 o   Björn Baumbach <bb@sernet.de>
724     * BUG 10674: samba-tool: Add --site parameter to provision command.
727 o   Howard Chu <hyc@symas.com>
728     * BUG 10693: Fix SEGV from improperly formed SUBSTRING/PRESENCE filter.
731 o   Jeroen Dekkers <jeroen@dekkers.ch>
732     * BUG 10693: ldb: Do not build libldb-cmdline when using system ldb.
735 o   Nadezhda Ivanova <nivanova@symas.com>
736     * BUG 10693: s4-openldap: Remove use of talloc_reference in
737       ldb_map_outbound.c
740 o   Björn Jacke <bj@sernet.de>
741     * BUG 3263: net/doc: Make clear that net vampire is for NT4 domains only.
744 o   Abhidnya Joshi <achirmul@in.ibm.com>
745     * BUG s3: Fix missing braces in nfs4_acls.c.
748 o   Volker Lendecke <vl@samba.org>
749     * BUG 10593: Fix "PANIC: assert failed at ../source3/smbd/open.c(1582): ret".
750     * BUG 10663: msg_channel: Fix a 100% CPU loop.
751     * BUG 10671: s3: smbd: Prevent file truncation on an open that fails with
752       share mode violation.
753     * BUG 10680: smbstatus: Fix an uninitialized variable.
754     * BUG 10687: 'RW2' smbtorture test fails when -N <numprocs> is set to 2 due
755       to the invalid status check in the second client.
756     * BUG 10693: ldb: Fix 1138330 Dereference null return value, fix CIDs
757       241329, 240798, 1034791, 1034792 1034910, 1034910).
758     * BUG 10699: smbd: Avoid double-free in get_print_db_byname.
761 o   Stefan Metzmacher <metze@samba.org>
762     * BUG 8077: s4:dsdb/samldb: Don't allow 'userParameters' to be modified over
763       LDAP for now.
764     * BUG 9763: s4:dsdb/repl_meta_data: Make sure objectGUID can't be deleted.
765     * BUG 10469: ldb-samba: fix a memory leak in
766       ldif_canonicalise_objectCategory().
767     * BUG 10294: s4:repl_meta_data: fix array assignment in
768       replmd_process_linked_attribute().
769     * BUG 10536: dbchecker: Verify and fix broken dn values.
770     * BUG 10692: wbcCredentialCache fails if challenge_blob is not first.
771     * BUG 10693: ldb:pyldb: Add some more helper functions for LdbDn.
772     * BUG 10694: s4:dsdb/extended_dn_in: Don't force DSDB_SEARCH_SHOW_RECYCLED.
773     * BUG 10696: Backport autobuild/selftest fixes from master.
774     * BUG 10706: s3:smb2_read: let smb2_sendfile_send_data() behave like
775       send_file_readX().
778 o   Matthieu Patou <mat@matws.net>
779     * BUG 10693: pyldb: Decrement ref counters on py_results and quiet warnings.
780     * BUG 10698: Backport drs-crackname fixes from master.
783 o   Pavel Reichl <pavel.reichl@redhat.com>
784     * BUG 10693: ldb: Use of NULL pointer bugfix.
787 o   Garming Sam <garming@catalyst.net.nz>
788     * BUG 10703: Backport provision fixes from master.
791 o   Andreas Schneider <asn@samba.org>
792     * BUG 10693: ldb: Add a env variable to disable RTLD_DEEPBIND.
795 #######################################
796 Reporting bugs & Development Discussion
797 #######################################
799 Please discuss this release on the samba-technical mailing list or by
800 joining the #samba-technical IRC channel on irc.freenode.net.
802 If you do report problems then please try to send high quality
803 feedback. If you don't provide vital information to help us track down
804 the problem then you will probably be ignored.  All bug reports should
805 be filed under the Samba 4.1 product in the project's Bugzilla
806 database (https://bugzilla.samba.org/).
809 ======================================================================
810 == Our Code, Our Bugs, Our Responsibility.
811 == The Samba Team
812 ======================================================================
815 ----------------------------------------------------------------------
818                    =============================
819                    Release Notes for Samba 4.1.9
820                            June 23, 2014
821                    =============================
824 This is a security release in order to address
825 CVE-2014-0244 (Denial of service - CPU loop) and
826 CVE-2014-3493 (Denial of service - Server crash/memory corruption).
828 o  CVE-2014-0244:
829    All current released versions of Samba are vulnerable to a denial of
830    service on the nmbd NetBIOS name services daemon. A malformed packet
831    can cause the nmbd server to loop the CPU and prevent any further
832    NetBIOS name service.
834    This flaw is not exploitable beyond causing the code to loop expending
835    CPU resources.
837 o  CVE-2014-3493:
838    All current released versions of Samba are affected by a denial of service
839    crash involving overwriting memory on an authenticated connection to the
840    smbd file server.
843 Changes since 4.1.8:
844 --------------------
846 o   Jeremy Allison <jra@samba.org>
847     * BUG 10633: CVE-2014-0244: Fix nmbd denial of service.
848     * BUG 10654: CVE-2014-3493: Fix segmentation fault in
849       smbd_marshall_dir_entry()'s SMB_FIND_FILE_UNIX handler.
852 #######################################
853 Reporting bugs & Development Discussion
854 #######################################
856 Please discuss this release on the samba-technical mailing list or by
857 joining the #samba-technical IRC channel on irc.freenode.net.
859 If you do report problems then please try to send high quality
860 feedback. If you don't provide vital information to help us track down
861 the problem then you will probably be ignored.  All bug reports should
862 be filed under the Samba 4.1 product in the project's Bugzilla
863 database (https://bugzilla.samba.org/).
866 ======================================================================
867 == Our Code, Our Bugs, Our Responsibility.
868 == The Samba Team
869 ======================================================================
872 ----------------------------------------------------------------------
875                    =============================
876                    Release Notes for Samba 4.1.8
877                            June 3, 2014
878                    =============================
881 This is the latest stable release of Samba 4.1.
883 Please note that this bug fix release also addresses two minor security issues
884 without being a dedicated security release:
886   o CVE-2014-0239: dns: Don't reply to replies (bug #10609).
887   o CVE-2014-0178: Malformed FSCTL_SRV_ENUMERATE_SNAPSHOTS response
888     (bug #10549).
890 For more details including security advisories and patches, please see
892   http://www.samba.org/samba/history/security.html
895 Changes since 4.1.7:
896 --------------------
898 o   Michael Adam <obnox@samba.org>
899     * BUG 10548: build: Fix ordering problems with lib-provided and internal
900       RPATHs.
903 o   Jeremy Allison <jra@samba.org>
904     * BUG 3124: s3: smb2: Fix 'xcopy /d' with samba shares.
905     * BUG 10544: s3: lib/util: Fix logic inside set_namearray loops.
906     * BUG 10564: Fix lock order violation and file lost.
907     * BUG 10577: Fix wildcard unlink to fail if we get an error rather than
908       trying to continue.
911 o   Andrew Bartlett <abartlet@samba.org>
912     * BUG 10569: dsdb: Do checks for invalid renames in samldb, before
913       repl_meta_data.
916 o   Björn Baumbach <bb@sernet.de>
917     * BUG 10239: s3: nmbd: Reset debug settings after reading config file.
918     * BUG 10544: s3: lib/util: set_namearray reads across end of namelist
919     * BUG 10556: lib-util: Rename memdup to smb_memdup and fix all callers.
922 o   Kai Blin <kai@samba.org>
923     * BUG 10609: CVE-2014-0239: dns: Don't reply to replies.
926 o   Alexander Bokovoy <ab@samba.org>
927     * BUG 10517: Use exit_daemon() to communicate status of startup to
928       systemd.
931 o   David Disseldorp <ddiss@samba.org>
932     * BUG 10590: byteorder: Do not assume PowerPC is big-endian.
933     * BUG 10612: printing: Fix purge of all print jobs.
936 o   Benjamin Franzke <benjaminfranzke@googlemail.com>
937     * BUG 10524: Fix adding NetApps.
940 o   Abhidnya Joshi <achirmul@in.ibm.com>
941     * BUG 10547: idmap_autorid: Fix failure in reverse lookup if ID is from
942       domain range index #0.
945 o   Stefan Metzmacher <metze@samba.org>
946     * BUG 10472: script/autobuild: Make use of
947       '--with-perl-{arch,lib}-install-dir'.
950 o   Noel Power <nopower@suse.com>
951     * BUG 10554: Fix read of deleted memory in reply_writeclose()'.
954 o   Jose A. Rivera <jarrpa@redhat.com>
955     * BUG 10151: Extra ':' in msg for Waf Cross Compile Build System with
956       Cross-answers command.
957     * BUG 10348: Fix empty body in if-statement in continue_domain_open_lookup.
960 o   Christof Schmitt <christof.schmitt@us.ibm.com>
961     * BUG 10549: CVE-2014-0178: Malformed FSCTL_SRV_ENUMERATE_SNAPSHOTS
962       response.
965 o   Andreas Schneider <asn@samba.org>
966     * BUG 10472: wafsamba: Fix the installation on FreeBSD.
969 #######################################
970 Reporting bugs & Development Discussion
971 #######################################
973 Please discuss this release on the samba-technical mailing list or by
974 joining the #samba-technical IRC channel on irc.freenode.net.
976 If you do report problems then please try to send high quality
977 feedback. If you don't provide vital information to help us track down
978 the problem then you will probably be ignored.  All bug reports should
979 be filed under the Samba 4.1 product in the project's Bugzilla
980 database (https://bugzilla.samba.org/).
983 ======================================================================
984 == Our Code, Our Bugs, Our Responsibility.
985 == The Samba Team
986 ======================================================================
989 ----------------------------------------------------------------------
992                    =============================
993                    Release Notes for Samba 4.1.7
994                            April 17, 2014
995                    =============================
998 This is the latest stable release of Samba 4.1.
1001 Changes since 4.1.6:
1002 --------------------
1004 o   Jeremy Allison <jra@samba.org>
1005     * BUG 9878: Make "force user" work as expected.
1006     * BUG 9942: Fix problem with server taking too long to respond to a
1007       MSG_PRINTER_DRVUPGRADE message.
1008     * BUG 9993: s3-printing: Fix obvious memory leak in
1009       printer_list_get_printer().
1010     * BUG 10344: SessionLogoff on a signed connection with an outstanding notify
1011       request crashes smbd.
1012     * BUG 10431: Fix STATUS_NO_MEMORY response from Query File Posix Lock request.
1013     * BUG 10508: smbd: Correctly add remote users into local groups.
1014     * BUG 10534: Cleanup messages.tdb record after unclean smbd shutdown.
1017 o   Christian Ambach <ambi@samba.org>
1018     * BUG 9911: Fix build on AIX with IBM XL C/C++ (gettext detection issues).
1019     * BUG 10308: Fix String Conversion Errors with Samba 4.1.0 Build on AIX 7.1.
1022 o   Gregor Beck <gbeck@sernet.de>
1023     * BUG 10230: Make (lib)smbclient work with NetApp.
1024     * BUG 10458: Fix 'wbinfo -i' with one-way trust.
1025     * s3:rpc_server: Minor refactoring of process_request_pdu().
1028 o   Kai Blin <kai@samba.org>
1029     * BUG 10471: Don't respond with NXDOMAIN to records that exist with another
1030       type.
1033 o   Alexander Bokovoy <ab@samba.org>
1034     * BUG 10504: lsa.idl: Define lsa.ForestTrustCollisionInfo and
1035       ForestTrustCollisionRecord as public structs.
1038 o   Günther Deschner <gd@samba.org>
1039     * BUG 10439: Increase max netbios name components.
1042 o   David Disseldorp <ddiss@samba.org>
1043     * BUG 10188: doc: Add "spoolss: architecture" parameter usage.
1044     * BUG 10484: Initial FSRVP rpcclient requests fail with
1045       NT_STATUS_PIPE_NOT_AVAILABLE.
1046     * BUG 10521: rpcclient FSRVP request UNCs should include a trailing
1047       backslash.
1050 o   Daniel Liberman <danielvl@gmail.com>
1051     * BUG 10387: 'net ads search' on high latency networks can return a partial
1052       list with no error indication.
1055 o   Stefan Metzmacher <metze@samba.org>
1056     * BUG 10200: Make 'smbclient' support DFS shares with SMB2/3.
1057     * BUG 10344: SessionLogoff on a signed connection with an outstanding notify
1058       request crashes smbd.
1059     * BUG 10422: max xmit > 64kb leads to segmentation fault.
1060     * BUG 10444: smbd_server_connection_terminate("CTDB_SRVID_RELEASE_IP")
1061       panics from within ctdbd_migrate() with invalid lock_order.
1062     * BUG 10464: samba4 services not binding on IPv6 addresses causing
1063       connection delays.
1066 o   Garming Sam <garming@catalyst.net.nz>
1067     * BUG 10378: dfs: Always call create_conn_struct with root privileges.
1070 o   Andreas Schneider <asn@cryptomilk.org>
1071     * BUG 10467: s3-vfs: Fix stream_depot vfs module on btrfs.
1072     * BUG 10472: pidl: waf should have an option for the dir to install perl
1073       files and do not glob.
1074     * BUG 10474: s3-spoolssd: Don't register spoolssd if epmd is not running.
1075     * BUG 10481: s3-rpc_server: Fix handling of fragmented rpc requests.
1078 o   Gustavo Zacarias <gustavo@zacarias.com.ar>
1079     * BUG 10506: Make 'smbreadline' build with readline 6.3.
1082 #######################################
1083 Reporting bugs & Development Discussion
1084 #######################################
1086 Please discuss this release on the samba-technical mailing list or by
1087 joining the #samba-technical IRC channel on irc.freenode.net.
1089 If you do report problems then please try to send high quality
1090 feedback. If you don't provide vital information to help us track down
1091 the problem then you will probably be ignored.  All bug reports should
1092 be filed under the Samba 4.1 product in the project's Bugzilla
1093 database (https://bugzilla.samba.org/).
1096 ======================================================================
1097 == Our Code, Our Bugs, Our Responsibility.
1098 == The Samba Team
1099 ======================================================================
1102 ----------------------------------------------------------------------
1105                    =============================
1106                    Release Notes for Samba 4.1.6
1107                            March 11, 2014
1108                    =============================
1111 This is a security release in order to address
1112 CVE-2013-4496 (Password lockout not enforced for SAMR password changes) and
1113 CVE-2013-6442 (smbcacls can remove a file or directory ACL by mistake).
1115 o  CVE-2013-4496:
1116    Samba versions 3.4.0 and above allow the administrator to implement
1117    locking out Samba accounts after a number of bad password attempts.
1119    However, all released versions of Samba did not implement this check for
1120    password changes, such as are available over multiple SAMR and RAP
1121    interfaces, allowing password guessing attacks.
1123 o  CVE-2013-6442:
1124    Samba versions 4.0.0 and above have a flaw in the smbcacls command. If
1125    smbcacls is used with the "-C|--chown name" or "-G|--chgrp name"
1126    command options it will remove the existing ACL on the object being
1127    modified, leaving the file or directory unprotected.
1130 Changes since 4.1.5:
1131 --------------------
1133 o   Jeremy Allison <jra@samba.org>
1134     * BUG 10327: CVE-2013-6442: ensure we don't lose an existing ACL when
1135       setting owner or group owner.
1138 o   Andrew Bartlett <abartlet@samba.org>
1139     * BUG 10245: CVE-2013-4496: Enforce password lockout for SAMR password
1140       changes.
1143 o   Stefan Metzmacher <metze@samba.org>
1144     * BUG 10245: CVE-2013-4496: Enforce password lockout for SAMR password
1145       changes.
1148 #######################################
1149 Reporting bugs & Development Discussion
1150 #######################################
1152 Please discuss this release on the samba-technical mailing list or by
1153 joining the #samba-technical IRC channel on irc.freenode.net.
1155 If you do report problems then please try to send high quality
1156 feedback. If you don't provide vital information to help us track down
1157 the problem then you will probably be ignored.  All bug reports should
1158 be filed under the Samba 4.1 product in the project's Bugzilla
1159 database (https://bugzilla.samba.org/).
1162 ======================================================================
1163 == Our Code, Our Bugs, Our Responsibility.
1164 == The Samba Team
1165 ======================================================================
1168 ----------------------------------------------------------------------
1171                    =============================
1172                    Release Notes for Samba 4.1.5
1173                          February 21, 2014
1174                    =============================
1177 This is the latest stable release of Samba 4.1.
1179 Major enhancements in Samba 4.1.5 include:
1181 o  Fix 100% CPU utilization in winbindd when trying to free memory in
1182    winbindd_reinit_after_fork (bug #10358).
1183 o  smbd: Fix memory overwrites (bug #10415).
1186 Changes since 4.1.4:
1187 --------------------
1189 o   Michael Adam <obnox@samba.org>
1190     * BUG 10259: Make shadow_copy2 module working with Windows 7.
1193 o   Jeremy Allison <jra@samba.org>
1194     * BUG 2662: Make revamped directory handling code 64bit clean.
1195     * BUG 10320: s3: smbpasswd: Fix crashes on invalid input.
1196     * BUG 10358: Fix 100% CPU utilization in winbindd when trying to free
1197       memory in winbindd_reinit_after_fork.
1198     * BUG 10406: s3: vfs_dirsort module: Allow dirsort to work when multiple
1199       simultaneous directories are open.
1200     * BUG 10429: s3: modules: streaminfo: As we have no VFS function
1201       SMB_VFS_LLISTXATTR we can't cope with a symlink when lp_posix_pathnames()
1202       is true.
1205 o   Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
1206     * BUG 10087: ntlm_auth sometimes returns the wrong username to
1207       mod_ntlm_auth_winbind.
1210 o   Andrew Bartlett <abartlet@samba.org>
1211     * BUG 10418: Fix INTERNAL ERROR: Signal 11 in the kdc pid.
1214 o   Jeffrey Clark <dude@zaplabs.com>
1215     * BUG 10418: Add support for Heimdal's unified krb5 and hdb plugin system.
1218 o   Niels de Vos <ndevos@redhat.com>
1219     * BUG 10384: vfs/glusterfs: In case atime is not passed, set it to the
1220       current atime.
1223 o   David Disseldorp <ddiss@samba.org>
1224     * BUG 10424: vfs_btrfs: Fix incorrect zero length server-side copy request
1225       handling.
1228 o   Volker Lendecke <vl@samba.org>
1229     * BUG 2191: s3-winbind: Improve performance of wb_fill_pwent_sid2uid_done().
1230     * BUG 10415: smbd: Fix memory overwrites.
1231     * BUG 10436: smbd: Fix an ancient oplock bug.
1234 o   Stefan Metzmacher <metze@samba.org>
1235     * BUG 10442: Fix crash bug in smb2_notify code.
1238 o   Andreas Schneider <asn@samba.org>
1239     * BUG 10367: Fix several memory leaks.
1242 o   Jelmer Vernooij <jelmer@samba.org>
1243     * BUG 10418: Cope with first element in hdb_method having a different name
1244       in different heimdal versions.
1247 #######################################
1248 Reporting bugs & Development Discussion
1249 #######################################
1251 Please discuss this release on the samba-technical mailing list or by
1252 joining the #samba-technical IRC channel on irc.freenode.net.
1254 If you do report problems then please try to send high quality
1255 feedback. If you don't provide vital information to help us track down
1256 the problem then you will probably be ignored.  All bug reports should
1257 be filed under the Samba 4.1 product in the project's Bugzilla
1258 database (https://bugzilla.samba.org/).
1261 ======================================================================
1262 == Our Code, Our Bugs, Our Responsibility.
1263 == The Samba Team
1264 ======================================================================
1267 ----------------------------------------------------------------------
1270                    =============================
1271                    Release Notes for Samba 4.1.4
1272                          January 10, 2014
1273                    =============================
1276 This is the latest stable release of Samba 4.1.
1278 Major enhancements in Samba 4.1.4 include:
1280 o  Fix segfault in smbd (bug #10284).
1281 o  Fix SMB2 server panic when a smb2 brlock times out (bug #10311).
1284 Changes since 4.1.3:
1285 --------------------
1287 o   Jeremy Allison <jra@samba.org>
1288     * BUG 9870: smbd: Allow updates on directory write times on open handles.
1289     * BUG 10260: smbclient shows no error if deleting a directory with del
1290       failed.
1291     * BUG 10297: smbd: Fix writing to a directory with -wx permissions
1292       on a share.
1293     * BUG 10305: ldb: bad if test in ldb_comparison_fold().
1296 o   Christian Ambach <ambi@samba.org>
1297     * BUG 10276: Fix waf build error on AIX with IBM XL C/C++.
1298     * BUG 10280: s3:winbindd fix use of uninitialized variables.
1301 o   Michele Baldessari <michele@acksyn.org>
1302     * BUG 10281: Fix typos in man pages.
1305 o   Jan Brummer <jan.brummer@tabos.org>
1306     * BUG 10285: s3-winbindd: Fix DEBUG statement in winbind_msg_offline().
1309 o   Günther Deschner <gd@samba.org>
1310     * BUG 10262: s3-libnetjoin: Use upper-case realm when composing default
1311       upn.
1312     * BUG 10281: Fix numerous typos in man pages.
1315 o   David Disseldorp <ddiss@samba.org>
1316     * BUG 10271: Send correct job-ID in print job notifications.
1319 o   Poornima Gurusiddaiah <pgurusid@redhat.com>
1320     * BUG 10337: vfs_glusterfs: Enable per client log file.
1323 o   Volker Lendecke <vl@samba.org>
1324     * BUG 10250: smbd: Fix a talloc hierarchy problem in msg_channel.
1325     * BUG 10284: smbd: Fix segfaults.
1326     * BUG 10297: smbd: Fix writing to a directory with -wx permissions
1327       on a share.
1328     * BUG 10311: Fix SMB2 server panic when a smb2 brlock times out.
1331 o   Stefan Metzmacher <metze@samba.org>
1332     * BUG 10298: Reduce smb2_server processing overhead.
1335 o   Arvid Requate <requate@univention.de>
1336     * BUG 10267: Fix printing via local printer drivers with Windows 8.
1339 o   Christof Schmitt <cs@samba.org>
1340     * BUG 10310: Fix AIO with SMB2 and locks.
1343 o   Andreas Schneider <asn@samba.org>
1344     * BUG 2191: Fix %G/%g substitution in 'template homedir'.
1345     * BUG 10274: Fix several issues and warnings from analyzer tools.
1346     * BUG 10286: s3-lib: Fix %G substitution for domain users in smbd.
1349 #######################################
1350 Reporting bugs & Development Discussion
1351 #######################################
1353 Please discuss this release on the samba-technical mailing list or by
1354 joining the #samba-technical IRC channel on irc.freenode.net.
1356 If you do report problems then please try to send high quality
1357 feedback. If you don't provide vital information to help us track down
1358 the problem then you will probably be ignored.  All bug reports should
1359 be filed under the Samba 4.1 product in the project's Bugzilla
1360 database (https://bugzilla.samba.org/).
1363 ======================================================================
1364 == Our Code, Our Bugs, Our Responsibility.
1365 == The Samba Team
1366 ======================================================================
1369 ----------------------------------------------------------------------
1372                    =============================
1373                    Release Notes for Samba 4.1.3
1374                          December 9, 2013
1375                    =============================
1378 This is a security release in order to address
1379 CVE-2013-4408 (DCE-RPC fragment length field is incorrectly checked) and
1380 CVE-2012-6150 (pam_winbind login without require_membership_of restrictions).
1382 o  CVE-2013-4408:
1383    Samba versions 3.4.0 and above (versions 3.4.0 - 3.4.17, 3.5.0 -
1384    3.5.22, 3.6.0 - 3.6.21, 4.0.0 - 4.0.12 and including 4.1.2) are
1385    vulnerable to buffer overrun exploits in the client processing of
1386    DCE-RPC packets. This is due to incorrect checking of the DCE-RPC
1387    fragment length in the client code.
1389    This is a critical vulnerability as the DCE-RPC client code is part of
1390    the winbindd authentication and identity mapping daemon, which is
1391    commonly configured as part of many server installations (when joined
1392    to an Active Directory Domain). A malicious Active Directory Domain
1393    Controller or man-in-the-middle attacker impersonating an Active
1394    Directory Domain Controller could achieve root-level access by
1395    compromising the winbindd process.
1397    Samba server versions 3.4.0 - 3.4.17 and versions 3.5.0 - 3.5.22 are
1398    also vulnerable to a denial of service attack (server crash) due to a
1399    similar error in the server code of those versions.
1401    Samba server versions 3.6.0 and above (including all 3.6.x versions,
1402    all 4.0.x versions and 4.1.x) are not vulnerable to this problem.
1404    In addition range checks were missing on arguments returned from calls
1405    to the DCE-RPC functions LookupSids (lsa and samr), LookupNames (lsa and samr)
1406    and LookupRids (samr) which could also cause similar problems.
1408    As this was found during an internal audit of the Samba code there are
1409    no currently known exploits for this problem (as of December 9th 2013).
1411 o  CVE-2012-6150:
1412    Winbind allows for the further restriction of authenticated PAM logins using
1413    the require_membership_of parameter. System administrators may specify a list
1414    of SIDs or groups for which an authenticated user must be a member of. If an
1415    authenticated user does not belong to any of the entries, then login should
1416    fail. Invalid group name entries are ignored.
1418    Samba versions 3.3.10, 3.4.3, 3.5.0 and later incorrectly allow login from
1419    authenticated users if the require_membership_of parameter specifies only
1420    invalid group names.
1422    This is a vulnerability with low impact. All require_membership_of group
1423    names must be invalid for this bug to be encountered.
1426 Changes since 4.1.2:
1427 --------------------
1429 o   Jeremy Allison <jra@samba.org>
1430     * BUG 10185: CVE-2013-4408: Correctly check DCE-RPC fragment length field.
1433 o   Stefan Metzmacher <metze@samba.org>
1434     * BUG 10185: CVE-2013-4408: Correctly check DCE-RPC fragment length field.
1437 o   Noel Power <noel.power@suse.com>
1438     * BUGs 10300, 10306: CVE-2012-6150: Fail authentication if user isn't
1439       member of *any* require_membership_of specified groups.
1442 #######################################
1443 Reporting bugs & Development Discussion
1444 #######################################
1446 Please discuss this release on the samba-technical mailing list or by
1447 joining the #samba-technical IRC channel on irc.freenode.net.
1449 If you do report problems then please try to send high quality
1450 feedback. If you don't provide vital information to help us track down
1451 the problem then you will probably be ignored.  All bug reports should
1452 be filed under the Samba 4.1 product in the project's Bugzilla
1453 database (https://bugzilla.samba.org/).
1456 ======================================================================
1457 == Our Code, Our Bugs, Our Responsibility.
1458 == The Samba Team
1459 ======================================================================
1462 ----------------------------------------------------------------------
1465                    =============================
1466                    Release Notes for Samba 4.1.2
1467                          November 22, 2013
1468                    =============================
1471 This is is the latest stable release of Samba 4.1.
1474 Changes since 4.1.1:
1475 --------------------
1477 o   Jeremy Allison <jra@samba.org>
1478     * BUG 10187: Missing talloc_free can leak stackframe in error path.
1479     * BUG 10196: RW Deny for a specific user is not overriding RW Allow for a
1480       group.
1483 o   Anand Avati <avati@redhat.com>
1484     * BUG 10224: vfs_glusterfs: Implement proper mashalling/unmarshalling of
1485       ACLs.
1488 o   Andrew Bartlett <abartlet@samba.org>
1489     * BUG 10052: dfs_server: Use dsdb_search_one to catch 0 results as well as
1490       NO_SUCH_OBJECT errors.
1493 o   Samuel Cabrero <scabrero@zentyal.com>
1494     * BUG 9091: s4-dns: dlz_bind9: Create dns-HOSTNAME account disabled.
1497 o   Günther Deschner <gd@samba.org>
1498     * BUG 10264: s3-winbindd: Fix cache_traverse_validate_fn failure for
1499       NDR cache entries.
1502 o   Christopher R. Hertel <crh@redhat.com>
1503     * BUG 10224: vfs_glusterfs: Fix excessive debug output from
1504       vfs_gluster_open().
1507 o   Björn Jacke <bj@sernet.de>
1508     * BUG 10247: xattr: Fix listing EAs on *BSD for non-root users.
1511 o   Volker Lendecke <vl@samba.org>
1512     * BUG 10190: Fix memset used with constant zero length parameter.
1513     * BUG 10195: nsswitch: Fix short writes in winbind_write_sock.
1516 o   Stefan Metzmacher <metze@samba.org>
1517     * BUG 10193: s4:dsdb/rootdse: report 'dnsHostName' instead of 'dNSHostName'.
1518     * BUG 10232: libcli/smb: Fix smb2cli_ioctl*() against Windows 2008.
1521 o   Susant Kumar Palai <spalai@redhat.com>
1522     * BUG 10224: VFS plugin was sending the actual size of the volume instead of
1523       the total number of block units because of which windows was getting the
1524       wrong volume capacity.
1527 o   Andreas Schneider <asn@samba.org>
1528     * BUG 10194: Make offline logon cache updating for cross child domain group
1529       membership.
1530     * BUG 10269: util: Remove 32bit macros breaking strict aliasing.
1531     * BUG 10253: Fix the build of vfs_glusterfs.
1534 #######################################
1535 Reporting bugs & Development Discussion
1536 #######################################
1538 Please discuss this release on the samba-technical mailing list or by
1539 joining the #samba-technical IRC channel on irc.freenode.net.
1541 If you do report problems then please try to send high quality
1542 feedback. If you don't provide vital information to help us track down
1543 the problem then you will probably be ignored.  All bug reports should
1544 be filed under the Samba 4.1 product in the project's Bugzilla
1545 database (https://bugzilla.samba.org/).
1548 ======================================================================
1549 == Our Code, Our Bugs, Our Responsibility.
1550 == The Samba Team
1551 ======================================================================
1554 ----------------------------------------------------------------------
1557                    =============================
1558                    Release Notes for Samba 4.1.1
1559                          November 11, 2013
1560                    =============================
1563 This is a security release in order to address
1564 CVE-2013-4475 (ACLs are not checked on opening an alternate
1565 data stream on a file or directory) and
1566 CVE-2013-4476 (Private key in key.pem world readable).
1568 o  CVE-2013-4475:
1569    Samba versions 3.2.0 and above (all versions of 3.2.x, 3.3.x,
1570    3.4.x, 3.5.x, 3.6.x, 4.0.x and 4.1.x) do not check the underlying
1571    file or directory ACL when opening an alternate data stream.
1573    According to the SMB1 and SMB2+ protocols the ACL on an underlying
1574    file or directory should control what access is allowed to alternate
1575    data streams that are associated with the file or directory.
1577    By default no version of Samba supports alternate data streams
1578    on files or directories.
1580    Samba can be configured to support alternate data streams by loading
1581    either one of two virtual file system modues (VFS) vfs_streams_depot or
1582    vfs_streams_xattr supplied with Samba, so this bug only affects Samba
1583    servers configured this way.
1585    To determine if your server is vulnerable, check for the strings
1586    "streams_depot" or "streams_xattr" inside your smb.conf configuration
1587    file.
1589 o  CVE-2013-4476:
1590    In setups which provide ldap(s) and/or https services, the private
1591    key for SSL/TLS encryption might be world readable. This typically
1592    happens in active directory domain controller setups.
1595 Changes since 4.1.0:
1596 --------------------
1598 o   Jeremy Allison <jra@samba.org>
1599     * BUGs 10234 + 10229: CVE-2013-4475: Fix access check verification on stream
1600       files.
1603 o   Björn Baumbach <bb@sernet.de>
1604     * BUG 10234: CVE-2013-4476: Private key in key.pem world readable.
1607 #######################################
1608 Reporting bugs & Development Discussion
1609 #######################################
1611 Please discuss this release on the samba-technical mailing list or by
1612 joining the #samba-technical IRC channel on irc.freenode.net.
1614 If you do report problems then please try to send high quality
1615 feedback. If you don't provide vital information to help us track down
1616 the problem then you will probably be ignored.  All bug reports should
1617 be filed under the Samba 4.1 product in the project's Bugzilla
1618 database (https://bugzilla.samba.org/).
1621 ======================================================================
1622 == Our Code, Our Bugs, Our Responsibility.
1623 == The Samba Team
1624 ======================================================================
1627 ----------------------------------------------------------------------
1630                    =============================
1631                    Release Notes for Samba 4.1.0
1632                          October 11, 2013
1633                    =============================
1636 This is is the first stable release of Samba 4.1.
1638 Samba 4.1 will be the next version of the Samba suite and includes
1639 all the technology found in both the Samba4 series and the stable 3.x
1640 series. The primary additional features over Samba 3.6 are
1641 support for the Active Directory logon protocols used by Windows 2000
1642 and above.
1644 Major enhancements in Samba 4.1.0 include:
1646 Client tools support SMB2/3
1647 ===========================
1649 Samba 4.1.0 contains the first release of our client tools
1650 and client library that work over the new protocols SMB2 or SMB3.
1651 Note that SMB3 only works either to a Samba server version 4.0.0
1652 or above, or to a Windows Server running Windows 2012 or Windows 8.
1654 The default protocol for smbclient and smbcacls is still
1655 SMB1 (the NT1 protocol dialect). An SMB2 or SMB3 connection
1656 can be selected in one of two ways. The easiest way to test
1657 the new protocol connection is to add the -mMAX_PROTOCOL
1658 command line switch to either smbclient or smbcacls.
1660 For example, to connect using SMB3 with smbclient a user
1661 would type:
1663 smbclient //server/share -Uuser%password -mSMB3
1665 Another example of connecting using SMB2 using smbcacls
1666 would be:
1668 smbcacls //server/share -Uuser%password -mSMB2 filename
1670 Note that when connecting using SMB2 or SMB3 protocols
1671 the UNIX extensions are no longer available inside the
1672 smbclient command set. This is due to UNIX extensions
1673 not yet being defined for the SMB2 or SMB3 protocols.
1675 The second way to select SMB2 or SMB3 connections is to
1676 set the "client max protocol" parameter in the [global]
1677 section of your smb.conf.
1679 Setting this parameter will cause all client connections
1680 from Samba and its client tools to offer the requested
1681 max protocol to a server on every connection request.
1683 For example, to cause all client tools (including winbindd,
1684 rpcclient, and the libsmbclient library) to attempt use SMB3
1685 by default add the line:
1687 client max protocol = SMB3
1689 to the [global] section of your smb.conf. This has not
1690 been as widely tested as the -mPROTOCOL options, but
1691 is intended to work correctly in the final release of
1692 4.1.0.
1694 Encrypted transport
1695 ===================
1697 Although Samba servers have supported encrypted transport
1698 connections using the UNIX extensions for many years,
1699 selecting SMB3 transport allows encrypted transport
1700 connections to Windows servers that support SMB3, as
1701 well as Samba servers.
1703 In order to enable this, add the "-e" option to the
1704 smbclient command line.
1706 For example, to connect to a Windows 2012 server over
1707 SMB3 and select an encrypted transport you would use
1708 the following command line:
1710 smbclient //Win2012Server/share -Uuser%password -mSMB3 -e
1713 Directory database replication (AD DC mode)
1714 ===========================================
1716 Directory replication has been reworked in order to improve the
1717 correctness and efficiency.
1718 As a net effect of it, replication with other domain controllers with
1719 a heavily modified schema is now possible (ie. Windows 2012 DCs or
1720 other Windows DC with exchange installed) and replication didn't fail
1721 anymore in such environments.
1724 Server-Side Copy Support
1725 ========================
1727 Samba 4.1.0 adds support for server-side copy operations via the SMB2
1728 FSCTL_SRV_COPYCHUNK request. Clients making use of server-side copy
1729 support, such as Windows Server 2012, should experience considerable
1730 performance improvements for file copy operations, as file data need not
1731 traverse the network.
1732 This feature is enabled by default on the smbd file server.
1735 Btrfs Filesystem Integration
1736 ============================
1738 The Btrfs VFS module provided with Samba 4.1.0 further improves the
1739 performance of server-side copy operations on shares backed by a Btrfs
1740 filesystem. It does so by allowing multiple files to share the same
1741 on-disk extents, avoiding the unnecessary duplication of source and
1742 destination file data during a server-side copy operation.
1744 This feature can be explicitly enabled on smbd shares backed by a Btrfs
1745 filesystem with the smb.conf parameter:
1746 vfs objects = btrfs
1749 REMOVED COMPONENTS
1750 ==================
1752 The Samba Web Administration Tool (SWAT) has been removed.
1753 Details why SWAT has been removed can be found on the samba-technical mailing
1754 list:
1756 https://lists.samba.org/archive/samba-technical/2013-February/090572.html
1759 ######################################################################
1760 Changes
1761 #######
1763 smb.conf changes
1764 ----------------
1766    Parameter Name                       Description     Default
1767    --------------                       -----------     -------
1769    acl allow execute always             New             False
1770    password level                       Removed
1771    set directory                        Removed
1772    use ntdb                             New             No
1775 RUNNING Samba 4.1 as an AD DC
1776 =============================
1778 A short guide to setting up Samba as an AD DC can be found on the wiki:
1780   https://wiki.samba.org/index.php/Samba_AD_DC_HOWTO
1783 COMMIT HIGHLIGHTS
1784 =================
1786 o   Jeremy Allison <jra@samba.org>
1787     * Add SMB2 and SMB3 support for client tools and client library.
1788     * Add support for SMB3 Encrypted transport.
1791 o   David Disseldorp <ddiss@samba.org>
1792     * Add vfs_btrfs module.
1793     * Add support for server-side copy operations via the
1794       SMB2 FSCTL_SRV_COPYCHUNK request.
1797 CHANGES SINCE 4.1.0rc4
1798 ======================
1800 o   Stefan Metzmacher <metze@samba.org>
1801     * BUG 10178: Fix PAC parsing failure.
1804 o   Andreas Schneider <asn@samba.org>
1805     * BUG 10132: pam_winbindd: Support the KEYRING ccache type.
1808 CHANGES SINCE 4.1.0rc3
1809 ======================
1811 o   Michael Adam <obnox@samba.org>
1812     * BUG 10134: Add "acl allow execute always" parameter.
1815 o   Jeremy Allison <jra@samba.org>
1816     * BUG 10139: Valid utf8 filenames cause "invalid conversion error"
1817       messages.
1818     * BUG 10145: Samba SMB2 client code reads the wrong short name length in a
1819       directory listing reply.
1820     * BUG 10149: cli_smb2_get_ea_list_path() failed to close file on exit.
1821     * BUG 10150: Not all OEM servers support the ALTNAME info level.
1824 o   Andrew Bartlett <abartlet@samba.org>
1825     * BUG 8077: dsdb: Convert the full string from UTF16 to UTF8, including
1826       embedded NULLs.
1827     * BUG 9461: python-samba-tool fsmo: Do not give an error on a successful
1828       role transfer.
1829     * BUG 10157: Regression causes replication failure with Windows 2008R2 and
1830       deletes Deleted Objects.
1833 o   Günther Deschner <gd@samba.org>
1834     * BUG 10147: Better document potential implications of a globally used
1835       "valid users".
1838 o   Korobkin <korobkin+samba@gmail.com>
1839     * BUG 10118: Raise the level of a debug when unable to open a printer.
1842 o   Volker Lendecke <vl@samba.org>
1843     * BUG 10008: dbwrap_ctdb: Treat empty records as non-existing.
1844     * BUG 10138: smbd: Always clean up share modes after hard crash.
1847 o   Daniel Liberman <danielvl@gmail.com>
1848     * BUG 10162: Fix POSIX ACL mapping when setting DENY ACE's from Windows.
1851 o   Stefan Metzmacher <metze@samba.org>
1852     * BUG 10144: libcli/smb: Use SMB1 MID=0 for the initial Negprot.
1853     * BUG 10146: libcli/smb: Only check the SMB2 session setup signature if
1854       required and valid.
1857 o   Matthieu Patou <mat@matws.net>
1858     * BUG 10158: Netbios related samba process consumes 100% CPU.
1861 o   Christof Schmitt <christof.schmitt@us.ibm.com>
1862     * BUG 10137: vfs_shadow_copy2: Display previous versions correctly over
1863       SMB2.
1866 CHANGES SINCE 4.1.0rc2
1867 ======================
1869 o   Michael Adam <obnox@samba.org>
1870     * BUG 10107: Fix Winbind crashes on DC with trusted AD domains.
1873 o   Jeremy Allison <jra@samba.org>
1874     * BUG 5917: Fix working on site with Read Only Domain Controller.
1875     * BUG 9974: Add SMB2 and SMB3 support for smbclient.
1876     * BUG 10063: Fix memory leak in source3/lib/util.c:1493.
1877     * BUG 10121: Masks incorrectly applied to UNIX extension permission
1878       changes.
1881 o   Christian Ambach <ambi@samba.org>
1882     * BUG 9911: Build Samba 4.0.x on AIX with IBM XL C/C++.
1885 o   Andrew Bartlett <abartlet@samba.org>
1886     * BUG 9091: When replicating DNS for bind9_dlz we need to create the
1887       server-DNS account remotely.
1890 o   Günther Deschner <gd@samba.org>
1891     * BUG 9615: Winbind unable to retrieve user information from AD.
1892     * BUG 9899: winbind_lookup_names() fails because of
1893       NT_STATUS_CANT_ACCESS_DOMAIN_INFO.
1894     * BUG 10107: Fix Winbind crashes on DC with trusted AD domains.
1897 o   Volker Lendecke <vl@samba.org>
1898     * BUG 10086: smbd: Fix async echo handler forking.
1899     * BUG 10106: Honour output buffer length set by the client for SMB2 GetInfo
1900       requests.
1901     * BUG 10114: Handle Dropbox (write-only-directory) case correctly
1902       in pathname lookup.
1905 o   Stefan Metzmacher <metze@samba.org>
1906     * BUG 10030: ::1 added to nameserver on join.
1909 o   Rusty Russell <rusty@rustcorp.com.au>
1910     * BUG 10000: Add man pages for ntdb tools.
1913 o   Karolin Seeger <kseeger@samba.org>
1914     * BUG 7364: Add man page for vfs_syncops.
1915     * BUG 7490: Add man page for vfs_linux_xfs_sgid.
1916     * BUG 10001: Add man page for samba-regedit tool.
1917     * BUG 10076: Fix variable list in vfs_crossrename man page.
1920 o   Andreas Schneider <asn@samba.org>
1921     * BUG 10073: Fix segmentation fault in 'net ads join'.
1922     * BUG 10082: s3-winbind: Fix a segfault passing NULL to a fstring argument.
1925 o   Richard Sharpe <realrichardsharpe@gmail.com>
1926     * BUG 10097: MacOSX 10.9 will not follow path-based DFS referrals handed
1927       out by Samba.
1930 o   Ralph Wuerthner <ralph.wuerthner@de.ibm.com>
1931     * BUG 10106: Honour output buffer length set by the client for SMB2 GetInfo
1932       requests.
1935 CHANGES SINCE 4.1.0rc1
1936 ======================
1938 o   Jeremy Allison <jra@samba.org>
1939     * BUG 9992: Windows error 0x800700FE when copying files with xattr names
1940       containing ":".
1941     * BUG 10010: Missing integer wrap protection in EA list reading can cause
1942       server to loop with DOS (CVE-2013-4124).
1943     * BUG 10064: Linux kernel oplock breaks can miss signals.
1946 o   Andrew Bartlett <abartlet@samba.org>
1947     * BUG 9029: Fix replication with --domain-crictical-only to fill in
1948       backlinks.
1949     * BUG 9820: Fix crash of winbind after "ls -l
1950       /usr/local/samba/var/locks/sysvol".
1951     * BUG 10056: dsdb improvements.
1954 o   Björn Baumbach <bb@sernet.de>
1955     * BUG 10003: Fix segfault while reading incomplete session info.
1958 o   Gregor Beck <gbeck@sernet.de>
1959     * BUG 9678: Windows 8 Roaming profiles fail.
1962 o   Günther Deschner <gd@samba.org>
1963     * BUG 10043: Allow to change the default location for Kerberos credential
1964       caches.
1967 o   Volker Lendecke <vl@samba.org>
1968     * BUG 10013: Fix a 100% loop at shutdown time (smbd).
1971 o   Stefan Metzmacher <metze@samba.org>
1972     * BUG 9820: Fix crash of winbind after "ls -l
1973       /usr/local/samba/var/locks/sysvol".
1974     * BUG 10015: Fix/improve debug options.
1975     * BUG 10042: Fix crashes in socket_get_local_addr().
1976     * BUG 10056: dsdb improvements.
1979 o   Andreas Schneider <asn@samba.org>
1980     * BUG 9994: Do not delete an existing valid credential cache (s3-winbind).
1981     * BUG 10040: Rename regedit to samba-regedit.
1982     * BUG 10041: Remove obsolete swat manpage and references.
1983     * BUG 10048: nsswitch: Add OPT_KRB5CCNAME to avoid an error message.
1986 o   Alexander Werth <alexander.werth@de.ibm.com>
1987     * BUG 10045: Remove a redundant inlined substitution of ACLs.
1990 o   Ralph Wuerthner <ralphw@de.ibm.com>
1991     * BUG 10064: Linux kernel oplock breaks can miss signals.
1994 #######################################
1995 Reporting bugs & Development Discussion
1996 #######################################
1998 Please discuss this release on the samba-technical mailing list or by
1999 joining the #samba-technical IRC channel on irc.freenode.net.
2001 If you do report problems then please try to send high quality
2002 feedback. If you don't provide vital information to help us track down
2003 the problem then you will probably be ignored.  All bug reports should
2004 be filed under the Samba 4.1 product in the project's Bugzilla
2005 database (https://bugzilla.samba.org/).
2008 ======================================================================
2009 == Our Code, Our Bugs, Our Responsibility.
2010 == The Samba Team
2011 ======================================================================