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