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