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