VERSION: Bump version up to 4.0.27...
[samba.git] / WHATSNEW.txt
1                    ==============================
2                    Release Notes for Samba 4.0.26
3                             May 6, 2015
4                    ==============================
5
6
7 This is the last bug-fix release of the Samba 4.1 release series.
8 There will be security releases only starting from now.
9
10
11 Changes since 4.0.25:
12 ---------------------
13
14 o   Jeremy Allison <jra@samba.org>
15     * BUG 10982: s3: smbd: Fix *allocate* calls to follow POSIX error return
16       convention.
17     * BUG 11094: s3: smbclient: Allinfo leaves the file handle open.
18
19
20 o   Christian Ambach <ambi@samba.org>
21     * BUG 9629: Fix 'profiles' tool.
22
23
24 o   Ira Cooper <ira@samba.org>
25     * BUG 11115: smbd: Stop using vfs_Chdir after SMB_VFS_DISCONNECT.
26
27
28 o   David Disseldorp <ddiss@samba.org>
29     * BUG 10808: printing/cups: Pack requested-attributes with IPP_TAG_KEYWORD.
30     * BUG 11059: libsmb: Provide authinfo domain for encrypted session
31       referrals.
32
33
34 o   Volker Lendecke <vl@samba.org>
35     * BUG 11041: smbd: Fix CID 1063259 Uninitialized scalar variable.
36     * BUG 11051: net: Fix 'net sam addgroupmem'.
37
38
39 o   Stefan Metzmacher <metze@samba.org>
40     * BUG 9299: nsswitch: Fix soname of linux nss_*.so.2 modules.
41     * BUG 9702: s3:smb2_server: Protect against integer wrap with "smb2 max
42       credits = 65535".
43     * BUG 10949: s4:dsdb/rootdse: Expand extended dn values with the AS_SYSTEM
44       control.
45     * BUG 10958: libcli/smb: Nnly force signing of smb2 session setups when
46       binding a new session.
47     * BUG 11144: Fix memory leak in SMB2 notify handling.
48     * BUG 11164: s4:auth/gensec_gssapi: Let gensec_gssapi_update() return
49       NT_STATUS_LOGON_FAILURE for unknown errors.
50
51
52 o   Christof Schmitt <cs@samba.org>
53     * BUG 11034: winbind: Retry after SESSION_EXPIRED error in ping-dc.
54
55
56 ######################################################################
57 Reporting bugs & Development Discussion
58 #######################################
59
60 Please discuss this release on the samba-technical mailing list or by
61 joining the #samba-technical IRC channel on irc.freenode.net.
62
63 If you do report problems then please try to send high quality
64 feedback. If you don't provide vital information to help us track down
65 the problem then you will probably be ignored.  All bug reports should
66 be filed under the Samba 4.0 product in the project's Bugzilla
67 database (https://bugzilla.samba.org/).
68
69
70 ======================================================================
71 == Our Code, Our Bugs, Our Responsibility.
72 == The Samba Team
73 ======================================================================
74
75
76 Release notes for older releases follow:
77 ----------------------------------------
78
79                    ==============================
80                    Release Notes for Samba 4.0.25
81                           February 23, 2015
82                    ==============================
83
84
85 This is a security release in order to address CVE-2015-0240 (Unexpected
86 code execution in smbd).
87
88 o  CVE-2015-0240:
89    All versions of Samba from 3.5.0 to 4.2.0rc4 are vulnerable to an
90    unexpected code execution vulnerability in the smbd file server
91    daemon.
92
93    A malicious client could send packets that may set up the stack in
94    such a way that the freeing of memory in a subsequent anonymous
95    netlogon packet could allow execution of arbitrary code. This code
96    would execute with root privileges.
97
98
99 Changes since 4.0.24:
100 ---------------------
101
102 o   Jeremy Allison <jra@samba.org>
103     * BUG 11077: CVE-2015-0240: talloc free on uninitialized stack pointer
104       in netlogon server could lead to security vulnerability.
105
106
107 o   Andreas Schneider <asn@samba.org>
108     * BUG 11077: CVE-2015-0240: s3-netlogon: Make sure we do not deference
109       a NULL pointer./auth: Make sure that creds_out is initialized with NULL.
110
111
112 ######################################################################
113 Reporting bugs & Development Discussion
114 #######################################
115
116 Please discuss this release on the samba-technical mailing list or by
117 joining the #samba-technical IRC channel on irc.freenode.net.
118
119 If you do report problems then please try to send high quality
120 feedback. If you don't provide vital information to help us track down
121 the problem then you will probably be ignored.  All bug reports should
122 be filed under the Samba 4.0 product in the project's Bugzilla
123 database (https://bugzilla.samba.org/).
124
125
126 ======================================================================
127 == Our Code, Our Bugs, Our Responsibility.
128 == The Samba Team
129 ======================================================================
130
131
132 ----------------------------------------------------------------------
133
134
135                    ==============================
136                    Release Notes for Samba 4.0.24
137                           January 15, 2015
138                    ==============================
139
140
141 This is a security release in order to address CVE-2014-8143 (Elevation
142 of privilege to Active Directory Domain Controller).
143
144 o  CVE-2014-8143:
145    Samba's AD DC allows the administrator to delegate
146    creation of user or computer accounts to specific users or groups.
147
148    However, all released versions of Samba's AD DC did not implement the
149    additional required check on the UF_SERVER_TRUST_ACCOUNT bit in the
150    userAccountControl attributes.
151
152
153 Changes since 4.0.23:
154 ---------------------
155
156 o   Andrew Bartlett <abartlet@samba.org>
157     * BUG 10993: CVE-2014-8143: dsdb-samldb: Check for extended access
158       rights before we allow changes to userAccountControl.
159
160
161 ######################################################################
162 Reporting bugs & Development Discussion
163 #######################################
164
165 Please discuss this release on the samba-technical mailing list or by
166 joining the #samba-technical IRC channel on irc.freenode.net.
167
168 If you do report problems then please try to send high quality
169 feedback. If you don't provide vital information to help us track down
170 the problem then you will probably be ignored.  All bug reports should
171 be filed under the Samba 4.0 product in the project's Bugzilla
172 database (https://bugzilla.samba.org/).
173
174
175 ======================================================================
176 == Our Code, Our Bugs, Our Responsibility.
177 == The Samba Team
178 ======================================================================
179
180
181 ----------------------------------------------------------------------
182
183
184                    ==============================
185                    Release Notes for Samba 4.0.23
186                          December 08, 2014
187                    ==============================
188
189
190 This is the latest stable release of Samba 4.0.
191
192
193 Changes since 4.0.22:
194 ---------------------
195
196 o   Michael Adam <obnox@samba.org>
197     * BUG 10472: Revert buildtools/wafadmin/Tools/perl.py back to upstream
198       state.
199
200
201 o   Jeremy Allison <jra@samba.org>
202     * BUG 10711: s3:daemons: Ensure nmbd and winbindd are consistent in
203       command line processing by adding POPT_COMMON_DYNCONFIG.
204     * BUG 10779: pthreadpool: Slightly serialize jobs.
205     * BUG 10830: s3:nmbd: Ensure the main nmbd process doesn't create zombies.
206     * BUG 10831: SIGCLD Signal handler not correctly reinstalled on old library
207       code use - smbrun etc.
208     * BUG 10848: s3:smb2cli: Query info return length check was reversed.
209     * BUG 10896: s3:nmbd: Fix netbios name truncation.
210
211
212 o   Günther Deschner <gd@samba.org>
213     * BUG 9984: s3-libnet: Make sure we do not overwrite precreated SPNs.
214
215
216 o   David Disseldorp <ddiss@samba.org>
217     * BUG 10898: spoolss: Fix handling of bad EnumJobs levels.
218     * BUG 10905: spoolss: Fix print job enumeration.
219
220
221 o   Björn Jacke <bj@sernet.de>
222     * BUG docs: Mention incompatibility between kernel oplocks and
223       streams_xattr.
224
225
226 o   Volker Lendecke <vl@samba.org>
227     * BUG 10860: registry: Don't leave dangling transactions.
228     * BUG 10932: pdb_tdb: Fix a TALLOC/SAFE_FREE mixup.
229
230
231 o   Stefan Metzmacher <metze@samba.org>
232     * BUG 10472: Revert buildtools/wafadmin/Tools/perl.py back to upstream
233       state.
234     * BUG 10921: s3:smbd: Fix file corruption using "write cache size != 0".
235
236
237 o   Christof Schmitt <cs@samba.org>
238     * BUG 10838: s3-winbindd: Do not use domain SID from LookupSids for
239     * Sids2UnixIDs call.
240
241
242 o   Andreas Schneider <asn@samba.org>
243     * BUG 9984: s3-libnet: Add libnet_join_get_machine_spns().
244     * BUG 9985: s3-libads: Add all machine account principals to the keytab.
245     * BUG 10472: wafsamba: If perl can't provide defaults, define them.
246     * BUG 10824: nsswitch: Skip groups we were not able to map.
247     * BUG 10829: s3-libads: Improve service principle guessing.
248
249
250 o   Richard Sharpe <realrichardsharpe@gmail.com>
251     * BUG: source3/smbd/process.c::srv_send_smb() returns true on the error
252       path.
253
254
255 ######################################################################
256 Reporting bugs & Development Discussion
257 #######################################
258
259 Please discuss this release on the samba-technical mailing list or by
260 joining the #samba-technical IRC channel on irc.freenode.net.
261
262 If you do report problems then please try to send high quality
263 feedback. If you don't provide vital information to help us track down
264 the problem then you will probably be ignored.  All bug reports should
265 be filed under the Samba 4.0 product in the project's Bugzilla
266 database (https://bugzilla.samba.org/).
267
268
269 ======================================================================
270 == Our Code, Our Bugs, Our Responsibility.
271 == The Samba Team
272 ======================================================================
273
274
275 ----------------------------------------------------------------------
276
277
278                    ==============================
279                    Release Notes for Samba 4.0.22
280                          September 15, 2014
281                    ==============================
282
283
284 This is the latest stable release of Samba 4.0.
285
286 Major enhancements in Samba 4.0.22 include:
287
288 o  New parameter "winbind request timeout" has been added (bug #3204). Please
289    see smb.conf man page for details.
290
291
292 Changes since 4.0.21:
293 ---------------------
294
295 o   Michael Adam <obnox@samba.org>
296     * BUG 10369: build: Fix configure to honour '--without-dmapi'.
297
298
299 o   Jeremy Allison <jra@samba.org>
300     * BUG 3204: s3: winbindd: On new client connect, prune idle or hung
301       connections older than "winbind request timeout". Add new parameter
302       "winbind request timeout".
303     * BUG 10640: lib: tevent: make TEVENT_SIG_INCREMENT atomic.
304     * BUG 10650: Make "case sensitive = True" option working with
305       "max protocol = SMB2" or higher in large directories.
306     * BUG 10728: 'net time': Fix usage and core dump.
307     * BUG 10773: s3: smbd: POSIX ACLs. Remove incorrect check for
308       SECINFO_PROTECTED_DACL in incoming security_information flags in
309       posix_get_nt_acl_common().
310     * BUG 10794: vfs_dirsort: Fix an off-by-one error that can
311       cause uninitialized memory read.
312
313
314 o   Björn Baumbach <bb@sernet.de>
315     * BUG 10543: s3: Enforce a positive allocation_file_size for non-empty
316       files.
317
318
319 o   David Disseldorp <ddiss@samba.org>
320     * BUG 10652: Samba 4 consuming a lot of CPU when re-reading printcap info.
321     * BUG 10787: dosmode: Fix FSCTL_SET_SPARSE request validation.
322
323
324 o   Amitay Isaacs <amitay@gmail.com>
325     * BUG 10742: s4-rpc: dnsserver: Allow . to be specified for @ record.
326
327
328 o   Daniel Kobras <d.kobras@science-computing.de>
329     * BUG 10731: sys_poll_intr: Fix timeout arithmetic.
330
331
332 o   Ross Lagerwall <rosslagerwall@gmail.com>
333     * BUG 10778: s3:libsmb: Set a max charge for SMB2 connections.
334
335
336 o   Volker Lendecke <vl@samba.org>
337     * BUG 10758: lib: Remove unused nstrcpy.
338     * BUG 10782: smbd: Properly initialize mangle_hash.
339
340
341 o   Stefan Metzmacher <metze@samba.org>
342     * BUG 10773: libcli/security: Add better detection of
343       SECINFO_[UN]PROTECTED_[D|S]ACL in get_sec_info().
344
345
346 o   Marc Muehlfeld <mmuehlfeld@samba.org>
347     * BUG 10761: docs: Fix typos in smb.conf (inherit acls).
348
349
350 o   Shirish Pargaonkar <spargaonkar@suse.com>
351     * BUG 10755: samba: Retain case sensitivity of cifs client.
352
353
354 o   Arvid Requate <requate@univention.de>
355     * BUG 9570: passdb: Fix NT_STATUS_NO_SUCH_GROUP.
356
357
358 o   Har Gagan Sahai <SHarGagan@novell.com>
359     * BUG 10759: Fix a memory leak in cli_set_mntpoint().
360
361
362 o   Roel van Meer <roel@1afa.com>
363     * BUG 10777: Don't discard result of checking grouptype.
364
365
366 ######################################################################
367 Reporting bugs & Development Discussion
368 #######################################
369
370 Please discuss this release on the samba-technical mailing list or by
371 joining the #samba-technical IRC channel on irc.freenode.net.
372
373 If you do report problems then please try to send high quality
374 feedback. If you don't provide vital information to help us track down
375 the problem then you will probably be ignored.  All bug reports should
376 be filed under the Samba 4.0 product in the project's Bugzilla
377 database (https://bugzilla.samba.org/).
378
379
380 ======================================================================
381 == Our Code, Our Bugs, Our Responsibility.
382 == The Samba Team
383 ======================================================================
384
385
386 ----------------------------------------------------------------------
387
388
389                    ==============================
390                    Release Notes for Samba 4.0.21
391                            August 1, 2014
392                    ==============================
393
394
395 This is a security release in order to address
396 CVE-2014-3560 (Remote code execution in nmbd).
397
398 o  CVE-2014-3560:
399    Samba 4.0.0 to 4.1.10 are affected by a remote code execution attack on
400    unauthenticated nmbd NetBIOS name services.
401
402    A malicious browser can send packets that may overwrite the heap of
403    the target nmbd NetBIOS name services daemon. It may be possible to
404    use this to generate a remote code execution vulnerability as the
405    superuser (root).
406
407
408 Changes since 4.1.20:
409 ---------------------
410
411 o   Volker Lendecke <vl@samba.org>
412     * BUG 10735: CVE-2014-3560: Fix unstrcpy macro length.
413
414
415 ######################################################################
416 Reporting bugs & Development Discussion
417 #######################################
418
419 Please discuss this release on the samba-technical mailing list or by
420 joining the #samba-technical IRC channel on irc.freenode.net.
421
422 If you do report problems then please try to send high quality
423 feedback. If you don't provide vital information to help us track down
424 the problem then you will probably be ignored.  All bug reports should
425 be filed under the Samba 4.0 product in the project's Bugzilla
426 database (https://bugzilla.samba.org/).
427
428
429 ======================================================================
430 == Our Code, Our Bugs, Our Responsibility.
431 == The Samba Team
432 ======================================================================
433
434
435 ----------------------------------------------------------------------
436
437
438                    ==============================
439                    Release Notes for Samba 4.0.20
440                            July 30, 2014
441                    ==============================
442
443
444 This is the latest stable release of the Samba 4.0 release series.
445
446
447 Changes since 4.0.19:
448 ---------------------
449
450 o   Jeremy Allison <jra@samba.org>
451     * BUG 3124: s3: smb2: Fix 'xcopy /d' with samba shares.
452     * BUG 10653: Samba won't start on a machine configured with only IPv4.
453     * BUG 10673: s3: SMB2: Fix leak of blocking lock records in the database.
454     * BUG 10684: SMB1 blocking locks can fail notification on unlock, causing
455       client timeout.
456     * BUG 10685: s3: smbd: Locking, fix off-by one calculation in
457       brl_pending_overlap().
458     * BUG 10692: wbcCredentialCache fails if challenge_blob is not first.
459
460
461 o   Andrew Bartlett <abartlet@samba.org>
462     * BUG 10627: rid_array used before status checked - segmentation fault due
463       to null pointer dereference.
464
465
466 o   David Disseldorp <ddiss@samba.org>
467     * BUG 10612: printing: Fix purge of all print jobs.
468
469
470 o   Björn Jacke <bj@sernet.de>
471     * BUG 3263: net/doc: Make clear that net vampire is for NT4 domains only.
472     * BUG 10657: autobuild: Delete $NSS_MODULES in "make clean".
473
474
475 o   Volker Lendecke <vl@samba.org>
476     * BUG 10663: msg_channel: Fix a 100% CPU loop.
477     * BUG 10680: smbstatus: Fix an uninitialized variable.
478     * BUG 10687: 'RW2' smbtorture test fails when -N <numprocs> is set to 2 due
479       to the invalid status check in the second client.
480     * BUG 10699: smbd: Avoid double-free in get_print_db_byname.
481
482
483 o   Stefan Metzmacher <metze@samba.org>
484     * BUG 10469: ldb-samba: fix a memory leak in
485       ldif_canonicalise_objectCategory().
486     * BUG 10692: wbcCredentialCache fails if challenge_blob is not first.
487     * BUG 10696: Backport autobuild/selftest fixes from master.
488     * BUG 10706: s3:smb2_read: let smb2_sendfile_send_data() behave like
489       send_file_readX().
490
491
492 ######################################################################
493 Reporting bugs & Development Discussion
494 #######################################
495
496 Please discuss this release on the samba-technical mailing list or by
497 joining the #samba-technical IRC channel on irc.freenode.net.
498
499 If you do report problems then please try to send high quality
500 feedback. If you don't provide vital information to help us track down
501 the problem then you will probably be ignored.  All bug reports should
502 be filed under the Samba 4.0 product in the project's Bugzilla
503 database (https://bugzilla.samba.org/).
504
505
506 ======================================================================
507 == Our Code, Our Bugs, Our Responsibility.
508 == The Samba Team
509 ======================================================================
510
511
512 ----------------------------------------------------------------------
513
514
515                    ==============================
516                    Release Notes for Samba 4.0.19
517                            June 23, 2014
518                    ==============================
519
520
521 This is a security release in order to address
522 CVE-2014-0244 (Denial of service - CPU loop) and
523 CVE-2014-3493 (Denial of service - Server crash/memory corruption).
524
525 o  CVE-2014-0244:
526    All current released versions of Samba are vulnerable to a denial of
527    service on the nmbd NetBIOS name services daemon. A malformed packet
528    can cause the nmbd server to loop the CPU and prevent any further
529    NetBIOS name service.
530
531    This flaw is not exploitable beyond causing the code to loop expending
532    CPU resources.
533
534 o  CVE-2014-3493:
535    All current released versions of Samba are affected by a denial of service
536    crash involving overwriting memory on an authenticated connection to the
537    smbd file server.
538
539
540 Changes since 4.0.18:
541 ---------------------
542
543 o   Jeremy Allison <jra@samba.org>
544     * BUG 10633: CVE-2014-0244: Fix nmbd denial of service.
545     * BUG 10654: CVE-2014-3493: Fix segmentation fault in
546       smbd_marshall_dir_entry()'s SMB_FIND_FILE_UNIX handler.
547
548
549 ######################################################################
550 Reporting bugs & Development Discussion
551 #######################################
552
553 Please discuss this release on the samba-technical mailing list or by
554 joining the #samba-technical IRC channel on irc.freenode.net.
555
556 If you do report problems then please try to send high quality
557 feedback. If you don't provide vital information to help us track down
558 the problem then you will probably be ignored.  All bug reports should
559 be filed under the Samba 4.0 product in the project's Bugzilla
560 database (https://bugzilla.samba.org/).
561
562
563 ======================================================================
564 == Our Code, Our Bugs, Our Responsibility.
565 == The Samba Team
566 ======================================================================
567
568
569 ----------------------------------------------------------------------
570
571
572                    ==============================
573                    Release Notes for Samba 4.0.18
574                             May 27, 2014
575                    ==============================
576
577
578 This is the latest stable release of Samba 4.0.
579
580 Please note that this bug fix release also addresses two minor security issues
581 without being a dedicated security release:
582
583   o CVE-2014-0239: dns: Don't reply to replies (bug #10609).
584   o CVE-2014-0178: Malformed FSCTL_SRV_ENUMERATE_SNAPSHOTS response
585     (bug #10549).
586
587 For more details including security advisories and patches, please see
588
589   http://www.samba.org/samba/history/security.html
590
591
592  Changes since 4.0.17:
593 ---------------------
594
595 o   Michael Adam <obnox@samba.org>
596     * BUG 10548: build: Fix ordering problems with lib-provided and internal
597       RPATHs.
598
599
600 o   Jeremy Allison <jra@samba.org>
601     * BUG 10577: SMB1 wildcard unlink fail can leave a retry record on the open
602       retry queue.
603     * BUG 10564: Fix lock order violation and file lost.
604
605
606 o   Björn Baumbach <bb@sernet.de>
607     * BUG 10239: s3-nmbd: Reset debug settings after reading config file.
608     * BUG 10544: s3-lib/util: set_namearray reads across end of namelist
609       string.
610     * BUG 10556: lib-util: Rename memdup to smb_memdup and fix all callers.
611
612
613 o   Kai Blin <kai@samba.org>
614     * BUG 10609: CVE-2014-0239: dns: Don't reply to replies.
615
616
617 o   David Disseldorp <ddiss@samba.org>
618     * BUG 10590: byteorder: Do not assume PowerPC is big-endian.
619
620
621 o   Stefan Metzmacher <metze@samba.org>
622     * BUG 10472: script/autobuild: Make use of
623       '--with-perl-{arch,lib}-install-dir'.
624
625
626 o   Noel Power <nopower@suse.com>
627     * BUG 10554: Fix read of deleted memory in reply_writeclose()'.
628
629
630 o   Jose A. Rivera <jarrpa@redhat.com>
631     * BUG 10151: Extra ':' in msg for Waf Cross Compile Build System with
632       Cross-answers command.
633     * BUG 10348: Fix empty body in if-statement in continue_domain_open_lookup.
634
635
636 o   Christof Schmitt <christof.schmitt@us.ibm.com>
637     * BUG 10549: CVE-2014-0178: Malformed FSCTL_SRV_ENUMERATE_SNAPSHOTS
638       response.
639
640
641 o   Andreas Schneider <asn@samba.org>
642     * BUG 10472: wafsamba: Fix the installation on FreeBSD.
643
644
645 ######################################################################
646 Reporting bugs & Development Discussion
647 #######################################
648
649 Please discuss this release on the samba-technical mailing list or by
650 joining the #samba-technical IRC channel on irc.freenode.net.
651
652 If you do report problems then please try to send high quality
653 feedback. If you don't provide vital information to help us track down
654 the problem then you will probably be ignored.  All bug reports should
655 be filed under the Samba 4.0 product in the project's Bugzilla
656 database (https://bugzilla.samba.org/).
657
658
659 ======================================================================
660 == Our Code, Our Bugs, Our Responsibility.
661 == The Samba Team
662 ======================================================================
663
664
665 ----------------------------------------------------------------------
666
667
668                    ==============================
669                    Release Notes for Samba 4.0.17
670                            April 15, 2014
671                    ==============================
672
673
674 This is the latest stable release of Samba 4.0.
675
676
677 Changes since 4.0.16:
678 ---------------------
679
680 o   Jeremy Allison <jra@samba.org>
681     * BUG 9878: Make "force user" work as expected.
682     * BUG 9942: Fix problem with server taking too long to respond to a
683       MSG_PRINTER_DRVUPGRADE message.
684     * BUG 9993: s3-printing: Fix obvious memory leak in
685       printer_list_get_printer().
686     * BUG 10344: SessionLogoff on a signed connection with an outstanding notify
687       request crashes smbd.
688     * BUG 10431: Fix STATUS_NO_MEMORY response from Query File Posix Lock request.
689     * BUG 10508: smbd: Correctly add remote users into local groups.
690     * BUG 10534: Cleanup messages.tdb record after unclean smbd shutdown.
691
692
693 o   Christian Ambach <ambi@samba.org>
694     * BUG 9911: Fix build on AIX with IBM XL C/C++ (gettext detection issues).
695     * BUG 10308: Fix String Conversion Errors with Samba 4.1.0 Build on AIX 7.1.
696
697
698 o   Andrew Bartlett <abartlet@samba.org>
699     * smbd: Split create_conn_struct into a fn that does not change the
700       working dir.
701
702
703 o   Gregor Beck <gbeck@sernet.de>
704     * BUG 10458: Fix 'wbinfo -i' with one-way trust.
705     * s3:rpc_server: Minor refactoring of process_request_pdu().
706
707
708 o   Kai Blin <kai@samba.org>
709     * BUG 10471: Don't respond with NXDOMAIN to records that exist with another
710       type.
711
712
713 o   Alexander Bokovoy <ab@samba.org>
714     * BUG 10504: lsa.idl: Define lsa.ForestTrustCollisionInfo and
715       ForestTrustCollisionRecord as public structs.
716
717
718 o   Günther Deschner <gd@samba.org>
719     * BUG 10439: Increase max netbios name components.
720
721
722 o   David Disseldorp <ddiss@samba.org>
723     * BUG 10188: doc: Add "spoolss: architecture" parameter usage.
724     * BUG 10484: Initial FSRVP rpcclient requests fail with
725       NT_STATUS_PIPE_NOT_AVAILABLE.
726
727
728 o   Daniel Liberman <danielvl@gmail.com>
729     * BUG 10387: 'net ads search' on high latency networks can return a partial
730       list with no error indication.
731
732
733 o   Stefan Metzmacher <metze@samba.org>
734     * BUG 10344: SessionLogoff on a signed connection with an outstanding notify
735       request crashes smbd.
736     * BUG 10422: max xmit > 64kb leads to segmentation fault.
737     * BUG 10444: smbd_server_connection_terminate("CTDB_SRVID_RELEASE_IP")
738       panics from within ctdbd_migrate() with invalid lock_order.
739     * BUG 10464: samba4 services not binding on IPv6 addresses causing
740       connection delays.
741     * tevent: Fix crash bug in tevent_queue_immediate_trigger().
742
743
744 o   Garming Sam <garming@catalyst.net.nz>
745     * BUG 10378: dfs: Always call create_conn_struct with root privileges.
746
747
748 o   Andreas Schneider <asn@cryptomilk.org>
749     * BUG 10472: pidl: waf should have an option for the dir to install perl
750       files and do not glob.
751     * BUG 10474: s3-spoolssd: Don't register spoolssd if epmd is not running.
752     * BUG 10481: s3-rpc_server: Fix handling of fragmented rpc requests.
753
754
755 o   Gustavo Zacarias <gustavo@zacarias.com.ar>
756     * BUG 10506: Make 'smbreadline' build with readline 6.3.
757
758
759 ######################################################################
760 Reporting bugs & Development Discussion
761 #######################################
762
763 Please discuss this release on the samba-technical mailing list or by
764 joining the #samba-technical IRC channel on irc.freenode.net.
765
766 If you do report problems then please try to send high quality
767 feedback. If you don't provide vital information to help us track down
768 the problem then you will probably be ignored.  All bug reports should
769 be filed under the Samba 4.0 product in the project's Bugzilla
770 database (https://bugzilla.samba.org/).
771
772
773 ======================================================================
774 == Our Code, Our Bugs, Our Responsibility.
775 == The Samba Team
776 ======================================================================
777
778
779 ----------------------------------------------------------------------
780
781
782                    ==============================
783                    Release Notes for Samba 4.0.16
784                            March 11, 2014
785                    ==============================
786
787
788 This is a security release in order to address
789 CVE-2013-4496 (Password lockout not enforced for SAMR password changes) and
790 CVE-2013-6442 (smbcacls can remove a file or directory ACL by mistake).
791
792 o  CVE-2013-4496:
793    Samba versions 3.4.0 and above allow the administrator to implement
794    locking out Samba accounts after a number of bad password attempts.
795
796    However, all released versions of Samba did not implement this check for
797    password changes, such as are available over multiple SAMR and RAP
798    interfaces, allowing password guessing attacks.
799
800 o  CVE-2013-6442:
801    Samba versions 4.0.0 and above have a flaw in the smbcacls command. If
802    smbcacls is used with the "-C|--chown name" or "-G|--chgrp name"
803    command options it will remove the existing ACL on the object being
804    modified, leaving the file or directory unprotected.
805
806
807 Changes since 4.0.15:
808 ---------------------
809
810 o   Jeremy Allison <jra@samba.org>
811     * BUG 10327: CVE-2013-6442: ensure we don't lose an existing ACL when
812       setting owner or group owner.
813
814
815 o   Andrew Bartlett <abartlet@samba.org>
816     * BUG 10245: CVE-2013-4496: Enforce password lockout for SAMR password
817       changes.
818
819
820 o   Stefan Metzmacher <metze@samba.org>
821     * BUG 10245: CVE-2013-4496: Enforce password lockout for SAMR password
822       changes.
823
824
825 ######################################################################
826 Reporting bugs & Development Discussion
827 #######################################
828
829 Please discuss this release on the samba-technical mailing list or by
830 joining the #samba-technical IRC channel on irc.freenode.net.
831
832 If you do report problems then please try to send high quality
833 feedback. If you don't provide vital information to help us track down
834 the problem then you will probably be ignored.  All bug reports should
835 be filed under the Samba 4.0 product in the project's Bugzilla
836 database (https://bugzilla.samba.org/).
837
838
839 ======================================================================
840 == Our Code, Our Bugs, Our Responsibility.
841 == The Samba Team
842 ======================================================================
843
844
845 ----------------------------------------------------------------------
846
847
848                    ==============================
849                    Release Notes for Samba 4.0.15
850                          February 18, 2014
851                    ==============================
852
853
854 This is the latest stable release of Samba 4.0.
855
856
857 Changes since 4.0.14:
858 ---------------------
859
860 o   Michael Adam <obnox@samba.org>
861     * BUG 10259: Make shadow_copy2 module working with Windows 7.
862
863
864 o   Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
865     * BUG 10087: ntlm_auth sometimes returns the wrong username to
866       mod_ntlm_auth_winbind.
867
868
869 o   Jeremy Allison <jra@samba.org>
870     * BUG 2662: Make revamped directory handling code 64bit clean.
871     * BUG 10358: Fix 100% CPU utilization in winbindd when trying to free
872       memory in winbindd_reinit_after_fork.
873     * BUG 10429: s3: modules: streaminfo: As we have no VFS function
874       SMB_VFS_LLISTXATTR we can't cope with a symlink when lp_posix_pathnames()
875       is true.
876
877
878 o   Christian Ambach <ambi@samba.org>
879     * BUG 0280: s3:winbindd: Fix use of uninitialized variables.
880
881
882 o   Andrew Bartlett <abartlet@samba.org>
883     * BUG 10418: Fix INTERNAL ERROR: Signal 11 in the kdc pid.
884
885
886 o   Jeffrey Clark <dude@zaplabs.com>
887     * BUG 10418: Add support for Heimdal's unified krb5 and hdb plugin system.
888
889
890 o   Volker Lendecke <vl@samba.org>
891     * BUG 2191: s3-winbind: Improve performance of wb_fill_pwent_sid2uid_done().
892     * BUG 10415: smbd: Fix memory overwrites.
893     * BUG 10436: smbd: Fix an ancient oplock bug.
894
895
896 o   Stefan Metzmacher <metze@samba.org>
897     * BUG 10442: Fix crash bug in smb2_notify code.
898
899
900 o   Jelmer Vernooij <jelmer@samba.org>
901     * BUG 10418: Cope with first element in hdb_method having a different name
902       in different heimdal versions.
903
904
905 ######################################################################
906 Reporting bugs & Development Discussion
907 #######################################
908
909 Please discuss this release on the samba-technical mailing list or by
910 joining the #samba-technical IRC channel on irc.freenode.net.
911
912 If you do report problems then please try to send high quality
913 feedback. If you don't provide vital information to help us track down
914 the problem then you will probably be ignored.  All bug reports should
915 be filed under the Samba 4.0 product in the project's Bugzilla
916 database (https://bugzilla.samba.org/).
917
918
919 ======================================================================
920 == Our Code, Our Bugs, Our Responsibility.
921 == The Samba Team
922 ======================================================================
923
924
925 ----------------------------------------------------------------------
926
927
928                    ==============================
929                    Release Notes for Samba 4.0.14
930                            January 7, 2014
931                    ==============================
932
933
934 This is the latest stable release of Samba 4.0.
935
936 Major enhancements in Samba 4.0.14 include:
937
938 o  Fix segfault in smbd (bug #10284).
939 o  Fix SMB2 server panic when a smb2 brlock times out (bug #10311).
940
941
942 Changes since 4.0.13:
943 ---------------------
944
945 o   Jeremy Allison <jra@samba.org>
946     * BUG 9870: smbd: Allow updates on directory write times on open handles.
947     * BUG 10297: smbd: Fix writing to a directory with -wx permissions
948       on a share.
949     * BUG 10305: ldb: Fix bad if test in ldb_comparison_fold().
950     * BUG 10320: s3:smbpasswd: Fix crashes on invalid input.
951
952
953 o   David Disseldorp <ddiss@samba.org>
954     * BUG 10271: Send correct job-ID in print job notifications.
955
956
957 o   Volker Lendecke <vl@samba.org>
958     * BUG 10250: smbd: Fix a talloc hierarchy problem in msg_channel.
959     * BUG 10284: smbd: Fix segfault.
960     * BUG 10297: smbd: Fix writing to a directory with -wx permissions
961       on a share.
962     * BUG 10311: Fix SMB2 server panic when a smb2 brlock times out.
963
964
965 o   Stefan Metzmacher <metze@samba.org>
966     * BUG 10298: Reduce smb2_server processing overhead.
967     * BUG 10330: s3:configure: Require tevent >= 0.9.18 as external library.
968
969
970 o   Arvid Requate <requate@univention.de>
971     * BUG 10267: spoolss: Accept XPS_PASS datatype used by Windows 8.
972
973
974 o   Christof Schmitt <cs@samba.org>
975     * BUG 10310: Fix AIO with SMB2 and locks.
976
977
978 o   Andreas Schneider <asn@samba.org>
979     * BUG 2191: Fix substution of %G/%g in 'template * homedir'.
980
981
982 ######################################################################
983 Reporting bugs & Development Discussion
984 #######################################
985
986 Please discuss this release on the samba-technical mailing list or by
987 joining the #samba-technical IRC channel on irc.freenode.net.
988
989 If you do report problems then please try to send high quality
990 feedback. If you don't provide vital information to help us track down
991 the problem then you will probably be ignored.  All bug reports should
992 be filed under the Samba 4.0 product in the project's Bugzilla
993 database (https://bugzilla.samba.org/).
994
995
996 ----------------------------------------------------------------------
997
998
999                    ==============================
1000                    Release Notes for Samba 4.0.13
1001                           December 9, 2013
1002                    ==============================
1003
1004
1005 This is a security release in order to address
1006 CVE-2013-4408 (DCE-RPC fragment length field is incorrectly checked) and
1007 CVE-2012-6150 (pam_winbind login without require_membership_of restrictions).
1008
1009 o  CVE-2013-4408:
1010    Samba versions 3.4.0 and above (versions 3.4.0 - 3.4.17, 3.5.0 -
1011    3.5.22, 3.6.0 - 3.6.21, 4.0.0 - 4.0.12 and including 4.1.2) are
1012    vulnerable to buffer overrun exploits in the client processing of
1013    DCE-RPC packets. This is due to incorrect checking of the DCE-RPC
1014    fragment length in the client code.
1015
1016    This is a critical vulnerability as the DCE-RPC client code is part of
1017    the winbindd authentication and identity mapping daemon, which is
1018    commonly configured as part of many server installations (when joined
1019    to an Active Directory Domain). A malicious Active Directory Domain
1020    Controller or man-in-the-middle attacker impersonating an Active
1021    Directory Domain Controller could achieve root-level access by
1022    compromising the winbindd process.
1023
1024    Samba server versions 3.4.0 - 3.4.17 and versions 3.5.0 - 3.5.22 are
1025    also vulnerable to a denial of service attack (server crash) due to a
1026    similar error in the server code of those versions.
1027
1028    Samba server versions 3.6.0 and above (including all 3.6.x versions,
1029    all 4.0.x versions and 4.1.x) are not vulnerable to this problem.
1030
1031    In addition range checks were missing on arguments returned from calls
1032    to the DCE-RPC functions LookupSids (lsa and samr), LookupNames (lsa and samr)
1033    and LookupRids (samr) which could also cause similar problems.
1034
1035    As this was found during an internal audit of the Samba code there are
1036    no currently known exploits for this problem (as of December 9th 2013).
1037
1038 o  CVE-2012-6150:
1039    Winbind allows for the further restriction of authenticated PAM logins using
1040    the require_membership_of parameter. System administrators may specify a list
1041    of SIDs or groups for which an authenticated user must be a member of. If an
1042    authenticated user does not belong to any of the entries, then login should
1043    fail. Invalid group name entries are ignored.
1044
1045    Samba versions 3.3.10, 3.4.3, 3.5.0 and later incorrectly allow login from
1046    authenticated users if the require_membership_of parameter specifies only
1047    invalid group names.
1048
1049    This is a vulnerability with low impact. All require_membership_of group
1050    names must be invalid for this bug to be encountered.
1051
1052
1053 Changes since 4.0.12:
1054 ---------------------
1055
1056 o   Jeremy Allison <jra@samba.org>
1057     * BUG 10185: CVE-2013-4408: Correctly check DCE-RPC fragment length field.
1058
1059
1060 o   Stefan Metzmacher <metze@samba.org>
1061     * BUG 10185: CVE-2013-4408: Correctly check DCE-RPC fragment length field.
1062
1063
1064 o   Noel Power <noel.power@suse.com>
1065     * BUGs 10300, 10306: CVE-2012-6150: Fail authentication if user isn't
1066       member of *any* require_membership_of specified groups.
1067
1068
1069 ######################################################################
1070 Reporting bugs & Development Discussion
1071 #######################################
1072
1073 Please discuss this release on the samba-technical mailing list or by
1074 joining the #samba-technical IRC channel on irc.freenode.net.
1075
1076 If you do report problems then please try to send high quality
1077 feedback. If you don't provide vital information to help us track down
1078 the problem then you will probably be ignored.  All bug reports should
1079 be filed under the Samba 4.0 product in the project's Bugzilla
1080 database (https://bugzilla.samba.org/).
1081
1082
1083 ======================================================================
1084 == Our Code, Our Bugs, Our Responsibility.
1085 == The Samba Team
1086 ======================================================================
1087
1088
1089 ----------------------------------------------------------------------
1090
1091
1092                    ==============================
1093                    Release Notes for Samba 4.0.12
1094                           November 19, 2013
1095                    ==============================
1096
1097
1098 This is is the latest stable release of Samba 4.0.
1099
1100 Major enhancements in Samba 4.0.12 include:
1101
1102 o  RW Deny for a specific user is not overriding RW Allow for a group (bug
1103    #10196)
1104
1105
1106 Changes since 4.0.11:
1107 ---------------------
1108
1109 o   Jeremy Allison <jra@samba.org>
1110     * BUG 10187: Missing talloc_free can leak stackframe in error path.
1111     * BUG 10196: RW Deny for a specific user is not overriding RW Allow for a
1112       group.
1113
1114
1115 o   Andrew Bartlett <abartlet@samba.org>
1116     * BUG 10052: Use dsdb_search_one to catch 0 results as well as
1117       NO_SUCH_OBJECT errors.
1118
1119
1120 o   Samuel Cabrero <scabrero@zentyal.com>
1121     * BUG 9091: s4-dns: dlz_bind9: Create dns-HOSTNAME account disabled.
1122
1123
1124 o   Günther Deschner <gd@samba.org>
1125     * BUG 10264: s3-winbind: Fix cache_traverse_validate_fn failure for NDR
1126       cache entries.
1127
1128
1129 o   Björn Jacke <bj@sernet.de>
1130     * BUG 10247: xattr: Fix listing EAs on *BSD for non-root users.
1131
1132
1133 o   Volker Lendecke <vl@samba.org>
1134     * BUG 10195: nsswitch: Fix short writes in winbind_write_sock.
1135
1136
1137 o   Stefan Metzmacher <metze@samba.org>
1138     * BUG 9905: ldap_server: Register name and pid at startup.
1139     * BUG 10193: s4:dsdb/rootdse: report 'dnsHostName' instead of 'dNSHostName'.
1140     * BUG 10232: libcli/smb: fix smb2cli_ioctl*() against Windows 2008.
1141
1142
1143 o   Andreas Schneider <asn@samba.org>
1144     * BUG 10132: pam_winbindd: Add support for the KEYRING ccache type.
1145     * BUG 10194: winbind: Offline logon cache not updating for cross child
1146       domain group membership.
1147     * BUG 10269: util: Remove 32bit macros breaking strict aliasing.
1148
1149
1150 ######################################################################
1151 Reporting bugs & Development Discussion
1152 #######################################
1153
1154 Please discuss this release on the samba-technical mailing list or by
1155 joining the #samba-technical IRC channel on irc.freenode.net.
1156
1157 If you do report problems then please try to send high quality
1158 feedback. If you don't provide vital information to help us track down
1159 the problem then you will probably be ignored.  All bug reports should
1160 be filed under the Samba 4.0 product in the project's Bugzilla
1161 database (https://bugzilla.samba.org/).
1162
1163
1164 ======================================================================
1165 == Our Code, Our Bugs, Our Responsibility.
1166 == The Samba Team
1167 ======================================================================
1168
1169
1170 ----------------------------------------------------------------------
1171
1172
1173                    ==============================
1174                    Release Notes for Samba 4.0.11
1175                           November 11, 2013
1176                    ==============================
1177
1178
1179 This is a security release in order to address
1180 CVE-2013-4475 (ACLs are not checked on opening an alternate
1181 data stream on a file or directory) and
1182 CVE-2013-4476 (Private key in key.pem world readable).
1183
1184 o  CVE-2013-4475:
1185    Samba versions 3.2.0 and above (all versions of 3.2.x, 3.3.x,
1186    3.4.x, 3.5.x, 3.6.x, 4.0.x and 4.1.x) do not check the underlying
1187    file or directory ACL when opening an alternate data stream.
1188
1189    According to the SMB1 and SMB2+ protocols the ACL on an underlying
1190    file or directory should control what access is allowed to alternate
1191    data streams that are associated with the file or directory.
1192
1193    By default no version of Samba supports alternate data streams
1194    on files or directories.
1195
1196    Samba can be configured to support alternate data streams by loading
1197    either one of two virtual file system modues (VFS) vfs_streams_depot or
1198    vfs_streams_xattr supplied with Samba, so this bug only affects Samba
1199    servers configured this way.
1200
1201    To determine if your server is vulnerable, check for the strings
1202    "streams_depot" or "streams_xattr" inside your smb.conf configuration
1203    file.
1204
1205 o  CVE-2013-4476:
1206    In setups which provide ldap(s) and/or https services, the private
1207    key for SSL/TLS encryption might be world readable. This typically
1208    happens in active directory domain controller setups.
1209
1210
1211 Changes since 4.0.10:
1212 ---------------------
1213
1214 o   Jeremy Allison <jra@samba.org>
1215     * BUGs 10234 + 10229: CVE-2013-4475: Fix access check verification on stream
1216       files.
1217
1218
1219 o   Björn Baumbach <bb@sernet.de>
1220     * BUG 10234: CVE-2013-4476: Private key in key.pem world readable.
1221
1222
1223 ######################################################################
1224 Reporting bugs & Development Discussion
1225 #######################################
1226
1227 Please discuss this release on the samba-technical mailing list or by
1228 joining the #samba-technical IRC channel on irc.freenode.net.
1229
1230 If you do report problems then please try to send high quality
1231 feedback. If you don't provide vital information to help us track down
1232 the problem then you will probably be ignored.  All bug reports should
1233 be filed under the Samba 4.0 product in the project's Bugzilla
1234 database (https://bugzilla.samba.org/).
1235
1236
1237 ======================================================================
1238 == Our Code, Our Bugs, Our Responsibility.
1239 == The Samba Team
1240 ======================================================================
1241
1242
1243 ----------------------------------------------------------------------
1244
1245
1246                    ==============================
1247                    Release Notes for Samba 4.0.10
1248                            October 8, 2013
1249                    ==============================
1250
1251
1252 This is is the latest stable release of Samba 4.0.
1253
1254 Major enhancements in Samba 4.0.10 include:
1255
1256 o  NetBIOS related samba process consumes 100% CPU (bug #10158).
1257 o  smbd: Clean up share modes after hard crash (bug #10138).
1258 o  Fix POSIX ACL mapping when setting DENY ACE's from Windows (bug #10162).
1259
1260 To ease upgrades from Samba 3.6 and older, a new parameter called "acl allow
1261 execute always" has been introduced as a temporary workaround. Please see the
1262 smb.conf man page for details.
1263
1264
1265 Changes since 4.0.9:
1266 --------------------
1267
1268 o   Michael Adam <obnox@samba.org>
1269     * BUG 10134: Ease file server upgrades from 3.6 and earlier with "acl allow
1270       execute always".
1271     * BUG 10169: Fix build error in scavenger.c.
1272
1273
1274 o   Jeremy Allison <jra@samba.org>
1275     * BUG 5917: Make Samba work on site with Read Only Domain Controller.
1276     * BUG 9166: Starting smbd or nmbd with stdin from /dev/null results in
1277       "EOF on stdin".
1278     * BUG 10063: source3/lib/util.c:1493 leaking memory w/ pam_winbind.so /
1279       winbind.
1280     * BUG 10121: Masks incorrectly applied to UNIX extension permission changes.
1281     * BUG 10139: Valid utf8 filenames cause "invalid conversion error"
1282       messages.
1283
1284
1285 o   Christian Ambach <ambi@samba.org>
1286     * BUG #9911 - Build Samba 4.0.x on AIX with IBM XL C/C++.
1287
1288
1289 o   Andrew Bartlett <abartlet@samba.org>
1290     * BUG 8077: dsdb: Convert the full string from UTF16 to UTF8, including
1291       embedded NULLs.
1292     * BUG 9091: When replicating DNS for bind9_dlz we need to create the
1293       server-DNS account remotely.
1294     * BUG 9461: python-samba-tool fsmo: Do not give an error on a successful
1295       role transfer.
1296
1297
1298 o   Günther Deschner <gd@samba.org>
1299     * BUG 9615: s3-winbindd: fix fallback to ncacn_np in cm_connect_lsat().
1300     * BUG 9899: s3-winbindd: fix fallback to ncacn_np in cm_connect_lsat().
1301     * BUG 10147: Better document potential implications of a globally used
1302       "valid users".
1303
1304
1305 o   Korobkin <korobkin+samba@gmail.com>
1306     * BUG 10118: Samba is chatty about being unable to open a printer.
1307
1308
1309 o   Amitay Isaacs <amitay@gmail.com>
1310     * BUG 9599: samba-tool/dns: Pass on additional flags when creating zones.
1311
1312
1313 o   Volker Lendecke <vl@samba.org>
1314     * BUG 10086: smbd: Fix async echo handler forking.
1315     * BUG 10106: Honour output buffer length set by the client for SMB2
1316       GetInfo requests.
1317     * BUG 10114: Dropbox (write-only-directory) case isn't handled correctly in
1318       pathname lookup.
1319     * BUG 10138: smbd: Clean up share modes after hard crash.
1320
1321
1322 o   Daniel Liberman <danielvl@gmail.com>
1323     * BUG 10162: Fix POSIX ACL mapping when setting DENY ACE's from Windows.
1324
1325
1326 o   Stefan Metzmacher <metze@samba.org>
1327     * BUG 9802: Move gencache.tdb to /var/cache/samba.
1328     * BUG 10030: ::1 added to nameserver on join.
1329
1330
1331 o   Matthieu Patou <mat@matws.net>
1332     * BUG 10158: NetBIOS related samba process consumes 100% CPU.
1333
1334
1335 o   Christof Schmitt <christof.schmitt@us.ibm.com>
1336     * BUG 10137: vfs_shadow_copy2 does not display previous versions correctly
1337       over SMB2.
1338
1339
1340 o   Karolin Seeger <kseeger@samba.org>
1341     * BUG 10076: docs: Fix variable list in man vfs_crossrename.
1342
1343
1344 o   Richard Sharpe <realrichardsharpe@gmail.com>
1345     * BUG 10097 - MacOSX 10.9 will not follow path-based DFS referrals handed
1346       out by Samba.
1347
1348
1349 o   Ralph Wuerthner <ralph.wuerthner@de.ibm.com>
1350     * BUG 10106: Honour output buffer length set by the client for SMB2
1351       GetInfo requests.
1352
1353
1354 ######################################################################
1355 Reporting bugs & Development Discussion
1356 #######################################
1357
1358 Please discuss this release on the samba-technical mailing list or by
1359 joining the #samba-technical IRC channel on irc.freenode.net.
1360
1361 If you do report problems then please try to send high quality
1362 feedback. If you don't provide vital information to help us track down
1363 the problem then you will probably be ignored.  All bug reports should
1364 be filed under the Samba 4.0 product in the project's Bugzilla
1365 database (https://bugzilla.samba.org/).
1366
1367
1368 ======================================================================
1369 == Our Code, Our Bugs, Our Responsibility.
1370 == The Samba Team
1371 ======================================================================
1372
1373
1374 ----------------------------------------------------------------------
1375
1376
1377                    =============================
1378                    Release Notes for Samba 4.0.9
1379                           August 20, 2013
1380                    =============================
1381
1382
1383 This is is the latest stable release of Samba 4.0.
1384
1385 Major enhancements in Samba 4.0.9 include:
1386
1387 o  Fix crash of Winbind after "ls -l /usr/local/samba/var/locks/sysvol"
1388    (bug #9820).
1389 o  Fix segmentation fault while reading incomplete session info (bug #10003).
1390 o  smbd: Fix a 100% loop at shutdown time (bug #10013).
1391
1392
1393 Changes since 4.0.8:
1394 --------------------
1395
1396 o   Michael Adam <obnox@samba.org>
1397     * BUG 9930: smbd: Cleanup disonnected durable handles.
1398
1399
1400 o   Jeremy Allison <jra@samba.org>
1401     * BUG 9992: Fix Windows error 0x800700FE when copying files with xattr names
1402       containing ":".
1403     * BUG 10064: Linux kernel oplock breaks can miss signals.
1404
1405
1406 o   Andrew Bartlett <abartlet@samba.org>
1407     * BUG 9820: Fix crash of Winbind after "ls -l
1408       /usr/local/samba/var/locks/sysvol".
1409     * BUG 10014: Fix excessive RID allocation.
1410
1411
1412 o   Björn Baumbach <bb@sernet.de>
1413     * BUG 10003: s3-lib: Fix segmentation fault while reading incomplete
1414       session info.
1415
1416
1417 o   Gregor Beck <gbeck@sernet.de>
1418     * BUG 9678: Windows 8 Roaming profiles fail.
1419     * BUG 9930: smbd: Cleanup disonnected durable handles.
1420
1421
1422 o   Kai Blin <kai@samba.org>
1423     * BUG 10015: Add debugclass for DNS server.
1424
1425
1426 o   Alexander Bokovoy <ab@samba.org>
1427     * BUG 9779: Add UPN enumeration to passdb internal API.
1428
1429
1430 o   Günther Deschner <gd@samba.org>
1431     * BUG 10043: Allow to change the default location for Kerberos credential
1432       caches.
1433     * BUG 10073: net ads join: Fix segmentation fault in
1434       create_local_private_krb5_conf_for_domain.
1435
1436
1437 o   Volker Lendecke <vl@samba.org>
1438     * BUG 10013: smbd: Fix a 100% loop at shutdown time.
1439
1440
1441 o   Stefan Metzmacher <metze@samba.org>
1442     * BUG 9820: Fix crash of Winbind after "ls -l
1443       /usr/local/samba/var/locks/sysvol".
1444     * BUG 10003: s3-lib: Fix segmentation fault while reading incomplete
1445       session info.
1446     * BUG 10015: Fix/improve debug options.
1447
1448
1449 o   Christof Schmitt <christof.schmitt@us.ibm.com>
1450     * BUG 9970: vfs_streams_xattr: Do not attempt to write empty attribute
1451       twice.
1452
1453
1454 o   Andreas Schneider <asn@samba.org>
1455     * BUG 9994: s3-winbind: Do not delete an existing valid credential cache.
1456     * BUG 10073: net ads join: Fix segmentation fault in
1457       create_local_private_krb5_conf_for_domain.
1458
1459
1460 o   Ralph Wuerthner <ralphw@de.ibm.com>
1461     * BUG 10064: Linux kernel oplock breaks can miss signals.
1462
1463
1464 ######################################################################
1465 Reporting bugs & Development Discussion
1466 #######################################
1467
1468 Please discuss this release on the samba-technical mailing list or by
1469 joining the #samba-technical IRC channel on irc.freenode.net.
1470
1471 If you do report problems then please try to send high quality
1472 feedback. If you don't provide vital information to help us track down
1473 the problem then you will probably be ignored.  All bug reports should
1474 be filed under the Samba 4.0 product in the project's Bugzilla
1475 database (https://bugzilla.samba.org/).
1476
1477
1478 ======================================================================
1479 == Our Code, Our Bugs, Our Responsibility.
1480 == The Samba Team
1481 ======================================================================
1482
1483
1484 ----------------------------------------------------------------------
1485
1486
1487                    =============================
1488                    Release Notes for Samba 4.0.8
1489                           August 05, 2013
1490                    =============================
1491
1492
1493 This is a security release in order to address
1494 CVE-2013-4124 (Missing integer wrap protection in EA list reading can cause
1495 server to loop with DOS).
1496
1497 o  CVE-2013-4124:
1498    All current released versions of Samba are vulnerable to a denial of
1499    service on an authenticated or guest connection. A malformed packet
1500    can cause the smbd server to loop the CPU performing memory
1501    allocations and preventing any further service.
1502
1503    A connection to a file share, or a local account is needed to exploit
1504    this problem, either authenticated or unauthenticated if guest
1505    connections are allowed.
1506
1507    This flaw is not exploitable beyond causing the code to loop
1508    allocating memory, which may cause the machine to exceed memory
1509    limits.
1510
1511
1512 Changes since 4.0.7:
1513 --------------------
1514
1515 o   Jeremy Allison <jra@samba.org>
1516     * BUG 10010: CVE-2013-4124: Missing integer wrap protection in EA list
1517       reading can cause server to loop with DOS.
1518
1519
1520 ######################################################################
1521 Reporting bugs & Development Discussion
1522 #######################################
1523
1524 Please discuss this release on the samba-technical mailing list or by
1525 joining the #samba-technical IRC channel on irc.freenode.net.
1526
1527 If you do report problems then please try to send high quality
1528 feedback. If you don't provide vital information to help us track down
1529 the problem then you will probably be ignored.  All bug reports should
1530 be filed under the Samba 4.0 product in the project's Bugzilla
1531 database (https://bugzilla.samba.org/).
1532
1533
1534 ======================================================================
1535 == Our Code, Our Bugs, Our Responsibility.
1536 == The Samba Team
1537 ======================================================================
1538
1539
1540 ----------------------------------------------------------------------
1541
1542
1543                    =============================
1544                    Release Notes for Samba 4.0.7
1545                            July 2, 2013
1546                    =============================
1547
1548
1549 This is is the latest stable release of Samba 4.0.
1550
1551 Major enhancements in Samba 4.0.7 include:
1552
1553 o  Fix a core dump with invalid lock order while opening/editing
1554    or copying MS files (bug #9794).
1555 o  Fix crash bug from search of mail= (bug #9967).
1556 o  winbind4: talloc use after free (bug #9832).
1557
1558
1559 Changes since 4.0.6:
1560 --------------------
1561
1562 o   Michael Adam <obnox@samba.org>
1563     * BUG 9909: build: Add missing new line to replaced python shebang line.
1564
1565
1566 o   Jeremy Allison <jra@samba.org>
1567     * BUG 9794: Fix a core dump with invalid lock order while opening/editing
1568       or copying MS files.
1569
1570
1571 o   Andrew Bartlett <abartlet@samba.org>
1572     * BUG 9465: s3-rpc_server: Ensure we are root when starting and using
1573       gensec.
1574     * BUG 9906: Doc fixes for 4.0.
1575     * BUG 9907: Build fixes for 4.0 found during autoconf or debian packaging
1576       work.
1577     * BUG 9967: Fix crash bug from search of mail=.
1578     * BUG 9968: Fix build with system Heimdal of samba4kgetcred.
1579
1580
1581 o   Björn Baumbach <bb@sernet.de>
1582     * BUG 9947: Check for netbios aliases in ad_get_referrals.
1583
1584
1585 o   Kai Blin <kai@samba.org>
1586     * BUG 9485: Add support for MX queries.
1587     * BUG 9559: dns: Delete dnsNode objects when they are empty.
1588     * BUG 9632: dns: Support larger queries when asking forwarder.
1589
1590
1591 o   David Disseldorp <ddiss@samba.org>
1592     * BUG 8997: Change libreplace GPL source to LGPL.
1593     * BUG 9900: is_printer_published GUID retrieval.
1594     * BUG 9910: PIE builds not supported.
1595
1596
1597 o   Peng Haitao <penght@cn.fujitsu.com>
1598     * BUG 9941: Fix a bug of drvupgrade of smbcontrol.
1599
1600
1601 o   Björn Jacke <bj@sernet.de>
1602     * BUG 9880: Use of wrong RFC2307 primary group field.
1603
1604
1605 o   Volker Lendecke <vl@samba.org>
1606     * BUG 9832: winbind4: talloc use after free.
1607     * BUG 9953: Fix tevent_poll on 32-bit machines (Coverity ID 989236).
1608
1609
1610 o   Stefan Metzmacher <metze@samba.org>
1611     * BUG 9805: s3:lib/server_mutex: Open mutex.tdb with CLEAR_IF_FIRST.
1612     * BUG 9929: s4:winbind: Don't leak libnet_context into the main event
1613       context.
1614
1615
1616 o   Andreas Schneider <asn@samba.org>
1617     * BUG 9881: Check for system libtevent.
1618
1619
1620 o   Michael Wood <esiotrot@gmail.com>
1621     * BUG 9964: docs: Avoid mentioning a possibly misleading option.
1622
1623
1624 o   Vadim Zhukov <persgray@gmail.com>
1625     * BUG 9888: More generic check for OpenBSD platform.
1626
1627
1628 ######################################################################
1629 Reporting bugs & Development Discussion
1630 #######################################
1631
1632 Please discuss this release on the samba-technical mailing list or by
1633 joining the #samba-technical IRC channel on irc.freenode.net.
1634
1635 If you do report problems then please try to send high quality
1636 feedback. If you don't provide vital information to help us track down
1637 the problem then you will probably be ignored.  All bug reports should
1638 be filed under the Samba 4.0 product in the project's Bugzilla
1639 database (https://bugzilla.samba.org/).
1640
1641
1642 ======================================================================
1643 == Our Code, Our Bugs, Our Responsibility.
1644 == The Samba Team
1645 ======================================================================
1646
1647
1648 ----------------------------------------------------------------------
1649
1650
1651                    =============================
1652                    Release Notes for Samba 4.0.6
1653                            May 21, 2013
1654                    =============================
1655
1656
1657 This is is the latest stable release of Samba 4.0.
1658
1659 Major enhancements in Samba 4.0.6 include:
1660
1661 o  Fix crash during Win8 sync (bug #9822).
1662 o  Fix segfault when loging in with wrong password from w2k8r2 (bug #9834).
1663
1664
1665 Changes since 4.0.5:
1666 --------------------
1667
1668 o   Jeremy Allison <jra@samba.org>
1669     * BUG 9412: SMB2 server doesn't support recvfile.
1670     * BUG 9722: Properly handle oplock breaks in compound requests.
1671     * BUG 9777: vfs_dirsort uses non-stackable calls, dirfd(), malloc instead
1672       of talloc and doesn't cope with directories being modified whilst reading.
1673     * BUG 9811: Old DOS SMB CTEMP request uses a non-VFS function to access the
1674       filesystem.
1675     * BUG 9822: Fix crash during Win8 sync.
1676
1677
1678 o   Anand Avati <avati@redhat.com>
1679     * BUG 9833: Function called in unix_convert() path can overwrite errno.
1680
1681
1682 o   Andrew Bartlett <abartlet@samba.org>
1683     * BUG 9785: Use specified python for runtime installation of Samba.
1684     * BUG 9834: Fix segfault when loging in with wrong password from w2k8r2.
1685
1686
1687 o   Alexander Bokovoy <ab@samba.org>
1688     * BUG 9767: Fix 'net ads join' when called via stdin.
1689
1690
1691 o   David Disseldorp <ddiss@samba.org>
1692     * BUG 9807: wbinfo: Fix segfault in wbinfo_pam_logon.
1693     * BUG 9830: Fix panic in nt_printer_publish_ads.
1694
1695
1696 o   Volker Lendecke <vl@samba.org>
1697     * BUG 9775: Fix segfault for "artificial" conn_structs in vfs_fake_perms.
1698     * BUG 9809: Package new dbwrap_tool man page.
1699     * BUG 9824: SMB signing and the async echo responder don't work together.
1700     * BUG 9832: talloc use after free in winbind4.
1701     * BUG 9854: Fix NULL pointer dereference in Winbind.
1702     * BUG 9868: Fix making LIBNDR_PREG_OBJ.
1703
1704
1705 o   Stefan Metzmacher <metze@samba.org>
1706     * BUG 9545: Fix the build of vfs_notify_fam.
1707     * BUG 9803: Change '--with-dmapi' to 'default=auto' to match the autoconf
1708       build.
1709     * BUG 9804: wafsamba: Display the default value in help for
1710       SAMBA3_ADD_OPTION.
1711     * BUG 9382: Add support for PFC_FLAG_OBJECT_UUID when parsing packets.
1712
1713
1714 o   Andreas Schneider <asn@samba.org>
1715     * BUG 9139: Fix the username map optimization.
1716     * BUG 9699: Fix adding case sensitive spn.
1717     * BUG 9766: Cache name_to_sid/sid_to_name correctly.
1718     * BUG 9817: Fix 'map untrusted to domain' with NTLMv2.
1719
1720
1721 o   Richard Sharpe <realrichardsharpe@gmail.com>
1722     * BUG 9722:  Properly handle oplock breaks in compound requests.
1723
1724
1725 o   Ralph Wuerthner <ralph.wuerthner@de.ibm.com>
1726     * BUG 9782: Fix panic when running 'smbtorture smb.base'.
1727
1728
1729 ######################################################################
1730 Reporting bugs & Development Discussion
1731 #######################################
1732
1733 Please discuss this release on the samba-technical mailing list or by
1734 joining the #samba-technical IRC channel on irc.freenode.net.
1735
1736 If you do report problems then please try to send high quality
1737 feedback. If you don't provide vital information to help us track down
1738 the problem then you will probably be ignored.  All bug reports should
1739 be filed under the Samba 4.0 product in the project's Bugzilla
1740 database (https://bugzilla.samba.org/).
1741
1742
1743 ======================================================================
1744 == Our Code, Our Bugs, Our Responsibility.
1745 == The Samba Team
1746 ======================================================================
1747
1748
1749 ----------------------------------------------------------------------
1750
1751
1752                    =============================
1753                    Release Notes for Samba 4.0.5
1754                            April 9, 2013
1755                    =============================
1756
1757
1758 This is is the latest stable release of Samba 4.0.
1759
1760 Major enhancements in Samba 4.0.5 include:
1761
1762 o  Fix large reads/writes from some Linux clients (bug #9706).
1763 o  Add 'samba-tool dbcheck --reset-well-known-acls' (bugs #9740 and #9267).
1764
1765
1766 Changes since 4.0.4:
1767 --------------------
1768
1769 o   Michael Adam <obnox@samba.org>
1770     * BUG 9617: libnss-winbindd does not provide pass struct for groups mapped
1771       with ID_TYPE_BOTH and vice versa.
1772     * BUG 9653: idmap_autorid: Fix freeing of non-talloced memory.
1773     * BUG 9711: s4:winbindd: Do not drop the workgroup name in the getgrnam, getgrent
1774       and getgrgid calls.
1775
1776
1777 o   Jeremy Allison <jra@samba.org>
1778     * BUG 9130: Certain xattrs cause Windows error 0x800700FF.
1779     * BUG 9519: Samba returns unexpected error on SMB posix open.
1780     * BUG 9642: Fix the build of vfs_afsacl.
1781     * BUG 9695: Backport tevent changes to bring library to version 0.9.18.
1782     * BUG 9706: Fix large reads/writes from some Linux clients.
1783     * BUG 9724: is_encrypted_packet() function incorrectly used inside server.
1784     * BUG 9733: Fix 'smbcontrol close-share'.
1785     * BUG 9748: Remove unneeded fstat system call from hot read path.
1786     * BUG 9760: Fix incorrect parsing of SMB2 command codes.
1787
1788
1789 o   Christian Ambach <ambi@samba.org>
1790     * BUG 9643: Fix the build with --fake-kaserver.
1791     * BUG 9644: Fix compile of source3/lib/afs.c.
1792     * BUG 9669: Fix crash in 'net rpc join' against a Samba 3.0.33 PDC.
1793
1794
1795 o   Timur Bakeyev <timur@FreeBSD.org>
1796     * BUG 9666: Fix filtering of link-local addresses.
1797
1798
1799 o   Andrew Bartlett <abartlet@samba.org>
1800     * BUG 9663: 'make test' hangs.
1801     * BUG 9697: DsReplicaGetInfo fails due to sendto() EMSGSIZE error
1802       on UNIX domain socket.
1803     * BUG 9703: Fix build on solaris8: Do not force a specific perl on
1804       pod2man.
1805     * BUG 9717: Set LD_LIBRARY_PATH in install_with_python.sh.
1806     * BUG 9718: s4-idmap: Remove requirement that posixAccount or posixGroup be set
1807       for rfc2307.
1808     * BUG 9719: Allow forcing an override of an old @MODULES record.
1809     * BUG 9720: Do not print the admin password during 'samba-tool
1810       classicupgrade'.
1811     * BUG 9721: Make samba_upgradedns more robust (do not guess addresses
1812       when just changing roles).
1813     * BUG 9725: upgradeprovision and 'samba-tool dbcheck' patches for 4.0.NEXT.
1814     * BUG 9728: DO NOT install samba_upgradeprovision in 4.0.x.
1815     * BUG 9739: PIDL: Build fixes for hosts without CPP (Solaris 11).
1816     * BUG 9740: Add 'samba-tool dbcheck --reset-well-known-acls'.
1817     * BUG 9267: Can't delegate adding computers to domain.
1818
1819
1820 o   Alexander Bokovoy <ab@samba.org>
1821     * BUG 9636: PIDL: Fix parsing linemarkers in preprocessor output.
1822     * BUG 9639: Rename internal subsystem pdb_ldap to pdb_ldapsam.
1823
1824
1825 o   Ira Cooper <ira@samba.org>
1826     * BUG 9646: Make SMB2_GETINFO multi-volume aware.
1827
1828
1829 o   David Disseldorp <ddiss@samba.org>
1830     * BUG 9633: Recursive mget should continue on EPERM.
1831
1832
1833 o   Landon Fuller <landonf@bikemonkey.org>
1834     * BUG 9656: Work around FreeBSD's getaddrinfo() underscore issue.
1835     * BUG 9696: Remove incomplete samba_dnsupdate IPv6 link-local address
1836       check.
1837     * BUG 9697: Handle EMSGSIZE on UNIX domain sockets.
1838
1839
1840 o   Björn Jacke <bj@sernet.de>
1841     * BUG 7825: Fix GNU ld version detection with old gcc releases.
1842
1843
1844 o   Daniel Kobras <d.kobras@science-computing.de>
1845     * BUG 9039: Never try to map global SAM name.
1846
1847
1848 o   Guenter Kukkukk <kukks@samba.org>
1849     * BUG 9701: Fix vfs_catia and update documentation.
1850
1851
1852 o   Volker Lendecke <vl@samba.org>
1853     * BUG 9695: Backport tevent changes to bring library to version 0.9.18.
1854     * BUG 9727: Fix NULL pointer dereference.
1855     * BUG 9736: Change to smbd/dir.c code gives significant performance
1856       increases on large directory listings.
1857
1858
1859 o   Stefan Metzmacher <metze@samba.org>
1860     * BUG 9557: Fix build on AIX.
1861     * BUG 9625: Reauth-capable client fails to access shares on Windows member.
1862     * BUG 9695: Backport tevent changes to bring library to version 0.9.18.
1863     * BUG 9706: Parameter is incorrect on Android.
1864
1865
1866 o   Andreas Schneider <asn@samba.org>
1867     * BUG 9664: Fix correct linking of libreplace with cmdline-credentials.
1868     * BUG 9683: Fix several resource (fd) leaks.
1869     * BUG 9685: Fix a memory leak in spoolss rpc server.
1870     * BUG 9686: Fix a possible buffer overrun in pdb_smbpasswd.
1871     * BUG 9687: Fix several possible null pointer dereferences.
1872     * BUG 9723: Add a tool to migrate latin1 printing tdbs to registry.
1873     * BUG 9735: Fix Winbind separator in upn to username conversion.
1874     * BUG 9758: Don't leak the epm_Map policy handle.
1875
1876
1877 o   Richard Sharpe <rsharpe@samba.org>
1878     * BUG 9674: Samba denies owner Read Control when there is a DENY entry
1879       while W2K08 does not.
1880     * BUG 9689: Make sure that domain joins work correctly when the DC disallows
1881       NTLM auth.
1882     * BUG 9704: Fix nss_winbind name on FreeBSD.
1883     * BUG 9747: Make sure that we only propogate the INHERITED flag when we are
1884       allowed to.
1885
1886
1887 Note about upgrading from older versions:
1888 -----------------------------------------
1889
1890 It is still the case that there are printing tdbs (ntprinting.tdb, ntforms.tdb,
1891 ntdrivers.tdb) which are in latin1 or other encodings. When updating from
1892 Samba 3.5 or earlier to Samba 3.6 or 4.0 these tdbs need to be migrated to our
1893 new registry based printing management.  This means during the migration we
1894 also need to do charset conversion. This can only been done manually cause we don't
1895 know in which encoding the tdb is. You have to specify the correct code page
1896 for the conversion, see iconv -l and Wikipedia [1] for the available codepages.
1897 The mostly used one is Windows Latin1 which is CP1252.
1898
1899 We've extended the 'net printing dump' and 'net printing migrate' commands to
1900 define the encoding of the tdb. So you can correctly view the tdb with:
1901
1902   net printing dump encoding=CP1252 /path/to/ntprinters.tdb
1903
1904 or migrate it with e.g.:
1905
1906   net printing migrate encoding=CP1252 /path/to/ntprinters.tdb
1907
1908 If you migrate printers we suggest you do it in the following order.
1909
1910 ntforms.tdb
1911 ntdrivers.tdb
1912 ntprinting.tdb
1913
1914 Don't forget to rename, move or delete these files in /var/lib/samba after the
1915 migration.
1916
1917 [1] https://en.wikipedia.org/wiki/Code_page
1918
1919
1920 ######################################################################
1921 Reporting bugs & Development Discussion
1922 #######################################
1923
1924 Please discuss this release on the samba-technical mailing list or by
1925 joining the #samba-technical IRC channel on irc.freenode.net.
1926
1927 If you do report problems then please try to send high quality
1928 feedback. If you don't provide vital information to help us track down
1929 the problem then you will probably be ignored.  All bug reports should
1930 be filed under the Samba 4.0 product in the project's Bugzilla
1931 database (https://bugzilla.samba.org/).
1932
1933
1934 ======================================================================
1935 == Our Code, Our Bugs, Our Responsibility.
1936 == The Samba Team
1937 ======================================================================
1938
1939
1940 ----------------------------------------------------------------------
1941
1942
1943                    =============================
1944                    Release Notes for Samba 4.0.4
1945                           March 19, 2013
1946                    =============================
1947
1948
1949 This is a security release in order to address CVE-2013-1863
1950 (World-writeable files may be created in additional shares on a
1951 Samba 4.0 AD DC).
1952
1953 o  CVE-2013-1863:
1954    Administrators of the Samba 4.0 Active Directory Domain
1955    Controller might unexpectedly find files created world-writeable
1956    if additional CIFS file shares are created on the AD DC.
1957    Samba versions 4.0.0rc6 - 4.0.3 (inclusive) are affected by this
1958    defect.
1959
1960
1961 Changes since 4.0.3:
1962 --------------------
1963
1964 o   Andrew Bartlett <abartlet@samba.org>
1965     * BUG 9709: CVE-2013-1863: Remove forced set of 'create mask' to 0777.
1966
1967
1968 ######################################################################
1969 Reporting bugs & Development Discussion
1970 #######################################
1971
1972 Please discuss this release on the samba-technical mailing list or by
1973 joining the #samba-technical IRC channel on irc.freenode.net.
1974
1975 If you do report problems then please try to send high quality
1976 feedback. If you don't provide vital information to help us track down
1977 the problem then you will probably be ignored.  All bug reports should
1978 be filed under the Samba 4.0 product in the project's Bugzilla
1979 database (https://bugzilla.samba.org/).
1980
1981
1982 ======================================================================
1983 == Our Code, Our Bugs, Our Responsibility.
1984 == The Samba Team
1985 ======================================================================
1986
1987
1988 ----------------------------------------------------------------------
1989
1990
1991                    =============================
1992                    Release Notes for Samba 4.0.3
1993                          February 05, 2013
1994                    =============================
1995
1996
1997 This is is the latest stable release of Samba 4.0.
1998
1999 Major enhancements in Samba 4.0.3 include:
2000
2001 o  check_password_quality: Handle non-ASCII characters properly (bug #9105).
2002 o  Fix ACL problem with delegation of privileges and deletion of accounts
2003    over LDAP interface (bug #8909).
2004 o  Fix 'smbd' panic triggered by unlink after open (bug #9571).
2005 o  smbd: Fix memleak in the async echo handler (bug #9549).
2006
2007 Known issues:
2008 -------------
2009
2010 o  For more details concerning the ACL problem with delegation of privileges
2011    and deletion of accounts over LDAP interface (bugs #8909 and #9267)
2012    regarding upgrades from older 4.0.x versions, please see
2013
2014      http://wiki.samba.org/index.php/Samba_AD_DC_HOWTO#Upgrading
2015
2016    which will be filled with details once we have worked out an upgrade
2017    strategy.
2018
2019 Changes since 4.0.2:
2020 --------------------
2021
2022 o   Michael Adam <obnox@samba.org>
2023     * BUG 9568: Document the command line options in dbwrap_tool(1).
2024
2025
2026 o   Jeremy Allison <jra@samba.org>
2027     * BUG 9196: defer_open is triggered multiple times on the same request.
2028     * BUG 9518: conn->share_access appears not be be reset between users.
2029     * BUG 9550: sigprocmask does not work on FreeBSD to stop further signals in
2030       a signal handler.
2031     * BUG 9572: Fix file corruption during SMB1 read by Mac OSX 10.8.2 clients.
2032     * BUG 9586: smbd[29175]: disk_free: sys_popen() failed" message logged in
2033       /var/log/message many times.
2034     * BUG 9587: Archive flag is always set on directories.
2035     * BUG 9588: ACLs are not inherited to directories for DFS shares.
2036
2037
2038 o   Andrew Bartlett <abartlet@samba.org>
2039     * BUG 8909: Fix ACL problem with delegation of privileges and deletion of
2040       accounts over LDAP interface.
2041     * BUG 9461: FSMO seize of naming role fails: NT_STATUS_IO_TIMEOUT.
2042     * BUG 9564: Fix compilation of Solaris ACL module.
2043     * BUG 9581: gensec: Allow login without a PAC by default.
2044     * BUG 9596: Linked attribute handling should be by GUID.
2045     * BUG 9598: Use pid,task_id as cluster_id in process_single just like
2046       process_prefork.
2047     * BUG 9609: ldb: Ensure to decrement the transaction_active whenever we
2048       delete a transaction.
2049     * BUG 9609: Add 'ldbdump' tool.
2050     * BUG 9609: ldb: Remove no-longer-existing ltdb_unpack_data_free from
2051       ldb_tdb.h.
2052     * BUG 9609: ldb: Change ltdb_unpack_data to take an ldb_context.
2053     * BUG 9610: dsdb: Make secrets_tdb_sync cope with -H secrets.ldb.
2054
2055
2056 o   Björn Baumbach <bb@sernet.de>
2057     * BUG 9512: wafsamba: Use additional xml catalog file.
2058     * BUG 9517: samba_dnsupdate: Set KRB5_CONFIG for nsupdate command.
2059     * BUG 9552: smb.conf(5): Update list of available protocols.
2060     * BUG 9568: Add dbwrap_tool.1 manual page.
2061     * BUG 9569: ntlm_auth(1): Fix format and make examples visible.
2062
2063
2064 o   Ira Cooper <ira@samba.org>
2065     * BUG 9575: Duplicate flags defined in the winbindd protocol.
2066
2067
2068 o   Günther Deschner <gd@samba.org>
2069     * BUG 9474: Downgrade v4 printer driver requests to v3.
2070     * BUG 9595: s3-winbind: Fix the build of idmap_ldap.
2071
2072
2073 o   David Disseldorp <ddiss@samba.org>
2074     * BUG 9378: Add extra attributes for AD printer publishing.
2075
2076
2077 o   Stephen Gallagher <sgallagh@redhat.com>
2078     * BUG 9609: ldb: Move doxygen comments for ldb_connect to the right place.
2079
2080
2081 o   Volker Lendecke <vl@samba.org>
2082     * BUG 9541: Make use of posix_openpt.
2083     * BUG 9544: Fix build of vfs_commit and plug in async pwrite support.
2084     * BUG 9546: Fix aio_suspend detection on FreeBSD.
2085     * BUG 9548: Correctly detect O_DIRECT.
2086     * BUG 9549: smbd: Fix memleak in the async echo handler.
2087
2088
2089 o   Stefan Metzmacher <metze@samba.org>
2090     * BUG 8909: Fix ACL problem with delegation of privileges and deletion of
2091       accounts over LDAP interface.
2092     * BUG 9105: check_password_quality: Handle non-ASCII characters properly.
2093     * BUG 9481: samba_upgradeprovision: fix the nTSecurityDescriptor on more
2094       containers.
2095     * BUG 9499: s3:smb2_negprot: set the 'remote_proto' value.
2096     * BUG 9508: s4:drsuapi: Make sure we report the meta data from the cycle
2097       start.
2098     * BUG 9540: terminate the irpc_servers_byname() result with
2099       server_id_set_disconnected().
2100     * BUG 9598: Fix timeouts of some IRPC calls.
2101     * BUG 9609: Fix a warning by converting from TDB_DATA to struct ldb_val.
2102
2103
2104 o   Matthieu Patou <mat@matws.net>
2105     * BUG 8909: Add documentation.
2106     * BUG 9565: Adding additional Samba 4.0 DC to W2k8 srv AD domain (in win200
2107       functional level) produces dbcheck errors.
2108
2109
2110 o   Arvid Requate <requate@univention.de>
2111     * BUG 9555: s4-resolve: Fix parsing of IPv6/AAAA in dns_lookup.
2112
2113
2114 o   Rusty Russell <rusty@rustcorp.com.au>
2115     * BUG 9609: tdb: Add '-e' option to tdbdump (and document it).
2116     * BUG 9609: tdb: 'tdbdump' should log errors, and fail in that case.
2117     * BUG 9609: tdb: Add tdb_rescue() to allow an emergency best-effort dump.
2118
2119
2120 o   Samba-JP oota <ribbon@samba.gr.jp>
2121     * BUG 9528: Remove superfluous bracket in samba.8.xml.
2122     * BUG 9530: Fix typo in vfs_tsmsm.8.xml.
2123
2124
2125 o   Andreas Schneider <asn@samba.org>
2126     * BUG 9574: Fix a possible null pointer dereference in spoolss.
2127
2128
2129 o   Karolin Seeger <kseeger@samba.org>
2130     * BUG 9591: Correct meta data in ldb manpages.
2131
2132
2133 o   Pavel Shilovsky <piastry@etersoft.ru>
2134     * BUG 9571: Fix 'smbd' panic triggered by unlink after open.
2135
2136
2137 o   Andrew Tridgell <tridge@samba.org>
2138     * BUG 9609: ldb: Fix callers for ldb_pack_data() and ldb_unpack_data().
2139     * BUG 9609: ldb: move ldb_pack.c into common.
2140
2141
2142 o   Jelmer Vernooij <jelmer@samba.org>
2143     * BUG 9503: waf assumes that pythonX.Y-config is a Python script.
2144
2145
2146 ######################################################################
2147 Reporting bugs & Development Discussion
2148 #######################################
2149
2150 Please discuss this release on the samba-technical mailing list or by
2151 joining the #samba-technical IRC channel on irc.freenode.net.
2152
2153 If you do report problems then please try to send high quality
2154 feedback. If you don't provide vital information to help us track down
2155 the problem then you will probably be ignored.  All bug reports should
2156 be filed under the Samba 4.0 product in the project's Bugzilla
2157 database (https://bugzilla.samba.org/).
2158
2159
2160 ======================================================================
2161 == Our Code, Our Bugs, Our Responsibility.
2162 == The Samba Team
2163 ======================================================================
2164
2165
2166 ----------------------------------------------------------------------
2167
2168
2169                    =============================
2170                    Release Notes for Samba 4.0.2
2171                          January 30, 2013
2172                    =============================
2173
2174
2175 This is a security release in order to address
2176 CVE-2013-0213 (Clickjacking issue in SWAT) and
2177 CVE-2013-0214 (Potential XSRF in SWAT).
2178
2179 o  CVE-2013-0213:
2180    All current released versions of Samba are vulnerable to clickjacking in the
2181    Samba Web Administration Tool (SWAT). When the SWAT pages are integrated into
2182    a malicious web page via a frame or iframe and then overlaid by other content,
2183    an attacker could trick an administrator to potentially change Samba settings.
2184
2185    In order to be vulnerable, SWAT must have been installed and enabled
2186    either as a standalone server launched from inetd or xinetd, or as a
2187    CGI plugin to Apache. If SWAT has not been installed or enabled (which
2188    is the default install state for Samba) this advisory can be ignored.
2189
2190 o  CVE-2013-0214:
2191    All current released versions of Samba are vulnerable to a cross-site
2192    request forgery in the Samba Web Administration Tool (SWAT). By guessing a
2193    user's password and then tricking a user who is authenticated with SWAT into
2194    clicking a manipulated URL on a different web page, it is possible to manipulate
2195    SWAT.
2196
2197    In order to be vulnerable, the attacker needs to know the victim's password.
2198    Additionally SWAT must have been installed and enabled either as a standalone
2199    server launched from inetd or xinetd, or as a CGI plugin to Apache. If SWAT has
2200    not been installed or enabled (which is the default install state for Samba)
2201    this advisory can be ignored.
2202
2203
2204 Changes since 4.0.1:
2205 ====================
2206
2207 o   Kai Blin <kai@samba.org>
2208     * BUG 9576: CVE-2013-0213: Fix clickjacking issue in SWAT.
2209     * BUG 9577: CVE-2013-0214: Fix potential XSRF in SWAT.
2210
2211
2212 #######################################
2213 Reporting bugs & Development Discussion
2214 #######################################
2215
2216 Please discuss this release on the samba-technical mailing list or by
2217 joining the #samba-technical IRC channel on irc.freenode.net.
2218
2219 If you do report problems then please try to send high quality
2220 feedback. If you don't provide vital information to help us track down
2221 the problem then you will probably be ignored.  All bug reports should
2222 be filed under the Samba 4.0 product in the project's Bugzilla
2223 database (https://bugzilla.samba.org/).
2224
2225
2226 ======================================================================
2227 == Our Code, Our Bugs, Our Responsibility.
2228 == The Samba Team
2229 ======================================================================
2230
2231
2232 ----------------------------------------------------------------------
2233
2234
2235                    =============================
2236                    Release Notes for Samba 4.0.1
2237                           January 15, 2013
2238                    =============================
2239
2240
2241 This is a security release in order to address CVE-2013-0172.
2242
2243 o  CVE-2013-0172:
2244    Samba 4.0.0 as an AD DC may provide authenticated users with write access
2245    to LDAP directory objects.
2246
2247    In AD, Access Control Entries can be assigned based on the objectClass
2248    of the object.  If a user or a group the user is a member of has any
2249    access based on the objectClass, then that user has write access to that
2250    object.
2251
2252    Additionally, if a user has write access to any attribute on the object,
2253    they may have access to write to all attributes.
2254
2255    An important mitigation is that anonymous access is totally disabled by
2256    default.  The second important mitigation is that normal users are
2257    typically only given the problematic per-objectClass right via the
2258    "pre-windows 2000 compatible access" group, and Samba 4.0.0 incorrectly
2259    does not make "authenticated users" part of this group.
2260
2261 Changes since 4.0.0:
2262 ====================
2263
2264 o   Andrew Bartlett <abartlet@samba.org>
2265     * Bug 9554 - CVE-2013-0172 - Samba 4.0 as an AD DC may provide authenticated
2266       users with write access to LDAP directory objects.
2267
2268 #######################################
2269 Reporting bugs & Development Discussion
2270 #######################################
2271
2272 Please discuss this release on the samba-technical mailing list or by
2273 joining the #samba-technical IRC channel on irc.freenode.net.
2274
2275 If you do report problems then please try to send high quality
2276 feedback. If you don't provide vital information to help us track down
2277 the problem then you will probably be ignored.  All bug reports should
2278 be filed under the Samba 4.0 product in the project's Bugzilla
2279 database (https://bugzilla.samba.org/).
2280
2281
2282 ======================================================================
2283 == Our Code, Our Bugs, Our Responsibility.
2284 == The Samba Team
2285 ======================================================================
2286
2287
2288 ----------------------------------------------------------------------
2289
2290
2291                    =============================
2292                    Release Notes for Samba 4.0.0
2293                          December 11, 2012
2294                    =============================
2295
2296
2297 This is is the first stable release of Samba 4.0.
2298
2299 This release contains the best of all of Samba's
2300 technology parts, both a file server (that you can reasonably expect
2301 to upgrade existing Samba 3.x releases to) and the AD domain
2302 controller work previously known as 'Samba4'.
2303
2304 Major enhancements in Samba 4.0.0 include:
2305
2306 Active Directory services
2307 =========================
2308
2309 Samba 4.0 supports the server-side of the Active Directory logon
2310 environment used by Windows 2000 and later, so we can do full domain
2311 join and domain logon operations with these clients.
2312
2313 Our Domain Controller (DC) implementation includes our own built-in
2314 LDAP server and Kerberos Key Distribution Center (KDC) as well as the
2315 Samba3-like logon services provided over CIFS.  We correctly generate
2316 the infamous Kerberos PAC, and include it with the Kerberos tickets we
2317 issue.
2318
2319 When running an AD DC, you only need to run 'samba' (not smbd/nmbd/winbindd),
2320 as the required services are co-coordinated by this master binary.
2321 The tool to administer the Active Directory services is called 'samba-tool'.
2322
2323 A short guide to setting up Samba 4 as an AD DC can be found on the wiki:
2324
2325   http://wiki.samba.org/index.php/Samba4/HOWTO
2326
2327
2328 File Services
2329 =============
2330
2331 Samba 4.0.0 ships with two distinct file servers.  We now use the
2332 file server from the Samba 3.x series 'smbd' for all file serving by
2333 default.
2334
2335 Samba 4.0 also ships with the 'NTVFS' file server.  This file server
2336 is what was used prior to the beta2 release of Samba 4.0, and is
2337 tuned to match the requirements of an AD domain controller.  We
2338 continue to support this, not only to provide continuity to
2339 installations that have deployed it as part of an AD DC, but also as a
2340 running example of the NT-FSA architecture we expect to move smbd to in
2341 the longer term.
2342
2343 For pure file server work, the binaries users would expect from that
2344 series (smbd, nmbd, winbindd, smbpasswd) continue to be available.
2345
2346
2347 Domain Member Support
2348 =====================
2349
2350 Domain member support in the 'samba' binary is in its infancy, and
2351 is not comparable to the support found in 'winbindd'. As such, on
2352 Samba domain member servers, the binaries 'smbd', 'nmbd' and 'winbindd'
2353 are to be used, as known from Samba 3 domain member server setups.
2354 The only exceptions from this rule are the cases which explicitly
2355 require the 'samba' binary, namely running the ntvfs file server,
2356 the CIFS proxy or OpenChange on a domain member.
2357
2358
2359 DNS
2360 ===
2361
2362 As DNS is an integral part of Active Directory, we also provide two DNS
2363 solutions, a simple internal DNS server for 'out of the box' configurations
2364 and a more elaborate BIND plugin using the BIND DLZ mechanism in versions
2365 9.8 and 9.9. During the provision, you can select which backend to use.
2366 With the internal backend, your DNS server is good to go.
2367 If you chose the BIND_DLZ backend, a configuration file will be generated
2368 for bind to make it use this plugin, as well as a file explaining how to
2369 set up bind.
2370
2371
2372 NTP
2373 ===
2374
2375 To provide accurate timestamps to Windows clients, we integrate with
2376 the NTP project to provide secured NTP replies.  To use you need to
2377 start ntpd and configure it with the 'restrict ... ms-sntp' and
2378 ntpsigndsocket options.
2379
2380
2381 Python Scripting Interface
2382 ==========================
2383
2384 A new scripting interface has been added to Samba 4, allowing
2385 Python programs to interface to Samba's internals, and many tools and
2386 internal workings of the DC code is now implemented in python.
2387
2388
2389 Known Issues
2390 ============
2391
2392 - Replication of DNS data from one AD server to another may not work.
2393   The DNS data used by the internal DNS server and bind9_dlz is stored
2394   in an application partition in our directory.  The replication of
2395   this partition is not yet reliable.
2396
2397 - Replication may fail on FreeBSD due to getaddrinfo() rejecting names
2398   containing _.  A workaround will be in a future release.
2399
2400 - samba_upgradeprovision should not be run when upgrading to this release
2401   from a recent release.  No important database format changes have
2402   been made since alpha16.
2403
2404 - Installation on systems without a system iconv (and developer
2405   headers at compile time) is known to cause errors when dealing with
2406   non-ASCII characters.
2407
2408 - There is no NetBIOS browsing support (network neighbourhood)
2409   available for the AD domain controller.  (Support in nmbd and smbd
2410   for classic domains and member/standalone servers is unchanged).
2411
2412 - Clock Synchronisation is critical.  Many 'wrong password' errors are
2413   actually due to Kerberos objecting to a clock skew between client
2414   and server.  (The NTP work in the previous alphas are partly to assist
2415   with this problem).
2416
2417 - The DRS replication code may fail.  Please contact the team if you
2418   experience issues with DRS replication, as we have fixed many issues
2419   here in response to feedback from our production users.
2420
2421 - Linux inotify will now only be supported on systems where glibc also supports
2422   it (for details, please refer to bug #8850).
2423
2424
2425 Upgrading
2426 =========
2427
2428 Users upgrading from Samba 3.x domain controllers and wanting to use
2429 Samba 4.0 as an AD DC should use the 'samba-tool domain
2430 classicupgrade' command.  See the wiki for more details:
2431 https://wiki.samba.org/index.php/Samba4/samba3upgrade/HOWTO.
2432
2433 Users upgrading from Samba 4.0 alpha and beta releases since alpha15
2434 should run 'samba-tool dbcheck --cross-ncs --fix' before re-starting
2435 Samba.  Users upgrading from earlier alpha releases should contact the
2436 team for advice.
2437
2438 Users upgrading an AD DC from any previous release should run
2439 'samba-tool ntacl sysvolreset' to re-sync ACLs on the sysvol share
2440 with those matching the GPOs in LDAP and the defaults from an initial
2441 provision.  This will set an underlying POSIX ACL if required (eg not
2442 using the NTVFS file server).
2443
2444 If you used the BIND9_FLATFILE or BIND9_DLZ features,
2445 you'll have to add '-dns' to the 'server services' option,
2446 as the internal dns server (SAMBA_INTERNAL) is the default now.
2447
2448
2449 Supported features
2450 ==================
2451
2452 A whitepaper of currently (un-)supported features is available on the wiki:
2453
2454   https://wiki.samba.org/index.php/Samba_4.0_Whitepaper
2455
2456
2457 ######################################################################
2458 Changes
2459 #######
2460
2461 smb.conf changes
2462 ----------------
2463
2464    Parameter Name                       Description
2465    --------------                       -----------
2466
2467    acl compatibility                    Removed
2468    allow dns updates                    New
2469    announce as                          Removed
2470    announce version                     Removed
2471    cldap port                           New
2472    client max protocol                  New
2473    client min protocol                  New
2474    client signing                       Changed default
2475    dcerpc endpoint servers              New
2476    dgram port                           New
2477    directory security mask              Removed
2478    display charset                      Removed
2479    dns forwarder                        New
2480    dns update command                   New
2481    force security mode                  Removed
2482    force directory security mode        Removed
2483    homedir map                          Changed default
2484    kernel oplocks                       Changed default
2485    kernel share modes                   New
2486    kpasswd port                         New
2487    krb5 port                            New
2488    nbt client socket address            New
2489    nbt port                             New
2490    nsupdate command                     New
2491    ntp signd socket directory           New
2492    ntvfs handler                        New
2493    paranoid server security             Removed
2494    pid directory                        New
2495    printer admin                        Removed
2496    rndc command                         New
2497    rpc big endian                       New
2498    samba kcc command                    New
2499    security mask                        Removed
2500    send spnego principal                Removed
2501    server max protocol                  New
2502    server min protocol                  New
2503    server role                          New
2504    server services                      New
2505    server signing                       Changed default
2506    share backend                        New
2507    share modes                          Removed
2508    smb2 max read                        Changed default
2509    smb2 max write                       Changed default
2510    smb2 max trans                       Changed default
2511    socket address                       Removed
2512    spn update command                   New
2513    time offset                          Removed
2514    tls cafile                           New
2515    tls certfile                         New
2516    tls crlfile                          New
2517    tls dh params file                   New
2518    tls enabled                          New
2519    tls keyfile                          New
2520    unicode                              New
2521    web port                             New
2522    winbindd privileged socket directory New
2523    winbind sealed pipes                 New
2524    winbindd socket directory            New
2525
2526
2527 CHANGES SINCE 4.0.0rc6
2528 ======================
2529
2530 o   Michael Adam <obnox@samba.org>
2531     * BUG 9414: Honor password complexity settings.
2532     * BUG 9456: developer-build: Fix panic when acl_xattr fails with access
2533       denied.
2534     * BUG 9457: Fix "map username script" with "security=ads" and Winbind.
2535
2536
2537 o   Jeremy Allison <jra@samba.org>
2538     * BUG 9462: Users can not be given write permissions any more by default.
2539
2540
2541 o   Andrew Bartlett <abartlet@samba.org>
2542     * BUG 9415: Install SWAT *.msg files with waf.
2543
2544
2545 o   Alexander Bokovoy <ab@samba.org>
2546     * BUG 9479: Support FIPS mode when building Samba.
2547
2548
2549 o   Günther Deschner <gd@samba.org>
2550     * BUG 9438: Fix netr_ServerPasswordSet2, netr_LogonSamLogon with netlogon
2551       AES.
2552
2553
2554 o   Tsukasa Hamano <hamano@osstech.co.jp>
2555     * BUG 9471: Fix SEGV when using second vfs module.
2556
2557
2558 o   Stefan Metzmacher <metze@samba.org>
2559     * BUG 9414: Honor password complexity settings.
2560     * BUG 9470: Fix MMC crashes.
2561     * BUG 9481: Fix ACL on "cn=partitions,cn=configuration".
2562
2563
2564 o   Andreas Schneider <asn@samba.org>
2565     * BUG 9459: Install manpages only if we install the target.
2566
2567
2568 o   Richard Sharpe <realrichardsharpe@gmail.com>
2569     * BUG 9460: Respond correctly to FILE_STREAM_INFO requests.
2570
2571
2572 CHANGES SINCE 4.0.0rc5
2573 ======================
2574
2575 In this release candidate, we have a significant number of improvements
2576 to our Access Control List (ACL) code, particularly for the Active
2577 Directory Domain Controller, but also in our general purpose file
2578 server.
2579
2580 These changes are important, as they enable Group Policy Objects to work
2581 correctly, allow administrators to impose restrictions on some users
2582 reading certain parts of the directory and correctly propagating
2583 inherited ACLs down the LDAP directory tree.
2584
2585 Users of the Active Directory Domain Controller upgrading from any
2586 previous release should run 'samba-tool ntacl sysvolreset' to re-sync
2587 ACLs on the sysvol share with those matching the GPOs in LDAP and the
2588 defaults from an initial provision.  This will set an underlying POSIX
2589 ACL if required.
2590
2591 The ACLs in the Active Directory are also checked on searches by default.
2592 The automatic inheritance of ACLs is also correctly recalculated on
2593 changes now.
2594
2595 o   Michael Adam <obnox@samba.org>
2596     * BUG 9350: Fail "configure --with-ads" if ads support is not available.
2597     * BUG 9446: Id mapping code delivers inconsistent results.
2598     * BUG 9453: Fix building pdb_ldap as shared module.
2599
2600
2601 o   Jeremy Allison <jra@samba.org>
2602     * BUG 9236: ACL masks incorrectly applied when setting ACLs.
2603     * BUG 9374: Allow smb2.acls torture test to pass against smbd with a POSIX
2604       ACLs backend.
2605
2606
2607 o   Christian Ambach <ambi@samba.org>
2608     * BUG 9178: Add DMAPI configure option and checks.
2609     * BUG 9274: Document shadow:snapdirseverywhere option of vfs_shadow_copy2.
2610     * BUG 9339: Backport build fixes from master.
2611     * BUG 9411: aio read marks the file as modified.
2612     * BUG 9413: Fix waf build on AIX6.
2613
2614
2615 o   Andrew Bartlett <abartlet@samba.org>
2616     * BUG 9121: Provide and use setproctitle replacement function for samba4
2617       processes on linux.
2618     * BUG 9271: samba-tool: Rework ldap attribute fetch in classicupgrade for
2619       missing attributes.
2620     * BUG 9421: Fix several build issues.
2621     * BUG 9448: Backport several crash bugs from master.
2622
2623
2624 o   Sumit Bose <sbose@redhat.com>
2625     * BUG 9367: Use work around for 'winbind use default domain' only if it
2626       is set.
2627
2628
2629 o   Kai Blin <kai@samba.org>
2630     * BUG 9399 - 'samba-tool dns serverinfo localhost' returns 'Memory
2631       allocation error'.
2632     * BUG 9449: Remove unused samba-dig tool.
2633
2634
2635 o   Günther Deschner <gd@samba.org>
2636     * BUG 9426: rpc_client: lookup nametype 0x20 in rpc_pipe_open_tcp_port().
2637     * BUG 9439: Fix ncacn_ip_tcp reconnection code for lsa lookups.
2638     * BUG 9451: Allow to force DNS updates using net.
2639
2640
2641 o   David Disseldorp <ddiss@samba.org>
2642     * BUG 9433: spoolss: Fix segfault when "default devmode" is disabled.
2643
2644
2645 o   Amitay Isaacs <amitay@gmail.com>
2646     * BUG 9265: Bind dlz fails to start if there is a trustedanchors zone.
2647     * BUG 9354: Fix format string vulnerability in an error message.
2648
2649
2650 o   Volker Lendecke <vl@samba.org>
2651     * BUG 9422: Large read requests cause server to issue malformed reply.
2652     * BUG 9440: Do not rely on dbwrap_record_get_value to return a talloc
2653       object.
2654
2655
2656 o   Stefan Metzmacher <metze@samba.org>
2657     * BUG 8620: Read ACL are not enabled by default on DS.
2658     * BUG 8621: ACL are not recalculated if parent is changed and inherit is
2659       enabled.
2660     * BUG 9373: samba-tool: Report a CommandError if loading of the config file
2661       fails.
2662     * BUG 9385: Add missing newline in the output of ldb_ldif_write_trace().
2663     * BUG 9390: Fix segfaults in "log level = 10" on Solaris.
2664     * BUG 9402: lib/addns: Fix working with a bind9 server.
2665     * BUG 9406: ACL fixes since 4.0 rc1.
2666     * BUG 9447: Backport tests from master.
2667     * BUG 9448: Backport several crash bugs from master.
2668
2669
2670 o   Ricky Nance <ricky.nance@weaubleau.k12.mo.us>
2671     * BUG 9449: Remove phpldapadmin inclusion.
2672
2673
2674 o   Matthieu Patou <mat@matws.net>
2675     * BUG 9418: Fix MD5 detection in the autoconf build.
2676
2677
2678 o   Arvid Requate <requate@univention.de>
2679     * BUG 9376: Fix typo in got_duplicate_group check.
2680     * BUG 9392: Fix 'samba-tool fsmo --role=schema'.
2681
2682
2683 o   Andreas Schneider <asn@samba.org>
2684     * BUG 9386: Failover if netlogon pipe is not available.
2685     * BUG 9436: Fix leaking sockets of SMB connections to a DC.
2686
2687
2688 o   Karolin Seeger <kseeger@samba.org>
2689     * BUG 9425: Do not build ntdb by default.
2690     * BUG 9437: Warnings when building manpages with waf.
2691     * BUG 9443: Manpages of the libraries are located in different
2692       subdirectories.
2693     * BUG 9444: Merge both samba.8 manpages.
2694     * BUG 9445: Update man 7 samba.
2695
2696
2697 o   Jelmer Vernooij <jelmer@samba.org>
2698     * BUG 9339: Backport build fixes from master.
2699
2700
2701 CHANGES SINCE 4.0.0rc4
2702 ======================
2703
2704 With this release candidate the location of the socket samba accepts
2705 connections from NTPd has changed, as has the enforced permissions.
2706
2707 This means the ntp.conf will need to change from (eg)
2708
2709 ntpsigndsocket /usr/local/samba/var/run/ntp_signd/
2710
2711 to
2712
2713 ntpsigndsocket /usr/local/samba/var/lib/ntp_signd/
2714
2715 To use the socket with ntp on a system with an ntp user and group, you must
2716 run:
2717
2718 chgrp ntp /usr/local/samba/var/lib/ntp_signd/
2719
2720 o   Michael Adam <obnox@samba.org>
2721     * BUG 9321: winbindd:cache: Fix offline logons with cached credentials.
2722     * BUG 9339: Build and quota fixes.
2723     * BUG 9353: Fix the cluster(ctdb) build without system talloc installed.
2724
2725
2726 o   Christian Ambach <ambi@samba.org>
2727     * BUG 9208: Cannot migrate files with inheritance flags to share on top of
2728       NFSv4 filesystem.
2729     * BUG 9361: Quotas management doesn't work with SMB2/3.
2730
2731
2732 o   Andrew Bartlett <abartlet@samba.org>
2733     * BUG 9317: Cannot easily change to internal DNS server.
2734     * BUG 9338: lib/replace: Return size of xattr if size argument is 0.
2735     * BUG 9339: Build and quota fixes.
2736     * BUG 9340: Do not use the wheel group for 'administrators'.
2737     * BUG 9347: winbind: Extend wbcAuthenticateUserEx to provide PAC.
2738     * BUG 9352: Fix samba crashes with certain RPC calls.
2739     * BUG 9355: Set mask values to 0777 and use fileserver.conf.
2740     * BUG 9357: Don't expose more symbols than specified by abi_match setting.
2741     * BUG 9379: ntp_signd permissions are too broad.
2742
2743
2744 o   Björn Baumbach <bb@sernet.de>
2745     * BUG 9300: vfs_streams_depot: Add delete_lost option.
2746     * BUG 9348: Fix the build against older ctdb versions.
2747     * BUG 9345: fix use of <smbconfoption> tag.
2748     * BUG 9349: Fix check for ctdb_private.h
2749     * BUG 9351: Fail "configure --with-cluster-support" if ctdb support is not
2750       available.
2751
2752
2753 o   Ira Cooper <ira@samba.org>
2754     * BUG 9339: Build and quota fixes.
2755
2756
2757 o   Günther Deschner <gd@samba.org>
2758     * BUG 9272: 'net ads join' does not provide AES keys in host keytab.
2759
2760
2761 o   David Disseldorp <ddiss@samba.org>
2762     * BUG 9125: Revert "s3-winbindd: make sure we obey the -n switch
2763       also for samlogon cache access" and describe samlogon cache caveat for
2764       'winbindd -n'.
2765
2766
2767 o   Björn Jacke <bj@sernet.de>
2768     * BUG 7472: Check for dn_expand also in libinet.
2769     * BUG 9339: Build and quota fixes.
2770
2771
2772 o   Volker Lendecke <vl@samba.org>
2773     * BUG 9208: Cannot migrate files with inheritance flags to share on top of
2774       NFSv4 filesystem.
2775     * BUG 9352: dsdb: Simplify DsCrackNameOneFilter a bit.
2776
2777
2778 o   Stefan Metzmacher <metze@samba.org>
2779     * BUG 8620: Read ACL are not enabled by default on DS.
2780     * BUG 9175: Add smbXcli_session_set_disconnect_expired().
2781     * BUG 9341: Fix SMBD_SMB2_NUM_IOV_PER_REQ check for sendfile().
2782     * BUG 9359: Optimization needed for SMB2 performance sensitive workloads.
2783     * BUG 9360: SMB1 tree connect time is wrong.
2784
2785
2786 o   Ricky Nance <ricky.nance@weaubleau.k12.mo.us>
2787     * BUG 9339: Build and quota fixes.
2788
2789
2790 o   Rusty Russell <rusty@rustcorp.com.au>
2791     * BUG 9339: Build and quota fixes.
2792
2793
2794 o   Christof Schmitt <christof.schmitt@us.ibm.com>
2795     * BUG 9347: winbind: Extend wbcAuthenticateUserEx to provide PAC.
2796
2797
2798 o   Andreas Schneider <asn@samba.org>
2799     * BUG 9326: Fix 'net ads join' message for the dns domain.
2800     * BUG 9336: Add NetworkManager dispatcher script for Winbind.
2801     * BUG 9339: Build and quota fixes.
2802
2803
2804 o   Jelmer Vernooij <jelmer@samba.org>
2805     * BUG 9357: Don't expose more symbols than specified by abi_match setting.
2806
2807
2808 CHANGES SINCE 4.0.0rc3
2809 ======================
2810
2811 o   Michael Adam <obnox@samba.org>
2812     * BUG 9304: Remove unused sessionid.tdb and connections.tdb related code.
2813     * BUG 9319: validate stat(2) information before reconnect durable handles.
2814
2815
2816 o   Jeremy Allison <jra@samba.org>
2817     * BUG 9190: Fix regression (change in behavior) of default acl masks.
2818       Remove "security mask", "force security mode", "directory security mask"
2819       "force directory" and "security mode" parameters.
2820     * BUG 9329: Directory listing with SeBackup can crash smbd.
2821
2822
2823 o   Andrew Bartlett <abartlet@samba.org>
2824     * BUG 9295: Assert that auth_domain, auth_builtin, auth_sam, auth_winbind
2825       are builtin.
2826     * BUG 9322: Backport ldb version update.
2827
2828
2829 o   Björn Baumbach <bb@sernet.de>
2830     * BUG 9190: docs: Fix opening and ending tag mismatch: para.
2831
2832
2833 o   Gregor Beck <gbeck@sernet.de>
2834     * BUG 9304: Remove unused sessionid.tdb and connections.tdb related code.
2835
2836
2837 o   David Disseldorp <ddiss@suse.de>
2838     * BUG 8564: Fix segfault in pam_sm_authenticate().
2839
2840
2841 o   Stefan Metzmacher <metze@samba.org>
2842     * BUG 9184: Fix loop in tdgram_bsd_recvfrom().
2843     * BUG 9209: Fix unitialized padding in smb2_create_blob_push_one().
2844     * BUG 9304: Remove unused sessionid.tdb and connections.tdb related code.
2845     * BUG 9309: Avoid a level 0 DEBUG if tstream_npa_connect_recv fails.
2846     * BUG 9318: Fix write time updates for durable handles.
2847
2848
2849 o   Andreas Schneider <asn@samba.org>
2850     * BUG 9295: Build standard auth modules as internal modules.
2851     * BUG 9301: Move 'smbprint' to a common location.
2852
2853
2854 o   Jelmer Vernooij <jelmer@samba.org>
2855     * BUG 9274: Add documentation and selftest fixes.
2856
2857
2858 CHANGES SINCE 4.0.0rc2
2859 ======================
2860
2861 o   Jeremy Allison <jra@samba.org>
2862     * BUG 8966: Fix 'net rpc share allowedusers' to work with 2008r2.
2863     * BUG 9209: Parse of invalid SMB2 create blob can cause smbd crash.
2864     * BUG 9214: Bad user supplied SMB2 credit value can cause smbd to call
2865       smb_panic.
2866     * BUG 9222: Document that signing cannot be disabled for SMB2 by design.
2867
2868
2869 o   Andrew Bartlett <abartlet@samba.org>
2870     * BUG 9235: Update Samba3-HOWTO Collection.
2871     * BUG 9271: samba-tool: Skip chown in sysvolreset when it would fail on
2872       a GID.
2873     * BUG 9274: Update Samba3-HOWTO Collection.
2874
2875
2876 o   Björn Baumbach <bb@sernet.de>
2877     * BUG 9235: Fix opening and ending tag mismatch in Samba3-HOWTO.
2878     * BUG 9271: Fix typos in samba_backup.
2879     * BUG 9274: Add delete_lost option to vfs_streams_depot.8.
2880
2881
2882 o   Kai Blin <kai@samba.org>
2883     * BUG 9225: Fix return code for deleted DNS records.
2884     * BUG 8878: Time out UDP requests after DNS_REQUEST_TIMEOUT seconds.
2885
2886
2887 o   Günther Deschner <gd@samba.org>
2888     * BUG 9177: pam_winbind: Match more return codes when wbcGetPwnam has
2889     failed.
2890
2891
2892 o   David Disseldorp <ddiss@samba.org>
2893     * BUG 9269: Fix 64bit-portability-issue.
2894
2895
2896 o   Björn Jacke <bj@sernet.de>
2897     * BUG 5670: Apply some Solaris packaging fixes.
2898     * BUG 8107: Fix poll replacement to become a msleep replacement.
2899     * BUG 8344: Fix --with(out)-sendfile-support option handling.
2900
2901
2902 o   Volker Lendecke <vl@samba.org>
2903     * BUG 9223: Fix uninitialized variable in the cldap server.
2904     * BUG 9268: Make tdb robust against improper CLEAR_IF_FIRST restart.
2905
2906
2907 o   Stefan Metzmacher <metze@samba.org>
2908     * BUG 9271: Several samba-tool fixes.
2909     * BUG 9196: Don't take 'state->te' as indication for "was_deferred".
2910
2911
2912 o   Matthieu Patou <mat@matws.net>
2913     * BUG 9240: Remove unused variable in DNS server.
2914     * BUG 9252: Preliminary tests for dcpromo in Windows 2012 fails with
2915       Samba DC.
2916     * BUG 9253: Crackname returns a dns domain name even if there is no cracked
2917       SID.
2918     * BUG 9255: Getncchanges with exop for repl_obj returns highest_usn.
2919     * BUG 9256: Getncchanges with exop for repl_obj_with_secrets should always
2920       be allowed for RWDC.
2921     * BUG 9257: LDAP server has at least one un-initialized variable.
2922     * BUG 9258: LDAP server ignore configuration values set in the database for
2923       timeout.
2924     * BUG 9259: rodc join fails complaining that it can't find a RWDC.
2925     * BUG 9260: kccdrs_replica_get_info returns invalid level when non
2926       supported should be returned.
2927     * BUG 9261: ds_replica_sync fails when specifying a name and not a guid.
2928     * BUG 9264: getncchanges returns invalid_parameters when it should return
2929       bad_nc.
2930     * BUG 9254: DsExecuteKCC returns wrong error code if taskid != 0.
2931     * BUG 9265: Bind dlz fails to start if there is a trustedanchors zone.
2932
2933
2934 o   Rusty Russell <rusty@rustcorp.com.au>
2935     * BUG 9268: Make tdb robust against shrinking tdbs.
2936
2937
2938 o   Andreas Schneider <asn@samba.org>
2939     * BUG 8769: Fix RAW printing for normal users.
2940     * BUG 9112: Increase debug level for info that the db is empty.
2941     * BUG 9244: Build pam_smbpass module only if enabled.
2942     * BUG 9245: Make sure the registry is set up before we init printing.
2943     * BUG 9276: Add config for systemd-tmpfiles.
2944     * BUG 9280: Add support for reloading systemd services.
2945
2946
2947 o   Karolin Seeger <kseeger@samba.org>
2948     * BUG 7826: Remove link to Using Samba.
2949     * BUG 8802: Add basic manpages for 'samba' and 'samba-tool'.
2950     * BUG 9165: Fix makerpms.sh on RHEL.
2951     * BUG 9243: Remove duplicate synonym min protocol.
2952     * BUG 9271: Several samba-tool fixes.
2953
2954
2955 o   Jelmer Vernooij <jelmer@samba.org>
2956     * BUG 9243: Add basic documentation for 'server min protocol'.
2957     * BUG 9271: Several samba-tool fixes.
2958     * BUG 9274: Add documentation for several parameters.
2959
2960
2961 o   Matthias Dieter Wallnöfer <mdw@samba.org>
2962     * BUG 9183: Introduce the wildcard binding feature to allow DNS to listen on
2963       localhost.
2964
2965
2966 CHANGES SINCE 4.0.0rc1
2967 ======================
2968
2969 o   Michael Adam <obnox@samba.org>
2970     * BUG 9173: Make the SMB2 compound request create/delete_on_close/
2971       close work as Windows.
2972
2973
2974 o   Jeremy Allison <jra@samba.org>
2975     * BUG 9161: Re-add the vfs_Chdir() cache.
2976     * BUG 9189: SMB2 Create doesn't return correct MAX ACCESS access mask in
2977       blob.
2978     * BUG 9213: Bad ASN.1 NegTokenInit packet can cause invalid free.
2979
2980
2981 o   Christian Ambach <ambi@samba.org>
2982     * BUG 9162: Fix the build of the GPFS VFS module.
2983     * BUG 9197: Only do 'printing_subsystem_update' when printing is enabled.
2984
2985
2986 o   Andrew Bartlett <abartlet@samba.org>
2987     * BUG 9228: Fix build on systems without ldap development headers.
2988
2989
2990 o   Alexander Bokovoy <ab@samba.org>
2991     * BUG 9157: Cleanup idmap_ldap build dependencies.
2992     * BUG 9228: Make smbldaphelper subsystem an internal library.
2993     * BUG 9229: Fix build of winbindd- and krb5 locator-related manpages.
2994
2995
2996 o   Sumit Bose <sbose@redhat.com>
2997     * BUG 9185: Allow DNS resolution of trusted domains if DNS name is
2998       available.
2999
3000
3001 o   Ira Cooper <ira@samba.org>
3002     * BUG 9162: Fix build on Illumos/Solaris using '--with-acl'.
3003     * BUG 9173: Compound requests should continue processing.
3004
3005
3006 o   Günther Deschner <gd@samba.org>
3007     * BUG 9185: Winbind cannot resolve AD DC in a different subnet.
3008
3009
3010 o   Björn Jacke <bj@sernet.de>
3011     * BUG 9162: Fix the build of the ACL VFS modules.
3012     * BUG 9172: Fix reporting of gfs2 quotas.
3013
3014
3015 o   Volker Lendecke <vl@samba.org>
3016     * BUG 9217: CreateFile with FILE_DIRECTORY_FILE can create directories
3017       on read-only shares.
3018
3019
3020 o   Vladimir Marek <Vladimir.Marek@Oracle.COM>
3021     * BUG 9192: Fix service control for non-internal services.
3022
3023
3024 o   Stefan Metzmacher <metze@samba.org>
3025     * BUG 9173: Make the SMB2 compound request create/delete_on_close/
3026       close work as Windows.
3027     * BUG 9184: Fix receiving of UDP packets from 0 bytes.
3028     * BUG 9191: Release the share mode lock before calling exit_server().
3029     * BUG 9193: Fix usage of invalid memory in smb2_signing_check_pdu().
3030     * BUG 9194: Disallow '--prefix=/usr' and '--prefix=/usr/local' without
3031       '--enable-fhs'.
3032     * BUG 9198: Fix RHEL-CTDB packaging.
3033
3034
3035 o   Matthieu Patou <mat@matws.net>
3036     * BUG 9199: Fix usage of "panic action".
3037     * BUG 9233: Fix a non handled memory out of memory.
3038
3039
3040 o   Andreas Schneider <asn@samba.org>
3041     * BUG 8632: Fix builtin forms order to match Windows again.
3042     * BUG 9159: Fix generating idmap manpages.
3043     * BUG 9218: Don't segfault if user specified ports out for range.
3044     * BUG 9231: Fix NT_STATUS_IO_TIMEOUT during slow import of printers into
3045       registry.
3046
3047
3048 #######################################
3049 Reporting bugs & Development Discussion
3050 #######################################
3051
3052 Please discuss this release on the samba-technical mailing list or by
3053 joining the #samba-technical IRC channel on irc.freenode.net.
3054
3055 If you do report problems then please try to send high quality
3056 feedback. If you don't provide vital information to help us track down
3057 the problem then you will probably be ignored.  All bug reports should
3058 be filed under the Samba 4.0 product in the project's Bugzilla
3059 database (https://bugzilla.samba.org/).
3060
3061
3062 ======================================================================
3063 == Our Code, Our Bugs, Our Responsibility.
3064 == The Samba Team
3065 ======================================================================
3066