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