1 =================================
2 Release Notes for Samba 3.6.0pre3
4 =================================
7 This is the third preview release of Samba 3.6.0. 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.6.0 include:
16 Changed security defaults
17 -------------------------
19 Samba 3.6 has adopted a number of improved security defaults that will
20 impact on existing users of Samba.
22 client ntlmv2 auth = yes
23 client use spnego principal = no
24 send spnego principal = no
26 The impact of 'client ntlmv2 auth = yes' is that by default we will not
27 use NTLM authentication as a client. This applies to the Samba client
28 tools such as smbclient and winbind, but does not change the separately
29 released in-kernel CIFS client. To re-enable the poorer NTLM encryption
30 set '--option=clientusentlmv2auth=no' on your smbclient command line, or
31 set 'client ntlmv2 auth = no' in your smb.conf
33 The impact of 'client use spnego principal = no' is that we may be able
34 to use Kerberos to communicate with a server less often in smbclient,
35 winbind and other Samba client tools. We may fall back to NTLMSSP in
36 more situations where we would previously rely on the insecure
37 indication from the 'NegProt' CIFS packet. This mostly occursed when
38 connecting to a name alias not recorded as a servicePrincipalName for
39 the server. This indication is not available from Windows 2008 or later
40 in any case, and is not used by modern Windows clients, so this makes
41 Samba's behaviour consistent with other clients and against all servers.
43 The impact of 'send spnego principal = no' is to match Windows 2008 and
44 not to send this principal, making existing clients give more consistent
45 behaviour (more likely to fall back to NTLMSSP) between Samba and
46 Windows 2008, and between Windows versions that did and no longer use
53 SMB2 support in 3.6.0 is fully functional (with one omission),
54 and can be enabled by setting:
58 in the [global] section of your smb.conf and re-starting
59 Samba. All features should work over SMB2 except the modification
60 of user quotas using the Windows quota management tools.
62 As this is the first release containing what we consider
63 to be a fully featured SMB2 protocol, we are not enabling
64 this by default, but encourage users to enable SMB2 and
65 test it. Once we have enough confirmation from Samba
66 users and OEMs that SMB2 support is stable in wide user
67 testing we will enable SMB2 by default in a future Samba
71 Internal Winbind passdb changes
72 -------------------------------
74 Winbind has been changed to use the internal samr and lsa rpc pipe to get
75 local user and group information instead of calling passdb functions. The
76 reason is to use more of our infrastructure and test this infrastructure by
77 using it. With this approach more code in Winbind is shared.
83 The spoolss and the old RAP printing code have been completely
84 overhauled and refactored.
86 All calls from lanman/printing code has been changed to go through the
87 spoolss RPC interfaces, this allows us to keep all checks in one place
88 and avoid special cases in the main printing code.
89 Printing code has been therefore confined within the spoolss code.
91 All the printing code, including the spoolss RPC interfaces has been
92 changed to use the winreg RPC interfaces to store all data.
93 All data has been migrated from custom, arbitrary TDB files to the
94 registry interface. This transition allow us to present correct data to
95 windows client accessing the server registry through the winreg RPC
96 interfaces to query for printer data. Data is served out from a real
97 registry implementation and therefore arguably 100% forward compatible.
99 Migration code from the previous TDB files formats is provided. This
100 code is automatically invoked the first time the new code is run on the
101 server. Although manual migration is also available using the 'net
102 printer migrate' command.
104 These changes not only make all the spoolss code much more closer to
105 "the spec", it also greatly improves our internal testing of both
106 spoolss and winreg interfaces, and reduces overall code duplication.
108 As part of this work, new tests have been also added to increase
111 This code will also allow, in future, an easy transition to split out
112 the spooling functions into a separate daemon for those OEMs that do not
113 need printing functionality in their appliances, reducing the code
120 The id mapping configuration has been a source of much grief in the past.
121 For this release, id mapping has been rewritten yet again with the goal
122 of making the configuration more simple and more coherent while keeping
123 the needed flexibility and even adding to the flexibility in some respects.
125 The major change that implies the configuration simplifications is at
126 the heart of the id mapping system: The separation of the "idmap alloc
127 system" that is responsible for the unix id counters in the tdb, tdb2
128 and ldap idmap backends from the id mapping code itself has been removed.
129 The sids_to_unixids operation is now atomic and encapsulates (if needed)
130 the action of allocating a unix id for a mapping that is to be created.
131 Consequently all idmap alloc configuration parameters have vanished and
132 it is hence now also not possible any more to specify an idmap alloc
133 backend different from the idmap backend. Each idmap backend uses its
134 own idmap unixid creation mechanism transparently.
136 As a consequence of the id mapping changes, the methods that are used
137 for storing and deleting id mappings have been removed from the winbindd
138 API. The "net idmap dump/restore" commands have been rewritten to
139 not speak through winbindd any more but directly act on the databases.
140 This is currently available for the tdb and tdb2 backends, the implementation
141 for ldap still missing.
143 The allocate_id functionality is preserved for the unix id creator of the
144 default idmap configuration is also used as the source of unix ids
145 for the group mapping database and for the posix attributes in a
146 ldapsam:editposix setup.
148 As part of the changes, the default idmap configuration has been
149 changed to be more coherent with the per-domain configuration.
150 The parameters "idmap uid", "idmap gid" and "idmap range" are now
151 deprecated in favour of the systematic "idmap config * : range"
152 and "idmap config * : backend" parameters. The reason for this change
153 is that the old options only provided an incomplete and hence deceiving
154 backwards compatibility, which was a source of many problems with
155 upgrades. By introducing this change in configuration, it should be
156 brought to the conciousness of the users that even the simple
157 id mapping is not working exactly as in Samba 3.0 versions any more.
163 As Microsoft is more and more relying on endpoint mapper and we didn't have a
164 complete implementation we decided to create an instance for Samba. The
165 endpoint mapper is like a DNS server but for ports. If you want to talk to a
166 certain RPC service over TCP/IP, you just ask the endpoint mapper on which
167 port it is running. Then you can connect to the service and make sure that it
169 The code is deactivated by default, because it needs more testing and it
170 doesn't scale yet. We will work on these limitations and hopefully release it
171 with pre3. If you want to enable and test the endpoint mapper you can set
172 "rpc_server:epmapper = daemon" in the smb.conf file.
175 Internal restructuring
176 ----------------------
178 Ongoing internal restructuring for better separation of internal subsystem to
179 achieve a faster build, smaller binaries and cleaner dependencies for the samba3
186 Added the new SMB Traffic Analyzer (SMBTA) VFS module protocol 2
187 featuring encryption, multiple arguments, and easier parseability. A new
188 tool 'smbta-util' has been created to control the encryption behaviour
189 of SMBTA. For compatibility, SMBTA by default operates on version 1.
190 There are programs consuming the data that the module sends.
192 More information can be found on
193 http://holger123.wordpress.com/smb-traffic-analyzer/
196 NFS quota backend on Linux
197 --------------------------
199 A new nfs quota backend for Linux has been added that is based
200 on the existing Solaris/FreeBSD implementation. This allows samba
201 to communicate correct diskfree information for nfs imports that
202 are re-exported as samba shares.
205 ######################################################################
212 Parameter Name Description Default
213 -------------- ----------- -------
215 async smb echo handler New No
216 client ntlmv2 auth Changed Default Yes
217 client use spnego principal New No
218 ctdb locktime warn threshold New 0
219 idmap alloc backend Removed
220 log writeable files on exit New No
221 multicast dns register New Yes
223 send spnego principal New No
224 smb2 max credits New 128
225 smb2 max read New 1048576
226 smb2 max trans New 1048576
227 smb2 max write New 1048576
228 username map cache time New 0
229 winbind max clients New 200
235 o Michael Adam <obnox@samba.org>
236 * ID Mapping changes.
239 o Jeremy Allison <jra@samba.org>
240 * Implement SMB2 support.
243 o Stefan Metzmacher <metze@samba.org>
244 * Implement SMB2 support.
247 o Andreas Schneider <asn@samba.org>
248 * Add an Endpoint Mapper daemon.
251 Changes since 3.6.0pre2
252 -----------------------
256 Changes since 3.6.0pre1
257 -----------------------
259 o Michael Adam <obnox@samba.org>
260 * ID Mapping changes.
261 * Add "--option" to 'testparm'.
264 o Jeremy Allison <jra@samba.org>
265 * BUG 7080: Quota only shown when logged as root.
266 * BUG 7863: Unlink may unlink wrong file when hardlinks are involved.
267 * BUG 7996: Sgid bit lost on folder rename.
268 * BUG 8040: Fix smbclient segfault with Cyrillic netbios names.
269 * Fix crash bug on smbd shutdown when using FOPENDIR().
270 * Ensure we don't return an incorrect access mask.
271 * Fix bug against the new Mac client.
272 * Fix leak in error path.
273 * Fix error where Windows client spoolss returns WERR_INVALID_DATA.
276 o Christian Ambach <christian.ambach@de.ibm.com>
277 * Fix a segfault in the krb5 locator plugin.
278 * Enable sharesec for registry shares.
281 o Andrew Bartlett <abartlet@samba.org>
282 * Fix memory leak in "security=share" and "force user".
285 o Björn Baumbach <bb@sernet.de>
286 * BUG 7875: Fix 'nmbd --port'.
287 * BUG 7880: cmd_spoolss_deletedriver() returned without checking all
291 o Gregor Beck <gbeck@sernet.de>
292 * Add new 'net idmap check' command.
293 * Add new 'net idmap delete' command.
294 * Fix segfault on missing input file in 'net idmap restore'.
297 o Olly Betts <olly@survex.com>
298 * Fix 'net usersidlist' not to skip every other user.
301 o Gregor Beck <gbeck@sernet.de>
302 * Add "net idmap check", a check and repair tool for the
305 o Günther Deschner <gd@samba.org>
306 * BUG 7690: Retry DNS updates when connection to one nameserver has failed.
307 * BUG 7945: Let winbind try to use samlogon validation level 6.
308 * Fix Coverity ID 2041.
309 * Fix potential crash bug in spoolss_PrinterEnumValues push path.
310 * Internal restructuring.
311 * Don't wipe out all printer drivers when only one should be deleted.
312 * Fix winbindd_dual_pam_auth_samlogon() for NT4 domains.
315 o David Disseldorp <ddiss@suse.de>
316 * BUG 7915: Fix cups pcap reload with no printers.
317 * BUG 8040: Fix smbclient segfault with Cyrillic netbios names.
318 * Fix memory leak in print_cups.c.
319 * Remove duplicate cups response processing code.
320 * Follow force user/group for driver IO.
321 * Initiate pcap reload from parent smbd.
322 * Reload shares after pcap cache fill.
325 o Björn Jacke <bj@sernet.de>
326 * BUG 8033: Add explicit configure option whether or not to enable dmapi
330 o Volker Lendecke <vl@samba.org>
331 * BUG 7917: Fix bug in chain_reply.
332 * BUG 7940: Fall back for utimes calls.
333 * BUG 8009: Fix getting username in 'net rap session'.
334 * BUG 8010: Use jenkins hash for str_checksum.
335 * BUG 8042: Fix file creation on OS/X.
336 * Fix numerous Coverity IDs.
337 * Fix a memory leak in check_sam_security_info3.
338 * Fix a segfault in the nss wrapper when libnss_winbind.so is not loadable.
339 * Make "net sam list [users|workstations]" list only the right things.
340 * Fix a potential memleak in secrets_fetch_trusted_domain_password.
341 * Use the right credentials in check_netlogond_security.
342 * Add support for AF_NETLINK addr notifications.
343 * Fork multiple Winbind children per domain.
344 * Fix a deadlock between smbd and ctdbd.
345 * Add 'wbinfo --dc-info'.
346 * Make "nmbd socket dir" configurable.
347 * Fix a valgrind error.
348 * Fix a memleak in receive_getdc_response.
351 o Nikolay Martynov <mar.kolya@gmail.com>
352 * BUG 8010: Fix inode generation so nautilus can count total dir size
356 o Stefan Metzmacher <metze@samba.org>
357 * BUG 7567: Fix printing from Windows 7.
358 * BUG 7899: Don't return "-1" on success in 'net rpc vampire keytab'.
359 * BUG 7944: Catch lookup_names/sids schannel errors over ncacn_ip_tcp.
360 * Don't grant SEC_STD_DELETE always to the owner of a file.
361 * Fix segfaults on addrchange errors in Winbind.
362 * Allow machine accounts as members in groupdb.
365 o Jonathan Nieder <jrnieder@gmail.com>
366 * BUG 6837: Make "rlimit_max below minimum Windows limit" notification less
370 o Andreas Schneider <asn@samba.org>
371 * Add an Endpoint Mapper daemon.
372 * Add IPv6 support for the endpoint mapper.
373 * Free unused memory in the rpc server.
374 * Fix possible segfaults in svcctl server.
375 * Fix possible segfault with client_id in rpc server.
376 * Add a 'svcctl shutdown' function to rpc server.
377 * Fix a resource leak in net_afs.
378 * Fix a resource leak in smbta-util.
379 * Fix possible resource leak in net_usershare.
380 * Fix possible resource leak in 'smbget'.
381 * Fix possible resource leak in 'smbfilter'.
382 * Fix a possible null pointer dereference in smbd.
385 o Pavel Shilovsky <piastry@etersoft.ru>
386 * BUG 7928: Fix problems with "kernel oplocks" option set to "no".
387 * Ensure we send the direct levelII oplock break to the correct fid.
390 o Simo Sorce <idra@samba.org>
391 * Fix private libdir and codepages paths.
394 o Andrew Tridgell <tridge@samba.org>
395 * Fix a valgrind error.
398 ######################################################################
399 Reporting bugs & Development Discussion
400 #######################################
402 Please discuss this release on the samba-technical mailing list or by
403 joining the #samba-technical IRC channel on irc.freenode.net.
405 If you do report problems then please try to send high quality
406 feedback. If you don't provide vital information to help us track down
407 the problem then you will probably be ignored. All bug reports should
408 be filed under the Samba 3.6 product in the project's Bugzilla
409 database (https://bugzilla.samba.org/).
412 ======================================================================
413 == Our Code, Our Bugs, Our Responsibility.
415 ======================================================================