1 ==============================
2 Release Notes for Samba 4.1.21
4 ==============================
7 This is the last bugfix release of the Samba 4.1 release series.
8 There will very likely be security releases beyond this point only.
14 o Volker Lendecke <vl@samba.org>
15 * BUG 11488: Avoid quoting problems in user's DNs.
18 #######################################
19 Reporting bugs & Development Discussion
20 #######################################
22 Please discuss this release on the samba-technical mailing list or by
23 joining the #samba-technical IRC channel on irc.freenode.net.
25 If you do report problems then please try to send high quality
26 feedback. If you don't provide vital information to help us track down
27 the problem then you will probably be ignored. All bug reports should
28 be filed under the Samba 4.1 product in the project's Bugzilla
29 database (https://bugzilla.samba.org/).
32 ======================================================================
33 == Our Code, Our Bugs, Our Responsibility.
35 ======================================================================
38 Release notes for older releases follow:
39 ----------------------------------------
41 ======================================================================
43 ==============================
44 Release Notes for Samba 4.1.20
46 ==============================
49 This is the latest stable release of Samba 4.1.
55 o Michael Adam <obnox@samba.org>
56 * BUG 11366: docs: Overhaul the description of "smb encrypt" to include SMB3
58 * BUG 11372: smbd: Fix SMB3 functionality of "smb encrypt".
61 o Jeremy Allison <jra@samba.org>
62 * BUG 10823: s3: winbindd: Fix TALLOC_FREE of uninitialized groups variable.
63 * BUG 11328: Use resource group sids obtained from pac logon_info.
64 * BUG 11339: s3: smbd: Use separate flag to track
65 become_root()/unbecome_root() state.
66 * BUG 11342: s3: smbd: Codenomicon crash in do_smb_load_module().
67 * BUG 11359: lib: replace: Add strsep function (missing on Solaris).
70 o Christian Ambach <ambi@samba.org>
71 * BUG 11170: s3:param/loadparm fix 'testparm --show-all-parameters'.
74 o Ralph Boehme <slow@samba.org>
75 * BUG 11426: s3-net: Use talloc array in share allowedusers.
78 o Günther Deschner <gd@samba.org>
79 * BUG 11373: s3-smbd: Reset protocol in smbXsrv_connection_init_tables
83 o Justin Maggard <jmaggard@netgear.com>
84 * BUG 11320: s3-passdb: Respect LOOKUP_NAME_GROUP flag in sid lookup.
87 o Stefan Metzmacher <metze@samba.org>
88 * BUG 11061: Fix logon via MS Remote Desktop.
89 * BUG 11081: s3:winbindd: make sure we pass a valid server to
90 rpccli_netlogon_sam_network_logon*().
93 o Anubhav Rakshit <anubhav.rakshit@gmail.com>
94 * BUG 11361: s3:libsmb: Fix a bug in conversion of ea list to ea array.
97 o Andreas Schneider <asn@samba.org>
98 * BUG 11403: s3-smbd: Leave sys_disk_free() if dfree command is used.
99 * BUG 11404: s3-auth: Fix a possible null pointer dereference.
102 o Roel van Meer <roel@1afa.com>
103 * BUG 11427: s3-util: Compare the maximum allowed length of a NetBIOS name.
106 #######################################
107 Reporting bugs & Development Discussion
108 #######################################
110 Please discuss this release on the samba-technical mailing list or by
111 joining the #samba-technical IRC channel on irc.freenode.net.
113 If you do report problems then please try to send high quality
114 feedback. If you don't provide vital information to help us track down
115 the problem then you will probably be ignored. All bug reports should
116 be filed under the Samba 4.1 product in the project's Bugzilla
117 database (https://bugzilla.samba.org/).
120 ======================================================================
121 == Our Code, Our Bugs, Our Responsibility.
123 ======================================================================
126 ----------------------------------------------------------------------
129 ==============================
130 Release Notes for Samba 4.1.19
132 ==============================
135 This is the latest stable release of Samba 4.1.
138 Changes since 4.1.18:
139 ---------------------
141 o Jeremy Allison <jra@samba.org>
142 * BUG 11068: s3: smbcacls: Ensure we read a hex number as %x, not %u.
143 * BUG 11249: Make mangled names work with acl_xattr.
144 * BUG 11295: Excessive cli_resolve_path() usage can slow down transmission.
147 o Ralph Boehme <slow@samba.org>
148 * BUG 11244: Error code path doesn't call END_PROFILE.
149 * BUG 11277: s3:smb2: Add padding to last command in compound requests.
152 o Alexander Bokovoy <ab@samba.org>
153 * BUG 11284: s4: libcli/finddcs_cldap: Continue processing CLDAP until all
157 o Evangelos Foutras <evangelos@foutrelis.com>
158 * BUG 8780: s4:lib/tls: Fix build with gnutls 3.4.
161 o David Holder <david.holder@erion.co.uk>
162 * BUG 11283: s3: IPv6 enabled DNS connections for ADS client.
165 o Steve Howells <steve.howells@moscowfirst.com>
166 * BUG 10924: s4.2/fsmo.py: Fix fsmo transfer exception.
169 o Stefan Metzmacher <metze@samba.org>
170 * BUG 11141: s3:winbindd: Make sure we remove pending io requests before
171 closing client sockets.
172 * BUG 11182: Fix panic triggered by smbd_smb2_request_notify_done() ->
173 smbXsrv_session_find_channel() in smbd.
176 o Christof Schmitt <cs@samba.org>
177 * BUG 11313: idmap_rfc2307: Fix 'wbinfo --gid-to-sid' query.
180 o Uri Simchoni <urisimchoni@gmail.com>
181 * BUG 11267: libads: Record service ticket endtime for sealed ldap
185 #######################################
186 Reporting bugs & Development Discussion
187 #######################################
189 Please discuss this release on the samba-technical mailing list or by
190 joining the #samba-technical IRC channel on irc.freenode.net.
192 If you do report problems then please try to send high quality
193 feedback. If you don't provide vital information to help us track down
194 the problem then you will probably be ignored. All bug reports should
195 be filed under the Samba 4.1 product in the project's Bugzilla
196 database (https://bugzilla.samba.org/).
199 ======================================================================
200 == Our Code, Our Bugs, Our Responsibility.
202 ======================================================================
205 ----------------------------------------------------------------------
208 ==============================
209 Release Notes for Samba 4.1.18
211 ==============================
214 This is the latest stable release of Samba 4.1.
217 Changes since 4.1.17:
218 ---------------------
220 o Michael Adam <obnox@samba.org>
221 * BUG 8905: s3:winbind:grent: Don't stop group enumeration when a group has
223 * BUG 11058: cli_connect_nb_send: don't segfault on host == NULL.
224 * BUG 11117: vfs_glusterfs manpage corrections.
225 * BUG 11143: s3-winbind: Fix chached user group lookup of trusted domains.
228 o Jeremy Allison <jra@samba.org>
229 * BUG 10016: Fix NTLM authentication.
230 * BUG 10888: s3: client - "client use spnego principal = yes" code checks
232 * BUG 11079: s3: lib: libsmbclient: If reusing a server struct, check every
233 cli->timout miliseconds if it's still valid before use.
234 * BUG 11094: s3: smbclient: Allinfo leaves the file handle open.
235 * BUG 11144: Fix memory leak in SMB2 notify handling.
236 * BUG 11173: s3: libcli: smb1: Ensure we correctly finish a tevent req if
237 the writev fails in the SMB1 case.
238 * BUG 11177: s3: libsmbclient: Add missing talloc stackframe.
239 * BUG 11186: s3: libsmbclient: After getting attribute server, ensure main
240 srv pointer is still valid.
241 * BUG 11187: s3: Mac OS X 10.10.x fails validate negotiate request to 4.1.x.
242 * BUG 11236: s4: rpc: Refactor dcesrv_alter() function into setup and send
244 * BUG 11240: s3: smbd: Incorrect file size returned in the response of
245 "FILE_SUPERSEDE Create".
246 * BUG 11254: s3: nmbd: Don't set work_changed = True inside
250 o Andrew Bartlett <abartlet@samba.org>
251 * BUG 11100: debug: Set close-on-exec for the main log file FD.
254 o Ralph Boehme <slow@samba.org>
255 * BUG 11224: s3:smbd: Missing tevent_req_nterror.
256 * BUG 11243: vfs: kernel_flock and named streams.
259 o Ira Cooper <ira@samba.org>
260 * BUG 11069: vfs_glusterfs: Add comments to the pipe(2) code.
261 * BUG 11115: smbd: Stop using vfs_Chdir after SMB_VFS_DISCONNECT.
264 o Günther Deschner <gd@samba.org>
265 * BUG 10240: vfs: Add glusterfs manpage.
268 o David Disseldorp <ddiss@samba.org>
269 * BUG 10808: printing/cups: Pack requested-attributes with IPP_TAG_KEYWORD.
270 * BUG 11018: smbd can't find the GUID for a printer in the registry and
271 fails to publish printers.
272 * BUG 11059: libsmb: Provide authinfo domain for encrypted session
274 * BUG 11169: docs/idmap_rid: Remove deprecated base_rid from example.
275 * BUG 11210: spoolss: Purge the printer name cache on name change.
278 o Julien Kerihuel <j.kerihuel@openchange.org>
279 * BUG 11225: s4:rpc_server: Add multiplex state to dcerpc flags and control
280 over multiplex PFC flag in bind_ack and and dcesrv_alter replies.
281 * BUG 11226: Fix terminate connection behavior for asynchronous endpoint
282 with PUSH notification flavors.
285 o Volker Lendecke <vl@samba.org>
286 * BUG 11041: smbd: Fix CID 1063259 Uninitialized scalar variable.
287 * BUG 11051: net: Fix 'net sam addgroupmem'.
290 o Stefan Metzmacher <metze@samba.org>
291 * BUG 9702: s3:smb2_server: protect against integer wrap with "smb2 max
293 * BUG 11144: Fix memory leak in SMB2 notify handling.
294 * BUG 11164: s4:auth/gensec_gssapi: let gensec_gssapi_update() return
295 NT_STATUS_LOGON_FAILURE for unknown errors.
298 o Andreas Schneider <asn@samba.org>
299 * BUG 10984: spoolss: Clear PrinterInfo on GetPrinter error.
300 * BUG 11008: s3-util: Fix authentication with long hostnames.
301 * BUG 11037: s3-libads: Fix a possible segfault in kerberos_fetch_pac().
302 * BUG 11058: utils: Fix 'net time' segfault.
303 * BUG 11066: s3-pam_smbpass: Fix memory leak in pam_sm_authenticate().
304 * BUG 11127: doc-xml: Add 'sharesec' reference to 'access based share enum'.
305 * BUG 11180: s4-process_model: Do not close random fds while forking.
306 * BUG 11185: s3-passdb: Fix 'force user' with winbind default domain.
309 o Richard Sharpe <rsharpe@nutanix.com>
310 * BUG 11234: Fix crash in 'net ads dns gethostbyname' with an error in TALLOC_FREE
311 if you enter invalid values.
314 #######################################
315 Reporting bugs & Development Discussion
316 #######################################
318 Please discuss this release on the samba-technical mailing list or by
319 joining the #samba-technical IRC channel on irc.freenode.net.
321 If you do report problems then please try to send high quality
322 feedback. If you don't provide vital information to help us track down
323 the problem then you will probably be ignored. All bug reports should
324 be filed under the Samba 4.1 product in the project's Bugzilla
325 database (https://bugzilla.samba.org/).
328 ======================================================================
329 == Our Code, Our Bugs, Our Responsibility.
331 ======================================================================
334 ----------------------------------------------------------------------
337 ==============================
338 Release Notes for Samba 4.1.17
340 ==============================
343 This is a security release in order to address CVE-2015-0240 (Unexpected
344 code execution in smbd).
347 All versions of Samba from 3.5.0 to 4.2.0rc4 are vulnerable to an
348 unexpected code execution vulnerability in the smbd file server
351 A malicious client could send packets that may set up the stack in
352 such a way that the freeing of memory in a subsequent anonymous
353 netlogon packet could allow execution of arbitrary code. This code
354 would execute with root privileges.
357 Changes since 4.1.16:
358 ---------------------
360 o Jeremy Allison <jra@samba.org>
361 * BUG 11077: CVE-2015-0240: talloc free on uninitialized stack pointer
362 in netlogon server could lead to security vulnerability.
365 o Andreas Schneider <asn@samba.org>
366 * BUG 11077: CVE-2015-0240: s3-netlogon: Make sure we do not deference
370 #######################################
371 Reporting bugs & Development Discussion
372 #######################################
374 Please discuss this release on the samba-technical mailing list or by
375 joining the #samba-technical IRC channel on irc.freenode.net.
377 If you do report problems then please try to send high quality
378 feedback. If you don't provide vital information to help us track down
379 the problem then you will probably be ignored. All bug reports should
380 be filed under the Samba 4.1 product in the project's Bugzilla
381 database (https://bugzilla.samba.org/).
384 ======================================================================
385 == Our Code, Our Bugs, Our Responsibility.
387 ======================================================================
390 ----------------------------------------------------------------------
393 ==============================
394 Release Notes for Samba 4.1.16
396 ==============================
399 This is a security release in order to address CVE-2014-8143 (Elevation
400 of privilege to Active Directory Domain Controller).
403 Samba's AD DC allows the administrator to delegate
404 creation of user or computer accounts to specific users or groups.
406 However, all released versions of Samba's AD DC did not implement the
407 additional required check on the UF_SERVER_TRUST_ACCOUNT bit in the
408 userAccountControl attributes.
411 Changes since 4.1.15:
412 ---------------------
414 o Andrew Bartlett <abartlet@samba.org>
415 * BUG 10993: CVE-2014-8143: dsdb-samldb: Check for extended access
416 rights before we allow changes to userAccountControl.
419 #######################################
420 Reporting bugs & Development Discussion
421 #######################################
423 Please discuss this release on the samba-technical mailing list or by
424 joining the #samba-technical IRC channel on irc.freenode.net.
426 If you do report problems then please try to send high quality
427 feedback. If you don't provide vital information to help us track down
428 the problem then you will probably be ignored. All bug reports should
429 be filed under the Samba 4.1 product in the project's Bugzilla
430 database (https://bugzilla.samba.org/).
433 ======================================================================
434 == Our Code, Our Bugs, Our Responsibility.
436 ======================================================================
439 -----------------------------------------------------------------------
442 ==============================
443 Release Notes for Samba 4.1.15
445 ==============================
448 This is the latest stable release of Samba 4.1.
451 Changes since 4.1.14:
452 ---------------------
454 o Jeremy Allison <jra@samba.org>
455 * BUG 10966: libcli: SMB2: Pure SMB2-only negprot fix to make us behave as a
457 * BUG 10982 s3: smbd/modules: Fix *allocate* calls to follow POSIX error
461 o Christian Ambach <ambi@samba.org>
462 * BUG 9629: Fix profiles tool.
465 o Samuel Cabrero <scabrero@zentyal.com>
466 * BUG 11006: idl:drsuapi: Manage all possible lengths of drsuapi_DsBindInfo.
469 o Günther Deschner <gd@samba.org>
470 * BUG 9056: pam_winbind: Fix warn_pwd_expire implementation.
473 o Guenter Kukkukk <linux@kukkukk.com>
474 * BUG 10952: s4-rpc: dnsserver: Fix enumeration of IPv4 and IPv6 addresses.
477 o Stefan Metzmacher <metze@samba.org>
478 * BUG 9299: nsswitch: Fix soname of linux nss_*.so.2 modules.
479 * BUG 10949: s4:dsdb/rootdse: Expand extended dn values with the AS_SYSTEM
481 * BUG 10958: s3:smb2_server: Allow reauthentication without signing.
482 * BUG 11006: Fix 'domain join' by adding 'drsuapi.DsBindInfoFallBack'
483 attribute 'supported_extensions'.
486 o Matthieu Patou <mat@matws.net>
487 * BUG 11006: Fix 'domain join' by adding 'drsuapi.DsBindInfoFallBack'
488 attribute 'supported_extensions'.
491 o Christof Schmitt <cs@samba.org>
492 * BUG 11034: winbind: Retry LogonControl RPC in ping-dc after session
496 o Andreas Schneider <asn@samba.org>
497 * BUG 10279: s3-lib: Do not require a password with --use-ccache.
498 * BUG 10960: s3-smbclient: Return success if we listed the shares.
499 * BUG 10961: s3-smbstatus: Fix exit code of profile output.
502 #######################################
503 Reporting bugs & Development Discussion
504 #######################################
506 Please discuss this release on the samba-technical mailing list or by
507 joining the #samba-technical IRC channel on irc.freenode.net.
509 If you do report problems then please try to send high quality
510 feedback. If you don't provide vital information to help us track down
511 the problem then you will probably be ignored. All bug reports should
512 be filed under the Samba 4.1 product in the project's Bugzilla
513 database (https://bugzilla.samba.org/).
516 ======================================================================
517 == Our Code, Our Bugs, Our Responsibility.
519 ======================================================================
522 ----------------------------------------------------------------------
525 ==============================
526 Release Notes for Samba 4.1.14
528 ==============================
531 This is the latest stable release of Samba 4.1.
534 Changes since 4.1.13:
535 ---------------------
537 o Michael Adam <obnox@samba.org>
538 * BUG 10472: Revert buildtools/wafadmin/Tools/perl.py back to upstream
542 o Jeremy Allison <jra@samba.org>
543 * BUG 10711: nmbd fails to accept "--piddir" option.
544 * BUG 10896: s3-nmbd: Fix netbios name truncation.
545 * BUG 10904: s3: libsmbclient-smb2. MacOSX 10 SMB2 server doesn't set
546 STATUS_NO_MORE_FILES when handed a non-wildcard path.
547 * BUG 10920: s3: nmbd: Ensure NetBIOS names are only 15 characters stored.
550 o Günther Deschner <gd@samba.org>
551 * BUG 10942: Cleanup add_string_to_array and usage.
554 o David Disseldorp <ddiss@samba.org>
555 * BUG 10898: spoolss: Fix handling of bad EnumJobs levels.
556 * BUG 10905: spoolss: Fix jobid in level 3 EnumJobs response.
559 o Amitay Isaacs <amitay@gmail.com>
560 * BUG 10620: s4-dns: Add support for BIND 9.10.
563 o Björn Jacke <bj@sernet.de>
564 * BUG 10835: nss_winbind: Add getgroupmembership for FreeBSD.
567 o Volker Lendecke <vl@samba.org>
568 * BUG 10932: pdb_tdb: Fix a TALLOC/SAFE_FREE mixup.
571 o Stefan Metzmacher <metze@samba.org>
572 * BUG 10472: pidl/wscript: Remove --with-perl-* options.
573 * BUG 10921: s3:smbd: Fix file corruption using "write cache size != 0".
576 o Jose A. Rivera <jarrpa@redhat.com>
577 * BUG 10889: vfs_glusterfs: Remove "integer fd" code and store the glfs
581 o Matt Rogers <mrogers@redhat.com>
582 * BUG 10933: s3-keytab: Fix keytab array NULL termination.
585 o Richard Sharpe <realrichardsharpe@gmail.com>
586 * BUG 10880: S3: source3/smbd/process.c::srv_send_smb() returns true on the
590 #######################################
591 Reporting bugs & Development Discussion
592 #######################################
594 Please discuss this release on the samba-technical mailing list or by
595 joining the #samba-technical IRC channel on irc.freenode.net.
597 If you do report problems then please try to send high quality
598 feedback. If you don't provide vital information to help us track down
599 the problem then you will probably be ignored. All bug reports should
600 be filed under the Samba 4.1 product in the project's Bugzilla
601 database (https://bugzilla.samba.org/).
604 ======================================================================
605 == Our Code, Our Bugs, Our Responsibility.
607 ======================================================================
610 ----------------------------------------------------------------------
613 ==============================
614 Release Notes for Samba 4.1.13
616 ==============================
619 This is the latest stable release of Samba 4.1.
622 Changes since 4.1.12:
623 ---------------------
625 o Michael Adam <obnox@samba.org>
626 * BUG 10809: s3:smbd:open_file: Use a more natural check.
629 o Jeremy Allison <jra@samba.org>
630 * BUG 10717: s3: winbindd: Old NT Domain code sets struct
631 winbind_domain->alt_name to be NULL. Ensure this is safe with modern
633 * BUG 10779: pthreadpool: Slightly serialize jobs.
634 * BUG 10809: s3: smbd: Open logic fix.
635 * BUG 10830: s3: nmbd: Ensure the main nmbd process doesn't create zombies.
636 * BUG 10831: s3: lib: Signal handling - ensure smbrun and change password
637 code save and restore existing SIGCHLD handlers.
638 * BUG 10848: s3: smb2cli: Query info return length check was reversed.
641 o Günther Deschner <gd@samba.org>
642 * BUG 9984: s3-libnet: Make sure we do not overwrite precreated SPNs.
645 o Björn Jacke <bj@sernet.de
646 * BUG 10814: docs: Mention incompatibility between kernel oplocks and
650 o Volker Lendecke <vl@samba.org>
651 * BUG 10735: Fix unstrcpy.
652 * BUG 10797: s3: smbd: streams - Ensure share mode validation ignores
653 internal opens (op_mid == 0).
654 * BUG 10813: vfs_media_harmony: Fix a crash bug.
655 * BUG 10860: registry: Don't leave dangling transactions.
658 o Christof Schmitt <cs@samba.org>
659 * BUG 10826: s3-winbindd: Use correct realm for trusted domains in idmap
661 * BUG 10837: idmap_rfc2307: Fix a crash after connection problem to DC.
662 * BUG 10838: s3-winbindd: Do not use domain SID from LookupSids for
666 o Andreas Schneider <asn@samba.org>
667 * BUG 9984: s3-libnet: Add libnet_join_get_machine_spns().
668 * BUG 9985: s3-libads: Add all machine account principals to the keytab.
669 * BUG 10816: nmbd: Send waiting status to systemd.
670 * BUG 10817: libcli: Fix a segfault calling smbXcli_req_set_pending() on
672 * BUG 10824: nsswitch: Skip groups we were not able to map.
675 #######################################
676 Reporting bugs & Development Discussion
677 #######################################
679 Please discuss this release on the samba-technical mailing list or by
680 joining the #samba-technical IRC channel on irc.freenode.net.
682 If you do report problems then please try to send high quality
683 feedback. If you don't provide vital information to help us track down
684 the problem then you will probably be ignored. All bug reports should
685 be filed under the Samba 4.1 product in the project's Bugzilla
686 database (https://bugzilla.samba.org/).
689 ======================================================================
690 == Our Code, Our Bugs, Our Responsibility.
692 ======================================================================
695 ----------------------------------------------------------------------
698 ==============================
699 Release Notes for Samba 4.1.12
701 ==============================
704 This is the latest stable release of Samba 4.1.
706 Major enhancements in Samba 4.1.12 include:
708 o New parameter "winbind request timeout" has been added (bug #3204). Please
709 see smb.conf man page for details.
710 o Fix smbd crashes when filename contains non-ascii character (bug #10716).
711 o dnsserver: Handle updates of tombstoned dnsNode objects (bug #10749).
714 Changes since 4.1.11:
715 ---------------------
717 o Michael Adam <obnox@samba.org>
718 * BUG 10369: build: Fix configure to honour '--without-dmapi'.
719 * BUG 10737: s3:idmap: Don't log missing range config if range checking not
721 * BUG 10741: Fix flapping VFS gpfs offline bit.
724 o Jeremy Allison <jra@samba.org>
725 * BUG 3204: s3: winbindd: On new client connect, prune idle or hung
726 connections older than "winbind request timeout". Add new parameter
727 "winbind request timeout".
728 * BUG 10640: lib: tevent: make TEVENT_SIG_INCREMENT atomic.
729 * BUG 10650: Make "case sensitive = True" option working with
730 "max protocol = SMB2" or higher in large directories.
731 * BUG 10716: Fix smbd crashes when filename contains non-ascii
733 * BUG 10728: 'net time': Fix usage and core dump.
734 * BUG 10773: s3: smbd: POSIX ACLs. Remove incorrect check for
735 SECINFO_PROTECTED_DACL in incoming security_information flags in
736 posix_get_nt_acl_common().
737 * BUG 10794: vfs_dirsort: Fix an off-by-one error that can cause
738 uninitialized memory read.
741 o Björn Baumbach <bb@sernet.de>
742 * BUG 10543: s3: Enforce a positive allocation_file_size for non-empty
746 o Kai Blin <kai@samba.org>
747 * BUG 10466: provision: Correctly provision the SOA record minimum TTL.
750 o David Disseldorp <ddiss@samba.org>
751 * BUG 10652: Samba 4 consuming a lot of CPU when re-reading printcap info.
752 * BUG 10787: dosmode: Fix FSCTL_SET_SPARSE request validation.
755 o Amitay Isaacs <amitay@gmail.com>
756 * BUG 10742: s4-rpc: dnsserver: Allow . to be specified for @ record.
759 o Daniel Kobras <d.kobras@science-computing.de>
760 * BUG 10731: sys_poll_intr: Fix timeout arithmetic.
763 o Ross Lagerwall <rosslagerwall@gmail.com>
764 * BUG 10778: s3:libsmb: Set a max charge for SMB2 connections.
767 o Volker Lendecke <vl@samba.org>
768 * BUG 10716: lib: strings: Simplify strcasecmp.
769 * BUG 10758: lib: Remove unused nstrcpy.
770 * BUG 10782: smbd: Properly initialize mangle_hash.
773 o Stefan Metzmacher <metze@samba.org>
774 * BUG 9831: s4:setup/dns_update_list: make use of the new substitution
776 * BUG 10723: Allow netr_ServerReqChallenge() and netr_ServerAuthenticate3()
777 on different connections.
778 * BUG 10749: s4-rpc: dnsserver: Handle updates of tombstoned dnsNode
780 * BUG 10751: s4-rpc: dnsserver: return DNS_RANK_NS_GLUE recors when
781 explicitly asked for.
782 * BUG 10773: libcli/security: Add better detection of
783 SECINFO_[UN]PROTECTED_[D|S]ACL in get_sec_info().
786 o Marc Muehlfeld <mmuehlfeld@samba.org>
787 * BUG 10761: docs: Fix typos in smb.conf (inherit acls).
790 o Shirish Pargaonkar <spargaonkar@suse.com>
791 * BUG 10755: samba: Retain case sensitivity of cifs client.
794 o Arvid Requate <requate@univention.de>
795 * BUG 9570: passdb: Fix NT_STATUS_NO_SUCH_GROUP.
798 o Har Gagan Sahai <SHarGagan@novell.com>
799 * BUG 10759: Fix a memory leak in cli_set_mntpoint().
802 o Roel van Meer <roel@1afa.com>
803 * BUG 10777: Don't discard result of checking grouptype.
806 #######################################
807 Reporting bugs & Development Discussion
808 #######################################
810 Please discuss this release on the samba-technical mailing list or by
811 joining the #samba-technical IRC channel on irc.freenode.net.
813 If you do report problems then please try to send high quality
814 feedback. If you don't provide vital information to help us track down
815 the problem then you will probably be ignored. All bug reports should
816 be filed under the Samba 4.1 product in the project's Bugzilla
817 database (https://bugzilla.samba.org/).
820 ======================================================================
821 == Our Code, Our Bugs, Our Responsibility.
823 ======================================================================
826 ----------------------------------------------------------------------
829 ==============================
830 Release Notes for Samba 4.1.11
832 ==============================
835 This is a security release in order to address
836 CVE-2014-3560 (Remote code execution in nmbd).
839 Samba 4.0.0 to 4.1.10 are affected by a remote code execution attack on
840 unauthenticated nmbd NetBIOS name services.
842 A malicious browser can send packets that may overwrite the heap of
843 the target nmbd NetBIOS name services daemon. It may be possible to
844 use this to generate a remote code execution vulnerability as the
848 Changes since 4.1.10:
849 ---------------------
851 o Volker Lendecke <vl@samba.org>
852 * BUG 10735: CVE-2014-3560: Fix unstrcpy macro length.
855 #######################################
856 Reporting bugs & Development Discussion
857 #######################################
859 Please discuss this release on the samba-technical mailing list or by
860 joining the #samba-technical IRC channel on irc.freenode.net.
862 If you do report problems then please try to send high quality
863 feedback. If you don't provide vital information to help us track down
864 the problem then you will probably be ignored. All bug reports should
865 be filed under the Samba 4.1 product in the project's Bugzilla
866 database (https://bugzilla.samba.org/).
869 ======================================================================
870 == Our Code, Our Bugs, Our Responsibility.
872 ======================================================================
875 ----------------------------------------------------------------------
878 ==============================
879 Release Notes for Samba 4.1.10
881 ==============================
884 This is the latest stable release of Samba 4.1.
890 o Michael Adam <obnox@samba.org>
891 * BUG 10693: Backport ldb-1.1.17 + changes from master.
894 o Jeremy Allison <jra@samba.org>
895 * BUG 10587: s3: libsmbclient: Work around bugs in SLES cifsd and Apple smbx
897 * BUG 10653: Samba won't start on a machine configured with only IPv4.
898 * BUG 10671: s3: smbd: Prevent file truncation on an open that fails with
899 share mode violation.
900 * BUG 10673: s3: SMB2: Fix leak of blocking lock records in the database.
901 * BUG 10684: SMB1 blocking locks can fail notification on unlock, causing
903 * BUG 10685: s3: smbd: Locking, fix off-by one calculation in
904 brl_pending_overlap().
905 * BUG 10692: wbcCredentialCache fails if challenge_blob is not first.
908 o Christian Ambach <ambi@samba.org>
909 * BUG 10693: lib/ldb: Fix compiler warnings.
912 o Andrew Bartlett <abartlet@samba.org>
913 * BUG 8077: dbcheck: Add check and test for various invalid userParameters
915 * BUG 8449: Simple use case results in "no talloc stackframe around, leaking
917 * BUG 10130: dsdb: Always store and return the userParameters as a array of
919 * BUG 10582: dsdb: Rename private_data to rootdse_private_data in rootdse.
920 * BUG 10627: rid_array used before status checked - segmentation fault due
921 to null pointer dereference.
922 * BUG 10693: ldb: make the successful ldb_transaction_start() message
924 * BUG 10694: dsdb: Return NO_SUCH_OBJECT if a basedn is a deleted object.
925 * BUG 10700: Backport access check related fixes from master.
928 o Björn Baumbach <bb@sernet.de>
929 * BUG 10674: samba-tool: Add --site parameter to provision command.
932 o Howard Chu <hyc@symas.com>
933 * BUG 10693: Fix SEGV from improperly formed SUBSTRING/PRESENCE filter.
936 o Jeroen Dekkers <jeroen@dekkers.ch>
937 * BUG 10693: ldb: Do not build libldb-cmdline when using system ldb.
940 o Nadezhda Ivanova <nivanova@symas.com>
941 * BUG 10693: s4-openldap: Remove use of talloc_reference in
945 o Björn Jacke <bj@sernet.de>
946 * BUG 3263: net/doc: Make clear that net vampire is for NT4 domains only.
949 o Abhidnya Joshi <achirmul@in.ibm.com>
950 * BUG s3: Fix missing braces in nfs4_acls.c.
953 o Volker Lendecke <vl@samba.org>
954 * BUG 10593: Fix "PANIC: assert failed at ../source3/smbd/open.c(1582): ret".
955 * BUG 10663: msg_channel: Fix a 100% CPU loop.
956 * BUG 10671: s3: smbd: Prevent file truncation on an open that fails with
957 share mode violation.
958 * BUG 10680: smbstatus: Fix an uninitialized variable.
959 * BUG 10687: 'RW2' smbtorture test fails when -N <numprocs> is set to 2 due
960 to the invalid status check in the second client.
961 * BUG 10693: ldb: Fix 1138330 Dereference null return value, fix CIDs
962 241329, 240798, 1034791, 1034792 1034910, 1034910).
963 * BUG 10699: smbd: Avoid double-free in get_print_db_byname.
966 o Stefan Metzmacher <metze@samba.org>
967 * BUG 8077: s4:dsdb/samldb: Don't allow 'userParameters' to be modified over
969 * BUG 9763: s4:dsdb/repl_meta_data: Make sure objectGUID can't be deleted.
970 * BUG 10469: ldb-samba: fix a memory leak in
971 ldif_canonicalise_objectCategory().
972 * BUG 10294: s4:repl_meta_data: fix array assignment in
973 replmd_process_linked_attribute().
974 * BUG 10536: dbchecker: Verify and fix broken dn values.
975 * BUG 10692: wbcCredentialCache fails if challenge_blob is not first.
976 * BUG 10693: ldb:pyldb: Add some more helper functions for LdbDn.
977 * BUG 10694: s4:dsdb/extended_dn_in: Don't force DSDB_SEARCH_SHOW_RECYCLED.
978 * BUG 10696: Backport autobuild/selftest fixes from master.
979 * BUG 10706: s3:smb2_read: let smb2_sendfile_send_data() behave like
983 o Matthieu Patou <mat@matws.net>
984 * BUG 10693: pyldb: Decrement ref counters on py_results and quiet warnings.
985 * BUG 10698: Backport drs-crackname fixes from master.
988 o Pavel Reichl <pavel.reichl@redhat.com>
989 * BUG 10693: ldb: Use of NULL pointer bugfix.
992 o Garming Sam <garming@catalyst.net.nz>
993 * BUG 10703: Backport provision fixes from master.
996 o Andreas Schneider <asn@samba.org>
997 * BUG 10693: ldb: Add a env variable to disable RTLD_DEEPBIND.
1000 #######################################
1001 Reporting bugs & Development Discussion
1002 #######################################
1004 Please discuss this release on the samba-technical mailing list or by
1005 joining the #samba-technical IRC channel on irc.freenode.net.
1007 If you do report problems then please try to send high quality
1008 feedback. If you don't provide vital information to help us track down
1009 the problem then you will probably be ignored. All bug reports should
1010 be filed under the Samba 4.1 product in the project's Bugzilla
1011 database (https://bugzilla.samba.org/).
1014 ======================================================================
1015 == Our Code, Our Bugs, Our Responsibility.
1017 ======================================================================
1020 ----------------------------------------------------------------------
1023 =============================
1024 Release Notes for Samba 4.1.9
1026 =============================
1029 This is a security release in order to address
1030 CVE-2014-0244 (Denial of service - CPU loop) and
1031 CVE-2014-3493 (Denial of service - Server crash/memory corruption).
1034 All current released versions of Samba are vulnerable to a denial of
1035 service on the nmbd NetBIOS name services daemon. A malformed packet
1036 can cause the nmbd server to loop the CPU and prevent any further
1037 NetBIOS name service.
1039 This flaw is not exploitable beyond causing the code to loop expending
1043 All current released versions of Samba are affected by a denial of service
1044 crash involving overwriting memory on an authenticated connection to the
1048 Changes since 4.1.8:
1049 --------------------
1051 o Jeremy Allison <jra@samba.org>
1052 * BUG 10633: CVE-2014-0244: Fix nmbd denial of service.
1053 * BUG 10654: CVE-2014-3493: Fix segmentation fault in
1054 smbd_marshall_dir_entry()'s SMB_FIND_FILE_UNIX handler.
1057 #######################################
1058 Reporting bugs & Development Discussion
1059 #######################################
1061 Please discuss this release on the samba-technical mailing list or by
1062 joining the #samba-technical IRC channel on irc.freenode.net.
1064 If you do report problems then please try to send high quality
1065 feedback. If you don't provide vital information to help us track down
1066 the problem then you will probably be ignored. All bug reports should
1067 be filed under the Samba 4.1 product in the project's Bugzilla
1068 database (https://bugzilla.samba.org/).
1071 ======================================================================
1072 == Our Code, Our Bugs, Our Responsibility.
1074 ======================================================================
1077 ----------------------------------------------------------------------
1080 =============================
1081 Release Notes for Samba 4.1.8
1083 =============================
1086 This is the latest stable release of Samba 4.1.
1088 Please note that this bug fix release also addresses two minor security issues
1089 without being a dedicated security release:
1091 o CVE-2014-0239: dns: Don't reply to replies (bug #10609).
1092 o CVE-2014-0178: Malformed FSCTL_SRV_ENUMERATE_SNAPSHOTS response
1095 For more details including security advisories and patches, please see
1097 http://www.samba.org/samba/history/security.html
1100 Changes since 4.1.7:
1101 --------------------
1103 o Michael Adam <obnox@samba.org>
1104 * BUG 10548: build: Fix ordering problems with lib-provided and internal
1108 o Jeremy Allison <jra@samba.org>
1109 * BUG 3124: s3: smb2: Fix 'xcopy /d' with samba shares.
1110 * BUG 10544: s3: lib/util: Fix logic inside set_namearray loops.
1111 * BUG 10564: Fix lock order violation and file lost.
1112 * BUG 10577: Fix wildcard unlink to fail if we get an error rather than
1116 o Andrew Bartlett <abartlet@samba.org>
1117 * BUG 10569: dsdb: Do checks for invalid renames in samldb, before
1121 o Björn Baumbach <bb@sernet.de>
1122 * BUG 10239: s3: nmbd: Reset debug settings after reading config file.
1123 * BUG 10544: s3: lib/util: set_namearray reads across end of namelist
1124 * BUG 10556: lib-util: Rename memdup to smb_memdup and fix all callers.
1127 o Kai Blin <kai@samba.org>
1128 * BUG 10609: CVE-2014-0239: dns: Don't reply to replies.
1131 o Alexander Bokovoy <ab@samba.org>
1132 * BUG 10517: Use exit_daemon() to communicate status of startup to
1136 o David Disseldorp <ddiss@samba.org>
1137 * BUG 10590: byteorder: Do not assume PowerPC is big-endian.
1138 * BUG 10612: printing: Fix purge of all print jobs.
1141 o Benjamin Franzke <benjaminfranzke@googlemail.com>
1142 * BUG 10524: Fix adding NetApps.
1145 o Abhidnya Joshi <achirmul@in.ibm.com>
1146 * BUG 10547: idmap_autorid: Fix failure in reverse lookup if ID is from
1147 domain range index #0.
1150 o Stefan Metzmacher <metze@samba.org>
1151 * BUG 10472: script/autobuild: Make use of
1152 '--with-perl-{arch,lib}-install-dir'.
1155 o Noel Power <nopower@suse.com>
1156 * BUG 10554: Fix read of deleted memory in reply_writeclose()'.
1159 o Jose A. Rivera <jarrpa@redhat.com>
1160 * BUG 10151: Extra ':' in msg for Waf Cross Compile Build System with
1161 Cross-answers command.
1162 * BUG 10348: Fix empty body in if-statement in continue_domain_open_lookup.
1165 o Christof Schmitt <christof.schmitt@us.ibm.com>
1166 * BUG 10549: CVE-2014-0178: Malformed FSCTL_SRV_ENUMERATE_SNAPSHOTS
1170 o Andreas Schneider <asn@samba.org>
1171 * BUG 10472: wafsamba: Fix the installation on FreeBSD.
1174 #######################################
1175 Reporting bugs & Development Discussion
1176 #######################################
1178 Please discuss this release on the samba-technical mailing list or by
1179 joining the #samba-technical IRC channel on irc.freenode.net.
1181 If you do report problems then please try to send high quality
1182 feedback. If you don't provide vital information to help us track down
1183 the problem then you will probably be ignored. All bug reports should
1184 be filed under the Samba 4.1 product in the project's Bugzilla
1185 database (https://bugzilla.samba.org/).
1188 ======================================================================
1189 == Our Code, Our Bugs, Our Responsibility.
1191 ======================================================================
1194 ----------------------------------------------------------------------
1197 =============================
1198 Release Notes for Samba 4.1.7
1200 =============================
1203 This is the latest stable release of Samba 4.1.
1206 Changes since 4.1.6:
1207 --------------------
1209 o Jeremy Allison <jra@samba.org>
1210 * BUG 9878: Make "force user" work as expected.
1211 * BUG 9942: Fix problem with server taking too long to respond to a
1212 MSG_PRINTER_DRVUPGRADE message.
1213 * BUG 9993: s3-printing: Fix obvious memory leak in
1214 printer_list_get_printer().
1215 * BUG 10344: SessionLogoff on a signed connection with an outstanding notify
1216 request crashes smbd.
1217 * BUG 10431: Fix STATUS_NO_MEMORY response from Query File Posix Lock request.
1218 * BUG 10508: smbd: Correctly add remote users into local groups.
1219 * BUG 10534: Cleanup messages.tdb record after unclean smbd shutdown.
1222 o Christian Ambach <ambi@samba.org>
1223 * BUG 9911: Fix build on AIX with IBM XL C/C++ (gettext detection issues).
1224 * BUG 10308: Fix String Conversion Errors with Samba 4.1.0 Build on AIX 7.1.
1227 o Gregor Beck <gbeck@sernet.de>
1228 * BUG 10230: Make (lib)smbclient work with NetApp.
1229 * BUG 10458: Fix 'wbinfo -i' with one-way trust.
1230 * s3:rpc_server: Minor refactoring of process_request_pdu().
1233 o Kai Blin <kai@samba.org>
1234 * BUG 10471: Don't respond with NXDOMAIN to records that exist with another
1238 o Alexander Bokovoy <ab@samba.org>
1239 * BUG 10504: lsa.idl: Define lsa.ForestTrustCollisionInfo and
1240 ForestTrustCollisionRecord as public structs.
1243 o Günther Deschner <gd@samba.org>
1244 * BUG 10439: Increase max netbios name components.
1247 o David Disseldorp <ddiss@samba.org>
1248 * BUG 10188: doc: Add "spoolss: architecture" parameter usage.
1249 * BUG 10484: Initial FSRVP rpcclient requests fail with
1250 NT_STATUS_PIPE_NOT_AVAILABLE.
1251 * BUG 10521: rpcclient FSRVP request UNCs should include a trailing
1255 o Daniel Liberman <danielvl@gmail.com>
1256 * BUG 10387: 'net ads search' on high latency networks can return a partial
1257 list with no error indication.
1260 o Stefan Metzmacher <metze@samba.org>
1261 * BUG 10200: Make 'smbclient' support DFS shares with SMB2/3.
1262 * BUG 10344: SessionLogoff on a signed connection with an outstanding notify
1263 request crashes smbd.
1264 * BUG 10422: max xmit > 64kb leads to segmentation fault.
1265 * BUG 10444: smbd_server_connection_terminate("CTDB_SRVID_RELEASE_IP")
1266 panics from within ctdbd_migrate() with invalid lock_order.
1267 * BUG 10464: samba4 services not binding on IPv6 addresses causing
1271 o Garming Sam <garming@catalyst.net.nz>
1272 * BUG 10378: dfs: Always call create_conn_struct with root privileges.
1275 o Andreas Schneider <asn@cryptomilk.org>
1276 * BUG 10467: s3-vfs: Fix stream_depot vfs module on btrfs.
1277 * BUG 10472: pidl: waf should have an option for the dir to install perl
1278 files and do not glob.
1279 * BUG 10474: s3-spoolssd: Don't register spoolssd if epmd is not running.
1280 * BUG 10481: s3-rpc_server: Fix handling of fragmented rpc requests.
1283 o Gustavo Zacarias <gustavo@zacarias.com.ar>
1284 * BUG 10506: Make 'smbreadline' build with readline 6.3.
1287 #######################################
1288 Reporting bugs & Development Discussion
1289 #######################################
1291 Please discuss this release on the samba-technical mailing list or by
1292 joining the #samba-technical IRC channel on irc.freenode.net.
1294 If you do report problems then please try to send high quality
1295 feedback. If you don't provide vital information to help us track down
1296 the problem then you will probably be ignored. All bug reports should
1297 be filed under the Samba 4.1 product in the project's Bugzilla
1298 database (https://bugzilla.samba.org/).
1301 ======================================================================
1302 == Our Code, Our Bugs, Our Responsibility.
1304 ======================================================================
1307 ----------------------------------------------------------------------
1310 =============================
1311 Release Notes for Samba 4.1.6
1313 =============================
1316 This is a security release in order to address
1317 CVE-2013-4496 (Password lockout not enforced for SAMR password changes) and
1318 CVE-2013-6442 (smbcacls can remove a file or directory ACL by mistake).
1321 Samba versions 3.4.0 and above allow the administrator to implement
1322 locking out Samba accounts after a number of bad password attempts.
1324 However, all released versions of Samba did not implement this check for
1325 password changes, such as are available over multiple SAMR and RAP
1326 interfaces, allowing password guessing attacks.
1329 Samba versions 4.0.0 and above have a flaw in the smbcacls command. If
1330 smbcacls is used with the "-C|--chown name" or "-G|--chgrp name"
1331 command options it will remove the existing ACL on the object being
1332 modified, leaving the file or directory unprotected.
1335 Changes since 4.1.5:
1336 --------------------
1338 o Jeremy Allison <jra@samba.org>
1339 * BUG 10327: CVE-2013-6442: ensure we don't lose an existing ACL when
1340 setting owner or group owner.
1343 o Andrew Bartlett <abartlet@samba.org>
1344 * BUG 10245: CVE-2013-4496: Enforce password lockout for SAMR password
1348 o Stefan Metzmacher <metze@samba.org>
1349 * BUG 10245: CVE-2013-4496: Enforce password lockout for SAMR password
1353 #######################################
1354 Reporting bugs & Development Discussion
1355 #######################################
1357 Please discuss this release on the samba-technical mailing list or by
1358 joining the #samba-technical IRC channel on irc.freenode.net.
1360 If you do report problems then please try to send high quality
1361 feedback. If you don't provide vital information to help us track down
1362 the problem then you will probably be ignored. All bug reports should
1363 be filed under the Samba 4.1 product in the project's Bugzilla
1364 database (https://bugzilla.samba.org/).
1367 ======================================================================
1368 == Our Code, Our Bugs, Our Responsibility.
1370 ======================================================================
1373 ----------------------------------------------------------------------
1376 =============================
1377 Release Notes for Samba 4.1.5
1379 =============================
1382 This is the latest stable release of Samba 4.1.
1384 Major enhancements in Samba 4.1.5 include:
1386 o Fix 100% CPU utilization in winbindd when trying to free memory in
1387 winbindd_reinit_after_fork (bug #10358).
1388 o smbd: Fix memory overwrites (bug #10415).
1391 Changes since 4.1.4:
1392 --------------------
1394 o Michael Adam <obnox@samba.org>
1395 * BUG 10259: Make shadow_copy2 module working with Windows 7.
1398 o Jeremy Allison <jra@samba.org>
1399 * BUG 2662: Make revamped directory handling code 64bit clean.
1400 * BUG 10320: s3: smbpasswd: Fix crashes on invalid input.
1401 * BUG 10358: Fix 100% CPU utilization in winbindd when trying to free
1402 memory in winbindd_reinit_after_fork.
1403 * BUG 10406: s3: vfs_dirsort module: Allow dirsort to work when multiple
1404 simultaneous directories are open.
1405 * BUG 10429: s3: modules: streaminfo: As we have no VFS function
1406 SMB_VFS_LLISTXATTR we can't cope with a symlink when lp_posix_pathnames()
1410 o Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
1411 * BUG 10087: ntlm_auth sometimes returns the wrong username to
1412 mod_ntlm_auth_winbind.
1415 o Andrew Bartlett <abartlet@samba.org>
1416 * BUG 10418: Fix INTERNAL ERROR: Signal 11 in the kdc pid.
1419 o Jeffrey Clark <dude@zaplabs.com>
1420 * BUG 10418: Add support for Heimdal's unified krb5 and hdb plugin system.
1423 o Niels de Vos <ndevos@redhat.com>
1424 * BUG 10384: vfs/glusterfs: In case atime is not passed, set it to the
1428 o David Disseldorp <ddiss@samba.org>
1429 * BUG 10424: vfs_btrfs: Fix incorrect zero length server-side copy request
1433 o Volker Lendecke <vl@samba.org>
1434 * BUG 2191: s3-winbind: Improve performance of wb_fill_pwent_sid2uid_done().
1435 * BUG 10415: smbd: Fix memory overwrites.
1436 * BUG 10436: smbd: Fix an ancient oplock bug.
1439 o Stefan Metzmacher <metze@samba.org>
1440 * BUG 10442: Fix crash bug in smb2_notify code.
1443 o Andreas Schneider <asn@samba.org>
1444 * BUG 10367: Fix several memory leaks.
1447 o Jelmer Vernooij <jelmer@samba.org>
1448 * BUG 10418: Cope with first element in hdb_method having a different name
1449 in different heimdal versions.
1452 #######################################
1453 Reporting bugs & Development Discussion
1454 #######################################
1456 Please discuss this release on the samba-technical mailing list or by
1457 joining the #samba-technical IRC channel on irc.freenode.net.
1459 If you do report problems then please try to send high quality
1460 feedback. If you don't provide vital information to help us track down
1461 the problem then you will probably be ignored. All bug reports should
1462 be filed under the Samba 4.1 product in the project's Bugzilla
1463 database (https://bugzilla.samba.org/).
1466 ======================================================================
1467 == Our Code, Our Bugs, Our Responsibility.
1469 ======================================================================
1472 ----------------------------------------------------------------------
1475 =============================
1476 Release Notes for Samba 4.1.4
1478 =============================
1481 This is the latest stable release of Samba 4.1.
1483 Major enhancements in Samba 4.1.4 include:
1485 o Fix segfault in smbd (bug #10284).
1486 o Fix SMB2 server panic when a smb2 brlock times out (bug #10311).
1489 Changes since 4.1.3:
1490 --------------------
1492 o Jeremy Allison <jra@samba.org>
1493 * BUG 9870: smbd: Allow updates on directory write times on open handles.
1494 * BUG 10260: smbclient shows no error if deleting a directory with del
1496 * BUG 10297: smbd: Fix writing to a directory with -wx permissions
1498 * BUG 10305: ldb: bad if test in ldb_comparison_fold().
1501 o Christian Ambach <ambi@samba.org>
1502 * BUG 10276: Fix waf build error on AIX with IBM XL C/C++.
1503 * BUG 10280: s3:winbindd fix use of uninitialized variables.
1506 o Michele Baldessari <michele@acksyn.org>
1507 * BUG 10281: Fix typos in man pages.
1510 o Jan Brummer <jan.brummer@tabos.org>
1511 * BUG 10285: s3-winbindd: Fix DEBUG statement in winbind_msg_offline().
1514 o Günther Deschner <gd@samba.org>
1515 * BUG 10262: s3-libnetjoin: Use upper-case realm when composing default
1517 * BUG 10281: Fix numerous typos in man pages.
1520 o David Disseldorp <ddiss@samba.org>
1521 * BUG 10271: Send correct job-ID in print job notifications.
1524 o Poornima Gurusiddaiah <pgurusid@redhat.com>
1525 * BUG 10337: vfs_glusterfs: Enable per client log file.
1528 o Volker Lendecke <vl@samba.org>
1529 * BUG 10250: smbd: Fix a talloc hierarchy problem in msg_channel.
1530 * BUG 10284: smbd: Fix segfaults.
1531 * BUG 10297: smbd: Fix writing to a directory with -wx permissions
1533 * BUG 10311: Fix SMB2 server panic when a smb2 brlock times out.
1536 o Stefan Metzmacher <metze@samba.org>
1537 * BUG 10298: Reduce smb2_server processing overhead.
1540 o Arvid Requate <requate@univention.de>
1541 * BUG 10267: Fix printing via local printer drivers with Windows 8.
1544 o Christof Schmitt <cs@samba.org>
1545 * BUG 10310: Fix AIO with SMB2 and locks.
1548 o Andreas Schneider <asn@samba.org>
1549 * BUG 2191: Fix %G/%g substitution in 'template homedir'.
1550 * BUG 10274: Fix several issues and warnings from analyzer tools.
1551 * BUG 10286: s3-lib: Fix %G substitution for domain users in smbd.
1554 #######################################
1555 Reporting bugs & Development Discussion
1556 #######################################
1558 Please discuss this release on the samba-technical mailing list or by
1559 joining the #samba-technical IRC channel on irc.freenode.net.
1561 If you do report problems then please try to send high quality
1562 feedback. If you don't provide vital information to help us track down
1563 the problem then you will probably be ignored. All bug reports should
1564 be filed under the Samba 4.1 product in the project's Bugzilla
1565 database (https://bugzilla.samba.org/).
1568 ======================================================================
1569 == Our Code, Our Bugs, Our Responsibility.
1571 ======================================================================
1574 ----------------------------------------------------------------------
1577 =============================
1578 Release Notes for Samba 4.1.3
1580 =============================
1583 This is a security release in order to address
1584 CVE-2013-4408 (DCE-RPC fragment length field is incorrectly checked) and
1585 CVE-2012-6150 (pam_winbind login without require_membership_of restrictions).
1588 Samba versions 3.4.0 and above (versions 3.4.0 - 3.4.17, 3.5.0 -
1589 3.5.22, 3.6.0 - 3.6.21, 4.0.0 - 4.0.12 and including 4.1.2) are
1590 vulnerable to buffer overrun exploits in the client processing of
1591 DCE-RPC packets. This is due to incorrect checking of the DCE-RPC
1592 fragment length in the client code.
1594 This is a critical vulnerability as the DCE-RPC client code is part of
1595 the winbindd authentication and identity mapping daemon, which is
1596 commonly configured as part of many server installations (when joined
1597 to an Active Directory Domain). A malicious Active Directory Domain
1598 Controller or man-in-the-middle attacker impersonating an Active
1599 Directory Domain Controller could achieve root-level access by
1600 compromising the winbindd process.
1602 Samba server versions 3.4.0 - 3.4.17 and versions 3.5.0 - 3.5.22 are
1603 also vulnerable to a denial of service attack (server crash) due to a
1604 similar error in the server code of those versions.
1606 Samba server versions 3.6.0 and above (including all 3.6.x versions,
1607 all 4.0.x versions and 4.1.x) are not vulnerable to this problem.
1609 In addition range checks were missing on arguments returned from calls
1610 to the DCE-RPC functions LookupSids (lsa and samr), LookupNames (lsa and samr)
1611 and LookupRids (samr) which could also cause similar problems.
1613 As this was found during an internal audit of the Samba code there are
1614 no currently known exploits for this problem (as of December 9th 2013).
1617 Winbind allows for the further restriction of authenticated PAM logins using
1618 the require_membership_of parameter. System administrators may specify a list
1619 of SIDs or groups for which an authenticated user must be a member of. If an
1620 authenticated user does not belong to any of the entries, then login should
1621 fail. Invalid group name entries are ignored.
1623 Samba versions 3.3.10, 3.4.3, 3.5.0 and later incorrectly allow login from
1624 authenticated users if the require_membership_of parameter specifies only
1625 invalid group names.
1627 This is a vulnerability with low impact. All require_membership_of group
1628 names must be invalid for this bug to be encountered.
1631 Changes since 4.1.2:
1632 --------------------
1634 o Jeremy Allison <jra@samba.org>
1635 * BUG 10185: CVE-2013-4408: Correctly check DCE-RPC fragment length field.
1638 o Stefan Metzmacher <metze@samba.org>
1639 * BUG 10185: CVE-2013-4408: Correctly check DCE-RPC fragment length field.
1642 o Noel Power <noel.power@suse.com>
1643 * BUGs 10300, 10306: CVE-2012-6150: Fail authentication if user isn't
1644 member of *any* require_membership_of specified groups.
1647 #######################################
1648 Reporting bugs & Development Discussion
1649 #######################################
1651 Please discuss this release on the samba-technical mailing list or by
1652 joining the #samba-technical IRC channel on irc.freenode.net.
1654 If you do report problems then please try to send high quality
1655 feedback. If you don't provide vital information to help us track down
1656 the problem then you will probably be ignored. All bug reports should
1657 be filed under the Samba 4.1 product in the project's Bugzilla
1658 database (https://bugzilla.samba.org/).
1661 ======================================================================
1662 == Our Code, Our Bugs, Our Responsibility.
1664 ======================================================================
1667 ----------------------------------------------------------------------
1670 =============================
1671 Release Notes for Samba 4.1.2
1673 =============================
1676 This is is the latest stable release of Samba 4.1.
1679 Changes since 4.1.1:
1680 --------------------
1682 o Jeremy Allison <jra@samba.org>
1683 * BUG 10187: Missing talloc_free can leak stackframe in error path.
1684 * BUG 10196: RW Deny for a specific user is not overriding RW Allow for a
1688 o Anand Avati <avati@redhat.com>
1689 * BUG 10224: vfs_glusterfs: Implement proper mashalling/unmarshalling of
1693 o Andrew Bartlett <abartlet@samba.org>
1694 * BUG 10052: dfs_server: Use dsdb_search_one to catch 0 results as well as
1695 NO_SUCH_OBJECT errors.
1698 o Samuel Cabrero <scabrero@zentyal.com>
1699 * BUG 9091: s4-dns: dlz_bind9: Create dns-HOSTNAME account disabled.
1702 o Günther Deschner <gd@samba.org>
1703 * BUG 10264: s3-winbindd: Fix cache_traverse_validate_fn failure for
1707 o Christopher R. Hertel <crh@redhat.com>
1708 * BUG 10224: vfs_glusterfs: Fix excessive debug output from
1712 o Björn Jacke <bj@sernet.de>
1713 * BUG 10247: xattr: Fix listing EAs on *BSD for non-root users.
1716 o Volker Lendecke <vl@samba.org>
1717 * BUG 10190: Fix memset used with constant zero length parameter.
1718 * BUG 10195: nsswitch: Fix short writes in winbind_write_sock.
1721 o Stefan Metzmacher <metze@samba.org>
1722 * BUG 10193: s4:dsdb/rootdse: report 'dnsHostName' instead of 'dNSHostName'.
1723 * BUG 10232: libcli/smb: Fix smb2cli_ioctl*() against Windows 2008.
1726 o Susant Kumar Palai <spalai@redhat.com>
1727 * BUG 10224: VFS plugin was sending the actual size of the volume instead of
1728 the total number of block units because of which windows was getting the
1729 wrong volume capacity.
1732 o Andreas Schneider <asn@samba.org>
1733 * BUG 10194: Make offline logon cache updating for cross child domain group
1735 * BUG 10269: util: Remove 32bit macros breaking strict aliasing.
1736 * BUG 10253: Fix the build of vfs_glusterfs.
1739 #######################################
1740 Reporting bugs & Development Discussion
1741 #######################################
1743 Please discuss this release on the samba-technical mailing list or by
1744 joining the #samba-technical IRC channel on irc.freenode.net.
1746 If you do report problems then please try to send high quality
1747 feedback. If you don't provide vital information to help us track down
1748 the problem then you will probably be ignored. All bug reports should
1749 be filed under the Samba 4.1 product in the project's Bugzilla
1750 database (https://bugzilla.samba.org/).
1753 ======================================================================
1754 == Our Code, Our Bugs, Our Responsibility.
1756 ======================================================================
1759 ----------------------------------------------------------------------
1762 =============================
1763 Release Notes for Samba 4.1.1
1765 =============================
1768 This is a security release in order to address
1769 CVE-2013-4475 (ACLs are not checked on opening an alternate
1770 data stream on a file or directory) and
1771 CVE-2013-4476 (Private key in key.pem world readable).
1774 Samba versions 3.2.0 and above (all versions of 3.2.x, 3.3.x,
1775 3.4.x, 3.5.x, 3.6.x, 4.0.x and 4.1.x) do not check the underlying
1776 file or directory ACL when opening an alternate data stream.
1778 According to the SMB1 and SMB2+ protocols the ACL on an underlying
1779 file or directory should control what access is allowed to alternate
1780 data streams that are associated with the file or directory.
1782 By default no version of Samba supports alternate data streams
1783 on files or directories.
1785 Samba can be configured to support alternate data streams by loading
1786 either one of two virtual file system modues (VFS) vfs_streams_depot or
1787 vfs_streams_xattr supplied with Samba, so this bug only affects Samba
1788 servers configured this way.
1790 To determine if your server is vulnerable, check for the strings
1791 "streams_depot" or "streams_xattr" inside your smb.conf configuration
1795 In setups which provide ldap(s) and/or https services, the private
1796 key for SSL/TLS encryption might be world readable. This typically
1797 happens in active directory domain controller setups.
1800 Changes since 4.1.0:
1801 --------------------
1803 o Jeremy Allison <jra@samba.org>
1804 * BUGs 10234 + 10229: CVE-2013-4475: Fix access check verification on stream
1808 o Björn Baumbach <bb@sernet.de>
1809 * BUG 10234: CVE-2013-4476: Private key in key.pem world readable.
1812 #######################################
1813 Reporting bugs & Development Discussion
1814 #######################################
1816 Please discuss this release on the samba-technical mailing list or by
1817 joining the #samba-technical IRC channel on irc.freenode.net.
1819 If you do report problems then please try to send high quality
1820 feedback. If you don't provide vital information to help us track down
1821 the problem then you will probably be ignored. All bug reports should
1822 be filed under the Samba 4.1 product in the project's Bugzilla
1823 database (https://bugzilla.samba.org/).
1826 ======================================================================
1827 == Our Code, Our Bugs, Our Responsibility.
1829 ======================================================================
1832 ----------------------------------------------------------------------
1835 =============================
1836 Release Notes for Samba 4.1.0
1838 =============================
1841 This is is the first stable release of Samba 4.1.
1843 Samba 4.1 will be the next version of the Samba suite and includes
1844 all the technology found in both the Samba4 series and the stable 3.x
1845 series. The primary additional features over Samba 3.6 are
1846 support for the Active Directory logon protocols used by Windows 2000
1849 Major enhancements in Samba 4.1.0 include:
1851 Client tools support SMB2/3
1852 ===========================
1854 Samba 4.1.0 contains the first release of our client tools
1855 and client library that work over the new protocols SMB2 or SMB3.
1856 Note that SMB3 only works either to a Samba server version 4.0.0
1857 or above, or to a Windows Server running Windows 2012 or Windows 8.
1859 The default protocol for smbclient and smbcacls is still
1860 SMB1 (the NT1 protocol dialect). An SMB2 or SMB3 connection
1861 can be selected in one of two ways. The easiest way to test
1862 the new protocol connection is to add the -mMAX_PROTOCOL
1863 command line switch to either smbclient or smbcacls.
1865 For example, to connect using SMB3 with smbclient a user
1868 smbclient //server/share -Uuser%password -mSMB3
1870 Another example of connecting using SMB2 using smbcacls
1873 smbcacls //server/share -Uuser%password -mSMB2 filename
1875 Note that when connecting using SMB2 or SMB3 protocols
1876 the UNIX extensions are no longer available inside the
1877 smbclient command set. This is due to UNIX extensions
1878 not yet being defined for the SMB2 or SMB3 protocols.
1880 The second way to select SMB2 or SMB3 connections is to
1881 set the "client max protocol" parameter in the [global]
1882 section of your smb.conf.
1884 Setting this parameter will cause all client connections
1885 from Samba and its client tools to offer the requested
1886 max protocol to a server on every connection request.
1888 For example, to cause all client tools (including winbindd,
1889 rpcclient, and the libsmbclient library) to attempt use SMB3
1890 by default add the line:
1892 client max protocol = SMB3
1894 to the [global] section of your smb.conf. This has not
1895 been as widely tested as the -mPROTOCOL options, but
1896 is intended to work correctly in the final release of
1902 Although Samba servers have supported encrypted transport
1903 connections using the UNIX extensions for many years,
1904 selecting SMB3 transport allows encrypted transport
1905 connections to Windows servers that support SMB3, as
1906 well as Samba servers.
1908 In order to enable this, add the "-e" option to the
1909 smbclient command line.
1911 For example, to connect to a Windows 2012 server over
1912 SMB3 and select an encrypted transport you would use
1913 the following command line:
1915 smbclient //Win2012Server/share -Uuser%password -mSMB3 -e
1918 Directory database replication (AD DC mode)
1919 ===========================================
1921 Directory replication has been reworked in order to improve the
1922 correctness and efficiency.
1923 As a net effect of it, replication with other domain controllers with
1924 a heavily modified schema is now possible (ie. Windows 2012 DCs or
1925 other Windows DC with exchange installed) and replication didn't fail
1926 anymore in such environments.
1929 Server-Side Copy Support
1930 ========================
1932 Samba 4.1.0 adds support for server-side copy operations via the SMB2
1933 FSCTL_SRV_COPYCHUNK request. Clients making use of server-side copy
1934 support, such as Windows Server 2012, should experience considerable
1935 performance improvements for file copy operations, as file data need not
1936 traverse the network.
1937 This feature is enabled by default on the smbd file server.
1940 Btrfs Filesystem Integration
1941 ============================
1943 The Btrfs VFS module provided with Samba 4.1.0 further improves the
1944 performance of server-side copy operations on shares backed by a Btrfs
1945 filesystem. It does so by allowing multiple files to share the same
1946 on-disk extents, avoiding the unnecessary duplication of source and
1947 destination file data during a server-side copy operation.
1949 This feature can be explicitly enabled on smbd shares backed by a Btrfs
1950 filesystem with the smb.conf parameter:
1957 The Samba Web Administration Tool (SWAT) has been removed.
1958 Details why SWAT has been removed can be found on the samba-technical mailing
1961 https://lists.samba.org/archive/samba-technical/2013-February/090572.html
1964 ######################################################################
1971 Parameter Name Description Default
1972 -------------- ----------- -------
1974 acl allow execute always New False
1975 password level Removed
1976 set directory Removed
1980 RUNNING Samba 4.1 as an AD DC
1981 =============================
1983 A short guide to setting up Samba as an AD DC can be found on the wiki:
1985 https://wiki.samba.org/index.php/Samba_AD_DC_HOWTO
1991 o Jeremy Allison <jra@samba.org>
1992 * Add SMB2 and SMB3 support for client tools and client library.
1993 * Add support for SMB3 Encrypted transport.
1996 o David Disseldorp <ddiss@samba.org>
1997 * Add vfs_btrfs module.
1998 * Add support for server-side copy operations via the
1999 SMB2 FSCTL_SRV_COPYCHUNK request.
2002 CHANGES SINCE 4.1.0rc4
2003 ======================
2005 o Stefan Metzmacher <metze@samba.org>
2006 * BUG 10178: Fix PAC parsing failure.
2009 o Andreas Schneider <asn@samba.org>
2010 * BUG 10132: pam_winbindd: Support the KEYRING ccache type.
2013 CHANGES SINCE 4.1.0rc3
2014 ======================
2016 o Michael Adam <obnox@samba.org>
2017 * BUG 10134: Add "acl allow execute always" parameter.
2020 o Jeremy Allison <jra@samba.org>
2021 * BUG 10139: Valid utf8 filenames cause "invalid conversion error"
2023 * BUG 10145: Samba SMB2 client code reads the wrong short name length in a
2024 directory listing reply.
2025 * BUG 10149: cli_smb2_get_ea_list_path() failed to close file on exit.
2026 * BUG 10150: Not all OEM servers support the ALTNAME info level.
2029 o Andrew Bartlett <abartlet@samba.org>
2030 * BUG 8077: dsdb: Convert the full string from UTF16 to UTF8, including
2032 * BUG 9461: python-samba-tool fsmo: Do not give an error on a successful
2034 * BUG 10157: Regression causes replication failure with Windows 2008R2 and
2035 deletes Deleted Objects.
2038 o Günther Deschner <gd@samba.org>
2039 * BUG 10147: Better document potential implications of a globally used
2043 o Korobkin <korobkin+samba@gmail.com>
2044 * BUG 10118: Raise the level of a debug when unable to open a printer.
2047 o Volker Lendecke <vl@samba.org>
2048 * BUG 10008: dbwrap_ctdb: Treat empty records as non-existing.
2049 * BUG 10138: smbd: Always clean up share modes after hard crash.
2052 o Daniel Liberman <danielvl@gmail.com>
2053 * BUG 10162: Fix POSIX ACL mapping when setting DENY ACE's from Windows.
2056 o Stefan Metzmacher <metze@samba.org>
2057 * BUG 10144: libcli/smb: Use SMB1 MID=0 for the initial Negprot.
2058 * BUG 10146: libcli/smb: Only check the SMB2 session setup signature if
2062 o Matthieu Patou <mat@matws.net>
2063 * BUG 10158: Netbios related samba process consumes 100% CPU.
2066 o Christof Schmitt <christof.schmitt@us.ibm.com>
2067 * BUG 10137: vfs_shadow_copy2: Display previous versions correctly over
2071 CHANGES SINCE 4.1.0rc2
2072 ======================
2074 o Michael Adam <obnox@samba.org>
2075 * BUG 10107: Fix Winbind crashes on DC with trusted AD domains.
2078 o Jeremy Allison <jra@samba.org>
2079 * BUG 5917: Fix working on site with Read Only Domain Controller.
2080 * BUG 9974: Add SMB2 and SMB3 support for smbclient.
2081 * BUG 10063: Fix memory leak in source3/lib/util.c:1493.
2082 * BUG 10121: Masks incorrectly applied to UNIX extension permission
2086 o Christian Ambach <ambi@samba.org>
2087 * BUG 9911: Build Samba 4.0.x on AIX with IBM XL C/C++.
2090 o Andrew Bartlett <abartlet@samba.org>
2091 * BUG 9091: When replicating DNS for bind9_dlz we need to create the
2092 server-DNS account remotely.
2095 o Günther Deschner <gd@samba.org>
2096 * BUG 9615: Winbind unable to retrieve user information from AD.
2097 * BUG 9899: winbind_lookup_names() fails because of
2098 NT_STATUS_CANT_ACCESS_DOMAIN_INFO.
2099 * BUG 10107: Fix Winbind crashes on DC with trusted AD domains.
2102 o Volker Lendecke <vl@samba.org>
2103 * BUG 10086: smbd: Fix async echo handler forking.
2104 * BUG 10106: Honour output buffer length set by the client for SMB2 GetInfo
2106 * BUG 10114: Handle Dropbox (write-only-directory) case correctly
2110 o Stefan Metzmacher <metze@samba.org>
2111 * BUG 10030: ::1 added to nameserver on join.
2114 o Rusty Russell <rusty@rustcorp.com.au>
2115 * BUG 10000: Add man pages for ntdb tools.
2118 o Karolin Seeger <kseeger@samba.org>
2119 * BUG 7364: Add man page for vfs_syncops.
2120 * BUG 7490: Add man page for vfs_linux_xfs_sgid.
2121 * BUG 10001: Add man page for samba-regedit tool.
2122 * BUG 10076: Fix variable list in vfs_crossrename man page.
2125 o Andreas Schneider <asn@samba.org>
2126 * BUG 10073: Fix segmentation fault in 'net ads join'.
2127 * BUG 10082: s3-winbind: Fix a segfault passing NULL to a fstring argument.
2130 o Richard Sharpe <realrichardsharpe@gmail.com>
2131 * BUG 10097: MacOSX 10.9 will not follow path-based DFS referrals handed
2135 o Ralph Wuerthner <ralph.wuerthner@de.ibm.com>
2136 * BUG 10106: Honour output buffer length set by the client for SMB2 GetInfo
2140 CHANGES SINCE 4.1.0rc1
2141 ======================
2143 o Jeremy Allison <jra@samba.org>
2144 * BUG 9992: Windows error 0x800700FE when copying files with xattr names
2146 * BUG 10010: Missing integer wrap protection in EA list reading can cause
2147 server to loop with DOS (CVE-2013-4124).
2148 * BUG 10064: Linux kernel oplock breaks can miss signals.
2151 o Andrew Bartlett <abartlet@samba.org>
2152 * BUG 9029: Fix replication with --domain-crictical-only to fill in
2154 * BUG 9820: Fix crash of winbind after "ls -l
2155 /usr/local/samba/var/locks/sysvol".
2156 * BUG 10056: dsdb improvements.
2159 o Björn Baumbach <bb@sernet.de>
2160 * BUG 10003: Fix segfault while reading incomplete session info.
2163 o Gregor Beck <gbeck@sernet.de>
2164 * BUG 9678: Windows 8 Roaming profiles fail.
2167 o Günther Deschner <gd@samba.org>
2168 * BUG 10043: Allow to change the default location for Kerberos credential
2172 o Volker Lendecke <vl@samba.org>
2173 * BUG 10013: Fix a 100% loop at shutdown time (smbd).
2176 o Stefan Metzmacher <metze@samba.org>
2177 * BUG 9820: Fix crash of winbind after "ls -l
2178 /usr/local/samba/var/locks/sysvol".
2179 * BUG 10015: Fix/improve debug options.
2180 * BUG 10042: Fix crashes in socket_get_local_addr().
2181 * BUG 10056: dsdb improvements.
2184 o Andreas Schneider <asn@samba.org>
2185 * BUG 9994: Do not delete an existing valid credential cache (s3-winbind).
2186 * BUG 10040: Rename regedit to samba-regedit.
2187 * BUG 10041: Remove obsolete swat manpage and references.
2188 * BUG 10048: nsswitch: Add OPT_KRB5CCNAME to avoid an error message.
2191 o Alexander Werth <alexander.werth@de.ibm.com>
2192 * BUG 10045: Remove a redundant inlined substitution of ACLs.
2195 o Ralph Wuerthner <ralphw@de.ibm.com>
2196 * BUG 10064: Linux kernel oplock breaks can miss signals.
2199 #######################################
2200 Reporting bugs & Development Discussion
2201 #######################################
2203 Please discuss this release on the samba-technical mailing list or by
2204 joining the #samba-technical IRC channel on irc.freenode.net.
2206 If you do report problems then please try to send high quality
2207 feedback. If you don't provide vital information to help us track down
2208 the problem then you will probably be ignored. All bug reports should
2209 be filed under the Samba 4.1 product in the project's Bugzilla
2210 database (https://bugzilla.samba.org/).
2213 ======================================================================
2214 == Our Code, Our Bugs, Our Responsibility.
2216 ======================================================================