1 What's new in Samba 4.0 beta3
2 =============================
4 Samba 4.0 will be the next version of the Samba suite and incorporates
5 all the technology found in both the Samba4 alpha series and the
6 stable 3.x series. The primary additional features over Samba 3.6 are
7 support for the Active Directory logon protocols used by Windows 2000
14 Samba 4.0 beta3 is not a final Samba release, however we are now making
15 good progress towards a Samba 4.0 release, of which this is a preview.
16 Be aware the this release contains the best of all of Samba's
17 technology parts, both a file server (that you can reasonably expect
18 to upgrade existing Samba 3.x releases to) and the AD domain
19 controller work previously known as 'samba4'.
21 Samba 4.0 is subjected to an awesome battery of tests on an automated
22 basis, we have found Samba 4.0 to be very stable in it's behavior.
23 However, we still recommend against upgrading production servers from
24 Samba 3.x release to Samba 4.0 beta at this stage.
26 In particular note that the new default configuration 's3fs' may have
27 different stability characteristics compared with our previous default
28 file server. We are making this release so that we can find and fix
29 any of these issues that arise in the real world. New AD DC
30 installations can provision or join with --use-ntvfs to obtain the
31 previous default file server. See below how to continue using ntvfs
32 in an existing installation.
34 If you are upgrading, or looking to develop, test or deploy Samba 4.0
35 beta releases, you should backup all configuration and data.
41 Users upgrading from Samba 3.x domain controllers and wanting to use
42 Samba 4.0 as an AD DC should use the 'samba-tool domain
43 classicupgrade' command. See the wiki for more details:
44 https://wiki.samba.org/index.php/Samba4/samba3upgrade/HOWTO
46 Users upgrading from Samba 4.0 alpha and beta releases since alpha15
47 should run 'samba-tool dbcheck --cross-ncs --fix'. Users upgrading
48 from earlier alpha releases should contact the team for advice.
54 Samba 4.0 beta supports the server-side of the Active Directory logon
55 environment used by Windows 2000 and later, so we can do full domain
56 join and domain logon operations with these clients.
58 Our Domain Controller (DC) implementation includes our own built-in
59 LDAP server and Kerberos Key Distribution Center (KDC) as well as the
60 Samba3-like logon services provided over CIFS. We correctly generate
61 the infamous Kerberos PAC, and include it with the Kerberos tickets we
64 Samba 4.0 beta ships with two distinct file servers. We now use the
65 file server from the Samba 3.x series 'smbd' for all file serving by
66 default. For pure file server work, the binaries users would expect
67 from that series (nmbd, winbindd, smbpasswd) continue to be available.
69 Samba 4.0 also ships with the 'NTVFS' file server. This file server
70 is what was used in all previous alpha releases of Samba 4.0, and is
71 tuned to match the requirements of an AD domain controller. We
72 continue to support this, not only to provide continuity to
73 installations that have deployed it as part of an AD DC, but also as a
74 running example of the NT-FSA architecture we expect to move smbd to in
77 As mentioned above, this change to the default file server may cause
78 instability, as we learn about the real-world interactions between
79 these two key components.
81 As DNS is an integral part of Active Directory, we also provide a DNS
82 solution, using the BIND DLZ mechanism in versions 9.8 and 9.9.
83 During the provision, a configuration file will be generated for bind
84 to make it use this plugin. We also have a project to provide a
85 minimal internal DNS server from within the Samba process, for easier
86 'out of the box' configuration. Note however that this is not yet
87 complete (pending addition of secure DNS update support).
89 To provide accurate timestamps to Windows clients, we integrate with
90 the NTP project to provide secured NTP replies.
92 Finally, a new scripting interface has been added to Samba 4, allowing
93 Python programs to interface to Samba's internals, and many tools and
94 internal workings of the DC code is now implemented in python.
100 For a list of changes since beta2, please see the git log.
102 $ git clone git://git.samba.org/samba.git
104 $ git log samba-4.0.0beta2..samba-4.0.0beta3
106 Some major user-visible changes include:
108 The failure to start up due to a blocking smbd-fileserver.conf.pid has
111 Samba now includes support for version 2.1 of the SMB protocol,
112 the SMB2 version of Windows 7 and 2008R2, including dynamic
113 reauthentication and support for multi-credit (large MTU).
114 Consequently, Samba negotiates SMB 2.1 by default: The value "SMB2"
115 for the configuration parameter "max protocol" has been changed to
116 be an alias for SMB 2.1. Previously, the default SMB2 version of
117 Samba was the original version 2.0 of SMB that was shipped with
118 Windows Vista and 2008.
120 Samba now offers basic experimental support for SMB3, the next version
121 of the SMB protocol (formerly known as SMB 2.2) that will be available
122 with Windows 8 and Windows Server 2012. Negotiation of SMB3 can be
123 activated by setting "max protocol" to "SMB3" in smb.conf.
125 Thanks to upgrades to our AD DC code, particularly in schema handling,
126 Samba can now correctly handle the installation of Microsoft Exchange
127 2010. Other issues prevent run-time operation, but this is a major
128 milestone in supporting one of the single mode demanding Active
129 Directory applications.
134 - This release makes the s3fs file server the default, as this is the
135 file server combination we will use for the Samba 4.0 release.
136 Users should still expect some rough edges: in particular, there are
137 warnings about invalid parameters from the two respective parameter
140 - Replication of DNS data from one AD server to another may not work.
141 The DNS data used by the internal DNS server and bind9_dlz is stored
142 in an application partition in our directory. The replicaton of
143 this partition is not yet reliable.
145 - Replication may fail on FreeBSD due to getaddrinfo() rejecting names
146 containing _. A workaround will be in the next beta.
148 - upgradeprovision should not be run when upgrading to this release
149 from a recent release. No important database format changes have
150 been made since alpha16.
152 - Installation on systems without a system iconv (and developer
153 headers at compile time) is known to cause errors when dealing with
154 non-ASCII characters.
156 - Domain member support in the 'samba' binary is in it's infancy, and
157 is not comparable to the support found in winbindd. As such, do not
158 use the 'samba' binary (provided for the AD server) on a member
161 - There is no NetBIOS browsing support (network neighbourhood) in the
162 'samba' binary (use nmbd and smbd instead)
164 - Clock Synchronisation is critical. Many 'wrong password' errors are
165 actually due to Kerberos objecting to a clock skew between client
166 and server. (The NTP work in the previous alphas are partly to assist
169 - The DRS replication code may fail. Please contact the team if you
170 experience issues with DRS replication, as we have fixed many issues
171 here in response to feedback from our production users.
174 RUNNING Samba 4.0 as an AD DC
175 =============================
177 A short guide to setting up Samba 4 as an AD DC can be found on the wiki:
179 http://wiki.samba.org/index.php/Samba4/HOWTO
181 #######################################
182 Reporting bugs & Development Discussion
183 #######################################
185 Please discuss this release on the samba-technical mailing list or by
186 joining the #samba-technical IRC channel on irc.freenode.net.
188 If you do report problems then please try to send high quality
189 feedback. If you don't provide vital information to help us track down
190 the problem then you will probably be ignored. All bug reports should
191 be filed under the Samba 4.0 product in the project's Bugzilla
192 database (https://bugzilla.samba.org/).
195 ======================================================================
196 == Our Code, Our Bugs, Our Responsibility.
198 ======================================================================