WHATSNEW: Fix typo...
[metze/samba-autobuild/.git] / WHATSNEW.txt
1 Release Announcements
2 =====================
3
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/.
8
9 Samba 4.7 will be the next version of the Samba suite.
10
11
12 UPGRADING
13 =========
14
15
16 NEW FEATURES/CHANGES
17 ====================
18
19 Samba AD with MIT Kerberos
20 --------------------------
21
22 After four years of development, Samba finally supports compiling and
23 running Samba AD with MIT Kerberos. You can enable it with:
24
25     ./configure --with-system-mitkrb5
26
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.
32
33 Missing features, compared to Heimdal, are:
34   * PKINIT support
35   * S4U2SELF/S4U2PROXY support
36   * RODC support (not fully working with Heimdal either)
37
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
44 details.
45
46 Dynamic RPC port range
47 ----------------------
48
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 configurable with the
55 option: 'rpc server dynamic port range'.
56
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.
60
61 Authentication and Authorization audit support
62 ----------------------------------------------
63
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"
69 debug class.
70
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.
78
79 Query record for open file or directory
80 ---------------------------------------
81
82 The record attached to an open file or directory in Samba can be
83 queried through the 'net tdb locking' command. In clustered Samba this
84 can be useful to determine the file or directory triggering
85 corresponding "hot" record warnings in ctdb.
86
87 Removal of lpcfg_register_defaults_hook()
88 -----------------------------------------
89
90 The undocumented and unsupported function lpcfg_register_defaults_hook()
91 that was used by external projects to call into Samba and modify
92 smb.conf default parameter settings has been removed. If your project
93 was using this call please raise the issue on
94 samba-technical@lists.samba.org in order to design a supported
95 way of obtaining the same functionality.
96
97 Change of loadable module interface
98 -----------------------------------
99
100 The _init function of all loadable modules in Samba has changed
101 from:
102
103 NTSTATUS _init(void);
104
105 to:
106
107 NTSTATUS _init(TALLOC_CTX *);
108
109 This allows a program loading a module to pass in a long-lived
110 talloc context (which must be guaranteed to be alive for the
111 lifetime of the module). This allows modules to avoid use of
112 the talloc_autofree_context() (which is inherently thread-unsafe)
113 and still be valgrind-clean on exit. Modules that don't need to
114 free long-lived data on exist should use the NULL talloc context.
115
116 Parameter changes
117 -----------------
118
119 The "strict sync" global parameter has been changed from
120 a default of "no" to "yes". This means smbd will by default
121 obey client requests to synchronize unwritten data in operating
122 system buffers safely onto disk. This is a safer default setting
123 for modern SMB1/2/3 clients.
124
125 smb.conf changes
126 ================
127
128   Parameter Name                Description             Default
129   --------------                -----------             -------
130   allow unsafe cluster upgrade  New parameter           no
131   auth event notification       New parameter           no
132   auth methods                  Deprecated
133   map untrusted to domain       New value/              auto
134                                 Default changed/
135                                 Deprecated
136   mit kdc command               New parameter
137   profile acls                  Deprecated
138   rpc server dynamic port range New parameter           49152-65535
139   strict sync                   Default changed         yes
140
141
142 KNOWN ISSUES
143 ============
144
145 https://wiki.samba.org/index.php/Release_Planning_for_Samba_4.7#Release_blocking_bugs
146
147
148 #######################################
149 Reporting bugs & Development Discussion
150 #######################################
151
152 Please discuss this release on the samba-technical mailing list or by
153 joining the #samba-technical IRC channel on irc.freenode.net.
154
155 If you do report problems then please try to send high quality
156 feedback. If you don't provide vital information to help us track down
157 the problem then you will probably be ignored.  All bug reports should
158 be filed under the Samba 4.1 and newer product in the project's Bugzilla
159 database (https://bugzilla.samba.org/).
160
161
162 ======================================================================
163 == Our Code, Our Bugs, Our Responsibility.
164 == The Samba Team
165 ======================================================================
166