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