WHATSNEW: Update changes since 3.5.8.
[Samba.git] / WHATSNEW.txt
blobf9b4a46c28e45dee51f8eedceb9a2cc6a0d780ea
1                    =============================
2                    Release Notes for Samba 3.5.9
3                            June 14, 2011
4                    =============================
7 This is the latest stable release of Samba 3.5.
9 Major enhancements in Samba 3.5.9 include:
11 o  Sgid bit lost on folder rename (bug #7996).
12 o  ACL can get lost when files are being renamed (bug #7987).
13 o  Respect "allow trusted domains = no" in Winbind (bug #6966).
16 Changes since 3.5.8:
17 --------------------
19 o   Jeremy Allison <jra@samba.org>
20     * BUG 6911: Kerberos authentication from Vista to Samba fails when security
21       blob size is greater than 16 kB.
22     * BUG 7080: Quota only shown when logged as root.
23     * BUG 7528: Fix Solaris with NIS autohome.
24     * BUG 7987: ACL can get lost when files are being renamed.
25     * BUG 7996: sgid bit lost on folder rename.
26     * BUG 8040: Fix 'smbclient' segfaults when a Cyrillic netbios name or
27       workgroup is configured.
28     * BUG 8072: Fix panic in create_file_acl_common.
29     * BUG 8038: Fix is_myname_or_ipaddr() to be robust against strange DNS
30       setups.
31     * BUG 8083: "inherit owner = yes" doesn't interact correctly with
32       vfs_acl_xattr or vfs_acl_tdb module.
33     * BUG 8088: Fix segfault in rpccli_samr_chng_pswd_auth_crap if any input
34       blobs are null.
35     * BUG 8111: CIFS VFS: Fix unexpected error on SMB posix open.
36     * BUG 8157: Fix parsing CUPS printcap files in std_pcap_cache_reload().
37     * BUG 8163: Fix our asn.1 parser to handle negative numbers.
38     * BUG 8211: "inherit owner = yes" doesn't interact correctly with "inherit
39       permissions = yes".
42 o   Christian Ambach <ambi@samba.org>
43     * BUG 8008: Fix a segfault in the krb5 locator plugin.
44     * BUG 8012: Use getgrset() instead of initgroups() + getgroups() when
45       getgrouplist() is not defined.
46     * BUG 8031: Convert gpfs:sharemodes and gpfs:leases parameters from a
47       global setting to a per share setting.
50 o   Andrew Bartlett <abartlet@samba.org>
51     * BUG 7893: Don't ever ask for machine$ principals as a target.
54 o   Björn Baumbach <bb@sernet.de>
55     * BUG 8074: Fix debug message.
58 o   Dmitry Butskoy <dmitry@butskoy.name>
59     * BUG 6966: Respect "allow trusted domains = no" in Winbind.
62 o   Marc A. Dahlhaus <mad@wol.de>
63     * BUG 8047: Fix mdns registration if "interfaces=" is used.
66 o   Günther Deschner <gd@samba.org>
67     * BUG 7993: Make sure we don't crash when publishing a single printer.
68     * BUG 8085: Fix incorrect timeout handling in ncacn_ip_tcp client code.
69     * BUG 8132: Fix filling printers location field when using CUPS.
72 o   David Disseldorp <ddiss@suse.de>
73     * BUG 7836: Make newly added printers visible to clients.
74     * BUG 7994: Use printcap IDL for IPC.
77 o   Björn Jacke <bj@sernet.de>
78     * BUG 7825: Fix GNU ld version detection with old gcc releases.
79     * BUG 8033: Add explicit configure option whether to enable dmapi
80       support or not.
83 o   Sergey Korsak <skif@1plus1.net>
84     * BUG 8099: setpwent() actually does endpwent() on FreeBSD.
87 o   Volker Lendecke <vl@samba.org>
88     * BUG 8009: Fix getting username in 'net rap session'.
89     * BUG 8011: Fix memory corruption in shadow_copy2.
90     * BUG 8016: Fix gpfs_get_xattr.
91     * BUG 8042: File creation on OS/X.
92     * BUG 8054: Winbind cache stores/retrieves wrong sizes for 16-bit ints.
93     * BUG 8066: Fix wrong output in 'smbget'.
94     * BUG 8087: Fix wbcChangeUserPasswordEx in RESPONSE mode.
97 o   Nikolay Martynov <mar.kolya@gmail.com>
98     * BUG 8010: Fix inode generation so nautilus can count total dir size
99       correctly.
102 o   Jim McDonough <jmcd@samba.org>
103     * BUG 6364: Pull realm from supplied username on libnet join.
104     * BUG 8166: Don't lockout users when offline.
107 o   Stefan Metzmacher <metze@samba.org>
108     * BUG 7383: Normalize IPv4 mapped IPv6 addresses in both directions.
109     * BUG 8034: SEC_STD_DELETE is always granted to the owner of a file.
112 o   Larry Reid <lcreid@jadesystems.ca>
113     * BUG 8055: Can't see Parts of DFS CIFS share.
116 o   Simo Sorce <idra@samba.org>
117     * BUG 7610: winbindd_cache.tdb grows too large when scaled.
120 o   Martin Vogt <martin.vogt@itwm.fraunhofer.de>
121     * BUG 6762: Fix ctdb on gpfs error with MS Office.
125 ######################################################################
126 Reporting bugs & Development Discussion
127 #######################################
129 Please discuss this release on the samba-technical mailing list or by
130 joining the #samba-technical IRC channel on irc.freenode.net.
132 If you do report problems then please try to send high quality
133 feedback. If you don't provide vital information to help us track down
134 the problem then you will probably be ignored.  All bug reports should
135 be filed under the Samba 3.5 product in the project's Bugzilla
136 database (https://bugzilla.samba.org/).
139 ======================================================================
140 == Our Code, Our Bugs, Our Responsibility.
141 == The Samba Team
142 ======================================================================
145 Release notes for older releases follow:
146 ----------------------------------------
148                    =============================
149                    Release Notes for Samba 3.5.8
150                            March 7, 2011
151                    =============================
154 This is the latest stable release of Samba 3.5.
156 Major enhancements in Samba 3.5.8 include:
158 o  Fix Winbind crash bug when no DC is available (bug #7730).
159 o  Fix finding users on domain members (bug #7743).
160 o  Fix memory leaks in Winbind (bug #7879).
161 o  Fix printing with Windows 7 clients (bug #7567).
164 Changes since 3.5.7:
165 --------------------
168 o   Michael Adam <obnox@samba.org>
169     * BUG 7594: Fix "log=>ndr_pull_error" in 'wbinfo -u' and 'wbinfo -g'.
170     * BUG 7871: Fix 'net ads dns register' in cluster setups.
171     * BUG 7894: Fix sporadic Winbind panic in rpc query_user_list.
174 o   Jeremy Allison <jra@samba.org>
175     * BUG 7409: Raise debug level for "reduce_name: couldn't get realpath"
176       messages.
177     * BUG 7716: Store unmodified copies of security descriptors in acl_xattr and
178       acl_tdb modules.
179     * BUG 7733: Fix incorrect unix mode_t caused by invalid client DOS
180       attributes on create.
181     * BUG 7734: Apply appropriate create masks when creating files with "inherit
182       ACLs" set to true.
183     * BUG 7743: Fix finding users on domain members.
184     * BUG 7744: Fix "dfree cache time" parameter.
185     * BUG 7777: Fix requesting lookups for BUILTIN sids.
186     * BUG 7785: Fix atime limit.
187     * BUG 7791: Fix copying files from a SMB share using Gnome vfs and SMB
188       signing.
189     * BUG 7812: ACL inheritance cannot be disabled in vfs_acl_xattr/vfs_acl_tdb.
190     * BUG 7835: vfs_fill_sparse() doesn't use posix_fallocate when strict
191       allocate is on.
192     * BUG 7843: Expand the local SAMs aliases.
193     * BUG 7892: Fix stale lock in open_file_fchmod().
194     * BUG 7950: Revalidate the pathname once re-constructed from a root fsp.
197 o   Andrew Bartlett <abartlet@samba.org>
198     * BUG 7356: Fix 'net ads dns register' in Windows 2008 R2 domains.
201 o   Björn Baumbach <bb@sernet.de>
202     * BUG 7875: Fix 'nmbd --port'.
203     * BUG 7880: Make 'rpcclient deldriver' delete drivers for all architectures.
206 o   Günther Deschner <gd@samba.org>
207     * BUG 7567: Fix printing with Windows 7 clients.
208     * BUG 7641: Handle Windows 9x adddriver calls without config file.
209     * BUG 7945: Let Winbind try to use samlogon validation level 6.
212 o   Holger Hetterich <hhetter@novell.com>
213     * BUG 3185: Fix 'testparm' return code when EOF in encountered in param
214       name.
217 o   Björn Jacke <bj@sernet.de>
218     * BUG 7821: Fix build of shared libraries on Tru64.
221 o   Volker Lendecke <vl@samba.org>
222     * BUG 7066: Fix "Your Password expires today" message for users of trusted
223       domains.
224     * BUG 7262: Fix maintaining of users' groups via UsrMgr.
225     * BUG 7656: Fix scalability problem with hundreds of printers.
226     * BUG 7665: Fix memory leak in the netapi routines.
227     * BUG 7730: Fix Winbind crash bug when no DC is available.
228     * BUG 7774: Fix a getgrent crash with many groups.
229     * BUG 7779: Fix smbd crash caused by expand_msdfs.
230     * BUG 7800: Make Winbind recover from a signing error.
231     * BUG 7817: Fix "force group" with ntlmssp guest session setup.
232     * BUG 7841: Make WINBINDD_LOOKUPRIDS asking the right domain.
233     * BUG 7842: Make WINBINDD_LOOKUPRIDS returning the domain name.
234     * BUG 7855: ntlm_auth: Support clients which offer a spnego mechs we don't
235       support.
236     * BUG 7879: Fix memory leaks in Winbind.
237     * BUG 7881: Fix flaky Winbind against Windows 2008.
238     * BUG 7917: Fix connections from WinCE.
239     * BUG 7940: Fix opening MS Powerpoint files.
242 o   Stefan Metzmacher <metze@samba.org>
243     * BUG 7567: Fix printing with Windows 7 clients.
244     * BUG 7855: ntlm_auth: Support clients which offer a spnego mechs we don't
245       support.
246     * BUG 7883: Fix SMB session setups with Kerberos against some closed source
247       SMB servers.
248     * BUG 7896: Don't set SAMR_FIELD_FULL_NAME if we just want to set the
249       account name.
250     * BUG 7899: Don't return "-1" on success in 'net rpc vampire keytab'.
251     * BUG 7942: Fix endless loops caused by inotify.
252     * BUG 7944: Catch lookup_names/sids schannel errors over ncacn_ip_tcp.
255 o   Jonathan Nieder <jrnieder@gmail.com>
256     * BUG 6837:  Make "rlimit_max below minimum Windows limit" notification less
257       scary.
260 o   olivier <olivier@virtscano.fakenet>
261     * BUG 7789: vfs_scannedonly: Switch from mtime to ctime which is more reliable.
264 o   Rusty Russell <rusty@rustcorp.com.au>
265     * BUG 7498: Fix updating the time on close in vfs_gpfs.
268 ######################################################################
269 Reporting bugs & Development Discussion
270 #######################################
272 Please discuss this release on the samba-technical mailing list or by
273 joining the #samba-technical IRC channel on irc.freenode.net.
275 If you do report problems then please try to send high quality
276 feedback. If you don't provide vital information to help us track down
277 the problem then you will probably be ignored.  All bug reports should
278 be filed under the Samba 3.5 product in the project's Bugzilla
279 database (https://bugzilla.samba.org/).
282 ======================================================================
283 == Our Code, Our Bugs, Our Responsibility.
284 == The Samba Team
285 ======================================================================
288 ----------------------------------------------------------------------
291                    =============================
292                    Release Notes for Samba 3.5.7
293                           February 28, 2011
294                    =============================
297 This is a security release in order to address CVE-2011-0719.
300 o  CVE-2011-0719:
301    All current released versions of Samba are vulnerable to
302    a denial of service caused by memory corruption. Range
303    checks on file descriptors being used in the FD_SET macro
304    were not present allowing stack corruption. This can cause
305    the Samba code to crash or to loop attempting to select
306    on a bad file descriptor set.
309 Changes since 3.5.6:
310 --------------------
313 o   Jeremy Allison <jra@samba.org>
314     * BUG 7949: Fix DoS in Winbind and smbd with many file descriptors open.
317 ######################################################################
318 Reporting bugs & Development Discussion
319 #######################################
321 Please discuss this release on the samba-technical mailing list or by
322 joining the #samba-technical IRC channel on irc.freenode.net.
324 If you do report problems then please try to send high quality
325 feedback. If you don't provide vital information to help us track down
326 the problem then you will probably be ignored.  All bug reports should
327 be filed under the Samba 3.5 product in the project's Bugzilla
328 database (https://bugzilla.samba.org/).
331 ======================================================================
332 == Our Code, Our Bugs, Our Responsibility.
333 == The Samba Team
334 ======================================================================
337 ----------------------------------------------------------------------
340                    =============================
341                    Release Notes for Samba 3.5.6
342                           October 8, 2010
343                    =============================
346 This is the latest stable release of Samba 3.5.
348 Major enhancements in Samba 3.5.6 include:
350   o Fix smbd panic on invalid NetBIOS session request (bug #7698).
351   o Fix smbd crash caused by "%D" in "printer admin" (bug #7541).
352   o Fix crash bug with invalid SPNEGO token (bug #7694).
353   o Fix Winbind internal error (bug #7636).
356 Changes since 3.5.5
357 -------------------
360 o   Jeremy Allison <jra@samba.org>
361     * BUG 7577: Fix SPNEGO auth when contacting Win7 system using Microsoft Live
362       Sign-in Assistant.
363     * BUG 7578: Fix 'net idmap restore' setting HWM to avoid duplicates.
364     * BUG 7581: Fix "admin users" when using vfs_acl_xattr.
365     * BUG 7583: Fix smbclient to connect to Alfresco JLAN CIFS server using
366       Kerberos.
367     * BUG 7589: Fix using cached credentials in ntlm_auth.
368     * BUG 7590: Fix Winbind offline login.
369     * BUG 7617: Fix smbd coredump due to uninitialized variables in the
370       performance counter code.
371     * BUG 7636: Fix Winbind internal error.
372     * BUG 7651: Fix mknod and mkfifo failing with "No such file or
373       directory".
374     * BUG 7693: Fix smbd changing mode of files on rename.
375     * BUG 7694: Fix crash bug with invalid SPNEGO token.
376     * BUG 7698: Fix smbd panic on invalid NetBIOS session request.
379 o   Günther Deschner <gd@samba.org>
380     * BUG 7541: Fix smbd crash caused by "%D" in "printer admin".
381     * BUG 7568: Make sure cm_connect_lsa_tcp does not reset the secure channel.
382     * BUG 7658: Fix "dereferencing type-punned pointer will break
383       strict-aliasing rules" warnings).
384     * BUG 7665: Fix memory leak in netapi connection manager.
387 o   Björn Jacke <bj@sernet.de>
388     * BUG 7244: Fall back to cups-config for underlinked libs.
389     * BUG 7474: Fix build on platforms without st_blocks and st_blksize stat
390       struct members.
393 o   Volker Lendecke <vl@samba.org>
394     * BUG 7336: Enable idmap_passdb module build as shared.
395     * BUG 7531: Fix the charset_pull routine.
396     * BUG 7635: Fix 'smbclient -M'.
397     * BUG 7656: Fix scalability problem with hundreds of printers.
398     * BUG 7684: Fix fd leak in libwbclient.so.
399     * BUG 7688: Fix crash bug in rpcclient.
400     * BUG 7470: Standardize S_IREAD and S_IWRITE.
401     * BUG 7715: Fix file corruption when setting Samba "write wache wize".
404 o   Jim McDonough <jmcd@samba.org>
405     * BUG 7280: Fix auto printers with registry config.
408 o   Andreas Schneider <asn@samba.org>
409     * BUG 7538: Fix GUID_from_data_blob() with length of 32.
412 o   Chere Zhou <chere.zhou@isilon.com>
413     * BUG 7662: Align change notify replies on 4-byte boundary.
416 ######################################################################
417 Reporting bugs & Development Discussion
418 #######################################
420 Please discuss this release on the samba-technical mailing list or by
421 joining the #samba-technical IRC channel on irc.freenode.net.
423 If you do report problems then please try to send high quality
424 feedback. If you don't provide vital information to help us track down
425 the problem then you will probably be ignored.  All bug reports should
426 be filed under the Samba 3.5 product in the project's Bugzilla
427 database (https://bugzilla.samba.org/).
430 ======================================================================
431 == Our Code, Our Bugs, Our Responsibility.
432 == The Samba Team
433 ======================================================================
436 ----------------------------------------------------------------------
439                    =============================
440                    Release Notes for Samba 3.5.5
441                          September 14, 2010
442                    =============================
445 This is a security release in order to address CVE-2010-3069.
448 o  CVE-2010-3069:
449    All current released versions of Samba are vulnerable to
450    a buffer overrun vulnerability. The sid_parse() function
451    (and related dom_sid_parse() function in the source4 code)
452    do not correctly check their input lengths when reading a
453    binary representation of a Windows SID (Security ID). This
454    allows a malicious client to send a sid that can overflow
455    the stack variable that is being used to store the SID in the
456    Samba smbd server.
459 Changes since 3.5.4
460 --------------------
463 o   Jeremy Allison <jra@samba.org>
464     * BUG 7669: Fix for CVE-2010-3069.
467 o   Andrew Bartlett <abartlet@samba.org>
468     * BUG 7669: Fix for CVE-2010-3069.
471 ######################################################################
472 Reporting bugs & Development Discussion
473 #######################################
475 Please discuss this release on the samba-technical mailing list or by
476 joining the #samba-technical IRC channel on irc.freenode.net.
478 If you do report problems then please try to send high quality
479 feedback. If you don't provide vital information to help us track down
480 the problem then you will probably be ignored.  All bug reports should
481 be filed under the Samba 3.5 product in the project's Bugzilla
482 database (https://bugzilla.samba.org/).
485 ======================================================================
486 == Our Code, Our Bugs, Our Responsibility.
487 == The Samba Team
488 ======================================================================
491 ----------------------------------------------------------------------
494                    =============================
495                    Release Notes for Samba 3.5.4
496                            June 23, 2010
497                    =============================
500 This is the latest stable release of Samba 3.5.
502 Major enhancements in Samba 3.5.4 include:
504   o Fix smbd crash when sambaLMPassword and sambaNTPassword entries missing
505     from ldap (bug #7448).
506   o Fix init_sam_from_ldap storing group in sid2uid cache (bug #7507).
509 Changes since 3.5.3
510 -------------------
513 o   Michael Adam <obnox@samba.org>
514     * BUG 7507: Fix init_sam_from_ldap storing group in sid2uid cache.
517 o   Jeremy Allison <jra@samba.org>
518     * BUG 7188: Make ea data checks identical for trans2open and trans2mkdir.
519     * BUG 7410: Samba sends "raw" inode number as uniqueid with unix extensions.
520     * BUG 7449: Fix spnego returning incorrect mechListMIC string.
523 o   Günther Deschner <gd@samba.org>
524     * BUG 7341: Fix Winbind over IPv6.
525     * BUG 7459: Fix some crash bugs and missing error codes in AddDriver paths.
526     * BUG 7479: Fix crash bug in _samr_QueryUserInfo{2} level 18.
527     * BUG 7517: Fix session setup from linux kernel cifs clients with
528       "sec=ntlmv2".
531 o   Olaf Flebbe <o.flebbe@science-computing.de>
532     * BUG 7209: Fix build on RHEL5.
535 o   Björn Jacke <bj@sernet.de>
536     * BUG 7427: Using IBM xl_C compiler produces wrong results in configure.
537     * BUG 7503: Fix calculation of st_blocks in vfs_streams_xattr.
538     * BUG 7504: Fix numerous build issues.
541 o   Volker Lendecke <vl@samba.org>
542     * BUG 7253: Fix Samba login cache problem on Sparc Architecture.
543     * BUG 7262: Fix editing users' groups via UsrMgr.
546 o   Buchan Milne <bgmilne@mandriva.org>
547     * BUG 7500: Fix 'not a string literal' warning in netdomjoin-gui.
550 o   Matthieu Patou <mat@matws.net>
551     * BUG 7099: Allow previous password to be stored and use it to check
552       tickets.
555 o   Andreas Schneider <asn@samba.org>
556     * BUG 7423: Fix printing large formats.
559 o   Roel van Meer <rolek@bokxing.nl>
560     * BUG 7448: Fix smbd crash when sambaLMPassword and sambaNTPassword entries
561       missing from ldap.
564 ######################################################################
565 Reporting bugs & Development Discussion
566 #######################################
568 Please discuss this release on the samba-technical mailing list or by
569 joining the #samba-technical IRC channel on irc.freenode.net.
571 If you do report problems then please try to send high quality
572 feedback. If you don't provide vital information to help us track down
573 the problem then you will probably be ignored.  All bug reports should
574 be filed under the Samba 3.5 product in the project's Bugzilla
575 database (https://bugzilla.samba.org/).
578 ======================================================================
579 == Our Code, Our Bugs, Our Responsibility.
580 == The Samba Team
581 ======================================================================
584 ----------------------------------------------------------------------
587                    =============================
588                    Release Notes for Samba 3.5.3
589                             May 19, 2010
590                    =============================
593 This is the latest stable release of Samba 3.5.
595 Major enhancements in Samba 3.5.3 include:
597   o Fix MS-DFS functionality (bug #7339).
598   o Fix a Winbind crash when scanning trusts (bug #7389).
599   o Fix problems with SIGCHLD handling in Winbind (bug #7317).
602 Changes since 3.5.2
603 -------------------
606 o   Jeremy Allison <jra@samba.org>
607     * BUG 7288: Fix SMB job IDs in CUPS job names.
608     * BUG 7339: Fix MS-DFS functionality.
611 o   Andrew Bartlett <abartlet@samba.org>
612     * BUG 7354: Fix CLDAP tsocket problem on Solaris.
615 o   Ira Cooper <samba@ira.wakeful.net>
616     * BUG 7384: Fix bitmap leak in dptr_Close.
619 o   Günther Deschner <gd@samba.org>
620     * BUG 7277: Fix exporting printers via 'cupsaddsmb' command.
621     * BUG 7417: Fix setting of passwords via 'net rpc user password' command.
622     * BUG 7418: Fix 'net rpc printer list' command.
625 o   Olaf Flebbe <o.flebbe@science-computing.de>
626     * BUG 7421: Rename mod_name to module_name.
629 o   Björn Jacke <bj@sernet.de>
630     * BUG 7352: Make TIME_T_MAX defines consistent.
631     * BUG 7385: Fix building with Solaris' gcc.
634 o   Jeff Layton <jlayton@redhat.com>
635     * BUG 7315: Fix segfault in mount.cifs.
638 o   Volker Lendecke <vl@samba.org>
639     * BUG 7357: Re-fix a bug with smbd serving a windows terminal server.
640     * BUG 7389: Fix a Winbind crash when scanning trusts.
641     * BUG 7398: Fix rename problems with full_audit VFS module.
644 o   Jim McDonough <jmcd@samba.org>
645     * BUG 7378: Display an error on 'net conf import' failures.
648 o   Stefan Metzmacher <metze@samba.org>
649     * BUG 7196: Add replacement for IPV6_V6ONLY on linux systems with broken
650       headers.
651     * BUG 7317: Fix problems with SIGCHLD handling in Winbind.
652     * BUG 7354: Fix CLDAP tsocket problem on Solaris.
655 o   Luca Olivetti <luca@wetron.es>
656     * BUG 7263: Fix cups encryption setting.
659 ######################################################################
660 Reporting bugs & Development Discussion
661 #######################################
663 Please discuss this release on the samba-technical mailing list or by
664 joining the #samba-technical IRC channel on irc.freenode.net.
666 If you do report problems then please try to send high quality
667 feedback. If you don't provide vital information to help us track down
668 the problem then you will probably be ignored.  All bug reports should
669 be filed under the Samba 3.5 product in the project's Bugzilla
670 database (https://bugzilla.samba.org/).
673 ======================================================================
674 == Our Code, Our Bugs, Our Responsibility.
675 == The Samba Team
676 ======================================================================
679 ----------------------------------------------------------------------
682                    =============================
683                    Release Notes for Samba 3.5.2
684                            April 7, 2010
685                    =============================
688 This is the latest stable release of Samba 3.5.
690 Major enhancements in Samba 3.5.2 include:
692   o Fix smbd segfaults in _netr_SamLogon for clients sending null domain
693     (bug #7237).
694   o Fix smbd segfaults in "waiting for connections" message (bug #7251).
695   o Fix an uninitialized variable read in smbd (bug #7254).
696   o Fix a memleak in Winbind (bug #7278).
697   o Fix Winbind reconnection to it's own domain (bug #7295).
700 Changes since 3.5.1
701 -------------------
704 o   Michael Adam <obnox@samba.org>
705     * BUG 7231: Fix automatic building of vfs_tsmsm if gpfs and dmapi are
706       present.
707     * BUG 7232: Fix race conditions in CTDB persistent transactions.
708     * BUG 7313: Make 'net conf addshare' atomic.
709     * BUG 7314: Eliminate race condition in creating/scanning sorted subkeys in
710       the registry backend.
713 o   Jeremy Allison <jra@samba.org>
714     * BUG 7075: Fix bug in vfs_scannedonly rmdir implementation.
715     * BUG 7159: Fix handling of bad server data returns in client rpc_transport.
716     * BUG 7234: Symlink delete fails but incorrectly reports success to client.
717     * BUG 7255: Fix "printer admin" functionality.
718     * BUG 7283: Fix smbd segfault if using vfs_acl_tdb.
719     * BUG 7297: Fix smbd crashes with CUPS printers and no [printers] share defined.
720     * BUG 7310: Fix DOS attribute inconsistency with MS Office.
723 o   Kai Blin <kai@samba.org>
724     * BUG 7290: Fix core dump in 'ntlm_auth' with "gss-spnego" helper.
727 o   Günther Deschner <gd@samba.org>
728     * BUG 6727: Fix several printing issues.
729     * BUG 7237: Fix smbd segfaults in _netr_SamLogon for clients sending
730       null domain.
731     * BUG 7256: Fix value-needed calculation in_spoolss_EnumPrinterData().
732     * BUG 7258: Fix _winreg_QueryValue crash bugs and implement Windows
733       behavior.
736 o   Holger Hetterich <hhetter@novell.com>
737     * BUG 7203: Fix 'net share' command.
740 o   Michael Karcher <samba@mkarcher.dialup.fu-berlin.de>
741     * BUG 7269: Fix job management commands for CUPS queues.
744 o   Jeff Layton <jlayton@redhat.com>
745     * BUG 6853: Fix race condition in mount.cifs that allows user to replace
746       mountpoint with a symlink.
749 o   Volker Lendecke <vl@samba.org>
750     * BUG 5198: Fix parsing of the gecos field.
751     * BUG 7202: Fix access by multi-threaded applications.
752     * BUG 7212: Fix returning of group members with 'getent group'.
753     * BUG 7216: Fix the build of net_afs.c with --fake-kaserver=yes.
754     * BUG 7229: Fix a NULL pointer dereference in smbd.
755     * BUG 7232: Fix race conditions in CTDB persistent transactions.
756     * BUG 7254: Fix an uninitialized variable read in smbd.
757     * BUG 7278: Fix a memleak in Winbind.
760 o   Roel van Meer <rolek@alt001.com>
761     * BUG 6814: Fix valgrind warning.
764 o   Stefan Metzmacher <metze@samba.org>
765     * BUG 7170: Never mark external domains as internal in Winbind.
766     * BUG 7225: Make Winbind logs more verbose for troubleshooting.
767     * BUG 7251: Fix smbd segfault in "waiting for connections" message.
768     * BUG 7295: Fix Winbind reconnection to it's own domain.
769     * BUG 7316: Winbind possibly segfaults when trying a trusted domain without
770       inbound trust.
773 o   SATOH Fumiyasu <fumiyas@osstech.co.jp>
774     * BUG 1206: Fix segfault if hide files or veto files has no ".AppleDouble".
777 o   Simo Sorce <idra@samba.org>
778     * BUG 7204: Fix DN parsing name was always null.
781 o   Andrew Tridgell <tridge@samba.org>
782     * BUG 7312: Many disconnecting clients render clustered Samba unusuable
783       for some time.
786 o   Bo Yang <boyang@samba.org>
787     * BUG 7206: Signals are processed twice in child.
791 ######################################################################
792 Reporting bugs & Development Discussion
793 #######################################
795 Please discuss this release on the samba-technical mailing list or by
796 joining the #samba-technical IRC channel on irc.freenode.net.
798 If you do report problems then please try to send high quality
799 feedback. If you don't provide vital information to help us track down
800 the problem then you will probably be ignored.  All bug reports should
801 be filed under the Samba 3.5 product in the project's Bugzilla
802 database (https://bugzilla.samba.org/).
805 ======================================================================
806 == Our Code, Our Bugs, Our Responsibility.
807 == The Samba Team
808 ======================================================================
810 ----------------------------------------------------------------------
812                    =============================
813                    Release Notes for Samba 3.5.1
814                             March 8, 2010
815                    =============================
818 This is a security release in order to address CVE-2010-0728.
821 o  CVE-2010-0728:
822    In Samba releases 3.5.0, 3.4.6 and 3.3.11, new code
823    was added to fix a problem with Linux asynchronous IO handling.
824    This code introduced a bad security flaw on Linux platforms if the
825    binaries were built on Linux platforms with libcap support.
826    The flaw caused all smbd processes to inherit CAP_DAC_OVERRIDE
827    capabilities, allowing all file system access to be allowed
828    even when permissions should have denied access.
831 Changes since 3.5.0
832 -------------------
835 o   Jeremy Allison <jra@samba.org>
836     * BUG 7222: Fix for CVE-2010-0728.
839 ######################################################################
840 Reporting bugs & Development Discussion
841 #######################################
843 Please discuss this release on the samba-technical mailing list or by
844 joining the #samba-technical IRC channel on irc.freenode.net.
846 If you do report problems then please try to send high quality
847 feedback. If you don't provide vital information to help us track down
848 the problem then you will probably be ignored.  All bug reports should
849 be filed under the Samba 3.5 product in the project's Bugzilla
850 database (https://bugzilla.samba.org/).
853 ======================================================================
854 == Our Code, Our Bugs, Our Responsibility.
855 == The Samba Team
856 ======================================================================
859 ----------------------------------------------------------------------
862                    =============================
863                    Release Notes for Samba 3.5.0
864                             March 1, 2010
865                    ===============================
868 This is the first stable release of Samba 3.5.
871 Major enhancements in Samba 3.5.0 include:
873 General changes:
874 o Add support for full Windows timestamp resolution
875 o The Using Samba HTML book has been removed.
876 o 'net', 'smbclient' and libsmbclient can use credentials cached by Winbind.
877 o The default value of "wide links" has been changed to "no".
879 Protocol changes:
880 o Experimental implementation of SMB2
882 Printing Changes:
883 o Add encryption support for connections to a CUPS server
885 Winbind changes:
886 o Major refactoring
887 o Asynchronous
889 VFS modules:
890 o New vfs_scannedonly module has been added.
893 General changes:
894 ================
896 Support for full Windows timestamp resolution has been added. This effectively
897 makes us use Windows' full 100ns timestamp resolution if supported by the
898 kernel (2.6.22 and higher) and the glibc (2.6 and higher).
900 The Using Samba HTML book has been removed from the Samba tarball.
901 It is still available at http://www.samba.org/samba/docs/using_samba/toc.html.
903 Samba client tools like 'net', 'smbclient' and libsmbclient can use the user
904 credentials cached by Winbind at logon time. This is very useful e.g. when
905 connecting to a Samba server using Nautilus without re-entering username and
906 password. This feature is enabled by default and can be disabled per application
907 by setting the LIBSMBCLIENT_NO_CCACHE environment variable.
909 The default value of "wide links" has been changed to "no" to avoid an insecure
910 default configuration ("wide links = yes" and "unix extensions = yes"). For
911 more details, please see http://www.samba.org/samba/news/symlink_attack.html.
914 Protocol changes
915 ================
917 An EXPERIMENTAL implementation of the SMB2 protocol has been added. SMB2 can be
918 enabled by setting "max protocol = smb2". SMB2 is a new implementation of the
919 SMB protocol used by Windows Vista and higher.
921 Printing Changes
922 ================
924 A new parameter "cups encrypt" has been added to control whether connections to
925 CUPS servers will be encrypted or not. The default is to use unencrypted
926 connections.
928 Winbind changes
929 ===============
931 The Winbind daemon has been refactored internally to be asynchronous. The new
932 Winbind will not be blocked by running 'getent group' or 'getent passwd'.
934 VFS modules
935 ===========
937 A new VFS module "scannedonly" has been added. This is a filter that
938 talks to an antivirus-engine and stores whether a file is clean or not.
939 Users do only see clean files on their filesystem.
942 ######################################################################
943 Changes
944 #######
946 smb.conf changes
947 ----------------
949    Parameter Name                      Description     Default
950    --------------                      -----------     -------
952    create krb5 conf                    New             yes
953    ctdb timeout                        New             0
954    cups encrypt                        New             no
955    debug hires timestamp               Changed Default yes
956    ldap deref                          New             auto
957    ldap follow referral                New             auto
958    nmbd bind explicit broadcast        New             no
959    wide links                          Changed Default no
962 New configure options
963 ---------------------
965 --enable-external-libtdb        Enable external tdb
966 --enable-netapi                 Turn on netapi support
967 --enable-pthreadpool            Enable pthreads pool helper support
968 --with-cifsumount               Include umount.cifs (Linux only) support
969 --with-codepagedir=DIR          Where to put codepages
972 Commit Highlights
973 =================
975 o   Björn Jacke <bj@sernet.de>
976     * Add support for full Windows timestamp resolution.
977     * Add encryption support for connections to a CUPS server.
980 o   Volker Lendecke <vl@samba.org>
981     * Major internal refactoring of the Winbind daemon.
982     * Make Winbind asynchronous.
983     * Make 'net', 'smbclient' and libsmbclient use the logon credentials cached
984       by Winbind.
987 o   Stefan Metzmacher <metze@samba.org>
988     * Implement the new SMB2 protocol (experimental).
991 Changes since 3.5.0rc3
992 ----------------------
995 o   Günther Deschner <gd@samba.org>
996     * BUG 7181: Fix 'net ads dns' usage calls.
997     * BUG 7182: Fix uninitialized variable in wkssvc_enumerateusers.
1000 o   Volker Lendecke <vl@samba.org>
1001     * BUG 7145: Fix duplicate sam and unix accounts.
1002     * BUG 7166: Avoid calling cli_alloc_mid twice in cli_smb_req_iov_send.
1005 o   Stefan Metzmacher <metze@samba.org>
1006     * BUG 7160: Keep the the correct negotiate_flags on the cli->dc structure.
1009 Changes since 3.5.0rc2
1010 ----------------------
1013 o   Jeremy Allison <jra@samba.org>
1014     * BUG 6557: Fix vfs_full_audit.
1015     * BUG 6876: Fix duplicate initializer in the rmdir module.
1016     * BUG 7063: Fix core dump on Ubuntu 8.04 64 bit.
1017     * BUG 7067: Fix failing of smbd to respond to a read or a write caused by
1018       Linux asynchronous IO (aio).
1019     * BUG 7069: Fix 'smbget' error status.
1020     * BUG 7072: Fix unlocking of accounts from ldap.
1021     * BUG 7079  Cliconnect gets realm wrong with trusted domains.
1022     * BUG 7081: Fix vfs_expand_msdfs.
1023     * BUG 7084: Fix storing of create time on directories in an EA in new
1024       create time code.
1025     * BUG 7104: "wide links" and "unix extensions" are incompatible.
1026     * BUG 7118: Fix nmbd problems with socket address.
1027     * BUG 7122: Fix reading of large browselist.
1028     * BUG 7154: "mangling method = hash" can crash storing a name containing a '.'.
1029     * BUG 7155: Valgrind Conditional jump or move depends on uninitialised
1030       value(s) error when "mangling method = hash"..
1033 o   Steven Danneman <steven.danneman@isilon.com>
1034     * BUG 7096: Fix string buffer overflow causing heap corruption in smbd.
1037 o   Günther Deschner <gd@samba.org>
1038     * BUG 6888: Fix printing with 64 bit clients.
1039     * BUG 7130: Fix listing of printjobs in  Windows 7.
1040     * BUG 7148: Fix get_acl_blob in the acl_tdb VFS module.
1043 o   Björn Jacke <bj@sernet.de>
1044     * BUG 7103: Fix build issue on Tru64.
1045     * BUG 7116: Change ldap filter to what really was intended.
1046     * Fix some wrong newlines in de translation strings.
1049 o   Jeff Layton <jlayton@redhat.com>
1050     * BUG 6868: Fix crash bug in 'cifs.upcall'.
1053 o   Volker Lendecke <vl@samba.org>
1054     * BUG 7085: Fix an early release of the global lock that can cause data
1055       corruption in libtdb.
1056     * BUG 7139: Owner of file not available with Kerberos.
1059 o   Stefan Metzmacher <metze@samba.org>
1060     * BUG 6888: Fix printing with 64 bit clients.
1061     * BUG 7098: Fix results of 'smbclient -L' with a large browse list.
1062     * BUG 7116: Add pdb_ldap performance fixes.
1063     * BUG 7118: Add new "nmbd bind explicit broadcast" parameter.
1064     * BUG 7119: Support large browselist.
1065     * BUG 7140: Fix IPv4/IPv6 problems.
1068 o   Lars Müller <lars@samba.org>
1069     * BUG 7071: Fix build of 'smbfilter'.
1070     * BUG 7047: Add cross option to samba_cv_linux_getgrouplist_ok.
1071     * BUG 7102: Normalize "Changing password for" msg IDs and STRs.
1074 o   Olivier Sessink <olivier@virtscano.fakenet>
1075     * BUG 7076: Fix build of vfs_scannedonly on AIX.
1078 o   Bo Yang <boyang@samba.org>
1079     * BUG 7106: Fix malformed require_membership_of_sid.
1083 Changes since 3.5.0rc1
1084 ----------------------
1087 o   Michael Adam <obnox@samba.org>
1088     * BUG 4347: Check password history before increasing "badPasswordCount".
1091 o   Jeremy Allison <jra@samba.org>
1092     * BUG 5202: Fix changing of ACLs on writable file with "dos filemode=yes".
1093     * BUG 6876: Fix deletion of an object whose parent folder does not have delete
1094       rights fails even if the delete right is set on the object in
1095       vfs_acl_xattr and vfs_acl_tdb.
1096     * BUG 7033: Fix SMBrmdir error message when deleting a directory fails.
1097     * BUG 7036: Fix 'net rpc getsid' in hardened Windows environments.
1098     * BUG 7045: Fix bad (non memory copying) interfaces in smbc_setXXXX calls.
1101 o   Giovanni Bajo <rasky@develer.com>
1102     * BUG 7029: Disable sanity check in NetShareEnum for better compatibility
1103       with Windows.
1106 o   Kai Blin <kai@samba.org>
1107     * BUG 7039: Fix compile error with WITH_DNS_UPDATE. Update .po files.
1110 o   Günther Deschner <gd@samba.org>
1111     * BUG 7043: Fix crash bug in libsmbclient.
1114 o   André Hentschel <nerv@dawncrow.de>
1115     * BUG 7039: Complete German translation of 'net'.
1118 o   Björn Jacke <bj@sernet.de>
1119     * BUG 7039: Improve some German translations in 'net'.
1122 o   William Jojo <w.jojo@hvcc.edu>
1123     * BUG 7052: Fix DFS on AIX.
1126 o   Volker Lendecke <vl@samba.org>
1127     * BUG 6981: Fix large paged search with DirX LDAP servers.
1128     * BUG 7027: Fix a segfault in winbindd_dual_ccache_ntlm_auth().
1129     * BUG 7037: Fix a Winbind segfault in "trusted_domains".
1130     * BUG 7046: Fix libsmbclient crash against OpenSolaris CIFS server.
1131     * BUG 7062: Make 'net', 'smbclient' and libsmbclient use the logon
1132       credentials cached by Winbind.
1133     * Lock down some srvsvc calls according to what w2k3 seems to do.
1136 o   Stefan Metzmacher <metze@samba.org>
1137     * BUG 6157: Restore Samba 3.0.x behavior and use the first "uid" value in
1138       pdb_ldap.
1141 o   SASAJIMA Toshihiro <sasajima_t@jp.fujitsu.com>
1142     * BUG 7034: Fix segfault in vfs_cap.
1145 o   Olivier Sessink <oliviersessink@gmail.com>
1146     * BUG 7028: Add new scannedonly VFS module.
1149 Changes since 3.5.0pre2
1150 -----------------------
1152 o   Jeremy Allison <jra@samba.org>
1153     * BUG 6837: Fix "Too many open files" when trying to access large number of
1154       files with Windows 7.
1155     * BUG 6939: Fix long filenames when "mangling method" is set to "hash".
1156     * BUG 7020: Fix smbd using 2G memory.
1157     * Ensure dos_mode can return FILE_ATTRIBUTE_NORMAL, then filter the returned
1158       attributes by protocol level.
1159     * Vector correctly through reply_openerror() (which uses the same logic).
1160     * Fix bugs with the full Windows ACL support.
1163 o   Kai Blin <kai@samba.org>
1164     * Add a few missing gettext calls to the 'net' command.
1165     * Fix up a share type translation and translate some more strings in 'net'.
1168 o   Günther Deschner <gd@samba.org>
1169     * Allow to call "pdbedit -N description -u user" without specifiyng "-r".
1170     * Add spoolss_DriverInfo7.
1171     * Fix rpcclient after setprinter IDL fixes.
1172     * Use generated krb5.conf in 'net ads testjoin'.
1175 o   Jonas Gorski <jonas.gorski+samba@gmail.com>
1176     * BUG 6992: make test for getgrouplist cacheable.
1179 o   André Hentschel <nerv@dawncrow.de>
1180     * Add some German translations for the 'net' command.
1183 o   Suresh Jayaraman <sjayaraman@suse.de>
1184     * Update mount.cifs man page with nounix option.
1187 o   Volker Lendecke <vl@samba.org>
1188     * Fix _samr_GetAliasMembership for results with 0 rids.
1189     * Fix an error case in cli_negprot.
1190     * Add a lower-cost alternative to wbinfo -t: wbinfo --ping-dc.
1191     * Restore correct timeouts for SMB requests.
1192     * Fix a 64-bit error in libsmb.
1193     * Replace IS_DOMAIN_OFFLINE by a function in Winbind.
1194     * Simplify/cleanup Winbind code.
1197 o   Kamen Mazdrashki <kamen.mazdrashki@postpath.com>
1198     * Fix write behind memory block in libtalloc.
1199     * Fix result check for getaddrinfo().
1202 o   Jim McDonough <jmcd@samba.org>
1203     * BUG 7014: Fix Winbind crash when retrieving empty group members.
1206 o   Brian Lu <brian.lu@sun.com>
1207     * BUG 6991: Create symbol links to shared libraries.
1210 o   Stefan Metzmacher <metze@samba.org>
1211     * Add tsocket_address_bsd_sockaddr() and tsocket_address_bsd_from_sockaddr()
1212       to tsocket.
1213     * Always set tdb->tracefd to -1 to be safe on goto fail in libtdb.
1214     * Add TDB_DISALLOW_NESTING and make TDB_ALLOW_NESTING the default behavior.
1215     * Fix standalone 'make installdocs'.
1218 o   Peter Rosin <peda@lysator.liu.se>
1219     * Output %p as unsigned in snprintf replacement.
1222 o   Ronnie Sahlberg <ronniesahlberg@gmail.com>
1223     * New attempt at TDB transaction nesting allow/disallow.
1226 o   Kirill Smelkov <kirr@mns.spb.ru>
1227     * Remove swig stuff from libtdb.
1228     * Reset tdb->fd to -1 in tdb_close() in libtdb.
1231 o   Simo Sorce <idra@samba.org>
1232     * Change the way mksysms work in libtalloc.
1235 o   Jelmer Vernooij <jelmer@samba.org>
1236     * Also build and install tdb manpages from standalone tdb.
1239 o   Bo Yang <boyang@samba.org>
1240     * Fix infinite loop in NCACN_IP_TCP as there is no timeout.
1241     * Make winbindd_cache.c aware of domain offline to avoid unnecessary backend
1242       query.
1243     * List trusted domains from wcache when domain is offline.
1246 Changes since 3.5.0pre1
1247 -----------------------
1249 o   Michael Adam <obnox@samba.org>
1250     * Fix the build when no external talloc and tdb are installed.
1251     * Fix detection of CTDB headers on systems without system-libtalloc.
1254 o   Jeremy Allison <jra@samba.org>
1255     * BUG 6802: A created folder does not properly inherit permissions from
1256       parent in vfs_acl_xattr.
1257     * BUG 6837: "Too many open files" when trying to access large number of
1258       files from Windows 7.
1259     * BUG 6938 : No hook exists to check creation rights when using acl_xattr
1260       module.
1261     * Fix vfs_acl_xattr which was failing to call the NEXT connect function.
1262     * Restructure the ACL code.
1263     * Refactor reply_rmdir to use handle based code.
1266 o   Dan Cox <dan@wep.net>
1267     * BUG 2350: Add LDAP Alias Dereferencing support.
1270 o   Günther Deschner <gd@samba.org>
1271     * BUG 6929: Fix build with recent heimdal.
1272     * Fix several printing issues.
1273     * Fix the build on Mac OS X 10.6.2.
1274     * Fix net and rpcclient after setprinterdataex changes.
1275     * Add full support for level 8 printer drivers.
1276     * Add more spoolss architectures to IDL.
1277     * Fix enumprinter key client and server.
1278     * Fix crash in EnumPrinterDataEx.
1281 o   Björn Jacke <bj@sernet.de>
1282     * Prefer posix_fallocate for doing "strict allocate".
1285 o   Matt Kraai <mkraai@beckman.com>
1286     * BUG 6860: Fix shared library build on QNX.
1289 o   Volker Lendecke <vl@samba.org>
1290     * BUG 6288: SWAT adds a second share when changing parameters of an existing
1291       share.
1292     * BUG 6435: Fix minor memory corruption.
1293     * Restore "fake directory create times" as a share parameter.
1294     * Fix explicit stat64 support.
1295     * Add support for NetWkstaGetInfo 101 and 102.
1296     * Add rpcclient wkssvc_enumerateusers.
1297     * De-deprecate "write cache size" to prevent its removal without a proper
1298       alternative.
1299     * Allow more than 1000 users in BUILTIN\Users.
1302 o   Jim McDonough <jmcd@samba.org>
1303     * BUG 6967: Prevent glibc error on 'net ads join'.
1306 o   Lars Müller <lars@samba.org>
1307     * BUG 6710: Only install the cifs.upcall man page if CIFSUPCALL_PROGS was
1308       set while configure.
1311 o   Ian Puleston <ipuleston@sonicwall.com>
1312     * Complete support for NetWkstaGetInfo/NetWkstaEnumUsers.
1315 o   Karolin Seeger <kseeger@samba.org>
1316     * Fix the build of the example VFS modules.
1319 o   Bo Yang <boyang@samba.org>
1320     * BUG 6879: Fix crash in Winbind.
1321     * Fix crash in free_file_list().
1322     * Give the user a chance to change password when password will expire soon.
1325 ######################################################################
1326 Reporting bugs & Development Discussion
1327 #######################################
1329 Please discuss this release on the samba-technical mailing list or by
1330 joining the #samba-technical IRC channel on irc.freenode.net.
1332 If you do report problems then please try to send high quality
1333 feedback. If you don't provide vital information to help us track down
1334 the problem then you will probably be ignored.  All bug reports should
1335 be filed under the Samba 3.5 product in the project's Bugzilla
1336 database (https://bugzilla.samba.org/).
1339 ======================================================================
1340 == Our Code, Our Bugs, Our Responsibility.
1341 == The Samba Team
1342 ======================================================================