WHATSNEW: Mention new option "apply group policies"
[kamenim/samba-autobuild/.git] / WHATSNEW.txt
1 Release Announcements
2 =====================
3
4 This is the first release candidate of Samba 4.8.  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.8 will be the next version of the Samba suite.
10
11
12 UPGRADING
13 =========
14
15
16 NEW FEATURES/CHANGES
17 ====================
18
19 KDC GPO application
20 -------------------
21
22 Adds Group Policy support for the Samba kdc. Applies password policies
23 (minimum/maximum password age, minimum password length, and password
24 complexity) and kerberos policies (user/service ticket lifetime and
25 renew lifetime).
26
27 Adds the samba_gpoupdate script for applying and unapplying
28 policy. Can be applied automatically by setting
29
30  'apply group policies = yes'.
31
32 Time Machine Support with vfs_fruit
33 -----------------------------------
34
35 Samba can be configured as a Time Machine target for Apple Mac devices
36 through the vfs_fruit module. When enabling a share for Time Machine
37 support the relevant Avahi records to support discovery will be published
38 for installations that have been built against the Avahi client library.
39
40 Shares can be designated as a Time Machine share with the following setting:
41
42   'fruit:time machine = yes'
43
44 Support for lower casing the MDNS Name
45 --------------------------------------
46
47 Allows the server name that is advertised through MDNS to be set to the
48 hostname rather than the Samba NETBIOS name. This allows an administrator
49 to make Samba registered MDNS records match the case of the hostname
50 rather than being in all capitals.
51
52 This can be set with the following settings:
53
54   'mdns name = mdns'
55
56 Encrypted secrets
57 -----------------
58
59 Attributes deemed to be sensitive are now encrypted on disk. The sensitive
60 values are currently:
61         pekList
62         msDS-ExecuteScriptPassword
63         currentValue
64         dBCSPwd
65         initialAuthIncoming
66         initialAuthOutgoing
67         lmPwdHistory
68         ntPwdHistory
69         priorValue
70         supplementalCredentials
71         trustAuthIncoming
72         trustAuthOutgoing
73         unicodePwd
74         clearTextPassword
75
76 This encryption is enabled by default on a new provision or join, it
77 can be disabled at provision or join time with the new option
78 '--plaintext-secrets'.
79
80 However, an in-place upgrade will not encrypt the database.
81
82 Once encrypted, it is not possible to do an in-place downgrade (eg to
83 4.7) of the database. To obtain an unencrypted copy of the database a
84 new DC join should be performed, specifying the '--plaintext-secrets'
85 option.
86
87 The key file "encrypted_secrets.key" is created in the same directory
88 as the database and should NEVER be disclosed.  It is included by the
89 samba_backup script.
90
91 Active Directory replication visualisation
92 ------------------------------------------
93
94 To work out what is happening in a replication graph, it is sometimes
95 helpful to use visualisations. We introduce a samba-tool subcommand to
96 write Graphviz dot output and generate text-based heatmaps of the
97 distance in hops between DCs.
98
99 There are two subcommands, two graphical modes, and (roughly) two modes of
100 operation with respect to the location of authority.
101
102 `samba-tool visualize ntdsconn` looks at NTDS Connections.
103 `samba-tool visualize reps` looks at repsTo and repsFrom objects.
104
105 In '--distance' mode (default), the distances between DCs are shown in
106 a matrix in the terminal. With '--color=yes', this is depicted as a
107 heatmap. With '--utf8' it is a lttle prettier.
108
109 In '--dot' mode, Graphviz dot output is generated. When viewed using
110 dot or xdot, this shows the network as a graph with DCs as vertices
111 and connections edges. Certain types of degenerate edges are shown in
112 different colours or line-styles.
113
114 NT4-style replication based net commands removed
115 ------------------------------------------------
116
117 The following commands and sub-commands have been removed from the
118 "net" utility:
119
120 net rpc samdump
121 net rpc vampire ldif
122
123 Also, replicating from a real NT4 domain with "net rpc vampire" and
124 "net rpc vampire keytab" has been removed.
125
126 The NT4-based commands were accidentially broken in 2013, and nobody
127 noticed the breakage. So instead of fixing them including tests (which
128 would have meant writing a server for the protocols, which we don't
129 have) we decided to remove them.
130
131 For the same reason, the "samsync", "samdeltas" and "database_redo"
132 commands have been removed from rpcclient.
133
134 "net rpc vampire keytab" from Active Directory domains continues to be
135 supported.
136
137 vfs_aio_linux module removed
138 ----------------------------
139
140 The current Linux kernel aio does not match what Samba would
141 do. Shipping code that uses it leads people to false
142 assumptions. Samba implements async I/O based on threads by default,
143 there is no special module required to see benefits of read and write
144 request being sent do the disk in parallel.
145
146 smbclient reparse point symlink parameters reversed
147 ---------------------------------------------------
148
149 A bug in smbclient caused the 'symlink' command to reverse the
150 meaning of the new name and link target parameters when creating a
151 reparse point symlink against a Windows server. As this is a
152 little used feature the ordering of these parameters has been
153 reversed to match the parameter ordering of the UNIX extensions
154 'symlink' command. The usage message for this command has also
155 been improved to remove confusion.
156
157 Winbind changes
158 ---------------
159
160 The dependency to global list of trusted domains within
161 the winbindd processes has been reduced a lot.
162
163 The construction of that global list is not reliable and often
164 incomplete in complex trust setups. In most situations the list is not needed
165 any more for winbindd to operate correctly. E.g. for plain file serving via SMB
166 using a simple idmap setup with autorid, tdb or ad. However some more complex
167 setups require the list, e.g. if you specify idmap backends for specific
168 domains. Some pam_winbind setups may also require the global list.
169
170 If you have a setup that doesn't require the global list, you should set
171 "winbind scan trusted domains = no".
172
173
174 REMOVED FEATURES
175 ================
176
177 The two commands 'net serverid list' and 'net serverid wipe' have been
178 removed, because the file serverid.tdb is not used anymore.
179
180 'net serverid list' can be replaced by listing all files in the
181 subdirectory "msg.lock" of Samba's "lock directory". The unique id
182 listed by 'net serverid list' is stored in every process' lockfile in
183 "msg.lock".
184
185 'net serverid wipe' is not necessary anymore. It was meant primarily
186 for clustered environments, where the serverid.tdb file was not
187 properly cleaned up after single node crashes. Nowadays smbd and
188 winbind take care of cleaning up the msg.lock and msg.sock directories
189 automatically.
190
191
192 smb.conf changes
193 ================
194
195   Parameter Name                     Description             Default
196   --------------                     -----------             -------
197   apply group policies               New                     no
198   auth methods                       Removed
199   binddns dir                        New
200   client schannel                    Default changed/        yes
201                                      Deprecated
202   gpo update command                 New
203   ldap ssl ads                       Deprecated
204   map untrusted to domain            Removed
205   oplock contention limit            Removed
206   prefork children                   New                     1
207   mdns name                          Added                   netbios
208   fruit:time machine                 Added                   false
209   profile acls                       Removed
210   use spnego                         Removed
211   server schannel                    Default changed/        yes
212                                      Deprecated
213   unicode                            Deprecated
214   winbind scan trusted domains       New                     yes
215   winbind trusted domains only       Removed
216
217
218 KNOWN ISSUES
219 ============
220
221 https://wiki.samba.org/index.php/Release_Planning_for_Samba_4.8#Release_blocking_bugs
222
223
224 #######################################
225 Reporting bugs & Development Discussion
226 #######################################
227
228 Please discuss this release on the samba-technical mailing list or by
229 joining the #samba-technical IRC channel on irc.freenode.net.
230
231 If you do report problems then please try to send high quality
232 feedback. If you don't provide vital information to help us track down
233 the problem then you will probably be ignored.  All bug reports should
234 be filed under the Samba 4.1 and newer product in the project's Bugzilla
235 database (https://bugzilla.samba.org/).
236
237
238 ======================================================================
239 == Our Code, Our Bugs, Our Responsibility.
240 == The Samba Team
241 ======================================================================
242