Merge tag 'samba-4.1.10' into v4-1-test
[Samba.git] / WHATSNEW.txt
blobcb9a1c6a47eb342717f91bdedc97e8c0c3e763c2
1                    ==============================
2                    Release Notes for Samba 4.1.10
3                            July 28, 2014
4                    ==============================
7 This is the latest stable release of Samba 4.1.
10 Changes since 4.1.9:
11 --------------------
13 o   Michael Adam <obnox@samba.org>
14     * BUG 10693: Backport ldb-1.1.17 + changes from master.
17 o   Jeremy Allison <jra@samba.org>
18     * BUG 10587: s3: libsmbclient: Work around bugs in SLES cifsd and Apple smbx
19       SMB1 servers.
20     * BUG 10653: Samba won't start on a machine configured with only IPv4.
21     * BUG 10671: s3: smbd: Prevent file truncation on an open that fails with
22       share mode violation.
23     * BUG 10673: s3: SMB2: Fix leak of blocking lock records in the database.
24     * BUG 10684: SMB1 blocking locks can fail notification on unlock, causing
25       client timeout.
26     * BUG 10685: s3: smbd: Locking, fix off-by one calculation in
27       brl_pending_overlap().
28     * BUG 10692: wbcCredentialCache fails if challenge_blob is not first.
31 o   Christian Ambach <ambi@samba.org>
32     * BUG 10693: lib/ldb: Fix compiler warnings.
35 o   Andrew Bartlett <abartlet@samba.org>
36     * BUG 8077: dbcheck: Add check and test for various invalid userParameters
37       values.
38     * BUG 8449: Simple use case results in "no talloc stackframe around, leaking
39       memory" error.)
40     * BUG 10130: dsdb: Always store and return the userParameters as a array of
41       LE 16-bit values.
42     * BUG 10582: dsdb: Rename private_data to rootdse_private_data in rootdse.
43     * BUG 10627: rid_array used before status checked - segmentation fault due
44       to null pointer dereference.
45     * BUG 10693: ldb: make the successful ldb_transaction_start() message
46       clearer.
47     * BUG 10694: dsdb: Return NO_SUCH_OBJECT if a basedn is a deleted object.
48     * BUG 10700: Backport access check related fixes from master.
51 o   Björn Baumbach <bb@sernet.de>
52     * BUG 10674: samba-tool: Add --site parameter to provision command.
55 o   Howard Chu <hyc@symas.com>
56     * BUG 10693: Fix SEGV from improperly formed SUBSTRING/PRESENCE filter.
59 o   Jeroen Dekkers <jeroen@dekkers.ch>
60     * BUG 10693: ldb: Do not build libldb-cmdline when using system ldb.
63 o   Nadezhda Ivanova <nivanova@symas.com>
64     * BUG 10693: s4-openldap: Remove use of talloc_reference in
65       ldb_map_outbound.c
68 o   Björn Jacke <bj@sernet.de>
69     * BUG 3263: net/doc: Make clear that net vampire is for NT4 domains only.
72 o   Abhidnya Joshi <achirmul@in.ibm.com>
73     * BUG s3: Fix missing braces in nfs4_acls.c.
76 o   Volker Lendecke <vl@samba.org>
77     * BUG 10593: Fix "PANIC: assert failed at ../source3/smbd/open.c(1582): ret".
78     * BUG 10663: msg_channel: Fix a 100% CPU loop.
79     * BUG 10671: s3: smbd: Prevent file truncation on an open that fails with
80       share mode violation.
81     * BUG 10680: smbstatus: Fix an uninitialized variable.
82     * BUG 10687: 'RW2' smbtorture test fails when -N <numprocs> is set to 2 due
83       to the invalid status check in the second client.
84     * BUG 10693: ldb: Fix 1138330 Dereference null return value, fix CIDs
85       241329, 240798, 1034791, 1034792 1034910, 1034910).
86     * BUG 10699: smbd: Avoid double-free in get_print_db_byname.
89 o   Stefan Metzmacher <metze@samba.org>
90     * BUG 8077: s4:dsdb/samldb: Don't allow 'userParameters' to be modified over
91       LDAP for now.
92     * BUG 9763: s4:dsdb/repl_meta_data: Make sure objectGUID can't be deleted.
93     * BUG 10469: ldb-samba: fix a memory leak in
94       ldif_canonicalise_objectCategory().
95     * BUG 10294: s4:repl_meta_data: fix array assignment in
96       replmd_process_linked_attribute().
97     * BUG 10536: dbchecker: Verify and fix broken dn values.
98     * BUG 10692: wbcCredentialCache fails if challenge_blob is not first.
99     * BUG 10693: ldb:pyldb: Add some more helper functions for LdbDn.
100     * BUG 10694: s4:dsdb/extended_dn_in: Don't force DSDB_SEARCH_SHOW_RECYCLED.
101     * BUG 10696: Backport autobuild/selftest fixes from master.
102     * BUG 10706: s3:smb2_read: let smb2_sendfile_send_data() behave like
103       send_file_readX().
106 o   Matthieu Patou <mat@matws.net>
107     * BUG 10693: pyldb: Decrement ref counters on py_results and quiet warnings.
108     * BUG 10698: Backport drs-crackname fixes from master.
111 o   Pavel Reichl <pavel.reichl@redhat.com>
112     * BUG 10693: ldb: Use of NULL pointer bugfix.
115 o   Garming Sam <garming@catalyst.net.nz>
116     * BUG 10703: Backport provision fixes from master.
119 o   Andreas Schneider <asn@samba.org>
120     * BUG 10693: ldb: Add a env variable to disable RTLD_DEEPBIND.
123 #######################################
124 Reporting bugs & Development Discussion
125 #######################################
127 Please discuss this release on the samba-technical mailing list or by
128 joining the #samba-technical IRC channel on irc.freenode.net.
130 If you do report problems then please try to send high quality
131 feedback. If you don't provide vital information to help us track down
132 the problem then you will probably be ignored.  All bug reports should
133 be filed under the Samba 4.1 product in the project's Bugzilla
134 database (https://bugzilla.samba.org/).
137 ======================================================================
138 == Our Code, Our Bugs, Our Responsibility.
139 == The Samba Team
140 ======================================================================
143 Release notes for older releases follow:
144 ----------------------------------------
146 ======================================================================
148                    =============================
149                    Release Notes for Samba 4.1.9
150                            June 23, 2014
151                    =============================
154 This is a security release in order to address
155 CVE-2014-0244 (Denial of service - CPU loop) and
156 CVE-2014-3493 (Denial of service - Server crash/memory corruption).
158 o  CVE-2014-0244:
159    All current released versions of Samba are vulnerable to a denial of
160    service on the nmbd NetBIOS name services daemon. A malformed packet
161    can cause the nmbd server to loop the CPU and prevent any further
162    NetBIOS name service.
164    This flaw is not exploitable beyond causing the code to loop expending
165    CPU resources.
167 o  CVE-2014-3493:
168    All current released versions of Samba are affected by a denial of service
169    crash involving overwriting memory on an authenticated connection to the
170    smbd file server.
173 Changes since 4.1.8:
174 --------------------
176 o   Jeremy Allison <jra@samba.org>
177     * BUG 10633: CVE-2014-0244: Fix nmbd denial of service.
178     * BUG 10654: CVE-2014-3493: Fix segmentation fault in
179       smbd_marshall_dir_entry()'s SMB_FIND_FILE_UNIX handler.
182 #######################################
183 Reporting bugs & Development Discussion
184 #######################################
186 Please discuss this release on the samba-technical mailing list or by
187 joining the #samba-technical IRC channel on irc.freenode.net.
189 If you do report problems then please try to send high quality
190 feedback. If you don't provide vital information to help us track down
191 the problem then you will probably be ignored.  All bug reports should
192 be filed under the Samba 4.1 product in the project's Bugzilla
193 database (https://bugzilla.samba.org/).
196 ======================================================================
197 == Our Code, Our Bugs, Our Responsibility.
198 == The Samba Team
199 ======================================================================
202 ----------------------------------------------------------------------
205                    =============================
206                    Release Notes for Samba 4.1.8
207                            June 3, 2014
208                    =============================
211 This is the latest stable release of Samba 4.1.
213 Please note that this bug fix release also addresses two minor security issues
214 without being a dedicated security release:
216   o CVE-2014-0239: dns: Don't reply to replies (bug #10609).
217   o CVE-2014-0178: Malformed FSCTL_SRV_ENUMERATE_SNAPSHOTS response
218     (bug #10549).
220 For more details including security advisories and patches, please see
222   http://www.samba.org/samba/history/security.html
225 Changes since 4.1.7:
226 --------------------
228 o   Michael Adam <obnox@samba.org>
229     * BUG 10548: build: Fix ordering problems with lib-provided and internal
230       RPATHs.
233 o   Jeremy Allison <jra@samba.org>
234     * BUG 3124: s3: smb2: Fix 'xcopy /d' with samba shares.
235     * BUG 10544: s3: lib/util: Fix logic inside set_namearray loops.
236     * BUG 10564: Fix lock order violation and file lost.
237     * BUG 10577: Fix wildcard unlink to fail if we get an error rather than
238       trying to continue.
241 o   Andrew Bartlett <abartlet@samba.org>
242     * BUG 10569: dsdb: Do checks for invalid renames in samldb, before
243       repl_meta_data.
246 o   Björn Baumbach <bb@sernet.de>
247     * BUG 10239: s3: nmbd: Reset debug settings after reading config file.
248     * BUG 10544: s3: lib/util: set_namearray reads across end of namelist
249     * BUG 10556: lib-util: Rename memdup to smb_memdup and fix all callers.
252 o   Kai Blin <kai@samba.org>
253     * BUG 10609: CVE-2014-0239: dns: Don't reply to replies.
256 o   Alexander Bokovoy <ab@samba.org>
257     * BUG 10517: Use exit_daemon() to communicate status of startup to
258       systemd.
261 o   David Disseldorp <ddiss@samba.org>
262     * BUG 10590: byteorder: Do not assume PowerPC is big-endian.
263     * BUG 10612: printing: Fix purge of all print jobs.
266 o   Benjamin Franzke <benjaminfranzke@googlemail.com>
267     * BUG 10524: Fix adding NetApps.
270 o   Abhidnya Joshi <achirmul@in.ibm.com>
271     * BUG 10547: idmap_autorid: Fix failure in reverse lookup if ID is from
272       domain range index #0.
275 o   Stefan Metzmacher <metze@samba.org>
276     * BUG 10472: script/autobuild: Make use of
277       '--with-perl-{arch,lib}-install-dir'.
280 o   Noel Power <nopower@suse.com>
281     * BUG 10554: Fix read of deleted memory in reply_writeclose()'.
284 o   Jose A. Rivera <jarrpa@redhat.com>
285     * BUG 10151: Extra ':' in msg for Waf Cross Compile Build System with
286       Cross-answers command.
287     * BUG 10348: Fix empty body in if-statement in continue_domain_open_lookup.
290 o   Christof Schmitt <christof.schmitt@us.ibm.com>
291     * BUG 10549: CVE-2014-0178: Malformed FSCTL_SRV_ENUMERATE_SNAPSHOTS
292       response.
295 o   Andreas Schneider <asn@samba.org>
296     * BUG 10472: wafsamba: Fix the installation on FreeBSD.
299 #######################################
300 Reporting bugs & Development Discussion
301 #######################################
303 Please discuss this release on the samba-technical mailing list or by
304 joining the #samba-technical IRC channel on irc.freenode.net.
306 If you do report problems then please try to send high quality
307 feedback. If you don't provide vital information to help us track down
308 the problem then you will probably be ignored.  All bug reports should
309 be filed under the Samba 4.1 product in the project's Bugzilla
310 database (https://bugzilla.samba.org/).
313 ======================================================================
314 == Our Code, Our Bugs, Our Responsibility.
315 == The Samba Team
316 ======================================================================
319 ----------------------------------------------------------------------
322                    =============================
323                    Release Notes for Samba 4.1.7
324                            April 17, 2014
325                    =============================
328 This is the latest stable release of Samba 4.1.
331 Changes since 4.1.6:
332 --------------------
334 o   Jeremy Allison <jra@samba.org>
335     * BUG 9878: Make "force user" work as expected.
336     * BUG 9942: Fix problem with server taking too long to respond to a
337       MSG_PRINTER_DRVUPGRADE message.
338     * BUG 9993: s3-printing: Fix obvious memory leak in
339       printer_list_get_printer().
340     * BUG 10344: SessionLogoff on a signed connection with an outstanding notify
341       request crashes smbd.
342     * BUG 10431: Fix STATUS_NO_MEMORY response from Query File Posix Lock request.
343     * BUG 10508: smbd: Correctly add remote users into local groups.
344     * BUG 10534: Cleanup messages.tdb record after unclean smbd shutdown.
347 o   Christian Ambach <ambi@samba.org>
348     * BUG 9911: Fix build on AIX with IBM XL C/C++ (gettext detection issues).
349     * BUG 10308: Fix String Conversion Errors with Samba 4.1.0 Build on AIX 7.1.
352 o   Gregor Beck <gbeck@sernet.de>
353     * BUG 10230: Make (lib)smbclient work with NetApp.
354     * BUG 10458: Fix 'wbinfo -i' with one-way trust.
355     * s3:rpc_server: Minor refactoring of process_request_pdu().
358 o   Kai Blin <kai@samba.org>
359     * BUG 10471: Don't respond with NXDOMAIN to records that exist with another
360       type.
363 o   Alexander Bokovoy <ab@samba.org>
364     * BUG 10504: lsa.idl: Define lsa.ForestTrustCollisionInfo and
365       ForestTrustCollisionRecord as public structs.
368 o   Günther Deschner <gd@samba.org>
369     * BUG 10439: Increase max netbios name components.
372 o   David Disseldorp <ddiss@samba.org>
373     * BUG 10188: doc: Add "spoolss: architecture" parameter usage.
374     * BUG 10484: Initial FSRVP rpcclient requests fail with
375       NT_STATUS_PIPE_NOT_AVAILABLE.
376     * BUG 10521: rpcclient FSRVP request UNCs should include a trailing
377       backslash.
380 o   Daniel Liberman <danielvl@gmail.com>
381     * BUG 10387: 'net ads search' on high latency networks can return a partial
382       list with no error indication.
385 o   Stefan Metzmacher <metze@samba.org>
386     * BUG 10200: Make 'smbclient' support DFS shares with SMB2/3.
387     * BUG 10344: SessionLogoff on a signed connection with an outstanding notify
388       request crashes smbd.
389     * BUG 10422: max xmit > 64kb leads to segmentation fault.
390     * BUG 10444: smbd_server_connection_terminate("CTDB_SRVID_RELEASE_IP")
391       panics from within ctdbd_migrate() with invalid lock_order.
392     * BUG 10464: samba4 services not binding on IPv6 addresses causing
393       connection delays.
396 o   Garming Sam <garming@catalyst.net.nz>
397     * BUG 10378: dfs: Always call create_conn_struct with root privileges.
400 o   Andreas Schneider <asn@cryptomilk.org>
401     * BUG 10467: s3-vfs: Fix stream_depot vfs module on btrfs.
402     * BUG 10472: pidl: waf should have an option for the dir to install perl
403       files and do not glob.
404     * BUG 10474: s3-spoolssd: Don't register spoolssd if epmd is not running.
405     * BUG 10481: s3-rpc_server: Fix handling of fragmented rpc requests.
408 o   Gustavo Zacarias <gustavo@zacarias.com.ar>
409     * BUG 10506: Make 'smbreadline' build with readline 6.3.
412 #######################################
413 Reporting bugs & Development Discussion
414 #######################################
416 Please discuss this release on the samba-technical mailing list or by
417 joining the #samba-technical IRC channel on irc.freenode.net.
419 If you do report problems then please try to send high quality
420 feedback. If you don't provide vital information to help us track down
421 the problem then you will probably be ignored.  All bug reports should
422 be filed under the Samba 4.1 product in the project's Bugzilla
423 database (https://bugzilla.samba.org/).
426 ======================================================================
427 == Our Code, Our Bugs, Our Responsibility.
428 == The Samba Team
429 ======================================================================
432 ----------------------------------------------------------------------
435                    =============================
436                    Release Notes for Samba 4.1.6
437                            March 11, 2014
438                    =============================
441 This is a security release in order to address
442 CVE-2013-4496 (Password lockout not enforced for SAMR password changes) and
443 CVE-2013-6442 (smbcacls can remove a file or directory ACL by mistake).
445 o  CVE-2013-4496:
446    Samba versions 3.4.0 and above allow the administrator to implement
447    locking out Samba accounts after a number of bad password attempts.
449    However, all released versions of Samba did not implement this check for
450    password changes, such as are available over multiple SAMR and RAP
451    interfaces, allowing password guessing attacks.
453 o  CVE-2013-6442:
454    Samba versions 4.0.0 and above have a flaw in the smbcacls command. If
455    smbcacls is used with the "-C|--chown name" or "-G|--chgrp name"
456    command options it will remove the existing ACL on the object being
457    modified, leaving the file or directory unprotected.
460 Changes since 4.1.5:
461 --------------------
463 o   Jeremy Allison <jra@samba.org>
464     * BUG 10327: CVE-2013-6442: ensure we don't lose an existing ACL when
465       setting owner or group owner.
468 o   Andrew Bartlett <abartlet@samba.org>
469     * BUG 10245: CVE-2013-4496: Enforce password lockout for SAMR password
470       changes.
473 o   Stefan Metzmacher <metze@samba.org>
474     * BUG 10245: CVE-2013-4496: Enforce password lockout for SAMR password
475       changes.
478 #######################################
479 Reporting bugs & Development Discussion
480 #######################################
482 Please discuss this release on the samba-technical mailing list or by
483 joining the #samba-technical IRC channel on irc.freenode.net.
485 If you do report problems then please try to send high quality
486 feedback. If you don't provide vital information to help us track down
487 the problem then you will probably be ignored.  All bug reports should
488 be filed under the Samba 4.1 product in the project's Bugzilla
489 database (https://bugzilla.samba.org/).
492 ======================================================================
493 == Our Code, Our Bugs, Our Responsibility.
494 == The Samba Team
495 ======================================================================
498 ----------------------------------------------------------------------
501                    =============================
502                    Release Notes for Samba 4.1.5
503                          February 21, 2014
504                    =============================
507 This is the latest stable release of Samba 4.1.
509 Major enhancements in Samba 4.1.5 include:
511 o  Fix 100% CPU utilization in winbindd when trying to free memory in
512    winbindd_reinit_after_fork (bug #10358).
513 o  smbd: Fix memory overwrites (bug #10415).
516 Changes since 4.1.4:
517 --------------------
519 o   Michael Adam <obnox@samba.org>
520     * BUG 10259: Make shadow_copy2 module working with Windows 7.
523 o   Jeremy Allison <jra@samba.org>
524     * BUG 2662: Make revamped directory handling code 64bit clean.
525     * BUG 10320: s3: smbpasswd: Fix crashes on invalid input.
526     * BUG 10358: Fix 100% CPU utilization in winbindd when trying to free
527       memory in winbindd_reinit_after_fork.
528     * BUG 10406: s3: vfs_dirsort module: Allow dirsort to work when multiple
529       simultaneous directories are open.
530     * BUG 10429: s3: modules: streaminfo: As we have no VFS function
531       SMB_VFS_LLISTXATTR we can't cope with a symlink when lp_posix_pathnames()
532       is true.
535 o   Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
536     * BUG 10087: ntlm_auth sometimes returns the wrong username to
537       mod_ntlm_auth_winbind.
540 o   Andrew Bartlett <abartlet@samba.org>
541     * BUG 10418: Fix INTERNAL ERROR: Signal 11 in the kdc pid.
544 o   Jeffrey Clark <dude@zaplabs.com>
545     * BUG 10418: Add support for Heimdal's unified krb5 and hdb plugin system.
548 o   Niels de Vos <ndevos@redhat.com>
549     * BUG 10384: vfs/glusterfs: In case atime is not passed, set it to the
550       current atime.
553 o   David Disseldorp <ddiss@samba.org>
554     * BUG 10424: vfs_btrfs: Fix incorrect zero length server-side copy request
555       handling.
558 o   Volker Lendecke <vl@samba.org>
559     * BUG 2191: s3-winbind: Improve performance of wb_fill_pwent_sid2uid_done().
560     * BUG 10415: smbd: Fix memory overwrites.
561     * BUG 10436: smbd: Fix an ancient oplock bug.
564 o   Stefan Metzmacher <metze@samba.org>
565     * BUG 10442: Fix crash bug in smb2_notify code.
568 o   Andreas Schneider <asn@samba.org>
569     * BUG 10367: Fix several memory leaks.
572 o   Jelmer Vernooij <jelmer@samba.org>
573     * BUG 10418: Cope with first element in hdb_method having a different name
574       in different heimdal versions.
577 #######################################
578 Reporting bugs & Development Discussion
579 #######################################
581 Please discuss this release on the samba-technical mailing list or by
582 joining the #samba-technical IRC channel on irc.freenode.net.
584 If you do report problems then please try to send high quality
585 feedback. If you don't provide vital information to help us track down
586 the problem then you will probably be ignored.  All bug reports should
587 be filed under the Samba 4.1 product in the project's Bugzilla
588 database (https://bugzilla.samba.org/).
591 ======================================================================
592 == Our Code, Our Bugs, Our Responsibility.
593 == The Samba Team
594 ======================================================================
597 ----------------------------------------------------------------------
600                    =============================
601                    Release Notes for Samba 4.1.4
602                          January 10, 2014
603                    =============================
606 This is the latest stable release of Samba 4.1.
608 Major enhancements in Samba 4.1.4 include:
610 o  Fix segfault in smbd (bug #10284).
611 o  Fix SMB2 server panic when a smb2 brlock times out (bug #10311).
614 Changes since 4.1.3:
615 --------------------
617 o   Jeremy Allison <jra@samba.org>
618     * BUG 9870: smbd: Allow updates on directory write times on open handles.
619     * BUG 10260: smbclient shows no error if deleting a directory with del
620       failed.
621     * BUG 10297: smbd: Fix writing to a directory with -wx permissions
622       on a share.
623     * BUG 10305: ldb: bad if test in ldb_comparison_fold().
626 o   Christian Ambach <ambi@samba.org>
627     * BUG 10276: Fix waf build error on AIX with IBM XL C/C++.
628     * BUG 10280: s3:winbindd fix use of uninitialized variables.
631 o   Michele Baldessari <michele@acksyn.org>
632     * BUG 10281: Fix typos in man pages.
635 o   Jan Brummer <jan.brummer@tabos.org>
636     * BUG 10285: s3-winbindd: Fix DEBUG statement in winbind_msg_offline().
639 o   Günther Deschner <gd@samba.org>
640     * BUG 10262: s3-libnetjoin: Use upper-case realm when composing default
641       upn.
642     * BUG 10281: Fix numerous typos in man pages.
645 o   David Disseldorp <ddiss@samba.org>
646     * BUG 10271: Send correct job-ID in print job notifications.
649 o   Poornima Gurusiddaiah <pgurusid@redhat.com>
650     * BUG 10337: vfs_glusterfs: Enable per client log file.
653 o   Volker Lendecke <vl@samba.org>
654     * BUG 10250: smbd: Fix a talloc hierarchy problem in msg_channel.
655     * BUG 10284: smbd: Fix segfaults.
656     * BUG 10297: smbd: Fix writing to a directory with -wx permissions
657       on a share.
658     * BUG 10311: Fix SMB2 server panic when a smb2 brlock times out.
661 o   Stefan Metzmacher <metze@samba.org>
662     * BUG 10298: Reduce smb2_server processing overhead.
665 o   Arvid Requate <requate@univention.de>
666     * BUG 10267: Fix printing via local printer drivers with Windows 8.
669 o   Christof Schmitt <cs@samba.org>
670     * BUG 10310: Fix AIO with SMB2 and locks.
673 o   Andreas Schneider <asn@samba.org>
674     * BUG 2191: Fix %G/%g substitution in 'template homedir'.
675     * BUG 10274: Fix several issues and warnings from analyzer tools.
676     * BUG 10286: s3-lib: Fix %G substitution for domain users in smbd.
679 #######################################
680 Reporting bugs & Development Discussion
681 #######################################
683 Please discuss this release on the samba-technical mailing list or by
684 joining the #samba-technical IRC channel on irc.freenode.net.
686 If you do report problems then please try to send high quality
687 feedback. If you don't provide vital information to help us track down
688 the problem then you will probably be ignored.  All bug reports should
689 be filed under the Samba 4.1 product in the project's Bugzilla
690 database (https://bugzilla.samba.org/).
693 ======================================================================
694 == Our Code, Our Bugs, Our Responsibility.
695 == The Samba Team
696 ======================================================================
699 ----------------------------------------------------------------------
702                    =============================
703                    Release Notes for Samba 4.1.3
704                          December 9, 2013
705                    =============================
708 This is a security release in order to address
709 CVE-2013-4408 (DCE-RPC fragment length field is incorrectly checked) and
710 CVE-2012-6150 (pam_winbind login without require_membership_of restrictions).
712 o  CVE-2013-4408:
713    Samba versions 3.4.0 and above (versions 3.4.0 - 3.4.17, 3.5.0 -
714    3.5.22, 3.6.0 - 3.6.21, 4.0.0 - 4.0.12 and including 4.1.2) are
715    vulnerable to buffer overrun exploits in the client processing of
716    DCE-RPC packets. This is due to incorrect checking of the DCE-RPC
717    fragment length in the client code.
719    This is a critical vulnerability as the DCE-RPC client code is part of
720    the winbindd authentication and identity mapping daemon, which is
721    commonly configured as part of many server installations (when joined
722    to an Active Directory Domain). A malicious Active Directory Domain
723    Controller or man-in-the-middle attacker impersonating an Active
724    Directory Domain Controller could achieve root-level access by
725    compromising the winbindd process.
727    Samba server versions 3.4.0 - 3.4.17 and versions 3.5.0 - 3.5.22 are
728    also vulnerable to a denial of service attack (server crash) due to a
729    similar error in the server code of those versions.
731    Samba server versions 3.6.0 and above (including all 3.6.x versions,
732    all 4.0.x versions and 4.1.x) are not vulnerable to this problem.
734    In addition range checks were missing on arguments returned from calls
735    to the DCE-RPC functions LookupSids (lsa and samr), LookupNames (lsa and samr)
736    and LookupRids (samr) which could also cause similar problems.
738    As this was found during an internal audit of the Samba code there are
739    no currently known exploits for this problem (as of December 9th 2013).
741 o  CVE-2012-6150:
742    Winbind allows for the further restriction of authenticated PAM logins using
743    the require_membership_of parameter. System administrators may specify a list
744    of SIDs or groups for which an authenticated user must be a member of. If an
745    authenticated user does not belong to any of the entries, then login should
746    fail. Invalid group name entries are ignored.
748    Samba versions 3.3.10, 3.4.3, 3.5.0 and later incorrectly allow login from
749    authenticated users if the require_membership_of parameter specifies only
750    invalid group names.
752    This is a vulnerability with low impact. All require_membership_of group
753    names must be invalid for this bug to be encountered.
756 Changes since 4.1.2:
757 --------------------
759 o   Jeremy Allison <jra@samba.org>
760     * BUG 10185: CVE-2013-4408: Correctly check DCE-RPC fragment length field.
763 o   Stefan Metzmacher <metze@samba.org>
764     * BUG 10185: CVE-2013-4408: Correctly check DCE-RPC fragment length field.
767 o   Noel Power <noel.power@suse.com>
768     * BUGs 10300, 10306: CVE-2012-6150: Fail authentication if user isn't
769       member of *any* require_membership_of specified groups.
772 #######################################
773 Reporting bugs & Development Discussion
774 #######################################
776 Please discuss this release on the samba-technical mailing list or by
777 joining the #samba-technical IRC channel on irc.freenode.net.
779 If you do report problems then please try to send high quality
780 feedback. If you don't provide vital information to help us track down
781 the problem then you will probably be ignored.  All bug reports should
782 be filed under the Samba 4.1 product in the project's Bugzilla
783 database (https://bugzilla.samba.org/).
786 ======================================================================
787 == Our Code, Our Bugs, Our Responsibility.
788 == The Samba Team
789 ======================================================================
792 ----------------------------------------------------------------------
795                    =============================
796                    Release Notes for Samba 4.1.2
797                          November 22, 2013
798                    =============================
801 This is is the latest stable release of Samba 4.1.
804 Changes since 4.1.1:
805 --------------------
807 o   Jeremy Allison <jra@samba.org>
808     * BUG 10187: Missing talloc_free can leak stackframe in error path.
809     * BUG 10196: RW Deny for a specific user is not overriding RW Allow for a
810       group.
813 o   Anand Avati <avati@redhat.com>
814     * BUG 10224: vfs_glusterfs: Implement proper mashalling/unmarshalling of
815       ACLs.
818 o   Andrew Bartlett <abartlet@samba.org>
819     * BUG 10052: dfs_server: Use dsdb_search_one to catch 0 results as well as
820       NO_SUCH_OBJECT errors.
823 o   Samuel Cabrero <scabrero@zentyal.com>
824     * BUG 9091: s4-dns: dlz_bind9: Create dns-HOSTNAME account disabled.
827 o   Günther Deschner <gd@samba.org>
828     * BUG 10264: s3-winbindd: Fix cache_traverse_validate_fn failure for
829       NDR cache entries.
832 o   Christopher R. Hertel <crh@redhat.com>
833     * BUG 10224: vfs_glusterfs: Fix excessive debug output from
834       vfs_gluster_open().
837 o   Björn Jacke <bj@sernet.de>
838     * BUG 10247: xattr: Fix listing EAs on *BSD for non-root users.
841 o   Volker Lendecke <vl@samba.org>
842     * BUG 10190: Fix memset used with constant zero length parameter.
843     * BUG 10195: nsswitch: Fix short writes in winbind_write_sock.
846 o   Stefan Metzmacher <metze@samba.org>
847     * BUG 10193: s4:dsdb/rootdse: report 'dnsHostName' instead of 'dNSHostName'.
848     * BUG 10232: libcli/smb: Fix smb2cli_ioctl*() against Windows 2008.
851 o   Susant Kumar Palai <spalai@redhat.com>
852     * BUG 10224: VFS plugin was sending the actual size of the volume instead of
853       the total number of block units because of which windows was getting the
854       wrong volume capacity.
857 o   Andreas Schneider <asn@samba.org>
858     * BUG 10194: Make offline logon cache updating for cross child domain group
859       membership.
860     * BUG 10269: util: Remove 32bit macros breaking strict aliasing.
861     * BUG 10253: Fix the build of vfs_glusterfs.
864 #######################################
865 Reporting bugs & Development Discussion
866 #######################################
868 Please discuss this release on the samba-technical mailing list or by
869 joining the #samba-technical IRC channel on irc.freenode.net.
871 If you do report problems then please try to send high quality
872 feedback. If you don't provide vital information to help us track down
873 the problem then you will probably be ignored.  All bug reports should
874 be filed under the Samba 4.1 product in the project's Bugzilla
875 database (https://bugzilla.samba.org/).
878 ======================================================================
879 == Our Code, Our Bugs, Our Responsibility.
880 == The Samba Team
881 ======================================================================
884 ----------------------------------------------------------------------
887                    =============================
888                    Release Notes for Samba 4.1.1
889                          November 11, 2013
890                    =============================
893 This is a security release in order to address
894 CVE-2013-4475 (ACLs are not checked on opening an alternate
895 data stream on a file or directory) and
896 CVE-2013-4476 (Private key in key.pem world readable).
898 o  CVE-2013-4475:
899    Samba versions 3.2.0 and above (all versions of 3.2.x, 3.3.x,
900    3.4.x, 3.5.x, 3.6.x, 4.0.x and 4.1.x) do not check the underlying
901    file or directory ACL when opening an alternate data stream.
903    According to the SMB1 and SMB2+ protocols the ACL on an underlying
904    file or directory should control what access is allowed to alternate
905    data streams that are associated with the file or directory.
907    By default no version of Samba supports alternate data streams
908    on files or directories.
910    Samba can be configured to support alternate data streams by loading
911    either one of two virtual file system modues (VFS) vfs_streams_depot or
912    vfs_streams_xattr supplied with Samba, so this bug only affects Samba
913    servers configured this way.
915    To determine if your server is vulnerable, check for the strings
916    "streams_depot" or "streams_xattr" inside your smb.conf configuration
917    file.
919 o  CVE-2013-4476:
920    In setups which provide ldap(s) and/or https services, the private
921    key for SSL/TLS encryption might be world readable. This typically
922    happens in active directory domain controller setups.
925 Changes since 4.1.0:
926 --------------------
928 o   Jeremy Allison <jra@samba.org>
929     * BUGs 10234 + 10229: CVE-2013-4475: Fix access check verification on stream
930       files.
933 o   Björn Baumbach <bb@sernet.de>
934     * BUG 10234: CVE-2013-4476: Private key in key.pem world readable.
937 #######################################
938 Reporting bugs & Development Discussion
939 #######################################
941 Please discuss this release on the samba-technical mailing list or by
942 joining the #samba-technical IRC channel on irc.freenode.net.
944 If you do report problems then please try to send high quality
945 feedback. If you don't provide vital information to help us track down
946 the problem then you will probably be ignored.  All bug reports should
947 be filed under the Samba 4.1 product in the project's Bugzilla
948 database (https://bugzilla.samba.org/).
951 ======================================================================
952 == Our Code, Our Bugs, Our Responsibility.
953 == The Samba Team
954 ======================================================================
957 ----------------------------------------------------------------------
960                    =============================
961                    Release Notes for Samba 4.1.0
962                          October 11, 2013
963                    =============================
966 This is is the first stable release of Samba 4.1.
968 Samba 4.1 will be the next version of the Samba suite and includes
969 all the technology found in both the Samba4 series and the stable 3.x
970 series. The primary additional features over Samba 3.6 are
971 support for the Active Directory logon protocols used by Windows 2000
972 and above.
974 Major enhancements in Samba 4.1.0 include:
976 Client tools support SMB2/3
977 ===========================
979 Samba 4.1.0 contains the first release of our client tools
980 and client library that work over the new protocols SMB2 or SMB3.
981 Note that SMB3 only works either to a Samba server version 4.0.0
982 or above, or to a Windows Server running Windows 2012 or Windows 8.
984 The default protocol for smbclient and smbcacls is still
985 SMB1 (the NT1 protocol dialect). An SMB2 or SMB3 connection
986 can be selected in one of two ways. The easiest way to test
987 the new protocol connection is to add the -mMAX_PROTOCOL
988 command line switch to either smbclient or smbcacls.
990 For example, to connect using SMB3 with smbclient a user
991 would type:
993 smbclient //server/share -Uuser%password -mSMB3
995 Another example of connecting using SMB2 using smbcacls
996 would be:
998 smbcacls //server/share -Uuser%password -mSMB2 filename
1000 Note that when connecting using SMB2 or SMB3 protocols
1001 the UNIX extensions are no longer available inside the
1002 smbclient command set. This is due to UNIX extensions
1003 not yet being defined for the SMB2 or SMB3 protocols.
1005 The second way to select SMB2 or SMB3 connections is to
1006 set the "client max protocol" parameter in the [global]
1007 section of your smb.conf.
1009 Setting this parameter will cause all client connections
1010 from Samba and its client tools to offer the requested
1011 max protocol to a server on every connection request.
1013 For example, to cause all client tools (including winbindd,
1014 rpcclient, and the libsmbclient library) to attempt use SMB3
1015 by default add the line:
1017 client max protocol = SMB3
1019 to the [global] section of your smb.conf. This has not
1020 been as widely tested as the -mPROTOCOL options, but
1021 is intended to work correctly in the final release of
1022 4.1.0.
1024 Encrypted transport
1025 ===================
1027 Although Samba servers have supported encrypted transport
1028 connections using the UNIX extensions for many years,
1029 selecting SMB3 transport allows encrypted transport
1030 connections to Windows servers that support SMB3, as
1031 well as Samba servers.
1033 In order to enable this, add the "-e" option to the
1034 smbclient command line.
1036 For example, to connect to a Windows 2012 server over
1037 SMB3 and select an encrypted transport you would use
1038 the following command line:
1040 smbclient //Win2012Server/share -Uuser%password -mSMB3 -e
1043 Directory database replication (AD DC mode)
1044 ===========================================
1046 Directory replication has been reworked in order to improve the
1047 correctness and efficiency.
1048 As a net effect of it, replication with other domain controllers with
1049 a heavily modified schema is now possible (ie. Windows 2012 DCs or
1050 other Windows DC with exchange installed) and replication didn't fail
1051 anymore in such environments.
1054 Server-Side Copy Support
1055 ========================
1057 Samba 4.1.0 adds support for server-side copy operations via the SMB2
1058 FSCTL_SRV_COPYCHUNK request. Clients making use of server-side copy
1059 support, such as Windows Server 2012, should experience considerable
1060 performance improvements for file copy operations, as file data need not
1061 traverse the network.
1062 This feature is enabled by default on the smbd file server.
1065 Btrfs Filesystem Integration
1066 ============================
1068 The Btrfs VFS module provided with Samba 4.1.0 further improves the
1069 performance of server-side copy operations on shares backed by a Btrfs
1070 filesystem. It does so by allowing multiple files to share the same
1071 on-disk extents, avoiding the unnecessary duplication of source and
1072 destination file data during a server-side copy operation.
1074 This feature can be explicitly enabled on smbd shares backed by a Btrfs
1075 filesystem with the smb.conf parameter:
1076 vfs objects = btrfs
1079 REMOVED COMPONENTS
1080 ==================
1082 The Samba Web Administration Tool (SWAT) has been removed.
1083 Details why SWAT has been removed can be found on the samba-technical mailing
1084 list:
1086 https://lists.samba.org/archive/samba-technical/2013-February/090572.html
1089 ######################################################################
1090 Changes
1091 #######
1093 smb.conf changes
1094 ----------------
1096    Parameter Name                       Description     Default
1097    --------------                       -----------     -------
1099    acl allow execute always             New             False
1100    password level                       Removed
1101    set directory                        Removed
1102    use ntdb                             New             No
1105 RUNNING Samba 4.1 as an AD DC
1106 =============================
1108 A short guide to setting up Samba as an AD DC can be found on the wiki:
1110   https://wiki.samba.org/index.php/Samba_AD_DC_HOWTO
1113 COMMIT HIGHLIGHTS
1114 =================
1116 o   Jeremy Allison <jra@samba.org>
1117     * Add SMB2 and SMB3 support for client tools and client library.
1118     * Add support for SMB3 Encrypted transport.
1121 o   David Disseldorp <ddiss@samba.org>
1122     * Add vfs_btrfs module.
1123     * Add support for server-side copy operations via the
1124       SMB2 FSCTL_SRV_COPYCHUNK request.
1127 CHANGES SINCE 4.1.0rc4
1128 ======================
1130 o   Stefan Metzmacher <metze@samba.org>
1131     * BUG 10178: Fix PAC parsing failure.
1134 o   Andreas Schneider <asn@samba.org>
1135     * BUG 10132: pam_winbindd: Support the KEYRING ccache type.
1138 CHANGES SINCE 4.1.0rc3
1139 ======================
1141 o   Michael Adam <obnox@samba.org>
1142     * BUG 10134: Add "acl allow execute always" parameter.
1145 o   Jeremy Allison <jra@samba.org>
1146     * BUG 10139: Valid utf8 filenames cause "invalid conversion error"
1147       messages.
1148     * BUG 10145: Samba SMB2 client code reads the wrong short name length in a
1149       directory listing reply.
1150     * BUG 10149: cli_smb2_get_ea_list_path() failed to close file on exit.
1151     * BUG 10150: Not all OEM servers support the ALTNAME info level.
1154 o   Andrew Bartlett <abartlet@samba.org>
1155     * BUG 8077: dsdb: Convert the full string from UTF16 to UTF8, including
1156       embedded NULLs.
1157     * BUG 9461: python-samba-tool fsmo: Do not give an error on a successful
1158       role transfer.
1159     * BUG 10157: Regression causes replication failure with Windows 2008R2 and
1160       deletes Deleted Objects.
1163 o   Günther Deschner <gd@samba.org>
1164     * BUG 10147: Better document potential implications of a globally used
1165       "valid users".
1168 o   Korobkin <korobkin+samba@gmail.com>
1169     * BUG 10118: Raise the level of a debug when unable to open a printer.
1172 o   Volker Lendecke <vl@samba.org>
1173     * BUG 10008: dbwrap_ctdb: Treat empty records as non-existing.
1174     * BUG 10138: smbd: Always clean up share modes after hard crash.
1177 o   Daniel Liberman <danielvl@gmail.com>
1178     * BUG 10162: Fix POSIX ACL mapping when setting DENY ACE's from Windows.
1181 o   Stefan Metzmacher <metze@samba.org>
1182     * BUG 10144: libcli/smb: Use SMB1 MID=0 for the initial Negprot.
1183     * BUG 10146: libcli/smb: Only check the SMB2 session setup signature if
1184       required and valid.
1187 o   Matthieu Patou <mat@matws.net>
1188     * BUG 10158: Netbios related samba process consumes 100% CPU.
1191 o   Christof Schmitt <christof.schmitt@us.ibm.com>
1192     * BUG 10137: vfs_shadow_copy2: Display previous versions correctly over
1193       SMB2.
1196 CHANGES SINCE 4.1.0rc2
1197 ======================
1199 o   Michael Adam <obnox@samba.org>
1200     * BUG 10107: Fix Winbind crashes on DC with trusted AD domains.
1203 o   Jeremy Allison <jra@samba.org>
1204     * BUG 5917: Fix working on site with Read Only Domain Controller.
1205     * BUG 9974: Add SMB2 and SMB3 support for smbclient.
1206     * BUG 10063: Fix memory leak in source3/lib/util.c:1493.
1207     * BUG 10121: Masks incorrectly applied to UNIX extension permission
1208       changes.
1211 o   Christian Ambach <ambi@samba.org>
1212     * BUG 9911: Build Samba 4.0.x on AIX with IBM XL C/C++.
1215 o   Andrew Bartlett <abartlet@samba.org>
1216     * BUG 9091: When replicating DNS for bind9_dlz we need to create the
1217       server-DNS account remotely.
1220 o   Günther Deschner <gd@samba.org>
1221     * BUG 9615: Winbind unable to retrieve user information from AD.
1222     * BUG 9899: winbind_lookup_names() fails because of
1223       NT_STATUS_CANT_ACCESS_DOMAIN_INFO.
1224     * BUG 10107: Fix Winbind crashes on DC with trusted AD domains.
1227 o   Volker Lendecke <vl@samba.org>
1228     * BUG 10086: smbd: Fix async echo handler forking.
1229     * BUG 10106: Honour output buffer length set by the client for SMB2 GetInfo
1230       requests.
1231     * BUG 10114: Handle Dropbox (write-only-directory) case correctly
1232       in pathname lookup.
1235 o   Stefan Metzmacher <metze@samba.org>
1236     * BUG 10030: ::1 added to nameserver on join.
1239 o   Rusty Russell <rusty@rustcorp.com.au>
1240     * BUG 10000: Add man pages for ntdb tools.
1243 o   Karolin Seeger <kseeger@samba.org>
1244     * BUG 7364: Add man page for vfs_syncops.
1245     * BUG 7490: Add man page for vfs_linux_xfs_sgid.
1246     * BUG 10001: Add man page for samba-regedit tool.
1247     * BUG 10076: Fix variable list in vfs_crossrename man page.
1250 o   Andreas Schneider <asn@samba.org>
1251     * BUG 10073: Fix segmentation fault in 'net ads join'.
1252     * BUG 10082: s3-winbind: Fix a segfault passing NULL to a fstring argument.
1255 o   Richard Sharpe <realrichardsharpe@gmail.com>
1256     * BUG 10097: MacOSX 10.9 will not follow path-based DFS referrals handed
1257       out by Samba.
1260 o   Ralph Wuerthner <ralph.wuerthner@de.ibm.com>
1261     * BUG 10106: Honour output buffer length set by the client for SMB2 GetInfo
1262       requests.
1265 CHANGES SINCE 4.1.0rc1
1266 ======================
1268 o   Jeremy Allison <jra@samba.org>
1269     * BUG 9992: Windows error 0x800700FE when copying files with xattr names
1270       containing ":".
1271     * BUG 10010: Missing integer wrap protection in EA list reading can cause
1272       server to loop with DOS (CVE-2013-4124).
1273     * BUG 10064: Linux kernel oplock breaks can miss signals.
1276 o   Andrew Bartlett <abartlet@samba.org>
1277     * BUG 9029: Fix replication with --domain-crictical-only to fill in
1278       backlinks.
1279     * BUG 9820: Fix crash of winbind after "ls -l
1280       /usr/local/samba/var/locks/sysvol".
1281     * BUG 10056: dsdb improvements.
1284 o   Björn Baumbach <bb@sernet.de>
1285     * BUG 10003: Fix segfault while reading incomplete session info.
1288 o   Gregor Beck <gbeck@sernet.de>
1289     * BUG 9678: Windows 8 Roaming profiles fail.
1292 o   Günther Deschner <gd@samba.org>
1293     * BUG 10043: Allow to change the default location for Kerberos credential
1294       caches.
1297 o   Volker Lendecke <vl@samba.org>
1298     * BUG 10013: Fix a 100% loop at shutdown time (smbd).
1301 o   Stefan Metzmacher <metze@samba.org>
1302     * BUG 9820: Fix crash of winbind after "ls -l
1303       /usr/local/samba/var/locks/sysvol".
1304     * BUG 10015: Fix/improve debug options.
1305     * BUG 10042: Fix crashes in socket_get_local_addr().
1306     * BUG 10056: dsdb improvements.
1309 o   Andreas Schneider <asn@samba.org>
1310     * BUG 9994: Do not delete an existing valid credential cache (s3-winbind).
1311     * BUG 10040: Rename regedit to samba-regedit.
1312     * BUG 10041: Remove obsolete swat manpage and references.
1313     * BUG 10048: nsswitch: Add OPT_KRB5CCNAME to avoid an error message.
1316 o   Alexander Werth <alexander.werth@de.ibm.com>
1317     * BUG 10045: Remove a redundant inlined substitution of ACLs.
1320 o   Ralph Wuerthner <ralphw@de.ibm.com>
1321     * BUG 10064: Linux kernel oplock breaks can miss signals.
1324 #######################################
1325 Reporting bugs & Development Discussion
1326 #######################################
1328 Please discuss this release on the samba-technical mailing list or by
1329 joining the #samba-technical IRC channel on irc.freenode.net.
1331 If you do report problems then please try to send high quality
1332 feedback. If you don't provide vital information to help us track down
1333 the problem then you will probably be ignored.  All bug reports should
1334 be filed under the Samba 4.1 product in the project's Bugzilla
1335 database (https://bugzilla.samba.org/).
1338 ======================================================================
1339 == Our Code, Our Bugs, Our Responsibility.
1340 == The Samba Team
1341 ======================================================================