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