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