vfs: Fix a typo
[Samba.git] / WHATSNEW.txt
blob81a1d56ed0f0d9ab5e8a22d72cf869340721378c
1                    ==============================
2                    Release Notes for Samba 4.1.16
3                           January 15, 2015
4                    ==============================
7 This is a security release in order to address CVE-2014-8143 (Elevation
8 of privilege to Active Directory Domain Controller).
10 o  CVE-2014-8143:
11    Samba's AD DC allows the administrator to delegate
12    creation of user or computer accounts to specific users or groups.
14    However, all released versions of Samba's AD DC did not implement the
15    additional required check on the UF_SERVER_TRUST_ACCOUNT bit in the
16    userAccountControl attributes.
19 Changes since 4.1.15:
20 ---------------------
22 o   Andrew Bartlett <abartlet@samba.org>
23     * BUG 10993: CVE-2014-8143: dsdb-samldb: Check for extended access
24       rights before we allow changes to userAccountControl.
27 #######################################
28 Reporting bugs & Development Discussion
29 #######################################
31 Please discuss this release on the samba-technical mailing list or by
32 joining the #samba-technical IRC channel on irc.freenode.net.
34 If you do report problems then please try to send high quality
35 feedback. If you don't provide vital information to help us track down
36 the problem then you will probably be ignored.  All bug reports should
37 be filed under the Samba 4.1 product in the project's Bugzilla
38 database (https://bugzilla.samba.org/).
41 ======================================================================
42 == Our Code, Our Bugs, Our Responsibility.
43 == The Samba Team
44 ======================================================================
47 Release notes for older releases follow:
48 ----------------------------------------
50 ======================================================================
52                    ==============================
53                    Release Notes for Samba 4.1.15
54                           January 12, 2015
55                    ==============================
58 This is the latest stable release of Samba 4.1.
61 Changes since 4.1.14:
62 ---------------------
64 o   Jeremy Allison <jra@samba.org>
65     * BUG 10966: libcli: SMB2: Pure SMB2-only negprot fix to make us behave as a
66       Windows client does.
67     * BUG 10982 s3: smbd/modules: Fix *allocate* calls to follow POSIX error
68       return convention.
71 o   Christian Ambach <ambi@samba.org>
72     * BUG 9629: Fix profiles tool.
75 o   Samuel Cabrero <scabrero@zentyal.com>
76     * BUG 11006: idl:drsuapi: Manage all possible lengths of drsuapi_DsBindInfo.
79 o   Günther Deschner <gd@samba.org>
80     * BUG 9056: pam_winbind: Fix warn_pwd_expire implementation.
83 o   Guenter Kukkukk <linux@kukkukk.com>
84     * BUG 10952: s4-rpc: dnsserver: Fix enumeration of IPv4 and IPv6 addresses.
87 o   Stefan Metzmacher <metze@samba.org>
88     * BUG 9299: nsswitch: Fix soname of linux nss_*.so.2 modules.
89     * BUG 10949: s4:dsdb/rootdse: Expand extended dn values with the AS_SYSTEM
90       control.
91     * BUG 10958: s3:smb2_server: Allow reauthentication without signing.
92     * BUG 11006: Fix 'domain join' by adding 'drsuapi.DsBindInfoFallBack'
93       attribute 'supported_extensions'.
96 o   Matthieu Patou <mat@matws.net>
97     * BUG 11006: Fix 'domain join' by adding 'drsuapi.DsBindInfoFallBack'
98       attribute 'supported_extensions'.
101 o   Christof Schmitt <cs@samba.org>
102     * BUG 11034: winbind: Retry LogonControl RPC in ping-dc after session
103       expiration.
106 o   Andreas Schneider <asn@samba.org>
107     * BUG 10279: s3-lib: Do not require a password with --use-ccache.
108     * BUG 10960: s3-smbclient: Return success if we listed the shares.
109     * BUG 10961: s3-smbstatus: Fix exit code of profile output.
112 #######################################
113 Reporting bugs & Development Discussion
114 #######################################
116 Please discuss this release on the samba-technical mailing list or by
117 joining the #samba-technical IRC channel on irc.freenode.net.
119 If you do report problems then please try to send high quality
120 feedback. If you don't provide vital information to help us track down
121 the problem then you will probably be ignored.  All bug reports should
122 be filed under the Samba 4.1 product in the project's Bugzilla
123 database (https://bugzilla.samba.org/).
126 ======================================================================
127 == Our Code, Our Bugs, Our Responsibility.
128 == The Samba Team
129 ======================================================================
132 ----------------------------------------------------------------------
135                    ==============================
136                    Release Notes for Samba 4.1.14
137                           December 1, 2014
138                    ==============================
141 This is the latest stable release of Samba 4.1.
144 Changes since 4.1.13:
145 ---------------------
147 o   Michael Adam <obnox@samba.org>
148     * BUG 10472: Revert buildtools/wafadmin/Tools/perl.py back to upstream
149       state.
152 o   Jeremy Allison <jra@samba.org>
153     * BUG 10711: nmbd fails to accept "--piddir" option.
154     * BUG 10896: s3-nmbd: Fix netbios name truncation.
155     * BUG 10904: s3: libsmbclient-smb2. MacOSX 10 SMB2 server doesn't set
156       STATUS_NO_MORE_FILES when handed a non-wildcard path.
157     * BUG 10920: s3: nmbd: Ensure NetBIOS names are only 15 characters stored.
160 o   Günther Deschner <gd@samba.org>
161     * BUG 10942: Cleanup add_string_to_array and usage.
164 o   David Disseldorp <ddiss@samba.org>
165     * BUG 10898: spoolss: Fix handling of bad EnumJobs levels.
166     * BUG 10905: spoolss: Fix jobid in level 3 EnumJobs response.
169 o   Amitay Isaacs <amitay@gmail.com>
170     * BUG 10620: s4-dns: Add support for BIND 9.10.
173 o   Björn Jacke <bj@sernet.de>
174     * BUG 10835: nss_winbind: Add getgroupmembership for FreeBSD.
177 o   Volker Lendecke <vl@samba.org>
178     * BUG 10932: pdb_tdb: Fix a TALLOC/SAFE_FREE mixup.
181 o   Stefan Metzmacher <metze@samba.org>
182     * BUG 10472: pidl/wscript: Remove --with-perl-* options.
183     * BUG 10921: s3:smbd: Fix file corruption using "write cache size != 0".
186 o   Jose A. Rivera <jarrpa@redhat.com>
187     * BUG 10889: vfs_glusterfs: Remove "integer fd" code and store the glfs
188       pointers.
191 o   Matt Rogers <mrogers@redhat.com>
192     * BUG 10933: s3-keytab: Fix keytab array NULL termination.
195 o   Richard Sharpe <realrichardsharpe@gmail.com>
196     * BUG 10880: S3: source3/smbd/process.c::srv_send_smb() returns true on the
197       error path.
200 #######################################
201 Reporting bugs & Development Discussion
202 #######################################
204 Please discuss this release on the samba-technical mailing list or by
205 joining the #samba-technical IRC channel on irc.freenode.net.
207 If you do report problems then please try to send high quality
208 feedback. If you don't provide vital information to help us track down
209 the problem then you will probably be ignored.  All bug reports should
210 be filed under the Samba 4.1 product in the project's Bugzilla
211 database (https://bugzilla.samba.org/).
214 ======================================================================
215 == Our Code, Our Bugs, Our Responsibility.
216 == The Samba Team
217 ======================================================================
220 ----------------------------------------------------------------------
223                    ==============================
224                    Release Notes for Samba 4.1.13
225                          October 20, 2014
226                    ==============================
229 This is the latest stable release of Samba 4.1.
232 Changes since 4.1.12:
233 ---------------------
235 o    Michael Adam <obnox@samba.org>
236      * BUG 10809: s3:smbd:open_file: Use a more natural check.
239 o   Jeremy Allison <jra@samba.org>
240     * BUG 10717: s3: winbindd: Old NT Domain code sets struct
241       winbind_domain->alt_name to be NULL. Ensure this is safe with modern
242       AD-DCs.
243     * BUG 10779: pthreadpool: Slightly serialize jobs.
244     * BUG 10809: s3: smbd: Open logic fix.
245     * BUG 10830: s3: nmbd: Ensure the main nmbd process doesn't create zombies.
246     * BUG 10831: s3: lib: Signal handling - ensure smbrun and change password
247       code save and restore existing SIGCHLD handlers.
248     * BUG 10848: s3: smb2cli: Query info return length check was reversed.
251 o   Günther Deschner <gd@samba.org>
252     * BUG 9984: s3-libnet: Make sure we do not overwrite precreated SPNs.
255 o   Björn Jacke <bj@sernet.de
256     * BUG 10814: docs: Mention incompatibility between kernel oplocks and
257       streams_xattr.
260 o   Volker Lendecke <vl@samba.org>
261     * BUG 10735: Fix unstrcpy.
262     * BUG 10797: s3: smbd: streams - Ensure share mode validation ignores
263       internal opens (op_mid == 0).
264     * BUG 10813: vfs_media_harmony: Fix a crash bug.
265     * BUG 10860: registry: Don't leave dangling transactions.
268 o   Christof Schmitt <cs@samba.org>
269     * BUG 10826: s3-winbindd: Use correct realm for trusted domains in idmap
270       child.
271     * BUG 10837: idmap_rfc2307: Fix a crash after connection problem to DC.
272     * BUG 10838: s3-winbindd: Do not use domain SID from LookupSids for
273       Sids2UnixIDs call.
276 o   Andreas Schneider <asn@samba.org>
277     * BUG 9984: s3-libnet: Add libnet_join_get_machine_spns().
278     * BUG 9985: s3-libads: Add all machine account principals to the keytab.
279     * BUG 10816: nmbd: Send waiting status to systemd.
280     * BUG 10817: libcli: Fix a segfault calling smbXcli_req_set_pending() on
281       NULL.
282     * BUG 10824: nsswitch: Skip groups we were not able to map.
285 #######################################
286 Reporting bugs & Development Discussion
287 #######################################
289 Please discuss this release on the samba-technical mailing list or by
290 joining the #samba-technical IRC channel on irc.freenode.net.
292 If you do report problems then please try to send high quality
293 feedback. If you don't provide vital information to help us track down
294 the problem then you will probably be ignored.  All bug reports should
295 be filed under the Samba 4.1 product in the project's Bugzilla
296 database (https://bugzilla.samba.org/).
299 ======================================================================
300 == Our Code, Our Bugs, Our Responsibility.
301 == The Samba Team
302 ======================================================================
305 ----------------------------------------------------------------------
308                    ==============================
309                    Release Notes for Samba 4.1.12
310                          September 8, 2014
311                    ==============================
314 This is the latest stable release of Samba 4.1.
316 Major enhancements in Samba 4.1.12 include:
318 o  New parameter "winbind request timeout" has been added (bug #3204). Please
319    see smb.conf man page for details.
320 o  Fix smbd crashes when filename contains non-ascii character (bug #10716).
321 o  dnsserver: Handle updates of tombstoned dnsNode objects (bug #10749).
324 Changes since 4.1.11:
325 ---------------------
327 o   Michael Adam <obnox@samba.org>
328     * BUG 10369: build: Fix configure to honour '--without-dmapi'.
329     * BUG 10737: s3:idmap: Don't log missing range config if range checking not
330       requested.
331     * BUG 10741: Fix flapping VFS gpfs offline bit.
334 o   Jeremy Allison <jra@samba.org>
335     * BUG 3204: s3: winbindd: On new client connect, prune idle or hung
336       connections older than "winbind request timeout". Add new parameter
337       "winbind request timeout".
338     * BUG 10640: lib: tevent: make TEVENT_SIG_INCREMENT atomic.
339     * BUG 10650: Make "case sensitive = True" option working with
340       "max protocol = SMB2" or higher in large directories.
341     * BUG 10716: Fix smbd crashes when filename contains non-ascii
342       character.
343     * BUG 10728: 'net time': Fix usage and core dump.
344     * BUG 10773: s3: smbd: POSIX ACLs. Remove incorrect check for
345       SECINFO_PROTECTED_DACL in incoming security_information flags in
346       posix_get_nt_acl_common().
347     * BUG 10794: vfs_dirsort: Fix an off-by-one error that can cause
348       uninitialized memory read.
351 o   Björn Baumbach <bb@sernet.de>
352     * BUG 10543: s3: Enforce a positive allocation_file_size for non-empty
353       files.
356 o   Kai Blin <kai@samba.org>
357     * BUG 10466: provision: Correctly provision the SOA record minimum TTL.
360 o   David Disseldorp <ddiss@samba.org>
361     * BUG 10652: Samba 4 consuming a lot of CPU when re-reading printcap info.
362     * BUG 10787: dosmode: Fix FSCTL_SET_SPARSE request validation.
365 o   Amitay Isaacs <amitay@gmail.com>
366     * BUG 10742: s4-rpc: dnsserver: Allow . to be specified for @ record.
369 o   Daniel Kobras <d.kobras@science-computing.de>
370     * BUG 10731: sys_poll_intr: Fix timeout arithmetic.
373 o   Ross Lagerwall <rosslagerwall@gmail.com>
374     * BUG 10778: s3:libsmb: Set a max charge for SMB2 connections.
377 o   Volker Lendecke <vl@samba.org>
378     * BUG 10716: lib: strings: Simplify strcasecmp.
379     * BUG 10758: lib: Remove unused nstrcpy.
380     * BUG 10782: smbd: Properly initialize mangle_hash.
383 o   Stefan Metzmacher <metze@samba.org>
384     * BUG 9831: s4:setup/dns_update_list: make use of the new substitution
385       variables.
386     * BUG 10723: Allow netr_ServerReqChallenge() and netr_ServerAuthenticate3()
387       on different connections.
388     * BUG 10749: s4-rpc: dnsserver: Handle updates of tombstoned dnsNode
389       objects.
390     * BUG 10751: s4-rpc: dnsserver: return DNS_RANK_NS_GLUE recors when
391       explicitly asked for.
392     * BUG 10773: libcli/security: Add better detection of
393       SECINFO_[UN]PROTECTED_[D|S]ACL in get_sec_info().
396 o   Marc Muehlfeld <mmuehlfeld@samba.org>
397     * BUG 10761: docs: Fix typos in smb.conf (inherit acls).
400 o   Shirish Pargaonkar <spargaonkar@suse.com>
401     * BUG 10755: samba: Retain case sensitivity of cifs client.
404 o   Arvid Requate <requate@univention.de>
405     * BUG 9570: passdb: Fix NT_STATUS_NO_SUCH_GROUP.
408 o   Har Gagan Sahai <SHarGagan@novell.com>
409     * BUG 10759: Fix a memory leak in cli_set_mntpoint().
412 o   Roel van Meer <roel@1afa.com>
413     * BUG 10777: Don't discard result of checking grouptype.
416 #######################################
417 Reporting bugs & Development Discussion
418 #######################################
420 Please discuss this release on the samba-technical mailing list or by
421 joining the #samba-technical IRC channel on irc.freenode.net.
423 If you do report problems then please try to send high quality
424 feedback. If you don't provide vital information to help us track down
425 the problem then you will probably be ignored.  All bug reports should
426 be filed under the Samba 4.1 product in the project's Bugzilla
427 database (https://bugzilla.samba.org/).
430 ======================================================================
431 == Our Code, Our Bugs, Our Responsibility.
432 == The Samba Team
433 ======================================================================
436 ----------------------------------------------------------------------
439                    ==============================
440                    Release Notes for Samba 4.1.11
441                            August 1, 2014
442                    ==============================
445 This is a security release in order to address
446 CVE-2014-3560 (Remote code execution in nmbd).
448 o  CVE-2014-3560:
449    Samba 4.0.0 to 4.1.10 are affected by a remote code execution attack on
450    unauthenticated nmbd NetBIOS name services.
452    A malicious browser can send packets that may overwrite the heap of
453    the target nmbd NetBIOS name services daemon. It may be possible to
454    use this to generate a remote code execution vulnerability as the
455    superuser (root).
458 Changes since 4.1.10:
459 ---------------------
461 o   Volker Lendecke <vl@samba.org>
462     * BUG 10735: CVE-2014-3560: Fix unstrcpy macro length.
465 #######################################
466 Reporting bugs & Development Discussion
467 #######################################
469 Please discuss this release on the samba-technical mailing list or by
470 joining the #samba-technical IRC channel on irc.freenode.net.
472 If you do report problems then please try to send high quality
473 feedback. If you don't provide vital information to help us track down
474 the problem then you will probably be ignored.  All bug reports should
475 be filed under the Samba 4.1 product in the project's Bugzilla
476 database (https://bugzilla.samba.org/).
479 ======================================================================
480 == Our Code, Our Bugs, Our Responsibility.
481 == The Samba Team
482 ======================================================================
485 ----------------------------------------------------------------------
488                    ==============================
489                    Release Notes for Samba 4.1.10
490                            July 28, 2014
491                    ==============================
494 This is the latest stable release of Samba 4.1.
497 Changes since 4.1.9:
498 --------------------
500 o   Michael Adam <obnox@samba.org>
501     * BUG 10693: Backport ldb-1.1.17 + changes from master.
504 o   Jeremy Allison <jra@samba.org>
505     * BUG 10587: s3: libsmbclient: Work around bugs in SLES cifsd and Apple smbx
506       SMB1 servers.
507     * BUG 10653: Samba won't start on a machine configured with only IPv4.
508     * BUG 10671: s3: smbd: Prevent file truncation on an open that fails with
509       share mode violation.
510     * BUG 10673: s3: SMB2: Fix leak of blocking lock records in the database.
511     * BUG 10684: SMB1 blocking locks can fail notification on unlock, causing
512       client timeout.
513     * BUG 10685: s3: smbd: Locking, fix off-by one calculation in
514       brl_pending_overlap().
515     * BUG 10692: wbcCredentialCache fails if challenge_blob is not first.
518 o   Christian Ambach <ambi@samba.org>
519     * BUG 10693: lib/ldb: Fix compiler warnings.
522 o   Andrew Bartlett <abartlet@samba.org>
523     * BUG 8077: dbcheck: Add check and test for various invalid userParameters
524       values.
525     * BUG 8449: Simple use case results in "no talloc stackframe around, leaking
526       memory" error.)
527     * BUG 10130: dsdb: Always store and return the userParameters as a array of
528       LE 16-bit values.
529     * BUG 10582: dsdb: Rename private_data to rootdse_private_data in rootdse.
530     * BUG 10627: rid_array used before status checked - segmentation fault due
531       to null pointer dereference.
532     * BUG 10693: ldb: make the successful ldb_transaction_start() message
533       clearer.
534     * BUG 10694: dsdb: Return NO_SUCH_OBJECT if a basedn is a deleted object.
535     * BUG 10700: Backport access check related fixes from master.
538 o   Björn Baumbach <bb@sernet.de>
539     * BUG 10674: samba-tool: Add --site parameter to provision command.
542 o   Howard Chu <hyc@symas.com>
543     * BUG 10693: Fix SEGV from improperly formed SUBSTRING/PRESENCE filter.
546 o   Jeroen Dekkers <jeroen@dekkers.ch>
547     * BUG 10693: ldb: Do not build libldb-cmdline when using system ldb.
550 o   Nadezhda Ivanova <nivanova@symas.com>
551     * BUG 10693: s4-openldap: Remove use of talloc_reference in
552       ldb_map_outbound.c
555 o   Björn Jacke <bj@sernet.de>
556     * BUG 3263: net/doc: Make clear that net vampire is for NT4 domains only.
559 o   Abhidnya Joshi <achirmul@in.ibm.com>
560     * BUG s3: Fix missing braces in nfs4_acls.c.
563 o   Volker Lendecke <vl@samba.org>
564     * BUG 10593: Fix "PANIC: assert failed at ../source3/smbd/open.c(1582): ret".
565     * BUG 10663: msg_channel: Fix a 100% CPU loop.
566     * BUG 10671: s3: smbd: Prevent file truncation on an open that fails with
567       share mode violation.
568     * BUG 10680: smbstatus: Fix an uninitialized variable.
569     * BUG 10687: 'RW2' smbtorture test fails when -N <numprocs> is set to 2 due
570       to the invalid status check in the second client.
571     * BUG 10693: ldb: Fix 1138330 Dereference null return value, fix CIDs
572       241329, 240798, 1034791, 1034792 1034910, 1034910).
573     * BUG 10699: smbd: Avoid double-free in get_print_db_byname.
576 o   Stefan Metzmacher <metze@samba.org>
577     * BUG 8077: s4:dsdb/samldb: Don't allow 'userParameters' to be modified over
578       LDAP for now.
579     * BUG 9763: s4:dsdb/repl_meta_data: Make sure objectGUID can't be deleted.
580     * BUG 10469: ldb-samba: fix a memory leak in
581       ldif_canonicalise_objectCategory().
582     * BUG 10294: s4:repl_meta_data: fix array assignment in
583       replmd_process_linked_attribute().
584     * BUG 10536: dbchecker: Verify and fix broken dn values.
585     * BUG 10692: wbcCredentialCache fails if challenge_blob is not first.
586     * BUG 10693: ldb:pyldb: Add some more helper functions for LdbDn.
587     * BUG 10694: s4:dsdb/extended_dn_in: Don't force DSDB_SEARCH_SHOW_RECYCLED.
588     * BUG 10696: Backport autobuild/selftest fixes from master.
589     * BUG 10706: s3:smb2_read: let smb2_sendfile_send_data() behave like
590       send_file_readX().
593 o   Matthieu Patou <mat@matws.net>
594     * BUG 10693: pyldb: Decrement ref counters on py_results and quiet warnings.
595     * BUG 10698: Backport drs-crackname fixes from master.
598 o   Pavel Reichl <pavel.reichl@redhat.com>
599     * BUG 10693: ldb: Use of NULL pointer bugfix.
602 o   Garming Sam <garming@catalyst.net.nz>
603     * BUG 10703: Backport provision fixes from master.
606 o   Andreas Schneider <asn@samba.org>
607     * BUG 10693: ldb: Add a env variable to disable RTLD_DEEPBIND.
610 #######################################
611 Reporting bugs & Development Discussion
612 #######################################
614 Please discuss this release on the samba-technical mailing list or by
615 joining the #samba-technical IRC channel on irc.freenode.net.
617 If you do report problems then please try to send high quality
618 feedback. If you don't provide vital information to help us track down
619 the problem then you will probably be ignored.  All bug reports should
620 be filed under the Samba 4.1 product in the project's Bugzilla
621 database (https://bugzilla.samba.org/).
624 ======================================================================
625 == Our Code, Our Bugs, Our Responsibility.
626 == The Samba Team
627 ======================================================================
630 ----------------------------------------------------------------------
633                    =============================
634                    Release Notes for Samba 4.1.9
635                            June 23, 2014
636                    =============================
639 This is a security release in order to address
640 CVE-2014-0244 (Denial of service - CPU loop) and
641 CVE-2014-3493 (Denial of service - Server crash/memory corruption).
643 o  CVE-2014-0244:
644    All current released versions of Samba are vulnerable to a denial of
645    service on the nmbd NetBIOS name services daemon. A malformed packet
646    can cause the nmbd server to loop the CPU and prevent any further
647    NetBIOS name service.
649    This flaw is not exploitable beyond causing the code to loop expending
650    CPU resources.
652 o  CVE-2014-3493:
653    All current released versions of Samba are affected by a denial of service
654    crash involving overwriting memory on an authenticated connection to the
655    smbd file server.
658 Changes since 4.1.8:
659 --------------------
661 o   Jeremy Allison <jra@samba.org>
662     * BUG 10633: CVE-2014-0244: Fix nmbd denial of service.
663     * BUG 10654: CVE-2014-3493: Fix segmentation fault in
664       smbd_marshall_dir_entry()'s SMB_FIND_FILE_UNIX handler.
667 #######################################
668 Reporting bugs & Development Discussion
669 #######################################
671 Please discuss this release on the samba-technical mailing list or by
672 joining the #samba-technical IRC channel on irc.freenode.net.
674 If you do report problems then please try to send high quality
675 feedback. If you don't provide vital information to help us track down
676 the problem then you will probably be ignored.  All bug reports should
677 be filed under the Samba 4.1 product in the project's Bugzilla
678 database (https://bugzilla.samba.org/).
681 ======================================================================
682 == Our Code, Our Bugs, Our Responsibility.
683 == The Samba Team
684 ======================================================================
687 ----------------------------------------------------------------------
690                    =============================
691                    Release Notes for Samba 4.1.8
692                            June 3, 2014
693                    =============================
696 This is the latest stable release of Samba 4.1.
698 Please note that this bug fix release also addresses two minor security issues
699 without being a dedicated security release:
701   o CVE-2014-0239: dns: Don't reply to replies (bug #10609).
702   o CVE-2014-0178: Malformed FSCTL_SRV_ENUMERATE_SNAPSHOTS response
703     (bug #10549).
705 For more details including security advisories and patches, please see
707   http://www.samba.org/samba/history/security.html
710 Changes since 4.1.7:
711 --------------------
713 o   Michael Adam <obnox@samba.org>
714     * BUG 10548: build: Fix ordering problems with lib-provided and internal
715       RPATHs.
718 o   Jeremy Allison <jra@samba.org>
719     * BUG 3124: s3: smb2: Fix 'xcopy /d' with samba shares.
720     * BUG 10544: s3: lib/util: Fix logic inside set_namearray loops.
721     * BUG 10564: Fix lock order violation and file lost.
722     * BUG 10577: Fix wildcard unlink to fail if we get an error rather than
723       trying to continue.
726 o   Andrew Bartlett <abartlet@samba.org>
727     * BUG 10569: dsdb: Do checks for invalid renames in samldb, before
728       repl_meta_data.
731 o   Björn Baumbach <bb@sernet.de>
732     * BUG 10239: s3: nmbd: Reset debug settings after reading config file.
733     * BUG 10544: s3: lib/util: set_namearray reads across end of namelist
734     * BUG 10556: lib-util: Rename memdup to smb_memdup and fix all callers.
737 o   Kai Blin <kai@samba.org>
738     * BUG 10609: CVE-2014-0239: dns: Don't reply to replies.
741 o   Alexander Bokovoy <ab@samba.org>
742     * BUG 10517: Use exit_daemon() to communicate status of startup to
743       systemd.
746 o   David Disseldorp <ddiss@samba.org>
747     * BUG 10590: byteorder: Do not assume PowerPC is big-endian.
748     * BUG 10612: printing: Fix purge of all print jobs.
751 o   Benjamin Franzke <benjaminfranzke@googlemail.com>
752     * BUG 10524: Fix adding NetApps.
755 o   Abhidnya Joshi <achirmul@in.ibm.com>
756     * BUG 10547: idmap_autorid: Fix failure in reverse lookup if ID is from
757       domain range index #0.
760 o   Stefan Metzmacher <metze@samba.org>
761     * BUG 10472: script/autobuild: Make use of
762       '--with-perl-{arch,lib}-install-dir'.
765 o   Noel Power <nopower@suse.com>
766     * BUG 10554: Fix read of deleted memory in reply_writeclose()'.
769 o   Jose A. Rivera <jarrpa@redhat.com>
770     * BUG 10151: Extra ':' in msg for Waf Cross Compile Build System with
771       Cross-answers command.
772     * BUG 10348: Fix empty body in if-statement in continue_domain_open_lookup.
775 o   Christof Schmitt <christof.schmitt@us.ibm.com>
776     * BUG 10549: CVE-2014-0178: Malformed FSCTL_SRV_ENUMERATE_SNAPSHOTS
777       response.
780 o   Andreas Schneider <asn@samba.org>
781     * BUG 10472: wafsamba: Fix the installation on FreeBSD.
784 #######################################
785 Reporting bugs & Development Discussion
786 #######################################
788 Please discuss this release on the samba-technical mailing list or by
789 joining the #samba-technical IRC channel on irc.freenode.net.
791 If you do report problems then please try to send high quality
792 feedback. If you don't provide vital information to help us track down
793 the problem then you will probably be ignored.  All bug reports should
794 be filed under the Samba 4.1 product in the project's Bugzilla
795 database (https://bugzilla.samba.org/).
798 ======================================================================
799 == Our Code, Our Bugs, Our Responsibility.
800 == The Samba Team
801 ======================================================================
804 ----------------------------------------------------------------------
807                    =============================
808                    Release Notes for Samba 4.1.7
809                            April 17, 2014
810                    =============================
813 This is the latest stable release of Samba 4.1.
816 Changes since 4.1.6:
817 --------------------
819 o   Jeremy Allison <jra@samba.org>
820     * BUG 9878: Make "force user" work as expected.
821     * BUG 9942: Fix problem with server taking too long to respond to a
822       MSG_PRINTER_DRVUPGRADE message.
823     * BUG 9993: s3-printing: Fix obvious memory leak in
824       printer_list_get_printer().
825     * BUG 10344: SessionLogoff on a signed connection with an outstanding notify
826       request crashes smbd.
827     * BUG 10431: Fix STATUS_NO_MEMORY response from Query File Posix Lock request.
828     * BUG 10508: smbd: Correctly add remote users into local groups.
829     * BUG 10534: Cleanup messages.tdb record after unclean smbd shutdown.
832 o   Christian Ambach <ambi@samba.org>
833     * BUG 9911: Fix build on AIX with IBM XL C/C++ (gettext detection issues).
834     * BUG 10308: Fix String Conversion Errors with Samba 4.1.0 Build on AIX 7.1.
837 o   Gregor Beck <gbeck@sernet.de>
838     * BUG 10230: Make (lib)smbclient work with NetApp.
839     * BUG 10458: Fix 'wbinfo -i' with one-way trust.
840     * s3:rpc_server: Minor refactoring of process_request_pdu().
843 o   Kai Blin <kai@samba.org>
844     * BUG 10471: Don't respond with NXDOMAIN to records that exist with another
845       type.
848 o   Alexander Bokovoy <ab@samba.org>
849     * BUG 10504: lsa.idl: Define lsa.ForestTrustCollisionInfo and
850       ForestTrustCollisionRecord as public structs.
853 o   Günther Deschner <gd@samba.org>
854     * BUG 10439: Increase max netbios name components.
857 o   David Disseldorp <ddiss@samba.org>
858     * BUG 10188: doc: Add "spoolss: architecture" parameter usage.
859     * BUG 10484: Initial FSRVP rpcclient requests fail with
860       NT_STATUS_PIPE_NOT_AVAILABLE.
861     * BUG 10521: rpcclient FSRVP request UNCs should include a trailing
862       backslash.
865 o   Daniel Liberman <danielvl@gmail.com>
866     * BUG 10387: 'net ads search' on high latency networks can return a partial
867       list with no error indication.
870 o   Stefan Metzmacher <metze@samba.org>
871     * BUG 10200: Make 'smbclient' support DFS shares with SMB2/3.
872     * BUG 10344: SessionLogoff on a signed connection with an outstanding notify
873       request crashes smbd.
874     * BUG 10422: max xmit > 64kb leads to segmentation fault.
875     * BUG 10444: smbd_server_connection_terminate("CTDB_SRVID_RELEASE_IP")
876       panics from within ctdbd_migrate() with invalid lock_order.
877     * BUG 10464: samba4 services not binding on IPv6 addresses causing
878       connection delays.
881 o   Garming Sam <garming@catalyst.net.nz>
882     * BUG 10378: dfs: Always call create_conn_struct with root privileges.
885 o   Andreas Schneider <asn@cryptomilk.org>
886     * BUG 10467: s3-vfs: Fix stream_depot vfs module on btrfs.
887     * BUG 10472: pidl: waf should have an option for the dir to install perl
888       files and do not glob.
889     * BUG 10474: s3-spoolssd: Don't register spoolssd if epmd is not running.
890     * BUG 10481: s3-rpc_server: Fix handling of fragmented rpc requests.
893 o   Gustavo Zacarias <gustavo@zacarias.com.ar>
894     * BUG 10506: Make 'smbreadline' build with readline 6.3.
897 #######################################
898 Reporting bugs & Development Discussion
899 #######################################
901 Please discuss this release on the samba-technical mailing list or by
902 joining the #samba-technical IRC channel on irc.freenode.net.
904 If you do report problems then please try to send high quality
905 feedback. If you don't provide vital information to help us track down
906 the problem then you will probably be ignored.  All bug reports should
907 be filed under the Samba 4.1 product in the project's Bugzilla
908 database (https://bugzilla.samba.org/).
911 ======================================================================
912 == Our Code, Our Bugs, Our Responsibility.
913 == The Samba Team
914 ======================================================================
917 ----------------------------------------------------------------------
920                    =============================
921                    Release Notes for Samba 4.1.6
922                            March 11, 2014
923                    =============================
926 This is a security release in order to address
927 CVE-2013-4496 (Password lockout not enforced for SAMR password changes) and
928 CVE-2013-6442 (smbcacls can remove a file or directory ACL by mistake).
930 o  CVE-2013-4496:
931    Samba versions 3.4.0 and above allow the administrator to implement
932    locking out Samba accounts after a number of bad password attempts.
934    However, all released versions of Samba did not implement this check for
935    password changes, such as are available over multiple SAMR and RAP
936    interfaces, allowing password guessing attacks.
938 o  CVE-2013-6442:
939    Samba versions 4.0.0 and above have a flaw in the smbcacls command. If
940    smbcacls is used with the "-C|--chown name" or "-G|--chgrp name"
941    command options it will remove the existing ACL on the object being
942    modified, leaving the file or directory unprotected.
945 Changes since 4.1.5:
946 --------------------
948 o   Jeremy Allison <jra@samba.org>
949     * BUG 10327: CVE-2013-6442: ensure we don't lose an existing ACL when
950       setting owner or group owner.
953 o   Andrew Bartlett <abartlet@samba.org>
954     * BUG 10245: CVE-2013-4496: Enforce password lockout for SAMR password
955       changes.
958 o   Stefan Metzmacher <metze@samba.org>
959     * BUG 10245: CVE-2013-4496: Enforce password lockout for SAMR password
960       changes.
963 #######################################
964 Reporting bugs & Development Discussion
965 #######################################
967 Please discuss this release on the samba-technical mailing list or by
968 joining the #samba-technical IRC channel on irc.freenode.net.
970 If you do report problems then please try to send high quality
971 feedback. If you don't provide vital information to help us track down
972 the problem then you will probably be ignored.  All bug reports should
973 be filed under the Samba 4.1 product in the project's Bugzilla
974 database (https://bugzilla.samba.org/).
977 ======================================================================
978 == Our Code, Our Bugs, Our Responsibility.
979 == The Samba Team
980 ======================================================================
983 ----------------------------------------------------------------------
986                    =============================
987                    Release Notes for Samba 4.1.5
988                          February 21, 2014
989                    =============================
992 This is the latest stable release of Samba 4.1.
994 Major enhancements in Samba 4.1.5 include:
996 o  Fix 100% CPU utilization in winbindd when trying to free memory in
997    winbindd_reinit_after_fork (bug #10358).
998 o  smbd: Fix memory overwrites (bug #10415).
1001 Changes since 4.1.4:
1002 --------------------
1004 o   Michael Adam <obnox@samba.org>
1005     * BUG 10259: Make shadow_copy2 module working with Windows 7.
1008 o   Jeremy Allison <jra@samba.org>
1009     * BUG 2662: Make revamped directory handling code 64bit clean.
1010     * BUG 10320: s3: smbpasswd: Fix crashes on invalid input.
1011     * BUG 10358: Fix 100% CPU utilization in winbindd when trying to free
1012       memory in winbindd_reinit_after_fork.
1013     * BUG 10406: s3: vfs_dirsort module: Allow dirsort to work when multiple
1014       simultaneous directories are open.
1015     * BUG 10429: s3: modules: streaminfo: As we have no VFS function
1016       SMB_VFS_LLISTXATTR we can't cope with a symlink when lp_posix_pathnames()
1017       is true.
1020 o   Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
1021     * BUG 10087: ntlm_auth sometimes returns the wrong username to
1022       mod_ntlm_auth_winbind.
1025 o   Andrew Bartlett <abartlet@samba.org>
1026     * BUG 10418: Fix INTERNAL ERROR: Signal 11 in the kdc pid.
1029 o   Jeffrey Clark <dude@zaplabs.com>
1030     * BUG 10418: Add support for Heimdal's unified krb5 and hdb plugin system.
1033 o   Niels de Vos <ndevos@redhat.com>
1034     * BUG 10384: vfs/glusterfs: In case atime is not passed, set it to the
1035       current atime.
1038 o   David Disseldorp <ddiss@samba.org>
1039     * BUG 10424: vfs_btrfs: Fix incorrect zero length server-side copy request
1040       handling.
1043 o   Volker Lendecke <vl@samba.org>
1044     * BUG 2191: s3-winbind: Improve performance of wb_fill_pwent_sid2uid_done().
1045     * BUG 10415: smbd: Fix memory overwrites.
1046     * BUG 10436: smbd: Fix an ancient oplock bug.
1049 o   Stefan Metzmacher <metze@samba.org>
1050     * BUG 10442: Fix crash bug in smb2_notify code.
1053 o   Andreas Schneider <asn@samba.org>
1054     * BUG 10367: Fix several memory leaks.
1057 o   Jelmer Vernooij <jelmer@samba.org>
1058     * BUG 10418: Cope with first element in hdb_method having a different name
1059       in different heimdal versions.
1062 #######################################
1063 Reporting bugs & Development Discussion
1064 #######################################
1066 Please discuss this release on the samba-technical mailing list or by
1067 joining the #samba-technical IRC channel on irc.freenode.net.
1069 If you do report problems then please try to send high quality
1070 feedback. If you don't provide vital information to help us track down
1071 the problem then you will probably be ignored.  All bug reports should
1072 be filed under the Samba 4.1 product in the project's Bugzilla
1073 database (https://bugzilla.samba.org/).
1076 ======================================================================
1077 == Our Code, Our Bugs, Our Responsibility.
1078 == The Samba Team
1079 ======================================================================
1082 ----------------------------------------------------------------------
1085                    =============================
1086                    Release Notes for Samba 4.1.4
1087                          January 10, 2014
1088                    =============================
1091 This is the latest stable release of Samba 4.1.
1093 Major enhancements in Samba 4.1.4 include:
1095 o  Fix segfault in smbd (bug #10284).
1096 o  Fix SMB2 server panic when a smb2 brlock times out (bug #10311).
1099 Changes since 4.1.3:
1100 --------------------
1102 o   Jeremy Allison <jra@samba.org>
1103     * BUG 9870: smbd: Allow updates on directory write times on open handles.
1104     * BUG 10260: smbclient shows no error if deleting a directory with del
1105       failed.
1106     * BUG 10297: smbd: Fix writing to a directory with -wx permissions
1107       on a share.
1108     * BUG 10305: ldb: bad if test in ldb_comparison_fold().
1111 o   Christian Ambach <ambi@samba.org>
1112     * BUG 10276: Fix waf build error on AIX with IBM XL C/C++.
1113     * BUG 10280: s3:winbindd fix use of uninitialized variables.
1116 o   Michele Baldessari <michele@acksyn.org>
1117     * BUG 10281: Fix typos in man pages.
1120 o   Jan Brummer <jan.brummer@tabos.org>
1121     * BUG 10285: s3-winbindd: Fix DEBUG statement in winbind_msg_offline().
1124 o   Günther Deschner <gd@samba.org>
1125     * BUG 10262: s3-libnetjoin: Use upper-case realm when composing default
1126       upn.
1127     * BUG 10281: Fix numerous typos in man pages.
1130 o   David Disseldorp <ddiss@samba.org>
1131     * BUG 10271: Send correct job-ID in print job notifications.
1134 o   Poornima Gurusiddaiah <pgurusid@redhat.com>
1135     * BUG 10337: vfs_glusterfs: Enable per client log file.
1138 o   Volker Lendecke <vl@samba.org>
1139     * BUG 10250: smbd: Fix a talloc hierarchy problem in msg_channel.
1140     * BUG 10284: smbd: Fix segfaults.
1141     * BUG 10297: smbd: Fix writing to a directory with -wx permissions
1142       on a share.
1143     * BUG 10311: Fix SMB2 server panic when a smb2 brlock times out.
1146 o   Stefan Metzmacher <metze@samba.org>
1147     * BUG 10298: Reduce smb2_server processing overhead.
1150 o   Arvid Requate <requate@univention.de>
1151     * BUG 10267: Fix printing via local printer drivers with Windows 8.
1154 o   Christof Schmitt <cs@samba.org>
1155     * BUG 10310: Fix AIO with SMB2 and locks.
1158 o   Andreas Schneider <asn@samba.org>
1159     * BUG 2191: Fix %G/%g substitution in 'template homedir'.
1160     * BUG 10274: Fix several issues and warnings from analyzer tools.
1161     * BUG 10286: s3-lib: Fix %G substitution for domain users in smbd.
1164 #######################################
1165 Reporting bugs & Development Discussion
1166 #######################################
1168 Please discuss this release on the samba-technical mailing list or by
1169 joining the #samba-technical IRC channel on irc.freenode.net.
1171 If you do report problems then please try to send high quality
1172 feedback. If you don't provide vital information to help us track down
1173 the problem then you will probably be ignored.  All bug reports should
1174 be filed under the Samba 4.1 product in the project's Bugzilla
1175 database (https://bugzilla.samba.org/).
1178 ======================================================================
1179 == Our Code, Our Bugs, Our Responsibility.
1180 == The Samba Team
1181 ======================================================================
1184 ----------------------------------------------------------------------
1187                    =============================
1188                    Release Notes for Samba 4.1.3
1189                          December 9, 2013
1190                    =============================
1193 This is a security release in order to address
1194 CVE-2013-4408 (DCE-RPC fragment length field is incorrectly checked) and
1195 CVE-2012-6150 (pam_winbind login without require_membership_of restrictions).
1197 o  CVE-2013-4408:
1198    Samba versions 3.4.0 and above (versions 3.4.0 - 3.4.17, 3.5.0 -
1199    3.5.22, 3.6.0 - 3.6.21, 4.0.0 - 4.0.12 and including 4.1.2) are
1200    vulnerable to buffer overrun exploits in the client processing of
1201    DCE-RPC packets. This is due to incorrect checking of the DCE-RPC
1202    fragment length in the client code.
1204    This is a critical vulnerability as the DCE-RPC client code is part of
1205    the winbindd authentication and identity mapping daemon, which is
1206    commonly configured as part of many server installations (when joined
1207    to an Active Directory Domain). A malicious Active Directory Domain
1208    Controller or man-in-the-middle attacker impersonating an Active
1209    Directory Domain Controller could achieve root-level access by
1210    compromising the winbindd process.
1212    Samba server versions 3.4.0 - 3.4.17 and versions 3.5.0 - 3.5.22 are
1213    also vulnerable to a denial of service attack (server crash) due to a
1214    similar error in the server code of those versions.
1216    Samba server versions 3.6.0 and above (including all 3.6.x versions,
1217    all 4.0.x versions and 4.1.x) are not vulnerable to this problem.
1219    In addition range checks were missing on arguments returned from calls
1220    to the DCE-RPC functions LookupSids (lsa and samr), LookupNames (lsa and samr)
1221    and LookupRids (samr) which could also cause similar problems.
1223    As this was found during an internal audit of the Samba code there are
1224    no currently known exploits for this problem (as of December 9th 2013).
1226 o  CVE-2012-6150:
1227    Winbind allows for the further restriction of authenticated PAM logins using
1228    the require_membership_of parameter. System administrators may specify a list
1229    of SIDs or groups for which an authenticated user must be a member of. If an
1230    authenticated user does not belong to any of the entries, then login should
1231    fail. Invalid group name entries are ignored.
1233    Samba versions 3.3.10, 3.4.3, 3.5.0 and later incorrectly allow login from
1234    authenticated users if the require_membership_of parameter specifies only
1235    invalid group names.
1237    This is a vulnerability with low impact. All require_membership_of group
1238    names must be invalid for this bug to be encountered.
1241 Changes since 4.1.2:
1242 --------------------
1244 o   Jeremy Allison <jra@samba.org>
1245     * BUG 10185: CVE-2013-4408: Correctly check DCE-RPC fragment length field.
1248 o   Stefan Metzmacher <metze@samba.org>
1249     * BUG 10185: CVE-2013-4408: Correctly check DCE-RPC fragment length field.
1252 o   Noel Power <noel.power@suse.com>
1253     * BUGs 10300, 10306: CVE-2012-6150: Fail authentication if user isn't
1254       member of *any* require_membership_of specified groups.
1257 #######################################
1258 Reporting bugs & Development Discussion
1259 #######################################
1261 Please discuss this release on the samba-technical mailing list or by
1262 joining the #samba-technical IRC channel on irc.freenode.net.
1264 If you do report problems then please try to send high quality
1265 feedback. If you don't provide vital information to help us track down
1266 the problem then you will probably be ignored.  All bug reports should
1267 be filed under the Samba 4.1 product in the project's Bugzilla
1268 database (https://bugzilla.samba.org/).
1271 ======================================================================
1272 == Our Code, Our Bugs, Our Responsibility.
1273 == The Samba Team
1274 ======================================================================
1277 ----------------------------------------------------------------------
1280                    =============================
1281                    Release Notes for Samba 4.1.2
1282                          November 22, 2013
1283                    =============================
1286 This is is the latest stable release of Samba 4.1.
1289 Changes since 4.1.1:
1290 --------------------
1292 o   Jeremy Allison <jra@samba.org>
1293     * BUG 10187: Missing talloc_free can leak stackframe in error path.
1294     * BUG 10196: RW Deny for a specific user is not overriding RW Allow for a
1295       group.
1298 o   Anand Avati <avati@redhat.com>
1299     * BUG 10224: vfs_glusterfs: Implement proper mashalling/unmarshalling of
1300       ACLs.
1303 o   Andrew Bartlett <abartlet@samba.org>
1304     * BUG 10052: dfs_server: Use dsdb_search_one to catch 0 results as well as
1305       NO_SUCH_OBJECT errors.
1308 o   Samuel Cabrero <scabrero@zentyal.com>
1309     * BUG 9091: s4-dns: dlz_bind9: Create dns-HOSTNAME account disabled.
1312 o   Günther Deschner <gd@samba.org>
1313     * BUG 10264: s3-winbindd: Fix cache_traverse_validate_fn failure for
1314       NDR cache entries.
1317 o   Christopher R. Hertel <crh@redhat.com>
1318     * BUG 10224: vfs_glusterfs: Fix excessive debug output from
1319       vfs_gluster_open().
1322 o   Björn Jacke <bj@sernet.de>
1323     * BUG 10247: xattr: Fix listing EAs on *BSD for non-root users.
1326 o   Volker Lendecke <vl@samba.org>
1327     * BUG 10190: Fix memset used with constant zero length parameter.
1328     * BUG 10195: nsswitch: Fix short writes in winbind_write_sock.
1331 o   Stefan Metzmacher <metze@samba.org>
1332     * BUG 10193: s4:dsdb/rootdse: report 'dnsHostName' instead of 'dNSHostName'.
1333     * BUG 10232: libcli/smb: Fix smb2cli_ioctl*() against Windows 2008.
1336 o   Susant Kumar Palai <spalai@redhat.com>
1337     * BUG 10224: VFS plugin was sending the actual size of the volume instead of
1338       the total number of block units because of which windows was getting the
1339       wrong volume capacity.
1342 o   Andreas Schneider <asn@samba.org>
1343     * BUG 10194: Make offline logon cache updating for cross child domain group
1344       membership.
1345     * BUG 10269: util: Remove 32bit macros breaking strict aliasing.
1346     * BUG 10253: Fix the build of vfs_glusterfs.
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.1
1374                          November 11, 2013
1375                    =============================
1378 This is a security release in order to address
1379 CVE-2013-4475 (ACLs are not checked on opening an alternate
1380 data stream on a file or directory) and
1381 CVE-2013-4476 (Private key in key.pem world readable).
1383 o  CVE-2013-4475:
1384    Samba versions 3.2.0 and above (all versions of 3.2.x, 3.3.x,
1385    3.4.x, 3.5.x, 3.6.x, 4.0.x and 4.1.x) do not check the underlying
1386    file or directory ACL when opening an alternate data stream.
1388    According to the SMB1 and SMB2+ protocols the ACL on an underlying
1389    file or directory should control what access is allowed to alternate
1390    data streams that are associated with the file or directory.
1392    By default no version of Samba supports alternate data streams
1393    on files or directories.
1395    Samba can be configured to support alternate data streams by loading
1396    either one of two virtual file system modues (VFS) vfs_streams_depot or
1397    vfs_streams_xattr supplied with Samba, so this bug only affects Samba
1398    servers configured this way.
1400    To determine if your server is vulnerable, check for the strings
1401    "streams_depot" or "streams_xattr" inside your smb.conf configuration
1402    file.
1404 o  CVE-2013-4476:
1405    In setups which provide ldap(s) and/or https services, the private
1406    key for SSL/TLS encryption might be world readable. This typically
1407    happens in active directory domain controller setups.
1410 Changes since 4.1.0:
1411 --------------------
1413 o   Jeremy Allison <jra@samba.org>
1414     * BUGs 10234 + 10229: CVE-2013-4475: Fix access check verification on stream
1415       files.
1418 o   Björn Baumbach <bb@sernet.de>
1419     * BUG 10234: CVE-2013-4476: Private key in key.pem world readable.
1422 #######################################
1423 Reporting bugs & Development Discussion
1424 #######################################
1426 Please discuss this release on the samba-technical mailing list or by
1427 joining the #samba-technical IRC channel on irc.freenode.net.
1429 If you do report problems then please try to send high quality
1430 feedback. If you don't provide vital information to help us track down
1431 the problem then you will probably be ignored.  All bug reports should
1432 be filed under the Samba 4.1 product in the project's Bugzilla
1433 database (https://bugzilla.samba.org/).
1436 ======================================================================
1437 == Our Code, Our Bugs, Our Responsibility.
1438 == The Samba Team
1439 ======================================================================
1442 ----------------------------------------------------------------------
1445                    =============================
1446                    Release Notes for Samba 4.1.0
1447                          October 11, 2013
1448                    =============================
1451 This is is the first stable release of Samba 4.1.
1453 Samba 4.1 will be the next version of the Samba suite and includes
1454 all the technology found in both the Samba4 series and the stable 3.x
1455 series. The primary additional features over Samba 3.6 are
1456 support for the Active Directory logon protocols used by Windows 2000
1457 and above.
1459 Major enhancements in Samba 4.1.0 include:
1461 Client tools support SMB2/3
1462 ===========================
1464 Samba 4.1.0 contains the first release of our client tools
1465 and client library that work over the new protocols SMB2 or SMB3.
1466 Note that SMB3 only works either to a Samba server version 4.0.0
1467 or above, or to a Windows Server running Windows 2012 or Windows 8.
1469 The default protocol for smbclient and smbcacls is still
1470 SMB1 (the NT1 protocol dialect). An SMB2 or SMB3 connection
1471 can be selected in one of two ways. The easiest way to test
1472 the new protocol connection is to add the -mMAX_PROTOCOL
1473 command line switch to either smbclient or smbcacls.
1475 For example, to connect using SMB3 with smbclient a user
1476 would type:
1478 smbclient //server/share -Uuser%password -mSMB3
1480 Another example of connecting using SMB2 using smbcacls
1481 would be:
1483 smbcacls //server/share -Uuser%password -mSMB2 filename
1485 Note that when connecting using SMB2 or SMB3 protocols
1486 the UNIX extensions are no longer available inside the
1487 smbclient command set. This is due to UNIX extensions
1488 not yet being defined for the SMB2 or SMB3 protocols.
1490 The second way to select SMB2 or SMB3 connections is to
1491 set the "client max protocol" parameter in the [global]
1492 section of your smb.conf.
1494 Setting this parameter will cause all client connections
1495 from Samba and its client tools to offer the requested
1496 max protocol to a server on every connection request.
1498 For example, to cause all client tools (including winbindd,
1499 rpcclient, and the libsmbclient library) to attempt use SMB3
1500 by default add the line:
1502 client max protocol = SMB3
1504 to the [global] section of your smb.conf. This has not
1505 been as widely tested as the -mPROTOCOL options, but
1506 is intended to work correctly in the final release of
1507 4.1.0.
1509 Encrypted transport
1510 ===================
1512 Although Samba servers have supported encrypted transport
1513 connections using the UNIX extensions for many years,
1514 selecting SMB3 transport allows encrypted transport
1515 connections to Windows servers that support SMB3, as
1516 well as Samba servers.
1518 In order to enable this, add the "-e" option to the
1519 smbclient command line.
1521 For example, to connect to a Windows 2012 server over
1522 SMB3 and select an encrypted transport you would use
1523 the following command line:
1525 smbclient //Win2012Server/share -Uuser%password -mSMB3 -e
1528 Directory database replication (AD DC mode)
1529 ===========================================
1531 Directory replication has been reworked in order to improve the
1532 correctness and efficiency.
1533 As a net effect of it, replication with other domain controllers with
1534 a heavily modified schema is now possible (ie. Windows 2012 DCs or
1535 other Windows DC with exchange installed) and replication didn't fail
1536 anymore in such environments.
1539 Server-Side Copy Support
1540 ========================
1542 Samba 4.1.0 adds support for server-side copy operations via the SMB2
1543 FSCTL_SRV_COPYCHUNK request. Clients making use of server-side copy
1544 support, such as Windows Server 2012, should experience considerable
1545 performance improvements for file copy operations, as file data need not
1546 traverse the network.
1547 This feature is enabled by default on the smbd file server.
1550 Btrfs Filesystem Integration
1551 ============================
1553 The Btrfs VFS module provided with Samba 4.1.0 further improves the
1554 performance of server-side copy operations on shares backed by a Btrfs
1555 filesystem. It does so by allowing multiple files to share the same
1556 on-disk extents, avoiding the unnecessary duplication of source and
1557 destination file data during a server-side copy operation.
1559 This feature can be explicitly enabled on smbd shares backed by a Btrfs
1560 filesystem with the smb.conf parameter:
1561 vfs objects = btrfs
1564 REMOVED COMPONENTS
1565 ==================
1567 The Samba Web Administration Tool (SWAT) has been removed.
1568 Details why SWAT has been removed can be found on the samba-technical mailing
1569 list:
1571 https://lists.samba.org/archive/samba-technical/2013-February/090572.html
1574 ######################################################################
1575 Changes
1576 #######
1578 smb.conf changes
1579 ----------------
1581    Parameter Name                       Description     Default
1582    --------------                       -----------     -------
1584    acl allow execute always             New             False
1585    password level                       Removed
1586    set directory                        Removed
1587    use ntdb                             New             No
1590 RUNNING Samba 4.1 as an AD DC
1591 =============================
1593 A short guide to setting up Samba as an AD DC can be found on the wiki:
1595   https://wiki.samba.org/index.php/Samba_AD_DC_HOWTO
1598 COMMIT HIGHLIGHTS
1599 =================
1601 o   Jeremy Allison <jra@samba.org>
1602     * Add SMB2 and SMB3 support for client tools and client library.
1603     * Add support for SMB3 Encrypted transport.
1606 o   David Disseldorp <ddiss@samba.org>
1607     * Add vfs_btrfs module.
1608     * Add support for server-side copy operations via the
1609       SMB2 FSCTL_SRV_COPYCHUNK request.
1612 CHANGES SINCE 4.1.0rc4
1613 ======================
1615 o   Stefan Metzmacher <metze@samba.org>
1616     * BUG 10178: Fix PAC parsing failure.
1619 o   Andreas Schneider <asn@samba.org>
1620     * BUG 10132: pam_winbindd: Support the KEYRING ccache type.
1623 CHANGES SINCE 4.1.0rc3
1624 ======================
1626 o   Michael Adam <obnox@samba.org>
1627     * BUG 10134: Add "acl allow execute always" parameter.
1630 o   Jeremy Allison <jra@samba.org>
1631     * BUG 10139: Valid utf8 filenames cause "invalid conversion error"
1632       messages.
1633     * BUG 10145: Samba SMB2 client code reads the wrong short name length in a
1634       directory listing reply.
1635     * BUG 10149: cli_smb2_get_ea_list_path() failed to close file on exit.
1636     * BUG 10150: Not all OEM servers support the ALTNAME info level.
1639 o   Andrew Bartlett <abartlet@samba.org>
1640     * BUG 8077: dsdb: Convert the full string from UTF16 to UTF8, including
1641       embedded NULLs.
1642     * BUG 9461: python-samba-tool fsmo: Do not give an error on a successful
1643       role transfer.
1644     * BUG 10157: Regression causes replication failure with Windows 2008R2 and
1645       deletes Deleted Objects.
1648 o   Günther Deschner <gd@samba.org>
1649     * BUG 10147: Better document potential implications of a globally used
1650       "valid users".
1653 o   Korobkin <korobkin+samba@gmail.com>
1654     * BUG 10118: Raise the level of a debug when unable to open a printer.
1657 o   Volker Lendecke <vl@samba.org>
1658     * BUG 10008: dbwrap_ctdb: Treat empty records as non-existing.
1659     * BUG 10138: smbd: Always clean up share modes after hard crash.
1662 o   Daniel Liberman <danielvl@gmail.com>
1663     * BUG 10162: Fix POSIX ACL mapping when setting DENY ACE's from Windows.
1666 o   Stefan Metzmacher <metze@samba.org>
1667     * BUG 10144: libcli/smb: Use SMB1 MID=0 for the initial Negprot.
1668     * BUG 10146: libcli/smb: Only check the SMB2 session setup signature if
1669       required and valid.
1672 o   Matthieu Patou <mat@matws.net>
1673     * BUG 10158: Netbios related samba process consumes 100% CPU.
1676 o   Christof Schmitt <christof.schmitt@us.ibm.com>
1677     * BUG 10137: vfs_shadow_copy2: Display previous versions correctly over
1678       SMB2.
1681 CHANGES SINCE 4.1.0rc2
1682 ======================
1684 o   Michael Adam <obnox@samba.org>
1685     * BUG 10107: Fix Winbind crashes on DC with trusted AD domains.
1688 o   Jeremy Allison <jra@samba.org>
1689     * BUG 5917: Fix working on site with Read Only Domain Controller.
1690     * BUG 9974: Add SMB2 and SMB3 support for smbclient.
1691     * BUG 10063: Fix memory leak in source3/lib/util.c:1493.
1692     * BUG 10121: Masks incorrectly applied to UNIX extension permission
1693       changes.
1696 o   Christian Ambach <ambi@samba.org>
1697     * BUG 9911: Build Samba 4.0.x on AIX with IBM XL C/C++.
1700 o   Andrew Bartlett <abartlet@samba.org>
1701     * BUG 9091: When replicating DNS for bind9_dlz we need to create the
1702       server-DNS account remotely.
1705 o   Günther Deschner <gd@samba.org>
1706     * BUG 9615: Winbind unable to retrieve user information from AD.
1707     * BUG 9899: winbind_lookup_names() fails because of
1708       NT_STATUS_CANT_ACCESS_DOMAIN_INFO.
1709     * BUG 10107: Fix Winbind crashes on DC with trusted AD domains.
1712 o   Volker Lendecke <vl@samba.org>
1713     * BUG 10086: smbd: Fix async echo handler forking.
1714     * BUG 10106: Honour output buffer length set by the client for SMB2 GetInfo
1715       requests.
1716     * BUG 10114: Handle Dropbox (write-only-directory) case correctly
1717       in pathname lookup.
1720 o   Stefan Metzmacher <metze@samba.org>
1721     * BUG 10030: ::1 added to nameserver on join.
1724 o   Rusty Russell <rusty@rustcorp.com.au>
1725     * BUG 10000: Add man pages for ntdb tools.
1728 o   Karolin Seeger <kseeger@samba.org>
1729     * BUG 7364: Add man page for vfs_syncops.
1730     * BUG 7490: Add man page for vfs_linux_xfs_sgid.
1731     * BUG 10001: Add man page for samba-regedit tool.
1732     * BUG 10076: Fix variable list in vfs_crossrename man page.
1735 o   Andreas Schneider <asn@samba.org>
1736     * BUG 10073: Fix segmentation fault in 'net ads join'.
1737     * BUG 10082: s3-winbind: Fix a segfault passing NULL to a fstring argument.
1740 o   Richard Sharpe <realrichardsharpe@gmail.com>
1741     * BUG 10097: MacOSX 10.9 will not follow path-based DFS referrals handed
1742       out by Samba.
1745 o   Ralph Wuerthner <ralph.wuerthner@de.ibm.com>
1746     * BUG 10106: Honour output buffer length set by the client for SMB2 GetInfo
1747       requests.
1750 CHANGES SINCE 4.1.0rc1
1751 ======================
1753 o   Jeremy Allison <jra@samba.org>
1754     * BUG 9992: Windows error 0x800700FE when copying files with xattr names
1755       containing ":".
1756     * BUG 10010: Missing integer wrap protection in EA list reading can cause
1757       server to loop with DOS (CVE-2013-4124).
1758     * BUG 10064: Linux kernel oplock breaks can miss signals.
1761 o   Andrew Bartlett <abartlet@samba.org>
1762     * BUG 9029: Fix replication with --domain-crictical-only to fill in
1763       backlinks.
1764     * BUG 9820: Fix crash of winbind after "ls -l
1765       /usr/local/samba/var/locks/sysvol".
1766     * BUG 10056: dsdb improvements.
1769 o   Björn Baumbach <bb@sernet.de>
1770     * BUG 10003: Fix segfault while reading incomplete session info.
1773 o   Gregor Beck <gbeck@sernet.de>
1774     * BUG 9678: Windows 8 Roaming profiles fail.
1777 o   Günther Deschner <gd@samba.org>
1778     * BUG 10043: Allow to change the default location for Kerberos credential
1779       caches.
1782 o   Volker Lendecke <vl@samba.org>
1783     * BUG 10013: Fix a 100% loop at shutdown time (smbd).
1786 o   Stefan Metzmacher <metze@samba.org>
1787     * BUG 9820: Fix crash of winbind after "ls -l
1788       /usr/local/samba/var/locks/sysvol".
1789     * BUG 10015: Fix/improve debug options.
1790     * BUG 10042: Fix crashes in socket_get_local_addr().
1791     * BUG 10056: dsdb improvements.
1794 o   Andreas Schneider <asn@samba.org>
1795     * BUG 9994: Do not delete an existing valid credential cache (s3-winbind).
1796     * BUG 10040: Rename regedit to samba-regedit.
1797     * BUG 10041: Remove obsolete swat manpage and references.
1798     * BUG 10048: nsswitch: Add OPT_KRB5CCNAME to avoid an error message.
1801 o   Alexander Werth <alexander.werth@de.ibm.com>
1802     * BUG 10045: Remove a redundant inlined substitution of ACLs.
1805 o   Ralph Wuerthner <ralphw@de.ibm.com>
1806     * BUG 10064: Linux kernel oplock breaks can miss signals.
1809 #######################################
1810 Reporting bugs & Development Discussion
1811 #######################################
1813 Please discuss this release on the samba-technical mailing list or by
1814 joining the #samba-technical IRC channel on irc.freenode.net.
1816 If you do report problems then please try to send high quality
1817 feedback. If you don't provide vital information to help us track down
1818 the problem then you will probably be ignored.  All bug reports should
1819 be filed under the Samba 4.1 product in the project's Bugzilla
1820 database (https://bugzilla.samba.org/).
1823 ======================================================================
1824 == Our Code, Our Bugs, Our Responsibility.
1825 == The Samba Team
1826 ======================================================================