WHATSNEW: Update release date.
[metze/samba/wip.git] / WHATSNEW.txt
1                    =============================
2                    Release Notes for Samba 3.4.1
3                          September 9, 2009
4                    =============================
5
6
7 This is the latest stable release of Samba 3.4.
8
9
10 Major enhancements in Samba 3.4.1 include:
11
12    o Fix authentication on member servers without Winbind (bug #6650).
13    o Nautilus fails to copy files from an SMB share (bug #6649).
14    o Fix connections of Win98 clients (bug #6551).
15
16
17 ######################################################################
18 Changes
19 #######
20
21 Changes since 3.4.0
22 -------------------
23
24
25 o   Michael Adam <obnox@samba.org>
26     * BUG 6650: Fix authentication on member servers without Winbind.
27
28
29 o   Jeremy Allison <jra@samba.org>
30     * BUG 6437: Make open_udp_socket() IPv6 clean.
31     * BUG 6506: Smbd server doesn't set EAs when a file is overwritten in
32       NT_TRANSACT_CREATE.
33     * BUG 6551: Fix connections of Win98 clients.
34     * BUG 6564: SetPrinter fails (panics) as non root.
35     * BUG 6593: Correctly implement SMB_INFO_STANDARD setfileinfo.
36     * BUG 6649: Nautilus fails to copy files from an SMB share.
37
38
39 o   Yannick Bergeron <burgergold@hotmail.com>
40     * Increase the max_grp value to 128 (AIX NGROUPS_MAX value) instead of 32 to
41       allow AIX to call sys_getgrouplist only once.
42
43
44 o   Günther Deschner <gd@samba.org>
45     * BUG 6568: Fix _spoolss_GetPrintProcessorDirectory() implementation.
46     * BUG 6607: Fix crash bug in spoolss_addprinterex_level_2.
47     * BUG 6680: Fix authentication failure from Windows 7 when domain joined.
48
49
50 o   Olaf Flebbe <flebbe@nix.science-computing.de>
51     * BUG 6655: Fix 'smbcontrol smbd ping'.
52
53
54 o   Matt Kraai <mkraai@beckman.com>
55     * BUG 6630: Fix opening of sockets on QNX.
56
57
58 o   Volker Lendecke <vl@samba.org>
59     * BUG 5886: Fix password change propagation with ldapsam.
60     * BUG 6585: Fix unqualified "net join".
61     * BUG 6611: Fix a valgrind error in chain_reply.
62     * Fix linking on Solaris.
63
64
65 o   Stefan Metzmacher <metze@samba.org>
66     * BUG 6222: Default to DRSUAPI replication for net rpc vampire keytab.
67     * BUG 6532: Fix the build with external talloc.
68     * BUG 6538: Cancel all locks that are made before the first failure.
69     * BUG 6627: Raise the timeout for lsa_Lookup*() calls from 10 to 35 seconds.
70     * BUG 6664: Fix truncation of the session key.
71
72
73 o   Tim Prouty <tprouty@samba.org>
74     * BUG 6620: Fix a bug in renames of directories.
75
76
77 o   Rusty Russell <rusty@rustcorp.com.au>
78     * BUG 6601: Avoid global fd limits.
79
80
81 o   TAKEDA Yasuma <yasuma@osstech.co.jp>
82     * BUG 5879: Update LDAP schema for Netscape DS 5.
83
84
85 o   Bo Yang <boyang@samba.org>
86     * BUG 6560: Fix lookupname.
87     * BUG 6615: Fix browsing of DFS when using kerberos in libsmbclient.
88
89
90 ######################################################################
91 Reporting bugs & Development Discussion
92 #######################################
93
94 Please discuss this release on the samba-technical mailing list or by
95 joining the #samba-technical IRC channel on irc.freenode.net.
96
97 If you do report problems then please try to send high quality
98 feedback. If you don't provide vital information to help us track down
99 the problem then you will probably be ignored.  All bug reports should
100 be filed under the Samba 3.4 product in the project's Bugzilla
101 database (https://bugzilla.samba.org/).
102
103
104 ======================================================================
105 == Our Code, Our Bugs, Our Responsibility.
106 == The Samba Team
107 ======================================================================
108
109
110 Release notes for older versions follow:
111 ----------------------------------------
112
113                    =============================
114                    Release Notes for Samba 3.4.0
115                            July 3, 2009
116                    =============================
117
118
119 This is the first stable release of Samba 3.4.
120
121
122 Major enhancements in Samba 3.4.0 include:
123 ------------------------------------------
124
125 Configuration changes:
126 o The default passdb backend has been changed to 'tdbsam'!
127
128 General changes:
129 o Samba4 and Samba3 sources are included in the tarball
130
131 Authentication Changes:
132 o Changed the way smbd handles untrusted domain names given during user
133   authentication.
134
135 Printing Changes:
136 o Various fixes including printer change notificiation for Samba spoolss
137   print servers.
138
139 Internal changes:
140 o The remaining hand-marshalled DCE/RPC services (ntsvcs, svcctl, eventlog
141   and spoolss) were replaced by autogenerated code based on PIDL.
142 o Samba3 and Samba4 do now share a common tevent library.
143 o The code has been cleaned up and the major basic interfaces are shared with
144   Samba4 now.
145 o An asynchronous API has been added.
146
147
148 Configuration changes
149 =====================
150
151 !!! ATTENTION !!!
152 The default passdb backend has been changed to 'tdbsam'! That breaks existing
153 setups using the 'smbpasswd' backend without explicit declaration! Please use
154 'passdb backend = smbpasswd' if you would like to stick to the 'smbpasswd'
155 backend or convert your smbpasswd entries using e.g. 'pdbedit -i smbpasswd -e
156 tdbsam'.
157
158 The 'tdbsam' backend is much more flexible concerning per user settings
159 like 'profile path' or 'home directory' and there are some commands which do not
160 work with the 'smbpasswd' backend at all.
161
162
163 General Changes
164 ===============
165
166 On the way towards a standalone Samba AD domain controller, Samba3 and Samba4
167 branches can be built as "merged" build. That's why Samba3 and Samba4 sources
168 are included in the tarball. The merged build is possible in Samba 3.4.0, but
169 disabled by default. To learn more about the merged build,
170 please see http://wiki.samba.org/index.php/Franky.
171
172 According to this one, there is no "source" directory included in the tarball at
173 all. Samba3 sources are located in "source3", Samba4 sources are located in
174 "source4". The libraries have been moved to the toplevel directory.
175
176 To build plain Samba3, please change to "source3" and start the build as usual.
177 To build Samba4 as well, please use the "--enable-merged-build" configure
178 option.
179
180
181 Authentication Changes
182 ======================
183
184 Previously, when Samba was a domain member and a client was connecting using an
185 untrusted domain name, such as BOGUS\user smbd would remap the untrusted
186 domain to the primary domain smbd was a member of and attempt authentication
187 using that DOMAIN\user name.  This differed from how a Windows member server
188 would behave.  Now, smbd will replace the BOGUS name with it's SAM name.  In
189 the case where smbd is acting as a PDC this will be DOMAIN\user.  In the case
190 where smbd is acting as a domain member server this will be WORKSTATION\user.
191 Thus, smbd will never assume that an incoming user name which is not qualified
192 with the same primary domain, is part of smbd's primary domain.
193
194 While this behavior matches Windows, it may break some workflows which depended
195 on smbd to always pass through bogus names to the DC for verification.  A new
196 parameter "map untrusted to domain" can be enabled to revert to the legacy
197 behavior.
198
199
200 Printing Changes
201 ================
202
203 The spoolss subsystem was replaced by autogenerated code based on PIDL. That fixes
204 several printing issues including printer change notificiation on Samba print
205 servers and will stabilize the printing functionality generally.
206 The support for spoolss printing with Windows Vista has been improved.
207
208
209 Internal Changes
210 ================
211
212 The remaining hand-marshalled DCE/RPC services (ntsvcs, svcctl, eventlog and
213 spoolss) were replaced by autogenerated code based on PIDL.
214 So Günther Deschner finally corrected one of the biggest mistakes in the
215 development of Samba: Hand-marshalled RPC stubs.
216
217 Thanks a lot! :-)
218
219 Samba3 and Samba4 do now share a common tevent library for fd and timer events.
220
221 The code has been cleaned up and Samba3 and Samba4 do share the major basic
222 interfaces now. That is why the libraries were moved to the toplevel directory.
223 That is one of the first steps to share code and minimize the gap between
224 these two versions.
225
226 An asynchronous API has been added.
227
228
229 ######################################################################
230 Changes
231 #######
232
233 smb.conf changes
234 ----------------
235
236    Parameter Name                      Description     Default
237    --------------                      -----------     -------
238
239    access based share enum             New             No
240    dedicated keytab file               New             ""
241    kerberos method                     New             default
242    map untrusted to domain             New             No
243    max open files                      Changed Default auto detected
244    passdb backend                      Changed Default tdbsam
245    perfcount module                    New             ""
246    use kerberos keytab                 Removed
247
248
249 New [sub]commands
250 -----------------
251
252    net eventlog                 Import/dump/export native win32 eventlog files.
253    net rpc service create       Create a new service.
254    net rpc service delete       Delete an existing service.
255
256
257 New configure options
258 ---------------------
259
260 --enable-external-libtalloc     Enable external talloc
261 --enable-merged-build           Build Samba 4 as well
262 --enable-gnutls                 Turn on gnutls support
263 --with-statedir=DIR             Where to put persistent state files
264 --with-cachedir=DIR             Where to put temporary cache files
265 --with-ncalprcdir=DIR           Where to put ncalrpc sockets
266 --with-selftest-shrdir=DIR      The share directory that make test will be run
267                                 against
268 --with-selftest-custom-conf=PATH
269                                 An optional custom smb.conf that is included in
270                                 the server smb.conf during make test
271 --with-wbclient                 Use external wbclient
272 --with-included-popt            Use bundled popt library, not from system
273 --with-libiconv=BASEDIR         Use libiconv in BASEDIR/lib and BASEDIR/include
274 --with-sqlite3                  SQLITE3 backend support
275 --with-pthreads                 Include pthreads
276 --with-setproctitle             Search for setproctitle support
277
278
279 Commit Highlights
280 =================
281
282
283 o   Steven Danneman <steven.danneman@isilon.com>
284     * Change the way smbd handles untrusted domain names given during user
285       authentication.
286
287
288 o   Guenther Deschner <gd@samba.org>
289     * Replace the hand-marshalled DCE/RPC services ntsvcs, svcctl, eventlog
290       and spoolss by autogenerated code based on PIDL.
291     * Fix several printing issues and improve support for printer change
292       notificiations.
293     * Add 'net eventlog'.
294
295
296 o   Volker Lendecke <vl@samba.org>
297     * Add asynchronous API.
298
299
300 o   Stefan Metzmacher <metze@samba.org>
301     * Make Samba3 and Samba4 share a tevent library.
302
303
304 o   Dan Sledz <dsledz@isilon.com>
305     * Add two new parameters to control how we verify kerberos tickets.
306
307
308 o   Danny Tylman <danny.tylman@insightix.com>
309     * Add 'net rpc service' subcommands 'create' and 'delete'.
310
311
312 o   Jelmer Vernooij <jelmer@samba.org>
313     * Make merged build possible.
314     * Move common libraries to the shared lib/ directory.
315
316
317 Changes since 3.4.0rc1
318 ----------------------
319
320
321 o    Jeremy Allison <jra@samba.org>
322      * BUG 6520: Fix time stamps when "unix extensions = yes".
323
324
325 o    Michael Adam <obnox@samba.org>
326      * BUG 6509: Use gid (not uid) cache in fetch_gid_from_cache().
327      * BUG 6521: Fix building tevent_ntstatus without config.h.
328      * BUG 6531: Fix pid file name.
329
330
331 o    Guenther Deschner <gd@samba.org>
332      * BUG 6512: Fix support for enumerating user forms.
333
334
335 o    Bjoern Jacke <bj@sernet.de>
336      * BUG 6497: Fix calling of 'test' in configure.
337      * BUG 6459: Fix build of pam_smbpass on some distributions.
338
339
340 o    Volker Lendecke <vl@samba.org>
341      * BUG 6431: Local groups from 3.0 setups no longer found.
342      * BUG 6498: Add workaround for MS KB932762.
343
344
345 o    David Markey <admin@dmarkey.com>
346      * BUG 6514: Improve error message in 'net' when smb.conf is not available.
347
348
349 o    Jim McDonough <jmcd@samba.org>
350      * BUG 6481: 'net ads leave' needs to try account deletion, NetUnjoinDomain
351        not.
352
353
354 o    Stefan Metzmacher <metze@samba.org>
355      * BUG 6526: Fix notifies in the share root directory.
356
357
358 o    Bo Yang <boyang@samba.org>
359      * BUG 6499: Fix building of pam_smbpass.
360
361
362 Changes since 3.4.0pre2
363 -----------------------
364
365
366 o   Jeremy Allison <jra@samba.org>
367     * BUG 6297: Owner of sticky directory cannot delete files created by
368       others.
369     * BUG 6476: Fix smbd-zombies in memory when using [x]inetd.
370     * BUG 6487: Add missing DFS call in trans2 mkdir call.
371     * BUG 6488: acl_group_override() call in posix acls references an
372       uninitialized variable.
373
374
375 o   Günther Deschner <gd@samba.org>
376     * BUG 4296: Clean up group membership while deleting a user.
377     * BUG 5456: Fix "net ads testjoin".
378     * BUG 6253: Use correct value for password expiry calculation in
379       pam_winbind.
380     * BUG 6305: Correctly prompt for a password when a username was given.
381     * BUG 6451: net/libnetapi user rename using wrong access bits.
382     * BUG 6458: Fix uninitialized variable in local_password_change().
383     * BUG 6465: Fix enumeration of empty aliases.
384
385
386 o   Volker Lendecke <vl@samba.org>
387     * BUG 4699: Remove pidfile on clean shutdown.
388     * BUG 6349: Initialize domain info struct.
389     * BUG 6449: 'net rap user add' crashes without -C option.
390
391
392 o   David Markey <admin@dmarkey.com>
393     * BUG 6328: Add support for multiple rights to
394       "net sam rights grant/revoke".
395
396
397 o   Andreas Schneider <mail@cynapses.org>
398     * Improve pam_winbind documentation.
399
400
401 o   Simo Sorce <idra@samba.org>
402     * BUG 6081: Make it possible to change machine account sids.
403     * BUG 6333: Consolidate create/delete account paths in pdbedit.
404     * BUG 6584: Allow DOM\user when changing passwords remotely.
405
406
407 o   Jelmer Vernooij <jelmer@samba.org>
408     * Remove outdated Debian package sources.
409
410
411 Changes since 3.4.0pre1
412 -----------------------
413
414
415 o   Jeremy Allison <jra@samba.org>
416     * BUG 6291: Fix 'force user'.
417     * BUG 6313: ldapsam_update_sam_account() crashes while doing talloc_free on
418       malloced memory.
419     * BUG 6315: Fix smbd crashes when doing vfs_full_audit on IPC$ close event.
420     * BUG 6330: Fix DFS on AIX.
421     * Fix a bunch of compiler warnings about wrong format types.
422     * Fix the core of the SAMR access functions.
423     * Fix SAMR server for winbindd access.
424
425
426 o   Michael Adam <obnox@samba.org>
427     * BUG 4271: testparm should not print includes.
428     * BUG 6292: Update config.guess from gnu.org.
429     * BUG 6320: Handle registry config source in file_list.
430     * BUG 6371: Unsuccessful 'net conf setparm' leaves empty share.
431     * BUG 6387: Fix a crash bug in idmap_ldap_unixids_to_sids.
432     * BUG 6415: Filter out of range mappings in default idmap config
433       (idmap_tdb).
434     * BUG 6416: Filter out of range mappings in default idmap config
435       (idmap_tdb2).
436     * BUG 6417: Filter out of range mappings in default idmap config
437       (idmap_ldap).
438     * Add dbwrap_tool - a tdb tool that is CTDB-aware.
439     * Hide "config backend" from swat.
440     * Fix linking with --disable-shared-libs.
441
442
443 o   Steven Danneman <steven.danneman@isilon.com>
444     * Fix issue with missing entries when enumerating directories.
445     * Map NULL domains to our global sam name.
446
447
448 o   Günther Deschner <gd@samba.org>
449     * BUG 5859: Fix renaming of samr objects failed due to samr setuserinfo
450       access checks.
451     * BUG 6099: Fix NETLOGON credential chain.
452     * BUG 6253: Use correct value for password expiry calculation.
453     * BUG 6309: Support remote unjoining of Windows 2003 or greater.
454     * BUG 6340: Don't segfault when cleartext trustdom pwd could not be
455       retrieved.
456     * BUG 6372: usermanager only displaying 1024 groups and aliases.
457     * Fix driver upload for Xerox 4110 PS printer driver.
458     * Add "net dom renamecomputer" to rename machines in a domain.
459     * Inspect the correct computername string before enabling/disabling the
460       change button in netdomjoin-gui.
461     * Fix join prompt dialog test in netdomjoin-gui.
462     * Only gray out labels when not root and not connecting to remote
463       machines (netdomjoin-gui).
464     * Allow to switch between workgroups/domains with the same name
465       (netdomjoin-gui).
466     * Add NetShutdownInit and NetShutdownAbort.
467     * Fix samr access checks.
468     * Add a security model to LSA.
469     * Fix nss_wrapper build for Solaris.
470
471
472 o   Geza Gemes <geza@kzsdabas.hu>
473     * BUG 6136: New AFS syscall conventions.
474
475
476 o   Ole Hansen <ole@redvw.com>
477     * BUG 6359: smbclient -L does not list workgroup for hosts with both IPv4
478       and IPv6 addresses
479
480
481 o   Björn Jacke <bj@sernet.de>
482     * Also handle DirX return codes.
483
484
485 o   Steve Langasek <vorlon@debian.org>
486     * BUG 4831: Don't call openlog() or closelog() from pam_smbpass.
487
488
489 o   Volker Lendecke <vl@samba.org>
490     * BUG 5681: Do not limit the number of network interfaces.
491     * BUG 6157: Fix handling of multi-value attribute "uid".
492     * BUG 6302: Give the VFS a chance to read from 0-byte files.
493     * BUG 6336: Fix segfault in 'net groupmap set'.
494     * BUG 6361: Make --rcfile work in smbget.
495     * Do not crash in ctdbd_traverse if ctdbd is not around.
496     * Fix Coverity ID 897.
497     * Fix a race condition in vfs_aio_fork with gpfs share modes.
498     * Fix bug disclosed by lock8 torture test.
499     * Fix a race condition in winbind leading to a panic.
500     * Attempt to fix a Debian build problem.
501
502
503 o   Jim McDonough <jmcd@samba.org>
504     * Detect tight loop in tdb_find().
505
506
507 o   Stefan Metzmacher <metze@samba.org>
508     * BUG 2346: Fix posix ACLs when setting an ACL without explicit ACE for the
509       owner.
510
511
512 o   Tim Prouty <tprouty@samba.org>
513     * Fix chained sesssetupAndX/tconn messages.
514     * Fix strict locking with chained reads.
515     * Fix two bugs in sendfile.
516
517
518 o   Slava Semushin <php-coder@altlinux.ru>
519     * Fix memory leak.
520     * Fix file descriptor leak.
521
522
523 o   Aravind Srinivasan <aravind.srinivasan@isilon.com>
524     * Fallback to the legacy sid_to_(uid|gid) instead of returning NULL.
525     * Always allocate memory in dptr_ReadDirName.
526
527
528 o   Kumar Thangavelu <Kumar.Thangavelu@riverbed.com>
529     * Fix 'net' crash during domain join.
530
531
532 o   Marc VanHeyningen <marc.vanheyningen@isilon.com>
533     * Zero an uninitialized array.
534     * Allow child processes to exit gracefully if we are out of fds.
535
536
537 ######################################################################
538 Reporting bugs & Development Discussion
539 #######################################
540
541 Please discuss this release on the samba-technical mailing list or by
542 joining the #samba-technical IRC channel on irc.freenode.net.
543
544 If you do report problems then please try to send high quality
545 feedback. If you don't provide vital information to help us track down
546 the problem then you will probably be ignored.  All bug reports should
547 be filed under the Samba 3.4 product in the project's Bugzilla
548 database (https://bugzilla.samba.org/).
549
550
551 ======================================================================
552 == Our Code, Our Bugs, Our Responsibility.
553 == The Samba Team
554 ======================================================================
555