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