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