WHATSNEW: Add release notes for Samba 4.0.11.
[metze/samba/wip.git] / WHATSNEW.txt
1                    ==============================
2                    Release Notes for Samba 4.0.11
3                           November 11, 2013
4                    ==============================
5
6
7 This is a security release in order to address
8 CVE-2013-4475 (ACLs are not checked on opening an alternate
9 data stream on a file or directory) and
10 CVE-2013-4476 (Private key in key.pem world readable).
11
12 o  CVE-2013-4475:
13    Samba versions 3.2.0 and above (all versions of 3.2.x, 3.3.x,
14    3.4.x, 3.5.x, 3.6.x, 4.0.x and 4.1.x) do not check the underlying
15    file or directory ACL when opening an alternate data stream.
16
17    According to the SMB1 and SMB2+ protocols the ACL on an underlying
18    file or directory should control what access is allowed to alternate
19    data streams that are associated with the file or directory.
20
21    By default no version of Samba supports alternate data streams
22    on files or directories.
23
24    Samba can be configured to support alternate data streams by loading
25    either one of two virtual file system modues (VFS) vfs_streams_depot or
26    vfs_streams_xattr supplied with Samba, so this bug only affects Samba
27    servers configured this way.
28
29    To determine if your server is vulnerable, check for the strings
30    "streams_depot" or "streams_xattr" inside your smb.conf configuration
31    file.
32
33 o  CVE-2013-4476:
34    In setups which provide ldap(s) and/or https services, the private
35    key for SSL/TLS encryption might be world readable. This typically
36    happens in active directory domain controller setups.
37
38
39 Changes since 4.0.10:
40 ---------------------
41
42 o   Jeremy Allison <jra@samba.org>
43     * BUGs 10234 + 10229: CVE-2013-4475: Fix access check verification on stream
44       files.
45
46
47 o   Björn Baumbach <bb@sernet.de>
48     * BUG 10234: CVE-2013-4476: Private key in key.pem world readable.
49
50
51 ######################################################################
52 Reporting bugs & Development Discussion
53 #######################################
54
55 Please discuss this release on the samba-technical mailing list or by
56 joining the #samba-technical IRC channel on irc.freenode.net.
57
58 If you do report problems then please try to send high quality
59 feedback. If you don't provide vital information to help us track down
60 the problem then you will probably be ignored.  All bug reports should
61 be filed under the Samba 4.0 product in the project's Bugzilla
62 database (https://bugzilla.samba.org/).
63
64
65 ======================================================================
66 == Our Code, Our Bugs, Our Responsibility.
67 == The Samba Team
68 ======================================================================
69
70
71 Release notes for older releases follow:
72 ----------------------------------------
73
74                    ==============================
75                    Release Notes for Samba 4.0.10
76                            October 8, 2013
77                    ==============================
78
79
80 This is is the latest stable release of Samba 4.0.
81
82 Major enhancements in Samba 4.0.10 include:
83
84 o  NetBIOS related samba process consumes 100% CPU (bug #10158).
85 o  smbd: Clean up share modes after hard crash (bug #10138).
86 o  Fix POSIX ACL mapping when setting DENY ACE's from Windows (bug #10162).
87
88 To ease upgrades from Samba 3.6 and older, a new parameter called "acl allow
89 execute always" has been introduced as a temporary workaround. Please see the
90 smb.conf man page for details.
91
92
93 Changes since 4.0.9:
94 --------------------
95
96 o   Michael Adam <obnox@samba.org>
97     * BUG 10134: Ease file server upgrades from 3.6 and earlier with "acl allow
98       execute always".
99     * BUG 10169: Fix build error in scavenger.c.
100
101
102 o   Jeremy Allison <jra@samba.org>
103     * BUG 5917: Make Samba work on site with Read Only Domain Controller.
104     * BUG 9166: Starting smbd or nmbd with stdin from /dev/null results in
105       "EOF on stdin".
106     * BUG 10063: source3/lib/util.c:1493 leaking memory w/ pam_winbind.so /
107       winbind.
108     * BUG 10121: Masks incorrectly applied to UNIX extension permission changes.
109     * BUG 10139: Valid utf8 filenames cause "invalid conversion error"
110       messages.
111
112
113 o   Christian Ambach <ambi@samba.org>
114     * BUG #9911 - Build Samba 4.0.x on AIX with IBM XL C/C++.
115
116
117 o   Andrew Bartlett <abartlet@samba.org>
118     * BUG 8077: dsdb: Convert the full string from UTF16 to UTF8, including
119       embedded NULLs.
120     * BUG 9091: When replicating DNS for bind9_dlz we need to create the
121       server-DNS account remotely.
122     * BUG 9461: python-samba-tool fsmo: Do not give an error on a successful
123       role transfer.
124
125
126 o   Günther Deschner <gd@samba.org>
127     * BUG 9615: s3-winbindd: fix fallback to ncacn_np in cm_connect_lsat().
128     * BUG 9899: s3-winbindd: fix fallback to ncacn_np in cm_connect_lsat().
129     * BUG 10147: Better document potential implications of a globally used
130       "valid users".
131
132
133 o   Korobkin <korobkin+samba@gmail.com>
134     * BUG 10118: Samba is chatty about being unable to open a printer.
135
136
137 o   Amitay Isaacs <amitay@gmail.com>
138     * BUG 9599: samba-tool/dns: Pass on additional flags when creating zones.
139
140
141 o   Volker Lendecke <vl@samba.org>
142     * BUG 10086: smbd: Fix async echo handler forking.
143     * BUG 10106: Honour output buffer length set by the client for SMB2
144       GetInfo requests.
145     * BUG 10114: Dropbox (write-only-directory) case isn't handled correctly in
146       pathname lookup.
147     * BUG 10138: smbd: Clean up share modes after hard crash.
148
149
150 o   Daniel Liberman <danielvl@gmail.com>
151     * BUG 10162: Fix POSIX ACL mapping when setting DENY ACE's from Windows.
152
153
154 o   Stefan Metzmacher <metze@samba.org>
155     * BUG 9802: Move gencache.tdb to /var/cache/samba.
156     * BUG 10030: ::1 added to nameserver on join.
157
158
159 o   Matthieu Patou <mat@matws.net>
160     * BUG 10158: NetBIOS related samba process consumes 100% CPU.
161
162
163 o   Christof Schmitt <christof.schmitt@us.ibm.com>
164     * BUG 10137: vfs_shadow_copy2 does not display previous versions correctly
165       over SMB2.
166
167
168 o   Karolin Seeger <kseeger@samba.org>
169     * BUG 10076: docs: Fix variable list in man vfs_crossrename.
170
171
172 o   Richard Sharpe <realrichardsharpe@gmail.com>
173     * BUG 10097 - MacOSX 10.9 will not follow path-based DFS referrals handed
174       out by Samba.
175
176
177 o   Ralph Wuerthner <ralph.wuerthner@de.ibm.com>
178     * BUG 10106: Honour output buffer length set by the client for SMB2
179       GetInfo requests.
180
181
182 ######################################################################
183 Reporting bugs & Development Discussion
184 #######################################
185
186 Please discuss this release on the samba-technical mailing list or by
187 joining the #samba-technical IRC channel on irc.freenode.net.
188
189 If you do report problems then please try to send high quality
190 feedback. If you don't provide vital information to help us track down
191 the problem then you will probably be ignored.  All bug reports should
192 be filed under the Samba 4.0 product in the project's Bugzilla
193 database (https://bugzilla.samba.org/).
194
195
196 ======================================================================
197 == Our Code, Our Bugs, Our Responsibility.
198 == The Samba Team
199 ======================================================================
200
201
202 ----------------------------------------------------------------------
203
204
205                    =============================
206                    Release Notes for Samba 4.0.9
207                           August 20, 2013
208                    =============================
209
210
211 This is is the latest stable release of Samba 4.0.
212
213 Major enhancements in Samba 4.0.9 include:
214
215 o  Fix crash of Winbind after "ls -l /usr/local/samba/var/locks/sysvol"
216    (bug #9820).
217 o  Fix segmentation fault while reading incomplete session info (bug #10003).
218 o  smbd: Fix a 100% loop at shutdown time (bug #10013).
219
220
221 Changes since 4.0.8:
222 --------------------
223
224 o   Michael Adam <obnox@samba.org>
225     * BUG 9930: smbd: Cleanup disonnected durable handles.
226
227
228 o   Jeremy Allison <jra@samba.org>
229     * BUG 9992: Fix Windows error 0x800700FE when copying files with xattr names
230       containing ":".
231     * BUG 10064: Linux kernel oplock breaks can miss signals.
232
233
234 o   Andrew Bartlett <abartlet@samba.org>
235     * BUG 9820: Fix crash of Winbind after "ls -l
236       /usr/local/samba/var/locks/sysvol".
237     * BUG 10014: Fix excessive RID allocation.
238
239
240 o   Björn Baumbach <bb@sernet.de>
241     * BUG 10003: s3-lib: Fix segmentation fault while reading incomplete
242       session info.
243
244
245 o   Gregor Beck <gbeck@sernet.de>
246     * BUG 9678: Windows 8 Roaming profiles fail.
247     * BUG 9930: smbd: Cleanup disonnected durable handles.
248
249
250 o   Kai Blin <kai@samba.org>
251     * BUG 10015: Add debugclass for DNS server.
252
253
254 o   Alexander Bokovoy <ab@samba.org>
255     * BUG 9779: Add UPN enumeration to passdb internal API.
256
257
258 o   Günther Deschner <gd@samba.org>
259     * BUG 10043: Allow to change the default location for Kerberos credential
260       caches.
261     * BUG 10073: net ads join: Fix segmentation fault in
262       create_local_private_krb5_conf_for_domain.
263
264
265 o   Volker Lendecke <vl@samba.org>
266     * BUG 10013: smbd: Fix a 100% loop at shutdown time.
267
268
269 o   Stefan Metzmacher <metze@samba.org>
270     * BUG 9820: Fix crash of Winbind after "ls -l
271       /usr/local/samba/var/locks/sysvol".
272     * BUG 10003: s3-lib: Fix segmentation fault while reading incomplete
273       session info.
274     * BUG 10015: Fix/improve debug options.
275
276
277 o   Christof Schmitt <christof.schmitt@us.ibm.com>
278     * BUG 9970: vfs_streams_xattr: Do not attempt to write empty attribute
279       twice.
280
281
282 o   Andreas Schneider <asn@samba.org>
283     * BUG 9994: s3-winbind: Do not delete an existing valid credential cache.
284     * BUG 10073: net ads join: Fix segmentation fault in
285       create_local_private_krb5_conf_for_domain.
286
287
288 o   Ralph Wuerthner <ralphw@de.ibm.com>
289     * BUG 10064: Linux kernel oplock breaks can miss signals.
290
291
292 ######################################################################
293 Reporting bugs & Development Discussion
294 #######################################
295
296 Please discuss this release on the samba-technical mailing list or by
297 joining the #samba-technical IRC channel on irc.freenode.net.
298
299 If you do report problems then please try to send high quality
300 feedback. If you don't provide vital information to help us track down
301 the problem then you will probably be ignored.  All bug reports should
302 be filed under the Samba 4.0 product in the project's Bugzilla
303 database (https://bugzilla.samba.org/).
304
305
306 ======================================================================
307 == Our Code, Our Bugs, Our Responsibility.
308 == The Samba Team
309 ======================================================================
310
311
312 ----------------------------------------------------------------------
313
314
315                    =============================
316                    Release Notes for Samba 4.0.8
317                           August 05, 2013
318                    =============================
319
320
321 This is a security release in order to address
322 CVE-2013-4124 (Missing integer wrap protection in EA list reading can cause
323 server to loop with DOS).
324
325 o  CVE-2013-4124:
326    All current released versions of Samba are vulnerable to a denial of
327    service on an authenticated or guest connection. A malformed packet
328    can cause the smbd server to loop the CPU performing memory
329    allocations and preventing any further service.
330
331    A connection to a file share, or a local account is needed to exploit
332    this problem, either authenticated or unauthenticated if guest
333    connections are allowed.
334
335    This flaw is not exploitable beyond causing the code to loop
336    allocating memory, which may cause the machine to exceed memory
337    limits.
338
339
340 Changes since 4.0.7:
341 --------------------
342
343 o   Jeremy Allison <jra@samba.org>
344     * BUG 10010: CVE-2013-4124: Missing integer wrap protection in EA list
345       reading can cause server to loop with DOS.
346
347
348 ######################################################################
349 Reporting bugs & Development Discussion
350 #######################################
351
352 Please discuss this release on the samba-technical mailing list or by
353 joining the #samba-technical IRC channel on irc.freenode.net.
354
355 If you do report problems then please try to send high quality
356 feedback. If you don't provide vital information to help us track down
357 the problem then you will probably be ignored.  All bug reports should
358 be filed under the Samba 4.0 product in the project's Bugzilla
359 database (https://bugzilla.samba.org/).
360
361
362 ======================================================================
363 == Our Code, Our Bugs, Our Responsibility.
364 == The Samba Team
365 ======================================================================
366
367
368 ----------------------------------------------------------------------
369
370
371                    =============================
372                    Release Notes for Samba 4.0.7
373                            July 2, 2013
374                    =============================
375
376
377 This is is the latest stable release of Samba 4.0.
378
379 Major enhancements in Samba 4.0.7 include:
380
381 o  Fix a core dump with invalid lock order while opening/editing
382    or copying MS files (bug #9794).
383 o  Fix crash bug from search of mail= (bug #9967).
384 o  winbind4: talloc use after free (bug #9832).
385
386
387 Changes since 4.0.6:
388 --------------------
389
390 o   Michael Adam <obnox@samba.org>
391     * BUG 9909: build: Add missing new line to replaced python shebang line.
392
393
394 o   Jeremy Allison <jra@samba.org>
395     * BUG 9794: Fix a core dump with invalid lock order while opening/editing
396       or copying MS files.
397
398
399 o   Andrew Bartlett <abartlet@samba.org>
400     * BUG 9465: s3-rpc_server: Ensure we are root when starting and using
401       gensec.
402     * BUG 9906: Doc fixes for 4.0.
403     * BUG 9907: Build fixes for 4.0 found during autoconf or debian packaging
404       work.
405     * BUG 9967: Fix crash bug from search of mail=.
406     * BUG 9968: Fix build with system Heimdal of samba4kgetcred.
407
408
409 o   Björn Baumbach <bb@sernet.de>
410     * BUG 9947: Check for netbios aliases in ad_get_referrals.
411
412
413 o   Kai Blin <kai@samba.org>
414     * BUG 9485: Add support for MX queries.
415     * BUG 9559: dns: Delete dnsNode objects when they are empty.
416     * BUG 9632: dns: Support larger queries when asking forwarder.
417
418
419 o   David Disseldorp <ddiss@samba.org>
420     * BUG 8997: Change libreplace GPL source to LGPL.
421     * BUG 9900: is_printer_published GUID retrieval.
422     * BUG 9910: PIE builds not supported.
423
424
425 o   Peng Haitao <penght@cn.fujitsu.com>
426     * BUG 9941: Fix a bug of drvupgrade of smbcontrol.
427
428
429 o   Björn Jacke <bj@sernet.de>
430     * BUG 9880: Use of wrong RFC2307 primary group field.
431
432
433 o   Volker Lendecke <vl@samba.org>
434     * BUG 9832: winbind4: talloc use after free.
435     * BUG 9953: Fix tevent_poll on 32-bit machines (Coverity ID 989236).
436
437
438 o   Stefan Metzmacher <metze@samba.org>
439     * BUG 9805: s3:lib/server_mutex: Open mutex.tdb with CLEAR_IF_FIRST.
440     * BUG 9929: s4:winbind: Don't leak libnet_context into the main event
441       context.
442
443
444 o   Andreas Schneider <asn@samba.org>
445     * BUG 9881: Check for system libtevent.
446
447
448 o   Michael Wood <esiotrot@gmail.com>
449     * BUG 9964: docs: Avoid mentioning a possibly misleading option.
450
451
452 o   Vadim Zhukov <persgray@gmail.com>
453     * BUG 9888: More generic check for OpenBSD platform.
454
455
456 ######################################################################
457 Reporting bugs & Development Discussion
458 #######################################
459
460 Please discuss this release on the samba-technical mailing list or by
461 joining the #samba-technical IRC channel on irc.freenode.net.
462
463 If you do report problems then please try to send high quality
464 feedback. If you don't provide vital information to help us track down
465 the problem then you will probably be ignored.  All bug reports should
466 be filed under the Samba 4.0 product in the project's Bugzilla
467 database (https://bugzilla.samba.org/).
468
469
470 ======================================================================
471 == Our Code, Our Bugs, Our Responsibility.
472 == The Samba Team
473 ======================================================================
474
475
476 ----------------------------------------------------------------------
477
478
479                    =============================
480                    Release Notes for Samba 4.0.6
481                            May 21, 2013
482                    =============================
483
484
485 This is is the latest stable release of Samba 4.0.
486
487 Major enhancements in Samba 4.0.6 include:
488
489 o  Fix crash during Win8 sync (bug #9822).
490 o  Fix segfault when loging in with wrong password from w2k8r2 (bug #9834).
491
492
493 Changes since 4.0.5:
494 --------------------
495
496 o   Jeremy Allison <jra@samba.org>
497     * BUG 9412: SMB2 server doesn't support recvfile.
498     * BUG 9722: Properly handle oplock breaks in compound requests.
499     * BUG 9777: vfs_dirsort uses non-stackable calls, dirfd(), malloc instead
500       of talloc and doesn't cope with directories being modified whilst reading.
501     * BUG 9811: Old DOS SMB CTEMP request uses a non-VFS function to access the
502       filesystem.
503     * BUG 9822: Fix crash during Win8 sync.
504
505
506 o   Anand Avati <avati@redhat.com>
507     * BUG 9833: Function called in unix_convert() path can overwrite errno.
508
509
510 o   Andrew Bartlett <abartlet@samba.org>
511     * BUG 9785: Use specified python for runtime installation of Samba.
512     * BUG 9834: Fix segfault when loging in with wrong password from w2k8r2.
513
514
515 o   Alexander Bokovoy <ab@samba.org>
516     * BUG 9767: Fix 'net ads join' when called via stdin.
517
518
519 o   David Disseldorp <ddiss@samba.org>
520     * BUG 9807: wbinfo: Fix segfault in wbinfo_pam_logon.
521     * BUG 9830: Fix panic in nt_printer_publish_ads.
522
523
524 o   Volker Lendecke <vl@samba.org>
525     * BUG 9775: Fix segfault for "artificial" conn_structs in vfs_fake_perms.
526     * BUG 9809: Package new dbwrap_tool man page.
527     * BUG 9824: SMB signing and the async echo responder don't work together.
528     * BUG 9832: talloc use after free in winbind4.
529     * BUG 9854: Fix NULL pointer dereference in Winbind.
530     * BUG 9868: Fix making LIBNDR_PREG_OBJ.
531
532
533 o   Stefan Metzmacher <metze@samba.org>
534     * BUG 9545: Fix the build of vfs_notify_fam.
535     * BUG 9803: Change '--with-dmapi' to 'default=auto' to match the autoconf
536       build.
537     * BUG 9804: wafsamba: Display the default value in help for
538       SAMBA3_ADD_OPTION.
539     * BUG 9382: Add support for PFC_FLAG_OBJECT_UUID when parsing packets.
540
541
542 o   Andreas Schneider <asn@samba.org>
543     * BUG 9139: Fix the username map optimization.
544     * BUG 9699: Fix adding case sensitive spn.
545     * BUG 9766: Cache name_to_sid/sid_to_name correctly.
546     * BUG 9817: Fix 'map untrusted to domain' with NTLMv2.
547
548
549 o   Richard Sharpe <realrichardsharpe@gmail.com>
550     * BUG 9722:  Properly handle oplock breaks in compound requests.
551
552
553 o   Ralph Wuerthner <ralph.wuerthner@de.ibm.com>
554     * BUG 9782: Fix panic when running 'smbtorture smb.base'.
555
556
557 ######################################################################
558 Reporting bugs & Development Discussion
559 #######################################
560
561 Please discuss this release on the samba-technical mailing list or by
562 joining the #samba-technical IRC channel on irc.freenode.net.
563
564 If you do report problems then please try to send high quality
565 feedback. If you don't provide vital information to help us track down
566 the problem then you will probably be ignored.  All bug reports should
567 be filed under the Samba 4.0 product in the project's Bugzilla
568 database (https://bugzilla.samba.org/).
569
570
571 ======================================================================
572 == Our Code, Our Bugs, Our Responsibility.
573 == The Samba Team
574 ======================================================================
575
576
577 ----------------------------------------------------------------------
578
579
580                    =============================
581                    Release Notes for Samba 4.0.5
582                            April 9, 2013
583                    =============================
584
585
586 This is is the latest stable release of Samba 4.0.
587
588 Major enhancements in Samba 4.0.5 include:
589
590 o  Fix large reads/writes from some Linux clients (bug #9706).
591 o  Add 'samba-tool dbcheck --reset-well-known-acls' (bugs #9740 and #9267).
592
593
594 Changes since 4.0.4:
595 --------------------
596
597 o   Michael Adam <obnox@samba.org>
598     * BUG 9617: libnss-winbindd does not provide pass struct for groups mapped
599       with ID_TYPE_BOTH and vice versa.
600     * BUG 9653: idmap_autorid: Fix freeing of non-talloced memory.
601     * BUG 9711: s4:winbindd: Do not drop the workgroup name in the getgrnam, getgrent
602       and getgrgid calls.
603
604
605 o   Jeremy Allison <jra@samba.org>
606     * BUG 9130: Certain xattrs cause Windows error 0x800700FF.
607     * BUG 9519: Samba returns unexpected error on SMB posix open.
608     * BUG 9642: Fix the build of vfs_afsacl.
609     * BUG 9695: Backport tevent changes to bring library to version 0.9.18.
610     * BUG 9706: Fix large reads/writes from some Linux clients.
611     * BUG 9724: is_encrypted_packet() function incorrectly used inside server.
612     * BUG 9733: Fix 'smbcontrol close-share'.
613     * BUG 9748: Remove unneeded fstat system call from hot read path.
614     * BUG 9760: Fix incorrect parsing of SMB2 command codes.
615
616
617 o   Christian Ambach <ambi@samba.org>
618     * BUG 9643: Fix the build with --fake-kaserver.
619     * BUG 9644: Fix compile of source3/lib/afs.c.
620     * BUG 9669: Fix crash in 'net rpc join' against a Samba 3.0.33 PDC.
621
622
623 o   Timur Bakeyev <timur@FreeBSD.org>
624     * BUG 9666: Fix filtering of link-local addresses.
625
626
627 o   Andrew Bartlett <abartlet@samba.org>
628     * BUG 9663: 'make test' hangs.
629     * BUG 9697: DsReplicaGetInfo fails due to sendto() EMSGSIZE error
630       on UNIX domain socket.
631     * BUG 9703: Fix build on solaris8: Do not force a specific perl on
632       pod2man.
633     * BUG 9717: Set LD_LIBRARY_PATH in install_with_python.sh.
634     * BUG 9718: s4-idmap: Remove requirement that posixAccount or posixGroup be set
635       for rfc2307.
636     * BUG 9719: Allow forcing an override of an old @MODULES record.
637     * BUG 9720: Do not print the admin password during 'samba-tool
638       classicupgrade'.
639     * BUG 9721: Make samba_upgradedns more robust (do not guess addresses
640       when just changing roles).
641     * BUG 9725: upgradeprovision and 'samba-tool dbcheck' patches for 4.0.NEXT.
642     * BUG 9728: DO NOT install samba_upgradeprovision in 4.0.x.
643     * BUG 9739: PIDL: Build fixes for hosts without CPP (Solaris 11).
644     * BUG 9740: Add 'samba-tool dbcheck --reset-well-known-acls'.
645     * BUG 9267: Can't delegate adding computers to domain.
646
647
648 o   Alexander Bokovoy <ab@samba.org>
649     * BUG 9636: PIDL: Fix parsing linemarkers in preprocessor output.
650     * BUG 9639: Rename internal subsystem pdb_ldap to pdb_ldapsam.
651
652
653 o   Ira Cooper <ira@samba.org>
654     * BUG 9646: Make SMB2_GETINFO multi-volume aware.
655
656
657 o   David Disseldorp <ddiss@samba.org>
658     * BUG 9633: Recursive mget should continue on EPERM.
659
660
661 o   Landon Fuller <landonf@bikemonkey.org>
662     * BUG 9656: Work around FreeBSD's getaddrinfo() underscore issue.
663     * BUG 9696: Remove incomplete samba_dnsupdate IPv6 link-local address
664       check.
665     * BUG 9697: Handle EMSGSIZE on UNIX domain sockets.
666
667
668 o   Björn Jacke <bj@sernet.de>
669     * BUG 7825: Fix GNU ld version detection with old gcc releases.
670
671
672 o   Daniel Kobras <d.kobras@science-computing.de>
673     * BUG 9039: Never try to map global SAM name.
674
675
676 o   Guenter Kukkukk <kukks@samba.org>
677     * BUG 9701: Fix vfs_catia and update documentation.
678
679
680 o   Volker Lendecke <vl@samba.org>
681     * BUG 9695: Backport tevent changes to bring library to version 0.9.18.
682     * BUG 9727: Fix NULL pointer dereference.
683     * BUG 9736: Change to smbd/dir.c code gives significant performance
684       increases on large directory listings.
685
686
687 o   Stefan Metzmacher <metze@samba.org>
688     * BUG 9557: Fix build on AIX.
689     * BUG 9625: Reauth-capable client fails to access shares on Windows member.
690     * BUG 9695: Backport tevent changes to bring library to version 0.9.18.
691     * BUG 9706: Parameter is incorrect on Android.
692
693
694 o   Andreas Schneider <asn@samba.org>
695     * BUG 9664: Fix correct linking of libreplace with cmdline-credentials.
696     * BUG 9683: Fix several resource (fd) leaks.
697     * BUG 9685: Fix a memory leak in spoolss rpc server.
698     * BUG 9686: Fix a possible buffer overrun in pdb_smbpasswd.
699     * BUG 9687: Fix several possible null pointer dereferences.
700     * BUG 9723: Add a tool to migrate latin1 printing tdbs to registry.
701     * BUG 9735: Fix Winbind separator in upn to username conversion.
702     * BUG 9758: Don't leak the epm_Map policy handle.
703
704
705 o   Richard Sharpe <rsharpe@samba.org>
706     * BUG 9674: Samba denies owner Read Control when there is a DENY entry
707       while W2K08 does not.
708     * BUG 9689: Make sure that domain joins work correctly when the DC disallows
709       NTLM auth.
710     * BUG 9704: Fix nss_winbind name on FreeBSD.
711     * BUG 9747: Make sure that we only propogate the INHERITED flag when we are
712       allowed to.
713
714
715 Note about upgrading from older versions:
716 -----------------------------------------
717
718 It is still the case that there are printing tdbs (ntprinting.tdb, ntforms.tdb,
719 ntdrivers.tdb) which are in latin1 or other encodings. When updating from
720 Samba 3.5 or earlier to Samba 3.6 or 4.0 these tdbs need to be migrated to our
721 new registry based printing management.  This means during the migration we
722 also need to do charset conversion. This can only been done manually cause we don't
723 know in which encoding the tdb is. You have to specify the correct code page
724 for the conversion, see iconv -l and Wikipedia [1] for the available codepages.
725 The mostly used one is Windows Latin1 which is CP1252.
726
727 We've extended the 'net printing dump' and 'net printing migrate' commands to
728 define the encoding of the tdb. So you can correctly view the tdb with:
729
730   net printing dump encoding=CP1252 /path/to/ntprinters.tdb
731
732 or migrate it with e.g.:
733
734   net printing migrate encoding=CP1252 /path/to/ntprinters.tdb
735
736 If you migrate printers we suggest you do it in the following order.
737
738 ntforms.tdb
739 ntdrivers.tdb
740 ntprinting.tdb
741
742 Don't forget to rename, move or delete these files in /var/lib/samba after the
743 migration.
744
745 [1] https://en.wikipedia.org/wiki/Code_page
746
747
748 ######################################################################
749 Reporting bugs & Development Discussion
750 #######################################
751
752 Please discuss this release on the samba-technical mailing list or by
753 joining the #samba-technical IRC channel on irc.freenode.net.
754
755 If you do report problems then please try to send high quality
756 feedback. If you don't provide vital information to help us track down
757 the problem then you will probably be ignored.  All bug reports should
758 be filed under the Samba 4.0 product in the project's Bugzilla
759 database (https://bugzilla.samba.org/).
760
761
762 ======================================================================
763 == Our Code, Our Bugs, Our Responsibility.
764 == The Samba Team
765 ======================================================================
766
767
768 ----------------------------------------------------------------------
769
770
771                    =============================
772                    Release Notes for Samba 4.0.4
773                           March 19, 2013
774                    =============================
775
776
777 This is a security release in order to address CVE-2013-1863
778 (World-writeable files may be created in additional shares on a
779 Samba 4.0 AD DC).
780
781 o  CVE-2013-1863:
782    Administrators of the Samba 4.0 Active Directory Domain
783    Controller might unexpectedly find files created world-writeable
784    if additional CIFS file shares are created on the AD DC.
785    Samba versions 4.0.0rc6 - 4.0.3 (inclusive) are affected by this
786    defect.
787
788
789 Changes since 4.0.3:
790 --------------------
791
792 o   Andrew Bartlett <abartlet@samba.org>
793     * BUG 9709: CVE-2013-1863: Remove forced set of 'create mask' to 0777.
794
795
796 ######################################################################
797 Reporting bugs & Development Discussion
798 #######################################
799
800 Please discuss this release on the samba-technical mailing list or by
801 joining the #samba-technical IRC channel on irc.freenode.net.
802
803 If you do report problems then please try to send high quality
804 feedback. If you don't provide vital information to help us track down
805 the problem then you will probably be ignored.  All bug reports should
806 be filed under the Samba 4.0 product in the project's Bugzilla
807 database (https://bugzilla.samba.org/).
808
809
810 ======================================================================
811 == Our Code, Our Bugs, Our Responsibility.
812 == The Samba Team
813 ======================================================================
814
815
816 ----------------------------------------------------------------------
817
818
819                    =============================
820                    Release Notes for Samba 4.0.3
821                          February 05, 2013
822                    =============================
823
824
825 This is is the latest stable release of Samba 4.0.
826
827 Major enhancements in Samba 4.0.3 include:
828
829 o  check_password_quality: Handle non-ASCII characters properly (bug #9105).
830 o  Fix ACL problem with delegation of privileges and deletion of accounts
831    over LDAP interface (bug #8909).
832 o  Fix 'smbd' panic triggered by unlink after open (bug #9571).
833 o  smbd: Fix memleak in the async echo handler (bug #9549).
834
835 Known issues:
836 -------------
837
838 o  For more details concerning the ACL problem with delegation of privileges
839    and deletion of accounts over LDAP interface (bugs #8909 and #9267)
840    regarding upgrades from older 4.0.x versions, please see
841
842      http://wiki.samba.org/index.php/Samba_AD_DC_HOWTO#Upgrading
843
844    which will be filled with details once we have worked out an upgrade
845    strategy.
846
847 Changes since 4.0.2:
848 --------------------
849
850 o   Michael Adam <obnox@samba.org>
851     * BUG 9568: Document the command line options in dbwrap_tool(1).
852
853
854 o   Jeremy Allison <jra@samba.org>
855     * BUG 9196: defer_open is triggered multiple times on the same request.
856     * BUG 9518: conn->share_access appears not be be reset between users.
857     * BUG 9550: sigprocmask does not work on FreeBSD to stop further signals in
858       a signal handler.
859     * BUG 9572: Fix file corruption during SMB1 read by Mac OSX 10.8.2 clients.
860     * BUG 9586: smbd[29175]: disk_free: sys_popen() failed" message logged in
861       /var/log/message many times.
862     * BUG 9587: Archive flag is always set on directories.
863     * BUG 9588: ACLs are not inherited to directories for DFS shares.
864
865
866 o   Andrew Bartlett <abartlet@samba.org>
867     * BUG 8909: Fix ACL problem with delegation of privileges and deletion of
868       accounts over LDAP interface.
869     * BUG 9461: FSMO seize of naming role fails: NT_STATUS_IO_TIMEOUT.
870     * BUG 9564: Fix compilation of Solaris ACL module.
871     * BUG 9581: gensec: Allow login without a PAC by default.
872     * BUG 9596: Linked attribute handling should be by GUID.
873     * BUG 9598: Use pid,task_id as cluster_id in process_single just like
874       process_prefork.
875     * BUG 9609: ldb: Ensure to decrement the transaction_active whenever we
876       delete a transaction.
877     * BUG 9609: Add 'ldbdump' tool.
878     * BUG 9609: ldb: Remove no-longer-existing ltdb_unpack_data_free from
879       ldb_tdb.h.
880     * BUG 9609: ldb: Change ltdb_unpack_data to take an ldb_context.
881     * BUG 9610: dsdb: Make secrets_tdb_sync cope with -H secrets.ldb.
882
883
884 o   Björn Baumbach <bb@sernet.de>
885     * BUG 9512: wafsamba: Use additional xml catalog file.
886     * BUG 9517: samba_dnsupdate: Set KRB5_CONFIG for nsupdate command.
887     * BUG 9552: smb.conf(5): Update list of available protocols.
888     * BUG 9568: Add dbwrap_tool.1 manual page.
889     * BUG 9569: ntlm_auth(1): Fix format and make examples visible.
890
891
892 o   Ira Cooper <ira@samba.org>
893     * BUG 9575: Duplicate flags defined in the winbindd protocol.
894
895
896 o   Günther Deschner <gd@samba.org>
897     * BUG 9474: Downgrade v4 printer driver requests to v3.
898     * BUG 9595: s3-winbind: Fix the build of idmap_ldap.
899
900
901 o   David Disseldorp <ddiss@samba.org>
902     * BUG 9378: Add extra attributes for AD printer publishing.
903
904
905 o   Stephen Gallagher <sgallagh@redhat.com>
906     * BUG 9609: ldb: Move doxygen comments for ldb_connect to the right place.
907
908
909 o   Volker Lendecke <vl@samba.org>
910     * BUG 9541: Make use of posix_openpt.
911     * BUG 9544: Fix build of vfs_commit and plug in async pwrite support.
912     * BUG 9546: Fix aio_suspend detection on FreeBSD.
913     * BUG 9548: Correctly detect O_DIRECT.
914     * BUG 9549: smbd: Fix memleak in the async echo handler.
915
916
917 o   Stefan Metzmacher <metze@samba.org>
918     * BUG 8909: Fix ACL problem with delegation of privileges and deletion of
919       accounts over LDAP interface.
920     * BUG 9105: check_password_quality: Handle non-ASCII characters properly.
921     * BUG 9481: samba_upgradeprovision: fix the nTSecurityDescriptor on more
922       containers.
923     * BUG 9499: s3:smb2_negprot: set the 'remote_proto' value.
924     * BUG 9508: s4:drsuapi: Make sure we report the meta data from the cycle
925       start.
926     * BUG 9540: terminate the irpc_servers_byname() result with
927       server_id_set_disconnected().
928     * BUG 9598: Fix timeouts of some IRPC calls.
929     * BUG 9609: Fix a warning by converting from TDB_DATA to struct ldb_val.
930
931
932 o   Matthieu Patou <mat@matws.net>
933     * BUG 8909: Add documentation.
934     * BUG 9565: Adding additional Samba 4.0 DC to W2k8 srv AD domain (in win200
935       functional level) produces dbcheck errors.
936
937
938 o   Arvid Requate <requate@univention.de>
939     * BUG 9555: s4-resolve: Fix parsing of IPv6/AAAA in dns_lookup.
940
941
942 o   Rusty Russell <rusty@rustcorp.com.au>
943     * BUG 9609: tdb: Add '-e' option to tdbdump (and document it).
944     * BUG 9609: tdb: 'tdbdump' should log errors, and fail in that case.
945     * BUG 9609: tdb: Add tdb_rescue() to allow an emergency best-effort dump.
946
947
948 o   Samba-JP oota <ribbon@samba.gr.jp>
949     * BUG 9528: Remove superfluous bracket in samba.8.xml.
950     * BUG 9530: Fix typo in vfs_tsmsm.8.xml.
951
952
953 o   Andreas Schneider <asn@samba.org>
954     * BUG 9574: Fix a possible null pointer dereference in spoolss.
955
956
957 o   Karolin Seeger <kseeger@samba.org>
958     * BUG 9591: Correct meta data in ldb manpages.
959
960
961 o   Pavel Shilovsky <piastry@etersoft.ru>
962     * BUG 9571: Fix 'smbd' panic triggered by unlink after open.
963
964
965 o   Andrew Tridgell <tridge@samba.org>
966     * BUG 9609: ldb: Fix callers for ldb_pack_data() and ldb_unpack_data().
967     * BUG 9609: ldb: move ldb_pack.c into common.
968
969
970 o   Jelmer Vernooij <jelmer@samba.org>
971     * BUG 9503: waf assumes that pythonX.Y-config is a Python script.
972
973
974 ######################################################################
975 Reporting bugs & Development Discussion
976 #######################################
977
978 Please discuss this release on the samba-technical mailing list or by
979 joining the #samba-technical IRC channel on irc.freenode.net.
980
981 If you do report problems then please try to send high quality
982 feedback. If you don't provide vital information to help us track down
983 the problem then you will probably be ignored.  All bug reports should
984 be filed under the Samba 4.0 product in the project's Bugzilla
985 database (https://bugzilla.samba.org/).
986
987
988 ======================================================================
989 == Our Code, Our Bugs, Our Responsibility.
990 == The Samba Team
991 ======================================================================
992
993
994 ----------------------------------------------------------------------
995
996
997                    =============================
998                    Release Notes for Samba 4.0.2
999                          January 30, 2013
1000                    =============================
1001
1002
1003 This is a security release in order to address
1004 CVE-2013-0213 (Clickjacking issue in SWAT) and
1005 CVE-2013-0214 (Potential XSRF in SWAT).
1006
1007 o  CVE-2013-0213:
1008    All current released versions of Samba are vulnerable to clickjacking in the
1009    Samba Web Administration Tool (SWAT). When the SWAT pages are integrated into
1010    a malicious web page via a frame or iframe and then overlaid by other content,
1011    an attacker could trick an administrator to potentially change Samba settings.
1012
1013    In order to be vulnerable, SWAT must have been installed and enabled
1014    either as a standalone server launched from inetd or xinetd, or as a
1015    CGI plugin to Apache. If SWAT has not been installed or enabled (which
1016    is the default install state for Samba) this advisory can be ignored.
1017
1018 o  CVE-2013-0214:
1019    All current released versions of Samba are vulnerable to a cross-site
1020    request forgery in the Samba Web Administration Tool (SWAT). By guessing a
1021    user's password and then tricking a user who is authenticated with SWAT into
1022    clicking a manipulated URL on a different web page, it is possible to manipulate
1023    SWAT.
1024
1025    In order to be vulnerable, the attacker needs to know the victim's password.
1026    Additionally SWAT must have been installed and enabled either as a standalone
1027    server launched from inetd or xinetd, or as a CGI plugin to Apache. If SWAT has
1028    not been installed or enabled (which is the default install state for Samba)
1029    this advisory can be ignored.
1030
1031
1032 Changes since 4.0.1:
1033 ====================
1034
1035 o   Kai Blin <kai@samba.org>
1036     * BUG 9576: CVE-2013-0213: Fix clickjacking issue in SWAT.
1037     * BUG 9577: CVE-2013-0214: Fix potential XSRF in SWAT.
1038
1039
1040 #######################################
1041 Reporting bugs & Development Discussion
1042 #######################################
1043
1044 Please discuss this release on the samba-technical mailing list or by
1045 joining the #samba-technical IRC channel on irc.freenode.net.
1046
1047 If you do report problems then please try to send high quality
1048 feedback. If you don't provide vital information to help us track down
1049 the problem then you will probably be ignored.  All bug reports should
1050 be filed under the Samba 4.0 product in the project's Bugzilla
1051 database (https://bugzilla.samba.org/).
1052
1053
1054 ======================================================================
1055 == Our Code, Our Bugs, Our Responsibility.
1056 == The Samba Team
1057 ======================================================================
1058
1059
1060 ----------------------------------------------------------------------
1061
1062
1063                    =============================
1064                    Release Notes for Samba 4.0.1
1065                           January 15, 2013
1066                    =============================
1067
1068
1069 This is a security release in order to address CVE-2013-0172.
1070
1071 o  CVE-2013-0172:
1072    Samba 4.0.0 as an AD DC may provide authenticated users with write access
1073    to LDAP directory objects.
1074
1075    In AD, Access Control Entries can be assigned based on the objectClass
1076    of the object.  If a user or a group the user is a member of has any
1077    access based on the objectClass, then that user has write access to that
1078    object.
1079
1080    Additionally, if a user has write access to any attribute on the object,
1081    they may have access to write to all attributes.
1082
1083    An important mitigation is that anonymous access is totally disabled by
1084    default.  The second important mitigation is that normal users are
1085    typically only given the problematic per-objectClass right via the
1086    "pre-windows 2000 compatible access" group, and Samba 4.0.0 incorrectly
1087    does not make "authenticated users" part of this group.
1088
1089 Changes since 4.0.0:
1090 ====================
1091
1092 o   Andrew Bartlett <abartlet@samba.org>
1093     * Bug 9554 - CVE-2013-0172 - Samba 4.0 as an AD DC may provide authenticated
1094       users with write access to LDAP directory objects.
1095
1096 #######################################
1097 Reporting bugs & Development Discussion
1098 #######################################
1099
1100 Please discuss this release on the samba-technical mailing list or by
1101 joining the #samba-technical IRC channel on irc.freenode.net.
1102
1103 If you do report problems then please try to send high quality
1104 feedback. If you don't provide vital information to help us track down
1105 the problem then you will probably be ignored.  All bug reports should
1106 be filed under the Samba 4.0 product in the project's Bugzilla
1107 database (https://bugzilla.samba.org/).
1108
1109
1110 ======================================================================
1111 == Our Code, Our Bugs, Our Responsibility.
1112 == The Samba Team
1113 ======================================================================
1114
1115
1116 ----------------------------------------------------------------------
1117
1118
1119                    =============================
1120                    Release Notes for Samba 4.0.0
1121                          December 11, 2012
1122                    =============================
1123
1124
1125 This is is the first stable release of Samba 4.0.
1126
1127 This release contains the best of all of Samba's
1128 technology parts, both a file server (that you can reasonably expect
1129 to upgrade existing Samba 3.x releases to) and the AD domain
1130 controller work previously known as 'Samba4'.
1131
1132 Major enhancements in Samba 4.0.0 include:
1133
1134 Active Directory services
1135 =========================
1136
1137 Samba 4.0 supports the server-side of the Active Directory logon
1138 environment used by Windows 2000 and later, so we can do full domain
1139 join and domain logon operations with these clients.
1140
1141 Our Domain Controller (DC) implementation includes our own built-in
1142 LDAP server and Kerberos Key Distribution Center (KDC) as well as the
1143 Samba3-like logon services provided over CIFS.  We correctly generate
1144 the infamous Kerberos PAC, and include it with the Kerberos tickets we
1145 issue.
1146
1147 When running an AD DC, you only need to run 'samba' (not smbd/nmbd/winbindd),
1148 as the required services are co-coordinated by this master binary.
1149 The tool to administer the Active Directory services is called 'samba-tool'.
1150
1151 A short guide to setting up Samba 4 as an AD DC can be found on the wiki:
1152
1153   http://wiki.samba.org/index.php/Samba4/HOWTO
1154
1155
1156 File Services
1157 =============
1158
1159 Samba 4.0.0 ships with two distinct file servers.  We now use the
1160 file server from the Samba 3.x series 'smbd' for all file serving by
1161 default.
1162
1163 Samba 4.0 also ships with the 'NTVFS' file server.  This file server
1164 is what was used prior to the beta2 release of Samba 4.0, and is
1165 tuned to match the requirements of an AD domain controller.  We
1166 continue to support this, not only to provide continuity to
1167 installations that have deployed it as part of an AD DC, but also as a
1168 running example of the NT-FSA architecture we expect to move smbd to in
1169 the longer term.
1170
1171 For pure file server work, the binaries users would expect from that
1172 series (smbd, nmbd, winbindd, smbpasswd) continue to be available.
1173
1174
1175 Domain Member Support
1176 =====================
1177
1178 Domain member support in the 'samba' binary is in its infancy, and
1179 is not comparable to the support found in 'winbindd'. As such, on
1180 Samba domain member servers, the binaries 'smbd', 'nmbd' and 'winbindd'
1181 are to be used, as known from Samba 3 domain member server setups.
1182 The only exceptions from this rule are the cases which explicitly
1183 require the 'samba' binary, namely running the ntvfs file server,
1184 the CIFS proxy or OpenChange on a domain member.
1185
1186
1187 DNS
1188 ===
1189
1190 As DNS is an integral part of Active Directory, we also provide two DNS
1191 solutions, a simple internal DNS server for 'out of the box' configurations
1192 and a more elaborate BIND plugin using the BIND DLZ mechanism in versions
1193 9.8 and 9.9. During the provision, you can select which backend to use.
1194 With the internal backend, your DNS server is good to go.
1195 If you chose the BIND_DLZ backend, a configuration file will be generated
1196 for bind to make it use this plugin, as well as a file explaining how to
1197 set up bind.
1198
1199
1200 NTP
1201 ===
1202
1203 To provide accurate timestamps to Windows clients, we integrate with
1204 the NTP project to provide secured NTP replies.  To use you need to
1205 start ntpd and configure it with the 'restrict ... ms-sntp' and
1206 ntpsigndsocket options.
1207
1208
1209 Python Scripting Interface
1210 ==========================
1211
1212 A new scripting interface has been added to Samba 4, allowing
1213 Python programs to interface to Samba's internals, and many tools and
1214 internal workings of the DC code is now implemented in python.
1215
1216
1217 Known Issues
1218 ============
1219
1220 - Replication of DNS data from one AD server to another may not work.
1221   The DNS data used by the internal DNS server and bind9_dlz is stored
1222   in an application partition in our directory.  The replication of
1223   this partition is not yet reliable.
1224
1225 - Replication may fail on FreeBSD due to getaddrinfo() rejecting names
1226   containing _.  A workaround will be in a future release.
1227
1228 - samba_upgradeprovision should not be run when upgrading to this release
1229   from a recent release.  No important database format changes have
1230   been made since alpha16.
1231
1232 - Installation on systems without a system iconv (and developer
1233   headers at compile time) is known to cause errors when dealing with
1234   non-ASCII characters.
1235
1236 - There is no NetBIOS browsing support (network neighbourhood)
1237   available for the AD domain controller.  (Support in nmbd and smbd
1238   for classic domains and member/standalone servers is unchanged).
1239
1240 - Clock Synchronisation is critical.  Many 'wrong password' errors are
1241   actually due to Kerberos objecting to a clock skew between client
1242   and server.  (The NTP work in the previous alphas are partly to assist
1243   with this problem).
1244
1245 - The DRS replication code may fail.  Please contact the team if you
1246   experience issues with DRS replication, as we have fixed many issues
1247   here in response to feedback from our production users.
1248
1249 - Linux inotify will now only be supported on systems where glibc also supports
1250   it (for details, please refer to bug #8850).
1251
1252
1253 Upgrading
1254 =========
1255
1256 Users upgrading from Samba 3.x domain controllers and wanting to use
1257 Samba 4.0 as an AD DC should use the 'samba-tool domain
1258 classicupgrade' command.  See the wiki for more details:
1259 https://wiki.samba.org/index.php/Samba4/samba3upgrade/HOWTO.
1260
1261 Users upgrading from Samba 4.0 alpha and beta releases since alpha15
1262 should run 'samba-tool dbcheck --cross-ncs --fix' before re-starting
1263 Samba.  Users upgrading from earlier alpha releases should contact the
1264 team for advice.
1265
1266 Users upgrading an AD DC from any previous release should run
1267 'samba-tool ntacl sysvolreset' to re-sync ACLs on the sysvol share
1268 with those matching the GPOs in LDAP and the defaults from an initial
1269 provision.  This will set an underlying POSIX ACL if required (eg not
1270 using the NTVFS file server).
1271
1272 If you used the BIND9_FLATFILE or BIND9_DLZ features,
1273 you'll have to add '-dns' to the 'server services' option,
1274 as the internal dns server (SAMBA_INTERNAL) is the default now.
1275
1276
1277 Supported features
1278 ==================
1279
1280 A whitepaper of currently (un-)supported features is available on the wiki:
1281
1282   https://wiki.samba.org/index.php/Samba_4.0_Whitepaper
1283
1284
1285 ######################################################################
1286 Changes
1287 #######
1288
1289 smb.conf changes
1290 ----------------
1291
1292    Parameter Name                       Description
1293    --------------                       -----------
1294
1295    acl compatibility                    Removed
1296    allow dns updates                    New
1297    announce as                          Removed
1298    announce version                     Removed
1299    cldap port                           New
1300    client max protocol                  New
1301    client min protocol                  New
1302    client signing                       Changed default
1303    dcerpc endpoint servers              New
1304    dgram port                           New
1305    directory security mask              Removed
1306    display charset                      Removed
1307    dns forwarder                        New
1308    dns update command                   New
1309    force security mode                  Removed
1310    force directory security mode        Removed
1311    homedir map                          Changed default
1312    kernel oplocks                       Changed default
1313    kernel share modes                   New
1314    kpasswd port                         New
1315    krb5 port                            New
1316    nbt client socket address            New
1317    nbt port                             New
1318    nsupdate command                     New
1319    ntp signd socket directory           New
1320    ntvfs handler                        New
1321    paranoid server security             Removed
1322    pid directory                        New
1323    printer admin                        Removed
1324    rndc command                         New
1325    rpc big endian                       New
1326    samba kcc command                    New
1327    security mask                        Removed
1328    send spnego principal                Removed
1329    server max protocol                  New
1330    server min protocol                  New
1331    server role                          New
1332    server services                      New
1333    server signing                       Changed default
1334    share backend                        New
1335    share modes                          Removed
1336    smb2 max read                        Changed default
1337    smb2 max write                       Changed default
1338    smb2 max trans                       Changed default
1339    socket address                       Removed
1340    spn update command                   New
1341    time offset                          Removed
1342    tls cafile                           New
1343    tls certfile                         New
1344    tls crlfile                          New
1345    tls dh params file                   New
1346    tls enabled                          New
1347    tls keyfile                          New
1348    unicode                              New
1349    web port                             New
1350    winbindd privileged socket directory New
1351    winbind sealed pipes                 New
1352    winbindd socket directory            New
1353
1354
1355 CHANGES SINCE 4.0.0rc6
1356 ======================
1357
1358 o   Michael Adam <obnox@samba.org>
1359     * BUG 9414: Honor password complexity settings.
1360     * BUG 9456: developer-build: Fix panic when acl_xattr fails with access
1361       denied.
1362     * BUG 9457: Fix "map username script" with "security=ads" and Winbind.
1363
1364
1365 o   Jeremy Allison <jra@samba.org>
1366     * BUG 9462: Users can not be given write permissions any more by default.
1367
1368
1369 o   Andrew Bartlett <abartlet@samba.org>
1370     * BUG 9415: Install SWAT *.msg files with waf.
1371
1372
1373 o   Alexander Bokovoy <ab@samba.org>
1374     * BUG 9479: Support FIPS mode when building Samba.
1375
1376
1377 o   Günther Deschner <gd@samba.org>
1378     * BUG 9438: Fix netr_ServerPasswordSet2, netr_LogonSamLogon with netlogon
1379       AES.
1380
1381
1382 o   Tsukasa Hamano <hamano@osstech.co.jp>
1383     * BUG 9471: Fix SEGV when using second vfs module.
1384
1385
1386 o   Stefan Metzmacher <metze@samba.org>
1387     * BUG 9414: Honor password complexity settings.
1388     * BUG 9470: Fix MMC crashes.
1389     * BUG 9481: Fix ACL on "cn=partitions,cn=configuration".
1390
1391
1392 o   Andreas Schneider <asn@samba.org>
1393     * BUG 9459: Install manpages only if we install the target.
1394
1395
1396 o   Richard Sharpe <realrichardsharpe@gmail.com>
1397     * BUG 9460: Respond correctly to FILE_STREAM_INFO requests.
1398
1399
1400 CHANGES SINCE 4.0.0rc5
1401 ======================
1402
1403 In this release candidate, we have a significant number of improvements
1404 to our Access Control List (ACL) code, particularly for the Active
1405 Directory Domain Controller, but also in our general purpose file
1406 server.
1407
1408 These changes are important, as they enable Group Policy Objects to work
1409 correctly, allow administrators to impose restrictions on some users
1410 reading certain parts of the directory and correctly propagating
1411 inherited ACLs down the LDAP directory tree.
1412
1413 Users of the Active Directory Domain Controller upgrading from any
1414 previous release should run 'samba-tool ntacl sysvolreset' to re-sync
1415 ACLs on the sysvol share with those matching the GPOs in LDAP and the
1416 defaults from an initial provision.  This will set an underlying POSIX
1417 ACL if required.
1418
1419 The ACLs in the Active Directory are also checked on searches by default.
1420 The automatic inheritance of ACLs is also correctly recalculated on
1421 changes now.
1422
1423 o   Michael Adam <obnox@samba.org>
1424     * BUG 9350: Fail "configure --with-ads" if ads support is not available.
1425     * BUG 9446: Id mapping code delivers inconsistent results.
1426     * BUG 9453: Fix building pdb_ldap as shared module.
1427
1428
1429 o   Jeremy Allison <jra@samba.org>
1430     * BUG 9236: ACL masks incorrectly applied when setting ACLs.
1431     * BUG 9374: Allow smb2.acls torture test to pass against smbd with a POSIX
1432       ACLs backend.
1433
1434
1435 o   Christian Ambach <ambi@samba.org>
1436     * BUG 9178: Add DMAPI configure option and checks.
1437     * BUG 9274: Document shadow:snapdirseverywhere option of vfs_shadow_copy2.
1438     * BUG 9339: Backport build fixes from master.
1439     * BUG 9411: aio read marks the file as modified.
1440     * BUG 9413: Fix waf build on AIX6.
1441
1442
1443 o   Andrew Bartlett <abartlet@samba.org>
1444     * BUG 9121: Provide and use setproctitle replacement function for samba4
1445       processes on linux.
1446     * BUG 9271: samba-tool: Rework ldap attribute fetch in classicupgrade for
1447       missing attributes.
1448     * BUG 9421: Fix several build issues.
1449     * BUG 9448: Backport several crash bugs from master.
1450
1451
1452 o   Sumit Bose <sbose@redhat.com>
1453     * BUG 9367: Use work around for 'winbind use default domain' only if it
1454       is set.
1455
1456
1457 o   Kai Blin <kai@samba.org>
1458     * BUG 9399 - 'samba-tool dns serverinfo localhost' returns 'Memory
1459       allocation error'.
1460     * BUG 9449: Remove unused samba-dig tool.
1461
1462
1463 o   Günther Deschner <gd@samba.org>
1464     * BUG 9426: rpc_client: lookup nametype 0x20 in rpc_pipe_open_tcp_port().
1465     * BUG 9439: Fix ncacn_ip_tcp reconnection code for lsa lookups.
1466     * BUG 9451: Allow to force DNS updates using net.
1467
1468
1469 o   David Disseldorp <ddiss@samba.org>
1470     * BUG 9433: spoolss: Fix segfault when "default devmode" is disabled.
1471
1472
1473 o   Amitay Isaacs <amitay@gmail.com>
1474     * BUG 9265: Bind dlz fails to start if there is a trustedanchors zone.
1475     * BUG 9354: Fix format string vulnerability in an error message.
1476
1477
1478 o   Volker Lendecke <vl@samba.org>
1479     * BUG 9422: Large read requests cause server to issue malformed reply.
1480     * BUG 9440: Do not rely on dbwrap_record_get_value to return a talloc
1481       object.
1482
1483
1484 o   Stefan Metzmacher <metze@samba.org>
1485     * BUG 8620: Read ACL are not enabled by default on DS.
1486     * BUG 8621: ACL are not recalculated if parent is changed and inherit is
1487       enabled.
1488     * BUG 9373: samba-tool: Report a CommandError if loading of the config file
1489       fails.
1490     * BUG 9385: Add missing newline in the output of ldb_ldif_write_trace().
1491     * BUG 9390: Fix segfaults in "log level = 10" on Solaris.
1492     * BUG 9402: lib/addns: Fix working with a bind9 server.
1493     * BUG 9406: ACL fixes since 4.0 rc1.
1494     * BUG 9447: Backport tests from master.
1495     * BUG 9448: Backport several crash bugs from master.
1496
1497
1498 o   Ricky Nance <ricky.nance@weaubleau.k12.mo.us>
1499     * BUG 9449: Remove phpldapadmin inclusion.
1500
1501
1502 o   Matthieu Patou <mat@matws.net>
1503     * BUG 9418: Fix MD5 detection in the autoconf build.
1504
1505
1506 o   Arvid Requate <requate@univention.de>
1507     * BUG 9376: Fix typo in got_duplicate_group check.
1508     * BUG 9392: Fix 'samba-tool fsmo --role=schema'.
1509
1510
1511 o   Andreas Schneider <asn@samba.org>
1512     * BUG 9386: Failover if netlogon pipe is not available.
1513     * BUG 9436: Fix leaking sockets of SMB connections to a DC.
1514
1515
1516 o   Karolin Seeger <kseeger@samba.org>
1517     * BUG 9425: Do not build ntdb by default.
1518     * BUG 9437: Warnings when building manpages with waf.
1519     * BUG 9443: Manpages of the libraries are located in different
1520       subdirectories.
1521     * BUG 9444: Merge both samba.8 manpages.
1522     * BUG 9445: Update man 7 samba.
1523
1524
1525 o   Jelmer Vernooij <jelmer@samba.org>
1526     * BUG 9339: Backport build fixes from master.
1527
1528
1529 CHANGES SINCE 4.0.0rc4
1530 ======================
1531
1532 With this release candidate the location of the socket samba accepts
1533 connections from NTPd has changed, as has the enforced permissions.
1534
1535 This means the ntp.conf will need to change from (eg)
1536
1537 ntpsigndsocket /usr/local/samba/var/run/ntp_signd/
1538
1539 to
1540
1541 ntpsigndsocket /usr/local/samba/var/lib/ntp_signd/
1542
1543 To use the socket with ntp on a system with an ntp user and group, you must
1544 run:
1545
1546 chgrp ntp /usr/local/samba/var/lib/ntp_signd/
1547
1548 o   Michael Adam <obnox@samba.org>
1549     * BUG 9321: winbindd:cache: Fix offline logons with cached credentials.
1550     * BUG 9339: Build and quota fixes.
1551     * BUG 9353: Fix the cluster(ctdb) build without system talloc installed.
1552
1553
1554 o   Christian Ambach <ambi@samba.org>
1555     * BUG 9208: Cannot migrate files with inheritance flags to share on top of
1556       NFSv4 filesystem.
1557     * BUG 9361: Quotas management doesn't work with SMB2/3.
1558
1559
1560 o   Andrew Bartlett <abartlet@samba.org>
1561     * BUG 9317: Cannot easily change to internal DNS server.
1562     * BUG 9338: lib/replace: Return size of xattr if size argument is 0.
1563     * BUG 9339: Build and quota fixes.
1564     * BUG 9340: Do not use the wheel group for 'administrators'.
1565     * BUG 9347: winbind: Extend wbcAuthenticateUserEx to provide PAC.
1566     * BUG 9352: Fix samba crashes with certain RPC calls.
1567     * BUG 9355: Set mask values to 0777 and use fileserver.conf.
1568     * BUG 9357: Don't expose more symbols than specified by abi_match setting.
1569     * BUG 9379: ntp_signd permissions are too broad.
1570
1571
1572 o   Björn Baumbach <bb@sernet.de>
1573     * BUG 9300: vfs_streams_depot: Add delete_lost option.
1574     * BUG 9348: Fix the build against older ctdb versions.
1575     * BUG 9345: fix use of <smbconfoption> tag.
1576     * BUG 9349: Fix check for ctdb_private.h
1577     * BUG 9351: Fail "configure --with-cluster-support" if ctdb support is not
1578       available.
1579
1580
1581 o   Ira Cooper <ira@samba.org>
1582     * BUG 9339: Build and quota fixes.
1583
1584
1585 o   Günther Deschner <gd@samba.org>
1586     * BUG 9272: 'net ads join' does not provide AES keys in host keytab.
1587
1588
1589 o   David Disseldorp <ddiss@samba.org>
1590     * BUG 9125: Revert "s3-winbindd: make sure we obey the -n switch
1591       also for samlogon cache access" and describe samlogon cache caveat for
1592       'winbindd -n'.
1593
1594
1595 o   Björn Jacke <bj@sernet.de>
1596     * BUG 7472: Check for dn_expand also in libinet.
1597     * BUG 9339: Build and quota fixes.
1598
1599
1600 o   Volker Lendecke <vl@samba.org>
1601     * BUG 9208: Cannot migrate files with inheritance flags to share on top of
1602       NFSv4 filesystem.
1603     * BUG 9352: dsdb: Simplify DsCrackNameOneFilter a bit.
1604
1605
1606 o   Stefan Metzmacher <metze@samba.org>
1607     * BUG 8620: Read ACL are not enabled by default on DS.
1608     * BUG 9175: Add smbXcli_session_set_disconnect_expired().
1609     * BUG 9341: Fix SMBD_SMB2_NUM_IOV_PER_REQ check for sendfile().
1610     * BUG 9359: Optimization needed for SMB2 performance sensitive workloads.
1611     * BUG 9360: SMB1 tree connect time is wrong.
1612
1613
1614 o   Ricky Nance <ricky.nance@weaubleau.k12.mo.us>
1615     * BUG 9339: Build and quota fixes.
1616
1617
1618 o   Rusty Russell <rusty@rustcorp.com.au>
1619     * BUG 9339: Build and quota fixes.
1620
1621
1622 o   Christof Schmitt <christof.schmitt@us.ibm.com>
1623     * BUG 9347: winbind: Extend wbcAuthenticateUserEx to provide PAC.
1624
1625
1626 o   Andreas Schneider <asn@samba.org>
1627     * BUG 9326: Fix 'net ads join' message for the dns domain.
1628     * BUG 9336: Add NetworkManager dispatcher script for Winbind.
1629     * BUG 9339: Build and quota fixes.
1630
1631
1632 o   Jelmer Vernooij <jelmer@samba.org>
1633     * BUG 9357: Don't expose more symbols than specified by abi_match setting.
1634
1635
1636 CHANGES SINCE 4.0.0rc3
1637 ======================
1638
1639 o   Michael Adam <obnox@samba.org>
1640     * BUG 9304: Remove unused sessionid.tdb and connections.tdb related code.
1641     * BUG 9319: validate stat(2) information before reconnect durable handles.
1642
1643
1644 o   Jeremy Allison <jra@samba.org>
1645     * BUG 9190: Fix regression (change in behavior) of default acl masks.
1646       Remove "security mask", "force security mode", "directory security mask"
1647       "force directory" and "security mode" parameters.
1648     * BUG 9329: Directory listing with SeBackup can crash smbd.
1649
1650
1651 o   Andrew Bartlett <abartlet@samba.org>
1652     * BUG 9295: Assert that auth_domain, auth_builtin, auth_sam, auth_winbind
1653       are builtin.
1654     * BUG 9322: Backport ldb version update.
1655
1656
1657 o   Björn Baumbach <bb@sernet.de>
1658     * BUG 9190: docs: Fix opening and ending tag mismatch: para.
1659
1660
1661 o   Gregor Beck <gbeck@sernet.de>
1662     * BUG 9304: Remove unused sessionid.tdb and connections.tdb related code.
1663
1664
1665 o   David Disseldorp <ddiss@suse.de>
1666     * BUG 8564: Fix segfault in pam_sm_authenticate().
1667
1668
1669 o   Stefan Metzmacher <metze@samba.org>
1670     * BUG 9184: Fix loop in tdgram_bsd_recvfrom().
1671     * BUG 9209: Fix unitialized padding in smb2_create_blob_push_one().
1672     * BUG 9304: Remove unused sessionid.tdb and connections.tdb related code.
1673     * BUG 9309: Avoid a level 0 DEBUG if tstream_npa_connect_recv fails.
1674     * BUG 9318: Fix write time updates for durable handles.
1675
1676
1677 o   Andreas Schneider <asn@samba.org>
1678     * BUG 9295: Build standard auth modules as internal modules.
1679     * BUG 9301: Move 'smbprint' to a common location.
1680
1681
1682 o   Jelmer Vernooij <jelmer@samba.org>
1683     * BUG 9274: Add documentation and selftest fixes.
1684
1685
1686 CHANGES SINCE 4.0.0rc2
1687 ======================
1688
1689 o   Jeremy Allison <jra@samba.org>
1690     * BUG 8966: Fix 'net rpc share allowedusers' to work with 2008r2.
1691     * BUG 9209: Parse of invalid SMB2 create blob can cause smbd crash.
1692     * BUG 9214: Bad user supplied SMB2 credit value can cause smbd to call
1693       smb_panic.
1694     * BUG 9222: Document that signing cannot be disabled for SMB2 by design.
1695
1696
1697 o   Andrew Bartlett <abartlet@samba.org>
1698     * BUG 9235: Update Samba3-HOWTO Collection.
1699     * BUG 9271: samba-tool: Skip chown in sysvolreset when it would fail on
1700       a GID.
1701     * BUG 9274: Update Samba3-HOWTO Collection.
1702
1703
1704 o   Björn Baumbach <bb@sernet.de>
1705     * BUG 9235: Fix opening and ending tag mismatch in Samba3-HOWTO.
1706     * BUG 9271: Fix typos in samba_backup.
1707     * BUG 9274: Add delete_lost option to vfs_streams_depot.8.
1708
1709
1710 o   Kai Blin <kai@samba.org>
1711     * BUG 9225: Fix return code for deleted DNS records.
1712     * BUG 8878: Time out UDP requests after DNS_REQUEST_TIMEOUT seconds.
1713
1714
1715 o   Günther Deschner <gd@samba.org>
1716     * BUG 9177: pam_winbind: Match more return codes when wbcGetPwnam has
1717     failed.
1718
1719
1720 o   David Disseldorp <ddiss@samba.org>
1721     * BUG 9269: Fix 64bit-portability-issue.
1722
1723
1724 o   Björn Jacke <bj@sernet.de>
1725     * BUG 5670: Apply some Solaris packaging fixes.
1726     * BUG 8107: Fix poll replacement to become a msleep replacement.
1727     * BUG 8344: Fix --with(out)-sendfile-support option handling.
1728
1729
1730 o   Volker Lendecke <vl@samba.org>
1731     * BUG 9223: Fix uninitialized variable in the cldap server.
1732     * BUG 9268: Make tdb robust against improper CLEAR_IF_FIRST restart.
1733
1734
1735 o   Stefan Metzmacher <metze@samba.org>
1736     * BUG 9271: Several samba-tool fixes.
1737     * BUG 9196: Don't take 'state->te' as indication for "was_deferred".
1738
1739
1740 o   Matthieu Patou <mat@matws.net>
1741     * BUG 9240: Remove unused variable in DNS server.
1742     * BUG 9252: Preliminary tests for dcpromo in Windows 2012 fails with
1743       Samba DC.
1744     * BUG 9253: Crackname returns a dns domain name even if there is no cracked
1745       SID.
1746     * BUG 9255: Getncchanges with exop for repl_obj returns highest_usn.
1747     * BUG 9256: Getncchanges with exop for repl_obj_with_secrets should always
1748       be allowed for RWDC.
1749     * BUG 9257: LDAP server has at least one un-initialized variable.
1750     * BUG 9258: LDAP server ignore configuration values set in the database for
1751       timeout.
1752     * BUG 9259: rodc join fails complaining that it can't find a RWDC.
1753     * BUG 9260: kccdrs_replica_get_info returns invalid level when non
1754       supported should be returned.
1755     * BUG 9261: ds_replica_sync fails when specifying a name and not a guid.
1756     * BUG 9264: getncchanges returns invalid_parameters when it should return
1757       bad_nc.
1758     * BUG 9254: DsExecuteKCC returns wrong error code if taskid != 0.
1759     * BUG 9265: Bind dlz fails to start if there is a trustedanchors zone.
1760
1761
1762 o   Rusty Russell <rusty@rustcorp.com.au>
1763     * BUG 9268: Make tdb robust against shrinking tdbs.
1764
1765
1766 o   Andreas Schneider <asn@samba.org>
1767     * BUG 8769: Fix RAW printing for normal users.
1768     * BUG 9112: Increase debug level for info that the db is empty.
1769     * BUG 9244: Build pam_smbpass module only if enabled.
1770     * BUG 9245: Make sure the registry is set up before we init printing.
1771     * BUG 9276: Add config for systemd-tmpfiles.
1772     * BUG 9280: Add support for reloading systemd services.
1773
1774
1775 o   Karolin Seeger <kseeger@samba.org>
1776     * BUG 7826: Remove link to Using Samba.
1777     * BUG 8802: Add basic manpages for 'samba' and 'samba-tool'.
1778     * BUG 9165: Fix makerpms.sh on RHEL.
1779     * BUG 9243: Remove duplicate synonym min protocol.
1780     * BUG 9271: Several samba-tool fixes.
1781
1782
1783 o   Jelmer Vernooij <jelmer@samba.org>
1784     * BUG 9243: Add basic documentation for 'server min protocol'.
1785     * BUG 9271: Several samba-tool fixes.
1786     * BUG 9274: Add documentation for several parameters.
1787
1788
1789 o   Matthias Dieter Wallnöfer <mdw@samba.org>
1790     * BUG 9183: Introduce the wildcard binding feature to allow DNS to listen on
1791       localhost.
1792
1793
1794 CHANGES SINCE 4.0.0rc1
1795 ======================
1796
1797 o   Michael Adam <obnox@samba.org>
1798     * BUG 9173: Make the SMB2 compound request create/delete_on_close/
1799       close work as Windows.
1800
1801
1802 o   Jeremy Allison <jra@samba.org>
1803     * BUG 9161: Re-add the vfs_Chdir() cache.
1804     * BUG 9189: SMB2 Create doesn't return correct MAX ACCESS access mask in
1805       blob.
1806     * BUG 9213: Bad ASN.1 NegTokenInit packet can cause invalid free.
1807
1808
1809 o   Christian Ambach <ambi@samba.org>
1810     * BUG 9162: Fix the build of the GPFS VFS module.
1811     * BUG 9197: Only do 'printing_subsystem_update' when printing is enabled.
1812
1813
1814 o   Andrew Bartlett <abartlet@samba.org>
1815     * BUG 9228: Fix build on systems without ldap development headers.
1816
1817
1818 o   Alexander Bokovoy <ab@samba.org>
1819     * BUG 9157: Cleanup idmap_ldap build dependencies.
1820     * BUG 9228: Make smbldaphelper subsystem an internal library.
1821     * BUG 9229: Fix build of winbindd- and krb5 locator-related manpages.
1822
1823
1824 o   Sumit Bose <sbose@redhat.com>
1825     * BUG 9185: Allow DNS resolution of trusted domains if DNS name is
1826       available.
1827
1828
1829 o   Ira Cooper <ira@samba.org>
1830     * BUG 9162: Fix build on Illumos/Solaris using '--with-acl'.
1831     * BUG 9173: Compound requests should continue processing.
1832
1833
1834 o   Günther Deschner <gd@samba.org>
1835     * BUG 9185: Winbind cannot resolve AD DC in a different subnet.
1836
1837
1838 o   Björn Jacke <bj@sernet.de>
1839     * BUG 9162: Fix the build of the ACL VFS modules.
1840     * BUG 9172: Fix reporting of gfs2 quotas.
1841
1842
1843 o   Volker Lendecke <vl@samba.org>
1844     * BUG 9217: CreateFile with FILE_DIRECTORY_FILE can create directories
1845       on read-only shares.
1846
1847
1848 o   Vladimir Marek <Vladimir.Marek@Oracle.COM>
1849     * BUG 9192: Fix service control for non-internal services.
1850
1851
1852 o   Stefan Metzmacher <metze@samba.org>
1853     * BUG 9173: Make the SMB2 compound request create/delete_on_close/
1854       close work as Windows.
1855     * BUG 9184: Fix receiving of UDP packets from 0 bytes.
1856     * BUG 9191: Release the share mode lock before calling exit_server().
1857     * BUG 9193: Fix usage of invalid memory in smb2_signing_check_pdu().
1858     * BUG 9194: Disallow '--prefix=/usr' and '--prefix=/usr/local' without
1859       '--enable-fhs'.
1860     * BUG 9198: Fix RHEL-CTDB packaging.
1861
1862
1863 o   Matthieu Patou <mat@matws.net>
1864     * BUG 9199: Fix usage of "panic action".
1865     * BUG 9233: Fix a non handled memory out of memory.
1866
1867
1868 o   Andreas Schneider <asn@samba.org>
1869     * BUG 8632: Fix builtin forms order to match Windows again.
1870     * BUG 9159: Fix generating idmap manpages.
1871     * BUG 9218: Don't segfault if user specified ports out for range.
1872     * BUG 9231: Fix NT_STATUS_IO_TIMEOUT during slow import of printers into
1873       registry.
1874
1875
1876 #######################################
1877 Reporting bugs & Development Discussion
1878 #######################################
1879
1880 Please discuss this release on the samba-technical mailing list or by
1881 joining the #samba-technical IRC channel on irc.freenode.net.
1882
1883 If you do report problems then please try to send high quality
1884 feedback. If you don't provide vital information to help us track down
1885 the problem then you will probably be ignored.  All bug reports should
1886 be filed under the Samba 4.0 product in the project's Bugzilla
1887 database (https://bugzilla.samba.org/).
1888
1889
1890 ======================================================================
1891 == Our Code, Our Bugs, Our Responsibility.
1892 == The Samba Team
1893 ======================================================================
1894