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