WHATSNEW: Prepare release notes for Samba 3.5.0.
[samba.git] / WHATSNEW.txt
1                    =============================
2                    Release Notes for Samba 3.5.0
3                             March 1, 2010
4                    ===============================
5
6
7 This is the first stable release of Samba 3.5.
8
9
10 Major enhancements in Samba 3.5.0 include:
11
12 General changes:
13 o Add support for full Windows timestamp resolution
14 o The Using Samba HTML book has been removed.
15 o 'net', 'smbclient' and libsmbclient can use credentials cached by Winbind.
16 o The default value of "wide links" has been changed to "no".
17
18 Protocol changes:
19 o Experimental implementation of SMB2
20
21 Printing Changes:
22 o Add encryption support for connections to a CUPS server
23
24 Winbind changes:
25 o Major refactoring
26 o Asynchronous
27
28 VFS modules:
29 o New vfs_scannedonly module has been added.
30
31
32 General changes:
33 ================
34
35 Support for full Windows timestamp resolution has been added. This effectively
36 makes us use Windows' full 100ns timestamp resolution if supported by the
37 kernel (2.6.22 and higher) and the glibc (2.6 and higher).
38
39 The Using Samba HTML book has been removed from the Samba tarball.
40 It is still available at http://www.samba.org/samba/docs/using_samba/toc.html.
41
42 Samba client tools like 'net', 'smbclient' and libsmbclient can use the user
43 credentials cached by Winbind at logon time. This is very useful e.g. when
44 connecting to a Samba server using Nautilus without re-entering username and
45 password. This feature is enabled by default and can be disabled per application
46 by setting the LIBSMBCLIENT_NO_CCACHE environment variable.
47
48 The default value of "wide links" has been changed to "no" to avoid an insecure
49 default configuration ("wide links = yes" and "unix extensions = yes"). For
50 more details, please see http://www.samba.org/samba/news/symlink_attack.html.
51
52
53 Protocol changes
54 ================
55
56 An EXPERIMENTAL implementation of the SMB2 protocol has been added. SMB2 can be
57 enabled by setting "max protocol = smb2". SMB2 is a new implementation of the
58 SMB protocol used by Windows Vista and higher.
59
60 Printing Changes
61 ================
62
63 A new parameter "cups encrypt" has been added to control whether connections to
64 CUPS servers will be encrypted or not. The default is to use unencrypted
65 connections.
66
67 Winbind changes
68 ===============
69
70 The Winbind daemon has been refactored internally to be asynchronous. The new
71 Winbind will not be blocked by running 'getent group' or 'getent passwd'.
72
73 VFS modules
74 ===========
75
76 A new VFS module "scannedonly" has been added. This is a filter that
77 talks to an antivirus-engine and stores whether a file is clean or not.
78 Users do only see clean files on their filesystem.
79
80
81 ######################################################################
82 Changes
83 #######
84
85 smb.conf changes
86 ----------------
87
88    Parameter Name                      Description     Default
89    --------------                      -----------     -------
90
91    create krb5 conf                    New             yes
92    ctdb timeout                        New             0
93    cups encrypt                        New             no
94    debug hires timestamp               Changed Default yes
95    ldap deref                          New             auto
96    ldap follow referral                New             auto
97    nmbd bind explicit broadcast        New             no
98    wide links                          Changed Default no
99
100
101 New configure options
102 ---------------------
103
104 --enable-external-libtdb        Enable external tdb
105 --enable-netapi                 Turn on netapi support
106 --enable-pthreadpool            Enable pthreads pool helper support
107 --with-cifsumount               Include umount.cifs (Linux only) support
108 --with-codepagedir=DIR          Where to put codepages
109
110
111 Commit Highlights
112 =================
113
114 o   Björn Jacke <bj@sernet.de>
115     * Add support for full Windows timestamp resolution.
116     * Add encryption support for connections to a CUPS server.
117
118
119 o   Volker Lendecke <vl@samba.org>
120     * Major internal refactoring of the Winbind daemon.
121     * Make Winbind asynchronous.
122     * Make 'net', 'smbclient' and libsmbclient use the logon credentials cached
123       by Winbind.
124
125
126 o   Stefan Metzmacher <metze@samba.org>
127     * Implement the new SMB2 protocol (experimental).
128
129
130 Changes since 3.5.0rc3
131 ----------------------
132
133
134 Changes since 3.5.0rc2
135 ----------------------
136
137
138 o   Jeremy Allison <jra@samba.org>
139     * BUG 6557: Fix vfs_full_audit.
140     * BUG 6876: Fix duplicate initializer in the rmdir module.
141     * BUG 7063: Fix core dump on Ubuntu 8.04 64 bit.
142     * BUG 7067: Fix failing of smbd to respond to a read or a write caused by
143       Linux asynchronous IO (aio).
144     * BUG 7069: Fix 'smbget' error status.
145     * BUG 7072: Fix unlocking of accounts from ldap.
146     * BUG 7079  Cliconnect gets realm wrong with trusted domains.
147     * BUG 7081: Fix vfs_expand_msdfs.
148     * BUG 7084: Fix storing of create time on directories in an EA in new
149       create time code.
150     * BUG 7104: "wide links" and "unix extensions" are incompatible.
151     * BUG 7118: Fix nmbd problems with socket address.
152     * BUG 7122: Fix reading of large browselist.
153     * BUG 7154: "mangling method = hash" can crash storing a name containing a '.'.
154     * BUG 7155: Valgrind Conditional jump or move depends on uninitialised
155       value(s) error when "mangling method = hash"..
156
157
158 o   Steven Danneman <steven.danneman@isilon.com>
159     * BUG 7096: Fix string buffer overflow causing heap corruption in smbd.
160
161
162 o   Günther Deschner <gd@samba.org>
163     * BUG 6888: Fix printing with 64 bit clients.
164     * BUG 7130: Fix listing of printjobs in  Windows 7.
165     * BUG 7148: Fix get_acl_blob in the acl_tdb VFS module.
166
167
168 o   Björn Jacke <bj@sernet.de>
169     * BUG 7103: Fix build issue on Tru64.
170     * BUG 7116: Change ldap filter to what really was intended.
171     * Fix some wrong newlines in de translation strings.
172
173
174 o   Jeff Layton <jlayton@redhat.com>
175     * BUG 6868: Fix crash bug in 'cifs.upcall'.
176
177
178 o   Volker Lendecke <vl@samba.org>
179     * BUG 7085: Fix an early release of the global lock that can cause data
180       corruption in libtdb.
181     * BUG 7139: Owner of file not available with Kerberos.
182
183
184 o   Stefan Metzmacher <metze@samba.org>
185     * BUG 6888: Fix printing with 64 bit clients.
186     * BUG 7098: Fix results of 'smbclient -L' with a large browse list.
187     * BUG 7116: Add pdb_ldap performance fixes.
188     * BUG 7118: Add new "nmbd bind explicit broadcast" parameter.
189     * BUG 7119: Support large browselist.
190     * BUG 7140: Fix IPv4/IPv6 problems.
191
192
193 o   Lars Müller <lars@samba.org>
194     * BUG 7071: Fix build of 'smbfilter'.
195     * BUG 7047: Add cross option to samba_cv_linux_getgrouplist_ok.
196     * BUG 7102: Normalize "Changing password for" msg IDs and STRs.
197
198
199 o   Olivier Sessink <olivier@virtscano.fakenet>
200     * BUG 7076: Fix build of vfs_scannedonly on AIX.
201
202
203 o   Bo Yang <boyang@samba.org>
204     * BUG 7106: Fix malformed require_membership_of_sid.
205
206
207
208 Changes since 3.5.0rc1
209 ----------------------
210
211
212 o   Michael Adam <obnox@samba.org>
213     * BUG 4347: Check password history before increasing "badPasswordCount".
214
215
216 o   Jeremy Allison <jra@samba.org>
217     * BUG 5202: Fix changing of ACLs on writable file with "dos filemode=yes".
218     * BUG 6876: Fix deletion of an object whose parent folder does not have delete
219       rights fails even if the delete right is set on the object in
220       vfs_acl_xattr and vfs_acl_tdb.
221     * BUG 7033: Fix SMBrmdir error message when deleting a directory fails.
222     * BUG 7036: Fix 'net rpc getsid' in hardened Windows environments.
223     * BUG 7045: Fix bad (non memory copying) interfaces in smbc_setXXXX calls.
224
225
226 o   Giovanni Bajo <rasky@develer.com>
227     * BUG 7029: Disable sanity check in NetShareEnum for better compatibility
228       with Windows.
229
230
231 o   Kai Blin <kai@samba.org>
232     * BUG 7039: Fix compile error with WITH_DNS_UPDATE. Update .po files.
233
234
235 o   Günther Deschner <gd@samba.org>
236     * BUG 7043: Fix crash bug in libsmbclient.
237
238
239 o   André Hentschel <nerv@dawncrow.de>
240     * BUG 7039: Complete German translation of 'net'.
241
242
243 o   Björn Jacke <bj@sernet.de>
244     * BUG 7039: Improve some German translations in 'net'.
245
246
247 o   William Jojo <w.jojo@hvcc.edu>
248     * BUG 7052: Fix DFS on AIX.
249
250
251 o   Volker Lendecke <vl@samba.org>
252     * BUG 6981: Fix large paged search with DirX LDAP servers.
253     * BUG 7027: Fix a segfault in winbindd_dual_ccache_ntlm_auth().
254     * BUG 7037: Fix a Winbind segfault in "trusted_domains".
255     * BUG 7046: Fix libsmbclient crash against OpenSolaris CIFS server.
256     * BUG 7062: Make 'net', 'smbclient' and libsmbclient use the logon
257       credentials cached by Winbind.
258     * Lock down some srvsvc calls according to what w2k3 seems to do.
259
260
261 o   Stefan Metzmacher <metze@samba.org>
262     * BUG 6157: Restore Samba 3.0.x behavior and use the first "uid" value in
263       pdb_ldap.
264
265
266 o   SASAJIMA Toshihiro <sasajima_t@jp.fujitsu.com>
267     * BUG 7034: Fix segfault in vfs_cap.
268
269
270 o   Olivier Sessink <oliviersessink@gmail.com>
271     * BUG 7028: Add new scannedonly VFS module.
272
273
274 Changes since 3.5.0pre2
275 -----------------------
276
277 o   Jeremy Allison <jra@samba.org>
278     * BUG 6837: Fix "Too many open files" when trying to access large number of
279       files with Windows 7.
280     * BUG 6939: Fix long filenames when "mangling method" is set to "hash".
281     * BUG 7020: Fix smbd using 2G memory.
282     * Ensure dos_mode can return FILE_ATTRIBUTE_NORMAL, then filter the returned
283       attributes by protocol level.
284     * Vector correctly through reply_openerror() (which uses the same logic).
285     * Fix bugs with the full Windows ACL support.
286
287
288 o   Kai Blin <kai@samba.org>
289     * Add a few missing gettext calls to the 'net' command.
290     * Fix up a share type translation and translate some more strings in 'net'.
291
292
293 o   Günther Deschner <gd@samba.org>
294     * Allow to call "pdbedit -N description -u user" without specifiyng "-r".
295     * Add spoolss_DriverInfo7.
296     * Fix rpcclient after setprinter IDL fixes.
297     * Use generated krb5.conf in 'net ads testjoin'.
298
299
300 o   Jonas Gorski <jonas.gorski+samba@gmail.com>
301     * BUG 6992: make test for getgrouplist cacheable.
302
303
304 o   André Hentschel <nerv@dawncrow.de>
305     * Add some German translations for the 'net' command.
306
307
308 o   Suresh Jayaraman <sjayaraman@suse.de>
309     * Update mount.cifs man page with nounix option.
310
311
312 o   Volker Lendecke <vl@samba.org>
313     * Fix _samr_GetAliasMembership for results with 0 rids.
314     * Fix an error case in cli_negprot.
315     * Add a lower-cost alternative to wbinfo -t: wbinfo --ping-dc.
316     * Restore correct timeouts for SMB requests.
317     * Fix a 64-bit error in libsmb.
318     * Replace IS_DOMAIN_OFFLINE by a function in Winbind.
319     * Simplify/cleanup Winbind code.
320
321
322 o   Kamen Mazdrashki <kamen.mazdrashki@postpath.com>
323     * Fix write behind memory block in libtalloc.
324     * Fix result check for getaddrinfo().
325
326
327 o   Jim McDonough <jmcd@samba.org>
328     * BUG 7014: Fix Winbind crash when retrieving empty group members.
329
330
331 o   Brian Lu <brian.lu@sun.com>
332     * BUG 6991: Create symbol links to shared libraries.
333
334
335 o   Stefan Metzmacher <metze@samba.org>
336     * Add tsocket_address_bsd_sockaddr() and tsocket_address_bsd_from_sockaddr()
337       to tsocket.
338     * Always set tdb->tracefd to -1 to be safe on goto fail in libtdb.
339     * Add TDB_DISALLOW_NESTING and make TDB_ALLOW_NESTING the default behavior.
340     * Fix standalone 'make installdocs'.
341
342
343 o   Peter Rosin <peda@lysator.liu.se>
344     * Output %p as unsigned in snprintf replacement.
345
346
347 o   Ronnie Sahlberg <ronniesahlberg@gmail.com>
348     * New attempt at TDB transaction nesting allow/disallow.
349
350
351 o   Kirill Smelkov <kirr@mns.spb.ru>
352     * Remove swig stuff from libtdb.
353     * Reset tdb->fd to -1 in tdb_close() in libtdb.
354
355
356 o   Simo Sorce <idra@samba.org>
357     * Change the way mksysms work in libtalloc.
358
359
360 o   Jelmer Vernooij <jelmer@samba.org>
361     * Also build and install tdb manpages from standalone tdb.
362
363
364 o   Bo Yang <boyang@samba.org>
365     * Fix infinite loop in NCACN_IP_TCP as there is no timeout.
366     * Make winbindd_cache.c aware of domain offline to avoid unnecessary backend
367       query.
368     * List trusted domains from wcache when domain is offline.
369
370
371 Changes since 3.5.0pre1
372 -----------------------
373
374 o   Michael Adam <obnox@samba.org>
375     * Fix the build when no external talloc and tdb are installed.
376     * Fix detection of CTDB headers on systems without system-libtalloc.
377
378
379 o   Jeremy Allison <jra@samba.org>
380     * BUG 6802: A created folder does not properly inherit permissions from
381       parent in vfs_acl_xattr.
382     * BUG 6837: "Too many open files" when trying to access large number of
383       files from Windows 7.
384     * BUG 6938 : No hook exists to check creation rights when using acl_xattr
385       module.
386     * Fix vfs_acl_xattr which was failing to call the NEXT connect function.
387     * Restructure the ACL code.
388     * Refactor reply_rmdir to use handle based code.
389
390
391 o   Dan Cox <dan@wep.net>
392     * BUG 2350: Add LDAP Alias Dereferencing support.
393
394
395 o   Günther Deschner <gd@samba.org>
396     * BUG 6929: Fix build with recent heimdal.
397     * Fix several printing issues.
398     * Fix the build on Mac OS X 10.6.2.
399     * Fix net and rpcclient after setprinterdataex changes.
400     * Add full support for level 8 printer drivers.
401     * Add more spoolss architectures to IDL.
402     * Fix enumprinter key client and server.
403     * Fix crash in EnumPrinterDataEx.
404
405
406 o   Björn Jacke <bj@sernet.de>
407     * Prefer posix_fallocate for doing "strict allocate".
408
409
410 o   Matt Kraai <mkraai@beckman.com>
411     * BUG 6860: Fix shared library build on QNX.
412
413
414 o   Volker Lendecke <vl@samba.org>
415     * BUG 6288: SWAT adds a second share when changing parameters of an existing
416       share.
417     * BUG 6435: Fix minor memory corruption.
418     * Restore "fake directory create times" as a share parameter.
419     * Fix explicit stat64 support.
420     * Add support for NetWkstaGetInfo 101 and 102.
421     * Add rpcclient wkssvc_enumerateusers.
422     * De-deprecate "write cache size" to prevent its removal without a proper
423       alternative.
424     * Allow more than 1000 users in BUILTIN\Users.
425
426
427 o   Jim McDonough <jmcd@samba.org>
428     * BUG 6967: Prevent glibc error on 'net ads join'.
429
430
431 o   Lars Müller <lars@samba.org>
432     * BUG 6710: Only install the cifs.upcall man page if CIFSUPCALL_PROGS was
433       set while configure.
434
435
436 o   Ian Puleston <ipuleston@sonicwall.com>
437     * Complete support for NetWkstaGetInfo/NetWkstaEnumUsers.
438
439
440 o   Karolin Seeger <kseeger@samba.org>
441     * Fix the build of the example VFS modules.
442
443
444 o   Bo Yang <boyang@samba.org>
445     * BUG 6879: Fix crash in Winbind.
446     * Fix crash in free_file_list().
447     * Give the user a chance to change password when password will expire soon.
448
449
450 ######################################################################
451 Reporting bugs & Development Discussion
452 #######################################
453
454 Please discuss this release on the samba-technical mailing list or by
455 joining the #samba-technical IRC channel on irc.freenode.net.
456
457 If you do report problems then please try to send high quality
458 feedback. If you don't provide vital information to help us track down
459 the problem then you will probably be ignored.  All bug reports should
460 be filed under the Samba 3.5 product in the project's Bugzilla
461 database (https://bugzilla.samba.org/).
462
463
464 ======================================================================
465 == Our Code, Our Bugs, Our Responsibility.
466 == The Samba Team
467 ======================================================================
468