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