VERSION: Bump version up to 3.6.21.
[samba.git] / WHATSNEW.txt
1                    ==============================
2                    Release Notes for Samba 3.6.20
3                          November 11, 2013
4                    ==============================
5
6
7 This is a security release in order to address
8 CVE-2013-4475 (ACLs are not checked on opening an alternate
9 data stream on a file or directory).
10
11 o  CVE-2013-4475:
12    Samba versions 3.2.0 and above (all versions of 3.2.x, 3.3.x,
13    3.4.x, 3.5.x, 3.6.x, 4.0.x and 4.1.x) do not check the underlying
14    file or directory ACL when opening an alternate data stream.
15
16    According to the SMB1 and SMB2+ protocols the ACL on an underlying
17    file or directory should control what access is allowed to alternate
18    data streams that are associated with the file or directory.
19
20    By default no version of Samba supports alternate data streams
21    on files or directories.
22
23    Samba can be configured to support alternate data streams by loading
24    either one of two virtual file system modues (VFS) vfs_streams_depot or
25    vfs_streams_xattr supplied with Samba, so this bug only affects Samba
26    servers configured this way.
27
28    To determine if your server is vulnerable, check for the strings
29    "streams_depot" or "streams_xattr" inside your smb.conf configuration
30    file.
31
32
33 Changes since 3.6.19:
34 ---------------------
35
36 o   Jeremy Allison <jra@samba.org>
37     * BUGs 10234 + 10229: CVE-2013-4475: Fix access check verification on stream
38       files.
39
40
41 ######################################################################
42 Reporting bugs & Development Discussion
43 #######################################
44
45 Please discuss this release on the samba-technical mailing list or by
46 joining the #samba-technical IRC channel on irc.freenode.net.
47
48 If you do report problems then please try to send high quality
49 feedback. If you don't provide vital information to help us track down
50 the problem then you will probably be ignored.  All bug reports should
51 be filed under the Samba 3.6 product in the project's Bugzilla
52 database (https://bugzilla.samba.org/).
53
54
55 ======================================================================
56 == Our Code, Our Bugs, Our Responsibility.
57 == The Samba Team
58 ======================================================================
59
60 Release notes for older releases follow:
61 ----------------------------------------
62
63                    ==============================
64                    Release Notes for Samba 3.6.19
65                          September 25, 2013
66                    ==============================
67
68
69 This is is the latest maintenance release of Samba 3.6.
70
71 Please note that this will probably be the last maintenance release
72 of the Samba 3.6 release series. With the release of Samba 4.1.0, the
73 3.6 release series will be turned into the "security fixes only" mode.
74
75
76 Changes since 3.6.18:
77 ---------------------
78
79 o   Jeremy Allison <jra@samba.org>
80     * BUG 5917: Make Samba work on site with Read Only Domain Controller.
81
82
83 o   Christian Ambach <ambi@samba.org>
84     * BUG 8955: NetrServerPasswordSet2 timeout is too short.
85
86
87 o   Günther Deschner <gd@samba.org>
88     * BUG 9899: Fix fallback to ncacn_np in cm_connect_lsat().
89     * BUG 9615: Fix fallback to ncacn_np in cm_connect_lsat().
90     * BUG 10127: Fix 'smbstatus' as non-root user.
91
92
93 o   Volker Lendecke <vl@samba.org>
94     * BUG 8955: Give machine password changes 10 minutes of time.
95     * BUG 10106: Honour output buffer length set by the client for SMB2 GetInfo
96       requests.
97     * BUG 10114: Handle Dropbox (write-only-directory) case correctly in
98       pathname lookup.
99
100
101 o   Karolin Seeger <kseeger@samba.org>
102     * BUG 10076: Fix variable list in man vfs_crossrename.
103
104
105 o   Andreas Schneider <asn@samba.org>
106     * BUG 9994: s3-winbind: Do not delete an existing valid credential cache.
107     * BUG 10073: 'net ads join': Fix segmentation fault in
108       create_local_private_krb5_conf_for_domain.
109
110
111 o   Richard Sharpe <realrichardsharpe@gmail.com>
112     * BUG 10097: MacOSX 10.9 will not follow path-based DFS referrals handed
113       out by Samba.
114
115
116 ######################################################################
117 Reporting bugs & Development Discussion
118 #######################################
119
120 Please discuss this release on the samba-technical mailing list or by
121 joining the #samba-technical IRC channel on irc.freenode.net.
122
123 If you do report problems then please try to send high quality
124 feedback. If you don't provide vital information to help us track down
125 the problem then you will probably be ignored.  All bug reports should
126 be filed under the Samba 3.6 product in the project's Bugzilla
127 database (https://bugzilla.samba.org/).
128
129
130 ======================================================================
131 == Our Code, Our Bugs, Our Responsibility.
132 == The Samba Team
133 ======================================================================
134
135
136 ----------------------------------------------------------------------
137
138
139                    ==============================
140                    Release Notes for Samba 3.6.18
141                           August 14, 2013
142                    ==============================
143
144
145 This is is the latest stable release of Samba 3.6.
146
147
148 Changes since 3.6.17:
149 ---------------------
150
151 o   Jeremy Allison <jra@samba.org>
152     * BUG 9777: vfs_dirsort uses non-stackable calls, dirfd(), malloc instead
153       of talloc and doesn't cope with directories being modified whilst reading.
154
155
156 o   Gregor Beck <gbeck@sernet.de>
157     * BUG 9678: Windows 8 Roaming profiles fail.
158
159
160 o   Alexander Bokovoy <ab@samba.org>
161     * BUG 9636: Fix parsing linemarkers in preprocessor output.
162
163
164 o   Björn Jacke <bj@sernet.de>
165     * BUG 9880: Use of wrong RFC2307 primary group field.
166     * BUG 9983: Fix output of syslog-facility check.
167
168
169 o   Ralph Wuerthner <ralphw@de.ibm.com>
170     * BUG 10064: Linux kernel oplock breaks can miss signals.
171
172
173 ######################################################################
174 Reporting bugs & Development Discussion
175 #######################################
176
177 Please discuss this release on the samba-technical mailing list or by
178 joining the #samba-technical IRC channel on irc.freenode.net.
179
180 If you do report problems then please try to send high quality
181 feedback. If you don't provide vital information to help us track down
182 the problem then you will probably be ignored.  All bug reports should
183 be filed under the Samba 3.6 product in the project's Bugzilla
184 database (https://bugzilla.samba.org/).
185
186
187 ======================================================================
188 == Our Code, Our Bugs, Our Responsibility.
189 == The Samba Team
190 ======================================================================
191
192
193 ----------------------------------------------------------------------
194
195
196                    ==============================
197                    Release Notes for Samba 3.6.17
198                           August 05, 2013
199                    ==============================
200
201
202 This is a security release in order to address
203 CVE-2013-4124 (Missing integer wrap protection in EA list reading can cause
204 server to loop with DOS).
205
206 o  CVE-2013-4124:
207    All current released versions of Samba are vulnerable to a denial of
208    service on an authenticated or guest connection. A malformed packet
209    can cause the smbd server to loop the CPU performing memory
210    allocations and preventing any further service.
211
212    A connection to a file share, or a local account is needed to exploit
213    this problem, either authenticated or unauthenticated if guest
214    connections are allowed.
215
216    This flaw is not exploitable beyond causing the code to loop
217    allocating memory, which may cause the machine to exceed memory
218    limits.
219
220
221 Changes since 3.6.16:
222 ---------------------
223
224 o   Jeremy Allison <jra@samba.org>
225     * BUG 10010: CVE-2013-4124: Missing integer wrap protection in EA list
226       reading can cause server to loop with DOS.
227
228
229 ######################################################################
230 Reporting bugs & Development Discussion
231 #######################################
232
233 Please discuss this release on the samba-technical mailing list or by
234 joining the #samba-technical IRC channel on irc.freenode.net.
235
236 If you do report problems then please try to send high quality
237 feedback. If you don't provide vital information to help us track down
238 the problem then you will probably be ignored.  All bug reports should
239 be filed under the Samba 3.6 product in the project's Bugzilla
240 database (https://bugzilla.samba.org/).
241
242
243 ======================================================================
244 == Our Code, Our Bugs, Our Responsibility.
245 == The Samba Team
246 ======================================================================
247
248
249 ----------------------------------------------------------------------
250
251
252                    ==============================
253                    Release Notes for Samba 3.6.16
254                            June 19, 2013
255                    ==============================
256
257
258 This is is the latest stable release of Samba 3.6.
259
260 Major enhancements in Samba 3.6.16 include:
261
262 o  Fix crash bug during Win8 sync (bug #9822).
263 o  Properly handle Oplock breaks in compound requests (bug #9722).
264
265
266 Changes since 3.6.15:
267 ---------------------
268
269 o   Michael Adam <obnox@samba.org>
270     * BUG 9881: Link dbwrap_tool and dbwrap_torture against libtevent.
271
272
273 o   Jeremy Allison <jra@samba.org>
274     * BUG 9722: Properly handle Oplock breaks in compound requests.
275     * BUG 9822: Fix crash bug during Win8 sync.
276
277
278 o   Anand Avati <avati@redhat.com>
279     * BUG 9927: errno gets overwritten in call to check_parent_exists().
280
281
282 o   David Disseldorp <ddiss@samba.org>
283     * BUG 8997: Change libreplace GPL source to LGPL.
284     * BUG 9900: is_printer_published GUID retrieval.
285
286
287 o   Peng Haitao <penght@cn.fujitsu.com>
288     * BUG 9941: Fix a bug of drvupgrade of smbcontrol.
289
290
291 o   Volker Lendecke <vl@samba.org>
292     * BUG 9868: Don't know how to make LIBNDR_PREG_OBJ.
293
294
295 o   SATOH Fumiyasu <fumiyas@osstech.co.jp>
296     * BUG 9688: Remove "experimental" label on "max protocol=SMB2" parameter.
297
298
299 o   Andreas Schneider <asn@samba.org>
300     * BUG 9881: Check for system libtevent.
301
302
303 ######################################################################
304 Reporting bugs & Development Discussion
305 #######################################
306
307 Please discuss this release on the samba-technical mailing list or by
308 joining the #samba-technical IRC channel on irc.freenode.net.
309
310 If you do report problems then please try to send high quality
311 feedback. If you don't provide vital information to help us track down
312 the problem then you will probably be ignored.  All bug reports should
313 be filed under the Samba 3.6 product in the project's Bugzilla
314 database (https://bugzilla.samba.org/).
315
316
317 ----------------------------------------------------------------------
318
319
320                    ==============================
321                    Release Notes for Samba 3.6.15
322                             May 08, 2013
323                    ==============================
324
325
326 This is is the latest stable release of Samba 3.6.
327
328 Major enhancements in Samba 3.6.15 include:
329
330 o  Fix crash bug in Winbind (bug #9854).
331
332
333 Changes since 3.6.14:
334 ---------------------
335
336 o   Andrew Bartlett <abartlet@samba.org>
337     * BUG 9746: Fix "guest ok", "force user" and "force group" for guest users.
338
339
340 o   David Disseldorp <ddiss@samba.org>
341     * BUG 9830: Fix panic in nt_printer_publish_ads.
342
343
344 o   Volker Lendecke <vl@samba.org>
345     * BUG 9854: Fix crash bug in Winbind.
346
347
348 o   Andreas Schneider <asn@samba.org>
349     * BUG 9817: Fix 'map untrusted to domain' with NTLMv2.
350
351
352 ######################################################################
353 Reporting bugs & Development Discussion
354 #######################################
355
356 Please discuss this release on the samba-technical mailing list or by
357 joining the #samba-technical IRC channel on irc.freenode.net.
358
359 If you do report problems then please try to send high quality
360 feedback. If you don't provide vital information to help us track down
361 the problem then you will probably be ignored.  All bug reports should
362 be filed under the Samba 3.6 product in the project's Bugzilla
363 database (https://bugzilla.samba.org/).
364
365
366 -----------------------------------------------------------------------
367
368
369                    ==============================
370                    Release Notes for Samba 3.6.14
371                            April 29, 2013
372                    ==============================
373
374
375 This is is the latest stable release of Samba 3.6.
376
377 Major enhancements in Samba 3.6.14 include:
378
379 o  Certain xattrs cause Windows error 0x800700FF (bug #9130).
380
381 Changes since 3.6.13:
382 ---------------------
383
384 o   Jeremy Allison <jra@samba.org>
385     * BUG 9130: Certain xattrs cause Windows error 0x800700FF.
386     * BUG 9724: Use is_encrypted_packet() function correctly inside server.
387     * BUG 9733: Fix 'smbcontrol close-share' is not working.
388     * BUG 9747: Make sure that we only propogate the INHERITED flag when we are
389       allowed to.
390     * BUG 9748: Remove unneeded fstat system call from hot read path.
391     * BUG 9811: Fix bug in old create temp SMB request. Only use VFS functions.
392
393
394 o   David Disseldorp <ddiss@samba.org>
395     * BUG 9650: New or deleted CUPS printerqueues are not recognized by Samba.
396     * BUG 9807: wbinfo: Fix segfault in wbinfo_pam_logon.
397
398
399 o   Volker Lendecke <vl@samba.org>
400     * BUG 9727: wkssvc: Fix NULL pointer dereference.
401     * BUG 9736: smbd: Tune "dir" a bit.
402     * BUG 9775: Fix segfault for "artificial" conn_structs.
403     * BUG 9809: RHEL SPEC: Package dbwrap_tool man page.
404
405
406 o   Andreas Schneider <asn@samba.org>
407     * BUG 9139: Fix the username map optimization.
408     * BUG 9699: Fix adding case sensitive spn.
409     * BUG 9723: Add a tool to migrate latin1 printing tdbs to registry.
410     * BUG 9735: Fix Winbind separator in upn to username conversion.
411     * BUG 9766: Cache name_to_sid/sid_to_name correctly.
412
413
414 Note about upgrading from older versions:
415 -----------------------------------------
416
417 It is still the case that there are printing tdbs (ntprinting.tdb, ntforms.tdb,
418 ntdrivers.tdb) which are in latin1 or other encodings. When updating from
419 Samba 3.5 or earlier to Samba 3.6 or 4.0 these tdbs need to be migrated to our
420 new registry based printing management.  This means during the migration we
421 also need to do charset conversion. This can only been done manually cause we don't
422 know in which encoding the tdb is. You have to specify the correct code page
423 for the conversion, see iconv -l and Wikipedia [1] for the available codepages.
424 The mostly used one is Windows Latin1 which is CP1252.
425
426 We've extended the 'net printing dump' and 'net printing migrate' commands to
427 define the encoding of the tdb. So you can correctly view the tdb with:
428
429   net printing dump encoding=CP1252 /path/to/ntprinters.tdb
430
431 or migrate it with e.g.:
432
433   net printing migrate encoding=CP1252 /path/to/ntprinters.tdb
434
435 If you migrate printers we suggest you do it in the following order.
436
437 ntforms.tdb
438 ntdrivers.tdb
439 ntprinting.tdb
440
441 Don't forget to rename, move or delete these files in /var/lib/samba after the
442 migration.
443
444 [1] https://en.wikipedia.org/wiki/Code_page
445
446
447 ######################################################################
448 Reporting bugs & Development Discussion
449 #######################################
450
451 Please discuss this release on the samba-technical mailing list or by
452 joining the #samba-technical IRC channel on irc.freenode.net.
453
454 If you do report problems then please try to send high quality
455 feedback. If you don't provide vital information to help us track down
456 the problem then you will probably be ignored.  All bug reports should
457 be filed under the Samba 3.6 product in the project's Bugzilla
458 database (https://bugzilla.samba.org/).
459
460
461 ======================================================================
462 == Our Code, Our Bugs, Our Responsibility.
463 == The Samba Team
464 ======================================================================
465
466
467 ----------------------------------------------------------------------
468
469
470                    ==============================
471                    Release Notes for Samba 3.6.13
472                            March 18, 2013
473                    ==============================
474
475
476 This is is the latest stable release of Samba 3.6.
477
478 Major enhancements in Samba 3.6.13 include:
479
480 o  Fix two resource leaks in winbindd (bug #9684).
481 o  Unlink after open causes smbd to panic (bug #9571).
482
483
484 Changes since 3.6.12:
485 --------------------
486
487 o   Jeremy Allison <jra@samba.org>
488     * BUG 9519: Samba returns unexpected error on SMB posix open.
489     * BUG 9585: Samba 3.6.x not correctly signing any but the last response in
490       a compound request/response.
491     * BUG 9586: smbd[29175]: disk_free: sys_popen() failed" message logged in
492       /var/log/messages many times.
493     * BUG 9587: Archive flag is always set on directories.
494     * BUG 9588: ACLs are not inherited to directories for DFS shares.
495     * BUG 9637: Renaming directories as guest user in security share mode
496       doesn't work.
497
498
499 o   Björn Baumbach <bb@sernet.de>
500     * BUG 9568: Add dbwrap_tool.1 manual page.
501
502
503 o   Ira Cooper <ira@samba.org>
504     * BUG 9646: Make SMB2_GETINFO multi-volume aware.
505
506
507 o   Günther Deschner <gd@samba.org>
508     * BUG 9474: Downgrade v4 printer driver requests to v3.
509
510
511 o   David Disseldorp <ddiss@samba.org>
512     * BUG 9378: Add extra attributes for AD printer publishing.
513     * BUG 9658: Fix initial large PAC sess setup response.
514
515
516 o   Björn Jacke <bj@sernet.de>
517     * BUG 7825: Fix GNU ld version detection with
518       old gcc releases.
519
520
521 o   Daniel Kobras <d.kobras@science-computing.de>
522     * BUG 9039: 'map untrusted to domain' treats WORKSTATION as bogus domain.
523
524
525 o   Guenter Kukkukk <kukks@samba.org>
526     * BUG 9701: Fix vfs_catia module.
527
528
529 o   Volker Lendecke <vl@samba.org>
530     * BUG 9541: Add support for posix_openpt.
531
532
533 o   Stefan Metzmacher <metze@samba.org>
534     * Bug 9625: wbcAuthenticateEx gives unix times.
535
536
537 o   Andreas Schneider <asn@samba.org>
538     * BUG 9574: Fix a possible null pointer dereference in spoolss.
539     * BUG 9684: Fix two resource leaks in winbindd.
540     * BUG 9686: Fix a possible buffer overrun in pdb_smbpasswd.
541
542
543 o   Pavel Shilovsky <piastry@etersoft.ru>
544     * Bug #9571: Unlink after open causes smbd to panic.
545
546
547 ######################################################################
548 Reporting bugs & Development Discussion
549 #######################################
550
551 Please discuss this release on the samba-technical mailing list or by
552 joining the #samba-technical IRC channel on irc.freenode.net.
553
554 If you do report problems then please try to send high quality
555 feedback. If you don't provide vital information to help us track down
556 the problem then you will probably be ignored.  All bug reports should
557 be filed under the Samba 3.6 product in the project's Bugzilla
558 database (https://bugzilla.samba.org/).
559
560
561 ======================================================================
562 == Our Code, Our Bugs, Our Responsibility.
563 == The Samba Team
564 ======================================================================
565
566
567 ----------------------------------------------------------------------
568
569
570                    ==============================
571                    Release Notes for Samba 3.6.12
572                           January 30, 2013
573                    ==============================
574
575
576 This is a security release in order to address
577 CVE-2013-0213 (Clickjacking issue in SWAT) and
578 CVE-2013-0214 (Potential XSRF in SWAT).
579
580 o  CVE-2013-0213:
581    All current released versions of Samba are vulnerable to clickjacking in the
582    Samba Web Administration Tool (SWAT). When the SWAT pages are integrated into
583    a malicious web page via a frame or iframe and then overlaid by other content,
584    an attacker could trick an administrator to potentially change Samba settings.
585
586    In order to be vulnerable, SWAT must have been installed and enabled
587    either as a standalone server launched from inetd or xinetd, or as a
588    CGI plugin to Apache. If SWAT has not been installed or enabled (which
589    is the default install state for Samba) this advisory can be ignored.
590
591 o  CVE-2013-0214:
592    All current released versions of Samba are vulnerable to a cross-site
593    request forgery in the Samba Web Administration Tool (SWAT). By guessing a
594    user's password and then tricking a user who is authenticated with SWAT into
595    clicking a manipulated URL on a different web page, it is possible to manipulate
596    SWAT.
597
598    In order to be vulnerable, the attacker needs to know the victim's password.
599    Additionally SWAT must have been installed and enabled either as a standalone
600    server launched from inetd or xinetd, or as a CGI plugin to Apache. If SWAT has
601    not been installed or enabled (which is the default install state for Samba)
602    this advisory can be ignored.
603
604
605 Changes since 3.6.11:
606 --------------------
607
608 o   Kai Blin <kai@samba.org>
609     * BUG 9576: CVE-2013-0213: Fix clickjacking issue in SWAT.
610     * BUG 9577: CVE-2013-0214: Fix potential XSRF in SWAT.
611
612
613 ######################################################################
614 Reporting bugs & Development Discussion
615 #######################################
616
617 Please discuss this release on the samba-technical mailing list or by
618 joining the #samba-technical IRC channel on irc.freenode.net.
619
620 If you do report problems then please try to send high quality
621 feedback. If you don't provide vital information to help us track down
622 the problem then you will probably be ignored.  All bug reports should
623 be filed under the Samba 3.6 product in the project's Bugzilla
624 database (https://bugzilla.samba.org/).
625
626
627 ======================================================================
628 == Our Code, Our Bugs, Our Responsibility.
629 == The Samba Team
630 ======================================================================
631
632
633 ----------------------------------------------------------------------
634
635
636                    ==============================
637                    Release Notes for Samba 3.6.11
638                          January 21, 2013
639                    ==============================
640
641
642 This is is the latest stable release of Samba 3.6.
643
644 Major enhancements in Samba 3.6.11 include:
645
646 o   defer_open is triggered multiple times on the same request (bug #9196).
647 o   Fix SEGV wh_n using second vfs module (bug #9471).
648
649
650 Changes since 3.6.10:
651 --------------------
652
653 o   Jeremy Allison <jra@samba.org>
654     * BUG 9196: defer_open is triggered multiple times on the same request.
655     * BUG 9550: Mask off signals the correct way from the signal handler.
656
657
658 o   Björn Baumbach <bb@sernet.de>
659     * BUG 9569: ntlm_auth.1: Fix format and make examples visible.
660
661
662 o   Tsukasa Hamano <hamano@osstech.co.jp>
663     * BUG 9471: Fix SEGV when using second vfs module.
664
665
666 o   Volker Lendecke <vl@samba.org>
667     * BUG 9548: Correctly detect O_DIRECT.
668     * BUG 9546: Fix aio_suspend detection on FreeBSD.
669
670
671 ######################################################################
672 Reporting bugs & Development Discussion
673 #######################################
674
675 Please discuss this release on the samba-technical mailing list or by
676 joining the #samba-technical IRC channel on irc.freenode.net.
677
678 If you do report problems then please try to send high quality
679 feedback. If you don't provide vital information to help us track down
680 the problem then you will probably be ignored.  All bug reports should
681 be filed under the Samba 3.6 product in the project's Bugzilla
682 database (https://bugzilla.samba.org/).
683
684
685 ======================================================================
686 == Our Code, Our Bugs, Our Responsibility.
687 == The Samba Team
688 ======================================================================
689
690
691 ----------------------------------------------------------------------
692
693
694                    ==============================
695                    Release Notes for Samba 3.6.10
696                          December 10, 2012
697                    ==============================
698
699
700 This is is the latest stable release of Samba 3.6.
701
702 Major enhancements in Samba 3.6.10 include:
703
704 o  Respond correctly to FILE_STREAM_INFO requests (bug #9460).
705 o  Fix segfault when "default devmode" is disabled (bug #9433).
706 o  Fix segfaults in "log level = 10" on Solaris (bug #9390).
707
708
709 Changes since 3.6.9:
710 --------------------
711
712 o   Jeremy Allison <jra@samba.org>
713     * BUG 9236: ACL masks incorrectly applied when setting ACLs.
714     * BUG 9374: Allow smb2.acls torture test to pass against smbd with a POSIX
715       ACLs backend.
716
717
718 o   Björn Baumbach <bb@sernet.de>
719     * BUG 9345: Manpages: Fix use of <smbconfoption> tag.
720
721
722 o   Sumit Bose <sbose@redhat.com>
723     * BUG 9367: Use work around for 'winbind use default domain' only if it is
724       set.
725
726
727 o   Günther Deschner <gd@samba.org>
728     * BUG 9272: 'net ads join' does not provide AES keys in host keytab.
729     * BUG 9426: Lookup nametype 0x20 in rpc_pipe_open_tcp_port().
730     * BUG 9439: Fix ncacn_ip_tcp reconnection code for lsa lookups.
731     * BUG 9451: Allow to force DNS updates using net.
732
733
734 o   David Disseldorp <ddiss@samba.org>
735     * BUG 9433: Fix segfault when "default devmode" is disabled.
736
737
738 o   Volker Lendecke <vl@samba.org>
739     * BUG 9359: Optimization needed for SMB2 performance sensitive workloads.
740     * BUG 9422: Large read requests cause server to issue malformed reply.
741     * BUG 9439: Fix ncacn_ip_tcp reconnection code for lsa lookups.
742
743
744 o   Stefan Metzmacher <metze@samba.org>
745     * BUG 9209: Improve the smb2.create.blob test.
746     * BUG 9272: 'net ads join' does not provide AES keys in host keytab.
747     * BUG 9390: Fix segfaults in "log level = 10" on Solaris.
748     * BUG 9402: lib/addns doesn't work with a bind9 server.
749
750
751 o   Matthieu Patou <mat@matws.net>
752     * BUG 9418: Fix MD5 detection in the autoconf build.
753
754
755 o   Andreas Schneider <asn@samba.org>
756     * BUG 8564: Fix segfault in pam_sm_authenticate().
757     * BUG 9326: Fix 'net ads join' message for the dns domain.
758     * BUG 9386: Winbind: Failover if netlogon pipe is not available.
759     * BUG 9436: Fix leaking sockets of SMB connections to a DC.
760
761
762 o   Richard Sharpe <realrichardsharpe@gmail.com>
763     * BUG 9460: Respond correctly to FILE_STREAM_INFO requests.
764
765
766 ######################################################################
767 Reporting bugs & Development Discussion
768 #######################################
769
770 Please discuss this release on the samba-technical mailing list or by
771 joining the #samba-technical IRC channel on irc.freenode.net.
772
773 If you do report problems then please try to send high quality
774 feedback. If you don't provide vital information to help us track down
775 the problem then you will probably be ignored.  All bug reports should
776 be filed under the Samba 3.6 product in the project's Bugzilla
777 database (https://bugzilla.samba.org/).
778
779
780 ======================================================================
781 == Our Code, Our Bugs, Our Responsibility.
782 == The Samba Team
783 ======================================================================
784
785
786 ----------------------------------------------------------------------
787
788
789                    =============================
790                    Release Notes for Samba 3.6.9
791                          October 29, 2012
792                    =============================
793
794
795 This is is the latest stable release of Samba 3.6.
796
797 Major enhancements in Samba 3.6.9 include:
798
799 o  When setting a non-default ACL, don't forget to apply masks to
800    SMB_ACL_USER and SMB_ACL_GROUP entries (bug #9236).
801 o  Winbind can't fetch user or group info from AD via LDAP (bug #9147).
802 o  Fix segfault in smbd if user specified ports out for range (bug #9218).
803
804
805 Changes since 3.6.8:
806 --------------------
807
808 o   Michael Adam <obnox@samba.org>
809     * BUG 9173: Make SMB2 compound request create/delete_on_close/close work as
810       Windows.
811
812
813 o   Jeremy Allison <jra@samba.org>
814     * BUG 8966: Fix 'net rpc share allowedusers' to work with 2008r2.
815     * BUG 9016: Connection to outbound trusted domain goes offline.
816     * BUG 9117: 'smbclient' can't connect to a Windows 7 server using NTLMv2.
817     * BUG 9147: Winbind can't fetch user or group info from AD via LDAP.
818     * BUG 9174: Empty SPNEGO packet can cause smbd to crash.
819     * BUG 9189: SMB2 Create doesn't return correct MAX ACCESS access mask in
820       blob.
821     * BUG 9209: Parse of invalid SMB2 create blob can cause smbd crash.
822     * BUG 9213: Bad ASN.1 NegTokenInit packet can cause invalid free.
823     * BUG 9222: Signing cannot be disabled for SMB2 by design, so fix the
824       documentation instead.
825     * BUG 9236: When setting a non-default ACL, don't forget to apply masks to
826       SMB_ACL_USER and SMB_ACL_GROUP entries.
827
828
829 o   Andrew Bartlett <abartlet@samba.org>
830     * BUG 8788: Initialise ticket to ensure we do not invalid memory.
831
832
833 o   Ira Cooper <ira@samba.org>
834     * BUG 9173: Compound requests should continue processing.
835
836
837 o   Günther Deschner <gd@samba.org>
838     * BUG 9177: pam_winbind: Match more return codes when wbcGetPwnam has failed.
839
840
841 o   Björn Jacke <bj@sernet.de>
842     * BUG 3272: quota: Don't force the block size to 512.
843     * BUG 8107: Add some includes for poll.h.
844     * BUG 8146: Fix wrong test == syntax in configure.
845     * BUG 8344: Fix --with(out)-sendfile-support option handling in autoconf.
846     * BUG 9172: Add quota support for gfs2.
847
848
849 o   Volker Lendecke <vl@samba.org>
850     * BUG 9188: Fix crash bug in idmap_hash.
851     * BUG 9268: Make tdb robust against improper CLEAR_IF_FIRST restart.
852
853
854 o   Luca Lorenzetto <lorenzetto-luca@ubuntu-it.org>
855     * BUG 9013: Fix crash on null pam change pw response.
856
857
858 o   Vladimir Marek <Vladimir.Marek@Oracle.COM>
859     * BUG 9192: Fix service control for non-internal services.
860
861
862 o   Stefan Metzmacher <metze@samba.org>
863     * BUG 9173: Make SMB2 compound request create/delete_on_close/close work as
864       Windows.
865     * BUG 9196: Don't take 'state->te' as indication for "was_deferred".
866     * BUG 9209: Fix unitialized padding in smb2_create_blob_push_one().
867
868
869 o   Matthieu Patou <mat@matws.net>
870     * BUG 9259: lib-addns: ensure that allocated buffer are pre set to 0.
871
872
873 o   Rusty Russell <rusty@rustcorp.com.au>
874     * BUG 9268: Make robust against shrinking tdbs.
875
876
877 o   Joachim Schmitz <schmitz@hp.com>
878     * BUG 8107: Fix poll replacement to become a msleep replacement.
879
880
881 o   Andreas Schneider <asn@samba.org>
882     * BUG 8632: Fix builtin forms order to match Windows again.
883     * BUG 8769: Fix RAW printing for normal users.
884     * BUG 9112: Increase debug level for info that the db is empty.
885     * BUG 9154: Open printers with the right access mask.
886     * BUG 9171: Remove non-existent option '-Y' from winbindd manpage.
887     * BUG 9218: Fix segfault in smbd if user specified ports out for range.
888     * BUG 9231: Fix NT_STATUS_IO_TIMEOUT during slow import of printers into
889       registry.
890     * BUG 9280: Add support for reloading systemd services.
891
892
893 o   Karolin Seeger <kseeger@samba.org>
894     * BUG 9165: Fix makerpms.sh on RHEL.
895
896
897 ######################################################################
898 Reporting bugs & Development Discussion
899 #######################################
900
901 Please discuss this release on the samba-technical mailing list or by
902 joining the #samba-technical IRC channel on irc.freenode.net.
903
904 If you do report problems then please try to send high quality
905 feedback. If you don't provide vital information to help us track down
906 the problem then you will probably be ignored.  All bug reports should
907 be filed under the Samba 3.6 product in the project's Bugzilla
908 database (https://bugzilla.samba.org/).
909
910
911 ======================================================================
912 == Our Code, Our Bugs, Our Responsibility.
913 == The Samba Team
914 ======================================================================
915
916
917 ----------------------------------------------------------------------
918
919
920                    =============================
921                    Release Notes for Samba 3.6.8
922                          September 17, 2012
923                    =============================
924
925
926 This is is the latest stable release of Samba 3.6.
927
928 Major enhancements in Samba 3.6.8 include:
929
930 o  Fix crash bug in smbd caused by a blocking lock followed by
931    close (bug #9084).
932 o  Fix Winbind panic if we couldn't find the domain (bug #9135).
933
934
935 Changes since 3.6.7:
936 --------------------
937
938 o   Jeremy Allison <jra@samba.org>
939     * BUG 9058: Fix smbstatus code dump when a file entry has delete tokens.
940     * BUG 9098: Fix refreshing of Kerberos tickets in Winbind.
941     * BUG 9124: Fix setting of "inherited" bit on inherited ACE's.
942
943
944 o   Christian Ambach <ambi@samba.org>
945     * BUG 9137: Make 'smbclient allinfo' show the snapshot list.
946
947
948 o   Andrew Bartlett <abartlet@samba.org>
949     * BUG 9066: "Domain Users" incorrectly added as additional group on domain
950       members.
951     * BUG 9067: Use correct RID for "Domain Guests" primary group.
952
953
954 o   David Binderman <dcb314@hotmail.com>
955     * BUG 9065: Fix bad call to memcpy source3/registry/regfio.c.
956
957
958 o   David Disseldorp <ddiss@samba.org>
959     * BUG 9123: Fix lprng job tracking errors.
960
961
962 o   Salvador I. Gonzalez <sgonzalez@codejunkie.net>
963     * BUG 9088: Fix smbclient/tarmode panic when connecting to Windows 2000
964       clients.
965
966
967 o   Hargagan <shargagan@novell.com>
968     * BUG 9085: Fix NMB registration for a duplicate workstation.
969
970
971 o   Björn Jacke <bj@sernet.de>
972     * BUG 9037: Open and netbsd have the md5 symbols in libc.
973     * BUG 9144: Fix nfs quota support with Linux nfs4 mounts.
974
975
976 o   Volker Lendecke <vl@samba.org>
977     * BUG 9037: Fix name clash in MD5 causing the "net ads join" to fail on
978       T4 (sun4v) systems on Solaris 10.
979     * BUG 9058: Backport FSCTL codes from master.
980     * BUG 9084: Fix crash bug in smbd caused by a blocking lock followed by
981       close.
982     * BUG 9150: Valid open requests can cause smbd assert due to incorrect
983       oplock handling on delete requests.
984
985
986 o   Herb Lewis <hlewis@panasas.com>
987     * BUG 9104: Fix identification of idle clients in Winbind to avoid crashes
988       and NDR parsing errors.
989
990
991 o   Stefan Metzmacher <metze@samba.org>
992     * BUG 9058: Fix segfault in smbstatus.
993
994
995 o   Andreas Schneider <asn@samba.org>
996     * BUG 9111: Fix compilation with newer MIT Kerberos which hides internal
997       symbols.
998     * BUG 9112: Fix flooding the logs with records we don't find in pcap.
999     * BUG 9122: Initialize the print backend after we setup winreg.
1000     * BUG 9135: Fix Winbind panic if we couldn't find the domain.
1001
1002
1003 ######################################################################
1004 Reporting bugs & Development Discussion
1005 #######################################
1006
1007 Please discuss this release on the samba-technical mailing list or by
1008 joining the #samba-technical IRC channel on irc.freenode.net.
1009
1010 If you do report problems then please try to send high quality
1011 feedback. If you don't provide vital information to help us track down
1012 the problem then you will probably be ignored.  All bug reports should
1013 be filed under the Samba 3.6 product in the project's Bugzilla
1014 database (https://bugzilla.samba.org/).
1015
1016
1017 ======================================================================
1018 == Our Code, Our Bugs, Our Responsibility.
1019 == The Samba Team
1020 ======================================================================
1021
1022
1023 ----------------------------------------------------------------------
1024
1025
1026                    =============================
1027                    Release Notes for Samba 3.6.7
1028                            August 6, 2012
1029                    =============================
1030
1031
1032 This is is the latest stable release of Samba 3.6.
1033
1034 Major enhancements in Samba 3.6.7 include:
1035
1036 o  Fix resolving our own "Domain Local" groups (bug #9052).
1037 o  Fix migrating printers while upgrading from 3.5.x (bug #9026).
1038
1039
1040 Changes since 3.6.6:
1041 --------------------
1042
1043 o   Jeremy Allison <jra@samba.org>
1044     * BUG 8974: Fix kernel oplocks when uid(file) != uid(process).
1045     * BUG 8989: Send correct responses to NT Transact Secondary when no data
1046       and no params for the Trans2 calls are set.
1047     * BUG 9034: Fix typo in set_re_uid() call when USE_SETRESUID selected in
1048       configure.
1049
1050
1051 o   David Binderman <dcb314@hotmail.com>
1052     * BUG 9062: rpcclient: Fix bad call to data_blob_const.
1053
1054
1055 o   Günther Deschner <gd@samba.org>
1056     * BUG 9026: Fix migrating printers while upgrading from 3.5.x.
1057
1058
1059 o   David Disseldorp <ddiss@samba.org>
1060     * BUG 8719: Printing fails in function cups_job_submit.
1061     * BUG 9026: Fix migrating printers while upgrading from 3.5.x.
1062
1063
1064 o   Olaf Flebbe <o.flebbe@science-computing.de>
1065     * BUG 8552: Correct documentation of "case sensitive".
1066
1067
1068 o   Björn Jacke <bj@sernet.de>
1069     * BUG 8996: Fix build without ads support.
1070
1071
1072 o   Volker Lendecke <vl@samba.org>
1073     * BUG 9003: Fix posix acl on gpfs.
1074     * BUG 9040: Using asynchronous IO with SMB2 can return NT_STATUS_FILE_CLOSED
1075       in error instead ofNT_STATUS_FILE_LOCK_CONFLICT.
1076
1077
1078 o   Stefan Metzmacher <metze@samba.org>
1079     * BUG 9002: Don't turn negative cache entries into valid idmappings.
1080     * BUG 9022: Make vfs_gpfs less verbose in get/set_xattr functions.
1081     * BUG 9057: Fix bugs in SMB2 credit handling code.
1082
1083
1084 o   Jiri Popelka <jpopelka@redhat.com>
1085     * BUG 9055: Fix build against CUPS 1.6.
1086
1087
1088 o   Jura Sasek <jiri.sasek@oracle.com>
1089     * BUG 9037: Fix 'net ads join' on T4 (sun4v) systems on Solaris 10.
1090
1091
1092 o   Andreas Schneider <asn@samba.org>
1093     * BUG 9052: Fix resolving our own "Domain Local" groups.
1094
1095
1096 ######################################################################
1097 Reporting bugs & Development Discussion
1098 #######################################
1099
1100 Please discuss this release on the samba-technical mailing list or by
1101 joining the #samba-technical IRC channel on irc.freenode.net.
1102
1103 If you do report problems then please try to send high quality
1104 feedback. If you don't provide vital information to help us track down
1105 the problem then you will probably be ignored.  All bug reports should
1106 be filed under the Samba 3.6 product in the project's Bugzilla
1107 database (https://bugzilla.samba.org/).
1108
1109
1110 ======================================================================
1111 == Our Code, Our Bugs, Our Responsibility.
1112 == The Samba Team
1113 ======================================================================
1114
1115
1116 ----------------------------------------------------------------------
1117
1118
1119                    =============================
1120                    Release Notes for Samba 3.6.6
1121                            June 25, 2012
1122                    =============================
1123
1124
1125 This is is the latest stable release of Samba 3.6.
1126
1127 Major enhancements in Samba 3.6.6 include:
1128
1129 o  Fix possible memory leaks in the Samba master process (bug #8970).
1130 o  Fix uninitialized memory read in talloc_free().
1131 o  Fix joining of XP Pro workstations to 3.6 DCs (bug #8373).
1132
1133
1134 Changes since 3.6.5:
1135 --------------------
1136
1137 o   Michael Adam <obnox@samba.org>
1138     * BUG 8738: SMB2 server will not release unused shares.
1139     * BUG 8749: Sign non guest sessions in SessionSetup.
1140     * BUG 8921: Fix race writing registry values.
1141
1142
1143 o   Jeremy Allison <jra@samba.org>
1144     * BUG 8373: Fix joining of XP Pro workstations to 3.6 DCs.
1145     * BUG 8627: Fix crash bug in dns_create_probe when dns_create_update fails.
1146     * BUG 8723: Add pthread-based aio VFS module.
1147     * BUG 8784: When calculating the share security mask, take priviliges into
1148       account for the connecting user.
1149     * BUG 8811: sd_has_inheritable_components segfaults on an SD that
1150       se_access_check accepts.
1151     * BUG 8837: Fix crash in smbd when deleting directory and veto files are
1152       enabled.
1153     * BUG 8857: Setting traverse rights fails to enable directory traversal when
1154       acl_xattr in use.
1155     * BUG 8882: Broken processing of %U with vfs_full_audit when force user is
1156       set.
1157     * BUG 8897: Make winbind_krb5_locator not only returning one IP address.
1158     * BUG 8910: resolve_ads() code can return zero addresses and miss valid
1159       DC IP addresses.
1160     * BUG 8922: smbclient's tarmode insists on listing excluded directories.
1161     * BUG 8953: Winbind can hang as nbt_getdc() has no timeout.
1162     * BUG 8957: Typo in pam_winbindd code MUST fix.
1163     * BUG 8970: Fix possible memory leaks in the Samba master process.
1164     * BUG 8971: cleanup_timeout_fn() is called too often, on exiting when an
1165       smbd is idle.
1166     * BUG 8972: Directory group write permission bit is set if unix extensions
1167       are enabled.
1168
1169
1170 o   Christian Ambach <ambi@samba.org>
1171     * BUG 8406: Fix a return code check in Winbind.
1172     * BUG 8807: Fix crash in dcerpc_lsa_lookup_sids_noalloc() crashes when
1173       groups has more than 1000 groups.
1174
1175
1176 o   Andrew Bartlett <abartlet@samba.org>
1177     * BUG 8599: Only use SamLogonEx when we can get unencrypted session keys.
1178     * BUG 8727: Fix smbclients with posix large reads.
1179     * BUG 8943: Slow but responsive DC can lock up Winbind for > 10 minutes
1180       at a time.
1181
1182
1183 o   Björn Baumbach <bb@sernet.de>
1184     * BUG 7564: Fix default name resolve order in the manpage.
1185     * BUG 8554, 8612, 8748: Add new printers to registry.
1186     * BUG 8789: Remove whitespace in example samba.ldif.
1187
1188
1189 o   Alexander Bokovoy <ab@samba.org>
1190     * BUG 8988: Avoid crash with MIT krb5 1.10.0 in gss_get_name_attribute().
1191
1192
1193 o   Alejandro Escanero Blanco <aescanero@gmail.com>
1194     * BUG 8798: The primary rid should be in the groups rid array.
1195
1196
1197 o   Ira Cooper <samba@ira.wakeful.net>
1198     * BUG 8729: Fix getpass regressions on Solaris/Illumos.
1199     * BUG 8743: Fix configure.developer builds on Solaris.
1200     * BUG 8910: Fix bad bugfix for bug #8910.
1201     * BUG 8952: Fix negative SID->uid/gid cache handling.
1202     * BUG 8995: Use fsp_persistent_id() as persistent_file_id part for SMB2.
1203
1204
1205 o   David Disseldorp <ddiss@samba.org>
1206     * BUG 8762: Fix crash in printer_list_set_printer().
1207
1208
1209 o   Olaf Flebbe <o.flebbe@science-computing.de>
1210     * BUG 8859: Fix assertion in reg_parse.
1211
1212
1213 o   Björn Jacke <bj@sernet.de>
1214     * BUG 8732: Fix compile of krb5 locator on Solaris.
1215     * BUG 8869: Remove outdated netscape ds 5 schema file.
1216     * BUG 8978: Remove dependency on automake for 'make everything'.
1217
1218
1219 o   Steve Langasek <steve.langasek@ubuntu.com>
1220     * BUG 8920: Fix null dereference in pdb_interface.
1221
1222
1223 o   Volker Lendecke <vl@samba.org>
1224     * Fix uninitialized memory read in talloc_free().
1225     * BUG 8567: Fix segfault in dom_sid_compare.
1226     * BUG 8733: Delete streams on directories (streams_depot).
1227     * BUG 8760: Add SERVERID_UNIQUE_ID_NOT_TO_VERIFY.
1228     * BUG 8836: Fix segfaults on "smbcontrol close-share" in aio_fork.
1229     * BUG 8861: Fix a segfault with debug level 3 on Solaris.
1230     * BUG 8904: Fix Winbind crash triggered by 'wbinfo --lookup-sids ""'.
1231     * BUG 8998: Notify code can miss a ChDir.
1232
1233
1234 o   Stefan Metzmacher <metze@samba.org>
1235     * BUG 8139: Ignore SMBecho errors (the server may not support it).
1236     * BUG 8527: db_ctdb_traverse fails to traverse records created within the
1237       current transaction.
1238     * BUG 8311: Winzip occasionally can not read files out of an open winzip
1239       dialog.
1240     * BUG 8739: Fill the sids array of the info in
1241       wbcAuthUserInfo_to_netr_SamInfo3().
1242     * BUG 8749: Sign non guest sessions in SessionSetup.
1243     * BUG 8995: Use fsp_persistent_id() as persistent_file_id part for SMB2.
1244
1245
1246 o   Matthieu Patou <mat@matws.net>
1247     * BUG 8599: Set the can_do_validation6 also for trusted domain.
1248     * BUG 8714: Catch with pid filename's change when config file is not
1249       smb.conf.
1250     * BUG 8734: Don't try to do clever thing if the username is not found while
1251       authenticating through Winbind.
1252     * BUG 8771: Winbind takes up to 20 minutes to change from DC 1 to DC 2.
1253     * BUG 8975: Call dump_core_setup after command line option has been parsed.
1254
1255
1256 o   SATOH Fumiyasu <fumiyas@osstech.co.jp>
1257     * BUG 8826: Prepend '/' to filename argument (docs).
1258
1259
1260 o   Andreas Schneider <asn@samba.org>
1261     * BUG 8944 and 8567: Don't lookup the system user in pdb.
1262
1263
1264 o   Richard Sharpe <realrichardsharpe@gmail.com>
1265     * BUG 8768: Honor SeTakeOwnershipPrivilege when file opened with
1266       SEC_STD_WRITE_OWNER.
1267     * BUG 8797: Correctly handle DENY ACEs when privileges apply.
1268     * BUG 8822: Fix building out-of-tree modules.
1269     * BUG 8945: vfs_acl_common discards errors from writing to the underlying
1270       storage.
1271     * BUG 8970: Fix possible memory leaks in the Samba master process.
1272
1273
1274 o   Simo Sorce <idra@samba.org>
1275     * BUG 8915: Fix pam_winbind build against newer iniparser library.
1276
1277
1278 o   Joseph Tam <jtam.home@gmail.com>
1279     * BUG 8877: Syslog broken owing to mistyping of debug_settings.syslog.
1280
1281
1282 o   Ralph Wuerthner <ralph.wuerthner@de.ibm.com>
1283     * BUG 8845: Move print_backend_init() behind init_system_info().
1284
1285
1286 ######################################################################
1287 Reporting bugs & Development Discussion
1288 #######################################
1289
1290 Please discuss this release on the samba-technical mailing list or by
1291 joining the #samba-technical IRC channel on irc.freenode.net.
1292
1293 If you do report problems then please try to send high quality
1294 feedback. If you don't provide vital information to help us track down
1295 the problem then you will probably be ignored.  All bug reports should
1296 be filed under the Samba 3.6 product in the project's Bugzilla
1297 database (https://bugzilla.samba.org/).
1298
1299
1300 ======================================================================
1301 == Our Code, Our Bugs, Our Responsibility.
1302 == The Samba Team
1303 ======================================================================
1304
1305
1306 ----------------------------------------------------------------------
1307
1308
1309                    =============================
1310                    Release Notes for Samba 3.6.5
1311                           April 30, 2012
1312                    =============================
1313
1314
1315 This is a security release in order to address
1316 CVE-2012-2111 (Incorrect permission checks when granting/removing
1317 privileges can compromise file server security).
1318
1319 o  CVE-2012-2111:
1320    Samba 3.4.x to 3.6.4 are affected by a
1321    vulnerability that allows arbitrary users
1322    to modify privileges on a file server.
1323
1324
1325 Changes since 3.6.4:
1326 --------------------
1327
1328
1329 o   Jeremy Allison <jra@samba.org>
1330     * Fix  incorrect permission checks when granting/removing
1331       privileges (CVE-2012-2111).
1332
1333
1334 ######################################################################
1335 Reporting bugs & Development Discussion
1336 #######################################
1337
1338 Please discuss this release on the samba-technical mailing list or by
1339 joining the #samba-technical IRC channel on irc.freenode.net.
1340
1341 If you do report problems then please try to send high quality
1342 feedback. If you don't provide vital information to help us track down
1343 the problem then you will probably be ignored.  All bug reports should
1344 be filed under the Samba 3.6 product in the project's Bugzilla
1345 database (https://bugzilla.samba.org/).
1346
1347
1348 ======================================================================
1349 == Our Code, Our Bugs, Our Responsibility.
1350 == The Samba Team
1351 ======================================================================
1352
1353
1354 ----------------------------------------------------------------------
1355
1356
1357                    =============================
1358                    Release Notes for Samba 3.6.4
1359                           April 10, 2012
1360                    =============================
1361
1362
1363 This is a security release in order to address
1364 CVE-2012-1182 ("root" credential remote code execution).
1365
1366 o  CVE-2012-1182:
1367    Samba 3.0.x to 3.6.3 are affected by a
1368    vulnerability that allows remote code
1369    execution as the "root" user.
1370
1371
1372 Changes since 3.6.3:
1373 --------------------
1374
1375
1376 o   Stefan Metzmacher <metze@samba.org>
1377     *BUG 8815: PIDL based autogenerated code allows overwriting beyond of
1378      allocated array (CVE-2012-1182).
1379
1380
1381 ######################################################################
1382 Reporting bugs & Development Discussion
1383 #######################################
1384
1385 Please discuss this release on the samba-technical mailing list or by
1386 joining the #samba-technical IRC channel on irc.freenode.net.
1387
1388 If you do report problems then please try to send high quality
1389 feedback. If you don't provide vital information to help us track down
1390 the problem then you will probably be ignored.  All bug reports should
1391 be filed under the Samba 3.6 product in the project's Bugzilla
1392 database (https://bugzilla.samba.org/).
1393
1394
1395 ======================================================================
1396 == Our Code, Our Bugs, Our Responsibility.
1397 == The Samba Team
1398 ======================================================================
1399
1400
1401 ----------------------------------------------------------------------
1402
1403
1404                    =============================
1405                    Release Notes for Samba 3.6.3
1406                          January 29, 2012
1407                    =============================
1408
1409
1410 This is a security release in order to address
1411 CVE-2012-0817 (Memory leak/Denial of service).
1412
1413 o  CVE-2012-0817:
1414    The Samba File Serving daemon (smbd) in Samba versions
1415    3.6.0 to 3.6.2 is affected by a memory leak that can
1416    cause a server denial of service.
1417
1418
1419 Changes since 3.6.2:
1420 --------------------
1421
1422
1423 o   Jeremy Allison <jra@samba.org>
1424     * BUG 8724: Fix memory leak in parent smbd on connection.
1425
1426
1427 o   Ira Cooper <samba@ira.wakeful.net>
1428     * BUG 8724: Fix memory leak in parent smbd on connection.
1429
1430
1431 ######################################################################
1432 Reporting bugs & Development Discussion
1433 #######################################
1434
1435 Please discuss this release on the samba-technical mailing list or by
1436 joining the #samba-technical IRC channel on irc.freenode.net.
1437
1438 If you do report problems then please try to send high quality
1439 feedback. If you don't provide vital information to help us track down
1440 the problem then you will probably be ignored.  All bug reports should
1441 be filed under the Samba 3.6 product in the project's Bugzilla
1442 database (https://bugzilla.samba.org/).
1443
1444
1445 ======================================================================
1446 == Our Code, Our Bugs, Our Responsibility.
1447 == The Samba Team
1448 ======================================================================
1449
1450
1451 ----------------------------------------------------------------------
1452
1453
1454                    =============================
1455                    Release Notes for Samba 3.6.2
1456                          January 25, 2012
1457                    =============================
1458
1459
1460 This is the latest stable release of Samba 3.6.
1461
1462 Major enhancements in Samba 3.6.2 include:
1463
1464 o  Make Winbind receive user/group information (bug #8371).
1465 o  Several SMB2 fixes.
1466
1467
1468 Changes since 3.6.1:
1469 --------------------
1470
1471
1472 o   Michael Adam <obnox@samba.org>
1473     * BUG 8528: Fix SEGFAULT from net registry export on not zero terminated
1474       REG_SZ values.
1475
1476
1477 o   Jeremy Allison <jra@samba.org>
1478     * BUG 8541: readlink() on Linux clients fails if the symlink target is
1479       outside of the share.
1480     * BUG 8542: smbclient posix_open command fails to return correct info on
1481       open file.
1482     * BUG 8548: winbind_samlogon_retry_loop ignores logon_parameters flags.
1483     * BUG 8561: Password change settings not fully observed.
1484     * BUG 8562: Fix double free error in talloc.
1485     * BUG 8614: Ensure we correctly calculate reply credits over all returned
1486       SMB2 replies.
1487     * BUG 8631: POSIX ACE x permission becomes rx following mapping to and from
1488       a DACL.
1489     * BUG 8636: When returning an ACL without SECINFO_DACL requested, we still
1490       set SEC_DESC_DACL_PRESENT in the type field.
1491     * BUG 8644: vfs_acl_xattr and vfs_acl_tdb modules can fail to add
1492       inheritable entries on a directory with no stored ACL.
1493     * BUG 8663: Fix deleting a symlink if the symlink target is outside of
1494     * the share.
1495     * BUG 8664: Fix renaming a symlink if the symlink target is outside of
1496       the share.
1497     * BUG 8673: Fix NT ACL issue.
1498     * BUG 8674: Fix buffer overflow issue with AES encryption in samba traffic
1499       analyzer.
1500     * BUG 8679: recvfile code path using splice() on Linux leaves data in the
1501       pipe on short write.
1502     * BUG 8687: Fix typo in 'net memberships' usage.
1503     * BUG 8710: Fix major leak with SMB2 in connections.tdb.
1504     * Fix a crash bug in the spoolss code.
1505     * Add new contributing FAQ announcing acceptance of corporate (C).
1506
1507
1508 o   Christian Ambach <ambi@samba.org>
1509     * BUG 8444: Add an allocation pool to idmap_autorid.
1510     * BUG 8585: Increase a debug level.
1511
1512
1513 o   Andrew Bartlett <abartlet@samba.org>
1514     * BUG 8623: Fix crash bug when trying to browse Samba printers.
1515
1516
1517 o   Björn Baumbach <bb@sernet.de>
1518     * BUG 8580: Enable inotify if sys or kernel inotify is available.
1519     * BUG 8618: Fix migrate printer code.
1520
1521
1522 o   Gregor Beck <gbeck@sernet.de>
1523     * BUG 8528: Fix SEGFAULT from net registry export on not zero terminated
1524       REG_SZ values.
1525
1526
1527 o   Günther Deschner <gd@samba.org>
1528     * BUG 7465: Remove pointless use_memory_krb5_ccache.
1529     * BUG 8176: Fix perl path.
1530     * BUG 8591: Fix marshalling of samr_ChangePasswordUser3.
1531     * BUG 8692: libads: Fix malloc/talloc mismatch in
1532       ads_keytab_verify_ticket().
1533
1534
1535 o   David Disseldorp <ddiss@suse.de>
1536     * BUG 4942: DeletePrinterDriverEx deletes files in use.
1537     * BUG 8575: Add systemd service files.
1538     * BUG 8606: Fix intermittent print job failures caused by character
1539       conversion errors.
1540     * BUG 8697: Make DeletePrinterDriverEx remove printer driver files.
1541
1542
1543 o   Björn Jacke <bj@sernet.de>
1544     * BUG 8531: Make DSO_EXPORTS_CMD more portable.
1545     * BUG 8616: Allow to set TCP_NODELAYACK socket option on AIX.
1546     * BUG 8652: Document the "ignore system acls" option of vfs_acl_xattr and
1547       vfs_acl_tdb vfs modules.
1548
1549
1550 o   Frank Lahm <franklahm@googlemail.com>
1551     * BUG 8419: Make VFS op "streaminfo" stackable.
1552
1553
1554 o   Volker Lendecke <vl@samba.org>
1555     * BUG 8371: Make Winbind receive user/group information.
1556     * BUG 8639: Fix the vfs_commit module.
1557     * BUG 8686: Packet validation checks can be done before length validation
1558       causing uninitialized memory read.
1559
1560
1561 o   Stefan Metzmacher <metze@samba.org>
1562     * BUG 5326: Fix cli_write_and_x() against OS/2 print shares.
1563     * BUG 8357: Grant credits in async interim responses (SMB2).
1564     * BUG 8560: Make SMB2 handle compound request headers in the same way
1565       as Windows.
1566     * BUG 8573: Fix alignment in the non-extended-security negprot.
1567     * BUG 8586: libsmb: Only align unicode pipe_name.
1568     * BUG 8579: smb2_flush: Don't send uninitialized memory.
1569     * BUG 8592: Don't limit the number of open dptrs for SMB2.
1570     * BUG 8593: Fix a crash bug in cldap_socket_recv_dgram().
1571     * BUG 8684: Try ctdbd_init_connection() as root.
1572
1573
1574 o   Masafumi Nakayama <MASA23@jp.ibm.com>
1575     * BUG 563: Fix 'smbclient tar' for files greater than 8GB on BE machines.
1576
1577
1578 o   Matthieu Patou <mat@matws.net>
1579     * BUG 8600: Make cldap work over IPv6.
1580     * BUG 8674: Fix buffer overflow issue with AES encryption in samba traffic
1581       analyzer.
1582
1583
1584 o   Andreas Schneider <asn@samba.org>
1585     * BUG 8550: Fix setting the machine account password.
1586     * BUG 8575: Add systemd service files.
1587     * BUG 8608: Winbind: Don't fail on users without a uid.
1588     * BUG 8628: libsmb: Don't duplicate Kerberos service tickets.
1589     * BUG 8643: Add an update function for Winbind cache.
1590     * BUG 8678: Fix Winbind segfault if we can't map the last user.
1591
1592
1593 o   Karolin Seeger <kseeger@samba.org>
1594     * BUG 7705: Fix some RHEL packaging issues.
1595
1596
1597 o   Richard Sharpe <realrichardsharpe@gmail.com>
1598     * BUG 8607: Improve configure.in so it can be used outside the Samba source
1599       tree.
1600
1601
1602 o   Brad Smith <brad@comstyle.com>
1603     * BUG 8525: Fix bug with sys_fseek() wrapper on *BSD / OS X).
1604
1605
1606 o   Henry Wong <henry@stuffedcow.net>
1607     * BUG 8384: Fix Windows XP clients crashing smbd process every once in a
1608       while.
1609
1610
1611 ######################################################################
1612 Reporting bugs & Development Discussion
1613 #######################################
1614
1615 Please discuss this release on the samba-technical mailing list or by
1616 joining the #samba-technical IRC channel on irc.freenode.net.
1617
1618 If you do report problems then please try to send high quality
1619 feedback. If you don't provide vital information to help us track down
1620 the problem then you will probably be ignored.  All bug reports should
1621 be filed under the Samba 3.6 product in the project's Bugzilla
1622 database (https://bugzilla.samba.org/).
1623
1624
1625 ======================================================================
1626 == Our Code, Our Bugs, Our Responsibility.
1627 == The Samba Team
1628 ======================================================================
1629
1630
1631 ----------------------------------------------------------------------
1632
1633
1634                    =============================
1635                    Release Notes for Samba 3.6.1
1636                           October 20, 2011
1637                    =============================
1638
1639
1640 This is the latest stable release of Samba 3.6.
1641
1642 Major enhancements in Samba 3.6.1 include:
1643
1644 o  Fix smbd crashes triggered by Windows XP clients (bug #8384).
1645 o  Fix a Winbind race leading to 100% CPU load (bug #8409).
1646 o  Several SMB2 fixes.
1647 o  The VFS ACL modules are no longer experimental but production-ready.
1648
1649
1650 Changes since 3.6.0:
1651 --------------------
1652
1653
1654 o   Michael Adam <obnox@samba.org>
1655     * BUG 8368: Fix the fallback to the deprecated spelling idmap:script.
1656
1657
1658 o   Jeremy Allison <jra@samba.org>
1659     * BUG 7509: smb_acl_to_posix: ACL is invalid for set (Invalid argument).
1660     * BUG 8229: Fix 'widelinks' regression.
1661     * BUG 8370: Fix vfs_chown_fsp.
1662     * BUG 8412: Fix "saving as" of MS Office 2007 (Word) documents on Samba
1663       shares with SMB2.
1664     * BUG 8422: Fix infinite loop in ACL module code.
1665     * BUG 8429: Compound SMB2 requests on an IPC connection can corrupt the
1666       reply stream.
1667     * BUG 8443: Be smarter about setting default permissions when a ACL_USER_OBJ
1668       isn't given.
1669     * BUG 8453: Fix smbclient segfaults when dialect option -m is used for
1670       legacy dialects.
1671     * BUG 8458: IE9 on Windows 7 cannot download files to samba 3.5.11 share.
1672     * BUG 8473: smb2_find uses a hard coded max reply size of 0x10000 instead of
1673       smb2_max_trans.
1674     * BUG 8474: SMB2 create doesn't cope with an Apple client using NULL blob in
1675       create.
1676     * BUG 8476: Samba asserts when SMB2 client breaks the crediting rules.
1677     * BUG 8477: Map to guest can return uninitialized blob of data.
1678     * BUG 8493: DFS breaks zip file extracting unless "follow symlinks = no"
1679       set.
1680     * BUG 8494: Remove "experimental" label on VFS ACL modules.
1681     * BUG 8507: smbd doesn't correctly honor the "force create mode" bits from a
1682       cifsfs create.
1683     * BUG 8509: Read-only handles on SAMR allow SAMR_DOMAIN_ACCESS_CREATE_USER.
1684     * BUG 8521: Winbind cache timeout expiry test was reversed.
1685
1686
1687 o   Christian Ambach <ambi@samba.org>
1688     * BUG 8428: Fix wrong reply to DHnC (durable handle reconnect).
1689     * BUG 8518: SMB2 create call returns incorrect file allocation size.
1690
1691
1692 o   Björn Baumbach <bb@sernet.de>
1693     * BUG 8364: Fix the build of gpfs.c on RHEL 6.0 with gpfs 3.4.0-4.
1694
1695
1696 o   Bram <fnzon@lists.wizbit.be>
1697     * BUG 7551: Return error of cli_push when 'put - /some/file' is used.
1698
1699
1700 o   Ira Cooper <ira@wakeful.net>
1701     * BUG 8395: Optimize serverid_exists() for Solaris.
1702     * BUG 8442: NFSv4 DENY ACLs always include SYNCHRONIZE flag - blocking
1703       renames.
1704
1705
1706 o   Günther Deschner <gd@samba.org>
1707     * BUG 8401: registry/reg_format.c must include includes.h.
1708     * BUG 7465: Fix 'net ads join -k' when KRB5CCNAME is not set.
1709
1710
1711 o   David Disseldorp <ddiss@suse.de>
1712     * BUG 8480: acl_xattr can free an invalid pointer if no blob is loaded.
1713     * BUG 8520: Fix SMB2 SMB2_OP_GETINFO and SMB2_OP_IOCTL parsing requirements.
1714
1715
1716 o   Wilco Baan Hofman <wilco@baanhofman.nl>
1717     * BUG 8455: Fix uninitialized memory problem in group_sids_to_info3.
1718
1719
1720 o   Björn Jacke <bj@sernet.de>
1721     * BUG 8256: Add man vfs_aio_fork.
1722     * BUG 8363: Fix build of vfs_prealloc on SLES8.
1723
1724
1725 o   Volodymyr Khomenko <Volodymyr_Khomenko@dell.com>
1726     * BUG 8515: Disallow "." in can_set_delete_on_close().
1727
1728
1729 o   Volker Lendecke <vl@samba.org>
1730     * BUG 7864: Fix usage of cli_errstr().
1731     * BUG 8334: smb2: smbd logs "Invalid SMB packet: first request: 0x0008" and crashes.
1732     * BUG 8338: Add a fallback for missing open&x support in MAC OS/X Lion.
1733     * BUG 8360: OS/2 sends an unexpected write&x/read&x chain.
1734     * BUG 8385: Fix smbclient access to NT4 shares.
1735     * BUG 8409: Fix a Winbind race leading to 100% CPU load.
1736     * BUG 8420: Fix 'getent group' if trusted domains are not reachable.
1737     * BUG 8433: Fix segfault in iconv.c.
1738     * BUG 8455: Samba PDC is looking up only primary user group.
1739
1740
1741 o   Herb Lewis <hlewis@panasas.com>
1742     * BUG 8365: Fix warning messages on Freebsd 4.6.2.
1743
1744
1745 o   Stefan Metzmacher <metze@samba.org>
1746     * BUG 8407: SMB2 server can return requests out-of-order when processing
1747       a compound request.
1748     * BUG 8452: Check the wct of the incoming SMBnegprot responses.
1749     * BUG 8473: smb2_find uses a hard coded max reply size of 0x10000 instead of
1750       smb2_max_trans.
1751     * BUG 8476: Don't call smbd_terminate_connection in
1752       smb2_validate_message_id().
1753     * BUG 8503: SMB2_OP_CANCEL requests don't have to be signed.
1754     * BUG 8520: Fix SMB2 SMB2_OP_GETINFO and SMB2_OP_IOCTL parsing requirements.
1755
1756
1757 o   SATOH Fumiyasu <fumiyas@osstech.co.jp>
1758     * BUG 8390: Fix the build of vfs_aixacl2.c.
1759
1760
1761 o   Andreas Schneider <asn@samba.org>
1762     * BUG 8236: Empty notify servername.
1763     * BUG 8351: While migrating forms, don't fail if the form already exists.
1764
1765
1766 o   Andrew Tridgell <tridge@samba.org>
1767     * BUG 8384: Fix smbd crashes triggered by Windows XP clients.
1768
1769
1770 ######################################################################
1771 Reporting bugs & Development Discussion
1772 #######################################
1773
1774 Please discuss this release on the samba-technical mailing list or by
1775 joining the #samba-technical IRC channel on irc.freenode.net.
1776
1777 If you do report problems then please try to send high quality
1778 feedback. If you don't provide vital information to help us track down
1779 the problem then you will probably be ignored.  All bug reports should
1780 be filed under the Samba 3.6 product in the project's Bugzilla
1781 database (https://bugzilla.samba.org/).
1782
1783
1784 ======================================================================
1785 == Our Code, Our Bugs, Our Responsibility.
1786 == The Samba Team
1787 ======================================================================
1788
1789
1790 ----------------------------------------------------------------------
1791
1792
1793                    =============================
1794                    Release Notes for Samba 3.6.0
1795                           August 9, 2011
1796                    =============================
1797
1798
1799 This is the first release of Samba 3.6.0.
1800
1801 Major enhancements in Samba 3.6.0 include:
1802
1803
1804 Changed security defaults
1805 -------------------------
1806
1807 Samba 3.6 has adopted a number of improved security defaults that will
1808 impact on existing users of Samba.
1809
1810  client ntlmv2 auth = yes
1811  client use spnego principal = no
1812  send spnego principal = no
1813
1814 The impact of 'client ntlmv2 auth = yes' is that by default we will not
1815 use NTLM authentication as a client.  This applies to the Samba client
1816 tools such as smbclient and winbind, but does not change the separately
1817 released in-kernel CIFS client.  To re-enable the poorer NTLM encryption
1818 set '--option=clientusentlmv2auth=no' on your smbclient command line, or
1819 set 'client ntlmv2 auth = no' in your smb.conf
1820
1821 The impact of 'client use spnego principal = no' is that Samba will
1822 use CIFS/hostname to obtain a kerberos ticket, acting more like
1823 Windows when using Kerberos against a CIFS server in smbclient,
1824 winbind and other Samba client tools.  This will change which servers
1825 we will successfully negotiate kerberos connections to.  This is due
1826 to Samba no longer trusting a server-provided hint which is not
1827 available from Windows 2008 or later.  For correct operation with all
1828 clients, all aliases for a server should be recorded as a as a
1829 servicePrincipalName on the server's record in AD.  (For this reason,
1830 this behavior change and parameter was also made in Samba 3.5.9)
1831
1832 The impact of 'send spnego principal = no' is to match Windows 2008 and
1833 not to send this principal, making existing clients give more consistent
1834 behaviour (more likely to fall back to NTLMSSP) between Samba and
1835 Windows 2008, and between Windows versions that did and no longer use
1836 this insecure hint.
1837
1838
1839 SMB2 support
1840 ------------
1841
1842 SMB2 support in 3.6.0 is fully functional (with one omission),
1843 and can be enabled by setting:
1844
1845 max protocol = SMB2
1846
1847 in the [global] section of your smb.conf and re-starting
1848 Samba. All features should work over SMB2 except the modification
1849 of user quotas using the Windows quota management tools.
1850
1851 As this is the first release containing what we consider
1852 to be a fully featured SMB2 protocol, we are not enabling
1853 this by default, but encourage users to enable SMB2 and
1854 test it. Once we have enough confirmation from Samba
1855 users and OEMs that SMB2 support is stable in wide user
1856 testing we will enable SMB2 by default in a future Samba
1857 release.
1858
1859
1860 Internal Winbind passdb changes
1861 -------------------------------
1862
1863 Winbind has been changed to use the internal samr and lsa rpc pipe to get
1864 local user and group information instead of calling passdb functions. The
1865 reason is to use more of our infrastructure and test this infrastructure by
1866 using it. With this approach more code in Winbind is shared.
1867
1868
1869 New Spoolss code
1870 ----------------
1871
1872 The spoolss and the old RAP printing code have been completely
1873 overhauled and refactored.
1874
1875 All calls from lanman/printing code has been changed to go through the
1876 spoolss RPC interfaces, this allows us to keep all checks in one place
1877 and avoid special cases in the main printing code.
1878 Printing code has been therefore confined within the spoolss code.
1879
1880 All the printing code, including the spoolss RPC interfaces has been
1881 changed to use the winreg RPC interfaces to store all data.
1882 All data has been migrated from custom, arbitrary TDB files to the
1883 registry interface. This transition allow us to present correct data to
1884 windows client accessing the server registry through the winreg RPC
1885 interfaces to query for printer data. Data is served out from a real
1886 registry implementation and therefore arguably 100% forward compatible.
1887
1888 Migration code from the previous TDB files formats is provided. This
1889 code is automatically invoked the first time the new code is run on the
1890 server. Although manual migration is also available using the 'net
1891 printer migrate' command.
1892
1893 These changes not only make all the spoolss code much more closer to
1894 "the spec", it also greatly improves our internal testing of both
1895 spoolss and winreg interfaces, and reduces overall code duplication.
1896
1897 As part of this work, new tests have been also added to increase
1898 coverage.
1899
1900 This code will also allow, in future, an easy transition to split out
1901 the spooling functions into a separate daemon for those OEMs that do not
1902 need printing functionality in their appliances, reducing the code
1903 footprint.
1904
1905
1906 ID Mapping Changes
1907 ------------------
1908
1909 The id mapping configuration has been a source of much grief in the past.
1910 For this release, id mapping has been rewritten yet again with the goal
1911 of making the configuration more simple and more coherent while keeping
1912 the needed flexibility and even adding to the flexibility in some respects.
1913
1914 The major change that implies the configuration simplifications is at
1915 the heart of the id mapping system: The separation of the "idmap alloc
1916 system" that is responsible for the unix id counters in the tdb, tdb2
1917 and ldap idmap backends from the id mapping code itself has been removed.
1918 The sids_to_unixids operation is now atomic and encapsulates (if needed)
1919 the action of allocating a unix id for a mapping that is to be created.
1920 Consequently all idmap alloc configuration parameters have vanished and
1921 it is hence now also not possible any more to specify an idmap alloc
1922 backend different from the idmap backend. Each idmap backend uses its
1923 own idmap unixid creation mechanism transparently.
1924
1925 As a consequence of the id mapping changes, the methods that are used
1926 for storing and deleting id mappings have been removed from the winbindd
1927 API. The "net idmap dump/restore" commands have been rewritten to
1928 not speak through winbindd any more but directly act on the databases.
1929 This is currently available for the tdb and tdb2 backends, the implementation
1930 for ldap still missing.
1931
1932 The allocate_id functionality is preserved for the unix id creator of the
1933 default idmap configuration is also used as the source of unix ids
1934 for the group mapping database and for the posix attributes in a
1935 ldapsam:editposix setup.
1936
1937 As part of the changes, the default idmap configuration has been
1938 changed to be more coherent with the per-domain configuration.
1939 The parameters "idmap uid", "idmap gid" and "idmap range" are now
1940 deprecated in favour of the systematic "idmap config * : range"
1941 and "idmap config * : backend" parameters. The reason for this change
1942 is that the old options only provided an incomplete and hence deceiving
1943 backwards compatibility, which was a source of many problems with
1944 upgrades. By introducing this change in configuration, it should be
1945 brought to the conciousness of the users that even the simple
1946 id mapping is not working exactly as in Samba 3.0 versions any more.
1947
1948
1949 Endpoint Mapper
1950 ---------------
1951
1952 As Microsoft is more and more relying on endpoint mapper and we didn't have a
1953 complete implementation we decided to create an instance for Samba. The
1954 endpoint mapper is like a DNS server but for ports. If you want to talk to a
1955 certain RPC service over TCP/IP, you just ask the endpoint mapper on which
1956 port it is running. Then you can connect to the service and make sure that it
1957 is running.
1958
1959 The code is deactivated by default, because it needs more testing and it
1960 doesn't scale yet. If you want to enable and test the endpoint mapper
1961 you can set "rpc_server:epmapper = daemon" in the smb.conf file.
1962
1963
1964 Internal restructuring
1965 ----------------------
1966
1967 Ongoing internal restructuring for better separation of internal subsystem to
1968 achieve a faster build, smaller binaries and cleaner dependencies for the samba3
1969 waf build.
1970
1971
1972 SMB Traffic Analyzer
1973 --------------------
1974
1975 Added the new SMB Traffic Analyzer (SMBTA) VFS module protocol 2
1976 featuring encryption, multiple arguments, and easier parseability. A new
1977 tool 'smbta-util' has been created to control the encryption behaviour
1978 of SMBTA. For compatibility, SMBTA by default operates on version 1.
1979 There are programs consuming the data that the module sends.
1980
1981 More information can be found on
1982 http://holger123.wordpress.com/smb-traffic-analyzer/
1983
1984
1985 NFS quota backend on Linux
1986 --------------------------
1987
1988 A new nfs quota backend for Linux has been added that is based
1989 on the existing Solaris/FreeBSD implementation. This allows samba
1990 to communicate correct diskfree information for nfs imports that
1991 are re-exported as samba shares.
1992
1993
1994 ######################################################################
1995 Changes
1996 #######
1997
1998 smb.conf changes
1999 ----------------
2000
2001    Parameter Name                      Description     Default
2002    --------------                      -----------     -------
2003
2004    async smb echo handler              New             No
2005    client ntlmv2 auth                  Changed Default Yes
2006    client use spnego principal         New             No
2007    ctdb locktime warn threshold        New             0
2008    idmap alloc backend                 Removed
2009    log writeable files on exit         New             No
2010    multicast dns register              New             Yes
2011    ncalrpc dir                         New
2012    send spnego principal               New             No
2013    smb2 max credits                    New             8192
2014    smb2 max read                       New             1048576
2015    smb2 max trans                      New             1048576
2016    smb2 max write                      New             1048576
2017    username map cache time             New             0
2018    winbind max clients                 New             200
2019
2020    The variable substitutions for %i and %I no longer
2021    use IPv4 addresses mapped to IPv6, e.g. '::ffff:192.168.0.1',
2022    if the host has IPv6 enabled. Now %i and %I contain just
2023    '192.168.0.1'.
2024
2025 Commit Highlights
2026 -----------------
2027
2028 o   Michael Adam <obnox@samba.org>
2029     * ID Mapping changes.
2030
2031
2032 o   Jeremy Allison <jra@samba.org>
2033     * Implement SMB2 support.
2034
2035
2036 o   Stefan Metzmacher <metze@samba.org>
2037     * Implement SMB2 support.
2038
2039
2040 o   Andreas Schneider <asn@samba.org>
2041     * Add an Endpoint Mapper daemon.
2042
2043
2044 Changes since 3.6.0rc3
2045 ----------------------
2046
2047 o   Michael Adam <obnox@samba.org>
2048     * BUG 8327: Fix the reload of the configuration, also reload activated
2049       registry shares.
2050     * BUG 8328: Cleanup of idmap_tdb2 code.
2051
2052
2053 o   Jeremy Allison <jra@samba.org>
2054     * BUG 7462: Make SA_RESETHAND conditional on its existance.
2055     * BUG 8324: smbclient cannot list directories from a big-endian machine.
2056     * BUG 8335: File copy aborts with smb2_validate_message_id: bad message_id.
2057
2058
2059 o   Christian Ambach <ambi@samba.org>
2060     * BUG 8330: Fix NFSv4 ACL merging logic.
2061
2062
2063 o   Andrew Bartlett <abartlet@samba.org>
2064     * BUG 8326: WinXP cannot join a Samba3 domain with a 'even' hostname.
2065
2066
2067 o   Björn Baumbach <bb@sernet.de>
2068     * BUG 8303: db_ctdb_send_schedule_for_deletion() is not defined.
2069
2070
2071 o   Alban Browaeys <prahal@yahoo.com>
2072     * BUG 8341: Fix segfault in libsmbclient.
2073
2074
2075 o   Björn Jacke <bj@sernet.de>
2076     * BUG 8362: Fix build issue on old glibc systems.
2077
2078
2079 o   Volker Lendecke <vlendec@samba.org>
2080     * BUG 8343: Fix SMB2 crash reading with aio_fork beyond the end of file.
2081
2082
2083 o   Stefan Metzmacher <metze@samba.org>
2084     * BUG 8347: Fix regression for HP-UX, AIX and OSF.
2085     * BUG 8357: Make sure we grant credits on async read/write operations.
2086     * BUG 8358: Fix a bug in run_poll_events().
2087
2088
2089 Changes since 3.6.0rc2
2090 ----------------------
2091
2092 o   Michael Adam <obnox@samba.org>
2093     * BUG 8213: Fixes in idmap_autorid.
2094     * BUG 8217: Do not stat-check the share path in 'net conf addshare'.
2095     * BUG 8281: Fix build of examples/VFS/*.
2096
2097
2098 o   Jeremy Allison <jra@samba.org>
2099     * BUG 8083: Fix "inherit owner = yes" with vfs_acl_xattr or vfs_acl_tdb
2100       module.
2101     * BUG 8211: Fix "inherit owner = yes" when "inherit permissions = yes"
2102       is set.
2103     * BUG 8219: Fix SMB Panic from Windows 7 client.
2104     * BUG 8254: Fix "acl check permissions = no".
2105     * BUG 8293: Fix log file rotating in SMB2.
2106     * BUG 8304: Fix uninitialized variable in error path.
2107     * BUG 8307: brl_close_fnum does not call SMB_VFS_BRL_UNLOCK_WINDOWS on all
2108       locks.
2109     * BUG 8310: toupper_ascii() is broken on big-endian systems.
2110     * BUG 8314: Fix smbd crash with unknown user.
2111
2112
2113 o   Christian Ambach <ambi@samba.org>
2114     * BUG 8231: Fix crash bug in 'net cache get'.
2115     * BUG 8244: Fix copying files larger than 2 GB to a Samba share.
2116     * BUG 8263: Fix build with --with-fake-kaserver or --with-vfs-afsacl.
2117     * BUG 8278: Fix smbd panic when CTDB is unhealthy.
2118     * BUG 8286: Fix smbd crash on premature end of smb2 conn.
2119
2120
2121 o   Andrew Bartlett <abartlet@samba.org>
2122     * BUG 8230: Move .nmbd socket directory to non-hidden name PREFIX/var/nmbd.
2123     * Mark 'time offset' parameter as deprecated.
2124
2125
2126 o   Gregor Beck <gbeck@sernet.de>
2127     * BUG 8193: Add new command 'enumerate_recursive'.
2128     * BUG 8253: Fix Winbind panic if verify_idpool() fails.
2129
2130
2131 o   Kai Blin <kai@samba.org>
2132     * BUG 8289: Fix possible XSS attack (CVE-2011-2694).
2133     * BUG 8290: Fix Cross-Site Request Forgery in SWAT (CVE-2011-2522).
2134
2135
2136 o   Günther Deschner <gd@samba.org>
2137     * BUG 7888: Deal with buggy 3.0 based PDCs.
2138     * BUG 8214: Fix smbd crash on printer driver upgrade.
2139     * BUG 8235: Fix smbd crash on startup caused by migrate_printer().
2140
2141
2142 o   Björn Jacke <bj@sernet.de>
2143     * BUG 8262: Fix build of vfs_commit.
2144
2145
2146 o   Günter Kukkukk <linux@kukkukk.com>
2147     * BUG 8305: Fix segfault in nmbd when using 'smbtree ...'..
2148
2149
2150 o   Volker Lendecke <vl@samba.org>
2151     * BUG 7841: Explicitly pass domain_sid to wbint_LookupRids().
2152     * BUG 8102: Do not allow to change file ACLs from normal domusers.
2153     * BUG 8247: Fix Coverity ID 2582: FORWARD_NULL.
2154
2155
2156 o   Herb Lewis <hlewis@panasas.com>
2157     * BUG 8216: Make Winbind returning correct results with 'sids2xids'.
2158
2159
2160 o   Stefan Metzmacher <metze@samba.org>
2161     * BUG 8102: Do not allow to change file ACLs from normal domusers.
2162     * BUG 8195: Make rpc client code working against NT4 servers.
2163     * BUG 8224: Fix the build on FreeBSD.
2164     * BUG 8226: Use c99 initializers which are supported by old gcc 2.95
2165       compilers.
2166     * BUG 8260: Fix DCERPC responses with fragments larger than 1024 bytes.
2167     * BUG 8264: Fix Valgrind bugs in svcctl.
2168     * BUG 8276: Close all sockets attached to a subnet in close_subnet().
2169     * BUG 8292: Fix a major architectural flaw in the SMB2 server code.
2170
2171
2172 o   Andreas Schneider <asn@samba.org>
2173     * BUG 8215: Fix Winbind unix username lookup.
2174     * BUG 8240: Fix Valgrind warnings in winreg/spoolss code.
2175
2176
2177 Changee since 3.6.0rc1
2178 ----------------------
2179
2180 o   Michael Adam <obnox@samba.org>
2181     * BUG 8200: Add support for multiple writeable ldap idmap domains.
2182
2183
2184 o   Jeremy Allison <jra@samba.org>
2185     * BUG 6911: Fix Kerberos authentication from Vista to Samba.
2186     * BUG 7054: Fix X account flag when "pwdlastset" is "0".
2187     * BUG 8133: Fix strange behavior for the file (whose filename first
2188       character is period ) in SMB2 case.
2189     * BUG 8144: Fix setting timestamp when touching files with CIFS clients.
2190     * BUG 8150: Ban "dos charset = utf8".
2191     * BUG 8153: Fix setting up getaddrinfo on IPv6-only machines.
2192     * BUG 8156: Fix 'net ads join' using the user's Kerberos ticket.
2193     * BUG 8157: Fix parsing a cups printcap file.
2194     * BUG 8163: Fix our asn.1 parser to handle negative numbers.
2195     * BUG 8175: Fix smbd deadlock.
2196     * BUG 8191: Split the ACE flag mapping between nfs4 and Windows into two
2197       separate functions.
2198     * BUG 8197: Winbind does not properly detect when a DC connection is dead.
2199     * BUG 8203: Winbind needs to reset the DC connection if an RPC times out.
2200
2201
2202 o   Christian Ambach <ambi@samba.org>
2203     * BUG 8152: Fix smbd crash in release_ip().
2204
2205
2206 o   Andrew Bartlett <abartlet@samba.org>
2207     * BUG 8151: Deprecate security parameters.
2208
2209
2210 o   Gregor Beck <gbeck@sernet.de>
2211     * BUG 8191: nfs4_acls: Pass ACE_FLAG_INHERITED_ACE up to the client/down
2212       from the client.
2213     * BUG 8192: Fix parsing of multiple flags in 'smbcacls'.
2214
2215
2216 o   Sumit Bose <sbose@redhat.com>
2217     * BUG 8142: Fix typos in LDAP schema files.
2218
2219
2220 o   Holger Hetterich <hhetter@novell.com>
2221     * BUG 8148: Default to protocol version 2 for SMB Traffic Analyzer.
2222     * BUG 8154: Actually make use of SMBTA subversion numbers.
2223
2224
2225 o   Björn Jacke <bj@sernet.de>
2226     * BUG 7998: Remove warning if IOV_MAX is not defined.
2227
2228
2229 o   Jim McDonough <jmcd@samba.org>
2230     * BUG 8166: Don't lockout users when offline.
2231
2232
2233 o   Stefan Metzmacher <metze@samba.org>
2234     * BUG 8140: talloc: Fix Valgrind false positives and other backports.
2235     * BUG 8141: Fix wrong permissions on lp_ncalrpc_dir().
2236
2237
2238 o   Andreas Schneider <asn@samba.org>
2239     * BUG 8155: Fix registering only named pipes on EPM for a service.
2240
2241
2242 o   Volker Lendecke <vl@samba.org>
2243     * BUG 8159: Fix memory corruption in fetching cli->server_domain from the
2244       server.
2245     * BUG 8185: "security=server" does not obey guest login field.
2246     * BUG 8189: Support shadow copy display over SMB2.
2247     * BUG 8199: Fix potential crash in smbd handling smb2.
2248
2249
2250 o   Samuel Thibault <sthibault@debian.org>
2251     * BUG 7998: Fix build on Hurd.
2252
2253
2254 Changes since 3.6.0pre3
2255 -----------------------
2256
2257 o   Jeremy Allison <jra@samba.org>
2258     * BUG 8111: CIFS VFS: Fix unexpected error on SMB posix open.
2259     * BUG 8112: POSIX extension opens of a directory are denied with EISDIR.
2260     * Remove fstrings from client struct.
2261     * BUGFIX when converting from safe_strcpy to strlcpy.
2262     * Fix off-by-one calculations with strlcpy.
2263     * Ensure we always write the correct incoming mid into the share mode table
2264       entries.
2265     * Fix the SMB2 oplock showstopper.
2266
2267
2268 o   Christian Ambach <christian.ambach@de.ibm.com>
2269     * Convert user-specified domain to uppercase in libsmb.
2270
2271
2272 o   Günther Deschner <gd@samba.org>
2273     * BUG 8132: Fix filling printers location field when using cups.
2274     * Fix Coverity CID #2302: FORWARD_NULL.
2275     * Fix cups_pull_comment_location().
2276     * Fix double free of cups request.
2277     * Make cups_pull_comment_location() work again.
2278     * Fix potential crash bug in display_print_driver3().
2279
2280
2281 o   Volker Lendecke <vl@samba.org>
2282     * Properly clean up in pthreadpool_init in case of failure.
2283     * Make plaintext session setup async.
2284     * Reduce fd load in Winbind children.
2285     * Avoid a potential 100% CPU loop in Winbind.
2286     * Tune broadcast namequeries for unique names.
2287     * Properly deal with exited winbind children.
2288     * Fix dup_smb2_vec3.
2289     * Fix return check in nss_wins.
2290
2291
2292 Changes since 3.6.0pre2
2293 -----------------------
2294
2295 o   Michael Adam <obnox@samba.org>
2296     * Fix build of tdb2.
2297
2298
2299 o   Jeremy Allison <jra@samba.org>
2300     * BUG 8083: "inherit owner = yes" doesn't interact correctly with
2301       vfs_acl_xattr or vfs_acl_tdb module.
2302     * BUG 8088: rpccli_samr_chng_pswd_auth_crap segfaults if any input blobs
2303       are null.
2304     * Correctly detect and deny symlinks anywhere in a path (not just the last
2305       component) if "follow symlinks = no".
2306
2307
2308 o   Günther Deschner <gd@samba.org>
2309     * BUG 8106: Fix the build of 'smbget' on HP NonStop.
2310     * Fix timeout in rpc_pipe_open_tcp_port().
2311     * Fix the build of "--with-profiling-data".
2312     * Fix the AIX 5.3 build.
2313
2314
2315 o   Sergey Korsak <skif@1plus1.net>
2316     * BUG #8099: setpwent() actually does endpwent() and vice versa on FreeBSD.
2317
2318
2319 o   Volker Lendecke <vl@samba.org>
2320     * BUG 8066: Fix wrong output in 'smbget'.
2321     * Fix Coverity IDs 986, 1340, 2047, 2299, 2307, 2325, 2335, 2336, 2470,
2322       2471, 2478.
2323     * nsswitch: Add 'wbinfo --lookup-sids'.
2324     * nsswitch: Add 'wbinfo --sids-to-unix-ids'.
2325     * Fix smbd with the async echo responder.
2326     * Fix the build of vfs_gpfs.c.
2327     * Add a 10-second timeout for the 445 or netbios connection to a DC.
2328     * Many pthreadpool fixes.
2329
2330
2331 o   Stefan Metzmacher <metze@samba.org>
2332     * BUG 7383: Listen on IPv6 addresses with IPV6_ONLY.
2333
2334
2335 o   Rusty Russell <rusty@rustcorp.com.au>
2336     * Fix transaction recovery area for converted tdbs.
2337
2338
2339
2340 Changes since 3.6.0pre1
2341 -----------------------
2342
2343 o   Michael Adam <obnox@samba.org>
2344     * ID Mapping changes.
2345     * Add "--option" to 'testparm'.
2346
2347
2348 o   Jeremy Allison <jra@samba.org>
2349     * BUG 7080: Quota only shown when logged as root.
2350     * BUG 7863: Unlink may unlink wrong file when hardlinks are involved.
2351     * BUG 7996: Sgid bit lost on folder rename.
2352     * BUG 8040: Fix smbclient segfault with Cyrillic netbios names.
2353     * Fix crash bug on smbd shutdown when using FOPENDIR().
2354     * Ensure we don't return an incorrect access mask.
2355     * Fix bug against the new Mac client.
2356     * Fix leak in error path.
2357     * Fix error where Windows client spoolss returns WERR_INVALID_DATA.
2358
2359
2360 o   Christian Ambach <christian.ambach@de.ibm.com>
2361     * Fix a segfault in the krb5 locator plugin.
2362     * Enable sharesec for registry shares.
2363
2364
2365 o   Andrew Bartlett <abartlet@samba.org>
2366     * Fix memory leak in "security=share" and "force user".
2367
2368
2369 o   Björn Baumbach <bb@sernet.de>
2370     * BUG 7875: Fix 'nmbd --port'.
2371     * BUG 7880: cmd_spoolss_deletedriver() returned without checking all
2372       architectures.
2373
2374
2375 o   Gregor Beck <gbeck@sernet.de>
2376     * Add new 'net idmap check' command.
2377     * Add new 'net idmap delete' command.
2378     * Fix segfault on missing input file in 'net idmap restore'.
2379
2380
2381 o   Olly Betts <olly@survex.com>
2382     * Fix 'net usersidlist' not to skip every other user.
2383
2384
2385 o   Günther Deschner <gd@samba.org>
2386     * BUG 7690: Retry DNS updates when connection to one nameserver has failed.
2387     * BUG 7945: Let winbind try to use samlogon validation level 6.
2388     * Fix Coverity ID 2041.
2389     * Fix potential crash bug in spoolss_PrinterEnumValues push path.
2390     * Internal restructuring.
2391     * Don't wipe out all printer drivers when only one should be deleted.
2392     * Fix winbindd_dual_pam_auth_samlogon() for NT4 domains.
2393
2394
2395 o   David Disseldorp <ddiss@suse.de>
2396     * BUG 7915: Fix cups pcap reload with no printers.
2397     * BUG 8040: Fix smbclient segfault with Cyrillic netbios names.
2398     * Fix memory leak in print_cups.c.
2399     * Remove duplicate cups response processing code.
2400     * Follow force user/group for driver IO.
2401     * Initiate pcap reload from parent smbd.
2402     * Reload shares after pcap cache fill.
2403
2404
2405 o   Björn Jacke <bj@sernet.de>
2406     * BUG 8033: Add explicit configure option whether or not to enable dmapi
2407       support.
2408
2409
2410 o   Volker Lendecke <vl@samba.org>
2411     * BUG 7917: Fix bug in chain_reply.
2412     * BUG 7940: Fall back for utimes calls.
2413     * BUG 8009: Fix getting username in 'net rap session'.
2414     * BUG 8010: Use jenkins hash for str_checksum.
2415     * BUG 8042: Fix file creation on OS/X.
2416     * Fix numerous Coverity IDs.
2417     * Fix a memory leak in check_sam_security_info3.
2418     * Fix a segfault in the nss wrapper when libnss_winbind.so is not loadable.
2419     * Make "net sam list [users|workstations]" list only the right things.
2420     * Fix a potential memleak in secrets_fetch_trusted_domain_password.
2421     * Use the right credentials in check_netlogond_security.
2422     * Add support for AF_NETLINK addr notifications.
2423     * Fork multiple Winbind children per domain.
2424     * Fix a deadlock between smbd and ctdbd.
2425     * Add 'wbinfo --dc-info'.
2426     * Make "nmbd socket dir" configurable.
2427     * Fix a valgrind error.
2428     * Fix a memleak in receive_getdc_response.
2429
2430
2431 o   Nikolay Martynov <mar.kolya@gmail.com>
2432     * BUG 8010: Fix inode generation so nautilus can count total dir size
2433       correctly.
2434
2435
2436 o   Stefan Metzmacher <metze@samba.org>
2437     * BUG 7567: Fix printing from Windows 7.
2438     * BUG 7899: Don't return "-1" on success in 'net rpc vampire keytab'.
2439     * BUG 7944: Catch lookup_names/sids schannel errors over ncacn_ip_tcp.
2440     * Don't grant SEC_STD_DELETE always to the owner of a file.
2441     * Fix segfaults on addrchange errors in Winbind.
2442     * Allow machine accounts as members in groupdb.
2443
2444
2445 o   Jonathan Nieder <jrnieder@gmail.com>
2446     * BUG 6837: Make "rlimit_max below minimum Windows limit" notification less
2447       scary.
2448
2449
2450 o   Andreas Schneider <asn@samba.org>
2451     * Add an Endpoint Mapper daemon.
2452     * Add IPv6 support for the endpoint mapper.
2453     * Free unused memory in the rpc server.
2454     * Fix possible segfaults in svcctl server.
2455     * Fix possible segfault with client_id in rpc server.
2456     * Add a 'svcctl shutdown' function to rpc server.
2457     * Fix a resource leak in net_afs.
2458     * Fix a resource leak in smbta-util.
2459     * Fix possible resource leak in net_usershare.
2460     * Fix possible resource leak in 'smbget'.
2461     * Fix possible resource leak in 'smbfilter'.
2462     * Fix a possible null pointer dereference in smbd.
2463
2464
2465 o   Pavel Shilovsky <piastry@etersoft.ru>
2466     * BUG 7928: Fix problems with "kernel oplocks" option set to "no".
2467     * Ensure we send the direct levelII oplock break to the correct fid.
2468
2469
2470 o   Simo Sorce <idra@samba.org>
2471     * Fix private libdir and codepages paths.
2472
2473
2474 o   Andrew Tridgell <tridge@samba.org>
2475     * Fix a valgrind error.
2476
2477
2478 ######################################################################
2479 Reporting bugs & Development Discussion
2480 #######################################
2481
2482 Please discuss this release on the samba-technical mailing list or by
2483 joining the #samba-technical IRC channel on irc.freenode.net.
2484
2485 If you do report problems then please try to send high quality
2486 feedback. If you don't provide vital information to help us track down
2487 the problem then you will probably be ignored.  All bug reports should
2488 be filed under the Samba 3.6 product in the project's Bugzilla
2489 database (https://bugzilla.samba.org/).
2490
2491
2492 ======================================================================
2493 == Our Code, Our Bugs, Our Responsibility.
2494 == The Samba Team
2495 ======================================================================
2496