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