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