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