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