WHATSNEW: Finish release notes for Samba 3.6.9.
[samba.git] / WHATSNEW.txt
1                    =============================
2                    Release Notes for Samba 3.6.9
3                          October 29, 2012
4                    =============================
5
6
7 This is is the latest stable release of Samba 3.6.
8
9 Major enhancements in Samba 3.6.9 include:
10
11 o  When setting a non-default ACL, don't forget to apply masks to
12    SMB_ACL_USER and SMB_ACL_GROUP entries (bug #9236).
13 o  Winbind can't fetch user or group info from AD via LDAP (bug #9147).
14 o  Fix segfault in smbd if user specified ports out for range (bug #9218).
15
16
17 Changes since 3.6.8:
18 --------------------
19
20 o   Michael Adam <obnox@samba.org>
21     * BUG 9173: Make SMB2 compound request create/delete_on_close/close work as
22       Windows.
23
24
25 o   Jeremy Allison <jra@samba.org>
26     * BUG 8966: Fix 'net rpc share allowedusers' to work with 2008r2.
27     * BUG 9016: Connection to outbound trusted domain goes offline.
28     * BUG 9117: 'smbclient' can't connect to a Windows 7 server using NTLMv2.
29     * BUG 9147: Winbind can't fetch user or group info from AD via LDAP.
30     * BUG 9174: Empty SPNEGO packet can cause smbd to crash.
31     * BUG 9189: SMB2 Create doesn't return correct MAX ACCESS access mask in
32       blob.
33     * BUG 9209: Parse of invalid SMB2 create blob can cause smbd crash.
34     * BUG 9213: Bad ASN.1 NegTokenInit packet can cause invalid free.
35     * BUG 9222: Signing cannot be disabled for SMB2 by design, so fix the
36       documentation instead.
37     * BUG 9236: When setting a non-default ACL, don't forget to apply masks to
38       SMB_ACL_USER and SMB_ACL_GROUP entries.
39
40
41 o   Andrew Bartlett <abartlet@samba.org>
42     * BUG 8788: Initialise ticket to ensure we do not invalid memory.
43
44
45 o   Ira Cooper <ira@samba.org>
46     * BUG 9173: Compound requests should continue processing.
47
48
49 o   Günther Deschner <gd@samba.org>
50     * BUG 9177: pam_winbind: Match more return codes when wbcGetPwnam has failed.
51
52
53 o   Björn Jacke <bj@sernet.de>
54     * BUG 3272: quota: Don't force the block size to 512.
55     * BUG 8107: Add some includes for poll.h.
56     * BUG 8146: Fix wrong test == syntax in configure.
57     * BUG 8344: Fix --with(out)-sendfile-support option handling in autoconf.
58     * BUG 9172: Add quota support for gfs2.
59
60
61 o   Volker Lendecke <vl@samba.org>
62     * BUG 9188: Fix crash bug in idmap_hash.
63     * BUG 9268: Make tdb robust against improper CLEAR_IF_FIRST restart.
64
65
66 o   Luca Lorenzetto <lorenzetto-luca@ubuntu-it.org>
67     * BUG 9013: Fix crash on null pam change pw response.
68
69
70 o   Vladimir Marek <Vladimir.Marek@Oracle.COM>
71     * BUG 9192: Fix service control for non-internal services.
72
73
74 o   Stefan Metzmacher <metze@samba.org>
75     * BUG 9173: Make SMB2 compound request create/delete_on_close/close work as
76       Windows.
77     * BUG 9196: Don't take 'state->te' as indication for "was_deferred".
78     * BUG 9209: Fix unitialized padding in smb2_create_blob_push_one().
79
80
81 o   Matthieu Patou <mat@matws.net>
82     * BUG 9259: lib-addns: ensure that allocated buffer are pre set to 0.
83
84
85 o   Rusty Russell <rusty@rustcorp.com.au>
86     * BUG 9268: Make robust against shrinking tdbs.
87
88
89 o   Joachim Schmitz <schmitz@hp.com>
90     * BUG 8107: Fix poll replacement to become a msleep replacement.
91
92
93 o   Andreas Schneider <asn@samba.org>
94     * BUG 8632: Fix builtin forms order to match Windows again.
95     * BUG 8769: Fix RAW printing for normal users.
96     * BUG 9112: Increase debug level for info that the db is empty.
97     * BUG 9154: Open printers with the right access mask.
98     * BUG 9171: Remove non-existent option '-Y' from winbindd manpage.
99     * BUG 9218: Fix segfault in smbd if user specified ports out for range.
100     * BUG 9231: Fix NT_STATUS_IO_TIMEOUT during slow import of printers into
101       registry.
102     * BUG 9280: Add support for reloading systemd services.
103
104
105 o   Karolin Seeger <kseeger@samba.org>
106     * BUG 9165: Fix makerpms.sh on RHEL.
107
108
109 ######################################################################
110 Reporting bugs & Development Discussion
111 #######################################
112
113 Please discuss this release on the samba-technical mailing list or by
114 joining the #samba-technical IRC channel on irc.freenode.net.
115
116 If you do report problems then please try to send high quality
117 feedback. If you don't provide vital information to help us track down
118 the problem then you will probably be ignored.  All bug reports should
119 be filed under the Samba 3.6 product in the project's Bugzilla
120 database (https://bugzilla.samba.org/).
121
122
123 ======================================================================
124 == Our Code, Our Bugs, Our Responsibility.
125 == The Samba Team
126 ======================================================================
127
128 Release notes for older releases follow:
129 ----------------------------------------
130
131                    =============================
132                    Release Notes for Samba 3.6.8
133                          September 17, 2012
134                    =============================
135
136
137 This is is the latest stable release of Samba 3.6.
138
139 Major enhancements in Samba 3.6.8 include:
140
141 o  Fix crash bug in smbd caused by a blocking lock followed by
142    close (bug #9084).
143 o  Fix Winbind panic if we couldn't find the domain (bug #9135).
144
145
146 Changes since 3.6.7:
147 --------------------
148
149 o   Jeremy Allison <jra@samba.org>
150     * BUG 9058: Fix smbstatus code dump when a file entry has delete tokens.
151     * BUG 9098: Fix refreshing of Kerberos tickets in Winbind.
152     * BUG 9124: Fix setting of "inherited" bit on inherited ACE's.
153
154
155 o   Christian Ambach <ambi@samba.org>
156     * BUG 9137: Make 'smbclient allinfo' show the snapshot list.
157
158
159 o   Andrew Bartlett <abartlet@samba.org>
160     * BUG 9066: "Domain Users" incorrectly added as additional group on domain
161       members.
162     * BUG 9067: Use correct RID for "Domain Guests" primary group.
163
164
165 o   David Binderman <dcb314@hotmail.com>
166     * BUG 9065: Fix bad call to memcpy source3/registry/regfio.c.
167
168
169 o   David Disseldorp <ddiss@samba.org>
170     * BUG 9123: Fix lprng job tracking errors.
171
172
173 o   Salvador I. Gonzalez <sgonzalez@codejunkie.net>
174     * BUG 9088: Fix smbclient/tarmode panic when connecting to Windows 2000
175       clients.
176
177
178 o   Hargagan <shargagan@novell.com>
179     * BUG 9085: Fix NMB registration for a duplicate workstation.
180
181
182 o   Björn Jacke <bj@sernet.de>
183     * BUG 9037: Open and netbsd have the md5 symbols in libc.
184     * BUG 9144: Fix nfs quota support with Linux nfs4 mounts.
185
186
187 o   Volker Lendecke <vl@samba.org>
188     * BUG 9037: Fix name clash in MD5 causing the "net ads join" to fail on
189       T4 (sun4v) systems on Solaris 10.
190     * BUG 9058: Backport FSCTL codes from master.
191     * BUG 9084: Fix crash bug in smbd caused by a blocking lock followed by
192       close.
193     * BUG 9150: Valid open requests can cause smbd assert due to incorrect
194       oplock handling on delete requests.
195
196
197 o   Herb Lewis <hlewis@panasas.com>
198     * BUG 9104: Fix identification of idle clients in Winbind to avoid crashes
199       and NDR parsing errors.
200
201
202 o   Stefan Metzmacher <metze@samba.org>
203     * BUG 9058: Fix segfault in smbstatus.
204
205
206 o   Andreas Schneider <asn@samba.org>
207     * BUG 9111: Fix compilation with newer MIT Kerberos which hides internal
208       symbols.
209     * BUG 9112: Fix flooding the logs with records we don't find in pcap.
210     * BUG 9122: Initialize the print backend after we setup winreg.
211     * BUG 9135: Fix Winbind panic if we couldn't find the domain.
212
213
214 ######################################################################
215 Reporting bugs & Development Discussion
216 #######################################
217
218 Please discuss this release on the samba-technical mailing list or by
219 joining the #samba-technical IRC channel on irc.freenode.net.
220
221 If you do report problems then please try to send high quality
222 feedback. If you don't provide vital information to help us track down
223 the problem then you will probably be ignored.  All bug reports should
224 be filed under the Samba 3.6 product in the project's Bugzilla
225 database (https://bugzilla.samba.org/).
226
227
228 ======================================================================
229 == Our Code, Our Bugs, Our Responsibility.
230 == The Samba Team
231 ======================================================================
232
233
234 ----------------------------------------------------------------------
235
236
237                    =============================
238                    Release Notes for Samba 3.6.7
239                            August 6, 2012
240                    =============================
241
242
243 This is is the latest stable release of Samba 3.6.
244
245 Major enhancements in Samba 3.6.7 include:
246
247 o  Fix resolving our own "Domain Local" groups (bug #9052).
248 o  Fix migrating printers while upgrading from 3.5.x (bug #9026).
249
250
251 Changes since 3.6.6:
252 --------------------
253
254 o   Jeremy Allison <jra@samba.org>
255     * BUG 8974: Fix kernel oplocks when uid(file) != uid(process).
256     * BUG 8989: Send correct responses to NT Transact Secondary when no data
257       and no params for the Trans2 calls are set.
258     * BUG 9034: Fix typo in set_re_uid() call when USE_SETRESUID selected in
259       configure.
260
261
262 o   David Binderman <dcb314@hotmail.com>
263     * BUG 9062: rpcclient: Fix bad call to data_blob_const.
264
265
266 o   Günther Deschner <gd@samba.org>
267     * BUG 9026: Fix migrating printers while upgrading from 3.5.x.
268
269
270 o   David Disseldorp <ddiss@samba.org>
271     * BUG 8719: Printing fails in function cups_job_submit.
272     * BUG 9026: Fix migrating printers while upgrading from 3.5.x.
273
274
275 o   Olaf Flebbe <o.flebbe@science-computing.de>
276     * BUG 8552: Correct documentation of "case sensitive".
277
278
279 o   Björn Jacke <bj@sernet.de>
280     * BUG 8996: Fix build without ads support.
281
282
283 o   Volker Lendecke <vl@samba.org>
284     * BUG 9003: Fix posix acl on gpfs.
285     * BUG 9040: Using asynchronous IO with SMB2 can return NT_STATUS_FILE_CLOSED
286       in error instead ofNT_STATUS_FILE_LOCK_CONFLICT.
287
288
289 o   Stefan Metzmacher <metze@samba.org>
290     * BUG 9002: Don't turn negative cache entries into valid idmappings.
291     * BUG 9022: Make vfs_gpfs less verbose in get/set_xattr functions.
292     * BUG 9057: Fix bugs in SMB2 credit handling code.
293
294
295 o   Jiri Popelka <jpopelka@redhat.com>
296     * BUG 9055: Fix build against CUPS 1.6.
297
298
299 o   Jura Sasek <jiri.sasek@oracle.com>
300     * BUG 9037: Fix 'net ads join' on T4 (sun4v) systems on Solaris 10.
301
302
303 o   Andreas Schneider <asn@samba.org>
304     * BUG 9052: Fix resolving our own "Domain Local" groups.
305
306
307 ######################################################################
308 Reporting bugs & Development Discussion
309 #######################################
310
311 Please discuss this release on the samba-technical mailing list or by
312 joining the #samba-technical IRC channel on irc.freenode.net.
313
314 If you do report problems then please try to send high quality
315 feedback. If you don't provide vital information to help us track down
316 the problem then you will probably be ignored.  All bug reports should
317 be filed under the Samba 3.6 product in the project's Bugzilla
318 database (https://bugzilla.samba.org/).
319
320
321 ======================================================================
322 == Our Code, Our Bugs, Our Responsibility.
323 == The Samba Team
324 ======================================================================
325
326
327 ----------------------------------------------------------------------
328
329
330                    =============================
331                    Release Notes for Samba 3.6.6
332                            June 25, 2012
333                    =============================
334
335
336 This is is the latest stable release of Samba 3.6.
337
338 Major enhancements in Samba 3.6.6 include:
339
340 o  Fix possible memory leaks in the Samba master process (bug #8970).
341 o  Fix uninitialized memory read in talloc_free().
342 o  Fix joining of XP Pro workstations to 3.6 DCs (bug #8373).
343
344
345 Changes since 3.6.5:
346 --------------------
347
348 o   Michael Adam <obnox@samba.org>
349     * BUG 8738: SMB2 server will not release unused shares.
350     * BUG 8749: Sign non guest sessions in SessionSetup.
351     * BUG 8921: Fix race writing registry values.
352
353
354 o   Jeremy Allison <jra@samba.org>
355     * BUG 8373: Fix joining of XP Pro workstations to 3.6 DCs.
356     * BUG 8627: Fix crash bug in dns_create_probe when dns_create_update fails.
357     * BUG 8723: Add pthread-based aio VFS module.
358     * BUG 8784: When calculating the share security mask, take priviliges into
359       account for the connecting user.
360     * BUG 8811: sd_has_inheritable_components segfaults on an SD that
361       se_access_check accepts.
362     * BUG 8837: Fix crash in smbd when deleting directory and veto files are
363       enabled.
364     * BUG 8857: Setting traverse rights fails to enable directory traversal when
365       acl_xattr in use.
366     * BUG 8882: Broken processing of %U with vfs_full_audit when force user is
367       set.
368     * BUG 8897: Make winbind_krb5_locator not only returning one IP address.
369     * BUG 8910: resolve_ads() code can return zero addresses and miss valid
370       DC IP addresses.
371     * BUG 8922: smbclient's tarmode insists on listing excluded directories.
372     * BUG 8953: Winbind can hang as nbt_getdc() has no timeout.
373     * BUG 8957: Typo in pam_winbindd code MUST fix.
374     * BUG 8970: Fix possible memory leaks in the Samba master process.
375     * BUG 8971: cleanup_timeout_fn() is called too often, on exiting when an
376       smbd is idle.
377     * BUG 8972: Directory group write permission bit is set if unix extensions
378       are enabled.
379
380
381 o   Christian Ambach <ambi@samba.org>
382     * BUG 8406: Fix a return code check in Winbind.
383     * BUG 8807: Fix crash in dcerpc_lsa_lookup_sids_noalloc() crashes when
384       groups has more than 1000 groups.
385
386
387 o   Andrew Bartlett <abartlet@samba.org>
388     * BUG 8599: Only use SamLogonEx when we can get unencrypted session keys.
389     * BUG 8727: Fix smbclients with posix large reads.
390     * BUG 8943: Slow but responsive DC can lock up Winbind for > 10 minutes
391       at a time.
392
393
394 o   Björn Baumbach <bb@sernet.de>
395     * BUG 7564: Fix default name resolve order in the manpage.
396     * BUG 8554, 8612, 8748: Add new printers to registry.
397     * BUG 8789: Remove whitespace in example samba.ldif.
398
399
400 o   Alexander Bokovoy <ab@samba.org>
401     * BUG 8988: Avoid crash with MIT krb5 1.10.0 in gss_get_name_attribute().
402
403
404 o   Alejandro Escanero Blanco <aescanero@gmail.com>
405     * BUG 8798: The primary rid should be in the groups rid array.
406
407
408 o   Ira Cooper <samba@ira.wakeful.net>
409     * BUG 8729: Fix getpass regressions on Solaris/Illumos.
410     * BUG 8743: Fix configure.developer builds on Solaris.
411     * BUG 8910: Fix bad bugfix for bug #8910.
412     * BUG 8952: Fix negative SID->uid/gid cache handling.
413     * BUG 8995: Use fsp_persistent_id() as persistent_file_id part for SMB2.
414
415
416 o   David Disseldorp <ddiss@samba.org>
417     * BUG 8762: Fix crash in printer_list_set_printer().
418
419
420 o   Olaf Flebbe <o.flebbe@science-computing.de>
421     * BUG 8859: Fix assertion in reg_parse.
422
423
424 o   Björn Jacke <bj@sernet.de>
425     * BUG 8732: Fix compile of krb5 locator on Solaris.
426     * BUG 8869: Remove outdated netscape ds 5 schema file.
427     * BUG 8978: Remove dependency on automake for 'make everything'.
428
429
430 o   Steve Langasek <steve.langasek@ubuntu.com>
431     * BUG 8920: Fix null dereference in pdb_interface.
432
433
434 o   Volker Lendecke <vl@samba.org>
435     * Fix uninitialized memory read in talloc_free().
436     * BUG 8567: Fix segfault in dom_sid_compare.
437     * BUG 8733: Delete streams on directories (streams_depot).
438     * BUG 8760: Add SERVERID_UNIQUE_ID_NOT_TO_VERIFY.
439     * BUG 8836: Fix segfaults on "smbcontrol close-share" in aio_fork.
440     * BUG 8861: Fix a segfault with debug level 3 on Solaris.
441     * BUG 8904: Fix Winbind crash triggered by 'wbinfo --lookup-sids ""'.
442     * BUG 8998: Notify code can miss a ChDir.
443
444
445 o   Stefan Metzmacher <metze@samba.org>
446     * BUG 8139: Ignore SMBecho errors (the server may not support it).
447     * BUG 8527: db_ctdb_traverse fails to traverse records created within the
448       current transaction.
449     * BUG 8311: Winzip occasionally can not read files out of an open winzip
450       dialog.
451     * BUG 8739: Fill the sids array of the info in
452       wbcAuthUserInfo_to_netr_SamInfo3().
453     * BUG 8749: Sign non guest sessions in SessionSetup.
454     * BUG 8995: Use fsp_persistent_id() as persistent_file_id part for SMB2.
455
456
457 o   Matthieu Patou <mat@matws.net>
458     * BUG 8599: Set the can_do_validation6 also for trusted domain.
459     * BUG 8714: Catch with pid filename's change when config file is not
460       smb.conf.
461     * BUG 8734: Don't try to do clever thing if the username is not found while
462       authenticating through Winbind.
463     * BUG 8771: Winbind takes up to 20 minutes to change from DC 1 to DC 2.
464     * BUG 8975: Call dump_core_setup after command line option has been parsed.
465
466
467 o   SATOH Fumiyasu <fumiyas@osstech.co.jp>
468     * BUG 8826: Prepend '/' to filename argument (docs).
469
470
471 o   Andreas Schneider <asn@samba.org>
472     * BUG 8944 and 8567: Don't lookup the system user in pdb.
473
474
475 o   Richard Sharpe <realrichardsharpe@gmail.com>
476     * BUG 8768: Honor SeTakeOwnershipPrivilege when file opened with
477       SEC_STD_WRITE_OWNER.
478     * BUG 8797: Correctly handle DENY ACEs when privileges apply.
479     * BUG 8822: Fix building out-of-tree modules.
480     * BUG 8945: vfs_acl_common discards errors from writing to the underlying
481       storage.
482     * BUG 8970: Fix possible memory leaks in the Samba master process.
483
484
485 o   Simo Sorce <idra@samba.org>
486     * BUG 8915: Fix pam_winbind build against newer iniparser library.
487
488
489 o   Joseph Tam <jtam.home@gmail.com>
490     * BUG 8877: Syslog broken owing to mistyping of debug_settings.syslog.
491
492
493 o   Ralph Wuerthner <ralph.wuerthner@de.ibm.com>
494     * BUG 8845: Move print_backend_init() behind init_system_info().
495
496
497 ######################################################################
498 Reporting bugs & Development Discussion
499 #######################################
500
501 Please discuss this release on the samba-technical mailing list or by
502 joining the #samba-technical IRC channel on irc.freenode.net.
503
504 If you do report problems then please try to send high quality
505 feedback. If you don't provide vital information to help us track down
506 the problem then you will probably be ignored.  All bug reports should
507 be filed under the Samba 3.6 product in the project's Bugzilla
508 database (https://bugzilla.samba.org/).
509
510
511 ======================================================================
512 == Our Code, Our Bugs, Our Responsibility.
513 == The Samba Team
514 ======================================================================
515
516
517 ----------------------------------------------------------------------
518
519
520                    =============================
521                    Release Notes for Samba 3.6.5
522                           April 30, 2012
523                    =============================
524
525
526 This is a security release in order to address
527 CVE-2012-2111 (Incorrect permission checks when granting/removing
528 privileges can compromise file server security).
529
530 o  CVE-2012-2111:
531    Samba 3.4.x to 3.6.4 are affected by a
532    vulnerability that allows arbitrary users
533    to modify privileges on a file server.
534
535
536 Changes since 3.6.4:
537 --------------------
538
539
540 o   Jeremy Allison <jra@samba.org>
541     * Fix  incorrect permission checks when granting/removing
542       privileges (CVE-2012-2111).
543
544
545 ######################################################################
546 Reporting bugs & Development Discussion
547 #######################################
548
549 Please discuss this release on the samba-technical mailing list or by
550 joining the #samba-technical IRC channel on irc.freenode.net.
551
552 If you do report problems then please try to send high quality
553 feedback. If you don't provide vital information to help us track down
554 the problem then you will probably be ignored.  All bug reports should
555 be filed under the Samba 3.6 product in the project's Bugzilla
556 database (https://bugzilla.samba.org/).
557
558
559 ======================================================================
560 == Our Code, Our Bugs, Our Responsibility.
561 == The Samba Team
562 ======================================================================
563
564
565 ----------------------------------------------------------------------
566
567
568                    =============================
569                    Release Notes for Samba 3.6.4
570                           April 10, 2012
571                    =============================
572
573
574 This is a security release in order to address
575 CVE-2012-1182 ("root" credential remote code execution).
576
577 o  CVE-2012-1182:
578    Samba 3.0.x to 3.6.3 are affected by a
579    vulnerability that allows remote code
580    execution as the "root" user.
581
582
583 Changes since 3.6.3:
584 --------------------
585
586
587 o   Stefan Metzmacher <metze@samba.org>
588     *BUG 8815: PIDL based autogenerated code allows overwriting beyond of
589      allocated array (CVE-2012-1182).
590
591
592 ######################################################################
593 Reporting bugs & Development Discussion
594 #######################################
595
596 Please discuss this release on the samba-technical mailing list or by
597 joining the #samba-technical IRC channel on irc.freenode.net.
598
599 If you do report problems then please try to send high quality
600 feedback. If you don't provide vital information to help us track down
601 the problem then you will probably be ignored.  All bug reports should
602 be filed under the Samba 3.6 product in the project's Bugzilla
603 database (https://bugzilla.samba.org/).
604
605
606 ======================================================================
607 == Our Code, Our Bugs, Our Responsibility.
608 == The Samba Team
609 ======================================================================
610
611
612 ----------------------------------------------------------------------
613
614
615                    =============================
616                    Release Notes for Samba 3.6.3
617                          January 29, 2012
618                    =============================
619
620
621 This is a security release in order to address
622 CVE-2012-0817 (Memory leak/Denial of service).
623
624 o  CVE-2012-0817:
625    The Samba File Serving daemon (smbd) in Samba versions
626    3.6.0 to 3.6.2 is affected by a memory leak that can
627    cause a server denial of service.
628
629
630 Changes since 3.6.2:
631 --------------------
632
633
634 o   Jeremy Allison <jra@samba.org>
635     * BUG 8724: Fix memory leak in parent smbd on connection.
636
637
638 o   Ira Cooper <samba@ira.wakeful.net>
639     * BUG 8724: Fix memory leak in parent smbd on connection.
640
641
642 ######################################################################
643 Reporting bugs & Development Discussion
644 #######################################
645
646 Please discuss this release on the samba-technical mailing list or by
647 joining the #samba-technical IRC channel on irc.freenode.net.
648
649 If you do report problems then please try to send high quality
650 feedback. If you don't provide vital information to help us track down
651 the problem then you will probably be ignored.  All bug reports should
652 be filed under the Samba 3.6 product in the project's Bugzilla
653 database (https://bugzilla.samba.org/).
654
655
656 ======================================================================
657 == Our Code, Our Bugs, Our Responsibility.
658 == The Samba Team
659 ======================================================================
660
661
662 ----------------------------------------------------------------------
663
664
665                    =============================
666                    Release Notes for Samba 3.6.2
667                          January 25, 2012
668                    =============================
669
670
671 This is the latest stable release of Samba 3.6.
672
673 Major enhancements in Samba 3.6.2 include:
674
675 o  Make Winbind receive user/group information (bug #8371).
676 o  Several SMB2 fixes.
677
678
679 Changes since 3.6.1:
680 --------------------
681
682
683 o   Michael Adam <obnox@samba.org>
684     * BUG 8528: Fix SEGFAULT from net registry export on not zero terminated
685       REG_SZ values.
686
687
688 o   Jeremy Allison <jra@samba.org>
689     * BUG 8541: readlink() on Linux clients fails if the symlink target is
690       outside of the share.
691     * BUG 8542: smbclient posix_open command fails to return correct info on
692       open file.
693     * BUG 8548: winbind_samlogon_retry_loop ignores logon_parameters flags.
694     * BUG 8561: Password change settings not fully observed.
695     * BUG 8562: Fix double free error in talloc.
696     * BUG 8614: Ensure we correctly calculate reply credits over all returned
697       SMB2 replies.
698     * BUG 8631: POSIX ACE x permission becomes rx following mapping to and from
699       a DACL.
700     * BUG 8636: When returning an ACL without SECINFO_DACL requested, we still
701       set SEC_DESC_DACL_PRESENT in the type field.
702     * BUG 8644: vfs_acl_xattr and vfs_acl_tdb modules can fail to add
703       inheritable entries on a directory with no stored ACL.
704     * BUG 8663: Fix deleting a symlink if the symlink target is outside of
705     * the share.
706     * BUG 8664: Fix renaming a symlink if the symlink target is outside of
707       the share.
708     * BUG 8673: Fix NT ACL issue.
709     * BUG 8674: Fix buffer overflow issue with AES encryption in samba traffic
710       analyzer.
711     * BUG 8679: recvfile code path using splice() on Linux leaves data in the
712       pipe on short write.
713     * BUG 8687: Fix typo in 'net memberships' usage.
714     * BUG 8710: Fix major leak with SMB2 in connections.tdb.
715     * Fix a crash bug in the spoolss code.
716     * Add new contributing FAQ announcing acceptance of corporate (C).
717
718
719 o   Christian Ambach <ambi@samba.org>
720     * BUG 8444: Add an allocation pool to idmap_autorid.
721     * BUG 8585: Increase a debug level.
722
723
724 o   Andrew Bartlett <abartlet@samba.org>
725     * BUG 8623: Fix crash bug when trying to browse Samba printers.
726
727
728 o   Björn Baumbach <bb@sernet.de>
729     * BUG 8580: Enable inotify if sys or kernel inotify is available.
730     * BUG 8618: Fix migrate printer code.
731
732
733 o   Gregor Beck <gbeck@sernet.de>
734     * BUG 8528: Fix SEGFAULT from net registry export on not zero terminated
735       REG_SZ values.
736
737
738 o   Günther Deschner <gd@samba.org>
739     * BUG 7465: Remove pointless use_memory_krb5_ccache.
740     * BUG 8176: Fix perl path.
741     * BUG 8591: Fix marshalling of samr_ChangePasswordUser3.
742     * BUG 8692: libads: Fix malloc/talloc mismatch in
743       ads_keytab_verify_ticket().
744
745
746 o   David Disseldorp <ddiss@suse.de>
747     * BUG 4942: DeletePrinterDriverEx deletes files in use.
748     * BUG 8575: Add systemd service files.
749     * BUG 8606: Fix intermittent print job failures caused by character
750       conversion errors.
751     * BUG 8697: Make DeletePrinterDriverEx remove printer driver files.
752
753
754 o   Björn Jacke <bj@sernet.de>
755     * BUG 8531: Make DSO_EXPORTS_CMD more portable.
756     * BUG 8616: Allow to set TCP_NODELAYACK socket option on AIX.
757     * BUG 8652: Document the "ignore system acls" option of vfs_acl_xattr and
758       vfs_acl_tdb vfs modules.
759
760
761 o   Frank Lahm <franklahm@googlemail.com>
762     * BUG 8419: Make VFS op "streaminfo" stackable.
763
764
765 o   Volker Lendecke <vl@samba.org>
766     * BUG 8371: Make Winbind receive user/group information.
767     * BUG 8639: Fix the vfs_commit module.
768     * BUG 8686: Packet validation checks can be done before length validation
769       causing uninitialized memory read.
770
771
772 o   Stefan Metzmacher <metze@samba.org>
773     * BUG 5326: Fix cli_write_and_x() against OS/2 print shares.
774     * BUG 8357: Grant credits in async interim responses (SMB2).
775     * BUG 8560: Make SMB2 handle compound request headers in the same way
776       as Windows.
777     * BUG 8573: Fix alignment in the non-extended-security negprot.
778     * BUG 8586: libsmb: Only align unicode pipe_name.
779     * BUG 8579: smb2_flush: Don't send uninitialized memory.
780     * BUG 8592: Don't limit the number of open dptrs for SMB2.
781     * BUG 8593: Fix a crash bug in cldap_socket_recv_dgram().
782     * BUG 8684: Try ctdbd_init_connection() as root.
783
784
785 o   Masafumi Nakayama <MASA23@jp.ibm.com>
786     * BUG 563: Fix 'smbclient tar' for files greater than 8GB on BE machines.
787
788
789 o   Matthieu Patou <mat@matws.net>
790     * BUG 8600: Make cldap work over IPv6.
791     * BUG 8674: Fix buffer overflow issue with AES encryption in samba traffic
792       analyzer.
793
794
795 o   Andreas Schneider <asn@samba.org>
796     * BUG 8550: Fix setting the machine account password.
797     * BUG 8575: Add systemd service files.
798     * BUG 8608: Winbind: Don't fail on users without a uid.
799     * BUG 8628: libsmb: Don't duplicate Kerberos service tickets.
800     * BUG 8643: Add an update function for Winbind cache.
801     * BUG 8678: Fix Winbind segfault if we can't map the last user.
802
803
804 o   Karolin Seeger <kseeger@samba.org>
805     * BUG 7705: Fix some RHEL packaging issues.
806
807
808 o   Richard Sharpe <realrichardsharpe@gmail.com>
809     * BUG 8607: Improve configure.in so it can be used outside the Samba source
810       tree.
811
812
813 o   Brad Smith <brad@comstyle.com>
814     * BUG 8525: Fix bug with sys_fseek() wrapper on *BSD / OS X).
815
816
817 o   Henry Wong <henry@stuffedcow.net>
818     * BUG 8384: Fix Windows XP clients crashing smbd process every once in a
819       while.
820
821
822 ######################################################################
823 Reporting bugs & Development Discussion
824 #######################################
825
826 Please discuss this release on the samba-technical mailing list or by
827 joining the #samba-technical IRC channel on irc.freenode.net.
828
829 If you do report problems then please try to send high quality
830 feedback. If you don't provide vital information to help us track down
831 the problem then you will probably be ignored.  All bug reports should
832 be filed under the Samba 3.6 product in the project's Bugzilla
833 database (https://bugzilla.samba.org/).
834
835
836 ======================================================================
837 == Our Code, Our Bugs, Our Responsibility.
838 == The Samba Team
839 ======================================================================
840
841
842 ----------------------------------------------------------------------
843
844
845                    =============================
846                    Release Notes for Samba 3.6.1
847                           October 20, 2011
848                    =============================
849
850
851 This is the latest stable release of Samba 3.6.
852
853 Major enhancements in Samba 3.6.1 include:
854
855 o  Fix smbd crashes triggered by Windows XP clients (bug #8384).
856 o  Fix a Winbind race leading to 100% CPU load (bug #8409).
857 o  Several SMB2 fixes.
858 o  The VFS ACL modules are no longer experimental but production-ready.
859
860
861 Changes since 3.6.0:
862 --------------------
863
864
865 o   Michael Adam <obnox@samba.org>
866     * BUG 8368: Fix the fallback to the deprecated spelling idmap:script.
867
868
869 o   Jeremy Allison <jra@samba.org>
870     * BUG 7509: smb_acl_to_posix: ACL is invalid for set (Invalid argument).
871     * BUG 8229: Fix 'widelinks' regression.
872     * BUG 8370: Fix vfs_chown_fsp.
873     * BUG 8412: Fix "saving as" of MS Office 2007 (Word) documents on Samba
874       shares with SMB2.
875     * BUG 8422: Fix infinite loop in ACL module code.
876     * BUG 8429: Compound SMB2 requests on an IPC connection can corrupt the
877       reply stream.
878     * BUG 8443: Be smarter about setting default permissions when a ACL_USER_OBJ
879       isn't given.
880     * BUG 8453: Fix smbclient segfaults when dialect option -m is used for
881       legacy dialects.
882     * BUG 8458: IE9 on Windows 7 cannot download files to samba 3.5.11 share.
883     * BUG 8473: smb2_find uses a hard coded max reply size of 0x10000 instead of
884       smb2_max_trans.
885     * BUG 8474: SMB2 create doesn't cope with an Apple client using NULL blob in
886       create.
887     * BUG 8476: Samba asserts when SMB2 client breaks the crediting rules.
888     * BUG 8477: Map to guest can return uninitialized blob of data.
889     * BUG 8493: DFS breaks zip file extracting unless "follow symlinks = no"
890       set.
891     * BUG 8494: Remove "experimental" label on VFS ACL modules.
892     * BUG 8507: smbd doesn't correctly honor the "force create mode" bits from a
893       cifsfs create.
894     * BUG 8509: Read-only handles on SAMR allow SAMR_DOMAIN_ACCESS_CREATE_USER.
895     * BUG 8521: Winbind cache timeout expiry test was reversed.
896
897
898 o   Christian Ambach <ambi@samba.org>
899     * BUG 8428: Fix wrong reply to DHnC (durable handle reconnect).
900     * BUG 8518: SMB2 create call returns incorrect file allocation size.
901
902
903 o   Björn Baumbach <bb@sernet.de>
904     * BUG 8364: Fix the build of gpfs.c on RHEL 6.0 with gpfs 3.4.0-4.
905
906
907 o   Bram <fnzon@lists.wizbit.be>
908     * BUG 7551: Return error of cli_push when 'put - /some/file' is used.
909
910
911 o   Ira Cooper <ira@wakeful.net>
912     * BUG 8395: Optimize serverid_exists() for Solaris.
913     * BUG 8442: NFSv4 DENY ACLs always include SYNCHRONIZE flag - blocking
914       renames.
915
916
917 o   Günther Deschner <gd@samba.org>
918     * BUG 8401: registry/reg_format.c must include includes.h.
919     * BUG 7465: Fix 'net ads join -k' when KRB5CCNAME is not set.
920
921
922 o   David Disseldorp <ddiss@suse.de>
923     * BUG 8480: acl_xattr can free an invalid pointer if no blob is loaded.
924     * BUG 8520: Fix SMB2 SMB2_OP_GETINFO and SMB2_OP_IOCTL parsing requirements.
925
926
927 o   Wilco Baan Hofman <wilco@baanhofman.nl>
928     * BUG 8455: Fix uninitialized memory problem in group_sids_to_info3.
929
930
931 o   Björn Jacke <bj@sernet.de>
932     * BUG 8256: Add man vfs_aio_fork.
933     * BUG 8363: Fix build of vfs_prealloc on SLES8.
934
935
936 o   Volodymyr Khomenko <Volodymyr_Khomenko@dell.com>
937     * BUG 8515: Disallow "." in can_set_delete_on_close().
938
939
940 o   Volker Lendecke <vl@samba.org>
941     * BUG 7864: Fix usage of cli_errstr().
942     * BUG 8334: smb2: smbd logs "Invalid SMB packet: first request: 0x0008" and crashes.
943     * BUG 8338: Add a fallback for missing open&x support in MAC OS/X Lion.
944     * BUG 8360: OS/2 sends an unexpected write&x/read&x chain.
945     * BUG 8385: Fix smbclient access to NT4 shares.
946     * BUG 8409: Fix a Winbind race leading to 100% CPU load.
947     * BUG 8420: Fix 'getent group' if trusted domains are not reachable.
948     * BUG 8433: Fix segfault in iconv.c.
949     * BUG 8455: Samba PDC is looking up only primary user group.
950
951
952 o   Herb Lewis <hlewis@panasas.com>
953     * BUG 8365: Fix warning messages on Freebsd 4.6.2.
954
955
956 o   Stefan Metzmacher <metze@samba.org>
957     * BUG 8407: SMB2 server can return requests out-of-order when processing
958       a compound request.
959     * BUG 8452: Check the wct of the incoming SMBnegprot responses.
960     * BUG 8473: smb2_find uses a hard coded max reply size of 0x10000 instead of
961       smb2_max_trans.
962     * BUG 8476: Don't call smbd_terminate_connection in
963       smb2_validate_message_id().
964     * BUG 8503: SMB2_OP_CANCEL requests don't have to be signed.
965     * BUG 8520: Fix SMB2 SMB2_OP_GETINFO and SMB2_OP_IOCTL parsing requirements.
966
967
968 o   SATOH Fumiyasu <fumiyas@osstech.co.jp>
969     * BUG 8390: Fix the build of vfs_aixacl2.c.
970
971
972 o   Andreas Schneider <asn@samba.org>
973     * BUG 8236: Empty notify servername.
974     * BUG 8351: While migrating forms, don't fail if the form already exists.
975
976
977 o   Andrew Tridgell <tridge@samba.org>
978     * BUG 8384: Fix smbd crashes triggered by Windows XP clients.
979
980
981 ######################################################################
982 Reporting bugs & Development Discussion
983 #######################################
984
985 Please discuss this release on the samba-technical mailing list or by
986 joining the #samba-technical IRC channel on irc.freenode.net.
987
988 If you do report problems then please try to send high quality
989 feedback. If you don't provide vital information to help us track down
990 the problem then you will probably be ignored.  All bug reports should
991 be filed under the Samba 3.6 product in the project's Bugzilla
992 database (https://bugzilla.samba.org/).
993
994
995 ======================================================================
996 == Our Code, Our Bugs, Our Responsibility.
997 == The Samba Team
998 ======================================================================
999
1000
1001 ----------------------------------------------------------------------
1002
1003
1004                    =============================
1005                    Release Notes for Samba 3.6.0
1006                           August 9, 2011
1007                    =============================
1008
1009
1010 This is the first release of Samba 3.6.0.
1011
1012 Major enhancements in Samba 3.6.0 include:
1013
1014
1015 Changed security defaults
1016 -------------------------
1017
1018 Samba 3.6 has adopted a number of improved security defaults that will
1019 impact on existing users of Samba.
1020
1021  client ntlmv2 auth = yes
1022  client use spnego principal = no
1023  send spnego principal = no
1024
1025 The impact of 'client ntlmv2 auth = yes' is that by default we will not
1026 use NTLM authentication as a client.  This applies to the Samba client
1027 tools such as smbclient and winbind, but does not change the separately
1028 released in-kernel CIFS client.  To re-enable the poorer NTLM encryption
1029 set '--option=clientusentlmv2auth=no' on your smbclient command line, or
1030 set 'client ntlmv2 auth = no' in your smb.conf
1031
1032 The impact of 'client use spnego principal = no' is that Samba will
1033 use CIFS/hostname to obtain a kerberos ticket, acting more like
1034 Windows when using Kerberos against a CIFS server in smbclient,
1035 winbind and other Samba client tools.  This will change which servers
1036 we will successfully negotiate kerberos connections to.  This is due
1037 to Samba no longer trusting a server-provided hint which is not
1038 available from Windows 2008 or later.  For correct operation with all
1039 clients, all aliases for a server should be recorded as a as a
1040 servicePrincipalName on the server's record in AD.  (For this reason,
1041 this behavior change and parameter was also made in Samba 3.5.9)
1042
1043 The impact of 'send spnego principal = no' is to match Windows 2008 and
1044 not to send this principal, making existing clients give more consistent
1045 behaviour (more likely to fall back to NTLMSSP) between Samba and
1046 Windows 2008, and between Windows versions that did and no longer use
1047 this insecure hint.
1048
1049
1050 SMB2 support
1051 ------------
1052
1053 SMB2 support in 3.6.0 is fully functional (with one omission),
1054 and can be enabled by setting:
1055
1056 max protocol = SMB2
1057
1058 in the [global] section of your smb.conf and re-starting
1059 Samba. All features should work over SMB2 except the modification
1060 of user quotas using the Windows quota management tools.
1061
1062 As this is the first release containing what we consider
1063 to be a fully featured SMB2 protocol, we are not enabling
1064 this by default, but encourage users to enable SMB2 and
1065 test it. Once we have enough confirmation from Samba
1066 users and OEMs that SMB2 support is stable in wide user
1067 testing we will enable SMB2 by default in a future Samba
1068 release.
1069
1070
1071 Internal Winbind passdb changes
1072 -------------------------------
1073
1074 Winbind has been changed to use the internal samr and lsa rpc pipe to get
1075 local user and group information instead of calling passdb functions. The
1076 reason is to use more of our infrastructure and test this infrastructure by
1077 using it. With this approach more code in Winbind is shared.
1078
1079
1080 New Spoolss code
1081 ----------------
1082
1083 The spoolss and the old RAP printing code have been completely
1084 overhauled and refactored.
1085
1086 All calls from lanman/printing code has been changed to go through the
1087 spoolss RPC interfaces, this allows us to keep all checks in one place
1088 and avoid special cases in the main printing code.
1089 Printing code has been therefore confined within the spoolss code.
1090
1091 All the printing code, including the spoolss RPC interfaces has been
1092 changed to use the winreg RPC interfaces to store all data.
1093 All data has been migrated from custom, arbitrary TDB files to the
1094 registry interface. This transition allow us to present correct data to
1095 windows client accessing the server registry through the winreg RPC
1096 interfaces to query for printer data. Data is served out from a real
1097 registry implementation and therefore arguably 100% forward compatible.
1098
1099 Migration code from the previous TDB files formats is provided. This
1100 code is automatically invoked the first time the new code is run on the
1101 server. Although manual migration is also available using the 'net
1102 printer migrate' command.
1103
1104 These changes not only make all the spoolss code much more closer to
1105 "the spec", it also greatly improves our internal testing of both
1106 spoolss and winreg interfaces, and reduces overall code duplication.
1107
1108 As part of this work, new tests have been also added to increase
1109 coverage.
1110
1111 This code will also allow, in future, an easy transition to split out
1112 the spooling functions into a separate daemon for those OEMs that do not
1113 need printing functionality in their appliances, reducing the code
1114 footprint.
1115
1116
1117 ID Mapping Changes
1118 ------------------
1119
1120 The id mapping configuration has been a source of much grief in the past.
1121 For this release, id mapping has been rewritten yet again with the goal
1122 of making the configuration more simple and more coherent while keeping
1123 the needed flexibility and even adding to the flexibility in some respects.
1124
1125 The major change that implies the configuration simplifications is at
1126 the heart of the id mapping system: The separation of the "idmap alloc
1127 system" that is responsible for the unix id counters in the tdb, tdb2
1128 and ldap idmap backends from the id mapping code itself has been removed.
1129 The sids_to_unixids operation is now atomic and encapsulates (if needed)
1130 the action of allocating a unix id for a mapping that is to be created.
1131 Consequently all idmap alloc configuration parameters have vanished and
1132 it is hence now also not possible any more to specify an idmap alloc
1133 backend different from the idmap backend. Each idmap backend uses its
1134 own idmap unixid creation mechanism transparently.
1135
1136 As a consequence of the id mapping changes, the methods that are used
1137 for storing and deleting id mappings have been removed from the winbindd
1138 API. The "net idmap dump/restore" commands have been rewritten to
1139 not speak through winbindd any more but directly act on the databases.
1140 This is currently available for the tdb and tdb2 backends, the implementation
1141 for ldap still missing.
1142
1143 The allocate_id functionality is preserved for the unix id creator of the
1144 default idmap configuration is also used as the source of unix ids
1145 for the group mapping database and for the posix attributes in a
1146 ldapsam:editposix setup.
1147
1148 As part of the changes, the default idmap configuration has been
1149 changed to be more coherent with the per-domain configuration.
1150 The parameters "idmap uid", "idmap gid" and "idmap range" are now
1151 deprecated in favour of the systematic "idmap config * : range"
1152 and "idmap config * : backend" parameters. The reason for this change
1153 is that the old options only provided an incomplete and hence deceiving
1154 backwards compatibility, which was a source of many problems with
1155 upgrades. By introducing this change in configuration, it should be
1156 brought to the conciousness of the users that even the simple
1157 id mapping is not working exactly as in Samba 3.0 versions any more.
1158
1159
1160 Endpoint Mapper
1161 ---------------
1162
1163 As Microsoft is more and more relying on endpoint mapper and we didn't have a
1164 complete implementation we decided to create an instance for Samba. The
1165 endpoint mapper is like a DNS server but for ports. If you want to talk to a
1166 certain RPC service over TCP/IP, you just ask the endpoint mapper on which
1167 port it is running. Then you can connect to the service and make sure that it
1168 is running.
1169
1170 The code is deactivated by default, because it needs more testing and it
1171 doesn't scale yet. If you want to enable and test the endpoint mapper
1172 you can set "rpc_server:epmapper = daemon" in the smb.conf file.
1173
1174
1175 Internal restructuring
1176 ----------------------
1177
1178 Ongoing internal restructuring for better separation of internal subsystem to
1179 achieve a faster build, smaller binaries and cleaner dependencies for the samba3
1180 waf build.
1181
1182
1183 SMB Traffic Analyzer
1184 --------------------
1185
1186 Added the new SMB Traffic Analyzer (SMBTA) VFS module protocol 2
1187 featuring encryption, multiple arguments, and easier parseability. A new
1188 tool 'smbta-util' has been created to control the encryption behaviour
1189 of SMBTA. For compatibility, SMBTA by default operates on version 1.
1190 There are programs consuming the data that the module sends.
1191
1192 More information can be found on
1193 http://holger123.wordpress.com/smb-traffic-analyzer/
1194
1195
1196 NFS quota backend on Linux
1197 --------------------------
1198
1199 A new nfs quota backend for Linux has been added that is based
1200 on the existing Solaris/FreeBSD implementation. This allows samba
1201 to communicate correct diskfree information for nfs imports that
1202 are re-exported as samba shares.
1203
1204
1205 ######################################################################
1206 Changes
1207 #######
1208
1209 smb.conf changes
1210 ----------------
1211
1212    Parameter Name                      Description     Default
1213    --------------                      -----------     -------
1214
1215    async smb echo handler              New             No
1216    client ntlmv2 auth                  Changed Default Yes
1217    client use spnego principal         New             No
1218    ctdb locktime warn threshold        New             0
1219    idmap alloc backend                 Removed
1220    log writeable files on exit         New             No
1221    multicast dns register              New             Yes
1222    ncalrpc dir                         New
1223    send spnego principal               New             No
1224    smb2 max credits                    New             8192
1225    smb2 max read                       New             1048576
1226    smb2 max trans                      New             1048576
1227    smb2 max write                      New             1048576
1228    username map cache time             New             0
1229    winbind max clients                 New             200
1230
1231    The variable substitutions for %i and %I no longer
1232    use IPv4 addresses mapped to IPv6, e.g. '::ffff:192.168.0.1',
1233    if the host has IPv6 enabled. Now %i and %I contain just
1234    '192.168.0.1'.
1235
1236 Commit Highlights
1237 -----------------
1238
1239 o   Michael Adam <obnox@samba.org>
1240     * ID Mapping changes.
1241
1242
1243 o   Jeremy Allison <jra@samba.org>
1244     * Implement SMB2 support.
1245
1246
1247 o   Stefan Metzmacher <metze@samba.org>
1248     * Implement SMB2 support.
1249
1250
1251 o   Andreas Schneider <asn@samba.org>
1252     * Add an Endpoint Mapper daemon.
1253
1254
1255 Changes since 3.6.0rc3
1256 ----------------------
1257
1258 o   Michael Adam <obnox@samba.org>
1259     * BUG 8327: Fix the reload of the configuration, also reload activated
1260       registry shares.
1261     * BUG 8328: Cleanup of idmap_tdb2 code.
1262
1263
1264 o   Jeremy Allison <jra@samba.org>
1265     * BUG 7462: Make SA_RESETHAND conditional on its existance.
1266     * BUG 8324: smbclient cannot list directories from a big-endian machine.
1267     * BUG 8335: File copy aborts with smb2_validate_message_id: bad message_id.
1268
1269
1270 o   Christian Ambach <ambi@samba.org>
1271     * BUG 8330: Fix NFSv4 ACL merging logic.
1272
1273
1274 o   Andrew Bartlett <abartlet@samba.org>
1275     * BUG 8326: WinXP cannot join a Samba3 domain with a 'even' hostname.
1276
1277
1278 o   Björn Baumbach <bb@sernet.de>
1279     * BUG 8303: db_ctdb_send_schedule_for_deletion() is not defined.
1280
1281
1282 o   Alban Browaeys <prahal@yahoo.com>
1283     * BUG 8341: Fix segfault in libsmbclient.
1284
1285
1286 o   Björn Jacke <bj@sernet.de>
1287     * BUG 8362: Fix build issue on old glibc systems.
1288
1289
1290 o   Volker Lendecke <vlendec@samba.org>
1291     * BUG 8343: Fix SMB2 crash reading with aio_fork beyond the end of file.
1292
1293
1294 o   Stefan Metzmacher <metze@samba.org>
1295     * BUG 8347: Fix regression for HP-UX, AIX and OSF.
1296     * BUG 8357: Make sure we grant credits on async read/write operations.
1297     * BUG 8358: Fix a bug in run_poll_events().
1298
1299
1300 Changes since 3.6.0rc2
1301 ----------------------
1302
1303 o   Michael Adam <obnox@samba.org>
1304     * BUG 8213: Fixes in idmap_autorid.
1305     * BUG 8217: Do not stat-check the share path in 'net conf addshare'.
1306     * BUG 8281: Fix build of examples/VFS/*.
1307
1308
1309 o   Jeremy Allison <jra@samba.org>
1310     * BUG 8083: Fix "inherit owner = yes" with vfs_acl_xattr or vfs_acl_tdb
1311       module.
1312     * BUG 8211: Fix "inherit owner = yes" when "inherit permissions = yes"
1313       is set.
1314     * BUG 8219: Fix SMB Panic from Windows 7 client.
1315     * BUG 8254: Fix "acl check permissions = no".
1316     * BUG 8293: Fix log file rotating in SMB2.
1317     * BUG 8304: Fix uninitialized variable in error path.
1318     * BUG 8307: brl_close_fnum does not call SMB_VFS_BRL_UNLOCK_WINDOWS on all
1319       locks.
1320     * BUG 8310: toupper_ascii() is broken on big-endian systems.
1321     * BUG 8314: Fix smbd crash with unknown user.
1322
1323
1324 o   Christian Ambach <ambi@samba.org>
1325     * BUG 8231: Fix crash bug in 'net cache get'.
1326     * BUG 8244: Fix copying files larger than 2 GB to a Samba share.
1327     * BUG 8263: Fix build with --with-fake-kaserver or --with-vfs-afsacl.
1328     * BUG 8278: Fix smbd panic when CTDB is unhealthy.
1329     * BUG 8286: Fix smbd crash on premature end of smb2 conn.
1330
1331
1332 o   Andrew Bartlett <abartlet@samba.org>
1333     * BUG 8230: Move .nmbd socket directory to non-hidden name PREFIX/var/nmbd.
1334     * Mark 'time offset' parameter as deprecated.
1335
1336
1337 o   Gregor Beck <gbeck@sernet.de>
1338     * BUG 8193: Add new command 'enumerate_recursive'.
1339     * BUG 8253: Fix Winbind panic if verify_idpool() fails.
1340
1341
1342 o   Kai Blin <kai@samba.org>
1343     * BUG 8289: Fix possible XSS attack (CVE-2011-2694).
1344     * BUG 8290: Fix Cross-Site Request Forgery in SWAT (CVE-2011-2522).
1345
1346
1347 o   Günther Deschner <gd@samba.org>
1348     * BUG 7888: Deal with buggy 3.0 based PDCs.
1349     * BUG 8214: Fix smbd crash on printer driver upgrade.
1350     * BUG 8235: Fix smbd crash on startup caused by migrate_printer().
1351
1352
1353 o   Björn Jacke <bj@sernet.de>
1354     * BUG 8262: Fix build of vfs_commit.
1355
1356
1357 o   Günter Kukkukk <linux@kukkukk.com>
1358     * BUG 8305: Fix segfault in nmbd when using 'smbtree ...'..
1359
1360
1361 o   Volker Lendecke <vl@samba.org>
1362     * BUG 7841: Explicitly pass domain_sid to wbint_LookupRids().
1363     * BUG 8102: Do not allow to change file ACLs from normal domusers.
1364     * BUG 8247: Fix Coverity ID 2582: FORWARD_NULL.
1365
1366
1367 o   Herb Lewis <hlewis@panasas.com>
1368     * BUG 8216: Make Winbind returning correct results with 'sids2xids'.
1369
1370
1371 o   Stefan Metzmacher <metze@samba.org>
1372     * BUG 8102: Do not allow to change file ACLs from normal domusers.
1373     * BUG 8195: Make rpc client code working against NT4 servers.
1374     * BUG 8224: Fix the build on FreeBSD.
1375     * BUG 8226: Use c99 initializers which are supported by old gcc 2.95
1376       compilers.
1377     * BUG 8260: Fix DCERPC responses with fragments larger than 1024 bytes.
1378     * BUG 8264: Fix Valgrind bugs in svcctl.
1379     * BUG 8276: Close all sockets attached to a subnet in close_subnet().
1380     * BUG 8292: Fix a major architectural flaw in the SMB2 server code.
1381
1382
1383 o   Andreas Schneider <asn@samba.org>
1384     * BUG 8215: Fix Winbind unix username lookup.
1385     * BUG 8240: Fix Valgrind warnings in winreg/spoolss code.
1386
1387
1388 Changee since 3.6.0rc1
1389 ----------------------
1390
1391 o   Michael Adam <obnox@samba.org>
1392     * BUG 8200: Add support for multiple writeable ldap idmap domains.
1393
1394
1395 o   Jeremy Allison <jra@samba.org>
1396     * BUG 6911: Fix Kerberos authentication from Vista to Samba.
1397     * BUG 7054: Fix X account flag when "pwdlastset" is "0".
1398     * BUG 8133: Fix strange behavior for the file (whose filename first
1399       character is period ) in SMB2 case.
1400     * BUG 8144: Fix setting timestamp when touching files with CIFS clients.
1401     * BUG 8150: Ban "dos charset = utf8".
1402     * BUG 8153: Fix setting up getaddrinfo on IPv6-only machines.
1403     * BUG 8156: Fix 'net ads join' using the user's Kerberos ticket.
1404     * BUG 8157: Fix parsing a cups printcap file.
1405     * BUG 8163: Fix our asn.1 parser to handle negative numbers.
1406     * BUG 8175: Fix smbd deadlock.
1407     * BUG 8191: Split the ACE flag mapping between nfs4 and Windows into two
1408       separate functions.
1409     * BUG 8197: Winbind does not properly detect when a DC connection is dead.
1410     * BUG 8203: Winbind needs to reset the DC connection if an RPC times out.
1411
1412
1413 o   Christian Ambach <ambi@samba.org>
1414     * BUG 8152: Fix smbd crash in release_ip().
1415
1416
1417 o   Andrew Bartlett <abartlet@samba.org>
1418     * BUG 8151: Deprecate security parameters.
1419
1420
1421 o   Gregor Beck <gbeck@sernet.de>
1422     * BUG 8191: nfs4_acls: Pass ACE_FLAG_INHERITED_ACE up to the client/down
1423       from the client.
1424     * BUG 8192: Fix parsing of multiple flags in 'smbcacls'.
1425
1426
1427 o   Sumit Bose <sbose@redhat.com>
1428     * BUG 8142: Fix typos in LDAP schema files.
1429
1430
1431 o   Holger Hetterich <hhetter@novell.com>
1432     * BUG 8148: Default to protocol version 2 for SMB Traffic Analyzer.
1433     * BUG 8154: Actually make use of SMBTA subversion numbers.
1434
1435
1436 o   Björn Jacke <bj@sernet.de>
1437     * BUG 7998: Remove warning if IOV_MAX is not defined.
1438
1439
1440 o   Jim McDonough <jmcd@samba.org>
1441     * BUG 8166: Don't lockout users when offline.
1442
1443
1444 o   Stefan Metzmacher <metze@samba.org>
1445     * BUG 8140: talloc: Fix Valgrind false positives and other backports.
1446     * BUG 8141: Fix wrong permissions on lp_ncalrpc_dir().
1447
1448
1449 o   Andreas Schneider <asn@samba.org>
1450     * BUG 8155: Fix registering only named pipes on EPM for a service.
1451
1452
1453 o   Volker Lendecke <vl@samba.org>
1454     * BUG 8159: Fix memory corruption in fetching cli->server_domain from the
1455       server.
1456     * BUG 8185: "security=server" does not obey guest login field.
1457     * BUG 8189: Support shadow copy display over SMB2.
1458     * BUG 8199: Fix potential crash in smbd handling smb2.
1459
1460
1461 o   Samuel Thibault <sthibault@debian.org>
1462     * BUG 7998: Fix build on Hurd.
1463
1464
1465 Changes since 3.6.0pre3
1466 -----------------------
1467
1468 o   Jeremy Allison <jra@samba.org>
1469     * BUG 8111: CIFS VFS: Fix unexpected error on SMB posix open.
1470     * BUG 8112: POSIX extension opens of a directory are denied with EISDIR.
1471     * Remove fstrings from client struct.
1472     * BUGFIX when converting from safe_strcpy to strlcpy.
1473     * Fix off-by-one calculations with strlcpy.
1474     * Ensure we always write the correct incoming mid into the share mode table
1475       entries.
1476     * Fix the SMB2 oplock showstopper.
1477
1478
1479 o   Christian Ambach <christian.ambach@de.ibm.com>
1480     * Convert user-specified domain to uppercase in libsmb.
1481
1482
1483 o   Günther Deschner <gd@samba.org>
1484     * BUG 8132: Fix filling printers location field when using cups.
1485     * Fix Coverity CID #2302: FORWARD_NULL.
1486     * Fix cups_pull_comment_location().
1487     * Fix double free of cups request.
1488     * Make cups_pull_comment_location() work again.
1489     * Fix potential crash bug in display_print_driver3().
1490
1491
1492 o   Volker Lendecke <vl@samba.org>
1493     * Properly clean up in pthreadpool_init in case of failure.
1494     * Make plaintext session setup async.
1495     * Reduce fd load in Winbind children.
1496     * Avoid a potential 100% CPU loop in Winbind.
1497     * Tune broadcast namequeries for unique names.
1498     * Properly deal with exited winbind children.
1499     * Fix dup_smb2_vec3.
1500     * Fix return check in nss_wins.
1501
1502
1503 Changes since 3.6.0pre2
1504 -----------------------
1505
1506 o   Michael Adam <obnox@samba.org>
1507     * Fix build of tdb2.
1508
1509
1510 o   Jeremy Allison <jra@samba.org>
1511     * BUG 8083: "inherit owner = yes" doesn't interact correctly with
1512       vfs_acl_xattr or vfs_acl_tdb module.
1513     * BUG 8088: rpccli_samr_chng_pswd_auth_crap segfaults if any input blobs
1514       are null.
1515     * Correctly detect and deny symlinks anywhere in a path (not just the last
1516       component) if "follow symlinks = no".
1517
1518
1519 o   Günther Deschner <gd@samba.org>
1520     * BUG 8106: Fix the build of 'smbget' on HP NonStop.
1521     * Fix timeout in rpc_pipe_open_tcp_port().
1522     * Fix the build of "--with-profiling-data".
1523     * Fix the AIX 5.3 build.
1524
1525
1526 o   Sergey Korsak <skif@1plus1.net>
1527     * BUG #8099: setpwent() actually does endpwent() and vice versa on FreeBSD.
1528
1529
1530 o   Volker Lendecke <vl@samba.org>
1531     * BUG 8066: Fix wrong output in 'smbget'.
1532     * Fix Coverity IDs 986, 1340, 2047, 2299, 2307, 2325, 2335, 2336, 2470,
1533       2471, 2478.
1534     * nsswitch: Add 'wbinfo --lookup-sids'.
1535     * nsswitch: Add 'wbinfo --sids-to-unix-ids'.
1536     * Fix smbd with the async echo responder.
1537     * Fix the build of vfs_gpfs.c.
1538     * Add a 10-second timeout for the 445 or netbios connection to a DC.
1539     * Many pthreadpool fixes.
1540
1541
1542 o   Stefan Metzmacher <metze@samba.org>
1543     * BUG 7383: Listen on IPv6 addresses with IPV6_ONLY.
1544
1545
1546 o   Rusty Russell <rusty@rustcorp.com.au>
1547     * Fix transaction recovery area for converted tdbs.
1548
1549
1550
1551 Changes since 3.6.0pre1
1552 -----------------------
1553
1554 o   Michael Adam <obnox@samba.org>
1555     * ID Mapping changes.
1556     * Add "--option" to 'testparm'.
1557
1558
1559 o   Jeremy Allison <jra@samba.org>
1560     * BUG 7080: Quota only shown when logged as root.
1561     * BUG 7863: Unlink may unlink wrong file when hardlinks are involved.
1562     * BUG 7996: Sgid bit lost on folder rename.
1563     * BUG 8040: Fix smbclient segfault with Cyrillic netbios names.
1564     * Fix crash bug on smbd shutdown when using FOPENDIR().
1565     * Ensure we don't return an incorrect access mask.
1566     * Fix bug against the new Mac client.
1567     * Fix leak in error path.
1568     * Fix error where Windows client spoolss returns WERR_INVALID_DATA.
1569
1570
1571 o   Christian Ambach <christian.ambach@de.ibm.com>
1572     * Fix a segfault in the krb5 locator plugin.
1573     * Enable sharesec for registry shares.
1574
1575
1576 o   Andrew Bartlett <abartlet@samba.org>
1577     * Fix memory leak in "security=share" and "force user".
1578
1579
1580 o   Björn Baumbach <bb@sernet.de>
1581     * BUG 7875: Fix 'nmbd --port'.
1582     * BUG 7880: cmd_spoolss_deletedriver() returned without checking all
1583       architectures.
1584
1585
1586 o   Gregor Beck <gbeck@sernet.de>
1587     * Add new 'net idmap check' command.
1588     * Add new 'net idmap delete' command.
1589     * Fix segfault on missing input file in 'net idmap restore'.
1590
1591
1592 o   Olly Betts <olly@survex.com>
1593     * Fix 'net usersidlist' not to skip every other user.
1594
1595
1596 o   Günther Deschner <gd@samba.org>
1597     * BUG 7690: Retry DNS updates when connection to one nameserver has failed.
1598     * BUG 7945: Let winbind try to use samlogon validation level 6.
1599     * Fix Coverity ID 2041.
1600     * Fix potential crash bug in spoolss_PrinterEnumValues push path.
1601     * Internal restructuring.
1602     * Don't wipe out all printer drivers when only one should be deleted.
1603     * Fix winbindd_dual_pam_auth_samlogon() for NT4 domains.
1604
1605
1606 o   David Disseldorp <ddiss@suse.de>
1607     * BUG 7915: Fix cups pcap reload with no printers.
1608     * BUG 8040: Fix smbclient segfault with Cyrillic netbios names.
1609     * Fix memory leak in print_cups.c.
1610     * Remove duplicate cups response processing code.
1611     * Follow force user/group for driver IO.
1612     * Initiate pcap reload from parent smbd.
1613     * Reload shares after pcap cache fill.
1614
1615
1616 o   Björn Jacke <bj@sernet.de>
1617     * BUG 8033: Add explicit configure option whether or not to enable dmapi
1618       support.
1619
1620
1621 o   Volker Lendecke <vl@samba.org>
1622     * BUG 7917: Fix bug in chain_reply.
1623     * BUG 7940: Fall back for utimes calls.
1624     * BUG 8009: Fix getting username in 'net rap session'.
1625     * BUG 8010: Use jenkins hash for str_checksum.
1626     * BUG 8042: Fix file creation on OS/X.
1627     * Fix numerous Coverity IDs.
1628     * Fix a memory leak in check_sam_security_info3.
1629     * Fix a segfault in the nss wrapper when libnss_winbind.so is not loadable.
1630     * Make "net sam list [users|workstations]" list only the right things.
1631     * Fix a potential memleak in secrets_fetch_trusted_domain_password.
1632     * Use the right credentials in check_netlogond_security.
1633     * Add support for AF_NETLINK addr notifications.
1634     * Fork multiple Winbind children per domain.
1635     * Fix a deadlock between smbd and ctdbd.
1636     * Add 'wbinfo --dc-info'.
1637     * Make "nmbd socket dir" configurable.
1638     * Fix a valgrind error.
1639     * Fix a memleak in receive_getdc_response.
1640
1641
1642 o   Nikolay Martynov <mar.kolya@gmail.com>
1643     * BUG 8010: Fix inode generation so nautilus can count total dir size
1644       correctly.
1645
1646
1647 o   Stefan Metzmacher <metze@samba.org>
1648     * BUG 7567: Fix printing from Windows 7.
1649     * BUG 7899: Don't return "-1" on success in 'net rpc vampire keytab'.
1650     * BUG 7944: Catch lookup_names/sids schannel errors over ncacn_ip_tcp.
1651     * Don't grant SEC_STD_DELETE always to the owner of a file.
1652     * Fix segfaults on addrchange errors in Winbind.
1653     * Allow machine accounts as members in groupdb.
1654
1655
1656 o   Jonathan Nieder <jrnieder@gmail.com>
1657     * BUG 6837: Make "rlimit_max below minimum Windows limit" notification less
1658       scary.
1659
1660
1661 o   Andreas Schneider <asn@samba.org>
1662     * Add an Endpoint Mapper daemon.
1663     * Add IPv6 support for the endpoint mapper.
1664     * Free unused memory in the rpc server.
1665     * Fix possible segfaults in svcctl server.
1666     * Fix possible segfault with client_id in rpc server.
1667     * Add a 'svcctl shutdown' function to rpc server.
1668     * Fix a resource leak in net_afs.
1669     * Fix a resource leak in smbta-util.
1670     * Fix possible resource leak in net_usershare.
1671     * Fix possible resource leak in 'smbget'.
1672     * Fix possible resource leak in 'smbfilter'.
1673     * Fix a possible null pointer dereference in smbd.
1674
1675
1676 o   Pavel Shilovsky <piastry@etersoft.ru>
1677     * BUG 7928: Fix problems with "kernel oplocks" option set to "no".
1678     * Ensure we send the direct levelII oplock break to the correct fid.
1679
1680
1681 o   Simo Sorce <idra@samba.org>
1682     * Fix private libdir and codepages paths.
1683
1684
1685 o   Andrew Tridgell <tridge@samba.org>
1686     * Fix a valgrind error.
1687
1688
1689 ######################################################################
1690 Reporting bugs & Development Discussion
1691 #######################################
1692
1693 Please discuss this release on the samba-technical mailing list or by
1694 joining the #samba-technical IRC channel on irc.freenode.net.
1695
1696 If you do report problems then please try to send high quality
1697 feedback. If you don't provide vital information to help us track down
1698 the problem then you will probably be ignored.  All bug reports should
1699 be filed under the Samba 3.6 product in the project's Bugzilla
1700 database (https://bugzilla.samba.org/).
1701
1702
1703 ======================================================================
1704 == Our Code, Our Bugs, Our Responsibility.
1705 == The Samba Team
1706 ======================================================================
1707