Revert "Fix bug #7067 - Linux asynchronous IO (aio) can cause smbd to fail to respond...
[Samba.git] / WHATSNEW.txt
blob80589c77a75a5eb844a08b964ae78e35e8be9a5e
1                    =============================
2                    Release Notes for Samba 3.4.7
3                             March 8, 2010
4                    =============================
7 This is a security release in order to address CVE-2010-0728.
10 o  CVE-2010-0728:
11    In Samba releases 3.5.0, 3.4.6 and 3.3.11, new code
12    was added to fix a problem with Linux asynchronous IO handling.
13    This code introduced a bad security flaw on Linux platforms if the
14    binaries were built on Linux platforms with libcap support.
15    The flaw caused all smbd processes to inherit CAP_DAC_OVERRIDE
16    capabilities, allowing all file system access to be allowed
17    even when permissions should have denied access.
20 Changes since 3.5.0
21 -------------------
24 o   Jeremy Allison <jra@samba.org>
25     * BUG 7222: Fix for CVE-2010-0728.
28 ######################################################################
29 Reporting bugs & Development Discussion
30 #######################################
32 Please discuss this release on the samba-technical mailing list or by
33 joining the #samba-technical IRC channel on irc.freenode.net.
35 If you do report problems then please try to send high quality
36 feedback. If you don't provide vital information to help us track down
37 the problem then you will probably be ignored.  All bug reports should
38 be filed under the Samba 3.4 product in the project's Bugzilla
39 database (https://bugzilla.samba.org/).
42 ======================================================================
43 == Our Code, Our Bugs, Our Responsibility.
44 == The Samba Team
45 ======================================================================
48 Release notes for older versions follow:
49 ----------------------------------------
51                    =============================
52                    Release Notes for Samba 3.4.6
53                          February 24, 2010
54                    =============================
57 This is the latest stable release of Samba 3.4.
59 Major enhancements in Samba 3.4.6 include:
61    o "wide links" and "unix extensions" are incompatible (bug #7104).
62    o Fix printing with 64 bit clients (bug #6888).
63    o Fix core dump on Ubuntu 8.04 64 bit (bug #7063).
64    o Fix failing of smbd to respond to a read or a write caused by
65      Linux asynchronous IO (aio) (bug #7067).
66    o Fix string buffer overflow causing heap corruption in smbd (bug #7096).
69 ######################################################################
70 Changes
71 #######
73 Changes since 3.4.5
74 -------------------
77 o   Michael Adam <obnox@samba.org>
78     * Make idmap cache persistent for "ldapsam:trusted".
79     * Also fill the memcache with sid<->id mappings in ldapsam_sid_to_id() not
80       only the persistent idmap cache.
81     * Shortcut uid_to_sid when "ldapsam:trusted = yes".
84 o   Jeremy Allison <jra@samba.org>
85     * BUG 6557: Fix vfs_full_audit.
86     * BUG 7063: Fix core dump on Ubuntu 8.04 64 bit.
87     * BUG 7067: Fix failing of smbd to respond to a read or a write caused by
88       Linux asynchronous IO (aio).
89     * BUG 7072: Fix unlocking of accounts from ldap.
90     * BUG 7081: Fix vfs_expand_msdfs.
91     * BUG 7104: "wide links" and "unix extensions" are incompatible.
92     * BUG 7122: Fix reading of large browselist.
93     * BUG 7154: "mangling method = hash" can crash storing a name containing a '.'.
94     * BUG 7155: Valgrind Conditional jump or move depends on uninitialised
95       value(s) error when "mangling method = hash".
98 o   Steven Danneman <steven.danneman@isilon.com>
99     * BUG 7096: Fix string buffer overflow causing heap corruption in smbd.
102 o   Günther Deschner <gd@samba.org>
103     * BUG 6888: Fix printing with 64 bit clients.
104     * BUG 7130: Fix listing of printjobs in Windows 7.
105     * BUG 7136: Spoolss getprinterdriver2 level 101 marshalling is bad.
108 o   William Jojo <w.jojo@hvcc.edu>
109     * BUG 7052: Fix DFS on AIX (maybe others).
112 o   Jeff Layton <jlayton@redhat.com>
113     * BUG 6868: Fix crash bug in 'cifs.upcall'.
116 o   Volker Lendecke <vl@samba.org>
117     * BUG 5885: Fix bogus ip address in SWAT.
118     * BUG 6981: Fix large paged search with DirX LDAP servers.
119     * BUG 7068: Fix pdb_search crash as non-root user.
120     * Make pdb_copy_sam_account also copy the group sid.
123 o   Stefan Metzmacher <metze@samba.org>
124     * BUG 6157: Use the first "uid" value.
125     * BUG 6888: Fix printing with 64 bit clients.
126     * BUG 7098: Fix results of 'smbclient -L' with a large browse list.
127     * Shortcut gid_to_sid when "ldapsam:trusted = yes".
128     * Speed up pdb_get_group_sid().
129     * Try to build the full unix_pw structure with ldapsam:trusted support.
130     * Optimize ldapsam_alias_memberships() and cache ldap searches.
133 o   Lars Müller <lars@samba.org>
134     * BUG 7047: Add cross option to samba_cv_linux_getgrouplist_ok.
135     * BUG 7102: Normalize "Changing password for" msg IDs and STRs.
138 o   Bo Yang <boyang@samba.org>
139     * BUG 7106: Fix malformed require_membership_of_sid.
142 ######################################################################
143 Reporting bugs & Development Discussion
144 #######################################
146 Please discuss this release on the samba-technical mailing list or by
147 joining the #samba-technical IRC channel on irc.freenode.net.
149 If you do report problems then please try to send high quality
150 feedback. If you don't provide vital information to help us track down
151 the problem then you will probably be ignored.  All bug reports should
152 be filed under the Samba 3.4 product in the project's Bugzilla
153 database (https://bugzilla.samba.org/).
156 ======================================================================
157 == Our Code, Our Bugs, Our Responsibility.
158 == The Samba Team
159 ======================================================================
162 ----------------------------------------------------------------------
165                    =============================
166                    Release Notes for Samba 3.4.5
167                          January 19, 2010
168                    =============================
171 This is the latest stable release of Samba 3.4.
173 Major enhancements in Samba 3.4.5 include:
175    o Fix memory in leak in smbd (bug #7020).
176    o Fix changing of ACLs on writable files with "dos filemode=yes" (bug #5202).
179 ######################################################################
180 Changes
181 #######
183 Changes since 3.4.4
184 -------------------
187 o   Jeremy Allison <jra@samba.org>
188     * BUG 5202: Fix changing of ACLs on writable files with "dos filemode=yes".
189     * BUG 7020: Fix memory leak in smbd.
190     * BUG 7036: Fix 'net rpc getsid' in hardened Windows environments.
191     * BUG 7045: Fix bad (non memory copying) interfaces in smbc_setXXXX calls.
194 o   Günther Deschner <gd@samba.org>
195     * BUG 7043: Fix crash bug in "SMBC_parse_path".
198 o   Volker Lendecke <vl@samba.org>
199     * BUG 7046: Fix a crash in libsmbclient used against the OpenSolaris CIFS
200       server.
203 o   Stefan Metzmacher <metze@samba.org>
204     * BUG 6642: Fix opening the quota magic file.
205     * BUG 6919: Fix remote quota management.
208 o   SASAJIMA Toshihiro <sasajima_t@jp.fujitsu.com>
209     * BUG 7034: Fix internal error caused by vfs_cap.
212 ######################################################################
213 Reporting bugs & Development Discussion
214 #######################################
216 Please discuss this release on the samba-technical mailing list or by
217 joining the #samba-technical IRC channel on irc.freenode.net.
219 If you do report problems then please try to send high quality
220 feedback. If you don't provide vital information to help us track down
221 the problem then you will probably be ignored.  All bug reports should
222 be filed under the Samba 3.4 product in the project's Bugzilla
223 database (https://bugzilla.samba.org/).
226 ======================================================================
227 == Our Code, Our Bugs, Our Responsibility.
228 == The Samba Team
229 ======================================================================
232 ----------------------------------------------------------------------
235                    =============================
236                    Release Notes for Samba 3.4.4
237                          January 7, 2009
238                    =============================
241 This is the latest stable release of Samba 3.4.
243 Major enhancements in Samba 3.4.4 include:
245    o Fix interdomain trust relationships with Win2008R2 (bug #6697).
246    o Fix Winbind crashes when queried from nss (bug #6889).
247    o Fix Winbind crash when retrieving empty group members (bug #7014).
248    o Fix "UID range full" error in Winbind (bug #6901).
249    o Fix multiple LDAP servers in "idmap backend" and "idmap alloc
250      backend" (bug #6910).
253 ######################################################################
254 Changes
255 #######
257 Changes since 3.4.3
258 -------------------
260 o   Michael Adam <obnox@samba.org>
261     * BUG 6851: Add pdbedit --kickoff-time/-K to set the user's kickoff time.
262     * BUG 6901: Fix "UID range full" error in Winbind.
263     * BUG 6910: Fix multiple LDAP servers in "idmap backend" and "idmap alloc
264       backend".
267 o   Jeremy Allison <jra@samba.org>
268     * BUG 6828: Fix infinite timeout when byte lock held outside of samba.
269     * BUG 6837: Fix "Too many open files" message when trying to access a large
270       number of files with Windows 7.
271     * BUG 6841: Fix "map acl inherit = yes".
272     * BUG 6867: Fix listing of directories with a lot of files.
273     * BUG 6875: Fix DOS attributes on OS/2 clients.
274     * BUG 6880: Fix listing of workgroup servers in libsmbclient.
275     * BUG 6898: Samba duplicates file content on appending.
276     * BUG 6939: Fix long filenames with "mangling method = hash".
277     * BUG 7005: Fix "mangle method = hash" truncates files with dot "."
278       character.
281 o   Kai Blin <kai@samba.org>
282     * BUG 4832: Fix iconv checks.
285 o   Günther Deschner <gd@samba.org>
286     * BUG 6697: Fix interdomain trust relationships with Win2008R2.
287     * BUG 6868: Support building with Heimdal we well as with MIT.
288     * BUG 6889: Fix Winbind crashes when queried from nss.
289     * BUG 6929: Fix build with recent heimdal.
290     * Fix the build of the winbind krb5 locator plugin.
291     * Fix enumprinter key client and server.
294 o   Volker Lendecke <vl@samba.org>
295     * BUG 6338: Do not always display "none" in 'net rpc trustdom list'.
296     * BUG 6850: Fix shadow copy display on Windows 7.
297     * BUG 6981: Fix paged search with DirX LDAP server.
298     * BUG 6982: Remove erroneous out of memory error path in lookup_sid.
299     * BUG 6997: Fix _samr_GetAliasMembership for results with 0 rids.
302 o   Jim McDonough <jmcd@samba.org>
303     * BUG 6967: Fix 'net ads join' with OU.
304     * BUG 7014: Fix Winbind crash when retrieving empty group members.
307 o   Andrew Tridgell <tridge@samba.org>
308     * BUG 6918: Fix krb5 build problem on Ubuntu karmic.
311 ######################################################################
312 Reporting bugs & Development Discussion
313 #######################################
315 Please discuss this release on the samba-technical mailing list or by
316 joining the #samba-technical IRC channel on irc.freenode.net.
318 If you do report problems then please try to send high quality
319 feedback. If you don't provide vital information to help us track down
320 the problem then you will probably be ignored.  All bug reports should
321 be filed under the Samba 3.4 product in the project's Bugzilla
322 database (https://bugzilla.samba.org/).
325 ======================================================================
326 == Our Code, Our Bugs, Our Responsibility.
327 == The Samba Team
328 ======================================================================
331 ----------------------------------------------------------------------
334                    =============================
335                    Release Notes for Samba 3.4.3
336                          October 29, 2009
337                    =============================
340 This is the latest stable release of Samba 3.4.
342 Major enhancements in Samba 3.4.3 include:
344    o Fix trust relationships to windows 2008 (2008 r2) (bug #6711).
345    o Fix file corruption using smbclient with NT4 server (bug #6606).
346    o Fix Windows 7 share access (which defaults to NTLMv2) (bug #6680).
349 ######################################################################
350 Changes
351 #######
353 Changes since 3.4.2
354 -------------------
357 o   Jeremy Allison <jra@samba.org>
358     * BUG 6529: Offline files conflict with Vista and Office 2003.
359     * BUG 6726: SIVAL should have been an SVAL.
360     * BUG 6769: Fix symlink unlink.
361     * BUG 6774: smbd crashes if "aio write behind" is set.
362     * BUG 6776: Fix core dump caused by running overlapping Byte Lock test.
363     * BUG 6781: Fix renaming subfolders in Explorer view.
364     * BUG 6793: Fix Winbind crash with "INTERNAL ERROR: Signal 6".
365     * BUG 6796: Deleting an event context on shutdown can cause smbd to crash.
366     * BUG 6828: Fix infinite timeout when byte lock held outside of Samba.
367     * BUG 6829: Fix displaying of multibyte characters in smbclient.
370 o   Günther Deschner <gd@samba.org>
371     * BUG 6711: Fix trust relationships to windows 2008 (2008 r2).
372     * BUG 6815: Fix Windows 2008 R2 SPNEGO negTokenTarg parsing failure.
375 o   Olaf Flebbe <o.flebbe@science-computing.de>
376     * BUG 6772: Allow outstanding_aio_calls to be decremented.
377     * BUG 6804: Fix hpux compiler issue.
378     * BUG 6805: Correctly handle aio_error() and errno.
381 o   Björn Jacke <bj@sernet.de>
382     * BUG 6704: Fix syntax error in avahi configure test.
383     * BUG 6728: BSD needs sys/sysctl.h included to build properly.
384     * BUG 6824: Fix avahi activation.
385     * QNX doesn't know uint - replace with uint_t.
388 o   Andrew Klosterman <andrew.klosterman+samba_bugzilla@gmail.com>
389     * BUG 6690: Fix wrong error check in profile.
392 o   Marc Aurele La France <tsi@ualberta.ca>
393     * BUG 6707: Fix an occasional segfault in config file parsing.
396 o   Jeff Layton <jlayton@redhat.com>
397     * BUG 6810: Add support for finding alternate credcaches to cifs.upcall.
400 o   Volker Lendecke <vl@samba.org>
401     * BUG 6606: Fix file corruption using smbclient with NT4 server.
402     * BUG 6703: Allow smbstatus as non-root.
403     * BUG 6731: Fix reading beyond the end of a named stream in xattr_streams.
404     * BUG 6765: Add a "hidden" parameter "share:fake_fscaps".
405     * BUG 6793: Fix segfault in winbindd_pam_auth.
406     * BUG 6797: Fix a memleak in libwbclient.
407     * BUG 6807: Fix a segfault in "net rpc trustdom list" for long domain names.
408     * Fix an uninitialized variable.
409     * Only ever handle one event after a select call.
412 o   Derrell Lipman <derrell.lipman@unwireduniverse.com>
413     * BUG 6532: Fix domain enumeration if master browser has space in name.
416 o   Stefan Metzmacher <metze@samba.org>
417     * BUG 6711: Fix trust relationships to windows 2008 (2008 r2).
420 o   Buchan Milne <bgmilne@mandriva.org>
421     * BUG 6791: Fix linking order in cifs.upcall.
424 o   Lars Müller <lars@samba.org>
425     * BUG 6710: Adjust regex to match variable names including underscores.
426     * Conditional install of the cifs.upcall man page.
429 o   Shirish Pargaonkar <shirishpargaonkar@gmail.com>
430     * BUG 4675: mount.cifs: Do not attempt to update /etc/mtab if it is
431       a symbolic link.
434 o   Karolin Seeger <kseeger@samba.org>
435     * Fix warning occuring when building the manpages.
438 o   Simo Sorce <ssorce@redhat.com>
439     * BUG 6764: Fix timeval calculation.
442 o   Bo Yang <boyang@samba.org>
443     * BUG 6735: Don't overwrite password in pam_winbind, subsequent pam modules
444       might use the old password and new password.
445     * BUG 6811: Fix reference to freed memory in pam_winbind.
446     * BUG 6826: Don't fail authentication when one or some group of
447       require-membership-of is invalid.
448     * BUG 6840: Fix crash in pam_winbind.
451 ######################################################################
452 Reporting bugs & Development Discussion
453 #######################################
455 Please discuss this release on the samba-technical mailing list or by
456 joining the #samba-technical IRC channel on irc.freenode.net.
458 If you do report problems then please try to send high quality
459 feedback. If you don't provide vital information to help us track down
460 the problem then you will probably be ignored.  All bug reports should
461 be filed under the Samba 3.4 product in the project's Bugzilla
462 database (https://bugzilla.samba.org/).
465 ======================================================================
466 == Our Code, Our Bugs, Our Responsibility.
467 == The Samba Team
468 ======================================================================
471 ----------------------------------------------------------------------
474                    =============================
475                    Release Notes for Samba 3.4.2
476                           October 1, 2009
477                    =============================
480 This is a security release in order to address CVE-2009-2813, CVE-2009-2948
481 and CVE-2009-2906.
483    o CVE-2009-2813:
484      In all versions of Samba later than 3.0.11, connecting to the home
485      share of a user will use the root of the filesystem
486      as the home directory if this user is misconfigured to have
487      an empty home directory in /etc/passwd.
489    o CVE-2009-2948:
490      If mount.cifs is installed as a setuid program, a user can pass it a
491      credential or password path to which he or she does not have access and
492      then use the --verbose option to view the first line of that file.
493      All known Samba versions are affected.
495    o CVE-2009-2906:
496      Specially crafted SMB requests on authenticated SMB connections can
497      send smbd into a 100% CPU loop, causing a DoS on the Samba server.
500 ######################################################################
501 Changes
502 #######
504 Changes since 3.4.1
505 -------------------
508 o   Jeremy Allison <jra@samba.org>
509     * BUG 6763: Fix for CVE-2009-2813.
510     * BUG 6768: Fix for CVE-2009-2906.
513 o   Jeff Layton <jlayton@redhat.com>
514     * Fix for CVE-2009-2948.
517 ######################################################################
518 Reporting bugs & Development Discussion
519 #######################################
521 Please discuss this release on the samba-technical mailing list or by
522 joining the #samba-technical IRC channel on irc.freenode.net.
524 If you do report problems then please try to send high quality
525 feedback. If you don't provide vital information to help us track down
526 the problem then you will probably be ignored.  All bug reports should
527 be filed under the Samba 3.4 product in the project's Bugzilla
528 database (https://bugzilla.samba.org/).
531 ======================================================================
532 == Our Code, Our Bugs, Our Responsibility.
533 == The Samba Team
534 ======================================================================
537 ----------------------------------------------------------------------
540                    =============================
541                    Release Notes for Samba 3.4.1
542                          September 9, 2009
543                    =============================
546 This is the latest stable release of Samba 3.4.
549 Major enhancements in Samba 3.4.1 include:
551    o Fix authentication on member servers without Winbind (bug #6650).
552    o Nautilus fails to copy files from an SMB share (bug #6649).
553    o Fix connections of Win98 clients (bug #6551).
554    o Fix interdomain trusts with Windows 2008 R2 DCs (bug #6697).
555    o Fix Winbind authentication issue (bug #6646).
558 ######################################################################
559 Changes
560 #######
562 Changes since 3.4.0
563 -------------------
566 o   Michael Adam <obnox@samba.org>
567     * BUG 6650: Fix authentication on member servers without Winbind.
570 o   Jeremy Allison <jra@samba.org>
571     * BUG 6437: Make open_udp_socket() IPv6 clean.
572     * BUG 6506: Smbd server doesn't set EAs when a file is overwritten in
573       NT_TRANSACT_CREATE.
574     * BUG 6551: Fix connections of Win98 clients.
575     * BUG 6564: SetPrinter fails (panics) as non root.
576     * BUG 6593: Correctly implement SMB_INFO_STANDARD setfileinfo.
577     * BUG 6649: Nautilus fails to copy files from an SMB share.
578     * BUG 6651: Fix smbd SIGSEGV when breaking oplocks.
579     * BUG 6673: Fix 'smbpasswd' with "unix password sync = yes".
582 o   Yannick Bergeron <burgergold@hotmail.com>
583     * Increase the max_grp value to 128 (AIX NGROUPS_MAX value) instead of 32 to
584       allow AIX to call sys_getgrouplist only once.
587 o   Günther Deschner <gd@samba.org>
588     * BUG 6568: Fix _spoolss_GetPrintProcessorDirectory() implementation.
589     * BUG 6607: Fix crash bug in spoolss_addprinterex_level_2.
590     * BUG 6680: Fix authentication failure from Windows 7 when domain joined.
591     * BUG 6697: Fix interdomain trusts with Windows 2008 R2 DCs.
594 o   Olaf Flebbe <flebbe@nix.science-computing.de>
595     * BUG 6655: Fix 'smbcontrol smbd ping'.
598 o   Björn Jacke <bj@sernet.de>
599     * BUG 6105: Make linking of rpcclient --as-needed safe.
602 o   Matt Kraai <mkraai@beckman.com>
603     * BUG 6630: Fix opening of sockets on QNX.
606 o   Robert LeBlanc <robert@leblancnet.us>
607     * BUG 6700: Use dns domain name when needing to guess server principal.
610 o   Volker Lendecke <vl@samba.org>
611     * BUG 5886: Fix password change propagation with ldapsam.
612     * BUG 6585: Fix unqualified "net join".
613     * BUG 6611: Fix a valgrind error in chain_reply.
614     * BUG 6646: Fix Winbind authentication issue.
615     * Fix linking on Solaris.
618 o   Stefan Metzmacher <metze@samba.org>
619     * BUG 6222: Default to DRSUAPI replication for net rpc vampire keytab.
620     * BUG 6532: Fix the build with external talloc.
621     * BUG 6538: Cancel all locks that are made before the first failure.
622     * BUG 6627: Raise the timeout for lsa_Lookup*() calls from 10 to 35 seconds.
623     * BUG 6651: Fix smbd SIGSEGV when breaking oplocks.
624     * BUG 6664: Fix truncation of the session key.
627 o   Tim Prouty <tprouty@samba.org>
628     * BUG 6620: Fix a bug in renames of directories.
631 o   Rusty Russell <rusty@rustcorp.com.au>
632     * BUG 6601: Avoid global fd limits.
635 o   SATOH Fumiyasu <fumiyas@osstech.co.jp>
636     * BUG 6496: MS-DFS cannot follow multibyte char link name in libsmbclient.
639 o   Simo Sorce <idra@samba.org>
640     * BUG 6693: Check we read off the complete event from inotify.
643 o   Peter Volkov <pva@gentoo.org>
644     * BUG 6105: Make linking of cifs.upcall --as-needed safe.
647 o   TAKEDA Yasuma <yasuma@osstech.co.jp>
648     * BUG 5879: Update LDAP schema for Netscape DS 5.
651 o   Bo Yang <boyang@samba.org>
652     * BUG 6560: Fix lookupname.
653     * BUG 6615: Fix browsing of DFS when using kerberos in libsmbclient.
654     * BUG 6688: Fix crash in 'net usershare list'.
657 ######################################################################
658 Reporting bugs & Development Discussion
659 #######################################
661 Please discuss this release on the samba-technical mailing list or by
662 joining the #samba-technical IRC channel on irc.freenode.net.
664 If you do report problems then please try to send high quality
665 feedback. If you don't provide vital information to help us track down
666 the problem then you will probably be ignored.  All bug reports should
667 be filed under the Samba 3.4 product in the project's Bugzilla
668 database (https://bugzilla.samba.org/).
671 ======================================================================
672 == Our Code, Our Bugs, Our Responsibility.
673 == The Samba Team
674 ======================================================================
676 ----------------------------------------------------------------------
678                    =============================
679                    Release Notes for Samba 3.4.0
680                            July 3, 2009
681                    =============================
684 This is the first stable release of Samba 3.4.
687 Major enhancements in Samba 3.4.0 include:
688 ------------------------------------------
690 Configuration changes:
691 o The default passdb backend has been changed to 'tdbsam'!
693 General changes:
694 o Samba4 and Samba3 sources are included in the tarball
696 Authentication Changes:
697 o Changed the way smbd handles untrusted domain names given during user
698   authentication.
700 Printing Changes:
701 o Various fixes including printer change notificiation for Samba spoolss
702   print servers.
704 Internal changes:
705 o The remaining hand-marshalled DCE/RPC services (ntsvcs, svcctl, eventlog
706   and spoolss) were replaced by autogenerated code based on PIDL.
707 o Samba3 and Samba4 do now share a common tevent library.
708 o The code has been cleaned up and the major basic interfaces are shared with
709   Samba4 now.
710 o An asynchronous API has been added.
713 Configuration changes
714 =====================
716 !!! ATTENTION !!!
717 The default passdb backend has been changed to 'tdbsam'! That breaks existing
718 setups using the 'smbpasswd' backend without explicit declaration! Please use
719 'passdb backend = smbpasswd' if you would like to stick to the 'smbpasswd'
720 backend or convert your smbpasswd entries using e.g. 'pdbedit -i smbpasswd -e
721 tdbsam'.
723 The 'tdbsam' backend is much more flexible concerning per user settings
724 like 'profile path' or 'home directory' and there are some commands which do not
725 work with the 'smbpasswd' backend at all.
728 General Changes
729 ===============
731 On the way towards a standalone Samba AD domain controller, Samba3 and Samba4
732 branches can be built as "merged" build. That's why Samba3 and Samba4 sources
733 are included in the tarball. The merged build is possible in Samba 3.4.0, but
734 disabled by default. To learn more about the merged build,
735 please see http://wiki.samba.org/index.php/Franky.
737 According to this one, there is no "source" directory included in the tarball at
738 all. Samba3 sources are located in "source3", Samba4 sources are located in
739 "source4". The libraries have been moved to the toplevel directory.
741 To build plain Samba3, please change to "source3" and start the build as usual.
742 To build Samba4 as well, please use the "--enable-merged-build" configure
743 option.
746 Authentication Changes
747 ======================
749 Previously, when Samba was a domain member and a client was connecting using an
750 untrusted domain name, such as BOGUS\user smbd would remap the untrusted
751 domain to the primary domain smbd was a member of and attempt authentication
752 using that DOMAIN\user name.  This differed from how a Windows member server
753 would behave.  Now, smbd will replace the BOGUS name with it's SAM name.  In
754 the case where smbd is acting as a PDC this will be DOMAIN\user.  In the case
755 where smbd is acting as a domain member server this will be WORKSTATION\user.
756 Thus, smbd will never assume that an incoming user name which is not qualified
757 with the same primary domain, is part of smbd's primary domain.
759 While this behavior matches Windows, it may break some workflows which depended
760 on smbd to always pass through bogus names to the DC for verification.  A new
761 parameter "map untrusted to domain" can be enabled to revert to the legacy
762 behavior.
765 Printing Changes
766 ================
768 The spoolss subsystem was replaced by autogenerated code based on PIDL. That fixes
769 several printing issues including printer change notificiation on Samba print
770 servers and will stabilize the printing functionality generally.
771 The support for spoolss printing with Windows Vista has been improved.
774 Internal Changes
775 ================
777 The remaining hand-marshalled DCE/RPC services (ntsvcs, svcctl, eventlog and
778 spoolss) were replaced by autogenerated code based on PIDL.
779 So Günther Deschner finally corrected one of the biggest mistakes in the
780 development of Samba: Hand-marshalled RPC stubs.
782 Thanks a lot! :-)
784 Samba3 and Samba4 do now share a common tevent library for fd and timer events.
786 The code has been cleaned up and Samba3 and Samba4 do share the major basic
787 interfaces now. That is why the libraries were moved to the toplevel directory.
788 That is one of the first steps to share code and minimize the gap between
789 these two versions.
791 An asynchronous API has been added.
794 ######################################################################
795 Changes
796 #######
798 smb.conf changes
799 ----------------
801    Parameter Name                      Description     Default
802    --------------                      -----------     -------
804    access based share enum             New             No
805    dedicated keytab file               New             ""
806    kerberos method                     New             default
807    map untrusted to domain             New             No
808    max open files                      Changed Default auto detected
809    passdb backend                      Changed Default tdbsam
810    perfcount module                    New             ""
811    use kerberos keytab                 Removed
814 New [sub]commands
815 -----------------
817    net eventlog                 Import/dump/export native win32 eventlog files.
818    net rpc service create       Create a new service.
819    net rpc service delete       Delete an existing service.
822 New configure options
823 ---------------------
825 --enable-external-libtalloc     Enable external talloc
826 --enable-merged-build           Build Samba 4 as well
827 --enable-gnutls                 Turn on gnutls support
828 --with-statedir=DIR             Where to put persistent state files
829 --with-cachedir=DIR             Where to put temporary cache files
830 --with-ncalprcdir=DIR           Where to put ncalrpc sockets
831 --with-selftest-shrdir=DIR      The share directory that make test will be run
832                                 against
833 --with-selftest-custom-conf=PATH
834                                 An optional custom smb.conf that is included in
835                                 the server smb.conf during make test
836 --with-wbclient                 Use external wbclient
837 --with-included-popt            Use bundled popt library, not from system
838 --with-libiconv=BASEDIR         Use libiconv in BASEDIR/lib and BASEDIR/include
839 --with-sqlite3                  SQLITE3 backend support
840 --with-pthreads                 Include pthreads
841 --with-setproctitle             Search for setproctitle support
844 Commit Highlights
845 =================
848 o   Steven Danneman <steven.danneman@isilon.com>
849     * Change the way smbd handles untrusted domain names given during user
850       authentication.
853 o   Guenther Deschner <gd@samba.org>
854     * Replace the hand-marshalled DCE/RPC services ntsvcs, svcctl, eventlog
855       and spoolss by autogenerated code based on PIDL.
856     * Fix several printing issues and improve support for printer change
857       notificiations.
858     * Add 'net eventlog'.
861 o   Volker Lendecke <vl@samba.org>
862     * Add asynchronous API.
865 o   Stefan Metzmacher <metze@samba.org>
866     * Make Samba3 and Samba4 share a tevent library.
869 o   Dan Sledz <dsledz@isilon.com>
870     * Add two new parameters to control how we verify kerberos tickets.
873 o   Danny Tylman <danny.tylman@insightix.com>
874     * Add 'net rpc service' subcommands 'create' and 'delete'.
877 o   Jelmer Vernooij <jelmer@samba.org>
878     * Make merged build possible.
879     * Move common libraries to the shared lib/ directory.
882 Changes since 3.4.0rc1
883 ----------------------
886 o    Jeremy Allison <jra@samba.org>
887      * BUG 6520: Fix time stamps when "unix extensions = yes".
890 o    Michael Adam <obnox@samba.org>
891      * BUG 6509: Use gid (not uid) cache in fetch_gid_from_cache().
892      * BUG 6521: Fix building tevent_ntstatus without config.h.
893      * BUG 6531: Fix pid file name.
896 o    Guenther Deschner <gd@samba.org>
897      * BUG 6512: Fix support for enumerating user forms.
900 o    Bjoern Jacke <bj@sernet.de>
901      * BUG 6497: Fix calling of 'test' in configure.
902      * BUG 6459: Fix build of pam_smbpass on some distributions.
905 o    Volker Lendecke <vl@samba.org>
906      * BUG 6431: Local groups from 3.0 setups no longer found.
907      * BUG 6498: Add workaround for MS KB932762.
910 o    David Markey <admin@dmarkey.com>
911      * BUG 6514: Improve error message in 'net' when smb.conf is not available.
914 o    Jim McDonough <jmcd@samba.org>
915      * BUG 6481: 'net ads leave' needs to try account deletion, NetUnjoinDomain
916        not.
919 o    Stefan Metzmacher <metze@samba.org>
920      * BUG 6526: Fix notifies in the share root directory.
923 o    Bo Yang <boyang@samba.org>
924      * BUG 6499: Fix building of pam_smbpass.
927 Changes since 3.4.0pre2
928 -----------------------
931 o   Jeremy Allison <jra@samba.org>
932     * BUG 6297: Owner of sticky directory cannot delete files created by
933       others.
934     * BUG 6476: Fix smbd-zombies in memory when using [x]inetd.
935     * BUG 6487: Add missing DFS call in trans2 mkdir call.
936     * BUG 6488: acl_group_override() call in posix acls references an
937       uninitialized variable.
940 o   Günther Deschner <gd@samba.org>
941     * BUG 4296: Clean up group membership while deleting a user.
942     * BUG 5456: Fix "net ads testjoin".
943     * BUG 6253: Use correct value for password expiry calculation in
944       pam_winbind.
945     * BUG 6305: Correctly prompt for a password when a username was given.
946     * BUG 6451: net/libnetapi user rename using wrong access bits.
947     * BUG 6458: Fix uninitialized variable in local_password_change().
948     * BUG 6465: Fix enumeration of empty aliases.
951 o   Volker Lendecke <vl@samba.org>
952     * BUG 4699: Remove pidfile on clean shutdown.
953     * BUG 6349: Initialize domain info struct.
954     * BUG 6449: 'net rap user add' crashes without -C option.
957 o   David Markey <admin@dmarkey.com>
958     * BUG 6328: Add support for multiple rights to
959       "net sam rights grant/revoke".
962 o   Andreas Schneider <mail@cynapses.org>
963     * Improve pam_winbind documentation.
966 o   Simo Sorce <idra@samba.org>
967     * BUG 6081: Make it possible to change machine account sids.
968     * BUG 6333: Consolidate create/delete account paths in pdbedit.
969     * BUG 6584: Allow DOM\user when changing passwords remotely.
972 o   Jelmer Vernooij <jelmer@samba.org>
973     * Remove outdated Debian package sources.
976 Changes since 3.4.0pre1
977 -----------------------
980 o   Jeremy Allison <jra@samba.org>
981     * BUG 6291: Fix 'force user'.
982     * BUG 6313: ldapsam_update_sam_account() crashes while doing talloc_free on
983       malloced memory.
984     * BUG 6315: Fix smbd crashes when doing vfs_full_audit on IPC$ close event.
985     * BUG 6330: Fix DFS on AIX.
986     * Fix a bunch of compiler warnings about wrong format types.
987     * Fix the core of the SAMR access functions.
988     * Fix SAMR server for winbindd access.
991 o   Michael Adam <obnox@samba.org>
992     * BUG 4271: testparm should not print includes.
993     * BUG 6292: Update config.guess from gnu.org.
994     * BUG 6320: Handle registry config source in file_list.
995     * BUG 6371: Unsuccessful 'net conf setparm' leaves empty share.
996     * BUG 6387: Fix a crash bug in idmap_ldap_unixids_to_sids.
997     * BUG 6415: Filter out of range mappings in default idmap config
998       (idmap_tdb).
999     * BUG 6416: Filter out of range mappings in default idmap config
1000       (idmap_tdb2).
1001     * BUG 6417: Filter out of range mappings in default idmap config
1002       (idmap_ldap).
1003     * Add dbwrap_tool - a tdb tool that is CTDB-aware.
1004     * Hide "config backend" from swat.
1005     * Fix linking with --disable-shared-libs.
1008 o   Steven Danneman <steven.danneman@isilon.com>
1009     * Fix issue with missing entries when enumerating directories.
1010     * Map NULL domains to our global sam name.
1013 o   Günther Deschner <gd@samba.org>
1014     * BUG 5859: Fix renaming of samr objects failed due to samr setuserinfo
1015       access checks.
1016     * BUG 6099: Fix NETLOGON credential chain.
1017     * BUG 6253: Use correct value for password expiry calculation.
1018     * BUG 6309: Support remote unjoining of Windows 2003 or greater.
1019     * BUG 6340: Don't segfault when cleartext trustdom pwd could not be
1020       retrieved.
1021     * BUG 6372: usermanager only displaying 1024 groups and aliases.
1022     * Fix driver upload for Xerox 4110 PS printer driver.
1023     * Add "net dom renamecomputer" to rename machines in a domain.
1024     * Inspect the correct computername string before enabling/disabling the
1025       change button in netdomjoin-gui.
1026     * Fix join prompt dialog test in netdomjoin-gui.
1027     * Only gray out labels when not root and not connecting to remote
1028       machines (netdomjoin-gui).
1029     * Allow to switch between workgroups/domains with the same name
1030       (netdomjoin-gui).
1031     * Add NetShutdownInit and NetShutdownAbort.
1032     * Fix samr access checks.
1033     * Add a security model to LSA.
1034     * Fix nss_wrapper build for Solaris.
1037 o   Geza Gemes <geza@kzsdabas.hu>
1038     * BUG 6136: New AFS syscall conventions.
1041 o   Ole Hansen <ole@redvw.com>
1042     * BUG 6359: smbclient -L does not list workgroup for hosts with both IPv4
1043       and IPv6 addresses
1046 o   Björn Jacke <bj@sernet.de>
1047     * Also handle DirX return codes.
1050 o   Steve Langasek <vorlon@debian.org>
1051     * BUG 4831: Don't call openlog() or closelog() from pam_smbpass.
1054 o   Volker Lendecke <vl@samba.org>
1055     * BUG 5681: Do not limit the number of network interfaces.
1056     * BUG 6157: Fix handling of multi-value attribute "uid".
1057     * BUG 6302: Give the VFS a chance to read from 0-byte files.
1058     * BUG 6336: Fix segfault in 'net groupmap set'.
1059     * BUG 6361: Make --rcfile work in smbget.
1060     * Do not crash in ctdbd_traverse if ctdbd is not around.
1061     * Fix Coverity ID 897.
1062     * Fix a race condition in vfs_aio_fork with gpfs share modes.
1063     * Fix bug disclosed by lock8 torture test.
1064     * Fix a race condition in winbind leading to a panic.
1065     * Attempt to fix a Debian build problem.
1068 o   Jim McDonough <jmcd@samba.org>
1069     * Detect tight loop in tdb_find().
1072 o   Stefan Metzmacher <metze@samba.org>
1073     * BUG 2346: Fix posix ACLs when setting an ACL without explicit ACE for the
1074       owner.
1077 o   Tim Prouty <tprouty@samba.org>
1078     * Fix chained sesssetupAndX/tconn messages.
1079     * Fix strict locking with chained reads.
1080     * Fix two bugs in sendfile.
1083 o   Slava Semushin <php-coder@altlinux.ru>
1084     * Fix memory leak.
1085     * Fix file descriptor leak.
1088 o   Aravind Srinivasan <aravind.srinivasan@isilon.com>
1089     * Fallback to the legacy sid_to_(uid|gid) instead of returning NULL.
1090     * Always allocate memory in dptr_ReadDirName.
1093 o   Kumar Thangavelu <Kumar.Thangavelu@riverbed.com>
1094     * Fix 'net' crash during domain join.
1097 o   Marc VanHeyningen <marc.vanheyningen@isilon.com>
1098     * Zero an uninitialized array.
1099     * Allow child processes to exit gracefully if we are out of fds.
1102 ######################################################################
1103 Reporting bugs & Development Discussion
1104 #######################################
1106 Please discuss this release on the samba-technical mailing list or by
1107 joining the #samba-technical IRC channel on irc.freenode.net.
1109 If you do report problems then please try to send high quality
1110 feedback. If you don't provide vital information to help us track down
1111 the problem then you will probably be ignored.  All bug reports should
1112 be filed under the Samba 3.4 product in the project's Bugzilla
1113 database (https://bugzilla.samba.org/).
1116 ======================================================================
1117 == Our Code, Our Bugs, Our Responsibility.
1118 == The Samba Team
1119 ======================================================================