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