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