1 What's new in Samba 4 alpha17
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
13 Samba4 alpha17 is not a final Samba release, however we are now making
14 good progress towards a Samba 4.0 release, of which this is a preview.
15 Be aware the this release contains both the technology of Samba 3.6
16 (that you can reasonably expect to upgrade existing Samba 3.x releases
17 to) and the AD domain controller work previously known as 'samba4'.
19 While binaries for the stable file server are provided in this
20 release, for a stable, supported file server, Samba3 domain or AD
21 domain member installation, please run a Samba 3.x release, as we are
22 still bedding down the new single build system.
24 Samba4 is subjected to an awesome battery of tests on an automated
25 basis, we have found Samba 4.0 to be very stable in it's behavior.
26 However, we still recommend against upgrading production servers from
27 Samba 3.x release to Samba 4.0 alpha at this stage.
29 If you are upgrading, or looking to develop, test or deploy Samba 4.0
30 alpha releases, you should backup all configuration and data.
35 Samba 4.0 alpha supports the server-side of the Active Directory logon
36 environment used by Windows 2000 and later, so we can do full domain
37 join and domain logon operations with these clients.
39 Our Domain Controller (DC) implementation includes our own built-in
40 LDAP server and Kerberos Key Distribution Center (KDC) as well as the
41 Samba3-like logon services provided over CIFS. We correctly generate
42 the infamous Kerberos PAC, and include it with the Kerberos tickets we
45 Samba 4.0 alpha ships with two distinct file servers. The file server
46 from the Samba 3.x series is 'smbd', and works with the binaries users
47 would expect from that series (nmbd, winbindd, smbpasswd).
49 Samba 4.0 also ships with a new file server, which is tuned to match
50 the requirements of an AD domain controller. Users should not use the
51 file server in the 'samba' binary for non-DC related tasks.
53 A new scripting interface has been added to Samba 4, allowing Python
54 programs to interface to Samba's internals, and many tools and
55 internal workings of the DC code is now implemented in python.
61 For a list of changes since alpha 15, please see the git log.
63 $ git clone git://git.samba.org/samba.git
65 $ git log release-4-0-0alpha16..release-4-0-0alpha17
67 Some major user-visible changes include:
72 We now have an fsck-like tool for Samba's internal sam.ldb database.
73 Run samba-tool dbcheck after installation to check your database for
74 self-consistency. Any database created with a previous Samba4 alpha
75 will have a very large number of consistency errors, which this tool
78 See also the -H option to point dbcheck at a different database to the
79 default, and the --fix and --yes options to make changes and to not
80 prompt about those changes.
82 After upgrading Samba, it is suggested that you do the following:
85 - take a backup copy of your sam.ldb and sam.ldb.d/* database files
86 - run samba-tool dbcheck --cross-ncs --fix
87 - use 'all' to say yes to fixing each type of error found
88 - after it has finished, run dbcheck again to ensure it reports no
91 There will be a lot of errors fixed, particularly related to
92 bad/missing GUID values. This is due to a bug in previous releases
93 that left many objects with bad GUID values. These can all be fixed
94 using dbcheck with steps above.
100 The configure options for paths have changed again, and the
101 --enable-fhs option has been reinstated. Packagers should attempt to
102 first package Samba using:
104 ./configure --enable-fhs --prefix=/usr --sysconfdir=/etc --localstatedir=/var
106 and only after examining the location Samba uses with these options
107 should further changes be made. Existing packaging scripts are not
108 expected to work unmodified, instead the Samba Team's aim is to
109 simplify such scripts for the long term.
111 samba-tool domain samba3upgrade
112 -------------------------------
114 The new samba-tool domain samba3upgrade command is a supported upgrade route from Samba
115 3.x domain controllers to Samba 4.0 AD domain controllers. This
116 provides a one-time migration of all users, domain members, passwords,
117 groups, group members and account polcies.
119 This tool is still under development and may fail when presented with
120 an inconsistant Samba3 database (such as many LDAP configurations).
121 We hope to improve the error handling and recovery in these
122 situations, so please provide feedback using the samba-technical
128 - Installation on systems without a system iconv (and developer
129 headers at compile time) is known to cause errors when dealing with
130 non-ASCII characters.
132 - In some situations, group members may not be upgraded by the
133 samba-tool domain upgrade_from_s3 script
135 - The samba-tool domain join script will not join Windows 2000 domains.
137 - Domain member support in the 'samba' binary is in it's infancy, and
138 is not comparable to the support found in winbindd. As such, do not
139 use the 'samba' binary (provided for the AD server) on a member
142 - There is no printing support in the 'samba' binary (use smbd instead)
144 - There is no NetBIOS browsing support (network neighbourhood) in the
145 'samba' binary (use nmbd and smbd instead)
147 - Clock Synchronisation is critical. Many 'wrong password' errors are
148 actually due to Kerberos objecting to a clock skew between client
149 and server. (The NTP work in the previous alphas are partly to assist
152 - The DRS replication code may fail. Please contact the team if you
153 experience issues with DRS replication, as we have fixed many issues
154 here in response to feedback from our production users.
156 RUNNING Samba 4.0 as an AD DC
157 =============================
159 A short guide to setting up Samba 4 as an AD DC can be found on the wiki:
161 http://wiki.samba.org/index.php/Samba4/HOWTO
163 #######################################
164 Reporting bugs & Development Discussion
165 #######################################
167 Please discuss this release on the samba-technical mailing list or by
168 joining the #samba-technical IRC channel on irc.freenode.net.
170 If you do report problems then please try to send high quality
171 feedback. If you don't provide vital information to help us track down
172 the problem then you will probably be ignored. All bug reports should
173 be filed under the Samba 4.0 product in the project's Bugzilla
174 database (https://bugzilla.samba.org/).
177 ======================================================================
178 == Our Code, Our Bugs, Our Responsibility.
180 ======================================================================