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