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