Protect all of the name resolution methods from returning null addrs. Ensure all...
[samba.git] / WHATSNEW.txt
1                    ==============================
2                    Release Notes for Samba 3.5.16
3                            , 2012
4                    ==============================
5
6
7 This is the latest stable release of Samba 3.5.
8
9 Major enhancements in Samba 3.5.16 include:
10
11
12
13 Changes since 3.5.15:
14 ---------------------
15
16
17 o   Jeremy Allison <jra@samba.org>
18
19
20 ######################################################################
21 Reporting bugs & Development Discussion
22 #######################################
23
24 Please discuss this release on the samba-technical mailing list or by
25 joining the #samba-technical IRC channel on irc.freenode.net.
26
27 If you do report problems then please try to send high quality
28 feedback. If you don't provide vital information to help us track down
29 the problem then you will probably be ignored.  All bug reports should
30 be filed under the Samba 3.5 product in the project's Bugzilla
31 database (https://bugzilla.samba.org/).
32
33
34 ======================================================================
35 == Our Code, Our Bugs, Our Responsibility.
36 == The Samba Team
37 ======================================================================
38
39
40 Release notes for older releases follow:
41 ----------------------------------------
42
43                    ==============================
44                    Release Notes for Samba 3.5.15
45                            April 30, 2012
46                    ==============================
47
48
49 This is a security release in order to address
50 CVE-2012-2111 (Incorrect permission checks when granting/removing
51 privileges can compromise file server security).
52
53 o  CVE-2012-2111:
54    Samba 3.4.x to 3.6.4 are affected by a
55    vulnerability that allows arbitrary users
56    to modify privileges on a file server.
57
58
59 Changes since 3.5.14:
60 ---------------------
61
62
63 o   Jeremy Allison <jra@samba.org>
64     * Fix  incorrect permission checks when granting/removing
65       privileges (CVE-2012-2111).
66
67
68 ######################################################################
69 Reporting bugs & Development Discussion
70 #######################################
71
72 Please discuss this release on the samba-technical mailing list or by
73 joining the #samba-technical IRC channel on irc.freenode.net.
74
75 If you do report problems then please try to send high quality
76 feedback. If you don't provide vital information to help us track down
77 the problem then you will probably be ignored.  All bug reports should
78 be filed under the Samba 3.5 product in the project's Bugzilla
79 database (https://bugzilla.samba.org/).
80
81
82 ======================================================================
83 == Our Code, Our Bugs, Our Responsibility.
84 == The Samba Team
85 ======================================================================
86
87
88 ----------------------------------------------------------------------
89
90
91                    ==============================
92                    Release Notes for Samba 3.5.14
93                            April 10, 2012
94                    ==============================
95
96
97 This is a security release in order to address
98 CVE-2012-1182 ("root" credential remote code execution).
99
100 o  CVE-2012-1182:
101    Samba 3.0.x to 3.6.3 are affected by a
102    vulnerability that allows remote code
103    execution as the "root" user.
104
105
106 Changes since 3.5.13:
107 ---------------------
108
109
110 o   Stefan Metzmacher <metze@samba.org>
111     *BUG 8815: PIDL based autogenerated code allows overwriting beyond of
112      allocated array (CVE-2012-1182).
113
114
115 ######################################################################
116 Reporting bugs & Development Discussion
117 #######################################
118
119 Please discuss this release on the samba-technical mailing list or by
120 joining the #samba-technical IRC channel on irc.freenode.net.
121
122 If you do report problems then please try to send high quality
123 feedback. If you don't provide vital information to help us track down
124 the problem then you will probably be ignored.  All bug reports should
125 be filed under the Samba 3.5 product in the project's Bugzilla
126 database (https://bugzilla.samba.org/).
127
128
129 ======================================================================
130 == Our Code, Our Bugs, Our Responsibility.
131 == The Samba Team
132 ======================================================================
133
134
135 ----------------------------------------------------------------------
136
137
138                    ==============================
139                    Release Notes for Samba 3.5.13
140                           March 12, 2012
141                    ==============================
142
143
144 This is the latest stable release of Samba 3.5.
145
146 Major enhancements in Samba 3.5.13 include:
147
148 o  Fix a crash bug in cldap_socket_recv_dgram() (bug #8593).
149 o  Fully observe password change settings (bug #8561).
150 o  Fix NT ACL issue (bug #8673).
151 o  Fix segfault in Winbind if we can't map the last user (bug #8678).
152
153
154 Changes since 3.5.12:
155 --------------------
156
157
158 o   Michael Adam <obnox@samba.org>
159     * BUG 8327: Fix config reload to reload shares from registry.
160
161
162 o   Jeremy Allison <jra@samba.org>
163     * BUG 8139: Ignore SMBecho errors.
164     * BUG 8521: Fix Winbind cache timeout expiry test.
165     * BUG 8561: Fully observe password change settings.
166     * BUG 8631: Fix POSIX ACE x permission mapping to and from a DACL.
167     * BUG 8636: When returning an ACL without SECINFO_DACL requested, we still
168       set SEC_DESC_DACL_PRESENT in the type field.
169     * BUG 8644: Make sure that vfs_acl_xattr and vfs_acl_tdb modules add
170       inheritable entries on a directory with no stored ACL.
171     * BUG 8663: Fix deleting a symlink if the symlink target is outside of the
172     * share.
173     * BUG 8664: Fix renaming a symlink if the symlink target is outside of the
174       share.
175     * BUG 8673: Fix NT ACL issue.
176     * BUG 8679: Make sure that recvfile code path using splice() on Linux
177       does not leave data in the pipe on short write.
178     * BUG 8687: Fix typo in 'net memberships' usage.
179
180
181 o   Christian Ambach <christian.ambach@de.ibm.com>
182     * BUG 8658: Add timeouts to Winbind cache.
183
184
185 o   Andrew Bartlett <abartlet@samba.org>
186     * BUG 8727: Do not limit read replies to NBT packet sizes.
187
188
189 o   Günther Deschner <gd@samba.org>
190     * BUG 8176: Fix perl path.
191     * BUG 8692: Fix malloc/talloc mismatch in ads_keytab_verify_ticket().
192
193
194 o   Björn Jacke <bj@sernet.de>
195     * BUG 8652: Document the ignore system acls option of vfs_acl_xattr and
196       vfs_acl_tdb.
197
198
199 o   Jeff Layton <jlayton@redhat.com>
200     * BUG 8648: Document more undocumented mount.cifs options.
201
202
203 o   Volker Lendecke <vl@samba.org>
204     * BUG 8639: Fix the vfs_commit module.
205     * BUG 8686: Packet validation checks can be done before length validation
206       causing uninitialized memory read.
207
208
209 o   Stefan Metzmacher <metze@samba.org>
210     * BUG 5326: Fix cli_write_and_x() against OS/2 print shares.
211     * BUG 8562: Fix double free error (talloc).
212     * BUG 8593: Fix a crash bug in cldap_socket_recv_dgram().
213     * BUG 8684: Try ctdbd_init_connection() as root.
214
215
216 o   Masafumi Nakayama <MASA23@jp.ibm.com>
217     * BUG 563: Fix 'smbclient tar' for files greater than 8GB on BE machines.
218
219
220 o   Matthieu Patou <mat@matws.net>
221     * BUG 8599: Make WINBINDD_PAM_AUTH_CRAP return valid user session key.
222     * BUG 8771: Make Winbind change faster from DC1 to DC2.
223
224
225 o   Andreas Schneider <asn@samba.org>
226     * BUG 8608: Don't fail on users without a uid (Winbind).
227     * BUG 8628: Don't duplicate Kerberos service tickets.
228     * BUG 8645: Add missing prefixpath options for mount.cifs manpage.
229     * BUG 8658: Add an update function for Winbind cache.
230     * BUG 8678: Fix segfault in Winbind if we can't map the last user.
231
232
233 o   Karolin Seeger <kseeger@samba.org>
234     * BUG 7705: Fix rpm build issues on RHEL4.
235
236
237 o   Richard Sharpe <realrichardsharpe@gmail.com>
238     * BUG 8607: Simplify building modules outside the Samba source tree.
239
240
241 ######################################################################
242 Reporting bugs & Development Discussion
243 #######################################
244
245 Please discuss this release on the samba-technical mailing list or by
246 joining the #samba-technical IRC channel on irc.freenode.net.
247
248 If you do report problems then please try to send high quality
249 feedback. If you don't provide vital information to help us track down
250 the problem then you will probably be ignored.  All bug reports should
251 be filed under the Samba 3.5 product in the project's Bugzilla
252 database (https://bugzilla.samba.org/).
253
254
255 ======================================================================
256 == Our Code, Our Bugs, Our Responsibility.
257 == The Samba Team
258 ======================================================================
259
260
261 ----------------------------------------------------------------------
262
263
264                    ==============================
265                    Release Notes for Samba 3.5.12
266                           November 2, 2011
267                    ==============================
268
269
270 This is the latest stable release of Samba 3.5.
271
272 Major enhancements in Samba 3.5.12 include:
273
274 o  Fix race condition in Winbind (bug 7844).
275 o  The VFS ACL modules are no longer experimental but production-ready.
276
277
278 Changes since 3.5.11:
279 --------------------
280
281
282 o   Jeremy Allison <jra@samba.org>
283     * BUG 7509: smb_acl_to_posix: ACL is invalid for set (Invalid argument).
284     * BUG 7551: Return error of cli_push when 'put - /some/file' is used.
285     * BUG 8156: 'net ads join' fails to use the user's kerberos ticket.
286     * BUG 8370: Fix vfs_chown_fsp.
287     * BUG 8422: Fix infinite loop in ACL module code.
288     * BUG 8443: Be smarter about setting default permissions when a ACL_USER_OBJ
289       isn't given.
290     * BUG 8458: IE9 on Windows 7 cannot download files to samba 3.5.11 share.
291     * BUG 8493: DFS breaks zip file extracting unless "follow symlinks = no"
292       set.
293     * BUG 8507: Make smbd correctly honor the "force create mode" bits from a
294       cifsfs create.
295     * BUG 8541: Fix readlink() on Linux clients if the symlink target is
296       outside of the share.
297     * BUG 8542: smbclient posix_open command fails to return correct info on
298       open file.
299
300
301 o   Pierre Carrier <pcarrier@redhat.com>
302     * BUG 8186: Allow changing the maximum number of simultaneous clients in
303       Winbind through an smb.conf option.
304
305
306 o   Günther Deschner <gd@samba.org>
307     * BUG 7465: Fix 'net ads join -k' when KRB5CCNAME is not set.
308     * BUG 7888: Deal with buggy 3.0 based PDCs.
309     * BUG 8491: Fix some coverity issues.
310
311
312 o   David Disseldorp <ddiss@suse.de>
313     * BUG 8480: acl_xattr can free an invalid pointer if no blob is loaded.
314
315
316 o   Björn Jacke <bj@sernet.de>
317     * BUG 8256: Add man vfs_aio_fork.
318     * BUG 8362: Fix SWAT build issue on old glibc systems.
319     * BUG 8531: Make DSO_EXPORTS_CMD more portable.
320
321
322 o   Volodymyr Khomenko <Volodymyr_Khomenko@dell.com>
323     * BUG 8515: Disallow "." in can_set_delete_on_close().
324
325
326 o   Volker Lendecke <vl@samba.org>
327     * BUG 7844: Fix race condition in Winbind.
328     * BUG 8338: Add a fallback for missing open&x support in OS/X Lion.
329     * BUG 8420: Fix getent group if trusted domains are not reachable.
330
331
332 o   Stefan Metzmacher <metze@samba.org
333     * BUG 8347: Fix regression on HP-UX, AIX and OSF introduced by the fix for
334       CVE-2011-2522.
335     * BUG 8452: Check the wct of the incoming SMBnegprot responses in libsmb.
336     * BUG 8491: Fix some coverity issues.
337
338
339 ######################################################################
340 Reporting bugs & Development Discussion
341 #######################################
342
343 Please discuss this release on the samba-technical mailing list or by
344 joining the #samba-technical IRC channel on irc.freenode.net.
345
346 If you do report problems then please try to send high quality
347 feedback. If you don't provide vital information to help us track down
348 the problem then you will probably be ignored.  All bug reports should
349 be filed under the Samba 3.5 product in the project's Bugzilla
350 database (https://bugzilla.samba.org/).
351
352
353 ======================================================================
354 == Our Code, Our Bugs, Our Responsibility.
355 == The Samba Team
356 ======================================================================
357
358
359 ----------------------------------------------------------------------
360
361
362                    ==============================
363                    Release Notes for Samba 3.5.11
364                            August 4, 2011
365                    ==============================
366
367
368 This is the latest stable release of Samba 3.5.
369
370 Major enhancements in Samba 3.5.11 include:
371
372 o  Fix access to Samba shares when Windows security patch KB2536276 is installed
373    (bug #8238).
374 o  Fix Winbind panics if verify_idpool() fails (bug #8253).
375
376
377 Changes since 3.5.10:
378 --------------------
379
380
381 o   Jeremy Allison <jra@samba.org>
382     * BUG 7462: Make SA_RESETHAND conditional on its existance.
383     * BUG 8254: Make "acl check permissions = no" working in all cases.
384
385
386 o   Gregor Beck <gbeck@sernet.de>
387     * BUG 8253: Fix Winbind panics if verify_idpool() fails.
388
389
390 o   David Disseldorp <ddiss@suse.de>
391     * BUG 8269: Stop spamming log with "Could not find child X -- ignoring"
392       messages in smbd.
393
394
395 o   Björn Jacke <bj@sernet.de>
396     * BUG 7460: Include sys/file.h only when available.
397
398
399 o   Volker Lendecke <vl@samba.org>
400     * BUG 7841: Explicitly pass domain_sid to wbint_LookupRids().
401     * BUG 8238: Fix access to Samba shares when Windows security patch
402       KB2536276 is installed.
403     * BUG 8322: Add HAVE_FUNCTION_ATTRIBUTE_DESTRUCTOR.
404
405
406 o   Stefan Metzmacher <metze@samba.org>
407     * BUG 7841: Make WINBINDD_LOOKUPRIDS ask the right domain.
408     * BUG 8276: Close all sockets attached to a subnet in close_subnet().
409
410
411 ######################################################################
412 Reporting bugs & Development Discussion
413 #######################################
414
415 Please discuss this release on the samba-technical mailing list or by
416 joining the #samba-technical IRC channel on irc.freenode.net.
417
418 If you do report problems then please try to send high quality
419 feedback. If you don't provide vital information to help us track down
420 the problem then you will probably be ignored.  All bug reports should
421 be filed under the Samba 3.5 product in the project's Bugzilla
422 database (https://bugzilla.samba.org/).
423
424
425 ======================================================================
426 == Our Code, Our Bugs, Our Responsibility.
427 == The Samba Team
428 ======================================================================
429
430
431 ----------------------------------------------------------------------
432
433
434                    ==============================
435                    Release Notes for Samba 3.5.10
436                            July 26, 2011
437                    ==============================
438
439
440 This is a security release in order to address
441 CVE-2011-2522 (Cross-Site Request Forgery in SWAT) and
442 CVE-2011-2694 (Cross-Site Scripting vulnerability in SWAT).
443
444
445 o  CVE-2011-2522:
446    The Samba Web Administration Tool (SWAT) in Samba versions
447    3.0.x to 3.5.9 are affected by a cross-site request forgery.
448
449
450 o  CVE-2011-2694:
451    The Samba Web Administration Tool (SWAT) in Samba versions
452    3.0.x to 3.5.9 are affected by a cross-site scripting
453    vulnerability.
454
455 Please note that SWAT must be enabled in order for these
456 vulnerabilities to be exploitable. By default, SWAT
457 is *not* enabled on a Samba install.
458
459
460 Changes since 3.5.9:
461 --------------------
462
463
464 o   Kai Blin <kai@samba.org>
465     * BUG 8289: SWAT contains a cross-site scripting vulnerability.
466     * BUG 8290: CSRF vulnerability in SWAT.
467
468
469 ######################################################################
470 Reporting bugs & Development Discussion
471 #######################################
472
473 Please discuss this release on the samba-technical mailing list or by
474 joining the #samba-technical IRC channel on irc.freenode.net.
475
476 If you do report problems then please try to send high quality
477 feedback. If you don't provide vital information to help us track down
478 the problem then you will probably be ignored.  All bug reports should
479 be filed under the Samba 3.5 product in the project's Bugzilla
480 database (https://bugzilla.samba.org/).
481
482
483 ======================================================================
484 == Our Code, Our Bugs, Our Responsibility.
485 == The Samba Team
486 ======================================================================
487
488
489 ----------------------------------------------------------------------
490
491
492                    =============================
493                    Release Notes for Samba 3.5.9
494                            June 14, 2011
495                    =============================
496
497
498 This is the latest stable release of Samba 3.5.
499
500 Major enhancements in Samba 3.5.9 include:
501
502 o  Sgid bit lost on folder rename (bug #7996).
503 o  ACL can get lost when files are being renamed (bug #7987).
504 o  Respect "allow trusted domains = no" in Winbind (bug #6966).
505 o  Samba now follows Windows behaviour as a Kerberos client,
506    requesting a CIFS/ ticket (bug #7893).
507
508 New Kerberos behaviour
509 ----------------------
510
511 A new parameter 'client use spnego principal' defaults to 'no' and
512 mean Samba will use CIFS/hostname to obtain a kerberos ticket, acting
513 more like Windows when using Kerberos against a CIFS server in
514 smbclient, winbind and other Samba client tools.  This will change
515 which servers we will successfully negotiate kerberos connections to.
516 This is due to Samba no longer trusting a server-provided hint which
517 is not available from Windows 2008 or later.  For correct operation
518 with all clients, all aliases for a server should be recorded as a as
519 a servicePrincipalName on the server's record in AD.
520
521 Changes since 3.5.8:
522 --------------------
523
524 o   Jeremy Allison <jra@samba.org>
525     * BUG 6911: Kerberos authentication from Vista to Samba fails when security
526       blob size is greater than 16 kB.
527     * BUG 7080: Quota only shown when logged as root.
528     * BUG 7528: Fix Solaris with NIS autohome.
529     * BUG 7987: ACL can get lost when files are being renamed.
530     * BUG 7996: sgid bit lost on folder rename.
531     * BUG 8040: Fix 'smbclient' segfaults when a Cyrillic netbios name or
532       workgroup is configured.
533     * BUG 8072: Fix panic in create_file_acl_common.
534     * BUG 8038: Fix is_myname_or_ipaddr() to be robust against strange DNS
535       setups.
536     * BUG 8083: "inherit owner = yes" doesn't interact correctly with
537       vfs_acl_xattr or vfs_acl_tdb module.
538     * BUG 8088: Fix segfault in rpccli_samr_chng_pswd_auth_crap if any input
539       blobs are null.
540     * BUG 8111: CIFS VFS: Fix unexpected error on SMB posix open.
541     * BUG 8157: Fix parsing CUPS printcap files in std_pcap_cache_reload().
542     * BUG 8163: Fix our asn.1 parser to handle negative numbers.
543     * BUG 8211: "inherit owner = yes" doesn't interact correctly with "inherit
544       permissions = yes".
545
546
547 o   Christian Ambach <ambi@samba.org>
548     * BUG 8008: Fix a segfault in the krb5 locator plugin.
549     * BUG 8012: Use getgrset() instead of initgroups() + getgroups() when
550       getgrouplist() is not defined.
551     * BUG 8031: Convert gpfs:sharemodes and gpfs:leases parameters from a
552       global setting to a per share setting.
553
554
555 o   Andrew Bartlett <abartlet@samba.org>
556     * BUG 7893: Don't ever ask for machine$ principals as a target.
557
558
559 o   Björn Baumbach <bb@sernet.de>
560     * BUG 8074: Fix debug message.
561
562
563 o   Dmitry Butskoy <dmitry@butskoy.name>
564     * BUG 6966: Respect "allow trusted domains = no" in Winbind.
565
566
567 o   Marc A. Dahlhaus <mad@wol.de>
568     * BUG 8047: Fix mdns registration if "interfaces=" is used.
569
570
571 o   Günther Deschner <gd@samba.org>
572     * BUG 7993: Make sure we don't crash when publishing a single printer.
573     * BUG 8085: Fix incorrect timeout handling in ncacn_ip_tcp client code.
574     * BUG 8132: Fix filling printers location field when using CUPS.
575
576
577 o   David Disseldorp <ddiss@suse.de>
578     * BUG 7836: Make newly added printers visible to clients.
579     * BUG 7994: Use printcap IDL for IPC.
580
581
582 o   Björn Jacke <bj@sernet.de>
583     * BUG 7825: Fix GNU ld version detection with old gcc releases.
584     * BUG 8033: Add explicit configure option whether to enable dmapi
585       support or not.
586
587
588 o   Sergey Korsak <skif@1plus1.net>
589     * BUG 8099: setpwent() actually does endpwent() on FreeBSD.
590
591
592 o   Volker Lendecke <vl@samba.org>
593     * BUG 8009: Fix getting username in 'net rap session'.
594     * BUG 8011: Fix memory corruption in shadow_copy2.
595     * BUG 8016: Fix gpfs_get_xattr.
596     * BUG 8042: File creation on OS/X.
597     * BUG 8054: Winbind cache stores/retrieves wrong sizes for 16-bit ints.
598     * BUG 8066: Fix wrong output in 'smbget'.
599     * BUG 8087: Fix wbcChangeUserPasswordEx in RESPONSE mode.
600
601
602 o   Nikolay Martynov <mar.kolya@gmail.com>
603     * BUG 8010: Fix inode generation so nautilus can count total dir size
604       correctly.
605
606
607 o   Jim McDonough <jmcd@samba.org>
608     * BUG 6364: Pull realm from supplied username on libnet join.
609     * BUG 8166: Don't lockout users when offline.
610
611
612 o   Stefan Metzmacher <metze@samba.org>
613     * BUG 7383: Normalize IPv4 mapped IPv6 addresses in both directions.
614     * BUG 8034: SEC_STD_DELETE is always granted to the owner of a file.
615
616
617 o   Larry Reid <lcreid@jadesystems.ca>
618     * BUG 8055: Can't see Parts of DFS CIFS share.
619
620
621 o   Simo Sorce <idra@samba.org>
622     * BUG 7610: winbindd_cache.tdb grows too large when scaled.
623
624
625 o   Martin Vogt <martin.vogt@itwm.fraunhofer.de>
626     * BUG 6762: Fix ctdb on gpfs error with MS Office.
627
628
629
630 ######################################################################
631 Reporting bugs & Development Discussion
632 #######################################
633
634 Please discuss this release on the samba-technical mailing list or by
635 joining the #samba-technical IRC channel on irc.freenode.net.
636
637 If you do report problems then please try to send high quality
638 feedback. If you don't provide vital information to help us track down
639 the problem then you will probably be ignored.  All bug reports should
640 be filed under the Samba 3.5 product in the project's Bugzilla
641 database (https://bugzilla.samba.org/).
642
643
644 ======================================================================
645 == Our Code, Our Bugs, Our Responsibility.
646 == The Samba Team
647 ======================================================================
648
649
650 ----------------------------------------------------------------------
651
652
653                    =============================
654                    Release Notes for Samba 3.5.8
655                            March 7, 2011
656                    =============================
657
658
659 This is the latest stable release of Samba 3.5.
660
661 Major enhancements in Samba 3.5.8 include:
662
663 o  Fix Winbind crash bug when no DC is available (bug #7730).
664 o  Fix finding users on domain members (bug #7743).
665 o  Fix memory leaks in Winbind (bug #7879).
666 o  Fix printing with Windows 7 clients (bug #7567).
667
668
669 Changes since 3.5.7:
670 --------------------
671
672
673 o   Michael Adam <obnox@samba.org>
674     * BUG 7594: Fix "log=>ndr_pull_error" in 'wbinfo -u' and 'wbinfo -g'.
675     * BUG 7871: Fix 'net ads dns register' in cluster setups.
676     * BUG 7894: Fix sporadic Winbind panic in rpc query_user_list.
677
678
679 o   Jeremy Allison <jra@samba.org>
680     * BUG 7409: Raise debug level for "reduce_name: couldn't get realpath"
681       messages.
682     * BUG 7716: Store unmodified copies of security descriptors in acl_xattr and
683       acl_tdb modules.
684     * BUG 7733: Fix incorrect unix mode_t caused by invalid client DOS
685       attributes on create.
686     * BUG 7734: Apply appropriate create masks when creating files with "inherit
687       ACLs" set to true.
688     * BUG 7743: Fix finding users on domain members.
689     * BUG 7744: Fix "dfree cache time" parameter.
690     * BUG 7777: Fix requesting lookups for BUILTIN sids.
691     * BUG 7785: Fix atime limit.
692     * BUG 7791: Fix copying files from a SMB share using Gnome vfs and SMB
693       signing.
694     * BUG 7812: ACL inheritance cannot be disabled in vfs_acl_xattr/vfs_acl_tdb.
695     * BUG 7835: vfs_fill_sparse() doesn't use posix_fallocate when strict
696       allocate is on.
697     * BUG 7843: Expand the local SAMs aliases.
698     * BUG 7892: Fix stale lock in open_file_fchmod().
699     * BUG 7950: Revalidate the pathname once re-constructed from a root fsp.
700
701
702 o   Andrew Bartlett <abartlet@samba.org>
703     * BUG 7356: Fix 'net ads dns register' in Windows 2008 R2 domains.
704
705
706 o   Björn Baumbach <bb@sernet.de>
707     * BUG 7875: Fix 'nmbd --port'.
708     * BUG 7880: Make 'rpcclient deldriver' delete drivers for all architectures.
709
710
711 o   Günther Deschner <gd@samba.org>
712     * BUG 7567: Fix printing with Windows 7 clients.
713     * BUG 7641: Handle Windows 9x adddriver calls without config file.
714     * BUG 7945: Let Winbind try to use samlogon validation level 6.
715
716
717 o   Holger Hetterich <hhetter@novell.com>
718     * BUG 3185: Fix 'testparm' return code when EOF in encountered in param
719       name.
720
721
722 o   Björn Jacke <bj@sernet.de>
723     * BUG 7821: Fix build of shared libraries on Tru64.
724
725
726 o   Volker Lendecke <vl@samba.org>
727     * BUG 7066: Fix "Your Password expires today" message for users of trusted
728       domains.
729     * BUG 7262: Fix maintaining of users' groups via UsrMgr.
730     * BUG 7656: Fix scalability problem with hundreds of printers.
731     * BUG 7665: Fix memory leak in the netapi routines.
732     * BUG 7730: Fix Winbind crash bug when no DC is available.
733     * BUG 7774: Fix a getgrent crash with many groups.
734     * BUG 7779: Fix smbd crash caused by expand_msdfs.
735     * BUG 7800: Make Winbind recover from a signing error.
736     * BUG 7817: Fix "force group" with ntlmssp guest session setup.
737     * BUG 7841: Make WINBINDD_LOOKUPRIDS asking the right domain.
738     * BUG 7842: Make WINBINDD_LOOKUPRIDS returning the domain name.
739     * BUG 7855: ntlm_auth: Support clients which offer a spnego mechs we don't
740       support.
741     * BUG 7879: Fix memory leaks in Winbind.
742     * BUG 7881: Fix flaky Winbind against Windows 2008.
743     * BUG 7917: Fix connections from WinCE.
744     * BUG 7940: Fix opening MS Powerpoint files.
745
746
747 o   Stefan Metzmacher <metze@samba.org>
748     * BUG 7567: Fix printing with Windows 7 clients.
749     * BUG 7855: ntlm_auth: Support clients which offer a spnego mechs we don't
750       support.
751     * BUG 7883: Fix SMB session setups with Kerberos against some closed source
752       SMB servers.
753     * BUG 7896: Don't set SAMR_FIELD_FULL_NAME if we just want to set the
754       account name.
755     * BUG 7899: Don't return "-1" on success in 'net rpc vampire keytab'.
756     * BUG 7942: Fix endless loops caused by inotify.
757     * BUG 7944: Catch lookup_names/sids schannel errors over ncacn_ip_tcp.
758
759
760 o   Jonathan Nieder <jrnieder@gmail.com>
761     * BUG 6837:  Make "rlimit_max below minimum Windows limit" notification less
762       scary.
763
764
765 o   olivier <olivier@virtscano.fakenet>
766     * BUG 7789: vfs_scannedonly: Switch from mtime to ctime which is more reliable.
767
768
769 o   Rusty Russell <rusty@rustcorp.com.au>
770     * BUG 7498: Fix updating the time on close in vfs_gpfs.
771
772
773 ######################################################################
774 Reporting bugs & Development Discussion
775 #######################################
776
777 Please discuss this release on the samba-technical mailing list or by
778 joining the #samba-technical IRC channel on irc.freenode.net.
779
780 If you do report problems then please try to send high quality
781 feedback. If you don't provide vital information to help us track down
782 the problem then you will probably be ignored.  All bug reports should
783 be filed under the Samba 3.5 product in the project's Bugzilla
784 database (https://bugzilla.samba.org/).
785
786
787 ======================================================================
788 == Our Code, Our Bugs, Our Responsibility.
789 == The Samba Team
790 ======================================================================
791
792
793 ----------------------------------------------------------------------
794
795
796                    =============================
797                    Release Notes for Samba 3.5.7
798                           February 28, 2011
799                    =============================
800
801
802 This is a security release in order to address CVE-2011-0719.
803
804
805 o  CVE-2011-0719:
806    All current released versions of Samba are vulnerable to
807    a denial of service caused by memory corruption. Range
808    checks on file descriptors being used in the FD_SET macro
809    were not present allowing stack corruption. This can cause
810    the Samba code to crash or to loop attempting to select
811    on a bad file descriptor set.
812
813
814 Changes since 3.5.6:
815 --------------------
816
817
818 o   Jeremy Allison <jra@samba.org>
819     * BUG 7949: Fix DoS in Winbind and smbd with many file descriptors open.
820
821
822 ######################################################################
823 Reporting bugs & Development Discussion
824 #######################################
825
826 Please discuss this release on the samba-technical mailing list or by
827 joining the #samba-technical IRC channel on irc.freenode.net.
828
829 If you do report problems then please try to send high quality
830 feedback. If you don't provide vital information to help us track down
831 the problem then you will probably be ignored.  All bug reports should
832 be filed under the Samba 3.5 product in the project's Bugzilla
833 database (https://bugzilla.samba.org/).
834
835
836 ======================================================================
837 == Our Code, Our Bugs, Our Responsibility.
838 == The Samba Team
839 ======================================================================
840
841
842 ----------------------------------------------------------------------
843
844
845                    =============================
846                    Release Notes for Samba 3.5.6
847                           October 8, 2010
848                    =============================
849
850
851 This is the latest stable release of Samba 3.5.
852
853 Major enhancements in Samba 3.5.6 include:
854
855   o Fix smbd panic on invalid NetBIOS session request (bug #7698).
856   o Fix smbd crash caused by "%D" in "printer admin" (bug #7541).
857   o Fix crash bug with invalid SPNEGO token (bug #7694).
858   o Fix Winbind internal error (bug #7636).
859
860
861 Changes since 3.5.5
862 -------------------
863
864
865 o   Jeremy Allison <jra@samba.org>
866     * BUG 7577: Fix SPNEGO auth when contacting Win7 system using Microsoft Live
867       Sign-in Assistant.
868     * BUG 7578: Fix 'net idmap restore' setting HWM to avoid duplicates.
869     * BUG 7581: Fix "admin users" when using vfs_acl_xattr.
870     * BUG 7583: Fix smbclient to connect to Alfresco JLAN CIFS server using
871       Kerberos.
872     * BUG 7589: Fix using cached credentials in ntlm_auth.
873     * BUG 7590: Fix Winbind offline login.
874     * BUG 7617: Fix smbd coredump due to uninitialized variables in the
875       performance counter code.
876     * BUG 7636: Fix Winbind internal error.
877     * BUG 7651: Fix mknod and mkfifo failing with "No such file or
878       directory".
879     * BUG 7693: Fix smbd changing mode of files on rename.
880     * BUG 7694: Fix crash bug with invalid SPNEGO token.
881     * BUG 7698: Fix smbd panic on invalid NetBIOS session request.
882
883
884 o   Günther Deschner <gd@samba.org>
885     * BUG 7541: Fix smbd crash caused by "%D" in "printer admin".
886     * BUG 7568: Make sure cm_connect_lsa_tcp does not reset the secure channel.
887     * BUG 7658: Fix "dereferencing type-punned pointer will break
888       strict-aliasing rules" warnings).
889     * BUG 7665: Fix memory leak in netapi connection manager.
890
891
892 o   Björn Jacke <bj@sernet.de>
893     * BUG 7244: Fall back to cups-config for underlinked libs.
894     * BUG 7474: Fix build on platforms without st_blocks and st_blksize stat
895       struct members.
896
897
898 o   Volker Lendecke <vl@samba.org>
899     * BUG 7336: Enable idmap_passdb module build as shared.
900     * BUG 7531: Fix the charset_pull routine.
901     * BUG 7635: Fix 'smbclient -M'.
902     * BUG 7656: Fix scalability problem with hundreds of printers.
903     * BUG 7684: Fix fd leak in libwbclient.so.
904     * BUG 7688: Fix crash bug in rpcclient.
905     * BUG 7470: Standardize S_IREAD and S_IWRITE.
906     * BUG 7715: Fix file corruption when setting Samba "write wache wize".
907
908
909 o   Jim McDonough <jmcd@samba.org>
910     * BUG 7280: Fix auto printers with registry config.
911
912
913 o   Andreas Schneider <asn@samba.org>
914     * BUG 7538: Fix GUID_from_data_blob() with length of 32.
915
916
917 o   Chere Zhou <chere.zhou@isilon.com>
918     * BUG 7662: Align change notify replies on 4-byte boundary.
919
920
921 ######################################################################
922 Reporting bugs & Development Discussion
923 #######################################
924
925 Please discuss this release on the samba-technical mailing list or by
926 joining the #samba-technical IRC channel on irc.freenode.net.
927
928 If you do report problems then please try to send high quality
929 feedback. If you don't provide vital information to help us track down
930 the problem then you will probably be ignored.  All bug reports should
931 be filed under the Samba 3.5 product in the project's Bugzilla
932 database (https://bugzilla.samba.org/).
933
934
935 ======================================================================
936 == Our Code, Our Bugs, Our Responsibility.
937 == The Samba Team
938 ======================================================================
939
940
941 ----------------------------------------------------------------------
942
943
944                    =============================
945                    Release Notes for Samba 3.5.5
946                          September 14, 2010
947                    =============================
948
949
950 This is a security release in order to address CVE-2010-3069.
951
952
953 o  CVE-2010-3069:
954    All current released versions of Samba are vulnerable to
955    a buffer overrun vulnerability. The sid_parse() function
956    (and related dom_sid_parse() function in the source4 code)
957    do not correctly check their input lengths when reading a
958    binary representation of a Windows SID (Security ID). This
959    allows a malicious client to send a sid that can overflow
960    the stack variable that is being used to store the SID in the
961    Samba smbd server.
962
963
964 Changes since 3.5.4
965 --------------------
966
967
968 o   Jeremy Allison <jra@samba.org>
969     * BUG 7669: Fix for CVE-2010-3069.
970
971
972 o   Andrew Bartlett <abartlet@samba.org>
973     * BUG 7669: Fix for CVE-2010-3069.
974
975
976 ######################################################################
977 Reporting bugs & Development Discussion
978 #######################################
979
980 Please discuss this release on the samba-technical mailing list or by
981 joining the #samba-technical IRC channel on irc.freenode.net.
982
983 If you do report problems then please try to send high quality
984 feedback. If you don't provide vital information to help us track down
985 the problem then you will probably be ignored.  All bug reports should
986 be filed under the Samba 3.5 product in the project's Bugzilla
987 database (https://bugzilla.samba.org/).
988
989
990 ======================================================================
991 == Our Code, Our Bugs, Our Responsibility.
992 == The Samba Team
993 ======================================================================
994
995
996 ----------------------------------------------------------------------
997
998
999                    =============================
1000                    Release Notes for Samba 3.5.4
1001                            June 23, 2010
1002                    =============================
1003
1004
1005 This is the latest stable release of Samba 3.5.
1006
1007 Major enhancements in Samba 3.5.4 include:
1008
1009   o Fix smbd crash when sambaLMPassword and sambaNTPassword entries missing
1010     from ldap (bug #7448).
1011   o Fix init_sam_from_ldap storing group in sid2uid cache (bug #7507).
1012
1013
1014 Changes since 3.5.3
1015 -------------------
1016
1017
1018 o   Michael Adam <obnox@samba.org>
1019     * BUG 7507: Fix init_sam_from_ldap storing group in sid2uid cache.
1020
1021
1022 o   Jeremy Allison <jra@samba.org>
1023     * BUG 7188: Make ea data checks identical for trans2open and trans2mkdir.
1024     * BUG 7410: Samba sends "raw" inode number as uniqueid with unix extensions.
1025     * BUG 7449: Fix spnego returning incorrect mechListMIC string.
1026
1027
1028 o   Günther Deschner <gd@samba.org>
1029     * BUG 7341: Fix Winbind over IPv6.
1030     * BUG 7459: Fix some crash bugs and missing error codes in AddDriver paths.
1031     * BUG 7479: Fix crash bug in _samr_QueryUserInfo{2} level 18.
1032     * BUG 7517: Fix session setup from linux kernel cifs clients with
1033       "sec=ntlmv2".
1034
1035
1036 o   Olaf Flebbe <o.flebbe@science-computing.de>
1037     * BUG 7209: Fix build on RHEL5.
1038
1039
1040 o   Björn Jacke <bj@sernet.de>
1041     * BUG 7427: Using IBM xl_C compiler produces wrong results in configure.
1042     * BUG 7503: Fix calculation of st_blocks in vfs_streams_xattr.
1043     * BUG 7504: Fix numerous build issues.
1044
1045
1046 o   Volker Lendecke <vl@samba.org>
1047     * BUG 7253: Fix Samba login cache problem on Sparc Architecture.
1048     * BUG 7262: Fix editing users' groups via UsrMgr.
1049
1050
1051 o   Buchan Milne <bgmilne@mandriva.org>
1052     * BUG 7500: Fix 'not a string literal' warning in netdomjoin-gui.
1053
1054
1055 o   Matthieu Patou <mat@matws.net>
1056     * BUG 7099: Allow previous password to be stored and use it to check
1057       tickets.
1058
1059
1060 o   Andreas Schneider <asn@samba.org>
1061     * BUG 7423: Fix printing large formats.
1062
1063
1064 o   Roel van Meer <rolek@bokxing.nl>
1065     * BUG 7448: Fix smbd crash when sambaLMPassword and sambaNTPassword entries
1066       missing from ldap.
1067
1068
1069 ######################################################################
1070 Reporting bugs & Development Discussion
1071 #######################################
1072
1073 Please discuss this release on the samba-technical mailing list or by
1074 joining the #samba-technical IRC channel on irc.freenode.net.
1075
1076 If you do report problems then please try to send high quality
1077 feedback. If you don't provide vital information to help us track down
1078 the problem then you will probably be ignored.  All bug reports should
1079 be filed under the Samba 3.5 product in the project's Bugzilla
1080 database (https://bugzilla.samba.org/).
1081
1082
1083 ======================================================================
1084 == Our Code, Our Bugs, Our Responsibility.
1085 == The Samba Team
1086 ======================================================================
1087
1088
1089 ----------------------------------------------------------------------
1090
1091
1092                    =============================
1093                    Release Notes for Samba 3.5.3
1094                             May 19, 2010
1095                    =============================
1096
1097
1098 This is the latest stable release of Samba 3.5.
1099
1100 Major enhancements in Samba 3.5.3 include:
1101
1102   o Fix MS-DFS functionality (bug #7339).
1103   o Fix a Winbind crash when scanning trusts (bug #7389).
1104   o Fix problems with SIGCHLD handling in Winbind (bug #7317).
1105
1106
1107 Changes since 3.5.2
1108 -------------------
1109
1110
1111 o   Jeremy Allison <jra@samba.org>
1112     * BUG 7288: Fix SMB job IDs in CUPS job names.
1113     * BUG 7339: Fix MS-DFS functionality.
1114
1115
1116 o   Andrew Bartlett <abartlet@samba.org>
1117     * BUG 7354: Fix CLDAP tsocket problem on Solaris.
1118
1119
1120 o   Ira Cooper <samba@ira.wakeful.net>
1121     * BUG 7384: Fix bitmap leak in dptr_Close.
1122
1123
1124 o   Günther Deschner <gd@samba.org>
1125     * BUG 7277: Fix exporting printers via 'cupsaddsmb' command.
1126     * BUG 7417: Fix setting of passwords via 'net rpc user password' command.
1127     * BUG 7418: Fix 'net rpc printer list' command.
1128
1129
1130 o   Olaf Flebbe <o.flebbe@science-computing.de>
1131     * BUG 7421: Rename mod_name to module_name.
1132
1133
1134 o   Björn Jacke <bj@sernet.de>
1135     * BUG 7352: Make TIME_T_MAX defines consistent.
1136     * BUG 7385: Fix building with Solaris' gcc.
1137
1138
1139 o   Jeff Layton <jlayton@redhat.com>
1140     * BUG 7315: Fix segfault in mount.cifs.
1141
1142
1143 o   Volker Lendecke <vl@samba.org>
1144     * BUG 7357: Re-fix a bug with smbd serving a windows terminal server.
1145     * BUG 7389: Fix a Winbind crash when scanning trusts.
1146     * BUG 7398: Fix rename problems with full_audit VFS module.
1147
1148
1149 o   Jim McDonough <jmcd@samba.org>
1150     * BUG 7378: Display an error on 'net conf import' failures.
1151
1152
1153 o   Stefan Metzmacher <metze@samba.org>
1154     * BUG 7196: Add replacement for IPV6_V6ONLY on linux systems with broken
1155       headers.
1156     * BUG 7317: Fix problems with SIGCHLD handling in Winbind.
1157     * BUG 7354: Fix CLDAP tsocket problem on Solaris.
1158
1159
1160 o   Luca Olivetti <luca@wetron.es>
1161     * BUG 7263: Fix cups encryption setting.
1162
1163
1164 ######################################################################
1165 Reporting bugs & Development Discussion
1166 #######################################
1167
1168 Please discuss this release on the samba-technical mailing list or by
1169 joining the #samba-technical IRC channel on irc.freenode.net.
1170
1171 If you do report problems then please try to send high quality
1172 feedback. If you don't provide vital information to help us track down
1173 the problem then you will probably be ignored.  All bug reports should
1174 be filed under the Samba 3.5 product in the project's Bugzilla
1175 database (https://bugzilla.samba.org/).
1176
1177
1178 ======================================================================
1179 == Our Code, Our Bugs, Our Responsibility.
1180 == The Samba Team
1181 ======================================================================
1182
1183
1184 ----------------------------------------------------------------------
1185
1186
1187                    =============================
1188                    Release Notes for Samba 3.5.2
1189                            April 7, 2010
1190                    =============================
1191
1192
1193 This is the latest stable release of Samba 3.5.
1194
1195 Major enhancements in Samba 3.5.2 include:
1196
1197   o Fix smbd segfaults in _netr_SamLogon for clients sending null domain
1198     (bug #7237).
1199   o Fix smbd segfaults in "waiting for connections" message (bug #7251).
1200   o Fix an uninitialized variable read in smbd (bug #7254).
1201   o Fix a memleak in Winbind (bug #7278).
1202   o Fix Winbind reconnection to it's own domain (bug #7295).
1203
1204
1205 Changes since 3.5.1
1206 -------------------
1207
1208
1209 o   Michael Adam <obnox@samba.org>
1210     * BUG 7231: Fix automatic building of vfs_tsmsm if gpfs and dmapi are
1211       present.
1212     * BUG 7232: Fix race conditions in CTDB persistent transactions.
1213     * BUG 7313: Make 'net conf addshare' atomic.
1214     * BUG 7314: Eliminate race condition in creating/scanning sorted subkeys in
1215       the registry backend.
1216
1217
1218 o   Jeremy Allison <jra@samba.org>
1219     * BUG 7075: Fix bug in vfs_scannedonly rmdir implementation.
1220     * BUG 7159: Fix handling of bad server data returns in client rpc_transport.
1221     * BUG 7234: Symlink delete fails but incorrectly reports success to client.
1222     * BUG 7255: Fix "printer admin" functionality.
1223     * BUG 7283: Fix smbd segfault if using vfs_acl_tdb.
1224     * BUG 7297: Fix smbd crashes with CUPS printers and no [printers] share defined.
1225     * BUG 7310: Fix DOS attribute inconsistency with MS Office.
1226
1227
1228 o   Kai Blin <kai@samba.org>
1229     * BUG 7290: Fix core dump in 'ntlm_auth' with "gss-spnego" helper.
1230
1231
1232 o   Günther Deschner <gd@samba.org>
1233     * BUG 6727: Fix several printing issues.
1234     * BUG 7237: Fix smbd segfaults in _netr_SamLogon for clients sending
1235       null domain.
1236     * BUG 7256: Fix value-needed calculation in_spoolss_EnumPrinterData().
1237     * BUG 7258: Fix _winreg_QueryValue crash bugs and implement Windows
1238       behavior.
1239
1240
1241 o   Holger Hetterich <hhetter@novell.com>
1242     * BUG 7203: Fix 'net share' command.
1243
1244
1245 o   Michael Karcher <samba@mkarcher.dialup.fu-berlin.de>
1246     * BUG 7269: Fix job management commands for CUPS queues.
1247
1248
1249 o   Jeff Layton <jlayton@redhat.com>
1250     * BUG 6853: Fix race condition in mount.cifs that allows user to replace
1251       mountpoint with a symlink.
1252
1253
1254 o   Volker Lendecke <vl@samba.org>
1255     * BUG 5198: Fix parsing of the gecos field.
1256     * BUG 7202: Fix access by multi-threaded applications.
1257     * BUG 7212: Fix returning of group members with 'getent group'.
1258     * BUG 7216: Fix the build of net_afs.c with --fake-kaserver=yes.
1259     * BUG 7229: Fix a NULL pointer dereference in smbd.
1260     * BUG 7232: Fix race conditions in CTDB persistent transactions.
1261     * BUG 7254: Fix an uninitialized variable read in smbd.
1262     * BUG 7278: Fix a memleak in Winbind.
1263
1264
1265 o   Roel van Meer <rolek@alt001.com>
1266     * BUG 6814: Fix valgrind warning.
1267
1268
1269 o   Stefan Metzmacher <metze@samba.org>
1270     * BUG 7170: Never mark external domains as internal in Winbind.
1271     * BUG 7225: Make Winbind logs more verbose for troubleshooting.
1272     * BUG 7251: Fix smbd segfault in "waiting for connections" message.
1273     * BUG 7295: Fix Winbind reconnection to it's own domain.
1274     * BUG 7316: Winbind possibly segfaults when trying a trusted domain without
1275       inbound trust.
1276
1277
1278 o   SATOH Fumiyasu <fumiyas@osstech.co.jp>
1279     * BUG 1206: Fix segfault if hide files or veto files has no ".AppleDouble".
1280
1281
1282 o   Simo Sorce <idra@samba.org>
1283     * BUG 7204: Fix DN parsing name was always null.
1284
1285
1286 o   Andrew Tridgell <tridge@samba.org>
1287     * BUG 7312: Many disconnecting clients render clustered Samba unusuable
1288       for some time.
1289
1290
1291 o   Bo Yang <boyang@samba.org>
1292     * BUG 7206: Signals are processed twice in child.
1293
1294
1295
1296 ######################################################################
1297 Reporting bugs & Development Discussion
1298 #######################################
1299
1300 Please discuss this release on the samba-technical mailing list or by
1301 joining the #samba-technical IRC channel on irc.freenode.net.
1302
1303 If you do report problems then please try to send high quality
1304 feedback. If you don't provide vital information to help us track down
1305 the problem then you will probably be ignored.  All bug reports should
1306 be filed under the Samba 3.5 product in the project's Bugzilla
1307 database (https://bugzilla.samba.org/).
1308
1309
1310 ======================================================================
1311 == Our Code, Our Bugs, Our Responsibility.
1312 == The Samba Team
1313 ======================================================================
1314
1315 ----------------------------------------------------------------------
1316
1317                    =============================
1318                    Release Notes for Samba 3.5.1
1319                             March 8, 2010
1320                    =============================
1321
1322
1323 This is a security release in order to address CVE-2010-0728.
1324
1325
1326 o  CVE-2010-0728:
1327    In Samba releases 3.5.0, 3.4.6 and 3.3.11, new code
1328    was added to fix a problem with Linux asynchronous IO handling.
1329    This code introduced a bad security flaw on Linux platforms if the
1330    binaries were built on Linux platforms with libcap support.
1331    The flaw caused all smbd processes to inherit CAP_DAC_OVERRIDE
1332    capabilities, allowing all file system access to be allowed
1333    even when permissions should have denied access.
1334
1335
1336 Changes since 3.5.0
1337 -------------------
1338
1339
1340 o   Jeremy Allison <jra@samba.org>
1341     * BUG 7222: Fix for CVE-2010-0728.
1342
1343
1344 ######################################################################
1345 Reporting bugs & Development Discussion
1346 #######################################
1347
1348 Please discuss this release on the samba-technical mailing list or by
1349 joining the #samba-technical IRC channel on irc.freenode.net.
1350
1351 If you do report problems then please try to send high quality
1352 feedback. If you don't provide vital information to help us track down
1353 the problem then you will probably be ignored.  All bug reports should
1354 be filed under the Samba 3.5 product in the project's Bugzilla
1355 database (https://bugzilla.samba.org/).
1356
1357
1358 ======================================================================
1359 == Our Code, Our Bugs, Our Responsibility.
1360 == The Samba Team
1361 ======================================================================
1362
1363
1364 ----------------------------------------------------------------------
1365
1366
1367                    =============================
1368                    Release Notes for Samba 3.5.0
1369                             March 1, 2010
1370                    ===============================
1371
1372
1373 This is the first stable release of Samba 3.5.
1374
1375
1376 Major enhancements in Samba 3.5.0 include:
1377
1378 General changes:
1379 o Add support for full Windows timestamp resolution
1380 o The Using Samba HTML book has been removed.
1381 o 'net', 'smbclient' and libsmbclient can use credentials cached by Winbind.
1382 o The default value of "wide links" has been changed to "no".
1383
1384 Protocol changes:
1385 o Experimental implementation of SMB2
1386
1387 Printing Changes:
1388 o Add encryption support for connections to a CUPS server
1389
1390 Winbind changes:
1391 o Major refactoring
1392 o Asynchronous
1393
1394 VFS modules:
1395 o New vfs_scannedonly module has been added.
1396
1397
1398 General changes:
1399 ================
1400
1401 Support for full Windows timestamp resolution has been added. This effectively
1402 makes us use Windows' full 100ns timestamp resolution if supported by the
1403 kernel (2.6.22 and higher) and the glibc (2.6 and higher).
1404
1405 The Using Samba HTML book has been removed from the Samba tarball.
1406 It is still available at http://www.samba.org/samba/docs/using_samba/toc.html.
1407
1408 Samba client tools like 'net', 'smbclient' and libsmbclient can use the user
1409 credentials cached by Winbind at logon time. This is very useful e.g. when
1410 connecting to a Samba server using Nautilus without re-entering username and
1411 password. This feature is enabled by default and can be disabled per application
1412 by setting the LIBSMBCLIENT_NO_CCACHE environment variable.
1413
1414 The default value of "wide links" has been changed to "no" to avoid an insecure
1415 default configuration ("wide links = yes" and "unix extensions = yes"). For
1416 more details, please see http://www.samba.org/samba/news/symlink_attack.html.
1417
1418
1419 Protocol changes
1420 ================
1421
1422 An EXPERIMENTAL implementation of the SMB2 protocol has been added. SMB2 can be
1423 enabled by setting "max protocol = smb2". SMB2 is a new implementation of the
1424 SMB protocol used by Windows Vista and higher.
1425
1426 Printing Changes
1427 ================
1428
1429 A new parameter "cups encrypt" has been added to control whether connections to
1430 CUPS servers will be encrypted or not. The default is to use unencrypted
1431 connections.
1432
1433 Winbind changes
1434 ===============
1435
1436 The Winbind daemon has been refactored internally to be asynchronous. The new
1437 Winbind will not be blocked by running 'getent group' or 'getent passwd'.
1438
1439 VFS modules
1440 ===========
1441
1442 A new VFS module "scannedonly" has been added. This is a filter that
1443 talks to an antivirus-engine and stores whether a file is clean or not.
1444 Users do only see clean files on their filesystem.
1445
1446
1447 ######################################################################
1448 Changes
1449 #######
1450
1451 smb.conf changes
1452 ----------------
1453
1454    Parameter Name                      Description     Default
1455    --------------                      -----------     -------
1456
1457    create krb5 conf                    New             yes
1458    ctdb timeout                        New             0
1459    cups encrypt                        New             no
1460    debug hires timestamp               Changed Default yes
1461    ldap deref                          New             auto
1462    ldap follow referral                New             auto
1463    nmbd bind explicit broadcast        New             no
1464    wide links                          Changed Default no
1465
1466
1467 New configure options
1468 ---------------------
1469
1470 --enable-external-libtdb        Enable external tdb
1471 --enable-netapi                 Turn on netapi support
1472 --enable-pthreadpool            Enable pthreads pool helper support
1473 --with-cifsumount               Include umount.cifs (Linux only) support
1474 --with-codepagedir=DIR          Where to put codepages
1475
1476
1477 Commit Highlights
1478 =================
1479
1480 o   Björn Jacke <bj@sernet.de>
1481     * Add support for full Windows timestamp resolution.
1482     * Add encryption support for connections to a CUPS server.
1483
1484
1485 o   Volker Lendecke <vl@samba.org>
1486     * Major internal refactoring of the Winbind daemon.
1487     * Make Winbind asynchronous.
1488     * Make 'net', 'smbclient' and libsmbclient use the logon credentials cached
1489       by Winbind.
1490
1491
1492 o   Stefan Metzmacher <metze@samba.org>
1493     * Implement the new SMB2 protocol (experimental).
1494
1495
1496 Changes since 3.5.0rc3
1497 ----------------------
1498
1499
1500 o   Günther Deschner <gd@samba.org>
1501     * BUG 7181: Fix 'net ads dns' usage calls.
1502     * BUG 7182: Fix uninitialized variable in wkssvc_enumerateusers.
1503
1504
1505 o   Volker Lendecke <vl@samba.org>
1506     * BUG 7145: Fix duplicate sam and unix accounts.
1507     * BUG 7166: Avoid calling cli_alloc_mid twice in cli_smb_req_iov_send.
1508
1509
1510 o   Stefan Metzmacher <metze@samba.org>
1511     * BUG 7160: Keep the the correct negotiate_flags on the cli->dc structure.
1512
1513
1514 Changes since 3.5.0rc2
1515 ----------------------
1516
1517
1518 o   Jeremy Allison <jra@samba.org>
1519     * BUG 6557: Fix vfs_full_audit.
1520     * BUG 6876: Fix duplicate initializer in the rmdir module.
1521     * BUG 7063: Fix core dump on Ubuntu 8.04 64 bit.
1522     * BUG 7067: Fix failing of smbd to respond to a read or a write caused by
1523       Linux asynchronous IO (aio).
1524     * BUG 7069: Fix 'smbget' error status.
1525     * BUG 7072: Fix unlocking of accounts from ldap.
1526     * BUG 7079  Cliconnect gets realm wrong with trusted domains.
1527     * BUG 7081: Fix vfs_expand_msdfs.
1528     * BUG 7084: Fix storing of create time on directories in an EA in new
1529       create time code.
1530     * BUG 7104: "wide links" and "unix extensions" are incompatible.
1531     * BUG 7118: Fix nmbd problems with socket address.
1532     * BUG 7122: Fix reading of large browselist.
1533     * BUG 7154: "mangling method = hash" can crash storing a name containing a '.'.
1534     * BUG 7155: Valgrind Conditional jump or move depends on uninitialised
1535       value(s) error when "mangling method = hash"..
1536
1537
1538 o   Steven Danneman <steven.danneman@isilon.com>
1539     * BUG 7096: Fix string buffer overflow causing heap corruption in smbd.
1540
1541
1542 o   Günther Deschner <gd@samba.org>
1543     * BUG 6888: Fix printing with 64 bit clients.
1544     * BUG 7130: Fix listing of printjobs in  Windows 7.
1545     * BUG 7148: Fix get_acl_blob in the acl_tdb VFS module.
1546
1547
1548 o   Björn Jacke <bj@sernet.de>
1549     * BUG 7103: Fix build issue on Tru64.
1550     * BUG 7116: Change ldap filter to what really was intended.
1551     * Fix some wrong newlines in de translation strings.
1552
1553
1554 o   Jeff Layton <jlayton@redhat.com>
1555     * BUG 6868: Fix crash bug in 'cifs.upcall'.
1556
1557
1558 o   Volker Lendecke <vl@samba.org>
1559     * BUG 7085: Fix an early release of the global lock that can cause data
1560       corruption in libtdb.
1561     * BUG 7139: Owner of file not available with Kerberos.
1562
1563
1564 o   Stefan Metzmacher <metze@samba.org>
1565     * BUG 6888: Fix printing with 64 bit clients.
1566     * BUG 7098: Fix results of 'smbclient -L' with a large browse list.
1567     * BUG 7116: Add pdb_ldap performance fixes.
1568     * BUG 7118: Add new "nmbd bind explicit broadcast" parameter.
1569     * BUG 7119: Support large browselist.
1570     * BUG 7140: Fix IPv4/IPv6 problems.
1571
1572
1573 o   Lars Müller <lars@samba.org>
1574     * BUG 7071: Fix build of 'smbfilter'.
1575     * BUG 7047: Add cross option to samba_cv_linux_getgrouplist_ok.
1576     * BUG 7102: Normalize "Changing password for" msg IDs and STRs.
1577
1578
1579 o   Olivier Sessink <olivier@virtscano.fakenet>
1580     * BUG 7076: Fix build of vfs_scannedonly on AIX.
1581
1582
1583 o   Bo Yang <boyang@samba.org>
1584     * BUG 7106: Fix malformed require_membership_of_sid.
1585
1586
1587
1588 Changes since 3.5.0rc1
1589 ----------------------
1590
1591
1592 o   Michael Adam <obnox@samba.org>
1593     * BUG 4347: Check password history before increasing "badPasswordCount".
1594
1595
1596 o   Jeremy Allison <jra@samba.org>
1597     * BUG 5202: Fix changing of ACLs on writable file with "dos filemode=yes".
1598     * BUG 6876: Fix deletion of an object whose parent folder does not have delete
1599       rights fails even if the delete right is set on the object in
1600       vfs_acl_xattr and vfs_acl_tdb.
1601     * BUG 7033: Fix SMBrmdir error message when deleting a directory fails.
1602     * BUG 7036: Fix 'net rpc getsid' in hardened Windows environments.
1603     * BUG 7045: Fix bad (non memory copying) interfaces in smbc_setXXXX calls.
1604
1605
1606 o   Giovanni Bajo <rasky@develer.com>
1607     * BUG 7029: Disable sanity check in NetShareEnum for better compatibility
1608       with Windows.
1609
1610
1611 o   Kai Blin <kai@samba.org>
1612     * BUG 7039: Fix compile error with WITH_DNS_UPDATE. Update .po files.
1613
1614
1615 o   Günther Deschner <gd@samba.org>
1616     * BUG 7043: Fix crash bug in libsmbclient.
1617
1618
1619 o   André Hentschel <nerv@dawncrow.de>
1620     * BUG 7039: Complete German translation of 'net'.
1621
1622
1623 o   Björn Jacke <bj@sernet.de>
1624     * BUG 7039: Improve some German translations in 'net'.
1625
1626
1627 o   William Jojo <w.jojo@hvcc.edu>
1628     * BUG 7052: Fix DFS on AIX.
1629
1630
1631 o   Volker Lendecke <vl@samba.org>
1632     * BUG 6981: Fix large paged search with DirX LDAP servers.
1633     * BUG 7027: Fix a segfault in winbindd_dual_ccache_ntlm_auth().
1634     * BUG 7037: Fix a Winbind segfault in "trusted_domains".
1635     * BUG 7046: Fix libsmbclient crash against OpenSolaris CIFS server.
1636     * BUG 7062: Make 'net', 'smbclient' and libsmbclient use the logon
1637       credentials cached by Winbind.
1638     * Lock down some srvsvc calls according to what w2k3 seems to do.
1639
1640
1641 o   Stefan Metzmacher <metze@samba.org>
1642     * BUG 6157: Restore Samba 3.0.x behavior and use the first "uid" value in
1643       pdb_ldap.
1644
1645
1646 o   SASAJIMA Toshihiro <sasajima_t@jp.fujitsu.com>
1647     * BUG 7034: Fix segfault in vfs_cap.
1648
1649
1650 o   Olivier Sessink <oliviersessink@gmail.com>
1651     * BUG 7028: Add new scannedonly VFS module.
1652
1653
1654 Changes since 3.5.0pre2
1655 -----------------------
1656
1657 o   Jeremy Allison <jra@samba.org>
1658     * BUG 6837: Fix "Too many open files" when trying to access large number of
1659       files with Windows 7.
1660     * BUG 6939: Fix long filenames when "mangling method" is set to "hash".
1661     * BUG 7020: Fix smbd using 2G memory.
1662     * Ensure dos_mode can return FILE_ATTRIBUTE_NORMAL, then filter the returned
1663       attributes by protocol level.
1664     * Vector correctly through reply_openerror() (which uses the same logic).
1665     * Fix bugs with the full Windows ACL support.
1666
1667
1668 o   Kai Blin <kai@samba.org>
1669     * Add a few missing gettext calls to the 'net' command.
1670     * Fix up a share type translation and translate some more strings in 'net'.
1671
1672
1673 o   Günther Deschner <gd@samba.org>
1674     * Allow to call "pdbedit -N description -u user" without specifiyng "-r".
1675     * Add spoolss_DriverInfo7.
1676     * Fix rpcclient after setprinter IDL fixes.
1677     * Use generated krb5.conf in 'net ads testjoin'.
1678
1679
1680 o   Jonas Gorski <jonas.gorski+samba@gmail.com>
1681     * BUG 6992: make test for getgrouplist cacheable.
1682
1683
1684 o   André Hentschel <nerv@dawncrow.de>
1685     * Add some German translations for the 'net' command.
1686
1687
1688 o   Suresh Jayaraman <sjayaraman@suse.de>
1689     * Update mount.cifs man page with nounix option.
1690
1691
1692 o   Volker Lendecke <vl@samba.org>
1693     * Fix _samr_GetAliasMembership for results with 0 rids.
1694     * Fix an error case in cli_negprot.
1695     * Add a lower-cost alternative to wbinfo -t: wbinfo --ping-dc.
1696     * Restore correct timeouts for SMB requests.
1697     * Fix a 64-bit error in libsmb.
1698     * Replace IS_DOMAIN_OFFLINE by a function in Winbind.
1699     * Simplify/cleanup Winbind code.
1700
1701
1702 o   Kamen Mazdrashki <kamen.mazdrashki@postpath.com>
1703     * Fix write behind memory block in libtalloc.
1704     * Fix result check for getaddrinfo().
1705
1706
1707 o   Jim McDonough <jmcd@samba.org>
1708     * BUG 7014: Fix Winbind crash when retrieving empty group members.
1709
1710
1711 o   Brian Lu <brian.lu@sun.com>
1712     * BUG 6991: Create symbol links to shared libraries.
1713
1714
1715 o   Stefan Metzmacher <metze@samba.org>
1716     * Add tsocket_address_bsd_sockaddr() and tsocket_address_bsd_from_sockaddr()
1717       to tsocket.
1718     * Always set tdb->tracefd to -1 to be safe on goto fail in libtdb.
1719     * Add TDB_DISALLOW_NESTING and make TDB_ALLOW_NESTING the default behavior.
1720     * Fix standalone 'make installdocs'.
1721
1722
1723 o   Peter Rosin <peda@lysator.liu.se>
1724     * Output %p as unsigned in snprintf replacement.
1725
1726
1727 o   Ronnie Sahlberg <ronniesahlberg@gmail.com>
1728     * New attempt at TDB transaction nesting allow/disallow.
1729
1730
1731 o   Kirill Smelkov <kirr@mns.spb.ru>
1732     * Remove swig stuff from libtdb.
1733     * Reset tdb->fd to -1 in tdb_close() in libtdb.
1734
1735
1736 o   Simo Sorce <idra@samba.org>
1737     * Change the way mksysms work in libtalloc.
1738
1739
1740 o   Jelmer Vernooij <jelmer@samba.org>
1741     * Also build and install tdb manpages from standalone tdb.
1742
1743
1744 o   Bo Yang <boyang@samba.org>
1745     * Fix infinite loop in NCACN_IP_TCP as there is no timeout.
1746     * Make winbindd_cache.c aware of domain offline to avoid unnecessary backend
1747       query.
1748     * List trusted domains from wcache when domain is offline.
1749
1750
1751 Changes since 3.5.0pre1
1752 -----------------------
1753
1754 o   Michael Adam <obnox@samba.org>
1755     * Fix the build when no external talloc and tdb are installed.
1756     * Fix detection of CTDB headers on systems without system-libtalloc.
1757
1758
1759 o   Jeremy Allison <jra@samba.org>
1760     * BUG 6802: A created folder does not properly inherit permissions from
1761       parent in vfs_acl_xattr.
1762     * BUG 6837: "Too many open files" when trying to access large number of
1763       files from Windows 7.
1764     * BUG 6938 : No hook exists to check creation rights when using acl_xattr
1765       module.
1766     * Fix vfs_acl_xattr which was failing to call the NEXT connect function.
1767     * Restructure the ACL code.
1768     * Refactor reply_rmdir to use handle based code.
1769
1770
1771 o   Dan Cox <dan@wep.net>
1772     * BUG 2350: Add LDAP Alias Dereferencing support.
1773
1774
1775 o   Günther Deschner <gd@samba.org>
1776     * BUG 6929: Fix build with recent heimdal.
1777     * Fix several printing issues.
1778     * Fix the build on Mac OS X 10.6.2.
1779     * Fix net and rpcclient after setprinterdataex changes.
1780     * Add full support for level 8 printer drivers.
1781     * Add more spoolss architectures to IDL.
1782     * Fix enumprinter key client and server.
1783     * Fix crash in EnumPrinterDataEx.
1784
1785
1786 o   Björn Jacke <bj@sernet.de>
1787     * Prefer posix_fallocate for doing "strict allocate".
1788
1789
1790 o   Matt Kraai <mkraai@beckman.com>
1791     * BUG 6860: Fix shared library build on QNX.
1792
1793
1794 o   Volker Lendecke <vl@samba.org>
1795     * BUG 6288: SWAT adds a second share when changing parameters of an existing
1796       share.
1797     * BUG 6435: Fix minor memory corruption.
1798     * Restore "fake directory create times" as a share parameter.
1799     * Fix explicit stat64 support.
1800     * Add support for NetWkstaGetInfo 101 and 102.
1801     * Add rpcclient wkssvc_enumerateusers.
1802     * De-deprecate "write cache size" to prevent its removal without a proper
1803       alternative.
1804     * Allow more than 1000 users in BUILTIN\Users.
1805
1806
1807 o   Jim McDonough <jmcd@samba.org>
1808     * BUG 6967: Prevent glibc error on 'net ads join'.
1809
1810
1811 o   Lars Müller <lars@samba.org>
1812     * BUG 6710: Only install the cifs.upcall man page if CIFSUPCALL_PROGS was
1813       set while configure.
1814
1815
1816 o   Ian Puleston <ipuleston@sonicwall.com>
1817     * Complete support for NetWkstaGetInfo/NetWkstaEnumUsers.
1818
1819
1820 o   Karolin Seeger <kseeger@samba.org>
1821     * Fix the build of the example VFS modules.
1822
1823
1824 o   Bo Yang <boyang@samba.org>
1825     * BUG 6879: Fix crash in Winbind.
1826     * Fix crash in free_file_list().
1827     * Give the user a chance to change password when password will expire soon.
1828
1829
1830 ######################################################################
1831 Reporting bugs & Development Discussion
1832 #######################################
1833
1834 Please discuss this release on the samba-technical mailing list or by
1835 joining the #samba-technical IRC channel on irc.freenode.net.
1836
1837 If you do report problems then please try to send high quality
1838 feedback. If you don't provide vital information to help us track down
1839 the problem then you will probably be ignored.  All bug reports should
1840 be filed under the Samba 3.5 product in the project's Bugzilla
1841 database (https://bugzilla.samba.org/).
1842
1843
1844 ======================================================================
1845 == Our Code, Our Bugs, Our Responsibility.
1846 == The Samba Team
1847 ======================================================================