4 This is the first preview release of Samba 4.7. This is *not*
5 intended for production environments and is designed for testing
6 purposes only. Please report any defects via the Samba bug reporting
7 system at https://bugzilla.samba.org/.
9 Samba 4.7 will be the next version of the Samba suite.
19 Samba AD with MIT Kerberos
20 --------------------------
22 After four years of development, Samba finally supports compiling and
23 running Samba AD with MIT Kerberos. You can enable it with:
25 ./configure --with-system-mitkrb5
27 Samba requires version 1.15.1 of MIT Kerberos to build with AD DC support.
28 The krb5-devel and krb5-server packages are required.
29 The feature set is not on par with with the Heimdal build but the most important
30 things, like forest and external trusts, are working. Samba uses the KDC binary
31 provided by MIT Kerberos.
33 Missing features, compared to Heimdal, are:
35 * S4U2SELF/S4U2PROXY support
36 * RODC support (not fully working with Heimdal either)
38 The Samba AD process will take care of starting the MIT KDC and it will load a
39 KDB (Kerberos Database) driver to access the Samba AD database. When
40 provisioning an AD DC using 'samba-tool' it will take care of creating a correct
41 kdc.conf file for the MIT KDC. Note that 'samba-tool' will overwrite the system
42 kdc.conf by default. It is possible to use a different location during
43 provision. You should consult the 'samba-tool' help and smb.conf manpage for
46 Dynamic RPC port range
47 ----------------------
49 The dynamic port range for RPC services has been changed from the old default
50 value 1024-1300 to 49152-65535. This port range is not only used by a
51 Samba AD DC but also applies to all other server roles including NT4-style
52 domain controllers. The new value has been defined by Microsoft in Windows
53 Server 2008 and newer versions. To make it easier for Administrators to control
54 those port ranges we use the same default and make it configureable with the
55 option: 'rpc server dynamic port range'.
57 The 'rpc server port' option sets the first available port from the new
58 'rpc server dynamic port range' option. The option 'rpc server port' only
59 applies to Samba provisioned as an AD DC.
61 Authentication and Authorization audit support
62 ----------------------------------------------
64 Detailed authentication and authorization audit information is now
65 logged to Samba's debug logs under the "auth_audit" debug class,
66 including in particular the client IP address triggering the audit
67 line. Additionally, if Samba is compiled against the jansson JSON
68 library, a JSON representation is logged under the "auth_json_audit"
71 Audit support is comprehensive for all authentication and
72 authorisation of user accounts in the Samba Active Directory Domain
73 Controller, as well as the implicit authentication in password
74 changes. In the file server and classic/NT4 domain controller, NTLM
75 authentication, SMB and RPC authorization is covered, however password
76 changes are not at this stage, and this support is not currently
77 backed by a testsuite.
80 Query record for open file or directory
81 ---------------------------------------
83 The record attached to an open file or directory in Samba can be
84 queried through the 'net tdb locking' command. In clustered Samba this
85 can be useful to determine the file or directory triggering
86 corresponding "hot" record warnings in ctdb.
92 The "strict sync" global parameter has been changed from
93 a default of "no" to "yes". This means smbd will by default
94 obey client requests to synchronize unwritten data in operating
95 system buffers safely onto disk. This is a safer default setting
96 for modern SMB1/2/3 clients.
101 Parameter Name Description Default
102 -------------- ----------- -------
103 auth event notification New parameter no
104 auth methods Deprecated
105 map untrusted to domain Deprecated
106 strict sync Default changed yes
108 Removal of lpcfg_register_defaults_hook()
109 -----------------------------------------
111 The undocumented and unsupported function lpcfg_register_defaults_hook()
112 that was used by external projects to call into Samba and modify
113 smb.conf default parameter settings has been removed. If your project
114 was using this call please raise the issue on
115 samba-technical@lists.samba.org in order to design a supported
116 way of obtaining the same functionality.
118 Change of loadable module interface
119 -----------------------------------
121 The _init function of all loadable modules in Samba has changed
124 NTSTATUS _init(void);
128 NTSTATUS _init(TALLOC_CTX *);
130 This allows a program loading a module to pass in a long-lived
131 talloc context (which must be guaranteed to be alive for the
132 lifetime of the module). This allows modules to avoid use of
133 the talloc_autofree_context() (which is inherently thread-unsafe)
134 and still be valgrind-clean on exit. Modules that don't need to
135 free long-lived data on exist should use the NULL talloc context.
140 https://wiki.samba.org/index.php/Release_Planning_for_Samba_4.7#Release_blocking_bugs
143 #######################################
144 Reporting bugs & Development Discussion
145 #######################################
147 Please discuss this release on the samba-technical mailing list or by
148 joining the #samba-technical IRC channel on irc.freenode.net.
150 If you do report problems then please try to send high quality
151 feedback. If you don't provide vital information to help us track down
152 the problem then you will probably be ignored. All bug reports should
153 be filed under the Samba 4.1 and newer product in the project's Bugzilla
154 database (https://bugzilla.samba.org/).
157 ======================================================================
158 == Our Code, Our Bugs, Our Responsibility.
160 ======================================================================