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