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