WHATSNEW: CTDB updates
[kai/samba-autobuild/.git] / WHATSNEW.txt
1 Release Announcements
2 =====================
3
4 This is the first preview release of Samba 4.6.  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.6 will be the next version of the Samba suite.
10
11
12 UPGRADING
13 =========
14
15 vfs_fruit option "fruit:resource" spelling correction
16 -----------------------------------------------------
17
18 Due to a spelling error in the vfs_fruit option parsing for the "fruit:resource"
19 option, users who have set this option in their smb.conf were still using the
20 default setting "fruit:resource = file" as the parser was looking for the string
21 "fruit:ressource" (two "s").
22
23 After upgrading to this Samba version 4.6, you MUST either remove the option
24 from your smb.conf or set it to the default "fruit:resource = file", otherwise
25 your macOS clients will not be able to access the resource fork data.
26
27 This version Samba 4.6 accepts both the correct and incorrect spelling, but the
28 next Samba version 4.7 will not accept the wrong spelling.
29
30 Users who were using the wrong spelling "ressource" with two "s" can keep the
31 setting, but are advised to switch to the correct spelling.
32
33 ID Mapping
34 ----------
35 We discovered that the majority of users have an invalid or incorrect
36 ID mapping configuration. We implemented checks in the 'testparm' tool to
37 validate the ID mapping configuration. You should run it and check if it prints
38 any warnings or errors after upgrading! If it does you should fix them. See the
39 'IDENTITY MAPPING CONSIDERATIONS' section in the smb.conf manpage.
40 There are some ID mapping backends which are not allowed to be used for the
41 default backend. Winbind will no longer start if an invalid backend is
42 configured as the default backend.
43
44 To avoid problems in future we advise all users to run 'testparm' after
45 changing the smb.conf file!
46
47 NEW FEATURES/CHANGES
48 ====================
49
50 Kerberos client encryption types
51 --------------------------------
52 Some parts of Samba (most notably winbindd) perform Kerberos client
53 operations based on a Samba-generated krb5.conf file. A new
54 parameter, "kerberos encryption types" allows configuring the
55 encryption types set in this file, thereby allowing the user to
56 enforce strong or legacy encryption in Kerberos exchanges.
57
58 The default value of "all" is compatible with previous behavior, allowing
59 all encryption algorithms to be negotiated. Setting the parameter to "strong"
60 only allows AES-based algorithms to be negotiated. Setting the parameter to
61 "legacy" allows only RC4-HMAC-MD5 - the legacy algorithm for Active Directory.
62 This can solves some corner cases of mixed environments with Server 2003R2 and
63 newer DCs.
64
65 Printing
66 --------
67 Support for uploading printer drivers from newer Windows clients (Windows 10)
68 has been added until our implementation of [MS-PAR] protocol is ready.
69 Several issues with uploading different printing drivers have been addressed.
70
71 The OS Version for the printing server has been increased to announce
72 Windows Server 2003 R2 SP2. If a driver needs a newer version then you should
73 check the smb.conf manpage for details.
74
75 new option for owner inheritance
76 --------------------------------
77 The "inherit owner" smb.conf parameter instructs smbd to set the
78 owner of files to be the same as the parent directory's owner.
79 Up until now, this parameter could be set to "yes" or "no".
80 A new option, "unix only", enables this feature only for the UNIX owner
81 of the file, not affecting the SID owner in the Windows NT ACL of the
82 file. This can be used to emulate something very similar to folder quotas.
83
84 CTDB changes
85 ------------
86
87 * "ctdb event" is a new top-level command for interacting with event scripts
88
89   "ctdb event status" replaces "ctdb scriptstatus" - the latter is
90   maintained for backward compatibility but the output format has been
91   cleaned up
92
93   "ctdb event run" replaces "ctdb eventscript"
94
95   "ctdb event script enable" replaces "ctdb enablescript"
96
97   "ctdb event script disable" replaces "ctdb disablescript"
98
99   The new command "ctdb event script list" lists event scripts.
100
101 * CTDB's back-end for running event scripts has been replaced by a
102   separate, long-running daemon ctdbd_eventd.
103
104 * Running ctdb interactively will log to stderr
105
106 * CTDB logs now include process id for each process
107
108 * CTDB tags log messages differently.  Changes include:
109
110   ctdb-recoverd: Messages from CTDB's recovery daemon
111   ctdb-recovery: Messages from CTDB database recovery
112   ctdb-eventd: Messages from CTDB's event daemon
113   ctdb-takeover: Messgaes from CTDB's public IP takeover subsystem
114
115 * The mapping between symbolic and numeric debug levels has changed
116
117   Configurations containing numeric debug levels should be updated.
118   Symbolic debug levels are recommended.  See the DEBUG LEVEL section
119   of ctdb(7) for details.
120
121 *  Tunable IPAllocAlgorithm replaces LCP2PublicIPs, DeterministicIPs
122
123    See ctdb-tunables(7) for details
124
125 * CTDB's configuration tunables should be consistently set across a cluster
126
127   This has always been the cases for most tunables but this fact is
128   now documented.
129
130 * CTDB ships with recovery lock helper call-outs for etcd and Ceph RADOS
131
132   To build/install these, use the --enable-etcd-reclock and
133   --enable-ceph-reclock configure options.
134
135
136 REMOVED FEATURES
137 ================
138
139
140 smb.conf changes
141 ================
142
143   Parameter Name                Description             Default
144   --------------                -----------             -------
145   kerberos encryption types     New                     all
146   inherit owner                 New option
147   fruit:resource                Spelling correction
148
149
150 KNOWN ISSUES
151 ============
152
153 Currently none.
154
155 #######################################
156 Reporting bugs & Development Discussion
157 #######################################
158
159 Please discuss this release on the samba-technical mailing list or by
160 joining the #samba-technical IRC channel on irc.freenode.net.
161
162 If you do report problems then please try to send high quality
163 feedback. If you don't provide vital information to help us track down
164 the problem then you will probably be ignored.  All bug reports should
165 be filed under the Samba 4.1 and newer product in the project's Bugzilla
166 database (https://bugzilla.samba.org/).
167
168
169 ======================================================================
170 == Our Code, Our Bugs, Our Responsibility.
171 == The Samba Team
172 ======================================================================
173