1 =================================
2 Release Notes for Samba 3.4.0pre2
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 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.0pre1
244 -----------------------
247 o Jeremy Allison <jra@samba.org>
248 * BUG 6291: Fix 'force user'.
249 * BUG 6313: ldapsam_update_sam_account() crashes while doing talloc_free on
251 * BUG 6315: Fix smbd crashes when doing vfs_full_audit on IPC$ close event.
252 * BUG 6330: Fix DFS on AIX.
253 * Fix a bunch of compiler warnings about wrong format types.
254 * Fix the core of the SAMR access functions.
255 * Fix SAMR server for winbindd access.
258 o Michael Adam <obnox@samba.org>
259 * BUG 4271: testparm should not print includes.
260 * BUG 6292: Update config.guess from gnu.org.
261 * BUG 6320: Handle registry config source in file_list.
262 * BUG 6371: Unsuccessful 'net conf setparm' leaves empty share.
263 * BUG 6387: Fix a crash bug in idmap_ldap_unixids_to_sids.
264 * BUG 6415: Filter out of range mappings in default idmap config
266 * BUG 6416: Filter out of range mappings in default idmap config
268 * BUG 6417: Filter out of range mappings in default idmap config
270 * Add dbwrap_tool - a tdb tool that is CTDB-aware.
271 * Hide "config backend" from swat.
272 * Fix linking with --disable-shared-libs.
275 o Kai Blin <kai@samba.org>
276 * BUG #6357: Use Samba default command line arguments in 'net'.
279 o Steven Danneman <steven.danneman@isilon.com>
280 * Fix issue with missing entries when enumerating directories.
281 * Map NULL domains to our global sam name.
284 o Günther Deschner <gd@samba.org>
285 * BUG 5859: Fix renaming of samr objects failed due to samr setuserinfo
287 * BUG 6099: Fix NETLOGON credential chain.
288 * BUG 6253: Use correct value for password expiry calculation.
289 * BUG 6309: Support remote unjoining of Windows 2003 or greater.
290 * BUG 6340: Don't segfault when cleartext trustdom pwd could not be
292 * BUG 6372: usermanager only displaying 1024 groups and aliases.
293 * Fix driver upload for Xerox 4110 PS printer driver.
294 * Add "net dom renamecomputer" to rename machines in a domain.
295 * Inspect the correct computername string before enabling/disabling the
296 change button in netdomjoin-gui.
297 * Fix join prompt dialog test in netdomjoin-gui.
298 * Only gray out labels when not root and not connecting to remote
299 machines (netdomjoin-gui).
300 * Allow to switch between workgroups/domains with the same name
302 * Add NetShutdownInit and NetShutdownAbort.
303 * Fix samr access checks.
304 * Add a security model to LSA.
305 * Fix nss_wrapper build for Solaris.
308 o Geza Gemes <geza@kzsdabas.hu>
309 * BUG 6136: New AFS syscall conventions.
312 o Ole Hansen <ole@redvw.com>
313 * BUG 6359: smbclient -L does not list workgroup for hosts with both IPv4
317 o Björn Jacke <bj@sernet.de>
318 * BUG 4831: Don't call openlog() or closelog() from pam_smbpass.
319 * Also handle DirX return codes.
322 o Volker Lendecke <vl@samba.org>
323 * BUG 5681: Do not limit the number of network interfaces.
324 * BUG 6157: Fix handling of multi-value attribute "uid".
325 * BUG 6302: Give the VFS a chance to read from 0-byte files.
326 * BUG 6336: Fix segfault in 'net groupmap set'.
327 * BUG 6361: Make --rcfile work in smbget.
328 * Do not crash in ctdbd_traverse if ctdbd is not around.
329 * Fix Coverity ID 897.
330 * Fix a race condition in vfs_aio_fork with gpfs share modes.
331 * Fix bug disclosed by lock8 torture test.
332 * Fix a race condition in winbind leading to a panic.
333 * Attempt to fix a Debian build problem.
336 o Jim McDonough <jmcd@samba.org>
337 * Detect tight loop in tdb_find().
340 o Stefan Metzmacher <metze@samba.org>
341 * BUG 2346: Fix posix ACLs when setting an ACL without explicit ACE for the
345 o Tim Prouty <tprouty@samba.org>
346 * Fix chained sesssetupAndX/tconn messages.
347 * Fix strict locking with chained reads.
348 * Fix two bugs in sendfile.
351 o Slava Semushin <php-coder@altlinux.ru>
353 * Fix file descriptor leak.
356 o Aravind Srinivasan <aravind.srinivasan@isilon.com>
357 * Fallback to the legacy sid_to_(uid|gid) instead of returning NULL.
358 * Always allocate memory in dptr_ReadDirName.
361 o Kumar Thangavelu <Kumar.Thangavelu@riverbed.com>
362 * Fix 'net' crash during domain join.
365 o Marc VanHeyningen <marc.vanheyningen@isilon.com>
366 * Zero an uninitialized array.
367 * Allow child processes to exit gracefully if we are out of fds.
370 ######################################################################
371 Reporting bugs & Development Discussion
372 #######################################
374 Please discuss this release on the samba-technical mailing list or by
375 joining the #samba-technical IRC channel on irc.freenode.net.
377 If you do report problems then please try to send high quality
378 feedback. If you don't provide vital information to help us track down
379 the problem then you will probably be ignored. All bug reports should
380 be filed under the Samba 3.4 product in the project's Bugzilla
381 database (https://bugzilla.samba.org/).
384 ======================================================================
385 == Our Code, Our Bugs, Our Responsibility.
387 ======================================================================