s3-dns Don't use DELEG_FLAG in DNS update, Windows 2008R2 does not like it (cherry...
[samba.git] / WHATSNEW.txt
1                    ==============================
2                    Release Notes for Samba 3.4.10
3                           January 22, 2011
4                    ==============================
5
6
7 This is the latest stable release of Samba 3.4.
8
9 Major enhancements in Samba 3.4.10 include:
10
11
12
13 Changes since 3.4.9
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.4 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 versions follow:
41 ----------------------------------------
42
43                    =============================
44                    Release Notes for Samba 3.4.9
45                          September 14, 2010
46                    =============================
47
48
49 This is a security release in order to address CVE-2010-3069.
50
51
52 o  CVE-2010-3069:
53    All current released versions of Samba are vulnerable to
54    a buffer overrun vulnerability. The sid_parse() function
55    (and related dom_sid_parse() function in the source4 code)
56    do not correctly check their input lengths when reading a
57    binary representation of a Windows SID (Security ID). This
58    allows a malicious client to send a sid that can overflow
59    the stack variable that is being used to store the SID in the
60    Samba smbd server.
61
62
63 Changes since 3.4.8
64 -------------------
65
66
67 o   Jeremy Allison <jra@samba.org>
68     * BUG 7669: Fix for CVE-2010-3069.
69
70
71 o   Andrew Bartlett <abartlet@samba.org>
72     * BUG 7669: Fix for CVE-2010-3069.
73
74
75 ######################################################################
76 Reporting bugs & Development Discussion
77 #######################################
78
79 Please discuss this release on the samba-technical mailing list or by
80 joining the #samba-technical IRC channel on irc.freenode.net.
81
82 If you do report problems then please try to send high quality
83 feedback. If you don't provide vital information to help us track down
84 the problem then you will probably be ignored.  All bug reports should
85 be filed under the Samba 3.4 product in the project's Bugzilla
86 database (https://bugzilla.samba.org/).
87
88
89 ======================================================================
90 == Our Code, Our Bugs, Our Responsibility.
91 == The Samba Team
92 ======================================================================
93
94
95 ----------------------------------------------------------------------
96
97
98                    =============================
99                    Release Notes for Samba 3.4.8
100                            May 11, 2010
101                    =============================
102
103
104 This is the latest stable release of Samba 3.4.
105
106 Major enhancements in Samba 3.4.8 include:
107
108    o Fix Winbind reconnection to it's own domain (bug #7295).
109    o Fix an uninitialized variable read in smbd (bug #7254).
110    o Fix smbd crash with CUPS printers and no [printers] share defined
111      (bug #7297).
112    o Fix NULL pointer dereference in smbd (bug #7229).
113
114
115 Changes since 3.4.7
116 -------------------
117
118
119 o   Michael Adam <obnox@samba.org>
120     * BUG 7231: Fix automatic building of vfs_tsmsm if gpfs and dmapi are
121       present.
122
123
124 o   Jeremy Allison <jra@samba.org>
125     * BUG 7159: Fix handling of bad server data returns in client rpc_transport.
126     * BUG 7255: Fix "printer admin" functionality.
127     * BUG 7288: Fix SMB job IDs in CUPS job names.
128     * BUG 7297: Fix smbd crash with CUPS printers and no [printers] share
129       defined.
130     * BUG 7310: Fix DOS attribute inconsistency with MS Office.
131
132
133 o   Kai Blin <kai@samba.org>
134     * BUG 7290: Fix core dump in 'ntlm_auth'.
135
136
137 o   Günther Deschner <gd@samba.org>
138     * BUG 6727: Fix printing issues.
139     * BUG 7176: Fix incorrect format of device mode strings.
140     * BUG 7256: Fix value-needed calculation in_spoolss_EnumPrinterData().
141     * BUG 7277: Fix exporting printers via 'cupsaddsmb' command.
142
143
144 o   Björn Jacke <bj@sernet.de>
145     * BUG 7352: Fix different definitions of TIME_T_MAX.
146
147
148 o   Michael Karcher <samba@mkarcher.dialup.fu-berlin.de>
149     * BUG 7269: Fix job management commands for CUPS queues.
150
151
152 o   Jeff Layton <jlayton@redhat.com>
153     * BUG 6853: Fix race condition in mount.cifs that allows user to replace
154       mountpoint with a symlink.
155
156
157 o   Volker Lendecke <vl@samba.org>
158     * BUG 5198: Fix parsing of the gecos field.
159     * BUG 5626: Fix build on AIX.
160     * BUG 7229: Fix NULL pointer dereference in smbd.
161     * BUG 7254: Fix an uninitialized variable read in smbd found by Laurent
162       Gaffié from Stratsec.
163     * BUG 7326: Fix writing with vfs_full_audit.
164
165
166 o   Derrell Lipman <derrell@dworkin.(none)>
167     * BUG 7345: Fix incomplete description of function return values in
168       libsmbclient.h.
169
170
171 o   Jim McDonough <jmcd@samba.org>
172     * BUG 7378:  Display an error on 'net conf import' failures.
173
174
175 o   Roel van Meer <rolek@alt001.com>
176     * BUG 6814: Fix valgrind warning.
177
178
179 o   Stefan Metzmacher <metze@samba.org>
180     * BUG 7159: Fix handling of bad server data returns in client rpc_transport.
181     * BUG 7170: Never mark external domains as internal.
182     * BUG 7295: Fix Winbind reconnection to it's own domain.
183     * BUG 7316: Make sure we don't try rpc requests against unaccessable
184       domains.
185     * BUG 7317: Fix problems with SIGCHLD handling in Winbind.
186
187
188 o   SATOH Fumiyasu <fumiyas@osstech.co.jp>
189     * BUG 1206: Fix segfault in vfs_netatalk.
190
191
192 o   Bo Yang <boyang@samba.org>
193     * BUG 7206: Fix duplicate signal handler.
194
195
196 ######################################################################
197 Reporting bugs & Development Discussion
198 #######################################
199
200 Please discuss this release on the samba-technical mailing list or by
201 joining the #samba-technical IRC channel on irc.freenode.net.
202
203 If you do report problems then please try to send high quality
204 feedback. If you don't provide vital information to help us track down
205 the problem then you will probably be ignored.  All bug reports should
206 be filed under the Samba 3.4 product in the project's Bugzilla
207 database (https://bugzilla.samba.org/).
208
209
210 ======================================================================
211 == Our Code, Our Bugs, Our Responsibility.
212 == The Samba Team
213 ======================================================================
214
215
216 ----------------------------------------------------------------------
217
218
219                    =============================
220                    Release Notes for Samba 3.4.7
221                             March 8, 2010
222                    =============================
223
224
225 This is a security release in order to address CVE-2010-0728.
226
227
228 o  CVE-2010-0728:
229    In Samba releases 3.5.0, 3.4.6 and 3.3.11, new code
230    was added to fix a problem with Linux asynchronous IO handling.
231    This code introduced a bad security flaw on Linux platforms if the
232    binaries were built on Linux platforms with libcap support.
233    The flaw caused all smbd processes to inherit CAP_DAC_OVERRIDE
234    capabilities, allowing all file system access to be allowed
235    even when permissions should have denied access.
236
237
238 Changes since 3.4.6
239 -------------------
240
241
242 o   Jeremy Allison <jra@samba.org>
243     * BUG 7222: Fix for CVE-2010-0728.
244
245
246 ######################################################################
247 Reporting bugs & Development Discussion
248 #######################################
249
250 Please discuss this release on the samba-technical mailing list or by
251 joining the #samba-technical IRC channel on irc.freenode.net.
252
253 If you do report problems then please try to send high quality
254 feedback. If you don't provide vital information to help us track down
255 the problem then you will probably be ignored.  All bug reports should
256 be filed under the Samba 3.4 product in the project's Bugzilla
257 database (https://bugzilla.samba.org/).
258
259
260 ======================================================================
261 == Our Code, Our Bugs, Our Responsibility.
262 == The Samba Team
263 ======================================================================
264
265
266 ----------------------------------------------------------------------
267
268
269                    =============================
270                    Release Notes for Samba 3.4.6
271                          February 24, 2010
272                    =============================
273
274
275 This is the latest stable release of Samba 3.4.
276
277 Major enhancements in Samba 3.4.6 include:
278
279    o "wide links" and "unix extensions" are incompatible (bug #7104).
280    o Fix printing with 64 bit clients (bug #6888).
281    o Fix core dump on Ubuntu 8.04 64 bit (bug #7063).
282    o Fix failing of smbd to respond to a read or a write caused by
283      Linux asynchronous IO (aio) (bug #7067).
284    o Fix string buffer overflow causing heap corruption in smbd (bug #7096).
285
286
287 ######################################################################
288 Changes
289 #######
290
291 Changes since 3.4.5
292 -------------------
293
294
295 o   Michael Adam <obnox@samba.org>
296     * Make idmap cache persistent for "ldapsam:trusted".
297     * Also fill the memcache with sid<->id mappings in ldapsam_sid_to_id() not
298       only the persistent idmap cache.
299     * Shortcut uid_to_sid when "ldapsam:trusted = yes".
300
301
302 o   Jeremy Allison <jra@samba.org>
303     * BUG 6557: Fix vfs_full_audit.
304     * BUG 7063: Fix core dump on Ubuntu 8.04 64 bit.
305     * BUG 7067: Fix failing of smbd to respond to a read or a write caused by
306       Linux asynchronous IO (aio).
307     * BUG 7072: Fix unlocking of accounts from ldap.
308     * BUG 7081: Fix vfs_expand_msdfs.
309     * BUG 7104: "wide links" and "unix extensions" are incompatible.
310     * BUG 7122: Fix reading of large browselist.
311     * BUG 7154: "mangling method = hash" can crash storing a name containing a '.'.
312     * BUG 7155: Valgrind Conditional jump or move depends on uninitialised
313       value(s) error when "mangling method = hash".
314
315
316 o   Steven Danneman <steven.danneman@isilon.com>
317     * BUG 7096: Fix string buffer overflow causing heap corruption in smbd.
318
319
320 o   Günther Deschner <gd@samba.org>
321     * BUG 6888: Fix printing with 64 bit clients.
322     * BUG 7130: Fix listing of printjobs in Windows 7.
323     * BUG 7136: Spoolss getprinterdriver2 level 101 marshalling is bad.
324
325
326 o   William Jojo <w.jojo@hvcc.edu>
327     * BUG 7052: Fix DFS on AIX (maybe others).
328
329
330 o   Jeff Layton <jlayton@redhat.com>
331     * BUG 6868: Fix crash bug in 'cifs.upcall'.
332
333
334 o   Volker Lendecke <vl@samba.org>
335     * BUG 5885: Fix bogus ip address in SWAT.
336     * BUG 6981: Fix large paged search with DirX LDAP servers.
337     * BUG 7068: Fix pdb_search crash as non-root user.
338     * Make pdb_copy_sam_account also copy the group sid.
339
340
341 o   Stefan Metzmacher <metze@samba.org>
342     * BUG 6157: Use the first "uid" value.
343     * BUG 6888: Fix printing with 64 bit clients.
344     * BUG 7098: Fix results of 'smbclient -L' with a large browse list.
345     * Shortcut gid_to_sid when "ldapsam:trusted = yes".
346     * Speed up pdb_get_group_sid().
347     * Try to build the full unix_pw structure with ldapsam:trusted support.
348     * Optimize ldapsam_alias_memberships() and cache ldap searches.
349
350
351 o   Lars Müller <lars@samba.org>
352     * BUG 7047: Add cross option to samba_cv_linux_getgrouplist_ok.
353     * BUG 7102: Normalize "Changing password for" msg IDs and STRs.
354
355
356 o   Bo Yang <boyang@samba.org>
357     * BUG 7106: Fix malformed require_membership_of_sid.
358
359
360 ######################################################################
361 Reporting bugs & Development Discussion
362 #######################################
363
364 Please discuss this release on the samba-technical mailing list or by
365 joining the #samba-technical IRC channel on irc.freenode.net.
366
367 If you do report problems then please try to send high quality
368 feedback. If you don't provide vital information to help us track down
369 the problem then you will probably be ignored.  All bug reports should
370 be filed under the Samba 3.4 product in the project's Bugzilla
371 database (https://bugzilla.samba.org/).
372
373
374 ======================================================================
375 == Our Code, Our Bugs, Our Responsibility.
376 == The Samba Team
377 ======================================================================
378
379
380 ----------------------------------------------------------------------
381
382
383                    =============================
384                    Release Notes for Samba 3.4.5
385                          January 19, 2010
386                    =============================
387
388
389 This is the latest stable release of Samba 3.4.
390
391 Major enhancements in Samba 3.4.5 include:
392
393    o Fix memory in leak in smbd (bug #7020).
394    o Fix changing of ACLs on writable files with "dos filemode=yes" (bug #5202).
395
396
397 ######################################################################
398 Changes
399 #######
400
401 Changes since 3.4.4
402 -------------------
403
404
405 o   Jeremy Allison <jra@samba.org>
406     * BUG 5202: Fix changing of ACLs on writable files with "dos filemode=yes".
407     * BUG 7020: Fix memory leak in smbd.
408     * BUG 7036: Fix 'net rpc getsid' in hardened Windows environments.
409     * BUG 7045: Fix bad (non memory copying) interfaces in smbc_setXXXX calls.
410
411
412 o   Günther Deschner <gd@samba.org>
413     * BUG 7043: Fix crash bug in "SMBC_parse_path".
414
415
416 o   Volker Lendecke <vl@samba.org>
417     * BUG 7046: Fix a crash in libsmbclient used against the OpenSolaris CIFS
418       server.
419
420
421 o   Stefan Metzmacher <metze@samba.org>
422     * BUG 6642: Fix opening the quota magic file.
423     * BUG 6919: Fix remote quota management.
424
425
426 o   SASAJIMA Toshihiro <sasajima_t@jp.fujitsu.com>
427     * BUG 7034: Fix internal error caused by vfs_cap.
428
429
430 ######################################################################
431 Reporting bugs & Development Discussion
432 #######################################
433
434 Please discuss this release on the samba-technical mailing list or by
435 joining the #samba-technical IRC channel on irc.freenode.net.
436
437 If you do report problems then please try to send high quality
438 feedback. If you don't provide vital information to help us track down
439 the problem then you will probably be ignored.  All bug reports should
440 be filed under the Samba 3.4 product in the project's Bugzilla
441 database (https://bugzilla.samba.org/).
442
443
444 ======================================================================
445 == Our Code, Our Bugs, Our Responsibility.
446 == The Samba Team
447 ======================================================================
448
449
450 ----------------------------------------------------------------------
451
452
453                    =============================
454                    Release Notes for Samba 3.4.4
455                          January 7, 2009
456                    =============================
457
458
459 This is the latest stable release of Samba 3.4.
460
461 Major enhancements in Samba 3.4.4 include:
462
463    o Fix interdomain trust relationships with Win2008R2 (bug #6697).
464    o Fix Winbind crashes when queried from nss (bug #6889).
465    o Fix Winbind crash when retrieving empty group members (bug #7014).
466    o Fix "UID range full" error in Winbind (bug #6901).
467    o Fix multiple LDAP servers in "idmap backend" and "idmap alloc
468      backend" (bug #6910).
469
470
471 ######################################################################
472 Changes
473 #######
474
475 Changes since 3.4.3
476 -------------------
477
478 o   Michael Adam <obnox@samba.org>
479     * BUG 6851: Add pdbedit --kickoff-time/-K to set the user's kickoff time.
480     * BUG 6901: Fix "UID range full" error in Winbind.
481     * BUG 6910: Fix multiple LDAP servers in "idmap backend" and "idmap alloc
482       backend".
483
484
485 o   Jeremy Allison <jra@samba.org>
486     * BUG 6828: Fix infinite timeout when byte lock held outside of samba.
487     * BUG 6837: Fix "Too many open files" message when trying to access a large
488       number of files with Windows 7.
489     * BUG 6841: Fix "map acl inherit = yes".
490     * BUG 6867: Fix listing of directories with a lot of files.
491     * BUG 6875: Fix DOS attributes on OS/2 clients.
492     * BUG 6880: Fix listing of workgroup servers in libsmbclient.
493     * BUG 6898: Samba duplicates file content on appending.
494     * BUG 6939: Fix long filenames with "mangling method = hash".
495     * BUG 7005: Fix "mangle method = hash" truncates files with dot "."
496       character.
497
498
499 o   Kai Blin <kai@samba.org>
500     * BUG 4832: Fix iconv checks.
501
502
503 o   Günther Deschner <gd@samba.org>
504     * BUG 6697: Fix interdomain trust relationships with Win2008R2.
505     * BUG 6868: Support building with Heimdal we well as with MIT.
506     * BUG 6889: Fix Winbind crashes when queried from nss.
507     * BUG 6929: Fix build with recent heimdal.
508     * Fix the build of the winbind krb5 locator plugin.
509     * Fix enumprinter key client and server.
510
511
512 o   Volker Lendecke <vl@samba.org>
513     * BUG 6338: Do not always display "none" in 'net rpc trustdom list'.
514     * BUG 6850: Fix shadow copy display on Windows 7.
515     * BUG 6981: Fix paged search with DirX LDAP server.
516     * BUG 6982: Remove erroneous out of memory error path in lookup_sid.
517     * BUG 6997: Fix _samr_GetAliasMembership for results with 0 rids.
518
519
520 o   Jim McDonough <jmcd@samba.org>
521     * BUG 6967: Fix 'net ads join' with OU.
522     * BUG 7014: Fix Winbind crash when retrieving empty group members.
523
524
525 o   Andrew Tridgell <tridge@samba.org>
526     * BUG 6918: Fix krb5 build problem on Ubuntu karmic.
527
528
529 ######################################################################
530 Reporting bugs & Development Discussion
531 #######################################
532
533 Please discuss this release on the samba-technical mailing list or by
534 joining the #samba-technical IRC channel on irc.freenode.net.
535
536 If you do report problems then please try to send high quality
537 feedback. If you don't provide vital information to help us track down
538 the problem then you will probably be ignored.  All bug reports should
539 be filed under the Samba 3.4 product in the project's Bugzilla
540 database (https://bugzilla.samba.org/).
541
542
543 ======================================================================
544 == Our Code, Our Bugs, Our Responsibility.
545 == The Samba Team
546 ======================================================================
547
548
549 ----------------------------------------------------------------------
550
551
552                    =============================
553                    Release Notes for Samba 3.4.3
554                          October 29, 2009
555                    =============================
556
557
558 This is the latest stable release of Samba 3.4.
559
560 Major enhancements in Samba 3.4.3 include:
561
562    o Fix trust relationships to windows 2008 (2008 r2) (bug #6711).
563    o Fix file corruption using smbclient with NT4 server (bug #6606).
564    o Fix Windows 7 share access (which defaults to NTLMv2) (bug #6680).
565
566
567 ######################################################################
568 Changes
569 #######
570
571 Changes since 3.4.2
572 -------------------
573
574
575 o   Jeremy Allison <jra@samba.org>
576     * BUG 6529: Offline files conflict with Vista and Office 2003.
577     * BUG 6726: SIVAL should have been an SVAL.
578     * BUG 6769: Fix symlink unlink.
579     * BUG 6774: smbd crashes if "aio write behind" is set.
580     * BUG 6776: Fix core dump caused by running overlapping Byte Lock test.
581     * BUG 6781: Fix renaming subfolders in Explorer view.
582     * BUG 6793: Fix Winbind crash with "INTERNAL ERROR: Signal 6".
583     * BUG 6796: Deleting an event context on shutdown can cause smbd to crash.
584     * BUG 6828: Fix infinite timeout when byte lock held outside of Samba.
585     * BUG 6829: Fix displaying of multibyte characters in smbclient.
586
587
588 o   Günther Deschner <gd@samba.org>
589     * BUG 6711: Fix trust relationships to windows 2008 (2008 r2).
590     * BUG 6815: Fix Windows 2008 R2 SPNEGO negTokenTarg parsing failure.
591
592
593 o   Olaf Flebbe <o.flebbe@science-computing.de>
594     * BUG 6772: Allow outstanding_aio_calls to be decremented.
595     * BUG 6804: Fix hpux compiler issue.
596     * BUG 6805: Correctly handle aio_error() and errno.
597
598
599 o   Björn Jacke <bj@sernet.de>
600     * BUG 6704: Fix syntax error in avahi configure test.
601     * BUG 6728: BSD needs sys/sysctl.h included to build properly.
602     * BUG 6824: Fix avahi activation.
603     * QNX doesn't know uint - replace with uint_t.
604
605
606 o   Andrew Klosterman <andrew.klosterman+samba_bugzilla@gmail.com>
607     * BUG 6690: Fix wrong error check in profile.
608
609
610 o   Marc Aurele La France <tsi@ualberta.ca>
611     * BUG 6707: Fix an occasional segfault in config file parsing.
612
613
614 o   Jeff Layton <jlayton@redhat.com>
615     * BUG 6810: Add support for finding alternate credcaches to cifs.upcall.
616
617
618 o   Volker Lendecke <vl@samba.org>
619     * BUG 6606: Fix file corruption using smbclient with NT4 server.
620     * BUG 6703: Allow smbstatus as non-root.
621     * BUG 6731: Fix reading beyond the end of a named stream in xattr_streams.
622     * BUG 6765: Add a "hidden" parameter "share:fake_fscaps".
623     * BUG 6793: Fix segfault in winbindd_pam_auth.
624     * BUG 6797: Fix a memleak in libwbclient.
625     * BUG 6807: Fix a segfault in "net rpc trustdom list" for long domain names.
626     * Fix an uninitialized variable.
627     * Only ever handle one event after a select call.
628
629
630 o   Derrell Lipman <derrell.lipman@unwireduniverse.com>
631     * BUG 6532: Fix domain enumeration if master browser has space in name.
632
633
634 o   Stefan Metzmacher <metze@samba.org>
635     * BUG 6711: Fix trust relationships to windows 2008 (2008 r2).
636
637
638 o   Buchan Milne <bgmilne@mandriva.org>
639     * BUG 6791: Fix linking order in cifs.upcall.
640
641
642 o   Lars Müller <lars@samba.org>
643     * BUG 6710: Adjust regex to match variable names including underscores.
644     * Conditional install of the cifs.upcall man page.
645
646
647 o   Shirish Pargaonkar <shirishpargaonkar@gmail.com>
648     * BUG 4675: mount.cifs: Do not attempt to update /etc/mtab if it is
649       a symbolic link.
650
651
652 o   Karolin Seeger <kseeger@samba.org>
653     * Fix warning occuring when building the manpages.
654
655
656 o   Simo Sorce <ssorce@redhat.com>
657     * BUG 6764: Fix timeval calculation.
658
659
660 o   Bo Yang <boyang@samba.org>
661     * BUG 6735: Don't overwrite password in pam_winbind, subsequent pam modules
662       might use the old password and new password.
663     * BUG 6811: Fix reference to freed memory in pam_winbind.
664     * BUG 6826: Don't fail authentication when one or some group of
665       require-membership-of is invalid.
666     * BUG 6840: Fix crash in pam_winbind.
667
668
669 ######################################################################
670 Reporting bugs & Development Discussion
671 #######################################
672
673 Please discuss this release on the samba-technical mailing list or by
674 joining the #samba-technical IRC channel on irc.freenode.net.
675
676 If you do report problems then please try to send high quality
677 feedback. If you don't provide vital information to help us track down
678 the problem then you will probably be ignored.  All bug reports should
679 be filed under the Samba 3.4 product in the project's Bugzilla
680 database (https://bugzilla.samba.org/).
681
682
683 ======================================================================
684 == Our Code, Our Bugs, Our Responsibility.
685 == The Samba Team
686 ======================================================================
687
688
689 ----------------------------------------------------------------------
690
691
692                    =============================
693                    Release Notes for Samba 3.4.2
694                           October 1, 2009
695                    =============================
696
697
698 This is a security release in order to address CVE-2009-2813, CVE-2009-2948
699 and CVE-2009-2906.
700
701    o CVE-2009-2813:
702      In all versions of Samba later than 3.0.11, connecting to the home
703      share of a user will use the root of the filesystem
704      as the home directory if this user is misconfigured to have
705      an empty home directory in /etc/passwd.
706
707    o CVE-2009-2948:
708      If mount.cifs is installed as a setuid program, a user can pass it a
709      credential or password path to which he or she does not have access and
710      then use the --verbose option to view the first line of that file.
711      All known Samba versions are affected.
712
713    o CVE-2009-2906:
714      Specially crafted SMB requests on authenticated SMB connections can
715      send smbd into a 100% CPU loop, causing a DoS on the Samba server.
716
717
718 ######################################################################
719 Changes
720 #######
721
722 Changes since 3.4.1
723 -------------------
724
725
726 o   Jeremy Allison <jra@samba.org>
727     * BUG 6763: Fix for CVE-2009-2813.
728     * BUG 6768: Fix for CVE-2009-2906.
729
730
731 o   Jeff Layton <jlayton@redhat.com>
732     * Fix for CVE-2009-2948.
733
734
735 ######################################################################
736 Reporting bugs & Development Discussion
737 #######################################
738
739 Please discuss this release on the samba-technical mailing list or by
740 joining the #samba-technical IRC channel on irc.freenode.net.
741
742 If you do report problems then please try to send high quality
743 feedback. If you don't provide vital information to help us track down
744 the problem then you will probably be ignored.  All bug reports should
745 be filed under the Samba 3.4 product in the project's Bugzilla
746 database (https://bugzilla.samba.org/).
747
748
749 ======================================================================
750 == Our Code, Our Bugs, Our Responsibility.
751 == The Samba Team
752 ======================================================================
753
754
755 ----------------------------------------------------------------------
756
757
758                    =============================
759                    Release Notes for Samba 3.4.1
760                          September 9, 2009
761                    =============================
762
763
764 This is the latest stable release of Samba 3.4.
765
766
767 Major enhancements in Samba 3.4.1 include:
768
769    o Fix authentication on member servers without Winbind (bug #6650).
770    o Nautilus fails to copy files from an SMB share (bug #6649).
771    o Fix connections of Win98 clients (bug #6551).
772    o Fix interdomain trusts with Windows 2008 R2 DCs (bug #6697).
773    o Fix Winbind authentication issue (bug #6646).
774
775
776 ######################################################################
777 Changes
778 #######
779
780 Changes since 3.4.0
781 -------------------
782
783
784 o   Michael Adam <obnox@samba.org>
785     * BUG 6650: Fix authentication on member servers without Winbind.
786
787
788 o   Jeremy Allison <jra@samba.org>
789     * BUG 6437: Make open_udp_socket() IPv6 clean.
790     * BUG 6506: Smbd server doesn't set EAs when a file is overwritten in
791       NT_TRANSACT_CREATE.
792     * BUG 6551: Fix connections of Win98 clients.
793     * BUG 6564: SetPrinter fails (panics) as non root.
794     * BUG 6593: Correctly implement SMB_INFO_STANDARD setfileinfo.
795     * BUG 6649: Nautilus fails to copy files from an SMB share.
796     * BUG 6651: Fix smbd SIGSEGV when breaking oplocks.
797     * BUG 6673: Fix 'smbpasswd' with "unix password sync = yes".
798
799
800 o   Yannick Bergeron <burgergold@hotmail.com>
801     * Increase the max_grp value to 128 (AIX NGROUPS_MAX value) instead of 32 to
802       allow AIX to call sys_getgrouplist only once.
803
804
805 o   Günther Deschner <gd@samba.org>
806     * BUG 6568: Fix _spoolss_GetPrintProcessorDirectory() implementation.
807     * BUG 6607: Fix crash bug in spoolss_addprinterex_level_2.
808     * BUG 6680: Fix authentication failure from Windows 7 when domain joined.
809     * BUG 6697: Fix interdomain trusts with Windows 2008 R2 DCs.
810
811
812 o   Olaf Flebbe <flebbe@nix.science-computing.de>
813     * BUG 6655: Fix 'smbcontrol smbd ping'.
814
815
816 o   Björn Jacke <bj@sernet.de>
817     * BUG 6105: Make linking of rpcclient --as-needed safe.
818
819
820 o   Matt Kraai <mkraai@beckman.com>
821     * BUG 6630: Fix opening of sockets on QNX.
822
823
824 o   Robert LeBlanc <robert@leblancnet.us>
825     * BUG 6700: Use dns domain name when needing to guess server principal.
826
827
828 o   Volker Lendecke <vl@samba.org>
829     * BUG 5886: Fix password change propagation with ldapsam.
830     * BUG 6585: Fix unqualified "net join".
831     * BUG 6611: Fix a valgrind error in chain_reply.
832     * BUG 6646: Fix Winbind authentication issue.
833     * Fix linking on Solaris.
834
835
836 o   Stefan Metzmacher <metze@samba.org>
837     * BUG 6222: Default to DRSUAPI replication for net rpc vampire keytab.
838     * BUG 6532: Fix the build with external talloc.
839     * BUG 6538: Cancel all locks that are made before the first failure.
840     * BUG 6627: Raise the timeout for lsa_Lookup*() calls from 10 to 35 seconds.
841     * BUG 6651: Fix smbd SIGSEGV when breaking oplocks.
842     * BUG 6664: Fix truncation of the session key.
843
844
845 o   Tim Prouty <tprouty@samba.org>
846     * BUG 6620: Fix a bug in renames of directories.
847
848
849 o   Rusty Russell <rusty@rustcorp.com.au>
850     * BUG 6601: Avoid global fd limits.
851
852
853 o   SATOH Fumiyasu <fumiyas@osstech.co.jp>
854     * BUG 6496: MS-DFS cannot follow multibyte char link name in libsmbclient.
855
856
857 o   Simo Sorce <idra@samba.org>
858     * BUG 6693: Check we read off the complete event from inotify.
859
860
861 o   Peter Volkov <pva@gentoo.org>
862     * BUG 6105: Make linking of cifs.upcall --as-needed safe.
863
864
865 o   TAKEDA Yasuma <yasuma@osstech.co.jp>
866     * BUG 5879: Update LDAP schema for Netscape DS 5.
867
868
869 o   Bo Yang <boyang@samba.org>
870     * BUG 6560: Fix lookupname.
871     * BUG 6615: Fix browsing of DFS when using kerberos in libsmbclient.
872     * BUG 6688: Fix crash in 'net usershare list'.
873
874
875 ######################################################################
876 Reporting bugs & Development Discussion
877 #######################################
878
879 Please discuss this release on the samba-technical mailing list or by
880 joining the #samba-technical IRC channel on irc.freenode.net.
881
882 If you do report problems then please try to send high quality
883 feedback. If you don't provide vital information to help us track down
884 the problem then you will probably be ignored.  All bug reports should
885 be filed under the Samba 3.4 product in the project's Bugzilla
886 database (https://bugzilla.samba.org/).
887
888
889 ======================================================================
890 == Our Code, Our Bugs, Our Responsibility.
891 == The Samba Team
892 ======================================================================
893
894 ----------------------------------------------------------------------
895
896                    =============================
897                    Release Notes for Samba 3.4.0
898                            July 3, 2009
899                    =============================
900
901
902 This is the first stable release of Samba 3.4.
903
904
905 Major enhancements in Samba 3.4.0 include:
906 ------------------------------------------
907
908 Configuration changes:
909 o The default passdb backend has been changed to 'tdbsam'!
910
911 General changes:
912 o Samba4 and Samba3 sources are included in the tarball
913
914 Authentication Changes:
915 o Changed the way smbd handles untrusted domain names given during user
916   authentication.
917
918 Printing Changes:
919 o Various fixes including printer change notificiation for Samba spoolss
920   print servers.
921
922 Internal changes:
923 o The remaining hand-marshalled DCE/RPC services (ntsvcs, svcctl, eventlog
924   and spoolss) were replaced by autogenerated code based on PIDL.
925 o Samba3 and Samba4 do now share a common tevent library.
926 o The code has been cleaned up and the major basic interfaces are shared with
927   Samba4 now.
928 o An asynchronous API has been added.
929
930
931 Configuration changes
932 =====================
933
934 !!! ATTENTION !!!
935 The default passdb backend has been changed to 'tdbsam'! That breaks existing
936 setups using the 'smbpasswd' backend without explicit declaration! Please use
937 'passdb backend = smbpasswd' if you would like to stick to the 'smbpasswd'
938 backend or convert your smbpasswd entries using e.g. 'pdbedit -i smbpasswd -e
939 tdbsam'.
940
941 The 'tdbsam' backend is much more flexible concerning per user settings
942 like 'profile path' or 'home directory' and there are some commands which do not
943 work with the 'smbpasswd' backend at all.
944
945
946 General Changes
947 ===============
948
949 On the way towards a standalone Samba AD domain controller, Samba3 and Samba4
950 branches can be built as "merged" build. That's why Samba3 and Samba4 sources
951 are included in the tarball. The merged build is possible in Samba 3.4.0, but
952 disabled by default. To learn more about the merged build,
953 please see http://wiki.samba.org/index.php/Franky.
954
955 According to this one, there is no "source" directory included in the tarball at
956 all. Samba3 sources are located in "source3", Samba4 sources are located in
957 "source4". The libraries have been moved to the toplevel directory.
958
959 To build plain Samba3, please change to "source3" and start the build as usual.
960 To build Samba4 as well, please use the "--enable-merged-build" configure
961 option.
962
963
964 Authentication Changes
965 ======================
966
967 Previously, when Samba was a domain member and a client was connecting using an
968 untrusted domain name, such as BOGUS\user smbd would remap the untrusted
969 domain to the primary domain smbd was a member of and attempt authentication
970 using that DOMAIN\user name.  This differed from how a Windows member server
971 would behave.  Now, smbd will replace the BOGUS name with it's SAM name.  In
972 the case where smbd is acting as a PDC this will be DOMAIN\user.  In the case
973 where smbd is acting as a domain member server this will be WORKSTATION\user.
974 Thus, smbd will never assume that an incoming user name which is not qualified
975 with the same primary domain, is part of smbd's primary domain.
976
977 While this behavior matches Windows, it may break some workflows which depended
978 on smbd to always pass through bogus names to the DC for verification.  A new
979 parameter "map untrusted to domain" can be enabled to revert to the legacy
980 behavior.
981
982
983 Printing Changes
984 ================
985
986 The spoolss subsystem was replaced by autogenerated code based on PIDL. That fixes
987 several printing issues including printer change notificiation on Samba print
988 servers and will stabilize the printing functionality generally.
989 The support for spoolss printing with Windows Vista has been improved.
990
991
992 Internal Changes
993 ================
994
995 The remaining hand-marshalled DCE/RPC services (ntsvcs, svcctl, eventlog and
996 spoolss) were replaced by autogenerated code based on PIDL.
997 So Günther Deschner finally corrected one of the biggest mistakes in the
998 development of Samba: Hand-marshalled RPC stubs.
999
1000 Thanks a lot! :-)
1001
1002 Samba3 and Samba4 do now share a common tevent library for fd and timer events.
1003
1004 The code has been cleaned up and Samba3 and Samba4 do share the major basic
1005 interfaces now. That is why the libraries were moved to the toplevel directory.
1006 That is one of the first steps to share code and minimize the gap between
1007 these two versions.
1008
1009 An asynchronous API has been added.
1010
1011
1012 ######################################################################
1013 Changes
1014 #######
1015
1016 smb.conf changes
1017 ----------------
1018
1019    Parameter Name                      Description     Default
1020    --------------                      -----------     -------
1021
1022    access based share enum             New             No
1023    dedicated keytab file               New             ""
1024    kerberos method                     New             default
1025    map untrusted to domain             New             No
1026    max open files                      Changed Default auto detected
1027    passdb backend                      Changed Default tdbsam
1028    perfcount module                    New             ""
1029    use kerberos keytab                 Removed
1030
1031
1032 New [sub]commands
1033 -----------------
1034
1035    net eventlog                 Import/dump/export native win32 eventlog files.
1036    net rpc service create       Create a new service.
1037    net rpc service delete       Delete an existing service.
1038
1039
1040 New configure options
1041 ---------------------
1042
1043 --enable-external-libtalloc     Enable external talloc
1044 --enable-merged-build           Build Samba 4 as well
1045 --enable-gnutls                 Turn on gnutls support
1046 --with-statedir=DIR             Where to put persistent state files
1047 --with-cachedir=DIR             Where to put temporary cache files
1048 --with-ncalprcdir=DIR           Where to put ncalrpc sockets
1049 --with-selftest-shrdir=DIR      The share directory that make test will be run
1050                                 against
1051 --with-selftest-custom-conf=PATH
1052                                 An optional custom smb.conf that is included in
1053                                 the server smb.conf during make test
1054 --with-wbclient                 Use external wbclient
1055 --with-included-popt            Use bundled popt library, not from system
1056 --with-libiconv=BASEDIR         Use libiconv in BASEDIR/lib and BASEDIR/include
1057 --with-sqlite3                  SQLITE3 backend support
1058 --with-pthreads                 Include pthreads
1059 --with-setproctitle             Search for setproctitle support
1060
1061
1062 Commit Highlights
1063 =================
1064
1065
1066 o   Steven Danneman <steven.danneman@isilon.com>
1067     * Change the way smbd handles untrusted domain names given during user
1068       authentication.
1069
1070
1071 o   Guenther Deschner <gd@samba.org>
1072     * Replace the hand-marshalled DCE/RPC services ntsvcs, svcctl, eventlog
1073       and spoolss by autogenerated code based on PIDL.
1074     * Fix several printing issues and improve support for printer change
1075       notificiations.
1076     * Add 'net eventlog'.
1077
1078
1079 o   Volker Lendecke <vl@samba.org>
1080     * Add asynchronous API.
1081
1082
1083 o   Stefan Metzmacher <metze@samba.org>
1084     * Make Samba3 and Samba4 share a tevent library.
1085
1086
1087 o   Dan Sledz <dsledz@isilon.com>
1088     * Add two new parameters to control how we verify kerberos tickets.
1089
1090
1091 o   Danny Tylman <danny.tylman@insightix.com>
1092     * Add 'net rpc service' subcommands 'create' and 'delete'.
1093
1094
1095 o   Jelmer Vernooij <jelmer@samba.org>
1096     * Make merged build possible.
1097     * Move common libraries to the shared lib/ directory.
1098
1099
1100 Changes since 3.4.0rc1
1101 ----------------------
1102
1103
1104 o    Jeremy Allison <jra@samba.org>
1105      * BUG 6520: Fix time stamps when "unix extensions = yes".
1106
1107
1108 o    Michael Adam <obnox@samba.org>
1109      * BUG 6509: Use gid (not uid) cache in fetch_gid_from_cache().
1110      * BUG 6521: Fix building tevent_ntstatus without config.h.
1111      * BUG 6531: Fix pid file name.
1112
1113
1114 o    Guenther Deschner <gd@samba.org>
1115      * BUG 6512: Fix support for enumerating user forms.
1116
1117
1118 o    Bjoern Jacke <bj@sernet.de>
1119      * BUG 6497: Fix calling of 'test' in configure.
1120      * BUG 6459: Fix build of pam_smbpass on some distributions.
1121
1122
1123 o    Volker Lendecke <vl@samba.org>
1124      * BUG 6431: Local groups from 3.0 setups no longer found.
1125      * BUG 6498: Add workaround for MS KB932762.
1126
1127
1128 o    David Markey <admin@dmarkey.com>
1129      * BUG 6514: Improve error message in 'net' when smb.conf is not available.
1130
1131
1132 o    Jim McDonough <jmcd@samba.org>
1133      * BUG 6481: 'net ads leave' needs to try account deletion, NetUnjoinDomain
1134        not.
1135
1136
1137 o    Stefan Metzmacher <metze@samba.org>
1138      * BUG 6526: Fix notifies in the share root directory.
1139
1140
1141 o    Bo Yang <boyang@samba.org>
1142      * BUG 6499: Fix building of pam_smbpass.
1143
1144
1145 Changes since 3.4.0pre2
1146 -----------------------
1147
1148
1149 o   Jeremy Allison <jra@samba.org>
1150     * BUG 6297: Owner of sticky directory cannot delete files created by
1151       others.
1152     * BUG 6476: Fix smbd-zombies in memory when using [x]inetd.
1153     * BUG 6487: Add missing DFS call in trans2 mkdir call.
1154     * BUG 6488: acl_group_override() call in posix acls references an
1155       uninitialized variable.
1156
1157
1158 o   Günther Deschner <gd@samba.org>
1159     * BUG 4296: Clean up group membership while deleting a user.
1160     * BUG 5456: Fix "net ads testjoin".
1161     * BUG 6253: Use correct value for password expiry calculation in
1162       pam_winbind.
1163     * BUG 6305: Correctly prompt for a password when a username was given.
1164     * BUG 6451: net/libnetapi user rename using wrong access bits.
1165     * BUG 6458: Fix uninitialized variable in local_password_change().
1166     * BUG 6465: Fix enumeration of empty aliases.
1167
1168
1169 o   Volker Lendecke <vl@samba.org>
1170     * BUG 4699: Remove pidfile on clean shutdown.
1171     * BUG 6349: Initialize domain info struct.
1172     * BUG 6449: 'net rap user add' crashes without -C option.
1173
1174
1175 o   David Markey <admin@dmarkey.com>
1176     * BUG 6328: Add support for multiple rights to
1177       "net sam rights grant/revoke".
1178
1179
1180 o   Andreas Schneider <mail@cynapses.org>
1181     * Improve pam_winbind documentation.
1182
1183
1184 o   Simo Sorce <idra@samba.org>
1185     * BUG 6081: Make it possible to change machine account sids.
1186     * BUG 6333: Consolidate create/delete account paths in pdbedit.
1187     * BUG 6584: Allow DOM\user when changing passwords remotely.
1188
1189
1190 o   Jelmer Vernooij <jelmer@samba.org>
1191     * Remove outdated Debian package sources.
1192
1193
1194 Changes since 3.4.0pre1
1195 -----------------------
1196
1197
1198 o   Jeremy Allison <jra@samba.org>
1199     * BUG 6291: Fix 'force user'.
1200     * BUG 6313: ldapsam_update_sam_account() crashes while doing talloc_free on
1201       malloced memory.
1202     * BUG 6315: Fix smbd crashes when doing vfs_full_audit on IPC$ close event.
1203     * BUG 6330: Fix DFS on AIX.
1204     * Fix a bunch of compiler warnings about wrong format types.
1205     * Fix the core of the SAMR access functions.
1206     * Fix SAMR server for winbindd access.
1207
1208
1209 o   Michael Adam <obnox@samba.org>
1210     * BUG 4271: testparm should not print includes.
1211     * BUG 6292: Update config.guess from gnu.org.
1212     * BUG 6320: Handle registry config source in file_list.
1213     * BUG 6371: Unsuccessful 'net conf setparm' leaves empty share.
1214     * BUG 6387: Fix a crash bug in idmap_ldap_unixids_to_sids.
1215     * BUG 6415: Filter out of range mappings in default idmap config
1216       (idmap_tdb).
1217     * BUG 6416: Filter out of range mappings in default idmap config
1218       (idmap_tdb2).
1219     * BUG 6417: Filter out of range mappings in default idmap config
1220       (idmap_ldap).
1221     * Add dbwrap_tool - a tdb tool that is CTDB-aware.
1222     * Hide "config backend" from swat.
1223     * Fix linking with --disable-shared-libs.
1224
1225
1226 o   Steven Danneman <steven.danneman@isilon.com>
1227     * Fix issue with missing entries when enumerating directories.
1228     * Map NULL domains to our global sam name.
1229
1230
1231 o   Günther Deschner <gd@samba.org>
1232     * BUG 5859: Fix renaming of samr objects failed due to samr setuserinfo
1233       access checks.
1234     * BUG 6099: Fix NETLOGON credential chain.
1235     * BUG 6253: Use correct value for password expiry calculation.
1236     * BUG 6309: Support remote unjoining of Windows 2003 or greater.
1237     * BUG 6340: Don't segfault when cleartext trustdom pwd could not be
1238       retrieved.
1239     * BUG 6372: usermanager only displaying 1024 groups and aliases.
1240     * Fix driver upload for Xerox 4110 PS printer driver.
1241     * Add "net dom renamecomputer" to rename machines in a domain.
1242     * Inspect the correct computername string before enabling/disabling the
1243       change button in netdomjoin-gui.
1244     * Fix join prompt dialog test in netdomjoin-gui.
1245     * Only gray out labels when not root and not connecting to remote
1246       machines (netdomjoin-gui).
1247     * Allow to switch between workgroups/domains with the same name
1248       (netdomjoin-gui).
1249     * Add NetShutdownInit and NetShutdownAbort.
1250     * Fix samr access checks.
1251     * Add a security model to LSA.
1252     * Fix nss_wrapper build for Solaris.
1253
1254
1255 o   Geza Gemes <geza@kzsdabas.hu>
1256     * BUG 6136: New AFS syscall conventions.
1257
1258
1259 o   Ole Hansen <ole@redvw.com>
1260     * BUG 6359: smbclient -L does not list workgroup for hosts with both IPv4
1261       and IPv6 addresses
1262
1263
1264 o   Björn Jacke <bj@sernet.de>
1265     * Also handle DirX return codes.
1266
1267
1268 o   Steve Langasek <vorlon@debian.org>
1269     * BUG 4831: Don't call openlog() or closelog() from pam_smbpass.
1270
1271
1272 o   Volker Lendecke <vl@samba.org>
1273     * BUG 5681: Do not limit the number of network interfaces.
1274     * BUG 6157: Fix handling of multi-value attribute "uid".
1275     * BUG 6302: Give the VFS a chance to read from 0-byte files.
1276     * BUG 6336: Fix segfault in 'net groupmap set'.
1277     * BUG 6361: Make --rcfile work in smbget.
1278     * Do not crash in ctdbd_traverse if ctdbd is not around.
1279     * Fix Coverity ID 897.
1280     * Fix a race condition in vfs_aio_fork with gpfs share modes.
1281     * Fix bug disclosed by lock8 torture test.
1282     * Fix a race condition in winbind leading to a panic.
1283     * Attempt to fix a Debian build problem.
1284
1285
1286 o   Jim McDonough <jmcd@samba.org>
1287     * Detect tight loop in tdb_find().
1288
1289
1290 o   Stefan Metzmacher <metze@samba.org>
1291     * BUG 2346: Fix posix ACLs when setting an ACL without explicit ACE for the
1292       owner.
1293
1294
1295 o   Tim Prouty <tprouty@samba.org>
1296     * Fix chained sesssetupAndX/tconn messages.
1297     * Fix strict locking with chained reads.
1298     * Fix two bugs in sendfile.
1299
1300
1301 o   Slava Semushin <php-coder@altlinux.ru>
1302     * Fix memory leak.
1303     * Fix file descriptor leak.
1304
1305
1306 o   Aravind Srinivasan <aravind.srinivasan@isilon.com>
1307     * Fallback to the legacy sid_to_(uid|gid) instead of returning NULL.
1308     * Always allocate memory in dptr_ReadDirName.
1309
1310
1311 o   Kumar Thangavelu <Kumar.Thangavelu@riverbed.com>
1312     * Fix 'net' crash during domain join.
1313
1314
1315 o   Marc VanHeyningen <marc.vanheyningen@isilon.com>
1316     * Zero an uninitialized array.
1317     * Allow child processes to exit gracefully if we are out of fds.
1318
1319
1320 ######################################################################
1321 Reporting bugs & Development Discussion
1322 #######################################
1323
1324 Please discuss this release on the samba-technical mailing list or by
1325 joining the #samba-technical IRC channel on irc.freenode.net.
1326
1327 If you do report problems then please try to send high quality
1328 feedback. If you don't provide vital information to help us track down
1329 the problem then you will probably be ignored.  All bug reports should
1330 be filed under the Samba 3.4 product in the project's Bugzilla
1331 database (https://bugzilla.samba.org/).
1332
1333
1334 ======================================================================
1335 == Our Code, Our Bugs, Our Responsibility.
1336 == The Samba Team
1337 ======================================================================
1338