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