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