freevclist-static-20050711
[openafs.git] / doc / txt / winnotes / afs-changes-since-1.2.txt
1 Since 1.3.84:
2  * Added a new registry key, "LogoffPreserveTokens" (see registry.txt),
3    that can be used to force the preservation of user tokens upon logout.
4
5  * Update the NSIS install scripts to use NSIS 2.07.   This release adds 
6    recommended installation categories: AFS Client, AFS Administrator,
7    AFS Server, AFS Development Kit.  Each category includes a different 
8    default subset of the OpenAFS components.
9
10    The OpenAFS logo is now associated with the NSIS uninstall entry
11    in the Add/Remove Programs control panel.
12
13  * The user name associated with AFS tokens when obtained with
14    integrated login, the afs systray tool, or aklog will always
15    include the full Kerberos 5 user principal name regardless of 
16    whether or not the cell is local to the realm.
17
18  * Eric William's IFS redirector has been checked onto the CVS head.
19    This code is experimental at the current time and is not being 
20    incorporated into the 1-4 branch releases.  Instructions for 
21    building from sources are found in the top-level README-NT file.
22
23  * Modify integrated login so that it does not enter an infinite
24    loop if the service is not set to auto start.
25
26  * Added asetkey.exe used to set a Kerberos 5 key for use by the
27    AFS server daemons
28
29  * Added uninstall.exe to Wix installation
30
31  * More modifications to algorithms used to wake sleeping threads.
32
33 Since 1.3.83:
34
35  * Changes to the algorithms used to wake threads when they are
36    put to sleep because of conflicts over buffer operations.
37
38 Since 1.3.82:
39  * The OpenAFS integrated logon obtains Kerberos 5 tickets as part of 
40    the process of producing AFS tokens.  The tokens are stored within
41    the AFS Client Service but the Kerberos 5 tickets have been discarded.
42    New functionality has been added to temporarily copy the tickets to
43    a file ccache during the short window between the NPLogonNotify and
44    WinLogon Logon Event.  The Logon Event handler starts a process as
45    user, afscpcc.exe, that copies the tickets into the default ccache.
46    The file ccache is then destroyed by the event handler.
47
48  * During synchronization operations on stat cache entries, if threads
49    are forced to sleep it was possible that the threads would not be
50    woken under heavy load.
51
52  * Enforce the delete on close flag specified by the NTCreateX()
53    operation.
54
55  * A race condition in the rx library was fixed that resulted in 
56    a deadlock in rx_NewCall when the RX_CONN_MAKECALL_WAITING flag
57    was cleared when threads were still waiting to use the 
58    connection.   Also, fixed a potential case in which the 
59    connection could be destroyed while threads were waiting to use it.
60
61  * The DNLC freelist has been seen to become corrupted with still 
62    active entries being stored on the freelist.  Changes were made
63    to perform a better job of cleaning entries before placing them
64    onto the freelist; marking them with the correct magic value when
65    purging the list; and allowing the list to be purged on startup
66    if the cache validation fails.
67
68  * Windows Crash Reporting does not get triggered for afsd_service.exe
69    because it provides its own top level exception handler.  This patch 
70    places an explicit call to ReportCrash() on platforms which support 
71    it.  (XP and above.)
72
73    If you configure Crash Reporting via AD Policy to capture crash
74    reports within the domain, then you will receive this output.
75
76  * Generate MiniDumps independent of the Windows Crash Reporting.
77  
78    (a) If an exception occurs,a minidump will be generated at the path
79        %TEMP%\afsd.dmp. The type of minidump defaults to Normal but 
80        can be set to any other type via use of the
81        registry.      
82
83        [HKLM\SOFTWARE\OpenAFS\Client]  MiniDumpType (DWORD)
84
85    (b) MiniDumps can be generated at any time using the "fs minidump"
86        command.   This allows you to generate a minidump without 
87        stopping the process or even requiring the use of a debugger
88        on the system.
89
90   * an RX connection which reports bad ticket now treats it the same way
91     the expired ticket is treated.   The ticket is removed from the 
92     connection and a new anonymous connection is established.
93
94   * fs memdump now requires that the caller be in the AFS Client Admins
95     group
96
97   * additional debugging information is provided in cm_Analyze when the
98     error code is ignored.
99
100   * Fix a regression introduced into the pioctl() client code which
101     will cause a crash in winlogon.exe, explorer.exe and fs.exe if
102     MIT KFW is not installed. (1.3.82a)
103
104   * Remove AFS Gateway option from OpenAFS Control Panel (1.3.82a)
105
106 Since 1.3.81:
107   * Fix a race condition in cm_EndCallbackGrantingCall() that 
108     could leave 'nrevp' pointing to freed memory.  In the process,
109     optimize the processing to ensure that the applications monitoring
110     the status of the stat cache entry are only notified at most 
111     once.
112
113   * Conditionalize access to the Explorer Shell AFS->Mount Point
114     ->Remove menu item.  Disable the item if the selected item(s)
115     are not mount points.
116
117   * Activate AFS RPC (RX) Free Packet Queues stored in Thread
118     Local Storage.  This eliminates thread contention on the
119     global RX free packet queue.  This should improve performance
120     on multi-CPU systems.
121
122   * Fix the IP address filtering code to properly load/unload
123     the IPHelper DLL so that Windows XP/2003 and beyond systems
124     do not have to manually probe the registry.
125
126   * CleanupACLEnt() was not being called consistently with 
127     the cm_scache_t object referred to by the back pointer
128     mutex locked. This could in very rare conditions lead to
129     an invalid memory access.
130
131   * Added a script command to the msi installer "afs_replace"
132     which can be used to replace one version of OpenAFS with
133     another without requiring an uninstall and reinstall if
134     the installed msi is no longer in its original location.
135
136   * Apparently the problem with multi-domain forests with cross-
137     realm trusts to non-Windows realms was not entirely solved.
138     The authentication to the AFS SMB service failed because 
139     the wrong name was being used.  Using ASU as an example,
140     the authentication was being performed with the name
141     "QAAD\user" (an account in the forest root) and not 
142     "user@ASU.EDU (the MIT Kerberos principal used to login with)
143
144     The solution was to add an additional dependency on KFW
145     in order or to be able to easily obtain the client principal 
146     name stored in the MSLSA ccache TGT.  This information is 
147     used in two locations:  
148
149     - the pioctl() function 
150
151     - a new WinLogon Event Handler for the "logon" event.  
152
153     The pioctl function will now be able to use the correct
154     name when calling WNetAddConnection2() and the "logon"
155     event handler will now be able to call WNetAddConnection2().
156     The hope is that the "logon" event handler will be called 
157     before the profile is loaded but I have not guarrantee
158     that will happen. 
159
160 Since 1.3.80:
161   * Fixed a locking error in cm_TryBulkStat() which had the
162     potential of deadlocking the system for the length of time
163     it takes to perform a bulk status fetch operation.
164
165   * Replaced time conversion code (UnixTime <-> FILETIME) to 
166     be completely arithmetic instead of relying on a bizarre
167     algorithm involving a variety of C RTL time functions.
168     This has the side effect that UnixTime and FILETIME which
169     are both stored in UTC are interpretted as UTC throughout
170     the year.  Windows will apply the same localization to AFS
171     as it does to NTFS.  Applications which rely on the ability
172     to sync files between the two file systems will no longer
173     see the timestamps of files in AFS change an hour relative
174     to the files stored in NTFS or Windows based backup devices.
175
176   * Fixed a invalid memory access under a bizarre circumstance.
177     Windows will allow a physical mass media device to be 
178     installed via Plug N Play to the system and will assign it
179     the lowest available drive letter.  This is true even if the
180     drive letter is currently assigned in the user session to
181     a network device via NET USE (or its equivalent.)  When this
182     happens, queries sent to the CIFS server will contain invalid
183     data.  This invalid data was not being caught by the AFS 
184     Client Service and was resulting in a crash when Freelance
185     mode was in use.  
186
187   * Fixed a reference count error when registering callbacks
188     on a stat cache object if the callback was already registered
189
190   * Add a case to cm_Analyze() in order to handle the case where
191     cm_GetConnByMServers() returns CM_ERROR_NOSUCHVOLUME because
192     the server list for the volume is empty.  In this case, force
193     an update of the volume info and retry.
194
195   * Insert a missing cm_EndCallbackGrantingCall() which could
196     result in threads waiting for a callback to complete to never
197     be woken up.
198
199   * In the persistent cache, there is a maximum number of volume
200     entries.  Allow volume entries to be reused if the maximum
201     number have been allocated and their reference count is zero.
202
203   * If we already have a dead virtual connection object, don't 
204     ignore the fact that additional dead vc objects must be taken
205     care of.
206
207   * Removed a deadlock condition introduced in the summer of 2004.
208     Do not hold mx locks around calls to RX functions including
209     rx_NewCall().  That is what reference counts on the rx_connection
210     object are for.
211
212   * Fixed an initialization error in afslogon.dll which could
213     result in random behavior including a failure to terminate
214     the NPLogon function. (1.3.80b)
215
216   * Fixed an error preventing the use of SMB authentication
217     on Windows 2000.  (1.3.80a)
218
219 Since 1.3.77:
220   * Updated CellServDB to Public CellServDB 16 Mar 2005
221
222   * Fixed DNS AFSDB queries to ensure that "csail" cannot be
223     misinterpretted as "csail.mit.edu" when the resolver 
224     is configured to append ".mit.edu" to failed DNS queries.
225
226   * Fixed another case in which the client would replace connections
227     to the host when it was not necessary.  In this case the 
228     situation would occur if cryptall was on and the connections
229     were unauthenticated due to lack of an appropriate token.
230
231   * OpenAFS for Windows has failed to work at sites which are 
232     utilizing a cross-realm trust between an MIT/Heimdal realm
233     and a multi-domain Windows forest when the workstation being
234     accessed is not located in the root domain.  This is caused 
235     by a bug in the workstation which was triggered after the 
236     introduction of Windows 2003 Server.  When the bug is triggered,
237     the workstation attempts to authenticate users to afsd_service.exe
238     by contacting the Domain Controller instead of using the 
239     LSA loopback authentication mechanism.
240
241     One of the reasons this bug occurs is because the workstation    
242     does not have a reliable way of knowing that the service whose
243     netbios name is "AFS" is located on the workstation.  This will
244     be fixed starting in Longhorn Beta 1 by Microsoft.  The 
245     "BackConnectionHostNames" registry value will be used to 
246     indicate that the authentications to that service name should
247     be performed using the loopback authentication mechanism.
248
249     In the meantime, when Logon Caching is enabled, we can force
250     afsd_service.exe to authenticate using the logon cache before
251     contacting the Domain Controller.  This will work with both
252     password and smart card based logons.  
253
254   * The allDown logic in cm_ConnByMServers() was wrong.  The allDown
255     flag should not be cleared if a volume's server reference is 
256     marked as "offline".  In the case where all of the volume's 
257     servers are either "down" or the volumes are "offline", we want
258     cm_Analyze() to process the condition as CM_ERROR_ALLOFFLINE
259     instead of as CM_ERROR_TIMEDOUT.  In fact, CM_ERROR_TIMEDOUT
260     should never occur in practice.
261
262     In the case of CM_ERROR_ALLOFFLINE, cm_Analyze() will sleep for
263     5 seconds, clear the server down and volume busy flags, and 
264     then force an update from the VLDB.  This allows the client to 
265     update the location of a volume if the reason for it being 
266     marked offline is because it is being moved.  Calls to 
267     cm_ConnByMServers() will be retried either until success or
268     the RDRtimeout period is reached.
269
270   * Correct the Power Management code behavior in response to 
271     Standby, Suspend, and Shutdown events.  Instead of flushing the
272     buffers associated with the mounted SMB submounts, simply write
273     all buffers which are marked dirty.
274
275   * Added support for "TheseCells" to afslogon.dll.  "TheseCells"
276     provides a list of cells other than the default cell for which
277     tokens should be obtained using the default Kerberos principal.
278     This functionality is logon domain specific and is only available
279     when using KFW for authentication.
280
281   * Fixed FindNext Invalid Handle error caused by over agressive 
282     attempts at garbage collecting dirSearch entries when the 
283     dirSearch ID wraps from the maximum value to 1.
284
285   * Add support for registry defined server preferences for VLDB and 
286     File servers.  See registry.txt for details.
287
288   * Increased default cache size to 96MB and default number of cache
289     entries to 10,000.
290
291   * Fixed refCount leaks related to directory lookups and pioctl calls.
292
293   * Callbacks revoked during a race condition with an attempt to 
294     obtain the same callback no longer result in an inaccessible
295     stat cache entry.
296
297   * New command line tool:
298
299         afsdacl : Set or reset the DACL to allow starting or stopping
300              the afsd service by any ordinary user.
301
302         Usage : afsdacl [-set | -reset] [-show]
303               -set   : Sets the DACL
304               -reset : Reset the DACL
305               -show  : Show current DACL (SDSF)
306
307   * IP addresses are no longer queried once at startup.  Instead IP
308     addresses are obtained as needed.   Loopback adapter addresses are
309     no longer published to the server.
310
311   * Pay attention to the MIT KFW registry configuration for automatic
312     importation of MSLSA credentials. (SOFTWARE\MIT\Leash32,MsLsaImport)
313
314   * Fix (once again) case-sensitive comparisons which was apparently 
315     broken in 1.3.72.
316
317   * Activate support for vos listvol -format
318
319   * Population of the "AFS Client Admins" group failed on non-English
320     versions of Windows because the name of the "Administrators" group
321     is localized.  Now we lookup the name of the group by using the
322     Administrators Group Alias Relative ID.
323
324   * Multiple cell token acquisition within afscreds.exe was broken in the 
325     case of Kerberos 5 cross realm authentication.  Instead of contacting
326     the KDC associated with the cell's realm, afscreds would obtain a 
327     token from the KDC of the user's realm.  This would result in
328     "invalid kvno errors" while authenticating to the AFS servers.  
329     Unauthenticated access would work.  The symptoms would vary based upon
330     whether or not the VLDB servers had been contacted using unauthenticated
331     connections prior to the user obtaining tokens.
332
333   * The list of ACL entries was becoming corrupted.  It appears as if 
334     an ACL when it expires was not being appropriately cleaned up.  In
335     fact, it was left in the list of ACLs associated with the scache 
336     entry.
337
338   * Changed the default @sys name list to "x86_win32 i386_w2k i386_nt40"
339     for 32-bit x86 systems.  The default for itanium will be "ia64_win64"
340     and "amd64_win64" for amd 64-bit processors.
341
342   * When executing executables, Windows provides a mechanisms by which
343     the normal search for DLLs can be bypassed.  If a file foo.exe is
344     being executed and there exists a file or directory "foo.exe.local" 
345     (the contents are ignored if a file), then Windows will search for
346     DLLs first in the "foo.exe.local" directory and second in the 
347     directory in which the "foo.exe" file is located.  
348
349     Previous releases of OAFW would improperly return 
350     STATUS_NOT_A_DIRECTORY instead of the expected 
351     STATUS_OBJECT_PATH_NOT_FOUND.  This would cause the Windows SMB client
352     to terminate the search for the DLL causing the execution of the 
353     application to fail.
354
355   * Rework the reference counting of smb_vc_t objects.  The references  
356     stored in the waiting locks were not counted.  This could result in
357     an assertion if the reference count drops to zero.
358
359   * "fs wscell" returns "Freelance.Local.Root" for the workstation cell
360     when running in freelance mode.
361
362   * Added support for persistent caching of file contents, stat entries,
363     volume data, cell data, and name lookup data.  When the registry 
364     value, "NonPersistentCaching", is not defined or set to 0 the file 
365     specified by "CachePath" becomes a persistent cache file.   The 
366     size of the cache file is computed at run time.  It has a maximum
367     size of approximately 1.2GB.  The contents of the file will be 
368     validated according to the rules specified by the "ValidateCache"
369     registry value.  
370
371   * Added support for UUIDs.  UUIDs are kept for as long as the 
372     cache file is intact.
373
374   * Added cmdebug.exe and support cache manager debugging callback 
375     interfaces in afsd_service.exe.
376
377     Usage: cmdebug -servers <server machine> [-port <IP port>] [-long] 
378                    [-addrs] [-cache] [-help]
379     Where: -long   print all info
380            -addrs  print only host interfaces
381            -cache  print only cache configuration
382
383   * Symlinks to \\AFS\[all\]... will now be treated the same as 
384     symlinks to /afs/....   However, please use /afs/... as otherwise
385     the symlinks won't work on Unix.
386   
387   * Correct a problem with local CellID allocation for cells whose 
388     server list is obtained via DNS instead of a CellServDB file.  If
389     the DNS information expires the CellID assigned to the entry will
390     be changed.  This causes all of the cm_scache_t objects which refer
391     to the old cellID number to become useless.  Attempts to access 
392     files or directories with cm_scache_t objects using the old cellID
393     will fail since the server list cannot be obtained.
394
395   * Correct deadlock condition in cm_EndCallbackGrantingCall which can
396     be triggered if the volume referenced by the cm_scache_t object is
397     offline.
398
399   * The AFS Service needs to respond to SERVICE_ACCEPT_SHUTDOWN messages
400     in addition to SERVICE_ACCEPT_STOP.
401
402   * Move RPC shutdown until after the SMB and RX shutdown procedures 
403     complete.  Block until RPC shutdown is complete.
404
405   * Modify afslogon.dll (integrated logon) to wait for service if its
406     state is START_PENDING.  If the timeout period occurs, reset to 
407     the retry interval and not the sleep interval.
408
409   * When renewing the server list for a cell obtained via DNS AFSDB
410     records, the cm_cell_t entry must be removed from the list of all 
411     cells.  Otherwise, the list of cells will be corrupted.
412  
413   * In the dcache and scache modules, use the cm_scache_t dataVersion
414     instead of the cm_fakeDirVersion.  
415
416   * Synchronize fs.c with the unix version.
417
418   * The variable used to determine whether a file or virtual memory
419     mapped cache is used was not properly initialized to a default
420     value. If the registry setting "NonPersistentCaching" was not
421     set, the choice would be random.   Properly initialized to be
422     "file".
423
424   * The memory mapped view was never unmapped before closing the file
425     at service shutdown.  This is now properly cleaned up.
426
427   * Default location of Cache file is now %TEMP%\AFSCache
428
429 Since 1.3.76:
430
431   * A bug affecting new installations of 1.3.75/76 would result in
432     the creating of incorrect mountpoints in the freelance root.afs 
433     volume for the default cell.
434
435     If "fs \\afs\all\<cellname>" lists a volume name of "root" instead
436     of "root.cell", you have been affected by the bug.  To correct the
437     problem, execute the following commands:
438
439           fs rmmount \\afs\all\<cellname>
440           fs rmmount \\afs\all\.<cellname>
441         
442           fs mkmount \\afs\all\<cellname> root.cell <cellname>
443           fs mkmount \\afs\all\.<cellname> root.cell <cellname> -rw
444
445 Since 1.3.75:
446
447   * A bug has been fixed in the auto-generation of Freelance root.afs
448     symlinks which produced random entries in the \\AFS\all directory.
449
450   * Support has been added for multi-homed servers
451
452 Since 1.3.74:
453   * Added a new registry value, "StoreAnsiFilenames", which can be used
454     to force the use of ANSI character sets instead of OEM Code Pages.
455     This feature is useful when users require the ability to create 
456     filenames with 8-bit characters and need to access the files from
457     both Latin-1 based Unix systems as well as from Windows.
458
459     Activation of this feature will prevent access to files stored with
460     8-bit OEM characters.
461
462   * Shutdown all SMB threads in a synchronized manner when stopping the 
463     service.
464  
465   * There is currently a maximum cache size of 1.3GB.  The limit is imposed
466     by the largest contiguous block of unused memory within the 2GB process
467     space which can be assigned to the memory mapped file.  Unfortunately,
468     when the executable digital signature verification code is activated
469     Windows sees fit to further segment the process memory which in turn
470     reduces the size of the maximum cache file to less then 800MB.  If
471     larger cache sizes are desired, a new registry value should be set:
472
473       HKLM\SOFTWARE\OpenAFS\Client (DWORD) "VerifyServiceSignature" = 0x0
474
475     Setting this value will disable the runtime verification of digital
476     signatures on afsd_service.exe and the afs dlls which it loads.  It
477     will not disable the the version number check on those same files.
478     The signature verification is not a security messure and is only meant
479     to enhance the ability to afsd_service.exe to detect potential
480     destablizing mixtures of DLLs from incompatible distributions.
481
482     Added code to auto-disable the signature verification check if 
483     the desired cache size is greater then 700MB.
484
485   * Windows' WinTrustVerify(WIN_SPUB_ACTION_PUBLISHED_SOFTWARE) is 
486     used to verify the validity of the afsd_service.exe binary 
487     as well as each of the AFS DLLs loaded by the service.  Not only
488     must the digital signature be valid but the signatures of the 
489     DLL must be signed by the same entity as the service.
490
491   * Implement new functions: cm_freelanceMountPointExists and
492     cm_freelanceSymlinkExists.  Use them along with other validity
493     checks in cm_freelanceAddMount and cm_freelanceAddSymlink to
494     ensure that name collisions do not occur and that empty strings
495     are not valid file names.
496
497     A symlink may not have a name which would resolve to a valid 
498     cell name.  Doing so would prevent access to the cell.
499
500   * Add missing cm_HoldSCacheNoLock call to Freelance mount point
501     re-initialization code.  The reference counts of the fake root.afs
502     volume scache object(s) would become invalid when the mount point
503     or symlink lists were altered.
504
505   * Add registry entries to provide mappings from the afsdsbmt.ini
506     to the new locations for applications which count on the use
507     of the old Profile file APIs.  These apps are likely to fail
508     if the user does not have administrator privileges and the 
509     registry is locked down.
510
511   * The afs_config.exe submounts dialog had two errors.  
512     First, attempts to remove entries failed because the registry
513     key was being opened without KEY_WRITE privileges.  
514     Second, when editing a submount entry, changing the name
515     would add a new key and leave the original one in place. 
516     Now the original submount will be removed if its name is 
517     changed.
518
519   * In recent months there have been several incidents in which
520     users have experienced problems starting or accessing 
521     afsd_service.exe and after significant effort has been spent
522     it has turned out that they have two versions of AFS on the
523     machine or an inconsistent set of DLLs.  
524
525     Code has now been added to afsd_service.exe which will walk
526     the list of modules loaded by afsd_service.exe and validate
527     that the version of the AFS DLLs matches the version of the
528     afsd_service.exe executable.  If they do not match the service
529     will not start.  
530
531   * When Freelance mode is enabled and there is no registry
532     key HKLM\SOFTWARE\OpenAFS\Client\Freelance, afsd_service.exe
533     will attempt to import the afs_freelance.ini file contents.
534     If the file does not exist, it was creating a dummy file
535     with a r/o and r/w entry for the default cell and then
536     importing those values.
537
538     This process has been changed.  The temporary file is no
539     longer created.   Also, both the OpenAFS Client install
540     directory as well as %WINDIR% are checked for previous
541     afs_freelance.ini files.
542
543   * Added support for VL_GetEntryByNameN().  Still need to add
544     support for VL_GetEntryByNameU() for multi-homed support.
545
546   * Fix a deadlock situation in afscreds.exe when canceling an
547     auto-generated Obtain Tokens dialog
548
549 Since 1.3.72/73:
550   * Fix the locking of objects during Directory Searches in the
551     SMB/CIFS server.  The failure to properly lock the reference 
552     counts was resulting in the premature freeing of smb_dirSearch_t 
553     objects while they were still in use by the SMB/CIFS client.
554     This does not solve the "Invalid Handle" problem.
555
556   * Fix Find Cell By Name pioctl call to return a valid cell
557     name for the Freelance fake root.afs volume.  
558     "Freelance.Local.Root".
559
560   * Fix the Explorer Shell Extension Symlinks->Add operation.
561     The dialog template was missing and the link destination
562     string was too short.
563
564   * Add support for symlinks to Freelance root.afs volume
565     Stored at HKLM\SOFTWARE\OpenAFS\Client\Freelance\Symlinks
566        <number>  =  "<linkname>:<relative-path>."
567     Use symlink.exe to create, list, or remove
568
569   * Remove the fallback to the use of KFW's KRB4 library when obtaining
570     tokens.  We never obtain KRB4 tickets.
571
572   * Fix AFS Client Configuration Control Panel to support new SysName
573     protocol.
574
575   * Fix a bug in afsd_service.exe which could result in the SysName
576     not being read from the registry.
577
578 Since 1.3.71:
579   * Add code to block the issuance of AFS tokens by aklog.exe or
580     afscreds.exe when the Kerberos 5 principal name contains a dot.
581
582   * Modify the IsAdmin() function to always treat the local SYSTEM
583     account as an AFS client administrator.  Affects fs.exe and 
584     afs_config.exe.
585
586   * Modify the internal handling of Quota Exceeded errors
587
588   * Upgrade all reference count fields in the Windows cache manager
589     and the osi library to use unsigned long instead of signed short.
590     A similar fix has been applied to the afs rpc (rx) library.
591
592   * fix the Windows cache manager to prevent it from replacing the 
593     rx_connection object associated with the cm_conn_t object on each
594     and every operation if "fs crypt" was set.  This explains the 
595     dramatic performance difference when crypt is used vs clear.
596     The problem: 'cryptall', a boolean flag indicating whether or not 
597     "fs crypt" is set, was being compared to the rx_connection 
598     cryptlevel which is either rxkad_clear:0 or rxkad_crypt:2.
599     1 != 2 and therefore the rx_connection was always destroyed 
600     and replaced on each and every operation.
601
602     Lock the cm_conn_t object around every call to RXAFS_xxxx functions.
603     It is not safe for the cm_conn_t object to not be locked because
604     rx_DestroyConnection might be called from another thread if:
605         - the user's tokens have changed or expired
606         - the crypt mode has changed
607
608     This fix appears to have also taken care of the problems associated
609     with Overlapped Writes resulting in Delayed Write errors.
610
611   * fix NSIS installer's AdminGroup.exe to properly create and
612     remove groups when given -create or -remove.  The string comparison
613     test was wrong.
614
615   * fs sysname now accepts a list of sysname values 
616
617   * added a new registry value HKLM\SOFTWARE\OpenAFS\Client "IoctlDebug"
618     DWORD which when set to a non-zero value will cause error message
619     text to be output to stderr from the pioctl() routine.  Useful in 
620     debugging failures of fs.exe, tokens.exe, etc.
621
622   * added a test to the power management code to only perform a 
623     flush operation if there is at least one network adapter which
624     is not a loopback adapter.
625
626   * Fix bug in loading of registry value HKLM\SOFTWARE\OpenAFS\Client
627     "EnableKFW".  This value will not be read if the key
628     HKCU\SOFTWARE\OpenAFS\Client exists; even if the "EnableKFW" 
629     value under that key does not.
630
631   * provide mechanisms to force the use of krb524d for Kerberos 5
632     ticket to AFS token conversion.  For afslogon.dll and afscreds.exe
633     there is a new registry value "Use524" and for aklog.exe a new
634     command line parameter "-m".
635
636   * Fix the pattern matching algorithm to properly match patterns
637     ending with a '*'.
638
639   * smb_ReceiveCoreRename() was factored to produce smb_Rename()
640     which is used by both the original function and the new
641     smb_ReceiveNTRename().  smb_ReceiveNTRename() supports the
642     creation of HardLinks in addition to Renaming.  smb_Link() 
643     is a new function which creates HardLinks via cm_Link().
644     cm_Link() is a new vnodeops function which creates links
645     using RXAFS_Link().
646
647     smb_ReceiveNTRename() does not support the File Copy and 
648     Move Cluster Information operations described in its interface.
649     ReceiveNTRename is under documented in CIFS-TR-1p00_FINAL.pdf.
650
651   * When opening files via symlinks, we should follow the symlinks
652     until we reach the actual file stat cache entry.  The stat cache
653     entry of the file should then be stored in the FID instead of
654     stat scache entry of the symlink.
655
656   * return bad operation errors for all unimplemented functions
657     even if we do not know the functions exist.
658
659   * Log bad packets and unknown operation packets to the trace log
660
661   * Map CM_ERROR_BADOP to STATUS_NOT_SUPPORTED instead of 
662     0xC09820FF
663   
664   * Update list of known CIFS operations to include all those listed
665     in CIFS-TR-1p00_FINAL.pdf.
666
667   * Modify the handling of HKLM\SOFTWARE\OpenAFS\Client\Submounts
668     to support the REG_EXPAND_SZ type.
669
670 Since 1.3.70:
671   * A new Windows authorization group "AFS Client Admins" is now 
672     created and populated with the members of the "Administrators"
673     group.  The group is used to determine which accounts on the
674     machine may be used to modify the AFS Client Configuration via
675     the UI and command line tools.  afs_config.exe, fs.exe, 
676
677   * Modify the WinLogon Logoff Event Handler to query NT4 domain
678     controllers for the remote profile path if Active Directory
679     services are not available.
680
681   * Fix aklog.exe to not add the AFS ID to the username
682
683   * PTS registration of new users to foreign cells has been added to 
684      afscreds.exe
685
686   * The cm_Daemon thread is used to perform checks for 
687     down servers, up servers, volumes, callback expirations, 
688     lock maintenance and token expiration.  Due to a gaff in
689     larger integer division the thread never performed any 
690     work.  Instead the current time computation would always
691     be less then the trigger times.  This had an adverse affect
692     on the client's ability to maintain communication with servers,
693     keep volumes up to date, and flush user tokens and acls
694     when they have expired. This was broken when the 1.3 branch
695     was modified to support VC7 which no longer included 
696     largeint.lib
697
698   * An initialization problem with the Freelance code was 
699     detected while fixing the callbackRequest.  The cm_rootSCachep
700     object is obtained during afsd_InitDaemons() but the callback 
701     information is incomplete.  The callback information will not
702     be obtained until cm_MergeStatus is called from within
703     cm_GetCallback.  Unfortunately, cm_SyncOp did not properly 
704     test for the conditions under which the callback information
705     must be obtained.  
706
707   * Reports have been filed indicating that callbacks were
708     being lost.  An examination of the code indicated that the
709     cm_server_t objects were not being properly reference
710     counted by the cm_scache_t and cm_callbackRequest_t objects.
711     In particular, the cm_server_t objects may have been freed
712     from beneath the cm_conn_t objects.
713
714     All of the reference counting is now done via the functions:
715         cm_GetServer
716         cm_GetServerNoLock
717         cm_PutServer
718         cm_PutServerNoLock
719     this improves the ability to track the referrals.  
720
721     Each cm_BeginCallbackGranting Call now allocates a reference
722     to the cm_server_t.  The cm_EndCallbackGrantingCall either
723     frees the reference or transfers it to the cm_scache_t
724     cbServerp field.  These are then appropriately tracked
725     through the cm_Analyze call.
726
727   * Ensure that the dnlc hash table is the same size as the
728     dir name hash table (as per original author's note).
729     Increase the dnlc CM_AFSNCNAMESIZE to a multiple of 8
730     for compatibility with 64-bit systems.
731
732   * fix smb_ApplyV3DirListPatches to properly apply the hidden
733      attribute to dotfiles when the infoLevel < 0x101 and 
734      cm_SyncOp has failed.
735
736   * Fix the Freelance registry initialization code.  There
737     was a possibility that some systems could end up with 
738     garbage in the registry during a clean install.
739
740 Since 1.3.66:
741    * file and directory names beginning with "." will now be given the
742      hidden attribute when the volume access is anonymous.  this matches
743      the behavior when the volume access is via an authenticated user.
744
745    * Added a change monitor to the HKLM\SOFTWARE\OpenAFS\Client\Freelance
746      key.  When a change occurs mark the root.afs data as invalid and
747      for it to be reloaded on the next access.  This allows administrators
748      to modify the mount point list without restarting the service.
749      
750      The freelance client used to provide a fake modification time for
751      the root.afs volume data and its mount points of 7/09/2001 14:24 EDT.
752      Added code to extract the last modification time of the Freelance
753      registry key and use that instead.  The time now represents the 
754      most recent mount point change.
755
756    * PTS registration of new users to foreign cells has been added to 
757      aklog.exe
758
759    * Additional Cache Control and Credential Manager options have been
760      added to the WiX installer.  See deployment guide for details.
761
762    * The CachePath setting is now optionally a REG_EXPAND_SZ type
763   
764    * The WiX installer has been upgraded.  Version 2.0.1927.1 is now 
765      required.
766
767    * The loopback installation code may have had a problem updating the
768      %ETC%\HOSTS file which could have resulted in a premature failure.
769      Work around code has been added for the case where the file cannot
770      be deleted.
771
772    * The default max chunksize was increased from 15 (32K) to 17 (128K)
773      because Windows sends 64K blocks when using overlapped writes.
774
775    * The default number of server threads was increased from 4 to 25 to
776      better handle overlapped writes.  
777
778    * The "AfscredsShortcutParams" registry value was not being properly
779      loaded by afscreds.exe.  Therefore, the default value was always being
780      used instead of the value set by the installer.
781
782    * Windows XP provides downgrade attack detection to prevent an attacker
783      from being able to force the use of NTLM simply by disrupting 
784      communication with the KDC.  This attack cannot exist between the 
785      Windows CIFS client and the AFS Client Service.  Therefore, when a
786      downgrade has been detected the afs pioctl library will force the 
787      establishment of a new CIFS connection using NTLM.
788  
789    * A locking error was discovered surrounding all references to volume
790      server lists within the cm_cell.c source file. 
791
792    * The logged into Windows username was incorrect on Terminal Server
793      machines.
794
795    * A new registry value "NonPersistentCaching" was added to the service
796      parameters key.  When set to a non-zero value, the afs cache is stored
797      in the Windows paging file.  There are two limitations to choosing
798      this option: 
799         1. when persistent caching is implemented it won't work with 
800            this flag set since there will be nothing to persist.
801         2. with this flag set the initial paging allocation cannot be
802            changed while the service is running
803
804    * An initialization bug was discovered in aklog.exe which affected users
805      who have a domain name for their afs servers which could not be mapped
806      to a realm
807
808 Since 1.3.65:
809    * afs_config.exe now validates cell names against DNS in addition
810      to the CellServDB file.
811
812    * In order to allow the freelance client to connect to a volume with ID 
813      equal to 1 on the default cell we changed the fake root.afs volume ID
814      once again.  This time we choose 0xFFFFFFFF.  In addition, we change
815      the cell ID of the fake root.afs volume from 1 to 0xFFFFFFFF as well.
816      It will now be impossible for a volume ID to match that of another 
817      cell unless the client is connected to 0xFFFFFFFD cells.  That should
818      be enough room for growth.
819
820    * Fix "fs mkmount" command to work with UNC paths and when
821      started from non-AFS drives.  It is now possible to create a mount
822      point in the freelance fake root.afs volume with the command
823
824         fs mkmount \\AFS\all\<directory-name> <volume-name> <cellname>
825
826      For example,
827         
828         fs mkmount \\AFS\all\openafs.org root.cell openafs.org
829         fs mkmount \\AFS\all\.openafs.org root.cell openafs.org -rw
830
831    * The algorithm used to re-attempt access to the servers associated with
832      a volume has been altered to properly address the case in which all 
833      servers have been marked down.  The previous algorithm did not reset
834      the server's down flags so the servers were never actually retried.
835      This caused a problem with active volumes if the network connectivity
836      was lost as could be the case with a network cable removal, wireless
837      drop, or laptop hibernation.  With the fix volume access is restored
838      almost instantenously when network connectivity becomes available.
839
840    * Support for SMB/CIFS browsing has been added to the AFS Client Service
841      SMB server.  It is now possible to use "NET VIEW \\AFS" to obtain a
842      listing of AFS submounts and freelance mount points.  Support for
843      NETSHAREENUM, NETSHAREGETINFO, NETSERVERENUM2, NETSERVERGETINFO
844      significantly enhances the behavior of AFS volumes within the Explorer
845      Shell.  For instance, "AFS" now shows up as server in the Explorer
846      with each submount or freelance mount point visible as a share.
847      The right click menu in each folder now works with full functionality
848      on a consistent basis.
849
850    * The network provider can be configured to have different behavior
851      depending on the domain that the user logs into.  These settings are
852      only relevant when using integrated login.  A domain refers to an
853      Active Directory (AD) domain, a trusted Kerberos (non-AD) realm or the
854      local machine (i.e. local account logins).  The domain name that is
855      used for selecting the domain would be the domain that is passed into
856      the NPLogonNotify function of the network provider. (see registry.txt
857      for details)
858
859    * Added a new registry value [HKCU\SOFTWARE\OpenAFS\Client] 
860      "Authentication Cell" which may be used to specify a default 
861      authentication cell for afscreds.exe which is different from
862      the default cell for the AFS Client Service daemon.
863
864    * Added a Logoff WinLogon Event Notification function to afslogon.dll.
865      afslogon.dll moved to %WINDIR%\System32\.
866      New registry entries added to register the dll for Winlogon events.
867
868      The logoff event will now force a call to ktc_ForgetAllTokens()
869      using the context of the user being logged off as long as the 
870      user's profile is not loaded from within AFS.  If the profile 
871      was loaded from AFS we can't release the tokens since the Logoff
872      event is triggered prior to the profile being written back to 
873      the its source location.  This is now performed in an XP SP2 
874      safe manner.
875
876    * Windows XP SP2 Internet Connection Firewall interoperability
877      has been added.
878
879    * The %WINDIR%\afsdsbmt.ini contains four sections:
880         Submounts, Drive Mappings, Active Maps and CSC Policies.
881      The Submounts and CSC policies are now stored in the registry under
882         [HKLM\SOFTWARE\OpenAFS\Client\Submounts]
883         [HKLM\SOFTWARE\OpenAFS\Client\CSCPolicy]
884      The Drive Mappings and Active Maps are stored in the registry under
885         [HKCU\SOFTWARE\OpenAFS\Client\Mappings]
886         [HKCU\SOFTWARE\OpenAFS\Client\Active Maps]
887
888      There is no automatic migration of this data as it would be impossible
889      to consistently migrate data to user profiles which may not be active
890      when the machine is updated.
891
892    * The %WINDIR%\afs_freelance.ini contains lists of mountpoints for the
893      fake root.afs volume.  For the same reasons as for the cellservdb file,
894      this information should not be in %WINDIR%.  This information is now
895      kept under the registry key
896         [HKLM\SOFTWARE\OpenAFS\Client\Freelance]
897
898      The data from the afs_freelance.ini file will be automatically 
899      migrated to the registry on first execution of afsd_service.exe
900
901    * Keeping the CellServDB file in the location %WINDIR%\afsdcell.ini is 
902      troublesome for several reasons.  One, it is confusing for those who
903      expect the file to be named "CellServDB" instead of "afsdcell.ini".
904      Two, this file is not a Windows Profile formatted file.  Three, 
905      applications should not be reading or writing to %WINDIR%.  It causes
906      problems for Windows Terminal Server.
907
908      The new location of CellServDB will be the OpenAFS Client install 
909      directory which is by default C:\Program Files\OpenAFS\Client and can
910      be determined by querying the registry for 
911      [HKLM\SOFTWARE\TransarcCorporation\AFS Client\CurrentVersion]PathName
912
913      The existing afsdcell.ini will be migrated by the NSIS installer. 
914      The Wix installer must still be updated to do the same.
915
916    * Change NSIS installer to use DNS by default; to remove Integrated Logon
917      High Security mode; and to add Terminal Services compatibility registry
918      entries to allow the OpenAFS tools to find the afsdcell.ini and other
919      configuration files in %WINDIR%.
920   
921    * Add support for authenticated SMB connections.   This will remove
922      the need for high security mode in most situations.  Both NTLM
923      and Extended Security (GSS SPNEGO) modes are supported.  Effectively,
924      only NTLM can be used even though Kerberos is now supported.  The
925      reason is that it is not possible to construct a service principal
926      which is unique to each individual machine.
927
928      SMB Extended Auth does not work on XP SP2 unless one of two registry
929      modifications are made:
930
931      (1) To disable the check for matching host names on loopback connections
932         set this key.  This does not require a reboot:
933
934         [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa]
935             "DisableLoopbackCheck"=dword:00000001
936
937      (2) To add the AFS SMB/CIFS service name to an approved list.  This
938         does require a reboot:
939
940         [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0]
941             "BackConnectionHostNames"=multi-sz "AFS" "MACHINE-AFS"
942
943      afsd_service.exe will automatically add the current Netbios Name
944      to the BackConnectionHostNames list and then temporarily disable
945      the loopback check for one cycle of startup/shutdown of the service.
946      We assume most folks do not start/stop without a reboot so this 
947      will be adequate in most cases.
948
949    * Fix security hole in afslogon.dll which allowed passwords to be
950      sent in clear text to the KDC in a misformed principal name.
951
952    * Fix cm_GetCell() to properly handle expired dns entries
953      without crashing
954
955    * If Freelance mode is active and the afs_freelance.ini
956      file does not exist, do not create an empty file.
957      Instead create a file containing ro and rw mountpoints
958      to the default cell using the standard conventions.
959
960    * Modify the Freelance support to handle the ability
961      to create rw mount points in the fake root.afs volume.
962
963    * Changed the RPC mechanism used for token setting from 
964      named pipes to local.  Use of named pipes can be restored
965      by setting the environment variable AFS_RPC_PROTSEQ to
966      "ncacn_np". 
967
968      Named pipes were required when a Windows 9x system was
969      using a NT system in gateway mode which is incompatible
970      with our use of local loopback adapters.
971
972    * In afscreds.exe, if a username of the form user@REALM is
973      specified and no password is specified, do not perform a 
974      kinit operation.  Only perform the aklog functionality.
975
976    * Add a new registry value which allows the number of processors
977      on which afsd_service.exe executes to be restricted.  Valid
978      values are 1..numOfProcessors
979
980        HKLM\SYSTEM\CurrentControlSet\Services\TransarcAfsDaemon\Parameters
981           (DWORD) MaxCPUs 
982
983 Since 1.3.64:
984    * A second MSI based installer option is now available.
985
986    * Fixed Kerberos 5 kinit functionality in afscreds.exe to properly
987      request tickets for user/instance@REALM instead of just user@REALM
988
989    * Modify the Power Management Notify routine to wait for the Hard Dead
990      timeout period instead of a fixed 19 seconds.  With the longer timeout
991      periods Hibernation and Standby could never succeed when network 
992      connectivity is not available.
993
994    * The following fs.exe commands are now restricted to Administrator:
995      - checkservers with a non-zero timer value
996      - setcachesize
997      - newcell
998      - sysname with a new sysname list
999      - exportafs 
1000      - setcell
1001      - setserverprefs
1002      - storebehind
1003      - setcrypt
1004      - cscpolicy
1005      - trace
1006
1007      setting the default sysname for a machine should be done via the
1008      registry and not via "fs sysname".
1009
1010    * NSIS installer adds options to install Debugging Symbols
1011      and the Microsoft Loopback Adapter; the user is now also
1012      given the ability to select the afscreds.exe startup options.
1013
1014    * Build system modified to generate symbols for FREE (aka RELEASE)
1015      builds as well as CHECKED (aka DEBUG) builds
1016
1017    * Sites which have a volume ID of 0x20000001 assigned to their
1018      root.cell volumes have been experiencing problems with accessing
1019      the root.cell volume of their cell when Freelance mode has been
1020      active.  This was because 0x20000001 was assigned to the fake
1021      root.afs volume created by freelance.  The fake volume id is
1022      now set to 0x00000001 to prevent conflicts.
1023
1024    * The timeout logic in the AFS Client Service has been wrong
1025      for sometime.  It is based on two different assumptions.
1026      First, the SMB client timeout is a fix value as was the case
1027      with OS/2 Lan Manager.  This assumption is incorrect.  The
1028      SMB timeout in Windows is a dynamic value computed based upon
1029      a fixed minimum timeout to which is added time based upon the
1030      size of the request and the performance characteristics of
1031      the connection.  Second, it is the responsibility of the 
1032      SMB Server to enforce the timeout requirements of the client.
1033      This is untrue.  The SMB Server cannot be expected to know
1034      the requirements of the client.  More importantly, if the 
1035      SMB server uses the SMB client timeout as a value to restrict
1036      its behavior as an RX client, the performance characteristics
1037      of the local SMB session would be used to prematurely terminate
1038      WAN connections with significantly different performance 
1039      characteristics.
1040
1041      The timeout logic has therefore been modified in the following
1042      manner:
1043       . the Lan Manager Workstation (SMB) Session Timeout is used only
1044         as a basis for configuring the Connection Dead Timeout 
1045         and Hard Dead Timeout values.  The Connection Dead Timeout
1046         must be at least 15 seconds longer than the SMB Timeout
1047         and the Hard Dead Timeout must be at least double the 
1048         Connection Dead Timeout.
1049       . New registry entries have been added to allow the Connection
1050         Dead Timeout and Hard Dead Timeout values independent of the
1051         Lan Manager Workstation Session Timeout
1052       . The test to enforce the SMB Client Timeout has been removed.
1053         
1054      One of the side-effects of removing the enforcement of the SMB 
1055      Client Timeout is that regardless of whether or not the SMB client
1056      is available to receive the response (and how would the SMB server
1057      know) the RX protocol response can be used to update the AFS 
1058      Client Service state for ready access by future SMB client 
1059      requests.
1060
1061      This should be the end of the "Server paused or restarting messages"
1062    
1063    * Add support for arbitrary UNC paths to the pioctl() support.
1064      This enables the fs commands as well as the AFS Shell Extension
1065      to work correctly when UNC paths are being used.
1066
1067    * Fix afscreds.exe (by updating afskfw.lib) to search for cells via
1068      DNS if the cell configuration cannot be determined via CellServDB
1069
1070    * Add debug info to test whether CM_BUF_WAITING or CM_SCACHE_WAITING
1071      are ever set more than once at a time
1072  
1073    * Fix the management of lists of cm_cell_t structures when using 
1074      DNS to lookup cell information.  The previous code would fail to
1075      reuse the same cellID for a cell if DNS was used more than once
1076      for a given cell name.  When the ttl expired, a single cm_cell_t
1077      could be inserted into the cm_allCellsp list more than once 
1078      producing a loop.  In addition, the vlServerp list belonging to
1079      the cell was not freed resulting in improper refCounting of the
1080      servers.
1081
1082    * Add DNS support to cm_IoctlNewCell() which previous only examined
1083      the CellServDB file
1084
1085    * Add cm_FreeServer() function and call it from cm_FreeServerList()
1086      to properly garbage collect cm_server_t objects 
1087      
1088    * Add numVCs variable to smb.c to track the number of smb_vc_t 
1089      objects created and use it to initialize the vcID field which 
1090      previously was set to 0 in all objects resulting in FindByID 
1091      collisions.
1092
1093    * Fixed DNS lookups to work consistently throughout the OpenAFS
1094      product instead of just from within the afsd_service.exe
1095
1096    * Added a runtime check to ensure that AFS Client Service SMB
1097      Server is accepting connections before attempting to mount
1098      global drives.
1099
1100    * Read IP addresses for volume servers out of the CellServDB
1101      file if gethostbyname() on the hostname fails.
1102
1103    * Fix getcellconfig() to populate both the Hostnames as well
1104      as IP addresses when loading cell data via DNS
1105
1106    * Increase the Connection Dead Time to 50 from 20 seconds
1107      Increase the Hard Dead Time to 120 from 40 seconds
1108      (matches the Unix values)
1109
1110    * Fixed an assertion validating the number of allocated NCBs
1111
1112    * Fixed the build environment to consistently build for 
1113      Windows 2000 and above.  (APPVER = 5.0)
1114
1115    * Fixed rx_debug to properly validate the receipt in incoming
1116      data with select() and recvfrom().  Do not copy data out of
1117      the socket buffer unless success is indicated.
1118
1119 Since 1.3.63:
1120    * afsd_service.exe will now display a message box to the 
1121      desktop when it terminates due to an IP Address Change.
1122   
1123    * installer no longer deletes AFS Server configuration data
1124      on uninstall
1125
1126    * installer generates a warning dialog if the RPC service 
1127      is not properly configured
1128
1129    * installer compressed with lzma instead of bzip2
1130
1131    * afsd_service.exe shutdown crash solved once and for all
1132  
1133    * reference counting of smb_vc_t data structures improved
1134  
1135    * name space collision of smb_fid_t event objects corrected
1136
1137    * the output of "fs memdump" is now written to 
1138      %WINDIR%\TEMP\afsd_alloc.log
1139
1140    * the file TaAfsApp_1033.dll is now properly installed allowing
1141      the User Manager to start
1142   
1143    * a new algorithm is used for computing filename pattern matches
1144
1145    * afscreds.exe now accepts user names containing instance
1146      fields.
1147
1148    * Fix the Directory Name Lookup Cache to be case-sensitive.
1149      This is crucial in environments in which a Windows client
1150      is accessing a directory with more than one filename that
1151      differs only by case.  If the directory contains "FOO" 
1152      and "Foo".  You want "DEL Foo" to delete the correct one.
1153      We still have a problem in that "DEL foo" will delete a
1154      random filename.  This will be addressed in a future release.
1155
1156    * Fix afscreds.exe -M option (renewMaps) to work when High
1157      Security mode is off.  Also, remember to disable the ActiveMap
1158      flag in afsdsbmt.ini when a drive mapping is removed.
1159
1160    * Updates to NSIS installer script.  AFS Server configuration
1161      data will not be destroyed on un-install or re-install.  
1162      Use a better compression algorithm.
1163    
1164    * afslogon.dll now uses KFW to obtain tokens when available
1165    
1166    * afslogon.dll when given an all uppercase username will
1167      attempt to authenticate with both the uppercase name
1168      and an all lowercase variation
1169
1170    * DST modification removed.  The fix appears to make things
1171      worse after a reboot of the machine.
1172
1173    * fs.exe:  added "cscpolicy" which is used to 
1174      change client side caching policy for AFS shares
1175
1176      Usage: fs cscpolicy [-share <AFS share>] [-manual] [-programs] 
1177                          [-documents] [-disable] [-help]
1178
1179    * Several uninitialized variables have been initialized
1180
1181    * It is now possible to obtain tokens using cross realm
1182      Kerberos within afscreds.exe:
1183         cell:      dementia.org
1184         user:      jaltman@ATHENA.MIT.EDU
1185         password:  xxxxxxxx
1186      Will obtain a cross realm ticket for jaltman/DEMENTIA.ORG@ATHENA.MIT.EDU
1187      will will in turn be used to obtain afs@DEMENTIA.ORG.
1188      The resulting token will be stored with the display name 
1189        jaltman@ATHENA.MIT.EDU@dementia.org
1190
1191    * aklog.exe has been added to the client
1192
1193      Usage: aklog [-d] [[-cell | -c] cell [-k krb_realm]] 
1194                   [[-p | -path] pathname]
1195                   [-noprdb] [-force]
1196                   [-5 | -4]
1197
1198         -d gives debugging information.
1199         krb_realm is the kerberos realm of a cell.
1200         pathname is the name of a directory to which you wish to authenticate.
1201         -noprdb means don't try to determine AFS ID.
1202         -5 or -4 selects whether to use Kerberos V or Kerberos IV.
1203            (default is Kerberos V)
1204         No commandline arguments means authenticate to the local cell.
1205
1206 Since 1.3.62:
1207    * All of the resource files have been restructured to adhere to
1208      a set of rules IBM implemented for loading string resources.
1209      These rules had either been forgotten or were not discovered
1210      by folks working on the OpenAFS sources.  The end result was
1211      memory corruption.  This is primary item which was preventing
1212      the AFS Server from working.
1213
1214    * Increased the size of the maximum ticket size stored in a token
1215      from 344 bytes to 12,000.  Increased the buffers used to convey
1216      messages between the pioctl() caller and the SMB Server from
1217      1000 bytes to 12,512.  The code appeared to have been writing
1218      above the top of the stack by quite a few number of bytes.
1219      (The increased ticket size is necessary for the next item.)
1220
1221    * When obtaining AFS Tokens via KFW, krb524 is no longer required.
1222      Instead the raw Kerberos 5 ticket is used in its entirety.  This
1223      is extremely important as it allows us to use pure Kerberos 5 KDCs
1224      as the source of the AFS authentication.  The use of up to 12,000 byte
1225      tickets will allow tickets produced by all versions of Microsoft
1226      Active Directory to be used.
1227       - create a user account.       
1228       - designate it DES only
1229       - disable pre-auth
1230       - specify its UPN to be  "afs@realm"
1231       - assign a SPN of "afs/cellname" to the UPN with setspn.exe
1232
1233    * Do not enforce the funky 8dot3 pattern matching rule that the first "."
1234      is special when using long file names.  (you must use "*.*" and not "*")
1235      Instead only enforce it when performing 8dot3 searches. 
1236
1237    * Fixed the DST problem with creation times being set one hour ahead
1238
1239    * Fixed the problem when using \\afs\cell-alias.  For example, 
1240      \\afs\uncc instead of \\afs\uncc.edu.  Do not a new cell struct
1241      for the alias name; instead simply expand the name.  One of the
1242      symptoms of this problem was a loss of acquired tokens.
1243
1244    * Fixed the AFS Shell Extension.  The Symbolic Link menu was empty 
1245      of strings.  (Only English strings provided.)
1246
1247    * Fixed the installer to properly replace in use files.  
1248
1249    * Fixed the build system to cleanup generated component version files
1250
1251    * The release build compiled with MSVC 6.0 compiler to avoid the 
1252      afsd_service.exe shutdown crash.  This does not solve the problem
1253      but simply avoids it for the time being.
1254
1255 Since 1.3.61:
1256
1257  * fix afslogon.dll to not corrupt memory when High Security mode
1258    is not used.  
1259
1260  * fix afsd_service.exe to not attempt to restore the stack when
1261    an exception occurs.  (not safe in multi-threaded programs)
1262
1263  * fix uninstaller to properly remove the CRT and MFC DLLs
1264  
1265  * remove a Message Box from afscreds.exe when getcellconfig()
1266    fails on a kerberos realm which is not a cell
1267
1268 The following is a list of changes to the OpenAFS for Window client
1269 since 1.3.60.
1270
1271  * "fs setserverprefs" will leave afsd service deadlocked
1272
1273  * "vos listaddrs" will core dump
1274
1275  * installer sets the appropriate keys to support Integrated Logon
1276
1277  * installer disables the "Find Lana by Name" functionality as it
1278    was causing headaches for many users
1279
1280  * fix the intermittent crash of the power management thread when
1281    shutting down the AFS Client Service
1282
1283  * optimizes the obtain drive mount list functionality which is 
1284    executed every time the mount tab in afscreds.exe and afs_config.exe
1285    are refreshed.  (this happens a lot)
1286
1287  * fix the service shutdown logic.  add the STOP_PENDING state
1288    and do not accept additional service events after we declare
1289    ourselves STOPPED.
1290
1291 The following is a list of changes to the OpenAFS for Window client
1292 since 1.2.10.
1293
1294 * flexelint was run against the source tree and hundreds (perhaps 
1295   thousands) of corrections were applied to ensure prototypes 
1296   were in use; types were used consistently; variables were 
1297   initialized; unused variables were removed; etc.
1298
1299 * A wide variety of instrumentation was added including the 
1300   ability to produce a stack trace from within afsd_service.exe
1301   when it crashes.
1302
1303 * Dynamic configuration of the RDRtimeout value based upon the
1304   LanMan Workstation Session Timeout
1305
1306 * The mount root no longer needs to be called "/afs".  This 
1307   is now set by a registry value "MountRoot" within the key
1308   HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters
1309
1310 * The cell list is now only read out of afsdcell.ini when the
1311   file changes instead of each time a cell is resolved.
1312
1313 * Thread synchronization was added to cm_server.c and ktc_nt.c
1314
1315 * All calls to GlobalAlloc()/GlobalFree() were replaced with 
1316   calloc()/free().  The Global functions were needed on Windows 3.x
1317   but have caused a variety of problems on the Win32 platforms.
1318   Avoiding them is highly recommended by several Microsoft 
1319   Knowledgebase articles
1320
1321 * Support for Symbolic Links added to the AFS Shell Extension
1322
1323 * Added a registry value "OverlayEnabled" to determine if
1324   Shell Extension Overlays should be enabled.  
1325   HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters
1326
1327 * New Build system to support VC6, VC.NET, VC.NET2003 compilers and
1328   separate trees for checked and free builds.  Build system supports
1329   a custom directory src\WINNT\extra which can be used as a grafting
1330   location of organization specific additions to the build tree.
1331
1332 * New installer built using NSIS 2.0.  
1333
1334 * Named all kernel objects in order to allow them to be monitored
1335   with tools such as SysInternals' ProcExp.exe.
1336   
1337 * Introduced new EventLog framework for AFSD
1338
1339 * Introduced Power Management interface to AFSD for Standby and 
1340   Hibernate modes to allow cache to be flushed prior to network
1341   disconnect
1342
1343 * Utilize Win32 DNSQuery API instead of internal routines.  This 
1344   allows DNS SRV queries to be sent to all current domain name 
1345   servers.  Not just one specified in an INI file.  DNS is now
1346   always activated.
1347
1348 * "NetbiosName" registry value may be used to specify a fixed
1349   Netbios Name such as "AFS" to be used instead of "HOSTNAME-AFS"
1350   when the loopback adapter is in use.  If you need to use the 
1351   old notation with a loopback adapter installed specify a registry
1352   entry of 
1353
1354      "NetbiosName" REG_EXPAND_SZ = "%COMPUTERNAME%-AFS"
1355
1356 * Refactor all modules which depend on LAN Adapter and NetbiosName
1357   determination in a new library: lanahelper.lib.  This allows for
1358   consistent behavior throughout the product.
1359
1360 * Move the afsd.log and afsd_init.log files to the directory specified
1361   by the "TEMP" environment variable.  This is usually %WINDIR%\TEMP
1362   for services.  Added the Date to the log entries.
1363
1364 * New registry value "RxMaxMTU" used to limit the size of the RX 
1365   packets sent by the AFS Client Service to the Server.  In order
1366   to enable OpenAFS to work across the Cisco IPSec VPN the packet
1367   size must be restricted to 1264 or smaller.  The latest NSIS
1368   installer sets a value of 1260 by default.
1369
1370 * New registry value "RxNoJumbo" to disable the use of Jumbo Rx
1371   packets.  This is not needed in order to work across the Cisco
1372   VPN but might be needed for other network environments.  This
1373   value is not set by the NSIS installer.
1374
1375 * New registry value "HideDotFiles" is used to apply the Hidden
1376   attribute to files whose names begin with a '.'.   This value
1377   is set by the NSIS installer.
1378
1379 * New registry value "MaxMpxRequests" allows the maximum number
1380   of multiplexed sessions to be configured at run time.  This
1381   value is not set by the NSIS installer.  The default value is
1382   50.
1383
1384 * New registry value "MaxVCPerServer" allows the maxmimum number
1385   of VCs per server to be configured at run time.  This value is
1386   not set by the NSIS installer.  The default value is 100.
1387
1388 * New registry value "AllSubmount" allows the "all" submount to
1389   be disabled by setting its value to 0x00.
1390
1391 * Allow cells names to be valid mount points 
1392     \\<netbiosName>\<cellname>
1393
1394 * Store the active state of drive mappings in order for afscreds.exe
1395   to restore them upon startup
1396
1397 * Add exception handling to generate a Stack Trace to the afsd_init.log
1398   file if one happens to occur.
1399
1400 * Add lots of logging to help detect the cause of invalid SMB packets
1401
1402 * Enable Kerberos for Windows to be used to obtain AFS Tokens via
1403   conversion of Kerberos 5 "afs" service tickets.  Supports auto-
1404   renewal of expiring tokens as long as afscreds.exe is running.
1405
1406 * New afscreds.exe command line options:
1407     -A = autoinit
1408     -M = renew drive maps
1409     -N = ip address change detection
1410     -Z = unmap drives
1411
1412 * New registry value "EnableKFW" in {HKCU,HKLM}SOFTWARE\OpenAFS\Client 
1413   determines whether or not MIT Kerberos for Windows should be used
1414   to obtain tokens via Kerberos 5 tickets.
1415
1416 * New registry value "AfscredsShortcutParams" in 
1417   {HKCU,HKLM}SOFTWARE\OpenAFS\Client 
1418   determines the command line parameters to be specified when "fixing"
1419   the AFS Shortcut in the user's startup folder.
1420
1421 * The "ShowTrayIcon" registry value has been moved from 
1422   HKLM\Software\TransarcCorporation\AFS Client\AfsCreds to
1423   {HKCU,HKLM}SOFTWARE\OpenAFS\Client 
1424   
1425 * The <cell name> registry values used to store the token expiration
1426   reminders have been moved from 
1427   HKLM\Software\TransarcCorporation\AFS Client\AfsCreds to
1428   {HKCU,HKLM}SOFTWARE\OpenAFS\Client\Reminders
1429  
1430 * Obtain the Logon User Name from the Explorer key when available
1431
1432 * new text document doc\txt\winnotes\registry.txt lists all registry
1433   values used by OpenAFS (excluding the AFS Server)
1434
1435 * BUG: rx_securityClass objects were not properly reference 
1436   counted and were never freed.  
1437
1438 * BUG: reduce the number of conditions under which CM_ERROR_TIMEOUT
1439   would be generated.  The existence of a server does not imply
1440   that it is not down.  If all of the servers for a cell are down
1441   return CM_ERROR_NOSUCHVOLUME instead.  This prevents the Explorer
1442   Shell from hanging.
1443
1444 * BUG: the directory name lookup cache failed to free the entries
1445   in the cache when the name cache entries cycled.  The entries
1446   in the cache would become dereferenced without being freed.
1447
1448 * BUG: fs setserverprefs could be executed without Administrator
1449   privileges
1450
1451 * BUG: the number of allocated NCB objects (100) exceeded the number
1452   which could actually be waited upon by the kernel (64).  Any objects
1453   which were utilized above the limit could never have event completions
1454   detected.
1455
1456 * BUG: smb_username_t objects were not being reference counted and 
1457   were not properly freed.
1458
1459 * BUG: smb_tid_t objects could under unusual circumstances be freed
1460   before they were no longer referenced.
1461
1462 * BUG: smb_fid_t object pointer were frequently used even when 
1463   their value could be NULL.   They were not properly released and
1464   therefore they were never freed.
1465
1466 * BUG: smb_packet_t data structures were not completely initialized
1467   upon creation
1468
1469 * BUG: when Rx produces a CM_ERROR_NOIPC error do not return "Access
1470   Denied" because that causes the Explorer Shell to try again until
1471   access is obtained.  Instead return "Remote Resources" which allows 
1472   the shell to move on and treat the error as transient.
1473
1474 * BUG: when initializing the NCBreturns structure, separate Event objects
1475   were created for each NCB although a single Event object was supposed
1476   to be shared by all.
1477
1478 * BUG: smb_dirSearch_t objects were not being properly referenced counted
1479   or freed.
1480
1481 * BUG: smb_tran2Packet_t objects were not being properly referenced 
1482   counted or freed.
1483
1484 * BUG: directory path creation did not handle the case of multiple
1485   directories requiring creation in one attempt
1486
1487 * BUG: SMB requests which required an Extended Response were ignored.
1488   This prevented some files from being written to AFS volumes.
1489
1490 * BUG: character strings were being freed even after they were 
1491   inserted into in use data structures
1492
1493 * BUG: inconsistent usernames were used when High Security mode was
1494   enabled.  (there is still much to do in this area)
1495
1496 * BUG: pioctl() calls which require out of band RPC operations were
1497   susceptible to race conditions when performed by multiple processes
1498
1499 * BUG: memory allocation and deallocation crossed instances of the
1500   C Runtime Library producing memory leakage and corruption in 
1501   afscreds and the client configurator.
1502
1503
1504