more pid_t cleanups from the 2.0 branch
[Samba/gbeck.git] / WHATSNEW.txt
blob566e6b3e58e8d66fd0162a40dac03687bd87ff2c
1               WHATS NEW IN Samba 2.0.4c
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 Changes in 2.0.4c
92 -----------------
94 1). smbmount for Linux systems has been re-written to use
95 the libsmb code and clientutil.c is no longer used with it.
96 2). A bug preventing directory opens using the NT SMB calls
97 has been fixed.
98 3). A related bug causing a file structure leak when directory
99 opens were denied has been fixed.
100 4). Fix for glibc2.1 bug on 32-bit systems being reported as 64
101 bit.
102 5). Prevent timestamps of 0 or -1 corrupting file timestamps.
103 6). Fix for unusual delays when browsing shares using Windows
104 2000.
106 Changes in 2.0.4b
107 -----------------
109 A bug with MS-Word 97 saving files with zero UNIX permissions
110 was fixed. Even though a workaround is available (set force
111 create mode = 644 on the share) Word is such an important
112 application that a point fix was neccessary.
114 Changes in 2.0.4a
115 -----------------
117 The text and html versions of NT_Security were missing from
118 the shipping tarball. Also a compile bug for platforms that
119 don't have usleep was fixed.
121 Bugfixes added since 2.0.3
122 --------------------------
124 1). Fix for 8 character password problem when using HPUX and
125 plaintext passwords.
126 2). --with-pam option added to ./configure.
127 3). Client fixes for memory leak and display of 64 bit values.
128 4). Fixes for -E and -s option with smbclient.
129 5). smbclient now allows -L //server or -L \\server
130 6). smbtar fix for display of 64 bit values.
131 7). Endian independence added to DCE/RPC code.
132 8). DCE/RPC marshalling/unmarshalling code re-written to provide
133 overflow reporting and sign and seal support.
134 9). Bind NAK reply packet added to DCE/RPC code, used to correctly
135 refuse bind requests (prevents NT system event log messages).
136 10). Mapping of UNIX permissions into NT ACL's for get and set
137 added.
138 11). DCE/RPC enumeration of numbers of shares made dynamic. 
139 Samba now has no limit on the number of exported shares seen.
140 12). Fix to speed up random number seed generation on /dev/urandom
141 being unavailable.
142 13). Several memory fixes added by running Purify on the code.
143 14). Read from client error messages improved.
144 15). Fixed endianness used in UNICODE strings.
145 16). Cope with ERRORmoredata in an RPC pipe client call.
146 17). Check for malformed responses in nmbd register name.
147 18). NT Encrypted password changing from the NT password dialog box
148 now fully implmented.
149 19). Mangle 64-bit lock ranges into 32-bits (NT bug!) on a 32-bit
150 Samba platform.
151 20). Allow file to be pseudo-openend in order to read security only.
152 21). Improve filename mangling to reduce chance of collisions.
153 22). Added code to prevent granting of oplocks when a file is under
154 contention.
155 23). Added tunable wait time before sending an oplock break request
156 to a client if the client caused the break request. Helps with clients
157 not responding to oplock breaks.
158 24). Always respond negatively to queued local oplock break messages
159 before shutdown. This can prevent "freezes" on an oplock error.
160 25). Allow admin to restrict logons to correct domain when in domain
161 level security.
162 26). Added "restrict anonymous" patch from Andy (thwartedefforts@wonky.org)
163 to prevent parameter substitution problems with anonymous connections.
164 27). Fix SMBseek where seeking to a negative number sets the offset
165 to zero.
166 28). Fixed problem with mode getting corrupted in trans2 request
167 (setting to zero means please ignore it).
168 29). Correctly become the authenticated user on an authenticated
169 DCE/RPC pipe request.
170 30). Correctly reset debug level in nmbd if someone set it on the
171 command line.
172 31). Added more checking into testparm
173 32). NetBench simulator added to smbtorture by Andrew.
174 33). Fixed NIS+ option compile (was broken in 2.0.3).
175 34). Recursive smbclient directory listing fix. Patch from E. Jay Berkenbilt
176 (ejb@ql.org)
178 Bugfixes added since 2.0.2
179 --------------------------
181 1). --with-ssl configure now include ssl include directory. Fix
182 from Richard Sharpe.
183 2). Patch for configure for glibc2.1 support (large files etc.).
184 3). Several bugfixes for smbclient tar mode from Bob Boehmer
185 (boehmer@worldnet.att.net) to fix smbclient aborting problems
186 when restoring tar files.
187 4). Some automount fixes for smbmount.
188 5). Attempt to fix the AIX 4.1.x/3.x problems where smbd runs as
189 root. As no-one has given us root access to such a server this
190 cannot be tested fully, but should work.
191 6). Crash bug fix in debug code where *real* uid rather than 
192 *effective* uid was being checked before attempting to rotate
193 log files. This fix should help a *lot* of people who were
194 reporting smbd aborting in the middle of a copy operation.
195 7). SIGALRM bugfix to ensure infinate file locks time out.
196 8). New code to implement NT ACL reporting for cacls.exe program.
197 9). UDP loopback socket rebind fix for Solaris.
198 10). Ensure all UNICODE strings are correctly in little-endian
199 format.
200 11). smbpasswd file locking fix.
201 12). Fixes for strncpy problems with glibc2.1.
202 13). Ensure smbd correctly reports major and minor version number
203 and server type when queried via NT rpc calls.
204 14). Bugfix for short mangled names not being pulled off the
205 mangled stack correctly.
206 15). Fix for mapping of rwx bits being incorrectly overwritten
207 when doing ATTRIB.EXE
208 16). Fix for returning multiple PDU packets in NT rpc code. Should
209 allow multiple shares to be returned correctly).
210 17). Improved mapping of NT open access requests into UNIX open
211 modes.
212 18). Fix for copying files from an NTFS volume that contain
213 multiple data forks. Added 'magic' error code NT needs.
214 19). Fixed crash bug when primary NT authentication server
215 is down, rolls over to secondaries correctly now.
216 20). Fixed timeout processing to be timer based. Now will
217 always occur even if smbd is under load.
218 21). Fixed signed/unsigned problem in quotas code.
219 22). Fixed bug where setting the password of a completely fresh
220 user would end up setting the account disabled flag.
221 23). Improved user logon messages to help admins having
222 trouble with user authentication.
224 Bugfixes added since 2.0.1
225 --------------------------
227 Note that due to a critical signal handling bug in 2.0.1,
228 this release has been removed and replaced immediately with 
229 2.0.2. The Samba Team would like to apologise for any problem
230 this may have caused.
232 1). Fixed smbd looping on SIGCLD problem. This was
233     caused by a missing break statement in a critical
234     piece of code.
236 Bugfixes added since 2.0.0
237 --------------------------
239 1). Autoconf changes for gcc2.7.x and Solaris 2.5/2.6
240 2). Autoconf changes to help HPUX configure correctly.
241 3). Autoconf changes to allow lock directory to be set.
242 4). Client fix to allow port to be set.
243 5). clitar fix to send debug messages to stderr.
244 6). smbmount race condition fix.
245 7). Fix for bug where trying to browse large numbers of shares
246     generated an error from an NT client.
247 8). Wrapper for setgroups for SunOS 4.x
248 9). Fix for directory deleting failing from multiuser NT.
249 10). Fix for crash bug if bitmap was full.
250 11). Fix for Linux genrand where /dev/random could cause 
251      clients to timeout on connect if the entropy pool was
252      empty.
253 12). The default PASSWD_CHAT may now be overridden in local.h
254 13). HPUX printing fixes for default programs.
255 14). Reverted (erroneous) code in MACHINE.SID generation that
256      was setting the sid to 0x21 - should be *decimal* 21.
257 15). Fix for printing to remote machine under SVR4.
258 16). Fix for chgpasswd wait being interrupted with EINTR.
259 17). Fix for disk free routine. NT and Win98 now correctly
260      show greater than 2GB disks.
261 18). Fix for crash bug in stat cache statistics printing.
262 19). Fix for filenames ending in .~xx.
263 20). Fix for access check code wait being interrupted with EINTR.
264 21). Fix for password changes from "invalid password" to a valid
265      one setting the account disabled bit.
266 22). Fix for smbd crash bug in SMBreadraw cache prime code.
267 23). Fix for overly zealous lock range overflow reporting.
268 24). Fix for large disk disk free reporting (NT SMB code).
269 25). Fix for NT failing to truncate files correctly.
270 26). Fix for smbd crash bug with SMBcancel calls.
271 27). Additional -T flag to nmblookup to do reverse DNS on addresses.
272 28). SWAT fix to start/stop smbd/nmbd correctly.
274 Major changes in Samba 2.0
275 --------------------------
277 This is a MAJOR new release of Samba, the UNIX based SMB/CIFS file 
278 and print server for Windows systems.
280 There have been many changes in Samba since the last major release,
281 1.9.18.  These have mainly been in the areas of performance and
282 SMB protocol correctness.  In addition, a Web based GUI interface
283 for configuring Samba has been added.
285 In addition, Samba has been re-written to help portability to
286 other POSIX-based systems, based on the GNU autoconf tool.
288 There are many major changes in Samba for version 2.0.  Here are 
289 some of them:
291 =====================================================================
293 1). Speed
294 ---------
296 Samba has been benchmarked on high-end UNIX hardware as out-performing
297 all other SMB/CIFS servers using the Ziff-Davis NetBench benchmark.
298 Many changes to the code to optimise high-end performance have been made.
300 2). Correctness
301 ---------------
303 Samba now supports the Windows NT specific SMB requests.  This
304 means that on platforms that are capable Samba now presents a
305 64 bit view of the filesystem to Windows NT clients and is
306 capable of handling very large files.
308 3). Portability
309 ---------------
311 Samba is now self-configuring using GNU autoconf, removing
312 the need for people installing Samba to have to hand configure
313 Makefiles, as was needed in previous versions.
315 You now configure Samba by running "./configure" then "make".  See
316 docs/textdocs/UNIX_INSTALL.txt for details.
318 4). Web based GUI configuration
319 -------------------------------
321 Samba now comes with SWAT, a web based GUI config system.  See
322 the swat man page for details on how to set it up.
324 5). Cross protocol data integrity
325 ---------------------------------
327 An open function interface has been defined to allow 
328 "opportunistic locks" (oplocks for short) granted by Samba
329 to be seen by other UNIX processes.  This allows complete
330 cross protocol (NFS and SMB) data integrety using Samba
331 with platforms that support this feature.
333 6). Domain client capability
334 ----------------------------
336 Samba is now capable of using a Windows NT PDC for user
337 authentication in exactly the same way that a Windows NT
338 workstation does, i.e. it can be a member of a Domain.  See
339 docs/textdocs/DOMAIN_MEMBER.txt for details.
341 7). Documentation Updates
342 -------------------------
344 All the reference parts of the Samba documentation (the
345 manual pages) have been updated and converted to a document
346 format that allows automatic generation of HTML, SGML, and
347 text formats.  These documents now ship as standard in HTML
348 and manpage format.
350 =====================================================================
352 NOTE - Some important option defaults changed
353 ---------------------------------------------
355 Several parameters have changed their default values.  The most
356 important of these is that the default security mode is now user
357 level security rather than share level security.
359 This (incompatible) change was made to ease new Samba installs
360 as user level security is easier to use for Windows 95/98 and
361 Windows NT clients.
363 ********IMPORTANT NOTE****************
365 If you have no "security=" line in the [global] section of 
366 your current smb.conf and you update to Samba 2.0 you will
367 need to add the line :
369 security=share
371 to get exactly the same behaviour with Samba 2.0 as you
372 did with previous versions of Samba.
374 ********END IMPORTANT NOTE*************
376 In addition, Samba now defaults to case sensitivity options that
377 match a Windows NT server precisely, that is, case insensitive 
378 but case preserving.
380 The default format of the smbpasswd file has also been
381 changed for this release, although the new tools will read
382 and write the old format, for backwards compatibility.
384 =====================================================================
386 NOTE - Primary Domain Controller Functionality
387 ----------------------------------------------
389 This version of Samba contains code that correctly implements
390 the undocumented Primary Domain Controller authentication
391 protocols.  However, there is much more to being a Primary
392 Domain Controller than serving Windows NT logon requests.
394 A useful version of a Primary Domain Controller contains
395 many remote procedure calls to do things like enumerate users, 
396 groups, and security information, only some of which Samba currently
397 implements. In addition, there are outstanding (known) bugs with
398 using Samba as a PDC in this release that the Samba Team are actively
399 working on. For this reason we have chosen not to advertise and 
400 actively support Primary Domain Controller functionality with this
401 release.
403 This work is being done in the CVS (developer) versions of Samba,
404 development of which continues at a fast pace.  If you are
405 interested in participating in or helping with this development
406 please join the Samba-NTDOM mailing list.  Details on joining
407 are available at :
409 http://samba.org/listproc/
411 Details on obtaining CVS (developer) versions of Samba
412 are available at:
414 http://samba.org/cvs.html
416 =====================================================================
418 If you have problems, or think you have found a bug please email 
419 a report to :
421         samba-bugs@samba.org
423 As always, all bugs are our responsibility.
425 Regards,
427         The Samba Team.