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