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