Fix bug #6421 - POSIX read-only open fails on read-only shares.
[Samba.git] / WHATSNEW.txt
blob7060d85cc4f7e7a005f783665d80c236859a5f81
1                    =================================
2                    Release Notes for Samba 3.4.0pre2
3                             June 02, 2009
4                    =================================
7 This is the second preview release 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/.
13 Major enhancements in Samba 3.4.0 include:
14 ------------------------------------------
16 General changes:
17 o Samba4 and Samba3 sources are included in the tarball
19 Authentication Changes:
20 o Changed the way smbd handles untrusted domain names given during user
21   authentication.
23 Printing Changes:
24 o Various fixes including printer change notificiation for Samba spoolss
25   print servers.
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.
35 net Command Changes:
36 o Parameter syntax made more consistent.
38 General Changes
39 ===============
41 On the way towards a standalone Samba AD domain controller, Samba3 and Samba4
42 branches can be built as "merged" build. That's why Samba3 and Samba4 sources
43 are included in the tarball. The merged build is possible in Samba 3.4.0, but
44 disabled by default. To learn more about the merged build,
45 please see http://wiki.samba.org/index.php/Franky.
47 According to this one, there is no "source" directory included in the tarball at
48 all. Samba3 sources are located in "source3", Samba4 sources are located in
49 "source4". The libraries have been moved to the toplevel directory.
51 To build plain Samba3, please change to "source3" and start the build as usual.
52 To build Samba4 as well, please use the "--enable-merged-build" configure
53 option.
56 Authentication Changes
57 ======================
59 Previously, when Samba was a domain member and a client was connecting using an
60 untrusted domain name, such as BOGUS\user smbd would remap the untrusted
61 domain to the primary domain smbd was a member of and attempt authentication
62 using that DOMAIN\user name.  This differed from how a Windows member server
63 would behave.  Now, smbd will replace the BOGUS name with it's SAM name.  In
64 the case where smbd is acting as a PDC this will be DOMAIN\user.  In the case
65 where smbd is acting as a domain member server this will be WORKSTATION\user.
66 Thus, smbd will never assume that an incoming user name which is not qualified
67 with the same primary domain, is part of smbd's primary domain.
69 While this behavior matches Windows, it may break some workflows which depended
70 on smbd to always pass through bogus names to the DC for verification.  A new
71 parameter "map untrusted to domain" can be enabled to revert to the legacy
72 behavior.
75 Printing Changes
76 ================
78 The spoolss subsystem was replaced by autogenerated code based on PIDL. That fixes
79 several printing issues including printer change notificiation on Samba print
80 servers and will stabilize the printing functionality generally.
81 The support for spoolss printing with Windows Vista has been improved.
84 Internal Changes
85 ================
87 The remaining hand-marshalled DCE/RPC services (ntsvcs, svcctl, eventlog and
88 spoolss) were replaced by autogenerated code based on PIDL.
89 So Günther Deschner finally corrected one of the biggest mistakes in the
90 development of Samba: Hand-marshalled RPC stubs.
92 Thanks a lot! :-)
94 Samba3 and Samba4 do now share a common tevent library for fd and timer events.
96 The code has been cleaned up and Samba3 and Samba4 do share the major basic
97 interfaces now. That is why the libraries were moved to the toplevel directory.
98 That is one of the first steps to share code and minimize the gap between
99 these two versions.
101 An asynchronous API has been added.
104 net Command Changes
105 ===================
107 The net command now accepts the common command line parameters most other Samba
108 command line utilities use, with a couple of remaining differences:
110 -l still gives long output for net commands supporting the --long flag. This was
111 more useful than the common --log-base parameter.
113 -i still tells net to read data from stdin (like --stdin) instead of toggling
114 the common --scope flag.
116 -S still tells net the server to connect to (like --server) instead of
117 negotiating the common --signing flag. As -S is probably used by most scripts
118 doing net rpc commands, this would have been a high-impact change for little
119 gain.
121 This change was mainly done to unify the authentification options. Here, one
122 flag changed it's meaning and one useful flag was added.
124 -N used to be the short version of --ntname. It now matches the Samba default of
125 --no-pass. Use this to stop net from prompting for a password if you want
126 anonymous authentication.
128 -A --authentication-file now takes an authentication file with the username and
129 password you want net to use, avoiding a password prompt as with plain -U user
130 or having to give a password on the command line as in -U user%pass.
132 Last but not least net now always falls back to your local unix username if no
133 -U is specified and a username is needed. net rpc commands will now prompt for a
134 password unless one is specified using either -U user%pass or -A auth_file
136 ######################################################################
137 Changes
138 #######
140 smb.conf changes
141 ----------------
143    Parameter Name                      Description     Default
144    --------------                      -----------     -------
146    access based share enum             New             No
147    dedicated keytab file               New             ""
148    kerberos method                     New             default
149    map untrusted to domain             New             No
150    max open files                      Changed Default auto detected
151    perfcount module                    New             ""
152    use kerberos keytab                 Removed
155 New [sub]commands
156 -----------------
158    net eventlog                 Import/dump/export native win32 eventlog files.
159    net rpc service create       Create a new service.
160    net rpc service delete       Delete an existing service.
163 New configure options
164 ---------------------
166 --enable-external-libtalloc     Enable external talloc
167 --enable-merged-build           Build Samba 4 as well
168 --enable-gnutls                 Turn on gnutls support
169 --with-statedir=DIR             Where to put persistent state files
170 --with-cachedir=DIR             Where to put temporary cache files
171 --with-ncalprcdir=DIR           Where to put ncalrpc sockets
172 --with-selftest-shrdir=DIR      The share directory that make test will be run
173                                 against
174 --with-selftest-custom-conf=PATH
175                                 An optional custom smb.conf that is included in
176                                 the server smb.conf during make test
177 --with-wbclient                 Use external wbclient
178 --with-included-popt            Use bundled popt library, not from system
179 --with-libiconv=BASEDIR         Use libiconv in BASEDIR/lib and BASEDIR/include
180 --with-sqlite3                  SQLITE3 backend support
181 --with-pthreads                 Include pthreads
182 --with-setproctitle             Search for setproctitle support
185 Commit Highlights
186 =================
189 o   Steven Danneman <steven.danneman@isilon.com>
190     * Change the way smbd handles untrusted domain names given during user
191       authentication.
194 o   Guenther Deschner <gd@samba.org>
195     * Replace the hand-marshalled DCE/RPC services ntsvcs, svcctl, eventlog
196       and spoolss by autogenerated code based on PIDL.
197     * Fix several printing issues and improve support for printer change
198       notificiations.
199     * Add 'net eventlog'.
202 o   Volker Lendecke <vl@samba.org>
203     * Add asynchronous API.
206 o   Stefan Metzmacher <metze@samba.org>
207     * Make Samba3 and Samba4 share a tevent library.
210 o   Dan Sledz <dsledz@isilon.com>
211     * Add two new parameters to control how we verify kerberos tickets.
214 o   Danny Tylman <danny.tylman@insightix.com>
215     * Add 'net rpc service' subcommands 'create' and 'delete'.
218 o   Jelmer Vernooij <jelmer@samba.org>
219     * Make merged build possible.
220     * Move common libraries to the shared lib/ directory.
223 Changes since 3.4.0pre1
224 -----------------------
227 o   Jeremy Allison <jra@samba.org>
228     * BUG 6291: Fix 'force user'.
229     * BUG 6313: ldapsam_update_sam_account() crashes while doing talloc_free on
230       malloced memory.
231     * BUG 6315: Fix smbd crashes when doing vfs_full_audit on IPC$ close event.
232     * BUG 6330: Fix DFS on AIX.
233     * Fix a bunch of compiler warnings about wrong format types.
234     * Fix the core of the SAMR access functions.
235     * Fix SAMR server for winbindd access.
238 o   Michael Adam <obnox@samba.org>
239     * BUG 4271: testparm should not print includes.
240     * BUG 6292: Update config.guess from gnu.org.
241     * BUG 6320: Handle registry config source in file_list.
242     * BUG 6371: Unsuccessful 'net conf setparm' leaves empty share.
243     * BUG 6387: Fix a crash bug in idmap_ldap_unixids_to_sids.
244     * BUG 6415: Filter out of range mappings in default idmap config
245       (idmap_tdb).
246     * BUG 6416: Filter out of range mappings in default idmap config
247       (idmap_tdb2).
248     * BUG 6417: Filter out of range mappings in default idmap config
249       (idmap_ldap).
250     * Add dbwrap_tool - a tdb tool that is CTDB-aware.
251     * Hide "config backend" from swat.
252     * Fix linking with --disable-shared-libs.
255 o   Kai Blin <kai@samba.org>
256     * BUG #6357: Use Samba default command line arguments in 'net'.
259 o   Steven Danneman <steven.danneman@isilon.com>
260     * Fix issue with missing entries when enumerating directories.
261     * Map NULL domains to our global sam name.
264 o   Günther Deschner <gd@samba.org>
265     * BUG 5859: Fix renaming of samr objects failed due to samr setuserinfo
266       access checks.
267     * BUG 6099: Fix NETLOGON credential chain.
268     * BUG 6253: Use correct value for password expiry calculation.
269     * BUG 6309: Support remote unjoining of Windows 2003 or greater.
270     * BUG 6340: Don't segfault when cleartext trustdom pwd could not be
271       retrieved.
272     * BUG 6372: usermanager only displaying 1024 groups and aliases.
273     * Fix driver upload for Xerox 4110 PS printer driver.
274     * Add "net dom renamecomputer" to rename machines in a domain.
275     * Inspect the correct computername string before enabling/disabling the
276       change button in netdomjoin-gui.
277     * Fix join prompt dialog test in netdomjoin-gui.
278     * Only gray out labels when not root and not connecting to remote
279       machines (netdomjoin-gui).
280     * Allow to switch between workgroups/domains with the same name
281       (netdomjoin-gui).
282     * Add NetShutdownInit and NetShutdownAbort.
283     * Fix samr access checks.
284     * Add a security model to LSA.
287 o   Geza Gemes <geza@kzsdabas.hu>
288     * BUG 6136: New AFS syscall conventions.
291 o   Ole Hansen <ole@redvw.com>
292     * BUG 6359: smbclient -L does not list workgroup for hosts with both IPv4
293       and IPv6 addresses
296 o   Björn Jacke <bj@sernet.de>
297     * BUG 4831: Don't call openlog() or closelog() from pam_smbpass.
298     * Also handle DirX return codes.
301 o   Volker Lendecke <vl@samba.org>
302     * BUG 5681: Do not limit the number of network interfaces.
303     * BUG 6157: Fix handling of multi-value attribute "uid".
304     * BUG 6302: Give the VFS a chance to read from 0-byte files.
305     * BUG 6336: Fix segfault in 'net groupmap set'.
306     * BUG 6361: Make --rcfile work in smbget.
307     * Do not crash in ctdbd_traverse if ctdbd is not around.
308     * Fix Coverity ID 897.
309     * Fix a race condition in vfs_aio_fork with gpfs share modes.
310     * Fix bug disclosed by lock8 torture test.
311     * Fix a race condition in winbind leading to a panic.
312     * Attempt to fix a Debian build problem.
315 o   Jim McDonough <jmcd@samba.org>
316     * Detect tight loop in tdb_find().
319 o   Stefan Metzmacher <metze@samba.org>
320     * BUG 2346: Fix posix ACLs when setting an ACL without explicit ACE for the
321       owner.
324 o   Tim Prouty <tprouty@samba.org>
325     * Fix chained sesssetupAndX/tconn messages.
326     * Fix strict locking with chained reads.
327     * Fix two bugs in sendfile.
330 o   Slava Semushin <php-coder@altlinux.ru>
331     * Fix memory leak.
332     * Fix file descriptor leak.
335 o   Aravind Srinivasan <aravind.srinivasan@isilon.com>
336     * Fallback to the legacy sid_to_(uid|gid) instead of returning NULL.
337     * Always allocate memory in dptr_ReadDirName.
340 o   Marc VanHeyningen <marc.vanheyningen@isilon.com>
341     * Zero an uninitialized array.
342     * Allow child processes to exit gracefully if we are out of fds.
345 ######################################################################
346 Reporting bugs & Development Discussion
347 #######################################
349 Please discuss this release on the samba-technical mailing list or by
350 joining the #samba-technical IRC channel on irc.freenode.net.
352 If you do report problems then please try to send high quality
353 feedback. If you don't provide vital information to help us track down
354 the problem then you will probably be ignored.  All bug reports should
355 be filed under the Samba 3.4 product in the project's Bugzilla
356 database (https://bugzilla.samba.org/).
359 ======================================================================
360 == Our Code, Our Bugs, Our Responsibility.
361 == The Samba Team
362 ======================================================================