1 ================================
2 Release Notes for Samba 3.4.0rc1
4 ================================
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/.
13 Major enhancements in Samba 3.4.0 include:
14 ------------------------------------------
16 Configuration changes:
17 o The default passdb backend has been changed to 'tdbsam'!
20 o Samba4 and Samba3 sources are included in the tarball
22 Authentication Changes:
23 o Changed the way smbd handles untrusted domain names given during user
27 o Various fixes including printer change notificiation for Samba spoolss
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
36 o An asynchronous API has been added.
39 o Parameter syntax made more consistent.
46 The default passdb backend has been changed to 'tdbsam'! That breaks existing
47 setups using the 'smbpasswd' backend without explicit declaration! Please use
48 'passdb backend = smbpasswd' if you would like to stick to the 'smbpasswd'
49 backend or convert your smbpasswd entries using e.g. 'pdbedit -i smbpasswd -e
52 The 'tdbsam' backend is much more flexible concerning per user settings
53 like 'profile path' or 'home directory' and there are some commands which do not
54 work with the 'smbpasswd' backend at all.
60 On the way towards a standalone Samba AD domain controller, Samba3 and Samba4
61 branches can be built as "merged" build. That's why Samba3 and Samba4 sources
62 are included in the tarball. The merged build is possible in Samba 3.4.0, but
63 disabled by default. To learn more about the merged build,
64 please see http://wiki.samba.org/index.php/Franky.
66 According to this one, there is no "source" directory included in the tarball at
67 all. Samba3 sources are located in "source3", Samba4 sources are located in
68 "source4". The libraries have been moved to the toplevel directory.
70 To build plain Samba3, please change to "source3" and start the build as usual.
71 To build Samba4 as well, please use the "--enable-merged-build" configure
75 Authentication Changes
76 ======================
78 Previously, when Samba was a domain member and a client was connecting using an
79 untrusted domain name, such as BOGUS\user smbd would remap the untrusted
80 domain to the primary domain smbd was a member of and attempt authentication
81 using that DOMAIN\user name. This differed from how a Windows member server
82 would behave. Now, smbd will replace the BOGUS name with it's SAM name. In
83 the case where smbd is acting as a PDC this will be DOMAIN\user. In the case
84 where smbd is acting as a domain member server this will be WORKSTATION\user.
85 Thus, smbd will never assume that an incoming user name which is not qualified
86 with the same primary domain, is part of smbd's primary domain.
88 While this behavior matches Windows, it may break some workflows which depended
89 on smbd to always pass through bogus names to the DC for verification. A new
90 parameter "map untrusted to domain" can be enabled to revert to the legacy
97 The spoolss subsystem was replaced by autogenerated code based on PIDL. That fixes
98 several printing issues including printer change notificiation on Samba print
99 servers and will stabilize the printing functionality generally.
100 The support for spoolss printing with Windows Vista has been improved.
106 The remaining hand-marshalled DCE/RPC services (ntsvcs, svcctl, eventlog and
107 spoolss) were replaced by autogenerated code based on PIDL.
108 So Günther Deschner finally corrected one of the biggest mistakes in the
109 development of Samba: Hand-marshalled RPC stubs.
113 Samba3 and Samba4 do now share a common tevent library for fd and timer events.
115 The code has been cleaned up and Samba3 and Samba4 do share the major basic
116 interfaces now. That is why the libraries were moved to the toplevel directory.
117 That is one of the first steps to share code and minimize the gap between
120 An asynchronous API has been added.
126 The net command now accepts the common command line parameters most other Samba
127 command line utilities use, with a couple of remaining differences:
129 -l still gives long output for net commands supporting the --long flag. This was
130 more useful than the common --log-base parameter.
132 -i still tells net to read data from stdin (like --stdin) instead of toggling
133 the common --scope flag.
135 -S still tells net the server to connect to (like --server) instead of
136 negotiating the common --signing flag. As -S is probably used by most scripts
137 doing net rpc commands, this would have been a high-impact change for little
140 This change was mainly done to unify the authentification options. Here, one
141 flag changed it's meaning and one useful flag was added.
143 -N used to be the short version of --ntname. It now matches the Samba default of
144 --no-pass. Use this to stop net from prompting for a password if you want
145 anonymous authentication.
147 -A --authentication-file now takes an authentication file with the username and
148 password you want net to use, avoiding a password prompt as with plain -U user
149 or having to give a password on the command line as in -U user%pass.
151 Last but not least net now always falls back to your local unix username if no
152 -U is specified and a username is needed. net rpc commands will now prompt for a
153 password unless one is specified using either -U user%pass or -A auth_file
155 ######################################################################
162 Parameter Name Description Default
163 -------------- ----------- -------
165 access based share enum New No
166 dedicated keytab file New ""
167 kerberos method New default
168 map untrusted to domain New No
169 max open files Changed Default auto detected
170 passdb backend Changed Default tdbsam
171 perfcount module New ""
172 use kerberos keytab Removed
178 net eventlog Import/dump/export native win32 eventlog files.
179 net rpc service create Create a new service.
180 net rpc service delete Delete an existing service.
183 New configure options
184 ---------------------
186 --enable-external-libtalloc Enable external talloc
187 --enable-merged-build Build Samba 4 as well
188 --enable-gnutls Turn on gnutls support
189 --with-statedir=DIR Where to put persistent state files
190 --with-cachedir=DIR Where to put temporary cache files
191 --with-ncalprcdir=DIR Where to put ncalrpc sockets
192 --with-selftest-shrdir=DIR The share directory that make test will be run
194 --with-selftest-custom-conf=PATH
195 An optional custom smb.conf that is included in
196 the server smb.conf during make test
197 --with-wbclient Use external wbclient
198 --with-included-popt Use bundled popt library, not from system
199 --with-libiconv=BASEDIR Use libiconv in BASEDIR/lib and BASEDIR/include
200 --with-sqlite3 SQLITE3 backend support
201 --with-pthreads Include pthreads
202 --with-setproctitle Search for setproctitle support
209 o Steven Danneman <steven.danneman@isilon.com>
210 * Change the way smbd handles untrusted domain names given during user
214 o Guenther Deschner <gd@samba.org>
215 * Replace the hand-marshalled DCE/RPC services ntsvcs, svcctl, eventlog
216 and spoolss by autogenerated code based on PIDL.
217 * Fix several printing issues and improve support for printer change
219 * Add 'net eventlog'.
222 o Volker Lendecke <vl@samba.org>
223 * Add asynchronous API.
226 o Stefan Metzmacher <metze@samba.org>
227 * Make Samba3 and Samba4 share a tevent library.
230 o Dan Sledz <dsledz@isilon.com>
231 * Add two new parameters to control how we verify kerberos tickets.
234 o Danny Tylman <danny.tylman@insightix.com>
235 * Add 'net rpc service' subcommands 'create' and 'delete'.
238 o Jelmer Vernooij <jelmer@samba.org>
239 * Make merged build possible.
240 * Move common libraries to the shared lib/ directory.
243 Changes since 3.4.0pre2
244 -----------------------
247 o Günther Deschner <gd@samba.org>
248 * BUG 5456: Fix "net ads testjoin".
249 * BUG 6458: Fix uninitialized variable in local_password_change().
252 o Volker Lendecke <vl@samba.org>
253 * BUG 6449: 'net rap user add' crashes without -C option.
256 o Simo Sorce <idra@samba.org>
257 * BUG 6081: Make it possible to change machine account sids.
258 * BUG 6333: Consolidate create/delete account paths in pdbedit.
261 Changes since 3.4.0pre1
262 -----------------------
265 o Jeremy Allison <jra@samba.org>
266 * BUG 6291: Fix 'force user'.
267 * BUG 6313: ldapsam_update_sam_account() crashes while doing talloc_free on
269 * BUG 6315: Fix smbd crashes when doing vfs_full_audit on IPC$ close event.
270 * BUG 6330: Fix DFS on AIX.
271 * Fix a bunch of compiler warnings about wrong format types.
272 * Fix the core of the SAMR access functions.
273 * Fix SAMR server for winbindd access.
276 o Michael Adam <obnox@samba.org>
277 * BUG 4271: testparm should not print includes.
278 * BUG 6292: Update config.guess from gnu.org.
279 * BUG 6320: Handle registry config source in file_list.
280 * BUG 6371: Unsuccessful 'net conf setparm' leaves empty share.
281 * BUG 6387: Fix a crash bug in idmap_ldap_unixids_to_sids.
282 * BUG 6415: Filter out of range mappings in default idmap config
284 * BUG 6416: Filter out of range mappings in default idmap config
286 * BUG 6417: Filter out of range mappings in default idmap config
288 * Add dbwrap_tool - a tdb tool that is CTDB-aware.
289 * Hide "config backend" from swat.
290 * Fix linking with --disable-shared-libs.
293 o Kai Blin <kai@samba.org>
294 * BUG #6357: Use Samba default command line arguments in 'net'.
297 o Steven Danneman <steven.danneman@isilon.com>
298 * Fix issue with missing entries when enumerating directories.
299 * Map NULL domains to our global sam name.
302 o Günther Deschner <gd@samba.org>
303 * BUG 5859: Fix renaming of samr objects failed due to samr setuserinfo
305 * BUG 6099: Fix NETLOGON credential chain.
306 * BUG 6253: Use correct value for password expiry calculation.
307 * BUG 6309: Support remote unjoining of Windows 2003 or greater.
308 * BUG 6340: Don't segfault when cleartext trustdom pwd could not be
310 * BUG 6372: usermanager only displaying 1024 groups and aliases.
311 * Fix driver upload for Xerox 4110 PS printer driver.
312 * Add "net dom renamecomputer" to rename machines in a domain.
313 * Inspect the correct computername string before enabling/disabling the
314 change button in netdomjoin-gui.
315 * Fix join prompt dialog test in netdomjoin-gui.
316 * Only gray out labels when not root and not connecting to remote
317 machines (netdomjoin-gui).
318 * Allow to switch between workgroups/domains with the same name
320 * Add NetShutdownInit and NetShutdownAbort.
321 * Fix samr access checks.
322 * Add a security model to LSA.
323 * Fix nss_wrapper build for Solaris.
326 o Geza Gemes <geza@kzsdabas.hu>
327 * BUG 6136: New AFS syscall conventions.
330 o Ole Hansen <ole@redvw.com>
331 * BUG 6359: smbclient -L does not list workgroup for hosts with both IPv4
335 o Björn Jacke <bj@sernet.de>
336 * BUG 4831: Don't call openlog() or closelog() from pam_smbpass.
337 * Also handle DirX return codes.
340 o Volker Lendecke <vl@samba.org>
341 * BUG 5681: Do not limit the number of network interfaces.
342 * BUG 6157: Fix handling of multi-value attribute "uid".
343 * BUG 6302: Give the VFS a chance to read from 0-byte files.
344 * BUG 6336: Fix segfault in 'net groupmap set'.
345 * BUG 6361: Make --rcfile work in smbget.
346 * Do not crash in ctdbd_traverse if ctdbd is not around.
347 * Fix Coverity ID 897.
348 * Fix a race condition in vfs_aio_fork with gpfs share modes.
349 * Fix bug disclosed by lock8 torture test.
350 * Fix a race condition in winbind leading to a panic.
351 * Attempt to fix a Debian build problem.
354 o Jim McDonough <jmcd@samba.org>
355 * Detect tight loop in tdb_find().
358 o Stefan Metzmacher <metze@samba.org>
359 * BUG 2346: Fix posix ACLs when setting an ACL without explicit ACE for the
363 o Tim Prouty <tprouty@samba.org>
364 * Fix chained sesssetupAndX/tconn messages.
365 * Fix strict locking with chained reads.
366 * Fix two bugs in sendfile.
369 o Slava Semushin <php-coder@altlinux.ru>
371 * Fix file descriptor leak.
374 o Aravind Srinivasan <aravind.srinivasan@isilon.com>
375 * Fallback to the legacy sid_to_(uid|gid) instead of returning NULL.
376 * Always allocate memory in dptr_ReadDirName.
379 o Kumar Thangavelu <Kumar.Thangavelu@riverbed.com>
380 * Fix 'net' crash during domain join.
383 o Marc VanHeyningen <marc.vanheyningen@isilon.com>
384 * Zero an uninitialized array.
385 * Allow child processes to exit gracefully if we are out of fds.
388 ######################################################################
389 Reporting bugs & Development Discussion
390 #######################################
392 Please discuss this release on the samba-technical mailing list or by
393 joining the #samba-technical IRC channel on irc.freenode.net.
395 If you do report problems then please try to send high quality
396 feedback. If you don't provide vital information to help us track down
397 the problem then you will probably be ignored. All bug reports should
398 be filed under the Samba 3.4 product in the project's Bugzilla
399 database (https://bugzilla.samba.org/).
402 ======================================================================
403 == Our Code, Our Bugs, Our Responsibility.
405 ======================================================================