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