added full netbench simulation in smbtorture. It now reads a 4MB load
[Samba/gbeck.git] / WHATSNEW.txt
blob1a1f5b45406edda63aec882afb92b98e3d08a2c9
1               WHATS NEW IN Samba 2.0.4
2               ========================
4 This is the latest stable release of Samba. This is the
5 version that all production Samba servers should be running
6 for all current bug-fixes.
8 New/Changed parameters in 2.0.4
9 -------------------------------
11 There are 5 new parameters and one modified parameter in
12 the smb.conf file.
14 allow trusted domains
15 restrict anonymous
16 mangle locks
17 oplock break wait time
18 oplock contention limit
20 The new parameters are :
22 allow trusted domains
23 ---------------------
25 This option is used in "security=domain" settings and allows
26 the Samba admin to restrict access to users within the domain
27 the the Samba server is in.
29 restrict anonymous
30 ------------------
32 This parameter allows the Samba admin to cause Samba to
33 refuse access to anonymous users. Use of this parameter
34 is only recommened for homogenous NT client environments.
36 mangle locks
37 ------------
39 This parameter was added to get around a bug in Windows NT
40 when dealing with Samba running on 32-bit systems (such
41 as Linux x86). This bug causes NT to send 64 bit locking
42 requests to 32-bit systems even though Samba correctly 
43 tells the NT client not to do so. This option causes Samba
44 to map the lock requests from 64 bits to 32 bits on these
45 systems.
47 oplock break wait time
48 ----------------------
50 This tuning parameter, added to help with clients that don't
51 respond to oplock break requests, causes Samba to deley for
52 this number of milliseconds before sending an oplock break
53 request to a client that caused the break to be sent. The
54 default is 10ms. This is an advanced tuning parameter and
55 should not be changed lightly.
57 oplock contention limit
58 -----------------------
60 This tuning parameter causes Samba not to grant oplocks
61 when an smbd daemon notices that there have been this 
62 many concurrent requests for an oplock on a file. This
63 prevents the "baton passing" oplock problem where many
64 clients accessing one file pass the oplock between themselves
65 like a baton. The default is 2. This is an advanced tuning
66 parameter and should not be changed lightly.
68 The modified parameter is :
70 nt acl support
71 --------------
73 This is a global parameter that defaulted to False in
74 the previous release (2.0.3) and now defaults to True
75 as the RPC code has been added to Samba to allow it to
76 map UNIX permissions to NT ACLs.
78 All of these new parameters and changes are documented in the
79 smb.conf man pages and html pages.
81 Updated and New documentation
82 -----------------------------
84 A new document describing the manipulation of UNIX permissions
85 via the Windows NT security dialogs and their interaction with
86 Samba 2.0.4 is provided as :
88 docs/textdocs/NT_Security.txt
89 docs/htmldocs/NT_Security.html
91 Bugfixes added since 2.0.3
92 --------------------------
94 1). Fix for 8 character password problem when using HPUX and
95 plaintext passwords.
96 2). --with-pam option added to ./configure.
97 3). Client fixes for memory leak and display of 64 bit values.
98 4). Fixes for -E and -s option with smbclient.
99 5). smbclient now allows -L //server or -L \\server
100 6). smbtar fix for display of 64 bit values.
101 7). Endian independence added to DCE/RPC code.
102 8). DCE/RPC marshalling/unmarshalling code re-written to provide
103 overflow reporting and sign and seal support.
104 9). Bind NAK reply packet added to DCE/RPC code, used to correctly
105 refuse bind requests (prevents NT system event log messages).
106 10). Mapping of UNIX permissions into NT ACL's for get and set
107 added.
108 11). DCE/RPC enumeration of numbers of shares made dynamic. 
109 Samba now has no limit on the number of exported shares seen.
110 12). Fix to speed up random number seed generation on /dev/urandom
111 being unavailable.
112 13). Several memory fixes added by running Purify on the code.
113 14). Read from client error messages improved.
114 15). Fixed endianness used in UNICODE strings.
115 16). Cope with ERRORmoredata in an RPC pipe client call.
116 17). Check for malformed responses in nmbd register name.
117 18). NT Encrypted password changing from the NT password dialog box
118 now fully implmented.
119 19). Mangle 64-bit lock ranges into 32-bits (NT bug!) on a 32-bit
120 Samba platform.
121 20). Allow file to be pseudo-openend in order to read security only.
122 21). Improve filename mangling to reduce chance of collisions.
123 22). Added code to prevent granting of oplocks when a file is under
124 contention.
125 23). Added tunable wait time before sending an oplock break request
126 to a client if the client caused the break request. Helps with clients
127 not responding to oplock breaks.
128 24). Always respond negatively to queued local oplock break messages
129 before shutdown. This can prevent "freezes" on an oplock error.
130 25). Allow admin to restrict logons to correct domain when in domain
131 level security.
132 26). Added "restrict anonymous" patch from Andy (thwartedefforts@wonky.org)
133 to prevent parameter substitution problems with anonymous connections.
134 27). Fix SMBseek where seeking to a negative number sets the offset
135 to zero.
136 28). Fixed problem with mode getting corrupted in trans2 request
137 (setting to zero means please ignore it).
138 29). Correctly become the authenticated user on an authenticated
139 DCE/RPC pipe request.
140 30). Correctly reset debug level in nmbd if someone set it on the
141 command line.
142 31). Added more checking into testparm
143 32). NetBench simulator added to smbtorture by Andrew.
144 33). Fixed NIS+ option compile (was broken in 2.0.3).
146 Bugfixes added since 2.0.2
147 --------------------------
149 1). --with-ssl configure now include ssl include directory. Fix
150 from Richard Sharpe.
151 2). Patch for configure for glibc2.1 support (large files etc.).
152 3). Several bugfixes for smbclient tar mode from Bob Boehmer
153 (boehmer@worldnet.att.net) to fix smbclient aborting problems
154 when restoring tar files.
155 4). Some automount fixes for smbmount.
156 5). Attempt to fix the AIX 4.1.x/3.x problems where smbd runs as
157 root. As no-one has given us root access to such a server this
158 cannot be tested fully, but should work.
159 6). Crash bug fix in debug code where *real* uid rather than 
160 *effective* uid was being checked before attempting to rotate
161 log files. This fix should help a *lot* of people who were
162 reporting smbd aborting in the middle of a copy operation.
163 7). SIGALRM bugfix to ensure infinate file locks time out.
164 8). New code to implement NT ACL reporting for cacls.exe program.
165 9). UDP loopback socket rebind fix for Solaris.
166 10). Ensure all UNICODE strings are correctly in little-endian
167 format.
168 11). smbpasswd file locking fix.
169 12). Fixes for strncpy problems with glibc2.1.
170 13). Ensure smbd correctly reports major and minor version number
171 and server type when queried via NT rpc calls.
172 14). Bugfix for short mangled names not being pulled off the
173 mangled stack correctly.
174 15). Fix for mapping of rwx bits being incorrectly overwritten
175 when doing ATTRIB.EXE
176 16). Fix for returning multiple PDU packets in NT rpc code. Should
177 allow multiple shares to be returned correctly).
178 17). Improved mapping of NT open access requests into UNIX open
179 modes.
180 18). Fix for copying files from an NTFS volume that contain
181 multiple data forks. Added 'magic' error code NT needs.
182 19). Fixed crash bug when primary NT authentication server
183 is down, rolls over to secondaries correctly now.
184 20). Fixed timeout processing to be timer based. Now will
185 always occur even if smbd is under load.
186 21). Fixed signed/unsigned problem in quotas code.
187 22). Fixed bug where setting the password of a completely fresh
188 user would end up setting the account disabled flag.
189 23). Improved user logon messages to help admins having
190 trouble with user authentication.
192 Bugfixes added since 2.0.1
193 --------------------------
195 Note that due to a critical signal handling bug in 2.0.1,
196 this release has been removed and replaced immediately with 
197 2.0.2. The Samba Team would like to apologise for any problem
198 this may have caused.
200 1). Fixed smbd looping on SIGCLD problem. This was
201     caused by a missing break statement in a critical
202     piece of code.
204 Bugfixes added since 2.0.0
205 --------------------------
207 1). Autoconf changes for gcc2.7.x and Solaris 2.5/2.6
208 2). Autoconf changes to help HPUX configure correctly.
209 3). Autoconf changes to allow lock directory to be set.
210 4). Client fix to allow port to be set.
211 5). clitar fix to send debug messages to stderr.
212 6). smbmount race condition fix.
213 7). Fix for bug where trying to browse large numbers of shares
214     generated an error from an NT client.
215 8). Wrapper for setgroups for SunOS 4.x
216 9). Fix for directory deleting failing from multiuser NT.
217 10). Fix for crash bug if bitmap was full.
218 11). Fix for Linux genrand where /dev/random could cause 
219      clients to timeout on connect if the entropy pool was
220      empty.
221 12). The default PASSWD_CHAT may now be overridden in local.h
222 13). HPUX printing fixes for default programs.
223 14). Reverted (erroneous) code in MACHINE.SID generation that
224      was setting the sid to 0x21 - should be *decimal* 21.
225 15). Fix for printing to remote machine under SVR4.
226 16). Fix for chgpasswd wait being interrupted with EINTR.
227 17). Fix for disk free routine. NT and Win98 now correctly
228      show greater than 2GB disks.
229 18). Fix for crash bug in stat cache statistics printing.
230 19). Fix for filenames ending in .~xx.
231 20). Fix for access check code wait being interrupted with EINTR.
232 21). Fix for password changes from "invalid password" to a valid
233      one setting the account disabled bit.
234 22). Fix for smbd crash bug in SMBreadraw cache prime code.
235 23). Fix for overly zealous lock range overflow reporting.
236 24). Fix for large disk disk free reporting (NT SMB code).
237 25). Fix for NT failing to truncate files correctly.
238 26). Fix for smbd crash bug with SMBcancel calls.
239 27). Additional -T flag to nmblookup to do reverse DNS on addresses.
240 28). SWAT fix to start/stop smbd/nmbd correctly.
242 Major changes in Samba 2.0
243 --------------------------
245 This is a MAJOR new release of Samba, the UNIX based SMB/CIFS file 
246 and print server for Windows systems.
248 There have been many changes in Samba since the last major release,
249 1.9.18.  These have mainly been in the areas of performance and
250 SMB protocol correctness.  In addition, a Web based GUI interface
251 for configuring Samba has been added.
253 In addition, Samba has been re-written to help portability to
254 other POSIX-based systems, based on the GNU autoconf tool.
256 There are many major changes in Samba for version 2.0.  Here are 
257 some of them:
259 =====================================================================
261 1). Speed
262 ---------
264 Samba has been benchmarked on high-end UNIX hardware as out-performing
265 all other SMB/CIFS servers using the Ziff-Davis NetBench benchmark.
266 Many changes to the code to optimise high-end performance have been made.
268 2). Correctness
269 ---------------
271 Samba now supports the Windows NT specific SMB requests.  This
272 means that on platforms that are capable Samba now presents a
273 64 bit view of the filesystem to Windows NT clients and is
274 capable of handling very large files.
276 3). Portability
277 ---------------
279 Samba is now self-configuring using GNU autoconf, removing
280 the need for people installing Samba to have to hand configure
281 Makefiles, as was needed in previous versions.
283 You now configure Samba by running "./configure" then "make".  See
284 docs/textdocs/UNIX_INSTALL.txt for details.
286 4). Web based GUI configuration
287 -------------------------------
289 Samba now comes with SWAT, a web based GUI config system.  See
290 the swat man page for details on how to set it up.
292 5). Cross protocol data integrity
293 ---------------------------------
295 An open function interface has been defined to allow 
296 "opportunistic locks" (oplocks for short) granted by Samba
297 to be seen by other UNIX processes.  This allows complete
298 cross protocol (NFS and SMB) data integrety using Samba
299 with platforms that support this feature.
301 6). Domain client capability
302 ----------------------------
304 Samba is now capable of using a Windows NT PDC for user
305 authentication in exactly the same way that a Windows NT
306 workstation does, i.e. it can be a member of a Domain.  See
307 docs/textdocs/DOMAIN_MEMBER.txt for details.
309 7). Documentation Updates
310 -------------------------
312 All the reference parts of the Samba documentation (the
313 manual pages) have been updated and converted to a document
314 format that allows automatic generation of HTML, SGML, and
315 text formats.  These documents now ship as standard in HTML
316 and manpage format.
318 =====================================================================
320 NOTE - Some important option defaults changed
321 ---------------------------------------------
323 Several parameters have changed their default values.  The most
324 important of these is that the default security mode is now user
325 level security rather than share level security.
327 This (incompatible) change was made to ease new Samba installs
328 as user level security is easier to use for Windows 95/98 and
329 Windows NT clients.
331 ********IMPORTANT NOTE****************
333 If you have no "security=" line in the [global] section of 
334 your current smb.conf and you update to Samba 2.0 you will
335 need to add the line :
337 security=share
339 to get exactly the same behaviour with Samba 2.0 as you
340 did with previous versions of Samba.
342 ********END IMPORTANT NOTE*************
344 In addition, Samba now defaults to case sensitivity options that
345 match a Windows NT server precisely, that is, case insensitive 
346 but case preserving.
348 The default format of the smbpasswd file has also been
349 changed for this release, although the new tools will read
350 and write the old format, for backwards compatibility.
352 =====================================================================
354 NOTE - Primary Domain Controller Functionality
355 ----------------------------------------------
357 This version of Samba contains code that correctly implements
358 the undocumented Primary Domain Controller authentication
359 protocols.  However, there is much more to being a Primary
360 Domain Controller than serving Windows NT logon requests.
362 A useful version of a Primary Domain Controller contains
363 many remote procedure calls to do things like enumerate users, 
364 groups, and security information, only some of which Samba currently
365 implements. In addition, there are outstanding (known) bugs with
366 using Samba as a PDC in this release that the Samba Team are actively
367 working on. For this reason we have chosen not to advertise and 
368 actively support Primary Domain Controller functionality with this
369 release.
371 This work is being done in the CVS (developer) versions of Samba,
372 development of which continues at a fast pace.  If you are
373 interested in participating in or helping with this development
374 please join the Samba-NTDOM mailing list.  Details on joining
375 are available at :
377 http://samba.org/listproc/
379 Details on obtaining CVS (developer) versions of Samba
380 are available at:
382 http://samba.org/cvs.html
384 =====================================================================
386 If you have problems, or think you have found a bug please email 
387 a report to :
389         samba-bugs@samba.org
391 As always, all bugs are our responsibility.
393 Regards,
395         The Samba Team.