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