6378242aacbc277c8e92037edc36cbf0029cf7ec
[openafs.git] / doc / txt / winnotes / afs-changes-since-1.2.txt
1 Since 1.3.74:
2   * Added support for VL_GetEntryByNameN().  Still need to add
3     support for VL_GetEntryByNameU() for multi-homed support.
4
5   * Fix a deadlock situation in afscreds.exe when canceling an
6     auto-generated Obtain Tokens dialog
7
8 Since 1.3.72/73:
9   * Fix the locking of objects during Directory Searches in the
10     SMB/CIFS server.  The failure to properly lock the reference 
11     counts was resulting in the premature freeing of smb_dirSearch_t 
12     objects while they were still in use by the SMB/CIFS client.
13     This does not solve the "Invalid Handle" problem.
14
15   * Fix Find Cell By Name pioctl call to return a valid cell
16     name for the Freelance fake root.afs volume.  
17     "Freelance.Local.Root".
18
19   * Fix the Explorer Shell Extension Symlinks->Add operation.
20     The dialog template was missing and the link destination
21     string was too short.
22
23   * Add support for symlinks to Freelance root.afs volume
24     Stored at HKLM\SOFTWARE\OpenAFS\Client\Freelance\Symlinks
25        <number>  =  "<linkname>:<relative-path>."
26     Use symlink.exe to create, list, or remove
27
28   * Remove the fallback to the use of KFW's KRB4 library when obtaining
29     tokens.  We never obtain KRB4 tickets.
30
31   * Fix AFS Client Configuration Control Panel to support new SysName
32     protocol.
33   * Fix a bug in afsd_service.exe which could result in the SysName
34     not being read from the registry.
35
36 Since 1.3.71:
37   * Add code to block the issuance of AFS tokens by aklog.exe or
38     afscreds.exe when the Kerberos 5 principal name contains a dot.
39
40   * Modify the IsAdmin() function to always treat the local SYSTEM
41     account as an AFS client administrator.  Affects fs.exe and 
42     afs_config.exe.
43
44   * Modify the internal handling of Quota Exceeded errors
45
46   * Upgrade all reference count fields in the Windows cache manager
47     and the osi library to use unsigned long instead of signed short.
48     A similar fix has been applied to the afs rpc (rx) library.
49
50   * fix the Windows cache manager to prevent it from replacing the 
51     rx_connection object associated with the cm_conn_t object on each
52     and every operation if "fs crypt" was set.  This explains the 
53     dramatic performance difference when crypt is used vs clear.
54     The problem: 'cryptall', a boolean flag indicating whether or not 
55     "fs crypt" is set, was being compared to the rx_connection 
56     cryptlevel which is either rxkad_clear:0 or rxkad_crypt:2.
57     1 != 2 and therefore the rx_connection was always destroyed 
58     and replaced on each and every operation.
59
60     Lock the cm_conn_t object around every call to RXAFS_xxxx functions.
61     It is not safe for the cm_conn_t object to not be locked because
62     rx_DestroyConnection might be called from another thread if:
63         - the user's tokens have changed or expired
64         - the crypt mode has changed
65
66     This fix appears to have also taken care of the problems associated
67     with Overlapped Writes resulting in Delayed Write errors.
68
69   * fix NSIS installer's AdminGroup.exe to properly create and
70     remove groups when given -create or -remove.  The string comparison
71     test was wrong.
72
73   * fs sysname now accepts a list of sysname values 
74
75   * added a new registry value HKLM\SOFTWARE\OpenAFS\Client "IoctlDebug"
76     DWORD which when set to a non-zero value will cause error message
77     text to be output to stderr from the pioctl() routine.  Useful in 
78     debugging failures of fs.exe, tokens.exe, etc.
79
80   * added a test to the power management code to only perform a 
81     flush operation if there is at least one network adapter which
82     is not a loopback adapter.
83
84   * Fix bug in loading of registry value HKLM\SOFTWARE\OpenAFS\Client
85     "EnableKFW".  This value will not be read if the key
86     HKCU\SOFTWARE\OpenAFS\Client exists; even if the "EnableKFW" 
87     value under that key does not.
88
89   * provide mechanisms to force the use of krb524d for Kerberos 5
90     ticket to AFS token conversion.  For afslogon.dll and afscreds.exe
91     there is a new registry value "Use524" and for aklog.exe a new
92     command line parameter "-m".
93
94   * Fix the pattern matching algorithm to properly match patterns
95     ending with a '*'.
96
97   * smb_ReceiveCoreRename() was factored to produce smb_Rename()
98     which is used by both the original function and the new
99     smb_ReceiveNTRename().  smb_ReceiveNTRename() supports the
100     creation of HardLinks in addition to Renaming.  smb_Link() 
101     is a new function which creates HardLinks via cm_Link().
102     cm_Link() is a new vnodeops function which creates links
103     using RXAFS_Link().
104
105     smb_ReceiveNTRename() does not support the File Copy and 
106     Move Cluster Information operations described in its interface.
107     ReceiveNTRename is under documented in CIFS-TR-1p00_FINAL.pdf.
108
109   * When opening files via symlinks, we should follow the symlinks
110     until we reach the actual file stat cache entry.  The stat cache
111     entry of the file should then be stored in the FID instead of
112     stat scache entry of the symlink.
113
114   * return bad operation errors for all unimplemented functions
115     even if we do not know the functions exist.
116
117   * Log bad packets and unknown operation packets to the trace log
118
119   * Map CM_ERROR_BADOP to STATUS_NOT_SUPPORTED instead of 
120     0xC09820FF
121   
122   * Update list of known CIFS operations to include all those listed
123     in CIFS-TR-1p00_FINAL.pdf.
124
125   * Modify the handling of HKLM\SOFTWARE\OpenAFS\Client\Submounts
126     to support the REG_EXPAND_SZ type.
127
128 Since 1.3.70:
129   * A new Windows authorization group "AFS Client Admins" is now 
130     created and populated with the members of the "Administrators"
131     group.  The group is used to determine which accounts on the
132     machine may be used to modify the AFS Client Configuration via
133     the UI and command line tools.  afs_config.exe, fs.exe, 
134
135   * Modify the WinLogon Logoff Event Handler to query NT4 domain
136     controllers for the remote profile path if Active Directory
137     services are not available.
138
139   * Fix aklog.exe to not add the AFS ID to the username
140
141   * PTS registration of new users to foreign cells has been added to 
142      afscreds.exe
143
144   * The cm_Daemon thread is used to perform checks for 
145     down servers, up servers, volumes, callback expirations, 
146     lock maintenance and token expiration.  Due to a gaff in
147     larger integer division the thread never performed any 
148     work.  Instead the current time computation would always
149     be less then the trigger times.  This had an adverse affect
150     on the client's ability to maintain communication with servers,
151     keep volumes up to date, and flush user tokens and acls
152     when they have expired. This was broken when the 1.3 branch
153     was modified to support VC7 which no longer included 
154     largeint.lib
155
156   * An initialization problem with the Freelance code was 
157     detected while fixing the callbackRequest.  The cm_rootSCachep
158     object is obtained during afsd_InitDaemons() but the callback 
159     information is incomplete.  The callback information will not
160     be obtained until cm_MergeStatus is called from within
161     cm_GetCallback.  Unfortunately, cm_SyncOp did not properly 
162     test for the conditions under which the callback information
163     must be obtained.  
164
165   * Reports have been filed indicating that callbacks were
166     being lost.  An examination of the code indicated that the
167     cm_server_t objects were not being properly reference
168     counted by the cm_scache_t and cm_callbackRequest_t objects.
169     In particular, the cm_server_t objects may have been freed
170     from beneath the cm_conn_t objects.
171
172     All of the reference counting is now done via the functions:
173         cm_GetServer
174         cm_GetServerNoLock
175         cm_PutServer
176         cm_PutServerNoLock
177     this improves the ability to track the referrals.  
178
179     Each cm_BeginCallbackGranting Call now allocates a reference
180     to the cm_server_t.  The cm_EndCallbackGrantingCall either
181     frees the reference or transfers it to the cm_scache_t
182     cbServerp field.  These are then appropriately tracked
183     through the cm_Analyze call.
184
185   * Ensure that the dnlc hash table is the same size as the
186     dir name hash table (as per original author's note).
187     Increase the dnlc CM_AFSNCNAMESIZE to a multiple of 8
188     for compatibility with 64-bit systems.
189
190   * fix smb_ApplyV3DirListPatches to properly apply the hidden
191      attribute to dotfiles when the infoLevel < 0x101 and 
192      cm_SyncOp has failed.
193
194   * Fix the Freelance registry initialization code.  There
195     was a possibility that some systems could end up with 
196     garbage in the registry during a clean install.
197
198 Since 1.3.66:
199    * file and directory names beginning with "." will now be given the
200      hidden attribute when the volume access is anonymous.  this matches
201      the behavior when the volume access is via an authenticated user.
202
203    * Added a change monitor to the HKLM\SOFTWARE\OpenAFS\Client\Freelance
204      key.  When a change occurs mark the root.afs data as invalid and
205      for it to be reloaded on the next access.  This allows administrators
206      to modify the mount point list without restarting the service.
207      
208      The freelance client used to provide a fake modification time for
209      the root.afs volume data and its mount points of 7/09/2001 14:24 EDT.
210      Added code to extract the last modification time of the Freelance
211      registry key and use that instead.  The time now represents the 
212      most recent mount point change.
213
214    * PTS registration of new users to foreign cells has been added to 
215      aklog.exe
216
217    * Additional Cache Control and Credential Manager options have been
218      added to the WiX installer.  See deployment guide for details.
219
220    * The CachePath setting is now optionally a REG_EXPAND_SZ type
221   
222    * The WiX installer has been upgraded.  Version 2.0.1927.1 is now 
223      required.
224
225    * The loopback installation code may have had a problem updating the
226      %ETC%\HOSTS file which could have resulted in a premature failure.
227      Work around code has been added for the case where the file cannot
228      be deleted.
229
230    * The default max chunksize was increased from 15 (32K) to 17 (128K)
231      because Windows sends 64K blocks when using overlapped writes.
232
233    * The default number of server threads was increased from 4 to 25 to
234      better handle overlapped writes.  
235
236    * The "AfscredsShortcutParams" registry value was not being properly
237      loaded by afscreds.exe.  Therefore, the default value was always being
238      used instead of the value set by the installer.
239
240    * Windows XP provides downgrade attack detection to prevent an attacker
241      from being able to force the use of NTLM simply by disrupting 
242      communication with the KDC.  This attack cannot exist between the 
243      Windows CIFS client and the AFS Client Service.  Therefore, when a
244      downgrade has been detected the afs pioctl library will force the 
245      establishment of a new CIFS connection using NTLM.
246  
247    * A locking error was discovered surrounding all references to volume
248      server lists within the cm_cell.c source file. 
249
250    * The logged into Windows username was incorrect on Terminal Server
251      machines.
252
253    * A new registry value "NonPersistentCaching" was added to the service
254      parameters key.  When set to a non-zero value, the afs cache is stored
255      in the Windows paging file.  There are two limitations to choosing
256      this option: 
257         1. when persistent caching is implemented it won't work with 
258            this flag set since there will be nothing to persist.
259         2. with this flag set the initial paging allocation cannot be
260            changed while the service is running
261
262    * An initialization bug was discovered in aklog.exe which affected users
263      who have a domain name for their afs servers which could not be mapped
264      to a realm
265
266 Since 1.3.65:
267    * afs_config.exe now validates cell names against DNS in addition
268      to the CellServDB file.
269
270    * In order to allow the freelance client to connect to a volume with ID 
271      equal to 1 on the default cell we changed the fake root.afs volume ID
272      once again.  This time we choose 0xFFFFFFFF.  In addition, we change
273      the cell ID of the fake root.afs volume from 1 to 0xFFFFFFFF as well.
274      It will now be impossible for a volume ID to match that of another 
275      cell unless the client is connected to 0xFFFFFFFD cells.  That should
276      be enough room for growth.
277
278    * Fix "fs mkmount" command to work with UNC paths and when
279      started from non-AFS drives.  It is now possible to create a mount
280      point in the freelance fake root.afs volume with the command
281
282         fs mkmount \\AFS\all\<directory-name> <volume-name> <cellname>
283
284      For example,
285         
286         fs mkmount \\AFS\all\openafs.org root.cell openafs.org
287         fs mkmount \\AFS\all\.openafs.org root.cell openafs.org -rw
288
289    * The algorithm used to re-attempt access to the servers associated with
290      a volume has been altered to properly address the case in which all 
291      servers have been marked down.  The previous algorithm did not reset
292      the server's down flags so the servers were never actually retried.
293      This caused a problem with active volumes if the network connectivity
294      was lost as could be the case with a network cable removal, wireless
295      drop, or laptop hibernation.  With the fix volume access is restored
296      almost instantenously when network connectivity becomes available.
297
298    * Support for SMB/CIFS browsing has been added to the AFS Client Service
299      SMB server.  It is now possible to use "NET VIEW \\AFS" to obtain a
300      listing of AFS submounts and freelance mount points.  Support for
301      NETSHAREENUM, NETSHAREGETINFO, NETSERVERENUM2, NETSERVERGETINFO
302      significantly enhances the behavior of AFS volumes within the Explorer
303      Shell.  For instance, "AFS" now shows up as server in the Explorer
304      with each submount or freelance mount point visible as a share.
305      The right click menu in each folder now works with full functionality
306      on a consistent basis.
307
308    * The network provider can be configured to have different behavior
309      depending on the domain that the user logs into.  These settings are
310      only relevant when using integrated login.  A domain refers to an
311      Active Directory (AD) domain, a trusted Kerberos (non-AD) realm or the
312      local machine (i.e. local account logins).  The domain name that is
313      used for selecting the domain would be the domain that is passed into
314      the NPLogonNotify function of the network provider. (see registry.txt
315      for details)
316
317    * Added a new registry value [HKCU\SOFTWARE\OpenAFS\Client] 
318      "Authentication Cell" which may be used to specify a default 
319      authentication cell for afscreds.exe which is different from
320      the default cell for the AFS Client Service daemon.
321
322    * Added a Logoff WinLogon Event Notification function to afslogon.dll.
323      afslogon.dll moved to %WINDIR%\System32\.
324      New registry entries added to register the dll for Winlogon events.
325
326      The logoff event will now force a call to ktc_ForgetAllTokens()
327      using the context of the user being logged off as long as the 
328      user's profile is not loaded from within AFS.  If the profile 
329      was loaded from AFS we can't release the tokens since the Logoff
330      event is triggered prior to the profile being written back to 
331      the its source location.  This is now performed in an XP SP2 
332      safe manner.
333
334    * Windows XP SP2 Internet Connection Firewall interoperability
335      has been added.
336
337    * The %WINDIR%\afsdsbmt.ini contains four sections:
338         Submounts, Drive Mappings, Active Maps and CSC Policies.
339      The Submounts and CSC policies are now stored in the registry under
340         [HKLM\SOFTWARE\OpenAFS\Client\Submounts]
341         [HKLM\SOFTWARE\OpenAFS\Client\CSCPolicy]
342      The Drive Mappings and Active Maps are stored in the registry under
343         [HKCU\SOFTWARE\OpenAFS\Client\Mappings]
344         [HKCU\SOFTWARE\OpenAFS\Client\Active Maps]
345
346      There is no automatic migration of this data as it would be impossible
347      to consistently migrate data to user profiles which may not be active
348      when the machine is updated.
349
350    * The %WINDIR%\afs_freelance.ini contains lists of mountpoints for the
351      fake root.afs volume.  For the same reasons as for the cellservdb file,
352      this information should not be in %WINDIR%.  This information is now
353      kept under the registry key
354         [HKLM\SOFTWARE\OpenAFS\Client\Freelance]
355
356      The data from the afs_freelance.ini file will be automatically 
357      migrated to the registry on first execution of afsd_service.exe
358
359    * Keeping the CellServDB file in the location %WINDIR%\afsdcell.ini is 
360      troublesome for several reasons.  One, it is confusing for those who
361      expect the file to be named "CellServDB" instead of "afsdcell.ini".
362      Two, this file is not a Windows Profile formatted file.  Three, 
363      applications should not be reading or writing to %WINDIR%.  It causes
364      problems for Windows Terminal Server.
365
366      The new location of CellServDB will be the OpenAFS Client install 
367      directory which is by default C:\Program Files\OpenAFS\Client and can
368      be determined by querying the registry for 
369      [HKLM\SOFTWARE\TransarcCorporation\AFS Client\CurrentVersion]PathName
370
371      The existing afsdcell.ini will be migrated by the NSIS installer. 
372      The Wix installer must still be updated to do the same.
373
374    * Change NSIS installer to use DNS by default; to remove Integrated Logon
375      High Security mode; and to add Terminal Services compatibility registry
376      entries to allow the OpenAFS tools to find the afsdcell.ini and other
377      configuration files in %WINDIR%.
378   
379    * Add support for authenticated SMB connections.   This will remove
380      the need for high security mode in most situations.  Both NTLM
381      and Extended Security (GSS SPNEGO) modes are supported.  Effectively,
382      only NTLM can be used even though Kerberos is now supported.  The
383      reason is that it is not possible to construct a service principal
384      which is unique to each individual machine.
385
386      SMB Extended Auth does not work on XP SP2 unless one of two registry
387      modifications are made:
388
389      (1) To disable the check for matching host names on loopback connections
390         set this key.  This does not require a reboot:
391
392         [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa]
393             "DisableLoopbackCheck"=dword:00000001
394
395      (2) To add the AFS SMB/CIFS service name to an approved list.  This
396         does require a reboot:
397
398         [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0]
399             "BackConnectionHostNames"=multi-sz "AFS" "MACHINE-AFS"
400
401      afsd_service.exe will automatically add the current Netbios Name
402      to the BackConnectionHostNames list and then temporarily disable
403      the loopback check for one cycle of startup/shutdown of the service.
404      We assume most folks do not start/stop without a reboot so this 
405      will be adequate in most cases.
406
407    * Fix security hole in afslogon.dll which allowed passwords to be
408      sent in clear text to the KDC in a misformed principal name.
409
410    * Fix cm_GetCell() to properly handle expired dns entries
411      without crashing
412
413    * If Freelance mode is active and the afs_freelance.ini
414      file does not exist, do not create an empty file.
415      Instead create a file containing ro and rw mountpoints
416      to the default cell using the standard conventions.
417
418    * Modify the Freelance support to handle the ability
419      to create rw mount points in the fake root.afs volume.
420
421    * Changed the RPC mechanism used for token setting from 
422      named pipes to local.  Use of named pipes can be restored
423      by setting the environment variable AFS_RPC_PROTSEQ to
424      "ncacn_np". 
425
426      Named pipes were required when a Windows 9x system was
427      using a NT system in gateway mode which is incompatible
428      with our use of local loopback adapters.
429
430    * In afscreds.exe, if a username of the form user@REALM is
431      specified and no password is specified, do not perform a 
432      kinit operation.  Only perform the aklog functionality.
433
434    * Add a new registry value which allows the number of processors
435      on which afsd_service.exe executes to be restricted.  Valid
436      values are 1..numOfProcessors
437
438        HKLM\SYSTEM\CurrentControlSet\Services\TransarcAfsDaemon\Parameters
439           (DWORD) MaxCPUs 
440
441 Since 1.3.64:
442    * A second MSI based installer option is now available.
443
444    * Fixed Kerberos 5 kinit functionality in afscreds.exe to properly
445      request tickets for user/instance@REALM instead of just user@REALM
446
447    * Modify the Power Management Notify routine to wait for the Hard Dead
448      timeout period instead of a fixed 19 seconds.  With the longer timeout
449      periods Hibernation and Standby could never succeed when network 
450      connectivity is not available.
451
452    * The following fs.exe commands are now restricted to Administrator:
453      - checkservers with a non-zero timer value
454      - setcachesize
455      - newcell
456      - sysname with a new sysname list
457      - exportafs 
458      - setcell
459      - setserverprefs
460      - storebehind
461      - setcrypt
462      - cscpolicy
463      - trace
464
465      setting the default sysname for a machine should be done via the
466      registry and not via "fs sysname".
467
468    * NSIS installer adds options to install Debugging Symbols
469      and the Microsoft Loopback Adapter; the user is now also
470      given the ability to select the afscreds.exe startup options.
471
472    * Build system modified to generate symbols for FREE (aka RELEASE)
473      builds as well as CHECKED (aka DEBUG) builds
474
475    * Sites which have a volume ID of 0x20000001 assigned to their
476      root.cell volumes have been experiencing problems with accessing
477      the root.cell volume of their cell when Freelance mode has been
478      active.  This was because 0x20000001 was assigned to the fake
479      root.afs volume created by freelance.  The fake volume id is
480      now set to 0x00000001 to prevent conflicts.
481
482    * The timeout logic in the AFS Client Service has been wrong
483      for sometime.  It is based on two different assumptions.
484      First, the SMB client timeout is a fix value as was the case
485      with OS/2 Lan Manager.  This assumption is incorrect.  The
486      SMB timeout in Windows is a dynamic value computed based upon
487      a fixed minimum timeout to which is added time based upon the
488      size of the request and the performance characteristics of
489      the connection.  Second, it is the responsibility of the 
490      SMB Server to enforce the timeout requirements of the client.
491      This is untrue.  The SMB Server cannot be expected to know
492      the requirements of the client.  More importantly, if the 
493      SMB server uses the SMB client timeout as a value to restrict
494      its behavior as an RX client, the performance characteristics
495      of the local SMB session would be used to prematurely terminate
496      WAN connections with significantly different performance 
497      characteristics.
498
499      The timeout logic has therefore been modified in the following
500      manner:
501       . the Lan Manager Workstation (SMB) Session Timeout is used only
502         as a basis for configuring the Connection Dead Timeout 
503         and Hard Dead Timeout values.  The Connection Dead Timeout
504         must be at least 15 seconds longer than the SMB Timeout
505         and the Hard Dead Timeout must be at least double the 
506         Connection Dead Timeout.
507       . New registry entries have been added to allow the Connection
508         Dead Timeout and Hard Dead Timeout values independent of the
509         Lan Manager Workstation Session Timeout
510       . The test to enforce the SMB Client Timeout has been removed.
511         
512      One of the side-effects of removing the enforcement of the SMB 
513      Client Timeout is that regardless of whether or not the SMB client
514      is available to receive the response (and how would the SMB server
515      know) the RX protocol response can be used to update the AFS 
516      Client Service state for ready access by future SMB client 
517      requests.
518
519      This should be the end of the "Server paused or restarting messages"
520    
521    * Add support for arbitrary UNC paths to the pioctl() support.
522      This enables the fs commands as well as the AFS Shell Extension
523      to work correctly when UNC paths are being used.
524
525    * Fix afscreds.exe (by updating afskfw.lib) to search for cells via
526      DNS if the cell configuration cannot be determined via CellServDB
527
528    * Add debug info to test whether CM_BUF_WAITING or CM_SCACHE_WAITING
529      are ever set more than once at a time
530  
531    * Fix the management of lists of cm_cell_t structures when using 
532      DNS to lookup cell information.  The previous code would fail to
533      reuse the same cellID for a cell if DNS was used more than once
534      for a given cell name.  When the ttl expired, a single cm_cell_t
535      could be inserted into the cm_allCellsp list more than once 
536      producing a loop.  In addition, the vlServerp list belonging to
537      the cell was not freed resulting in improper refCounting of the
538      servers.
539
540    * Add DNS support to cm_IoctlNewCell() which previous only examined
541      the CellServDB file
542
543    * Add cm_FreeServer() function and call it from cm_FreeServerList()
544      to properly garbage collect cm_server_t objects 
545      
546    * Add numVCs variable to smb.c to track the number of smb_vc_t 
547      objects created and use it to initialize the vcID field which 
548      previously was set to 0 in all objects resulting in FindByID 
549      collisions.
550
551    * Fixed DNS lookups to work consistently throughout the OpenAFS
552      product instead of just from within the afsd_service.exe
553
554    * Added a runtime check to ensure that AFS Client Service SMB
555      Server is accepting connections before attempting to mount
556      global drives.
557
558    * Read IP addresses for volume servers out of the CellServDB
559      file if gethostbyname() on the hostname fails.
560
561    * Fix getcellconfig() to populate both the Hostnames as well
562      as IP addresses when loading cell data via DNS
563
564    * Increase the Connection Dead Time to 50 from 20 seconds
565      Increase the Hard Dead Time to 120 from 40 seconds
566      (matches the Unix values)
567
568    * Fixed an assertion validating the number of allocated NCBs
569
570    * Fixed the build environment to consistently build for 
571      Windows 2000 and above.  (APPVER = 5.0)
572
573    * Fixed rx_debug to properly validate the receipt in incoming
574      data with select() and recvfrom().  Do not copy data out of
575      the socket buffer unless success is indicated.
576
577 Since 1.3.63:
578    * afsd_service.exe will now display a message box to the 
579      desktop when it terminates due to an IP Address Change.
580   
581    * installer no longer deletes AFS Server configuration data
582      on uninstall
583
584    * installer generates a warning dialog if the RPC service 
585      is not properly configured
586
587    * installer compressed with lzma instead of bzip2
588
589    * afsd_service.exe shutdown crash solved once and for all
590  
591    * reference counting of smb_vc_t data structures improved
592  
593    * name space collision of smb_fid_t event objects corrected
594
595    * the output of "fs memdump" is now written to 
596      %WINDIR%\TEMP\afsd_alloc.log
597
598    * the file TaAfsApp_1033.dll is now properly installed allowing
599      the User Manager to start
600   
601    * a new algorithm is used for computing filename pattern matches
602
603    * afscreds.exe now accepts user names containing instance
604      fields.
605
606    * Fix the Directory Name Lookup Cache to be case-sensitive.
607      This is crucial in environments in which a Windows client
608      is accessing a directory with more than one filename that
609      differs only by case.  If the directory contains "FOO" 
610      and "Foo".  You want "DEL Foo" to delete the correct one.
611      We still have a problem in that "DEL foo" will delete a
612      random filename.  This will be addressed in a future release.
613
614    * Fix afscreds.exe -M option (renewMaps) to work when High
615      Security mode is off.  Also, remember to disable the ActiveMap
616      flag in afsdsbmt.ini when a drive mapping is removed.
617
618    * Updates to NSIS installer script.  AFS Server configuration
619      data will not be destroyed on un-install or re-install.  
620      Use a better compression algorithm.
621    
622    * afslogon.dll now uses KFW to obtain tokens when available
623    
624    * afslogon.dll when given an all uppercase username will
625      attempt to authenticate with both the uppercase name
626      and an all lowercase variation
627
628    * DST modification removed.  The fix appears to make things
629      worse after a reboot of the machine.
630
631    * fs.exe:  added "cscpolicy" which is used to 
632      change client side caching policy for AFS shares
633
634      Usage: fs cscpolicy [-share <AFS share>] [-manual] [-programs] 
635                          [-documents] [-disable] [-help]
636
637    * Several uninitialized variables have been initialized
638
639    * It is now possible to obtain tokens using cross realm
640      Kerberos within afscreds.exe:
641         cell:      dementia.org
642         user:      jaltman@ATHENA.MIT.EDU
643         password:  xxxxxxxx
644      Will obtain a cross realm ticket for jaltman/DEMENTIA.ORG@ATHENA.MIT.EDU
645      will will in turn be used to obtain afs@DEMENTIA.ORG.
646      The resulting token will be stored with the display name 
647        jaltman@ATHENA.MIT.EDU@dementia.org
648
649    * aklog.exe has been added to the client
650
651      Usage: aklog [-d] [[-cell | -c] cell [-k krb_realm]] 
652                   [[-p | -path] pathname]
653                   [-noprdb] [-force]
654                   [-5 | -4]
655
656         -d gives debugging information.
657         krb_realm is the kerberos realm of a cell.
658         pathname is the name of a directory to which you wish to authenticate.
659         -noprdb means don't try to determine AFS ID.
660         -5 or -4 selects whether to use Kerberos V or Kerberos IV.
661            (default is Kerberos V)
662         No commandline arguments means authenticate to the local cell.
663
664 Since 1.3.62:
665    * All of the resource files have been restructured to adhere to
666      a set of rules IBM implemented for loading string resources.
667      These rules had either been forgotten or were not discovered
668      by folks working on the OpenAFS sources.  The end result was
669      memory corruption.  This is primary item which was preventing
670      the AFS Server from working.
671
672    * Increased the size of the maximum ticket size stored in a token
673      from 344 bytes to 12,000.  Increased the buffers used to convey
674      messages between the pioctl() caller and the SMB Server from
675      1000 bytes to 12,512.  The code appeared to have been writing
676      above the top of the stack by quite a few number of bytes.
677      (The increased ticket size is necessary for the next item.)
678
679    * When obtaining AFS Tokens via KFW, krb524 is no longer required.
680      Instead the raw Kerberos 5 ticket is used in its entirety.  This
681      is extremely important as it allows us to use pure Kerberos 5 KDCs
682      as the source of the AFS authentication.  The use of up to 12,000 byte
683      tickets will allow tickets produced by all versions of Microsoft
684      Active Directory to be used.
685       - create a user account.       
686       - designate it DES only
687       - disable pre-auth
688       - specify its UPN to be  "afs@realm"
689       - assign a SPN of "afs/cellname" to the UPN with setspn.exe
690
691    * Do not enforce the funky 8dot3 pattern matching rule that the first "."
692      is special when using long file names.  (you must use "*.*" and not "*")
693      Instead only enforce it when performing 8dot3 searches. 
694
695    * Fixed the DST problem with creation times being set one hour ahead
696
697    * Fixed the problem when using \\afs\cell-alias.  For example, 
698      \\afs\uncc instead of \\afs\uncc.edu.  Do not a new cell struct
699      for the alias name; instead simply expand the name.  One of the
700      symptoms of this problem was a loss of acquired tokens.
701
702    * Fixed the AFS Shell Extension.  The Symbolic Link menu was empty 
703      of strings.  (Only English strings provided.)
704
705    * Fixed the installer to properly replace in use files.  
706
707    * Fixed the build system to cleanup generated component version files
708
709    * The release build compiled with MSVC 6.0 compiler to avoid the 
710      afsd_service.exe shutdown crash.  This does not solve the problem
711      but simply avoids it for the time being.
712
713 Since 1.3.61:
714
715  * fix afslogon.dll to not corrupt memory when High Security mode
716    is not used.  
717
718  * fix afsd_service.exe to not attempt to restore the stack when
719    an exception occurs.  (not safe in multi-threaded programs)
720
721  * fix uninstaller to properly remove the CRT and MFC DLLs
722  
723  * remove a Message Box from afscreds.exe when getcellconfig()
724    fails on a kerberos realm which is not a cell
725
726 The following is a list of changes to the OpenAFS for Window client
727 since 1.3.60.
728
729  * "fs setserverprefs" will leave afsd service deadlocked
730
731  * "vos listaddrs" will core dump
732
733  * installer sets the appropriate keys to support Integrated Logon
734
735  * installer disables the "Find Lana by Name" functionality as it
736    was causing headaches for many users
737
738  * fix the intermittent crash of the power management thread when
739    shutting down the AFS Client Service
740
741  * optimizes the obtain drive mount list functionality which is 
742    executed every time the mount tab in afscreds.exe and afs_config.exe
743    are refreshed.  (this happens a lot)
744
745  * fix the service shutdown logic.  add the STOP_PENDING state
746    and do not accept additional service events after we declare
747    ourselves STOPPED.
748
749 The following is a list of changes to the OpenAFS for Window client
750 since 1.2.10.
751
752 * flexelint was run against the source tree and hundreds (perhaps 
753   thousands) of corrections were applied to ensure prototypes 
754   were in use; types were used consistently; variables were 
755   initialized; unused variables were removed; etc.
756
757 * A wide variety of instrumentation was added including the 
758   ability to produce a stack trace from within afsd_service.exe
759   when it crashes.
760
761 * Dynamic configuration of the RDRtimeout value based upon the
762   LanMan Workstation Session Timeout
763
764 * The mount root no longer needs to be called "/afs".  This 
765   is now set by a registry value "MountRoot" within the key
766   HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters
767
768 * The cell list is now only read out of afsdcell.ini when the
769   file changes instead of each time a cell is resolved.
770
771 * Thread synchronization was added to cm_server.c and ktc_nt.c
772
773 * All calls to GlobalAlloc()/GlobalFree() were replaced with 
774   calloc()/free().  The Global functions were needed on Windows 3.x
775   but have caused a variety of problems on the Win32 platforms.
776   Avoiding them is highly recommended by several Microsoft 
777   Knowledgebase articles
778
779 * Support for Symbolic Links added to the AFS Shell Extension
780
781 * Added a registry value "OverlayEnabled" to determine if
782   Shell Extension Overlays should be enabled.  
783   HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters
784
785 * New Build system to support VC6, VC.NET, VC.NET2003 compilers and
786   separate trees for checked and free builds.  Build system supports
787   a custom directory src\WINNT\extra which can be used as a grafting
788   location of organization specific additions to the build tree.
789
790 * New installer built using NSIS 2.0.  
791
792 * Named all kernel objects in order to allow them to be monitored
793   with tools such as SysInternals' ProcExp.exe.
794   
795 * Introduced new EventLog framework for AFSD
796
797 * Introduced Power Management interface to AFSD for Standby and 
798   Hibernate modes to allow cache to be flushed prior to network
799   disconnect
800
801 * Utilize Win32 DNSQuery API instead of internal routines.  This 
802   allows DNS SRV queries to be sent to all current domain name 
803   servers.  Not just one specified in an INI file.  DNS is now
804   always activated.
805
806 * "NetbiosName" registry value may be used to specify a fixed
807   Netbios Name such as "AFS" to be used instead of "HOSTNAME-AFS"
808   when the loopback adapter is in use.  If you need to use the 
809   old notation with a loopback adapter installed specify a registry
810   entry of 
811
812      "NetbiosName" REG_EXPAND_SZ = "%COMPUTERNAME%-AFS"
813
814 * Refactor all modules which depend on LAN Adapter and NetbiosName
815   determination in a new library: lanahelper.lib.  This allows for
816   consistent behavior throughout the product.
817
818 * Move the afsd.log and afsd_init.log files to the directory specified
819   by the "TEMP" environment variable.  This is usually %WINDIR%\TEMP
820   for services.  Added the Date to the log entries.
821
822 * New registry value "RxMaxMTU" used to limit the size of the RX 
823   packets sent by the AFS Client Service to the Server.  In order
824   to enable OpenAFS to work across the Cisco IPSec VPN the packet
825   size must be restricted to 1264 or smaller.  The latest NSIS
826   installer sets a value of 1260 by default.
827
828 * New registry value "RxNoJumbo" to disable the use of Jumbo Rx
829   packets.  This is not needed in order to work across the Cisco
830   VPN but might be needed for other network environments.  This
831   value is not set by the NSIS installer.
832
833 * New registry value "HideDotFiles" is used to apply the Hidden
834   attribute to files whose names begin with a '.'.   This value
835   is set by the NSIS installer.
836
837 * New registry value "MaxMpxRequests" allows the maximum number
838   of multiplexed sessions to be configured at run time.  This
839   value is not set by the NSIS installer.  The default value is
840   50.
841
842 * New registry value "MaxVCPerServer" allows the maxmimum number
843   of VCs per server to be configured at run time.  This value is
844   not set by the NSIS installer.  The default value is 100.
845
846 * New registry value "AllSubmount" allows the "all" submount to
847   be disabled by setting its value to 0x00.
848
849 * Allow cells names to be valid mount points 
850     \\<netbiosName>\<cellname>
851
852 * Store the active state of drive mappings in order for afscreds.exe
853   to restore them upon startup
854
855 * Add exception handling to generate a Stack Trace to the afsd_init.log
856   file if one happens to occur.
857
858 * Add lots of logging to help detect the cause of invalid SMB packets
859
860 * Enable Kerberos for Windows to be used to obtain AFS Tokens via
861   conversion of Kerberos 5 "afs" service tickets.  Supports auto-
862   renewal of expiring tokens as long as afscreds.exe is running.
863
864 * New afscreds.exe command line options:
865     -A = autoinit
866     -M = renew drive maps
867     -N = ip address change detection
868     -Z = unmap drives
869
870 * New registry value "EnableKFW" in {HKCU,HKLM}SOFTWARE\OpenAFS\Client 
871   determines whether or not MIT Kerberos for Windows should be used
872   to obtain tokens via Kerberos 5 tickets.
873
874 * New registry value "AfscredsShortcutParams" in 
875   {HKCU,HKLM}SOFTWARE\OpenAFS\Client 
876   determines the command line parameters to be specified when "fixing"
877   the AFS Shortcut in the user's startup folder.
878
879 * The "ShowTrayIcon" registry value has been moved from 
880   HKLM\Software\TransarcCorporation\AFS Client\AfsCreds to
881   {HKCU,HKLM}SOFTWARE\OpenAFS\Client 
882   
883 * The <cell name> registry values used to store the token expiration
884   reminders have been moved from 
885   HKLM\Software\TransarcCorporation\AFS Client\AfsCreds to
886   {HKCU,HKLM}SOFTWARE\OpenAFS\Client\Reminders
887  
888 * Obtain the Logon User Name from the Explorer key when available
889
890 * new text document doc\txt\winnotes\registry.txt lists all registry
891   values used by OpenAFS (excluding the AFS Server)
892
893 * BUG: rx_securityClass objects were not properly reference 
894   counted and were never freed.  
895
896 * BUG: reduce the number of conditions under which CM_ERROR_TIMEOUT
897   would be generated.  The existence of a server does not imply
898   that it is not down.  If all of the servers for a cell are down
899   return CM_ERROR_NOSUCHVOLUME instead.  This prevents the Explorer
900   Shell from hanging.
901
902 * BUG: the directory name lookup cache failed to free the entries
903   in the cache when the name cache entries cycled.  The entries
904   in the cache would become dereferenced without being freed.
905
906 * BUG: fs setserverprefs could be executed without Administrator
907   privileges
908
909 * BUG: the number of allocated NCB objects (100) exceeded the number
910   which could actually be waited upon by the kernel (64).  Any objects
911   which were utilized above the limit could never have event completions
912   detected.
913
914 * BUG: smb_username_t objects were not being reference counted and 
915   were not properly freed.
916
917 * BUG: smb_tid_t objects could under unusual circumstances be freed
918   before they were no longer referenced.
919
920 * BUG: smb_fid_t object pointer were frequently used even when 
921   their value could be NULL.   They were not properly released and
922   therefore they were never freed.
923
924 * BUG: smb_packet_t data structures were not completely initialized
925   upon creation
926
927 * BUG: when Rx produces a CM_ERROR_NOIPC error do not return "Access
928   Denied" because that causes the Explorer Shell to try again until
929   access is obtained.  Instead return "Remote Resources" which allows 
930   the shell to move on and treat the error as transient.
931
932 * BUG: when initializing the NCBreturns structure, separate Event objects
933   were created for each NCB although a single Event object was supposed
934   to be shared by all.
935
936 * BUG: smb_dirSearch_t objects were not being properly referenced counted
937   or freed.
938
939 * BUG: smb_tran2Packet_t objects were not being properly referenced 
940   counted or freed.
941
942 * BUG: directory path creation did not handle the case of multiple
943   directories requiring creation in one attempt
944
945 * BUG: SMB requests which required an Extended Response were ignored.
946   This prevented some files from being written to AFS volumes.
947
948 * BUG: character strings were being freed even after they were 
949   inserted into in use data structures
950
951 * BUG: inconsistent usernames were used when High Security mode was
952   enabled.  (there is still much to do in this area)
953
954 * BUG: pioctl() calls which require out of band RPC operations were
955   susceptible to race conditions when performed by multiple processes
956
957 * BUG: memory allocation and deallocation crossed instances of the
958   C Runtime Library producing memory leakage and corruption in 
959   afscreds and the client configurator.
960
961
962