WHATSNEW. Add text for Open File Description (OFD) locks.
[nivanova/samba-autobuild/.git] / WHATSNEW.txt
1 Release Announcements
2 =====================
3
4 This is the first preview release of Samba 4.5.  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.5 will be the next version of the Samba suite.
10
11
12 UPGRADING
13 =========
14
15 Nothing special.
16
17
18 NEW FEATURES/CHANGES
19 ====================
20
21 Support for LDAP_SERVER_NOTIFICATION_OID
22 ----------------------------------------
23
24 The ldap server has support for the LDAP_SERVER_NOTIFICATION_OID
25 control. This can be used to monitor the active directory database
26 for changes.
27
28 KCC improvements for sparse network replication
29 -----------------------------------------------
30
31 The Samba KCC will now be the default knowledge consistency checker in
32 Samba AD. Instead of using full mesh replication between every DC, the
33 KCC will set up connections to optimize replication latency and cost
34 (using site links to calculate the routes). This change should allow
35 larger domains to function significantly better in terms of replication
36 traffic and the time spent performing DRS replication.
37
38 VLV - Virtual List View
39 -----------------------
40
41 The VLV Control allows applications to page the LDAP directory in the
42 way you might expect a live phone book application to operate, without
43 first downloading the entire directory.
44
45 DRS Replication for the AD DC
46 -----------------------------
47
48 DRS Replication in Samba 4.5 is now much more efficient in handling
49 linked attributes, particularly in large domains with over 1000 group
50 memberships or other links.
51
52 Replication is also much more reliable in the handling of tree
53 renames, such as the rename of an organizational unit containing many
54 users.  Extensive tests have been added to ensure this code remains
55 reliable, particularly in the case of conflicts between objects added
56 with the same name on different servers.
57
58 Schema updates are also handled much more reliably.
59
60 replPropertyMetaData Changes
61 ----------------------------
62
63 During the development of the DRS replication, tests showed that Samba
64 stores the replPropertyMetaData object incorrectly.  To address this,
65 be aware that dbcheck will now detect and offer to fix all objects in
66 the domain for this error.
67
68 Linked attributes on deleted objects
69 ------------------------------------
70
71 In Active Directory, an object that has been tombstoned or recycled
72 has no linked attributes.  However, Samba incorrectly maintained such
73 links, slowing replication and run-time performance.  dbcheck now
74 offers to remove such links, and they are no longer kept after the
75 object is tombstoned or recycled.
76
77 Improved AD DC performance
78 --------------------------
79
80 Many other improvements have been made to our LDAP database layer in
81 the AD DC, to improve performance, both during samba-tool domain
82 provision and at runtime.
83
84 Other dbcheck improvements
85 --------------------------
86
87  - samba-tool dbcheck can now find and fix a missing or corrupted
88    'deleted objects' container.
89  - BUG 11433: samba-dbcheck no longer offers to resort auxiliary class values
90    in objectClass as these were then re-sorted at the next dbcheck indefinitely.
91
92 Tombstone Reanimation
93 ---------------------
94
95 Samba now supports tombstone reanimation, a feature in the AD DC
96 allowing tombstones, that is objects which have been deleted, to be
97 restored with the original SID and GUID still in place.
98
99 Multiple DNS Forwarders on the AD DC
100 ------------------------------------
101
102 Multiple DNS forwarders are now supported on the AD DC, allowing
103 samba to fall back between two different DNS servers for forwarded queries.
104
105 Password quality plugin support in the AD DC
106 --------------------------------------------
107
108 The check password script now operates correctly in the AD DC (this
109 was silently ignored in past releases)
110
111 pwdLastSet is now correctly honoured
112 ------------------------------------
113
114 BUG 9654: the pwdLastSet attribute is now correctly handled (this previously
115 permitted passwords that next expire).
116
117 net ads dns unregister
118 ----------------------
119
120 It is now possible to remove the DNS entries created with 'net ads register'
121 with the matching 'net ads unregister' command.
122
123 Samba-tool improvements
124 ------------------------
125
126 Running samba-tool on the command line should now be a lot snappier. The tool
127 now only loads the code specific to the subcommand that you wish to run.
128
129 SMB 2.1 Leases enabled by default
130 ---------------------------------
131
132 Leasing is an SMB 2.1 (and higher) feature which allows clients to
133 aggressively cache files locally above and beyond the caching allowed
134 by SMB 1 oplocks. This feature was disabled in previous releases, but
135 the SMB2 leasing code is now considered mature and stable enough to be
136 enabled by default.
137
138 Open File Description (OFD) Locks
139 ---------------------------------
140
141 On systems that support them (currently only Linux), the fileserver now
142 uses Open File Description (OFD) locks instead of POSIX locks to implement
143 client byte range locks. As these locks are associated with a specific
144 file descriptor on a file this allows more efficient use when multiple
145 descriptors having file locks are opened onto the same file. An internal
146 tunable "smbd:force process locks = true" may be used to turn off OFD
147 locks if there appear to be problems with them.
148
149 REMOVED FEATURES
150 ================
151
152 only user and username parameters
153 ---------------------------------
154 These two parameters have long been deprecated and superseded by
155 "valid users" and "invalid users".
156
157 smb.conf changes
158 ----------------
159
160   Parameter Name                Description             Default
161   --------------                -----------             -------
162   only user                     Removed
163   username                      Removed
164   kccsrv:samba_kcc              Changed default         true
165   smb2 leases                   Changed default         yes
166
167 KNOWN ISSUES
168 ============
169
170 Currently none.
171
172 #######################################
173 Reporting bugs & Development Discussion
174 #######################################
175
176 Please discuss this release on the samba-technical mailing list or by
177 joining the #samba-technical IRC channel on irc.freenode.net.
178
179 If you do report problems then please try to send high quality
180 feedback. If you don't provide vital information to help us track down
181 the problem then you will probably be ignored.  All bug reports should
182 be filed under the Samba 4.1 and newer product in the project's Bugzilla
183 database (https://bugzilla.samba.org/).
184
185
186 ======================================================================
187 == Our Code, Our Bugs, Our Responsibility.
188 == The Samba Team
189 ======================================================================
190