s3:vfs_aixacl2: add missing semicolon
[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 o   Günther Deschner <gd@samba.org>
135     * BUG 7181: Fix 'net ads dns' usage calls.
136     * BUG 7182: Fix uninitialized variable in wkssvc_enumerateusers.
137
138
139 o   Volker Lendecke <vl@samba.org>
140     * BUG 7145: Fix duplicate sam and unix accounts.
141     * BUG 7166: Avoid calling cli_alloc_mid twice in cli_smb_req_iov_send.
142
143
144 o   Stefan Metzmacher <metze@samba.org>
145     * BUG 7160: Keep the the correct negotiate_flags on the cli->dc structure.
146
147
148 Changes since 3.5.0rc2
149 ----------------------
150
151
152 o   Jeremy Allison <jra@samba.org>
153     * BUG 6557: Fix vfs_full_audit.
154     * BUG 6876: Fix duplicate initializer in the rmdir module.
155     * BUG 7063: Fix core dump on Ubuntu 8.04 64 bit.
156     * BUG 7067: Fix failing of smbd to respond to a read or a write caused by
157       Linux asynchronous IO (aio).
158     * BUG 7069: Fix 'smbget' error status.
159     * BUG 7072: Fix unlocking of accounts from ldap.
160     * BUG 7079  Cliconnect gets realm wrong with trusted domains.
161     * BUG 7081: Fix vfs_expand_msdfs.
162     * BUG 7084: Fix storing of create time on directories in an EA in new
163       create time code.
164     * BUG 7104: "wide links" and "unix extensions" are incompatible.
165     * BUG 7118: Fix nmbd problems with socket address.
166     * BUG 7122: Fix reading of large browselist.
167     * BUG 7154: "mangling method = hash" can crash storing a name containing a '.'.
168     * BUG 7155: Valgrind Conditional jump or move depends on uninitialised
169       value(s) error when "mangling method = hash"..
170
171
172 o   Steven Danneman <steven.danneman@isilon.com>
173     * BUG 7096: Fix string buffer overflow causing heap corruption in smbd.
174
175
176 o   Günther Deschner <gd@samba.org>
177     * BUG 6888: Fix printing with 64 bit clients.
178     * BUG 7130: Fix listing of printjobs in  Windows 7.
179     * BUG 7148: Fix get_acl_blob in the acl_tdb VFS module.
180
181
182 o   Björn Jacke <bj@sernet.de>
183     * BUG 7103: Fix build issue on Tru64.
184     * BUG 7116: Change ldap filter to what really was intended.
185     * Fix some wrong newlines in de translation strings.
186
187
188 o   Jeff Layton <jlayton@redhat.com>
189     * BUG 6868: Fix crash bug in 'cifs.upcall'.
190
191
192 o   Volker Lendecke <vl@samba.org>
193     * BUG 7085: Fix an early release of the global lock that can cause data
194       corruption in libtdb.
195     * BUG 7139: Owner of file not available with Kerberos.
196
197
198 o   Stefan Metzmacher <metze@samba.org>
199     * BUG 6888: Fix printing with 64 bit clients.
200     * BUG 7098: Fix results of 'smbclient -L' with a large browse list.
201     * BUG 7116: Add pdb_ldap performance fixes.
202     * BUG 7118: Add new "nmbd bind explicit broadcast" parameter.
203     * BUG 7119: Support large browselist.
204     * BUG 7140: Fix IPv4/IPv6 problems.
205
206
207 o   Lars Müller <lars@samba.org>
208     * BUG 7071: Fix build of 'smbfilter'.
209     * BUG 7047: Add cross option to samba_cv_linux_getgrouplist_ok.
210     * BUG 7102: Normalize "Changing password for" msg IDs and STRs.
211
212
213 o   Olivier Sessink <olivier@virtscano.fakenet>
214     * BUG 7076: Fix build of vfs_scannedonly on AIX.
215
216
217 o   Bo Yang <boyang@samba.org>
218     * BUG 7106: Fix malformed require_membership_of_sid.
219
220
221
222 Changes since 3.5.0rc1
223 ----------------------
224
225
226 o   Michael Adam <obnox@samba.org>
227     * BUG 4347: Check password history before increasing "badPasswordCount".
228
229
230 o   Jeremy Allison <jra@samba.org>
231     * BUG 5202: Fix changing of ACLs on writable file with "dos filemode=yes".
232     * BUG 6876: Fix deletion of an object whose parent folder does not have delete
233       rights fails even if the delete right is set on the object in
234       vfs_acl_xattr and vfs_acl_tdb.
235     * BUG 7033: Fix SMBrmdir error message when deleting a directory fails.
236     * BUG 7036: Fix 'net rpc getsid' in hardened Windows environments.
237     * BUG 7045: Fix bad (non memory copying) interfaces in smbc_setXXXX calls.
238
239
240 o   Giovanni Bajo <rasky@develer.com>
241     * BUG 7029: Disable sanity check in NetShareEnum for better compatibility
242       with Windows.
243
244
245 o   Kai Blin <kai@samba.org>
246     * BUG 7039: Fix compile error with WITH_DNS_UPDATE. Update .po files.
247
248
249 o   Günther Deschner <gd@samba.org>
250     * BUG 7043: Fix crash bug in libsmbclient.
251
252
253 o   André Hentschel <nerv@dawncrow.de>
254     * BUG 7039: Complete German translation of 'net'.
255
256
257 o   Björn Jacke <bj@sernet.de>
258     * BUG 7039: Improve some German translations in 'net'.
259
260
261 o   William Jojo <w.jojo@hvcc.edu>
262     * BUG 7052: Fix DFS on AIX.
263
264
265 o   Volker Lendecke <vl@samba.org>
266     * BUG 6981: Fix large paged search with DirX LDAP servers.
267     * BUG 7027: Fix a segfault in winbindd_dual_ccache_ntlm_auth().
268     * BUG 7037: Fix a Winbind segfault in "trusted_domains".
269     * BUG 7046: Fix libsmbclient crash against OpenSolaris CIFS server.
270     * BUG 7062: Make 'net', 'smbclient' and libsmbclient use the logon
271       credentials cached by Winbind.
272     * Lock down some srvsvc calls according to what w2k3 seems to do.
273
274
275 o   Stefan Metzmacher <metze@samba.org>
276     * BUG 6157: Restore Samba 3.0.x behavior and use the first "uid" value in
277       pdb_ldap.
278
279
280 o   SASAJIMA Toshihiro <sasajima_t@jp.fujitsu.com>
281     * BUG 7034: Fix segfault in vfs_cap.
282
283
284 o   Olivier Sessink <oliviersessink@gmail.com>
285     * BUG 7028: Add new scannedonly VFS module.
286
287
288 Changes since 3.5.0pre2
289 -----------------------
290
291 o   Jeremy Allison <jra@samba.org>
292     * BUG 6837: Fix "Too many open files" when trying to access large number of
293       files with Windows 7.
294     * BUG 6939: Fix long filenames when "mangling method" is set to "hash".
295     * BUG 7020: Fix smbd using 2G memory.
296     * Ensure dos_mode can return FILE_ATTRIBUTE_NORMAL, then filter the returned
297       attributes by protocol level.
298     * Vector correctly through reply_openerror() (which uses the same logic).
299     * Fix bugs with the full Windows ACL support.
300
301
302 o   Kai Blin <kai@samba.org>
303     * Add a few missing gettext calls to the 'net' command.
304     * Fix up a share type translation and translate some more strings in 'net'.
305
306
307 o   Günther Deschner <gd@samba.org>
308     * Allow to call "pdbedit -N description -u user" without specifiyng "-r".
309     * Add spoolss_DriverInfo7.
310     * Fix rpcclient after setprinter IDL fixes.
311     * Use generated krb5.conf in 'net ads testjoin'.
312
313
314 o   Jonas Gorski <jonas.gorski+samba@gmail.com>
315     * BUG 6992: make test for getgrouplist cacheable.
316
317
318 o   André Hentschel <nerv@dawncrow.de>
319     * Add some German translations for the 'net' command.
320
321
322 o   Suresh Jayaraman <sjayaraman@suse.de>
323     * Update mount.cifs man page with nounix option.
324
325
326 o   Volker Lendecke <vl@samba.org>
327     * Fix _samr_GetAliasMembership for results with 0 rids.
328     * Fix an error case in cli_negprot.
329     * Add a lower-cost alternative to wbinfo -t: wbinfo --ping-dc.
330     * Restore correct timeouts for SMB requests.
331     * Fix a 64-bit error in libsmb.
332     * Replace IS_DOMAIN_OFFLINE by a function in Winbind.
333     * Simplify/cleanup Winbind code.
334
335
336 o   Kamen Mazdrashki <kamen.mazdrashki@postpath.com>
337     * Fix write behind memory block in libtalloc.
338     * Fix result check for getaddrinfo().
339
340
341 o   Jim McDonough <jmcd@samba.org>
342     * BUG 7014: Fix Winbind crash when retrieving empty group members.
343
344
345 o   Brian Lu <brian.lu@sun.com>
346     * BUG 6991: Create symbol links to shared libraries.
347
348
349 o   Stefan Metzmacher <metze@samba.org>
350     * Add tsocket_address_bsd_sockaddr() and tsocket_address_bsd_from_sockaddr()
351       to tsocket.
352     * Always set tdb->tracefd to -1 to be safe on goto fail in libtdb.
353     * Add TDB_DISALLOW_NESTING and make TDB_ALLOW_NESTING the default behavior.
354     * Fix standalone 'make installdocs'.
355
356
357 o   Peter Rosin <peda@lysator.liu.se>
358     * Output %p as unsigned in snprintf replacement.
359
360
361 o   Ronnie Sahlberg <ronniesahlberg@gmail.com>
362     * New attempt at TDB transaction nesting allow/disallow.
363
364
365 o   Kirill Smelkov <kirr@mns.spb.ru>
366     * Remove swig stuff from libtdb.
367     * Reset tdb->fd to -1 in tdb_close() in libtdb.
368
369
370 o   Simo Sorce <idra@samba.org>
371     * Change the way mksysms work in libtalloc.
372
373
374 o   Jelmer Vernooij <jelmer@samba.org>
375     * Also build and install tdb manpages from standalone tdb.
376
377
378 o   Bo Yang <boyang@samba.org>
379     * Fix infinite loop in NCACN_IP_TCP as there is no timeout.
380     * Make winbindd_cache.c aware of domain offline to avoid unnecessary backend
381       query.
382     * List trusted domains from wcache when domain is offline.
383
384
385 Changes since 3.5.0pre1
386 -----------------------
387
388 o   Michael Adam <obnox@samba.org>
389     * Fix the build when no external talloc and tdb are installed.
390     * Fix detection of CTDB headers on systems without system-libtalloc.
391
392
393 o   Jeremy Allison <jra@samba.org>
394     * BUG 6802: A created folder does not properly inherit permissions from
395       parent in vfs_acl_xattr.
396     * BUG 6837: "Too many open files" when trying to access large number of
397       files from Windows 7.
398     * BUG 6938 : No hook exists to check creation rights when using acl_xattr
399       module.
400     * Fix vfs_acl_xattr which was failing to call the NEXT connect function.
401     * Restructure the ACL code.
402     * Refactor reply_rmdir to use handle based code.
403
404
405 o   Dan Cox <dan@wep.net>
406     * BUG 2350: Add LDAP Alias Dereferencing support.
407
408
409 o   Günther Deschner <gd@samba.org>
410     * BUG 6929: Fix build with recent heimdal.
411     * Fix several printing issues.
412     * Fix the build on Mac OS X 10.6.2.
413     * Fix net and rpcclient after setprinterdataex changes.
414     * Add full support for level 8 printer drivers.
415     * Add more spoolss architectures to IDL.
416     * Fix enumprinter key client and server.
417     * Fix crash in EnumPrinterDataEx.
418
419
420 o   Björn Jacke <bj@sernet.de>
421     * Prefer posix_fallocate for doing "strict allocate".
422
423
424 o   Matt Kraai <mkraai@beckman.com>
425     * BUG 6860: Fix shared library build on QNX.
426
427
428 o   Volker Lendecke <vl@samba.org>
429     * BUG 6288: SWAT adds a second share when changing parameters of an existing
430       share.
431     * BUG 6435: Fix minor memory corruption.
432     * Restore "fake directory create times" as a share parameter.
433     * Fix explicit stat64 support.
434     * Add support for NetWkstaGetInfo 101 and 102.
435     * Add rpcclient wkssvc_enumerateusers.
436     * De-deprecate "write cache size" to prevent its removal without a proper
437       alternative.
438     * Allow more than 1000 users in BUILTIN\Users.
439
440
441 o   Jim McDonough <jmcd@samba.org>
442     * BUG 6967: Prevent glibc error on 'net ads join'.
443
444
445 o   Lars Müller <lars@samba.org>
446     * BUG 6710: Only install the cifs.upcall man page if CIFSUPCALL_PROGS was
447       set while configure.
448
449
450 o   Ian Puleston <ipuleston@sonicwall.com>
451     * Complete support for NetWkstaGetInfo/NetWkstaEnumUsers.
452
453
454 o   Karolin Seeger <kseeger@samba.org>
455     * Fix the build of the example VFS modules.
456
457
458 o   Bo Yang <boyang@samba.org>
459     * BUG 6879: Fix crash in Winbind.
460     * Fix crash in free_file_list().
461     * Give the user a chance to change password when password will expire soon.
462
463
464 ######################################################################
465 Reporting bugs & Development Discussion
466 #######################################
467
468 Please discuss this release on the samba-technical mailing list or by
469 joining the #samba-technical IRC channel on irc.freenode.net.
470
471 If you do report problems then please try to send high quality
472 feedback. If you don't provide vital information to help us track down
473 the problem then you will probably be ignored.  All bug reports should
474 be filed under the Samba 3.5 product in the project's Bugzilla
475 database (https://bugzilla.samba.org/).
476
477
478 ======================================================================
479 == Our Code, Our Bugs, Our Responsibility.
480 == The Samba Team
481 ======================================================================
482