1 ==============================
2 Release Notes for Samba 4.1.17
4 ==============================
7 This is a security release in order to address CVE-2015-0240 (Unexpected
8 code execution in smbd).
11 All versions of Samba from 3.5.0 to 4.2.0rc4 are vulnerable to an
12 unexpected code execution vulnerability in the smbd file server
15 A malicious client could send packets that may set up the stack in
16 such a way that the freeing of memory in a subsequent anonymous
17 netlogon packet could allow execution of arbitrary code. This code
18 would execute with root privileges.
24 o Jeremy Allison <jra@samba.org>
25 * BUG 11077: CVE-2015-0240: talloc free on uninitialized stack pointer
26 in netlogon server could lead to security vulnerability.
29 o Andreas Schneider <asn@samba.org>
30 * BUG 11077: CVE-2015-0240: s3-netlogon: Make sure we do not deference
34 #######################################
35 Reporting bugs & Development Discussion
36 #######################################
38 Please discuss this release on the samba-technical mailing list or by
39 joining the #samba-technical IRC channel on irc.freenode.net.
41 If you do report problems then please try to send high quality
42 feedback. If you don't provide vital information to help us track down
43 the problem then you will probably be ignored. All bug reports should
44 be filed under the Samba 4.1 product in the project's Bugzilla
45 database (https://bugzilla.samba.org/).
48 ======================================================================
49 == Our Code, Our Bugs, Our Responsibility.
51 ======================================================================
54 Release notes for older releases follow:
55 ----------------------------------------
57 ======================================================================
59 ==============================
60 Release Notes for Samba 4.1.16
62 ==============================
65 This is a security release in order to address CVE-2014-8143 (Elevation
66 of privilege to Active Directory Domain Controller).
69 Samba's AD DC allows the administrator to delegate
70 creation of user or computer accounts to specific users or groups.
72 However, all released versions of Samba's AD DC did not implement the
73 additional required check on the UF_SERVER_TRUST_ACCOUNT bit in the
74 userAccountControl attributes.
80 o Andrew Bartlett <abartlet@samba.org>
81 * BUG 10993: CVE-2014-8143: dsdb-samldb: Check for extended access
82 rights before we allow changes to userAccountControl.
85 #######################################
86 Reporting bugs & Development Discussion
87 #######################################
89 Please discuss this release on the samba-technical mailing list or by
90 joining the #samba-technical IRC channel on irc.freenode.net.
92 If you do report problems then please try to send high quality
93 feedback. If you don't provide vital information to help us track down
94 the problem then you will probably be ignored. All bug reports should
95 be filed under the Samba 4.1 product in the project's Bugzilla
96 database (https://bugzilla.samba.org/).
99 ======================================================================
100 == Our Code, Our Bugs, Our Responsibility.
102 ======================================================================
105 -----------------------------------------------------------------------
108 ==============================
109 Release Notes for Samba 4.1.15
111 ==============================
114 This is the latest stable release of Samba 4.1.
117 Changes since 4.1.14:
118 ---------------------
120 o Jeremy Allison <jra@samba.org>
121 * BUG 10966: libcli: SMB2: Pure SMB2-only negprot fix to make us behave as a
123 * BUG 10982 s3: smbd/modules: Fix *allocate* calls to follow POSIX error
127 o Christian Ambach <ambi@samba.org>
128 * BUG 9629: Fix profiles tool.
131 o Samuel Cabrero <scabrero@zentyal.com>
132 * BUG 11006: idl:drsuapi: Manage all possible lengths of drsuapi_DsBindInfo.
135 o Günther Deschner <gd@samba.org>
136 * BUG 9056: pam_winbind: Fix warn_pwd_expire implementation.
139 o Guenter Kukkukk <linux@kukkukk.com>
140 * BUG 10952: s4-rpc: dnsserver: Fix enumeration of IPv4 and IPv6 addresses.
143 o Stefan Metzmacher <metze@samba.org>
144 * BUG 9299: nsswitch: Fix soname of linux nss_*.so.2 modules.
145 * BUG 10949: s4:dsdb/rootdse: Expand extended dn values with the AS_SYSTEM
147 * BUG 10958: s3:smb2_server: Allow reauthentication without signing.
148 * BUG 11006: Fix 'domain join' by adding 'drsuapi.DsBindInfoFallBack'
149 attribute 'supported_extensions'.
152 o Matthieu Patou <mat@matws.net>
153 * BUG 11006: Fix 'domain join' by adding 'drsuapi.DsBindInfoFallBack'
154 attribute 'supported_extensions'.
157 o Christof Schmitt <cs@samba.org>
158 * BUG 11034: winbind: Retry LogonControl RPC in ping-dc after session
162 o Andreas Schneider <asn@samba.org>
163 * BUG 10279: s3-lib: Do not require a password with --use-ccache.
164 * BUG 10960: s3-smbclient: Return success if we listed the shares.
165 * BUG 10961: s3-smbstatus: Fix exit code of profile output.
168 #######################################
169 Reporting bugs & Development Discussion
170 #######################################
172 Please discuss this release on the samba-technical mailing list or by
173 joining the #samba-technical IRC channel on irc.freenode.net.
175 If you do report problems then please try to send high quality
176 feedback. If you don't provide vital information to help us track down
177 the problem then you will probably be ignored. All bug reports should
178 be filed under the Samba 4.1 product in the project's Bugzilla
179 database (https://bugzilla.samba.org/).
182 ======================================================================
183 == Our Code, Our Bugs, Our Responsibility.
185 ======================================================================
188 ----------------------------------------------------------------------
191 ==============================
192 Release Notes for Samba 4.1.14
194 ==============================
197 This is the latest stable release of Samba 4.1.
200 Changes since 4.1.13:
201 ---------------------
203 o Michael Adam <obnox@samba.org>
204 * BUG 10472: Revert buildtools/wafadmin/Tools/perl.py back to upstream
208 o Jeremy Allison <jra@samba.org>
209 * BUG 10711: nmbd fails to accept "--piddir" option.
210 * BUG 10896: s3-nmbd: Fix netbios name truncation.
211 * BUG 10904: s3: libsmbclient-smb2. MacOSX 10 SMB2 server doesn't set
212 STATUS_NO_MORE_FILES when handed a non-wildcard path.
213 * BUG 10920: s3: nmbd: Ensure NetBIOS names are only 15 characters stored.
216 o Günther Deschner <gd@samba.org>
217 * BUG 10942: Cleanup add_string_to_array and usage.
220 o David Disseldorp <ddiss@samba.org>
221 * BUG 10898: spoolss: Fix handling of bad EnumJobs levels.
222 * BUG 10905: spoolss: Fix jobid in level 3 EnumJobs response.
225 o Amitay Isaacs <amitay@gmail.com>
226 * BUG 10620: s4-dns: Add support for BIND 9.10.
229 o Björn Jacke <bj@sernet.de>
230 * BUG 10835: nss_winbind: Add getgroupmembership for FreeBSD.
233 o Volker Lendecke <vl@samba.org>
234 * BUG 10932: pdb_tdb: Fix a TALLOC/SAFE_FREE mixup.
237 o Stefan Metzmacher <metze@samba.org>
238 * BUG 10472: pidl/wscript: Remove --with-perl-* options.
239 * BUG 10921: s3:smbd: Fix file corruption using "write cache size != 0".
242 o Jose A. Rivera <jarrpa@redhat.com>
243 * BUG 10889: vfs_glusterfs: Remove "integer fd" code and store the glfs
247 o Matt Rogers <mrogers@redhat.com>
248 * BUG 10933: s3-keytab: Fix keytab array NULL termination.
251 o Richard Sharpe <realrichardsharpe@gmail.com>
252 * BUG 10880: S3: source3/smbd/process.c::srv_send_smb() returns true on the
256 #######################################
257 Reporting bugs & Development Discussion
258 #######################################
260 Please discuss this release on the samba-technical mailing list or by
261 joining the #samba-technical IRC channel on irc.freenode.net.
263 If you do report problems then please try to send high quality
264 feedback. If you don't provide vital information to help us track down
265 the problem then you will probably be ignored. All bug reports should
266 be filed under the Samba 4.1 product in the project's Bugzilla
267 database (https://bugzilla.samba.org/).
270 ======================================================================
271 == Our Code, Our Bugs, Our Responsibility.
273 ======================================================================
276 ----------------------------------------------------------------------
279 ==============================
280 Release Notes for Samba 4.1.13
282 ==============================
285 This is the latest stable release of Samba 4.1.
288 Changes since 4.1.12:
289 ---------------------
291 o Michael Adam <obnox@samba.org>
292 * BUG 10809: s3:smbd:open_file: Use a more natural check.
295 o Jeremy Allison <jra@samba.org>
296 * BUG 10717: s3: winbindd: Old NT Domain code sets struct
297 winbind_domain->alt_name to be NULL. Ensure this is safe with modern
299 * BUG 10779: pthreadpool: Slightly serialize jobs.
300 * BUG 10809: s3: smbd: Open logic fix.
301 * BUG 10830: s3: nmbd: Ensure the main nmbd process doesn't create zombies.
302 * BUG 10831: s3: lib: Signal handling - ensure smbrun and change password
303 code save and restore existing SIGCHLD handlers.
304 * BUG 10848: s3: smb2cli: Query info return length check was reversed.
307 o Günther Deschner <gd@samba.org>
308 * BUG 9984: s3-libnet: Make sure we do not overwrite precreated SPNs.
311 o Björn Jacke <bj@sernet.de
312 * BUG 10814: docs: Mention incompatibility between kernel oplocks and
316 o Volker Lendecke <vl@samba.org>
317 * BUG 10735: Fix unstrcpy.
318 * BUG 10797: s3: smbd: streams - Ensure share mode validation ignores
319 internal opens (op_mid == 0).
320 * BUG 10813: vfs_media_harmony: Fix a crash bug.
321 * BUG 10860: registry: Don't leave dangling transactions.
324 o Christof Schmitt <cs@samba.org>
325 * BUG 10826: s3-winbindd: Use correct realm for trusted domains in idmap
327 * BUG 10837: idmap_rfc2307: Fix a crash after connection problem to DC.
328 * BUG 10838: s3-winbindd: Do not use domain SID from LookupSids for
332 o Andreas Schneider <asn@samba.org>
333 * BUG 9984: s3-libnet: Add libnet_join_get_machine_spns().
334 * BUG 9985: s3-libads: Add all machine account principals to the keytab.
335 * BUG 10816: nmbd: Send waiting status to systemd.
336 * BUG 10817: libcli: Fix a segfault calling smbXcli_req_set_pending() on
338 * BUG 10824: nsswitch: Skip groups we were not able to map.
341 #######################################
342 Reporting bugs & Development Discussion
343 #######################################
345 Please discuss this release on the samba-technical mailing list or by
346 joining the #samba-technical IRC channel on irc.freenode.net.
348 If you do report problems then please try to send high quality
349 feedback. If you don't provide vital information to help us track down
350 the problem then you will probably be ignored. All bug reports should
351 be filed under the Samba 4.1 product in the project's Bugzilla
352 database (https://bugzilla.samba.org/).
355 ======================================================================
356 == Our Code, Our Bugs, Our Responsibility.
358 ======================================================================
361 ----------------------------------------------------------------------
364 ==============================
365 Release Notes for Samba 4.1.12
367 ==============================
370 This is the latest stable release of Samba 4.1.
372 Major enhancements in Samba 4.1.12 include:
374 o New parameter "winbind request timeout" has been added (bug #3204). Please
375 see smb.conf man page for details.
376 o Fix smbd crashes when filename contains non-ascii character (bug #10716).
377 o dnsserver: Handle updates of tombstoned dnsNode objects (bug #10749).
380 Changes since 4.1.11:
381 ---------------------
383 o Michael Adam <obnox@samba.org>
384 * BUG 10369: build: Fix configure to honour '--without-dmapi'.
385 * BUG 10737: s3:idmap: Don't log missing range config if range checking not
387 * BUG 10741: Fix flapping VFS gpfs offline bit.
390 o Jeremy Allison <jra@samba.org>
391 * BUG 3204: s3: winbindd: On new client connect, prune idle or hung
392 connections older than "winbind request timeout". Add new parameter
393 "winbind request timeout".
394 * BUG 10640: lib: tevent: make TEVENT_SIG_INCREMENT atomic.
395 * BUG 10650: Make "case sensitive = True" option working with
396 "max protocol = SMB2" or higher in large directories.
397 * BUG 10716: Fix smbd crashes when filename contains non-ascii
399 * BUG 10728: 'net time': Fix usage and core dump.
400 * BUG 10773: s3: smbd: POSIX ACLs. Remove incorrect check for
401 SECINFO_PROTECTED_DACL in incoming security_information flags in
402 posix_get_nt_acl_common().
403 * BUG 10794: vfs_dirsort: Fix an off-by-one error that can cause
404 uninitialized memory read.
407 o Björn Baumbach <bb@sernet.de>
408 * BUG 10543: s3: Enforce a positive allocation_file_size for non-empty
412 o Kai Blin <kai@samba.org>
413 * BUG 10466: provision: Correctly provision the SOA record minimum TTL.
416 o David Disseldorp <ddiss@samba.org>
417 * BUG 10652: Samba 4 consuming a lot of CPU when re-reading printcap info.
418 * BUG 10787: dosmode: Fix FSCTL_SET_SPARSE request validation.
421 o Amitay Isaacs <amitay@gmail.com>
422 * BUG 10742: s4-rpc: dnsserver: Allow . to be specified for @ record.
425 o Daniel Kobras <d.kobras@science-computing.de>
426 * BUG 10731: sys_poll_intr: Fix timeout arithmetic.
429 o Ross Lagerwall <rosslagerwall@gmail.com>
430 * BUG 10778: s3:libsmb: Set a max charge for SMB2 connections.
433 o Volker Lendecke <vl@samba.org>
434 * BUG 10716: lib: strings: Simplify strcasecmp.
435 * BUG 10758: lib: Remove unused nstrcpy.
436 * BUG 10782: smbd: Properly initialize mangle_hash.
439 o Stefan Metzmacher <metze@samba.org>
440 * BUG 9831: s4:setup/dns_update_list: make use of the new substitution
442 * BUG 10723: Allow netr_ServerReqChallenge() and netr_ServerAuthenticate3()
443 on different connections.
444 * BUG 10749: s4-rpc: dnsserver: Handle updates of tombstoned dnsNode
446 * BUG 10751: s4-rpc: dnsserver: return DNS_RANK_NS_GLUE recors when
447 explicitly asked for.
448 * BUG 10773: libcli/security: Add better detection of
449 SECINFO_[UN]PROTECTED_[D|S]ACL in get_sec_info().
452 o Marc Muehlfeld <mmuehlfeld@samba.org>
453 * BUG 10761: docs: Fix typos in smb.conf (inherit acls).
456 o Shirish Pargaonkar <spargaonkar@suse.com>
457 * BUG 10755: samba: Retain case sensitivity of cifs client.
460 o Arvid Requate <requate@univention.de>
461 * BUG 9570: passdb: Fix NT_STATUS_NO_SUCH_GROUP.
464 o Har Gagan Sahai <SHarGagan@novell.com>
465 * BUG 10759: Fix a memory leak in cli_set_mntpoint().
468 o Roel van Meer <roel@1afa.com>
469 * BUG 10777: Don't discard result of checking grouptype.
472 #######################################
473 Reporting bugs & Development Discussion
474 #######################################
476 Please discuss this release on the samba-technical mailing list or by
477 joining the #samba-technical IRC channel on irc.freenode.net.
479 If you do report problems then please try to send high quality
480 feedback. If you don't provide vital information to help us track down
481 the problem then you will probably be ignored. All bug reports should
482 be filed under the Samba 4.1 product in the project's Bugzilla
483 database (https://bugzilla.samba.org/).
486 ======================================================================
487 == Our Code, Our Bugs, Our Responsibility.
489 ======================================================================
492 ----------------------------------------------------------------------
495 ==============================
496 Release Notes for Samba 4.1.11
498 ==============================
501 This is a security release in order to address
502 CVE-2014-3560 (Remote code execution in nmbd).
505 Samba 4.0.0 to 4.1.10 are affected by a remote code execution attack on
506 unauthenticated nmbd NetBIOS name services.
508 A malicious browser can send packets that may overwrite the heap of
509 the target nmbd NetBIOS name services daemon. It may be possible to
510 use this to generate a remote code execution vulnerability as the
514 Changes since 4.1.10:
515 ---------------------
517 o Volker Lendecke <vl@samba.org>
518 * BUG 10735: CVE-2014-3560: Fix unstrcpy macro length.
521 #######################################
522 Reporting bugs & Development Discussion
523 #######################################
525 Please discuss this release on the samba-technical mailing list or by
526 joining the #samba-technical IRC channel on irc.freenode.net.
528 If you do report problems then please try to send high quality
529 feedback. If you don't provide vital information to help us track down
530 the problem then you will probably be ignored. All bug reports should
531 be filed under the Samba 4.1 product in the project's Bugzilla
532 database (https://bugzilla.samba.org/).
535 ======================================================================
536 == Our Code, Our Bugs, Our Responsibility.
538 ======================================================================
541 ----------------------------------------------------------------------
544 ==============================
545 Release Notes for Samba 4.1.10
547 ==============================
550 This is the latest stable release of Samba 4.1.
556 o Michael Adam <obnox@samba.org>
557 * BUG 10693: Backport ldb-1.1.17 + changes from master.
560 o Jeremy Allison <jra@samba.org>
561 * BUG 10587: s3: libsmbclient: Work around bugs in SLES cifsd and Apple smbx
563 * BUG 10653: Samba won't start on a machine configured with only IPv4.
564 * BUG 10671: s3: smbd: Prevent file truncation on an open that fails with
565 share mode violation.
566 * BUG 10673: s3: SMB2: Fix leak of blocking lock records in the database.
567 * BUG 10684: SMB1 blocking locks can fail notification on unlock, causing
569 * BUG 10685: s3: smbd: Locking, fix off-by one calculation in
570 brl_pending_overlap().
571 * BUG 10692: wbcCredentialCache fails if challenge_blob is not first.
574 o Christian Ambach <ambi@samba.org>
575 * BUG 10693: lib/ldb: Fix compiler warnings.
578 o Andrew Bartlett <abartlet@samba.org>
579 * BUG 8077: dbcheck: Add check and test for various invalid userParameters
581 * BUG 8449: Simple use case results in "no talloc stackframe around, leaking
583 * BUG 10130: dsdb: Always store and return the userParameters as a array of
585 * BUG 10582: dsdb: Rename private_data to rootdse_private_data in rootdse.
586 * BUG 10627: rid_array used before status checked - segmentation fault due
587 to null pointer dereference.
588 * BUG 10693: ldb: make the successful ldb_transaction_start() message
590 * BUG 10694: dsdb: Return NO_SUCH_OBJECT if a basedn is a deleted object.
591 * BUG 10700: Backport access check related fixes from master.
594 o Björn Baumbach <bb@sernet.de>
595 * BUG 10674: samba-tool: Add --site parameter to provision command.
598 o Howard Chu <hyc@symas.com>
599 * BUG 10693: Fix SEGV from improperly formed SUBSTRING/PRESENCE filter.
602 o Jeroen Dekkers <jeroen@dekkers.ch>
603 * BUG 10693: ldb: Do not build libldb-cmdline when using system ldb.
606 o Nadezhda Ivanova <nivanova@symas.com>
607 * BUG 10693: s4-openldap: Remove use of talloc_reference in
611 o Björn Jacke <bj@sernet.de>
612 * BUG 3263: net/doc: Make clear that net vampire is for NT4 domains only.
615 o Abhidnya Joshi <achirmul@in.ibm.com>
616 * BUG s3: Fix missing braces in nfs4_acls.c.
619 o Volker Lendecke <vl@samba.org>
620 * BUG 10593: Fix "PANIC: assert failed at ../source3/smbd/open.c(1582): ret".
621 * BUG 10663: msg_channel: Fix a 100% CPU loop.
622 * BUG 10671: s3: smbd: Prevent file truncation on an open that fails with
623 share mode violation.
624 * BUG 10680: smbstatus: Fix an uninitialized variable.
625 * BUG 10687: 'RW2' smbtorture test fails when -N <numprocs> is set to 2 due
626 to the invalid status check in the second client.
627 * BUG 10693: ldb: Fix 1138330 Dereference null return value, fix CIDs
628 241329, 240798, 1034791, 1034792 1034910, 1034910).
629 * BUG 10699: smbd: Avoid double-free in get_print_db_byname.
632 o Stefan Metzmacher <metze@samba.org>
633 * BUG 8077: s4:dsdb/samldb: Don't allow 'userParameters' to be modified over
635 * BUG 9763: s4:dsdb/repl_meta_data: Make sure objectGUID can't be deleted.
636 * BUG 10469: ldb-samba: fix a memory leak in
637 ldif_canonicalise_objectCategory().
638 * BUG 10294: s4:repl_meta_data: fix array assignment in
639 replmd_process_linked_attribute().
640 * BUG 10536: dbchecker: Verify and fix broken dn values.
641 * BUG 10692: wbcCredentialCache fails if challenge_blob is not first.
642 * BUG 10693: ldb:pyldb: Add some more helper functions for LdbDn.
643 * BUG 10694: s4:dsdb/extended_dn_in: Don't force DSDB_SEARCH_SHOW_RECYCLED.
644 * BUG 10696: Backport autobuild/selftest fixes from master.
645 * BUG 10706: s3:smb2_read: let smb2_sendfile_send_data() behave like
649 o Matthieu Patou <mat@matws.net>
650 * BUG 10693: pyldb: Decrement ref counters on py_results and quiet warnings.
651 * BUG 10698: Backport drs-crackname fixes from master.
654 o Pavel Reichl <pavel.reichl@redhat.com>
655 * BUG 10693: ldb: Use of NULL pointer bugfix.
658 o Garming Sam <garming@catalyst.net.nz>
659 * BUG 10703: Backport provision fixes from master.
662 o Andreas Schneider <asn@samba.org>
663 * BUG 10693: ldb: Add a env variable to disable RTLD_DEEPBIND.
666 #######################################
667 Reporting bugs & Development Discussion
668 #######################################
670 Please discuss this release on the samba-technical mailing list or by
671 joining the #samba-technical IRC channel on irc.freenode.net.
673 If you do report problems then please try to send high quality
674 feedback. If you don't provide vital information to help us track down
675 the problem then you will probably be ignored. All bug reports should
676 be filed under the Samba 4.1 product in the project's Bugzilla
677 database (https://bugzilla.samba.org/).
680 ======================================================================
681 == Our Code, Our Bugs, Our Responsibility.
683 ======================================================================
686 ----------------------------------------------------------------------
689 =============================
690 Release Notes for Samba 4.1.9
692 =============================
695 This is a security release in order to address
696 CVE-2014-0244 (Denial of service - CPU loop) and
697 CVE-2014-3493 (Denial of service - Server crash/memory corruption).
700 All current released versions of Samba are vulnerable to a denial of
701 service on the nmbd NetBIOS name services daemon. A malformed packet
702 can cause the nmbd server to loop the CPU and prevent any further
703 NetBIOS name service.
705 This flaw is not exploitable beyond causing the code to loop expending
709 All current released versions of Samba are affected by a denial of service
710 crash involving overwriting memory on an authenticated connection to the
717 o Jeremy Allison <jra@samba.org>
718 * BUG 10633: CVE-2014-0244: Fix nmbd denial of service.
719 * BUG 10654: CVE-2014-3493: Fix segmentation fault in
720 smbd_marshall_dir_entry()'s SMB_FIND_FILE_UNIX handler.
723 #######################################
724 Reporting bugs & Development Discussion
725 #######################################
727 Please discuss this release on the samba-technical mailing list or by
728 joining the #samba-technical IRC channel on irc.freenode.net.
730 If you do report problems then please try to send high quality
731 feedback. If you don't provide vital information to help us track down
732 the problem then you will probably be ignored. All bug reports should
733 be filed under the Samba 4.1 product in the project's Bugzilla
734 database (https://bugzilla.samba.org/).
737 ======================================================================
738 == Our Code, Our Bugs, Our Responsibility.
740 ======================================================================
743 ----------------------------------------------------------------------
746 =============================
747 Release Notes for Samba 4.1.8
749 =============================
752 This is the latest stable release of Samba 4.1.
754 Please note that this bug fix release also addresses two minor security issues
755 without being a dedicated security release:
757 o CVE-2014-0239: dns: Don't reply to replies (bug #10609).
758 o CVE-2014-0178: Malformed FSCTL_SRV_ENUMERATE_SNAPSHOTS response
761 For more details including security advisories and patches, please see
763 http://www.samba.org/samba/history/security.html
769 o Michael Adam <obnox@samba.org>
770 * BUG 10548: build: Fix ordering problems with lib-provided and internal
774 o Jeremy Allison <jra@samba.org>
775 * BUG 3124: s3: smb2: Fix 'xcopy /d' with samba shares.
776 * BUG 10544: s3: lib/util: Fix logic inside set_namearray loops.
777 * BUG 10564: Fix lock order violation and file lost.
778 * BUG 10577: Fix wildcard unlink to fail if we get an error rather than
782 o Andrew Bartlett <abartlet@samba.org>
783 * BUG 10569: dsdb: Do checks for invalid renames in samldb, before
787 o Björn Baumbach <bb@sernet.de>
788 * BUG 10239: s3: nmbd: Reset debug settings after reading config file.
789 * BUG 10544: s3: lib/util: set_namearray reads across end of namelist
790 * BUG 10556: lib-util: Rename memdup to smb_memdup and fix all callers.
793 o Kai Blin <kai@samba.org>
794 * BUG 10609: CVE-2014-0239: dns: Don't reply to replies.
797 o Alexander Bokovoy <ab@samba.org>
798 * BUG 10517: Use exit_daemon() to communicate status of startup to
802 o David Disseldorp <ddiss@samba.org>
803 * BUG 10590: byteorder: Do not assume PowerPC is big-endian.
804 * BUG 10612: printing: Fix purge of all print jobs.
807 o Benjamin Franzke <benjaminfranzke@googlemail.com>
808 * BUG 10524: Fix adding NetApps.
811 o Abhidnya Joshi <achirmul@in.ibm.com>
812 * BUG 10547: idmap_autorid: Fix failure in reverse lookup if ID is from
813 domain range index #0.
816 o Stefan Metzmacher <metze@samba.org>
817 * BUG 10472: script/autobuild: Make use of
818 '--with-perl-{arch,lib}-install-dir'.
821 o Noel Power <nopower@suse.com>
822 * BUG 10554: Fix read of deleted memory in reply_writeclose()'.
825 o Jose A. Rivera <jarrpa@redhat.com>
826 * BUG 10151: Extra ':' in msg for Waf Cross Compile Build System with
827 Cross-answers command.
828 * BUG 10348: Fix empty body in if-statement in continue_domain_open_lookup.
831 o Christof Schmitt <christof.schmitt@us.ibm.com>
832 * BUG 10549: CVE-2014-0178: Malformed FSCTL_SRV_ENUMERATE_SNAPSHOTS
836 o Andreas Schneider <asn@samba.org>
837 * BUG 10472: wafsamba: Fix the installation on FreeBSD.
840 #######################################
841 Reporting bugs & Development Discussion
842 #######################################
844 Please discuss this release on the samba-technical mailing list or by
845 joining the #samba-technical IRC channel on irc.freenode.net.
847 If you do report problems then please try to send high quality
848 feedback. If you don't provide vital information to help us track down
849 the problem then you will probably be ignored. All bug reports should
850 be filed under the Samba 4.1 product in the project's Bugzilla
851 database (https://bugzilla.samba.org/).
854 ======================================================================
855 == Our Code, Our Bugs, Our Responsibility.
857 ======================================================================
860 ----------------------------------------------------------------------
863 =============================
864 Release Notes for Samba 4.1.7
866 =============================
869 This is the latest stable release of Samba 4.1.
875 o Jeremy Allison <jra@samba.org>
876 * BUG 9878: Make "force user" work as expected.
877 * BUG 9942: Fix problem with server taking too long to respond to a
878 MSG_PRINTER_DRVUPGRADE message.
879 * BUG 9993: s3-printing: Fix obvious memory leak in
880 printer_list_get_printer().
881 * BUG 10344: SessionLogoff on a signed connection with an outstanding notify
882 request crashes smbd.
883 * BUG 10431: Fix STATUS_NO_MEMORY response from Query File Posix Lock request.
884 * BUG 10508: smbd: Correctly add remote users into local groups.
885 * BUG 10534: Cleanup messages.tdb record after unclean smbd shutdown.
888 o Christian Ambach <ambi@samba.org>
889 * BUG 9911: Fix build on AIX with IBM XL C/C++ (gettext detection issues).
890 * BUG 10308: Fix String Conversion Errors with Samba 4.1.0 Build on AIX 7.1.
893 o Gregor Beck <gbeck@sernet.de>
894 * BUG 10230: Make (lib)smbclient work with NetApp.
895 * BUG 10458: Fix 'wbinfo -i' with one-way trust.
896 * s3:rpc_server: Minor refactoring of process_request_pdu().
899 o Kai Blin <kai@samba.org>
900 * BUG 10471: Don't respond with NXDOMAIN to records that exist with another
904 o Alexander Bokovoy <ab@samba.org>
905 * BUG 10504: lsa.idl: Define lsa.ForestTrustCollisionInfo and
906 ForestTrustCollisionRecord as public structs.
909 o Günther Deschner <gd@samba.org>
910 * BUG 10439: Increase max netbios name components.
913 o David Disseldorp <ddiss@samba.org>
914 * BUG 10188: doc: Add "spoolss: architecture" parameter usage.
915 * BUG 10484: Initial FSRVP rpcclient requests fail with
916 NT_STATUS_PIPE_NOT_AVAILABLE.
917 * BUG 10521: rpcclient FSRVP request UNCs should include a trailing
921 o Daniel Liberman <danielvl@gmail.com>
922 * BUG 10387: 'net ads search' on high latency networks can return a partial
923 list with no error indication.
926 o Stefan Metzmacher <metze@samba.org>
927 * BUG 10200: Make 'smbclient' support DFS shares with SMB2/3.
928 * BUG 10344: SessionLogoff on a signed connection with an outstanding notify
929 request crashes smbd.
930 * BUG 10422: max xmit > 64kb leads to segmentation fault.
931 * BUG 10444: smbd_server_connection_terminate("CTDB_SRVID_RELEASE_IP")
932 panics from within ctdbd_migrate() with invalid lock_order.
933 * BUG 10464: samba4 services not binding on IPv6 addresses causing
937 o Garming Sam <garming@catalyst.net.nz>
938 * BUG 10378: dfs: Always call create_conn_struct with root privileges.
941 o Andreas Schneider <asn@cryptomilk.org>
942 * BUG 10467: s3-vfs: Fix stream_depot vfs module on btrfs.
943 * BUG 10472: pidl: waf should have an option for the dir to install perl
944 files and do not glob.
945 * BUG 10474: s3-spoolssd: Don't register spoolssd if epmd is not running.
946 * BUG 10481: s3-rpc_server: Fix handling of fragmented rpc requests.
949 o Gustavo Zacarias <gustavo@zacarias.com.ar>
950 * BUG 10506: Make 'smbreadline' build with readline 6.3.
953 #######################################
954 Reporting bugs & Development Discussion
955 #######################################
957 Please discuss this release on the samba-technical mailing list or by
958 joining the #samba-technical IRC channel on irc.freenode.net.
960 If you do report problems then please try to send high quality
961 feedback. If you don't provide vital information to help us track down
962 the problem then you will probably be ignored. All bug reports should
963 be filed under the Samba 4.1 product in the project's Bugzilla
964 database (https://bugzilla.samba.org/).
967 ======================================================================
968 == Our Code, Our Bugs, Our Responsibility.
970 ======================================================================
973 ----------------------------------------------------------------------
976 =============================
977 Release Notes for Samba 4.1.6
979 =============================
982 This is a security release in order to address
983 CVE-2013-4496 (Password lockout not enforced for SAMR password changes) and
984 CVE-2013-6442 (smbcacls can remove a file or directory ACL by mistake).
987 Samba versions 3.4.0 and above allow the administrator to implement
988 locking out Samba accounts after a number of bad password attempts.
990 However, all released versions of Samba did not implement this check for
991 password changes, such as are available over multiple SAMR and RAP
992 interfaces, allowing password guessing attacks.
995 Samba versions 4.0.0 and above have a flaw in the smbcacls command. If
996 smbcacls is used with the "-C|--chown name" or "-G|--chgrp name"
997 command options it will remove the existing ACL on the object being
998 modified, leaving the file or directory unprotected.
1001 Changes since 4.1.5:
1002 --------------------
1004 o Jeremy Allison <jra@samba.org>
1005 * BUG 10327: CVE-2013-6442: ensure we don't lose an existing ACL when
1006 setting owner or group owner.
1009 o Andrew Bartlett <abartlet@samba.org>
1010 * BUG 10245: CVE-2013-4496: Enforce password lockout for SAMR password
1014 o Stefan Metzmacher <metze@samba.org>
1015 * BUG 10245: CVE-2013-4496: Enforce password lockout for SAMR password
1019 #######################################
1020 Reporting bugs & Development Discussion
1021 #######################################
1023 Please discuss this release on the samba-technical mailing list or by
1024 joining the #samba-technical IRC channel on irc.freenode.net.
1026 If you do report problems then please try to send high quality
1027 feedback. If you don't provide vital information to help us track down
1028 the problem then you will probably be ignored. All bug reports should
1029 be filed under the Samba 4.1 product in the project's Bugzilla
1030 database (https://bugzilla.samba.org/).
1033 ======================================================================
1034 == Our Code, Our Bugs, Our Responsibility.
1036 ======================================================================
1039 ----------------------------------------------------------------------
1042 =============================
1043 Release Notes for Samba 4.1.5
1045 =============================
1048 This is the latest stable release of Samba 4.1.
1050 Major enhancements in Samba 4.1.5 include:
1052 o Fix 100% CPU utilization in winbindd when trying to free memory in
1053 winbindd_reinit_after_fork (bug #10358).
1054 o smbd: Fix memory overwrites (bug #10415).
1057 Changes since 4.1.4:
1058 --------------------
1060 o Michael Adam <obnox@samba.org>
1061 * BUG 10259: Make shadow_copy2 module working with Windows 7.
1064 o Jeremy Allison <jra@samba.org>
1065 * BUG 2662: Make revamped directory handling code 64bit clean.
1066 * BUG 10320: s3: smbpasswd: Fix crashes on invalid input.
1067 * BUG 10358: Fix 100% CPU utilization in winbindd when trying to free
1068 memory in winbindd_reinit_after_fork.
1069 * BUG 10406: s3: vfs_dirsort module: Allow dirsort to work when multiple
1070 simultaneous directories are open.
1071 * BUG 10429: s3: modules: streaminfo: As we have no VFS function
1072 SMB_VFS_LLISTXATTR we can't cope with a symlink when lp_posix_pathnames()
1076 o Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
1077 * BUG 10087: ntlm_auth sometimes returns the wrong username to
1078 mod_ntlm_auth_winbind.
1081 o Andrew Bartlett <abartlet@samba.org>
1082 * BUG 10418: Fix INTERNAL ERROR: Signal 11 in the kdc pid.
1085 o Jeffrey Clark <dude@zaplabs.com>
1086 * BUG 10418: Add support for Heimdal's unified krb5 and hdb plugin system.
1089 o Niels de Vos <ndevos@redhat.com>
1090 * BUG 10384: vfs/glusterfs: In case atime is not passed, set it to the
1094 o David Disseldorp <ddiss@samba.org>
1095 * BUG 10424: vfs_btrfs: Fix incorrect zero length server-side copy request
1099 o Volker Lendecke <vl@samba.org>
1100 * BUG 2191: s3-winbind: Improve performance of wb_fill_pwent_sid2uid_done().
1101 * BUG 10415: smbd: Fix memory overwrites.
1102 * BUG 10436: smbd: Fix an ancient oplock bug.
1105 o Stefan Metzmacher <metze@samba.org>
1106 * BUG 10442: Fix crash bug in smb2_notify code.
1109 o Andreas Schneider <asn@samba.org>
1110 * BUG 10367: Fix several memory leaks.
1113 o Jelmer Vernooij <jelmer@samba.org>
1114 * BUG 10418: Cope with first element in hdb_method having a different name
1115 in different heimdal versions.
1118 #######################################
1119 Reporting bugs & Development Discussion
1120 #######################################
1122 Please discuss this release on the samba-technical mailing list or by
1123 joining the #samba-technical IRC channel on irc.freenode.net.
1125 If you do report problems then please try to send high quality
1126 feedback. If you don't provide vital information to help us track down
1127 the problem then you will probably be ignored. All bug reports should
1128 be filed under the Samba 4.1 product in the project's Bugzilla
1129 database (https://bugzilla.samba.org/).
1132 ======================================================================
1133 == Our Code, Our Bugs, Our Responsibility.
1135 ======================================================================
1138 ----------------------------------------------------------------------
1141 =============================
1142 Release Notes for Samba 4.1.4
1144 =============================
1147 This is the latest stable release of Samba 4.1.
1149 Major enhancements in Samba 4.1.4 include:
1151 o Fix segfault in smbd (bug #10284).
1152 o Fix SMB2 server panic when a smb2 brlock times out (bug #10311).
1155 Changes since 4.1.3:
1156 --------------------
1158 o Jeremy Allison <jra@samba.org>
1159 * BUG 9870: smbd: Allow updates on directory write times on open handles.
1160 * BUG 10260: smbclient shows no error if deleting a directory with del
1162 * BUG 10297: smbd: Fix writing to a directory with -wx permissions
1164 * BUG 10305: ldb: bad if test in ldb_comparison_fold().
1167 o Christian Ambach <ambi@samba.org>
1168 * BUG 10276: Fix waf build error on AIX with IBM XL C/C++.
1169 * BUG 10280: s3:winbindd fix use of uninitialized variables.
1172 o Michele Baldessari <michele@acksyn.org>
1173 * BUG 10281: Fix typos in man pages.
1176 o Jan Brummer <jan.brummer@tabos.org>
1177 * BUG 10285: s3-winbindd: Fix DEBUG statement in winbind_msg_offline().
1180 o Günther Deschner <gd@samba.org>
1181 * BUG 10262: s3-libnetjoin: Use upper-case realm when composing default
1183 * BUG 10281: Fix numerous typos in man pages.
1186 o David Disseldorp <ddiss@samba.org>
1187 * BUG 10271: Send correct job-ID in print job notifications.
1190 o Poornima Gurusiddaiah <pgurusid@redhat.com>
1191 * BUG 10337: vfs_glusterfs: Enable per client log file.
1194 o Volker Lendecke <vl@samba.org>
1195 * BUG 10250: smbd: Fix a talloc hierarchy problem in msg_channel.
1196 * BUG 10284: smbd: Fix segfaults.
1197 * BUG 10297: smbd: Fix writing to a directory with -wx permissions
1199 * BUG 10311: Fix SMB2 server panic when a smb2 brlock times out.
1202 o Stefan Metzmacher <metze@samba.org>
1203 * BUG 10298: Reduce smb2_server processing overhead.
1206 o Arvid Requate <requate@univention.de>
1207 * BUG 10267: Fix printing via local printer drivers with Windows 8.
1210 o Christof Schmitt <cs@samba.org>
1211 * BUG 10310: Fix AIO with SMB2 and locks.
1214 o Andreas Schneider <asn@samba.org>
1215 * BUG 2191: Fix %G/%g substitution in 'template homedir'.
1216 * BUG 10274: Fix several issues and warnings from analyzer tools.
1217 * BUG 10286: s3-lib: Fix %G substitution for domain users in smbd.
1220 #######################################
1221 Reporting bugs & Development Discussion
1222 #######################################
1224 Please discuss this release on the samba-technical mailing list or by
1225 joining the #samba-technical IRC channel on irc.freenode.net.
1227 If you do report problems then please try to send high quality
1228 feedback. If you don't provide vital information to help us track down
1229 the problem then you will probably be ignored. All bug reports should
1230 be filed under the Samba 4.1 product in the project's Bugzilla
1231 database (https://bugzilla.samba.org/).
1234 ======================================================================
1235 == Our Code, Our Bugs, Our Responsibility.
1237 ======================================================================
1240 ----------------------------------------------------------------------
1243 =============================
1244 Release Notes for Samba 4.1.3
1246 =============================
1249 This is a security release in order to address
1250 CVE-2013-4408 (DCE-RPC fragment length field is incorrectly checked) and
1251 CVE-2012-6150 (pam_winbind login without require_membership_of restrictions).
1254 Samba versions 3.4.0 and above (versions 3.4.0 - 3.4.17, 3.5.0 -
1255 3.5.22, 3.6.0 - 3.6.21, 4.0.0 - 4.0.12 and including 4.1.2) are
1256 vulnerable to buffer overrun exploits in the client processing of
1257 DCE-RPC packets. This is due to incorrect checking of the DCE-RPC
1258 fragment length in the client code.
1260 This is a critical vulnerability as the DCE-RPC client code is part of
1261 the winbindd authentication and identity mapping daemon, which is
1262 commonly configured as part of many server installations (when joined
1263 to an Active Directory Domain). A malicious Active Directory Domain
1264 Controller or man-in-the-middle attacker impersonating an Active
1265 Directory Domain Controller could achieve root-level access by
1266 compromising the winbindd process.
1268 Samba server versions 3.4.0 - 3.4.17 and versions 3.5.0 - 3.5.22 are
1269 also vulnerable to a denial of service attack (server crash) due to a
1270 similar error in the server code of those versions.
1272 Samba server versions 3.6.0 and above (including all 3.6.x versions,
1273 all 4.0.x versions and 4.1.x) are not vulnerable to this problem.
1275 In addition range checks were missing on arguments returned from calls
1276 to the DCE-RPC functions LookupSids (lsa and samr), LookupNames (lsa and samr)
1277 and LookupRids (samr) which could also cause similar problems.
1279 As this was found during an internal audit of the Samba code there are
1280 no currently known exploits for this problem (as of December 9th 2013).
1283 Winbind allows for the further restriction of authenticated PAM logins using
1284 the require_membership_of parameter. System administrators may specify a list
1285 of SIDs or groups for which an authenticated user must be a member of. If an
1286 authenticated user does not belong to any of the entries, then login should
1287 fail. Invalid group name entries are ignored.
1289 Samba versions 3.3.10, 3.4.3, 3.5.0 and later incorrectly allow login from
1290 authenticated users if the require_membership_of parameter specifies only
1291 invalid group names.
1293 This is a vulnerability with low impact. All require_membership_of group
1294 names must be invalid for this bug to be encountered.
1297 Changes since 4.1.2:
1298 --------------------
1300 o Jeremy Allison <jra@samba.org>
1301 * BUG 10185: CVE-2013-4408: Correctly check DCE-RPC fragment length field.
1304 o Stefan Metzmacher <metze@samba.org>
1305 * BUG 10185: CVE-2013-4408: Correctly check DCE-RPC fragment length field.
1308 o Noel Power <noel.power@suse.com>
1309 * BUGs 10300, 10306: CVE-2012-6150: Fail authentication if user isn't
1310 member of *any* require_membership_of specified groups.
1313 #######################################
1314 Reporting bugs & Development Discussion
1315 #######################################
1317 Please discuss this release on the samba-technical mailing list or by
1318 joining the #samba-technical IRC channel on irc.freenode.net.
1320 If you do report problems then please try to send high quality
1321 feedback. If you don't provide vital information to help us track down
1322 the problem then you will probably be ignored. All bug reports should
1323 be filed under the Samba 4.1 product in the project's Bugzilla
1324 database (https://bugzilla.samba.org/).
1327 ======================================================================
1328 == Our Code, Our Bugs, Our Responsibility.
1330 ======================================================================
1333 ----------------------------------------------------------------------
1336 =============================
1337 Release Notes for Samba 4.1.2
1339 =============================
1342 This is is the latest stable release of Samba 4.1.
1345 Changes since 4.1.1:
1346 --------------------
1348 o Jeremy Allison <jra@samba.org>
1349 * BUG 10187: Missing talloc_free can leak stackframe in error path.
1350 * BUG 10196: RW Deny for a specific user is not overriding RW Allow for a
1354 o Anand Avati <avati@redhat.com>
1355 * BUG 10224: vfs_glusterfs: Implement proper mashalling/unmarshalling of
1359 o Andrew Bartlett <abartlet@samba.org>
1360 * BUG 10052: dfs_server: Use dsdb_search_one to catch 0 results as well as
1361 NO_SUCH_OBJECT errors.
1364 o Samuel Cabrero <scabrero@zentyal.com>
1365 * BUG 9091: s4-dns: dlz_bind9: Create dns-HOSTNAME account disabled.
1368 o Günther Deschner <gd@samba.org>
1369 * BUG 10264: s3-winbindd: Fix cache_traverse_validate_fn failure for
1373 o Christopher R. Hertel <crh@redhat.com>
1374 * BUG 10224: vfs_glusterfs: Fix excessive debug output from
1378 o Björn Jacke <bj@sernet.de>
1379 * BUG 10247: xattr: Fix listing EAs on *BSD for non-root users.
1382 o Volker Lendecke <vl@samba.org>
1383 * BUG 10190: Fix memset used with constant zero length parameter.
1384 * BUG 10195: nsswitch: Fix short writes in winbind_write_sock.
1387 o Stefan Metzmacher <metze@samba.org>
1388 * BUG 10193: s4:dsdb/rootdse: report 'dnsHostName' instead of 'dNSHostName'.
1389 * BUG 10232: libcli/smb: Fix smb2cli_ioctl*() against Windows 2008.
1392 o Susant Kumar Palai <spalai@redhat.com>
1393 * BUG 10224: VFS plugin was sending the actual size of the volume instead of
1394 the total number of block units because of which windows was getting the
1395 wrong volume capacity.
1398 o Andreas Schneider <asn@samba.org>
1399 * BUG 10194: Make offline logon cache updating for cross child domain group
1401 * BUG 10269: util: Remove 32bit macros breaking strict aliasing.
1402 * BUG 10253: Fix the build of vfs_glusterfs.
1405 #######################################
1406 Reporting bugs & Development Discussion
1407 #######################################
1409 Please discuss this release on the samba-technical mailing list or by
1410 joining the #samba-technical IRC channel on irc.freenode.net.
1412 If you do report problems then please try to send high quality
1413 feedback. If you don't provide vital information to help us track down
1414 the problem then you will probably be ignored. All bug reports should
1415 be filed under the Samba 4.1 product in the project's Bugzilla
1416 database (https://bugzilla.samba.org/).
1419 ======================================================================
1420 == Our Code, Our Bugs, Our Responsibility.
1422 ======================================================================
1425 ----------------------------------------------------------------------
1428 =============================
1429 Release Notes for Samba 4.1.1
1431 =============================
1434 This is a security release in order to address
1435 CVE-2013-4475 (ACLs are not checked on opening an alternate
1436 data stream on a file or directory) and
1437 CVE-2013-4476 (Private key in key.pem world readable).
1440 Samba versions 3.2.0 and above (all versions of 3.2.x, 3.3.x,
1441 3.4.x, 3.5.x, 3.6.x, 4.0.x and 4.1.x) do not check the underlying
1442 file or directory ACL when opening an alternate data stream.
1444 According to the SMB1 and SMB2+ protocols the ACL on an underlying
1445 file or directory should control what access is allowed to alternate
1446 data streams that are associated with the file or directory.
1448 By default no version of Samba supports alternate data streams
1449 on files or directories.
1451 Samba can be configured to support alternate data streams by loading
1452 either one of two virtual file system modues (VFS) vfs_streams_depot or
1453 vfs_streams_xattr supplied with Samba, so this bug only affects Samba
1454 servers configured this way.
1456 To determine if your server is vulnerable, check for the strings
1457 "streams_depot" or "streams_xattr" inside your smb.conf configuration
1461 In setups which provide ldap(s) and/or https services, the private
1462 key for SSL/TLS encryption might be world readable. This typically
1463 happens in active directory domain controller setups.
1466 Changes since 4.1.0:
1467 --------------------
1469 o Jeremy Allison <jra@samba.org>
1470 * BUGs 10234 + 10229: CVE-2013-4475: Fix access check verification on stream
1474 o Björn Baumbach <bb@sernet.de>
1475 * BUG 10234: CVE-2013-4476: Private key in key.pem world readable.
1478 #######################################
1479 Reporting bugs & Development Discussion
1480 #######################################
1482 Please discuss this release on the samba-technical mailing list or by
1483 joining the #samba-technical IRC channel on irc.freenode.net.
1485 If you do report problems then please try to send high quality
1486 feedback. If you don't provide vital information to help us track down
1487 the problem then you will probably be ignored. All bug reports should
1488 be filed under the Samba 4.1 product in the project's Bugzilla
1489 database (https://bugzilla.samba.org/).
1492 ======================================================================
1493 == Our Code, Our Bugs, Our Responsibility.
1495 ======================================================================
1498 ----------------------------------------------------------------------
1501 =============================
1502 Release Notes for Samba 4.1.0
1504 =============================
1507 This is is the first stable release of Samba 4.1.
1509 Samba 4.1 will be the next version of the Samba suite and includes
1510 all the technology found in both the Samba4 series and the stable 3.x
1511 series. The primary additional features over Samba 3.6 are
1512 support for the Active Directory logon protocols used by Windows 2000
1515 Major enhancements in Samba 4.1.0 include:
1517 Client tools support SMB2/3
1518 ===========================
1520 Samba 4.1.0 contains the first release of our client tools
1521 and client library that work over the new protocols SMB2 or SMB3.
1522 Note that SMB3 only works either to a Samba server version 4.0.0
1523 or above, or to a Windows Server running Windows 2012 or Windows 8.
1525 The default protocol for smbclient and smbcacls is still
1526 SMB1 (the NT1 protocol dialect). An SMB2 or SMB3 connection
1527 can be selected in one of two ways. The easiest way to test
1528 the new protocol connection is to add the -mMAX_PROTOCOL
1529 command line switch to either smbclient or smbcacls.
1531 For example, to connect using SMB3 with smbclient a user
1534 smbclient //server/share -Uuser%password -mSMB3
1536 Another example of connecting using SMB2 using smbcacls
1539 smbcacls //server/share -Uuser%password -mSMB2 filename
1541 Note that when connecting using SMB2 or SMB3 protocols
1542 the UNIX extensions are no longer available inside the
1543 smbclient command set. This is due to UNIX extensions
1544 not yet being defined for the SMB2 or SMB3 protocols.
1546 The second way to select SMB2 or SMB3 connections is to
1547 set the "client max protocol" parameter in the [global]
1548 section of your smb.conf.
1550 Setting this parameter will cause all client connections
1551 from Samba and its client tools to offer the requested
1552 max protocol to a server on every connection request.
1554 For example, to cause all client tools (including winbindd,
1555 rpcclient, and the libsmbclient library) to attempt use SMB3
1556 by default add the line:
1558 client max protocol = SMB3
1560 to the [global] section of your smb.conf. This has not
1561 been as widely tested as the -mPROTOCOL options, but
1562 is intended to work correctly in the final release of
1568 Although Samba servers have supported encrypted transport
1569 connections using the UNIX extensions for many years,
1570 selecting SMB3 transport allows encrypted transport
1571 connections to Windows servers that support SMB3, as
1572 well as Samba servers.
1574 In order to enable this, add the "-e" option to the
1575 smbclient command line.
1577 For example, to connect to a Windows 2012 server over
1578 SMB3 and select an encrypted transport you would use
1579 the following command line:
1581 smbclient //Win2012Server/share -Uuser%password -mSMB3 -e
1584 Directory database replication (AD DC mode)
1585 ===========================================
1587 Directory replication has been reworked in order to improve the
1588 correctness and efficiency.
1589 As a net effect of it, replication with other domain controllers with
1590 a heavily modified schema is now possible (ie. Windows 2012 DCs or
1591 other Windows DC with exchange installed) and replication didn't fail
1592 anymore in such environments.
1595 Server-Side Copy Support
1596 ========================
1598 Samba 4.1.0 adds support for server-side copy operations via the SMB2
1599 FSCTL_SRV_COPYCHUNK request. Clients making use of server-side copy
1600 support, such as Windows Server 2012, should experience considerable
1601 performance improvements for file copy operations, as file data need not
1602 traverse the network.
1603 This feature is enabled by default on the smbd file server.
1606 Btrfs Filesystem Integration
1607 ============================
1609 The Btrfs VFS module provided with Samba 4.1.0 further improves the
1610 performance of server-side copy operations on shares backed by a Btrfs
1611 filesystem. It does so by allowing multiple files to share the same
1612 on-disk extents, avoiding the unnecessary duplication of source and
1613 destination file data during a server-side copy operation.
1615 This feature can be explicitly enabled on smbd shares backed by a Btrfs
1616 filesystem with the smb.conf parameter:
1623 The Samba Web Administration Tool (SWAT) has been removed.
1624 Details why SWAT has been removed can be found on the samba-technical mailing
1627 https://lists.samba.org/archive/samba-technical/2013-February/090572.html
1630 ######################################################################
1637 Parameter Name Description Default
1638 -------------- ----------- -------
1640 acl allow execute always New False
1641 password level Removed
1642 set directory Removed
1646 RUNNING Samba 4.1 as an AD DC
1647 =============================
1649 A short guide to setting up Samba as an AD DC can be found on the wiki:
1651 https://wiki.samba.org/index.php/Samba_AD_DC_HOWTO
1657 o Jeremy Allison <jra@samba.org>
1658 * Add SMB2 and SMB3 support for client tools and client library.
1659 * Add support for SMB3 Encrypted transport.
1662 o David Disseldorp <ddiss@samba.org>
1663 * Add vfs_btrfs module.
1664 * Add support for server-side copy operations via the
1665 SMB2 FSCTL_SRV_COPYCHUNK request.
1668 CHANGES SINCE 4.1.0rc4
1669 ======================
1671 o Stefan Metzmacher <metze@samba.org>
1672 * BUG 10178: Fix PAC parsing failure.
1675 o Andreas Schneider <asn@samba.org>
1676 * BUG 10132: pam_winbindd: Support the KEYRING ccache type.
1679 CHANGES SINCE 4.1.0rc3
1680 ======================
1682 o Michael Adam <obnox@samba.org>
1683 * BUG 10134: Add "acl allow execute always" parameter.
1686 o Jeremy Allison <jra@samba.org>
1687 * BUG 10139: Valid utf8 filenames cause "invalid conversion error"
1689 * BUG 10145: Samba SMB2 client code reads the wrong short name length in a
1690 directory listing reply.
1691 * BUG 10149: cli_smb2_get_ea_list_path() failed to close file on exit.
1692 * BUG 10150: Not all OEM servers support the ALTNAME info level.
1695 o Andrew Bartlett <abartlet@samba.org>
1696 * BUG 8077: dsdb: Convert the full string from UTF16 to UTF8, including
1698 * BUG 9461: python-samba-tool fsmo: Do not give an error on a successful
1700 * BUG 10157: Regression causes replication failure with Windows 2008R2 and
1701 deletes Deleted Objects.
1704 o Günther Deschner <gd@samba.org>
1705 * BUG 10147: Better document potential implications of a globally used
1709 o Korobkin <korobkin+samba@gmail.com>
1710 * BUG 10118: Raise the level of a debug when unable to open a printer.
1713 o Volker Lendecke <vl@samba.org>
1714 * BUG 10008: dbwrap_ctdb: Treat empty records as non-existing.
1715 * BUG 10138: smbd: Always clean up share modes after hard crash.
1718 o Daniel Liberman <danielvl@gmail.com>
1719 * BUG 10162: Fix POSIX ACL mapping when setting DENY ACE's from Windows.
1722 o Stefan Metzmacher <metze@samba.org>
1723 * BUG 10144: libcli/smb: Use SMB1 MID=0 for the initial Negprot.
1724 * BUG 10146: libcli/smb: Only check the SMB2 session setup signature if
1728 o Matthieu Patou <mat@matws.net>
1729 * BUG 10158: Netbios related samba process consumes 100% CPU.
1732 o Christof Schmitt <christof.schmitt@us.ibm.com>
1733 * BUG 10137: vfs_shadow_copy2: Display previous versions correctly over
1737 CHANGES SINCE 4.1.0rc2
1738 ======================
1740 o Michael Adam <obnox@samba.org>
1741 * BUG 10107: Fix Winbind crashes on DC with trusted AD domains.
1744 o Jeremy Allison <jra@samba.org>
1745 * BUG 5917: Fix working on site with Read Only Domain Controller.
1746 * BUG 9974: Add SMB2 and SMB3 support for smbclient.
1747 * BUG 10063: Fix memory leak in source3/lib/util.c:1493.
1748 * BUG 10121: Masks incorrectly applied to UNIX extension permission
1752 o Christian Ambach <ambi@samba.org>
1753 * BUG 9911: Build Samba 4.0.x on AIX with IBM XL C/C++.
1756 o Andrew Bartlett <abartlet@samba.org>
1757 * BUG 9091: When replicating DNS for bind9_dlz we need to create the
1758 server-DNS account remotely.
1761 o Günther Deschner <gd@samba.org>
1762 * BUG 9615: Winbind unable to retrieve user information from AD.
1763 * BUG 9899: winbind_lookup_names() fails because of
1764 NT_STATUS_CANT_ACCESS_DOMAIN_INFO.
1765 * BUG 10107: Fix Winbind crashes on DC with trusted AD domains.
1768 o Volker Lendecke <vl@samba.org>
1769 * BUG 10086: smbd: Fix async echo handler forking.
1770 * BUG 10106: Honour output buffer length set by the client for SMB2 GetInfo
1772 * BUG 10114: Handle Dropbox (write-only-directory) case correctly
1776 o Stefan Metzmacher <metze@samba.org>
1777 * BUG 10030: ::1 added to nameserver on join.
1780 o Rusty Russell <rusty@rustcorp.com.au>
1781 * BUG 10000: Add man pages for ntdb tools.
1784 o Karolin Seeger <kseeger@samba.org>
1785 * BUG 7364: Add man page for vfs_syncops.
1786 * BUG 7490: Add man page for vfs_linux_xfs_sgid.
1787 * BUG 10001: Add man page for samba-regedit tool.
1788 * BUG 10076: Fix variable list in vfs_crossrename man page.
1791 o Andreas Schneider <asn@samba.org>
1792 * BUG 10073: Fix segmentation fault in 'net ads join'.
1793 * BUG 10082: s3-winbind: Fix a segfault passing NULL to a fstring argument.
1796 o Richard Sharpe <realrichardsharpe@gmail.com>
1797 * BUG 10097: MacOSX 10.9 will not follow path-based DFS referrals handed
1801 o Ralph Wuerthner <ralph.wuerthner@de.ibm.com>
1802 * BUG 10106: Honour output buffer length set by the client for SMB2 GetInfo
1806 CHANGES SINCE 4.1.0rc1
1807 ======================
1809 o Jeremy Allison <jra@samba.org>
1810 * BUG 9992: Windows error 0x800700FE when copying files with xattr names
1812 * BUG 10010: Missing integer wrap protection in EA list reading can cause
1813 server to loop with DOS (CVE-2013-4124).
1814 * BUG 10064: Linux kernel oplock breaks can miss signals.
1817 o Andrew Bartlett <abartlet@samba.org>
1818 * BUG 9029: Fix replication with --domain-crictical-only to fill in
1820 * BUG 9820: Fix crash of winbind after "ls -l
1821 /usr/local/samba/var/locks/sysvol".
1822 * BUG 10056: dsdb improvements.
1825 o Björn Baumbach <bb@sernet.de>
1826 * BUG 10003: Fix segfault while reading incomplete session info.
1829 o Gregor Beck <gbeck@sernet.de>
1830 * BUG 9678: Windows 8 Roaming profiles fail.
1833 o Günther Deschner <gd@samba.org>
1834 * BUG 10043: Allow to change the default location for Kerberos credential
1838 o Volker Lendecke <vl@samba.org>
1839 * BUG 10013: Fix a 100% loop at shutdown time (smbd).
1842 o Stefan Metzmacher <metze@samba.org>
1843 * BUG 9820: Fix crash of winbind after "ls -l
1844 /usr/local/samba/var/locks/sysvol".
1845 * BUG 10015: Fix/improve debug options.
1846 * BUG 10042: Fix crashes in socket_get_local_addr().
1847 * BUG 10056: dsdb improvements.
1850 o Andreas Schneider <asn@samba.org>
1851 * BUG 9994: Do not delete an existing valid credential cache (s3-winbind).
1852 * BUG 10040: Rename regedit to samba-regedit.
1853 * BUG 10041: Remove obsolete swat manpage and references.
1854 * BUG 10048: nsswitch: Add OPT_KRB5CCNAME to avoid an error message.
1857 o Alexander Werth <alexander.werth@de.ibm.com>
1858 * BUG 10045: Remove a redundant inlined substitution of ACLs.
1861 o Ralph Wuerthner <ralphw@de.ibm.com>
1862 * BUG 10064: Linux kernel oplock breaks can miss signals.
1865 #######################################
1866 Reporting bugs & Development Discussion
1867 #######################################
1869 Please discuss this release on the samba-technical mailing list or by
1870 joining the #samba-technical IRC channel on irc.freenode.net.
1872 If you do report problems then please try to send high quality
1873 feedback. If you don't provide vital information to help us track down
1874 the problem then you will probably be ignored. All bug reports should
1875 be filed under the Samba 4.1 product in the project's Bugzilla
1876 database (https://bugzilla.samba.org/).
1879 ======================================================================
1880 == Our Code, Our Bugs, Our Responsibility.
1882 ======================================================================