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