1 Since 1.4.0 rc3: 1.4.0 rc4 released (14 Sep 2005)
3 * The AFSCache file has been modified to store both the
4 serial number of the volume on which the file resides
5 and the SID of the local machine. If either change,
6 a new UUID is generated.
8 * add "fs flushall" command that forces all data buffers
11 Since 1.4.0 rc2: 1.4.0 rc3 released (4 Sep 2005)
13 * add support for '/' instead of '\' in pioctl() calls
15 * Apply AFS Client Admins group protect to AFS Shell Extension
17 * Add support for \\afs\<name> to most AFS Shell Extension
18 commands except the symlink methods.
20 * when installing the Microsoft Loopback Adapter, enable
21 MS Client for Networks and prevent an install failure
22 by not calling CoInitialize twice in the same thread.
24 * reload cell vldb values from the CellServDB every two
25 hours in case it changes
27 * When updating cell information from DNS, be sure to set
30 * Add support to allow use of \\AFS\<foo> where <foo> is
31 either a mount point or symlink. As <foo> is normally
32 treated as a share name, we transform it into \\AFS\all\<foo>
35 * Init 'code' to prevent false errors when integrated logon
36 is disabled and the service is not running
38 Since 1.4.0 rc1: 1.4.0 rc2 released (28 Aug 2005)
40 * Removed trace log messages that were hampering performance.
42 * Fixed a deadlock that was being triggered by editing Word
43 documents stored within AFS with WinWord 2003.
45 * Bit 3 of the TraceOption registry value is now used to set the
46 default for "fs trace" in the non-Debug builds. The new default
47 is off for release builds and on for debug builds.
49 * Bit 2 of the TraceOption registry value can be used to turn on
50 real-time output of debug log entries to the Windows Debug
51 Output monitor interface. This data can be viewed with tools
52 such as Sysinternal's DbgView.
54 New development series 1.5.0 begun (17 Aug 2005)
56 Since 1.3.87: 1.4.0 rc1 released (17 Aug 2005)
57 * Byte-range locking as described in cm_vnodeops.c has been implemented.
59 * When the cache manager reports ALLBUSY or ALLOFFLINE for
60 a resource we should not be returning status codes such
61 as Network Busy or Remote Host Down because these errors
62 will imply that the AFS Client Service is Busy or Down
63 and that is simply not the case. Instead we will return
64 Bad Network Path as the path is temporarily not available.
66 Instead of returning Sharing Paused when there is a
67 timeout error, return Timeout. Once again, the AFS Client
68 Service is not paused.
70 * afscreds.exe would display an Obtain Creds dialog when
71 the expired credentials reminder was triggered even
72 if there was no network path to the KDC. This is prevented
73 by adding KDC probe logic to the reminder thread.
75 * afscreds.exe would display expired tokens no differently
76 than unexpired ones. This would make it difficult for the
77 user to distiguish when the tokens were expired. For the
78 English build added a new resource string "(expired) that
79 is displayed instead of the expiration time.
82 * "fs wscell" when executed in freelance mode will return the
83 name of the cell configured in the registry. The root.afs
84 volume is not loaded from this cell, but it is used for the
85 default for aklog and integrated login.
87 * "fs mkmount, fs rmmount, symlink make, symlink remove" will
88 no longer work on \\AFS\all when freelance is being used
89 unless the user is a member of the "AFS Client Admins" Windows
92 * some more checks performed during persistent cache validation.
95 * Optimize calls to cm_CheckServer from cm_Analyze. Only check
96 down servers for the current cell not all cells.
98 * If the scache LRU list becomes corrupted, the AFS Client Service
99 might enter an infinite loop at startup. Detect the corruption
100 and discard the cache contents in this case.
102 * Fixed the Explorer Shell's remove mountpoint functionality.
104 * Fixed a deadlock caused by the holder of cm_aclLock attempting to
105 obtain a mutex lock on a cm_scache_t object whose lock is held by
106 a thread attempting to obtain the cm_aclLock.
109 * Really fixed DNS AFSDB queries to ensure that "csail" cannot be
110 misinterpretted as "csail.mit.edu" when the resolver
111 is configured to append ".mit.edu" to failed DNS queries.
113 * Added a new registry key, "LogoffPreserveTokens" (see registry.txt),
114 that can be used to force the preservation of user tokens upon logout.
116 * Update the NSIS install scripts to use NSIS 2.07. This release adds
117 recommended installation categories: AFS Client, AFS Administrator,
118 AFS Server, AFS Development Kit. Each category includes a different
119 default subset of the OpenAFS components.
121 The OpenAFS logo is now associated with the NSIS uninstall entry
122 in the Add/Remove Programs control panel.
124 * The user name associated with AFS tokens when obtained with
125 integrated login, the afs systray tool, or aklog will always
126 include the full Kerberos 5 user principal name regardless of
127 whether or not the cell is local to the realm.
129 * Eric William's IFS redirector has been checked onto the CVS head.
130 This code is experimental at the current time and is not being
131 incorporated into the 1-4 branch releases. Instructions for
132 building from sources are found in the top-level README-NT file.
134 * Modify integrated login so that it does not enter an infinite
135 loop if the service is not set to auto start.
137 * Added asetkey.exe used to set a Kerberos 5 key for use by the
140 * Added uninstall.exe to Wix installation
142 * More modifications to algorithms used to wake sleeping threads.
146 * Changes to the algorithms used to wake threads when they are
147 put to sleep because of conflicts over buffer operations.
150 * The OpenAFS integrated logon obtains Kerberos 5 tickets as part of
151 the process of producing AFS tokens. The tokens are stored within
152 the AFS Client Service but the Kerberos 5 tickets have been discarded.
153 New functionality has been added to temporarily copy the tickets to
154 a file ccache during the short window between the NPLogonNotify and
155 WinLogon Logon Event. The Logon Event handler starts a process as
156 user, afscpcc.exe, that copies the tickets into the default ccache.
157 The file ccache is then destroyed by the event handler.
159 * During synchronization operations on stat cache entries, if threads
160 are forced to sleep it was possible that the threads would not be
161 woken under heavy load.
163 * Enforce the delete on close flag specified by the NTCreateX()
166 * A race condition in the rx library was fixed that resulted in
167 a deadlock in rx_NewCall when the RX_CONN_MAKECALL_WAITING flag
168 was cleared when threads were still waiting to use the
169 connection. Also, fixed a potential case in which the
170 connection could be destroyed while threads were waiting to use it.
172 * The DNLC freelist has been seen to become corrupted with still
173 active entries being stored on the freelist. Changes were made
174 to perform a better job of cleaning entries before placing them
175 onto the freelist; marking them with the correct magic value when
176 purging the list; and allowing the list to be purged on startup
177 if the cache validation fails.
179 * Windows Crash Reporting does not get triggered for afsd_service.exe
180 because it provides its own top level exception handler. This patch
181 places an explicit call to ReportCrash() on platforms which support
184 If you configure Crash Reporting via AD Policy to capture crash
185 reports within the domain, then you will receive this output.
187 * Generate MiniDumps independent of the Windows Crash Reporting.
189 (a) If an exception occurs,a minidump will be generated at the path
190 %TEMP%\afsd.dmp. The type of minidump defaults to Normal but
191 can be set to any other type via use of the
194 [HKLM\SOFTWARE\OpenAFS\Client] MiniDumpType (DWORD)
196 (b) MiniDumps can be generated at any time using the "fs minidump"
197 command. This allows you to generate a minidump without
198 stopping the process or even requiring the use of a debugger
201 * an RX connection which reports bad ticket now treats it the same way
202 the expired ticket is treated. The ticket is removed from the
203 connection and a new anonymous connection is established.
205 * fs memdump now requires that the caller be in the AFS Client Admins
208 * additional debugging information is provided in cm_Analyze when the
209 error code is ignored.
211 * Fix a regression introduced into the pioctl() client code which
212 will cause a crash in winlogon.exe, explorer.exe and fs.exe if
213 MIT KFW is not installed. (1.3.82a)
215 * Remove AFS Gateway option from OpenAFS Control Panel (1.3.82a)
218 * Fix a race condition in cm_EndCallbackGrantingCall() that
219 could leave 'nrevp' pointing to freed memory. In the process,
220 optimize the processing to ensure that the applications monitoring
221 the status of the stat cache entry are only notified at most
224 * Conditionalize access to the Explorer Shell AFS->Mount Point
225 ->Remove menu item. Disable the item if the selected item(s)
226 are not mount points.
228 * Activate AFS RPC (RX) Free Packet Queues stored in Thread
229 Local Storage. This eliminates thread contention on the
230 global RX free packet queue. This should improve performance
231 on multi-CPU systems.
233 * Fix the IP address filtering code to properly load/unload
234 the IPHelper DLL so that Windows XP/2003 and beyond systems
235 do not have to manually probe the registry.
237 * CleanupACLEnt() was not being called consistently with
238 the cm_scache_t object referred to by the back pointer
239 mutex locked. This could in very rare conditions lead to
240 an invalid memory access.
242 * Added a script command to the msi installer "afs_replace"
243 which can be used to replace one version of OpenAFS with
244 another without requiring an uninstall and reinstall if
245 the installed msi is no longer in its original location.
247 * Apparently the problem with multi-domain forests with cross-
248 realm trusts to non-Windows realms was not entirely solved.
249 The authentication to the AFS SMB service failed because
250 the wrong name was being used. Using ASU as an example,
251 the authentication was being performed with the name
252 "QAAD\user" (an account in the forest root) and not
253 "user@ASU.EDU (the MIT Kerberos principal used to login with)
255 The solution was to add an additional dependency on KFW
256 in order or to be able to easily obtain the client principal
257 name stored in the MSLSA ccache TGT. This information is
258 used in two locations:
260 - the pioctl() function
262 - a new WinLogon Event Handler for the "logon" event.
264 The pioctl function will now be able to use the correct
265 name when calling WNetAddConnection2() and the "logon"
266 event handler will now be able to call WNetAddConnection2().
267 The hope is that the "logon" event handler will be called
268 before the profile is loaded but I have not guarrantee
272 * Fixed a locking error in cm_TryBulkStat() which had the
273 potential of deadlocking the system for the length of time
274 it takes to perform a bulk status fetch operation.
276 * Replaced time conversion code (UnixTime <-> FILETIME) to
277 be completely arithmetic instead of relying on a bizarre
278 algorithm involving a variety of C RTL time functions.
279 This has the side effect that UnixTime and FILETIME which
280 are both stored in UTC are interpretted as UTC throughout
281 the year. Windows will apply the same localization to AFS
282 as it does to NTFS. Applications which rely on the ability
283 to sync files between the two file systems will no longer
284 see the timestamps of files in AFS change an hour relative
285 to the files stored in NTFS or Windows based backup devices.
287 * Fixed a invalid memory access under a bizarre circumstance.
288 Windows will allow a physical mass media device to be
289 installed via Plug N Play to the system and will assign it
290 the lowest available drive letter. This is true even if the
291 drive letter is currently assigned in the user session to
292 a network device via NET USE (or its equivalent.) When this
293 happens, queries sent to the CIFS server will contain invalid
294 data. This invalid data was not being caught by the AFS
295 Client Service and was resulting in a crash when Freelance
298 * Fixed a reference count error when registering callbacks
299 on a stat cache object if the callback was already registered
301 * Add a case to cm_Analyze() in order to handle the case where
302 cm_GetConnByMServers() returns CM_ERROR_NOSUCHVOLUME because
303 the server list for the volume is empty. In this case, force
304 an update of the volume info and retry.
306 * Insert a missing cm_EndCallbackGrantingCall() which could
307 result in threads waiting for a callback to complete to never
310 * In the persistent cache, there is a maximum number of volume
311 entries. Allow volume entries to be reused if the maximum
312 number have been allocated and their reference count is zero.
314 * If we already have a dead virtual connection object, don't
315 ignore the fact that additional dead vc objects must be taken
318 * Removed a deadlock condition introduced in the summer of 2004.
319 Do not hold mx locks around calls to RX functions including
320 rx_NewCall(). That is what reference counts on the rx_connection
323 * Fixed an initialization error in afslogon.dll which could
324 result in random behavior including a failure to terminate
325 the NPLogon function. (1.3.80b)
327 * Fixed an error preventing the use of SMB authentication
328 on Windows 2000. (1.3.80a)
331 * Updated CellServDB to Public CellServDB 16 Mar 2005
333 * Fixed DNS AFSDB queries to ensure that "csail" cannot be
334 misinterpretted as "csail.mit.edu" when the resolver
335 is configured to append ".mit.edu" to failed DNS queries.
337 * Fixed another case in which the client would replace connections
338 to the host when it was not necessary. In this case the
339 situation would occur if cryptall was on and the connections
340 were unauthenticated due to lack of an appropriate token.
342 * OpenAFS for Windows has failed to work at sites which are
343 utilizing a cross-realm trust between an MIT/Heimdal realm
344 and a multi-domain Windows forest when the workstation being
345 accessed is not located in the root domain. This is caused
346 by a bug in the workstation which was triggered after the
347 introduction of Windows 2003 Server. When the bug is triggered,
348 the workstation attempts to authenticate users to afsd_service.exe
349 by contacting the Domain Controller instead of using the
350 LSA loopback authentication mechanism.
352 One of the reasons this bug occurs is because the workstation
353 does not have a reliable way of knowing that the service whose
354 netbios name is "AFS" is located on the workstation. This will
355 be fixed starting in Longhorn Beta 1 by Microsoft. The
356 "BackConnectionHostNames" registry value will be used to
357 indicate that the authentications to that service name should
358 be performed using the loopback authentication mechanism.
360 In the meantime, when Logon Caching is enabled, we can force
361 afsd_service.exe to authenticate using the logon cache before
362 contacting the Domain Controller. This will work with both
363 password and smart card based logons.
365 * The allDown logic in cm_ConnByMServers() was wrong. The allDown
366 flag should not be cleared if a volume's server reference is
367 marked as "offline". In the case where all of the volume's
368 servers are either "down" or the volumes are "offline", we want
369 cm_Analyze() to process the condition as CM_ERROR_ALLOFFLINE
370 instead of as CM_ERROR_TIMEDOUT. In fact, CM_ERROR_TIMEDOUT
371 should never occur in practice.
373 In the case of CM_ERROR_ALLOFFLINE, cm_Analyze() will sleep for
374 5 seconds, clear the server down and volume busy flags, and
375 then force an update from the VLDB. This allows the client to
376 update the location of a volume if the reason for it being
377 marked offline is because it is being moved. Calls to
378 cm_ConnByMServers() will be retried either until success or
379 the RDRtimeout period is reached.
381 * Correct the Power Management code behavior in response to
382 Standby, Suspend, and Shutdown events. Instead of flushing the
383 buffers associated with the mounted SMB submounts, simply write
384 all buffers which are marked dirty.
386 * Added support for "TheseCells" to afslogon.dll. "TheseCells"
387 provides a list of cells other than the default cell for which
388 tokens should be obtained using the default Kerberos principal.
389 This functionality is logon domain specific and is only available
390 when using KFW for authentication.
392 * Fixed FindNext Invalid Handle error caused by over agressive
393 attempts at garbage collecting dirSearch entries when the
394 dirSearch ID wraps from the maximum value to 1.
396 * Add support for registry defined server preferences for VLDB and
397 File servers. See registry.txt for details.
399 * Increased default cache size to 96MB and default number of cache
402 * Fixed refCount leaks related to directory lookups and pioctl calls.
404 * Callbacks revoked during a race condition with an attempt to
405 obtain the same callback no longer result in an inaccessible
408 * New command line tool:
410 afsdacl : Set or reset the DACL to allow starting or stopping
411 the afsd service by any ordinary user.
413 Usage : afsdacl [-set | -reset] [-show]
415 -reset : Reset the DACL
416 -show : Show current DACL (SDSF)
418 * IP addresses are no longer queried once at startup. Instead IP
419 addresses are obtained as needed. Loopback adapter addresses are
420 no longer published to the server.
422 * Pay attention to the MIT KFW registry configuration for automatic
423 importation of MSLSA credentials. (SOFTWARE\MIT\Leash32,MsLsaImport)
425 * Fix (once again) case-sensitive comparisons which was apparently
428 * Activate support for vos listvol -format
430 * Population of the "AFS Client Admins" group failed on non-English
431 versions of Windows because the name of the "Administrators" group
432 is localized. Now we lookup the name of the group by using the
433 Administrators Group Alias Relative ID.
435 * Multiple cell token acquisition within afscreds.exe was broken in the
436 case of Kerberos 5 cross realm authentication. Instead of contacting
437 the KDC associated with the cell's realm, afscreds would obtain a
438 token from the KDC of the user's realm. This would result in
439 "invalid kvno errors" while authenticating to the AFS servers.
440 Unauthenticated access would work. The symptoms would vary based upon
441 whether or not the VLDB servers had been contacted using unauthenticated
442 connections prior to the user obtaining tokens.
444 * The list of ACL entries was becoming corrupted. It appears as if
445 an ACL when it expires was not being appropriately cleaned up. In
446 fact, it was left in the list of ACLs associated with the scache
449 * Changed the default @sys name list to "x86_win32 i386_w2k i386_nt40"
450 for 32-bit x86 systems. The default for itanium will be "ia64_win64"
451 and "amd64_win64" for amd 64-bit processors.
453 * When executing executables, Windows provides a mechanisms by which
454 the normal search for DLLs can be bypassed. If a file foo.exe is
455 being executed and there exists a file or directory "foo.exe.local"
456 (the contents are ignored if a file), then Windows will search for
457 DLLs first in the "foo.exe.local" directory and second in the
458 directory in which the "foo.exe" file is located.
460 Previous releases of OAFW would improperly return
461 STATUS_NOT_A_DIRECTORY instead of the expected
462 STATUS_OBJECT_PATH_NOT_FOUND. This would cause the Windows SMB client
463 to terminate the search for the DLL causing the execution of the
466 * Rework the reference counting of smb_vc_t objects. The references
467 stored in the waiting locks were not counted. This could result in
468 an assertion if the reference count drops to zero.
470 * "fs wscell" returns "Freelance.Local.Root" for the workstation cell
471 when running in freelance mode.
473 * Added support for persistent caching of file contents, stat entries,
474 volume data, cell data, and name lookup data. When the registry
475 value, "NonPersistentCaching", is not defined or set to 0 the file
476 specified by "CachePath" becomes a persistent cache file. The
477 size of the cache file is computed at run time. It has a maximum
478 size of approximately 1.2GB. The contents of the file will be
479 validated according to the rules specified by the "ValidateCache"
482 * Added support for UUIDs. UUIDs are kept for as long as the
483 cache file is intact.
485 * Added cmdebug.exe and support cache manager debugging callback
486 interfaces in afsd_service.exe.
488 Usage: cmdebug -servers <server machine> [-port <IP port>] [-long]
489 [-addrs] [-cache] [-help]
490 Where: -long print all info
491 -addrs print only host interfaces
492 -cache print only cache configuration
494 * Symlinks to \\AFS\[all\]... will now be treated the same as
495 symlinks to /afs/.... However, please use /afs/... as otherwise
496 the symlinks won't work on Unix.
498 * Correct a problem with local CellID allocation for cells whose
499 server list is obtained via DNS instead of a CellServDB file. If
500 the DNS information expires the CellID assigned to the entry will
501 be changed. This causes all of the cm_scache_t objects which refer
502 to the old cellID number to become useless. Attempts to access
503 files or directories with cm_scache_t objects using the old cellID
504 will fail since the server list cannot be obtained.
506 * Correct deadlock condition in cm_EndCallbackGrantingCall which can
507 be triggered if the volume referenced by the cm_scache_t object is
510 * The AFS Service needs to respond to SERVICE_ACCEPT_SHUTDOWN messages
511 in addition to SERVICE_ACCEPT_STOP.
513 * Move RPC shutdown until after the SMB and RX shutdown procedures
514 complete. Block until RPC shutdown is complete.
516 * Modify afslogon.dll (integrated logon) to wait for service if its
517 state is START_PENDING. If the timeout period occurs, reset to
518 the retry interval and not the sleep interval.
520 * When renewing the server list for a cell obtained via DNS AFSDB
521 records, the cm_cell_t entry must be removed from the list of all
522 cells. Otherwise, the list of cells will be corrupted.
524 * In the dcache and scache modules, use the cm_scache_t dataVersion
525 instead of the cm_fakeDirVersion.
527 * Synchronize fs.c with the unix version.
529 * The variable used to determine whether a file or virtual memory
530 mapped cache is used was not properly initialized to a default
531 value. If the registry setting "NonPersistentCaching" was not
532 set, the choice would be random. Properly initialized to be
535 * The memory mapped view was never unmapped before closing the file
536 at service shutdown. This is now properly cleaned up.
538 * Default location of Cache file is now %TEMP%\AFSCache
542 * A bug affecting new installations of 1.3.75/76 would result in
543 the creating of incorrect mountpoints in the freelance root.afs
544 volume for the default cell.
546 If "fs \\afs\all\<cellname>" lists a volume name of "root" instead
547 of "root.cell", you have been affected by the bug. To correct the
548 problem, execute the following commands:
550 fs rmmount \\afs\all\<cellname>
551 fs rmmount \\afs\all\.<cellname>
553 fs mkmount \\afs\all\<cellname> root.cell <cellname>
554 fs mkmount \\afs\all\.<cellname> root.cell <cellname> -rw
558 * A bug has been fixed in the auto-generation of Freelance root.afs
559 symlinks which produced random entries in the \\AFS\all directory.
561 * Support has been added for multi-homed servers
564 * Added a new registry value, "StoreAnsiFilenames", which can be used
565 to force the use of ANSI character sets instead of OEM Code Pages.
566 This feature is useful when users require the ability to create
567 filenames with 8-bit characters and need to access the files from
568 both Latin-1 based Unix systems as well as from Windows.
570 Activation of this feature will prevent access to files stored with
571 8-bit OEM characters.
573 * Shutdown all SMB threads in a synchronized manner when stopping the
576 * There is currently a maximum cache size of 1.3GB. The limit is imposed
577 by the largest contiguous block of unused memory within the 2GB process
578 space which can be assigned to the memory mapped file. Unfortunately,
579 when the executable digital signature verification code is activated
580 Windows sees fit to further segment the process memory which in turn
581 reduces the size of the maximum cache file to less then 800MB. If
582 larger cache sizes are desired, a new registry value should be set:
584 HKLM\SOFTWARE\OpenAFS\Client (DWORD) "VerifyServiceSignature" = 0x0
586 Setting this value will disable the runtime verification of digital
587 signatures on afsd_service.exe and the afs dlls which it loads. It
588 will not disable the the version number check on those same files.
589 The signature verification is not a security messure and is only meant
590 to enhance the ability to afsd_service.exe to detect potential
591 destablizing mixtures of DLLs from incompatible distributions.
593 Added code to auto-disable the signature verification check if
594 the desired cache size is greater then 700MB.
596 * Windows' WinTrustVerify(WIN_SPUB_ACTION_PUBLISHED_SOFTWARE) is
597 used to verify the validity of the afsd_service.exe binary
598 as well as each of the AFS DLLs loaded by the service. Not only
599 must the digital signature be valid but the signatures of the
600 DLL must be signed by the same entity as the service.
602 * Implement new functions: cm_freelanceMountPointExists and
603 cm_freelanceSymlinkExists. Use them along with other validity
604 checks in cm_freelanceAddMount and cm_freelanceAddSymlink to
605 ensure that name collisions do not occur and that empty strings
606 are not valid file names.
608 A symlink may not have a name which would resolve to a valid
609 cell name. Doing so would prevent access to the cell.
611 * Add missing cm_HoldSCacheNoLock call to Freelance mount point
612 re-initialization code. The reference counts of the fake root.afs
613 volume scache object(s) would become invalid when the mount point
614 or symlink lists were altered.
616 * Add registry entries to provide mappings from the afsdsbmt.ini
617 to the new locations for applications which count on the use
618 of the old Profile file APIs. These apps are likely to fail
619 if the user does not have administrator privileges and the
620 registry is locked down.
622 * The afs_config.exe submounts dialog had two errors.
623 First, attempts to remove entries failed because the registry
624 key was being opened without KEY_WRITE privileges.
625 Second, when editing a submount entry, changing the name
626 would add a new key and leave the original one in place.
627 Now the original submount will be removed if its name is
630 * In recent months there have been several incidents in which
631 users have experienced problems starting or accessing
632 afsd_service.exe and after significant effort has been spent
633 it has turned out that they have two versions of AFS on the
634 machine or an inconsistent set of DLLs.
636 Code has now been added to afsd_service.exe which will walk
637 the list of modules loaded by afsd_service.exe and validate
638 that the version of the AFS DLLs matches the version of the
639 afsd_service.exe executable. If they do not match the service
642 * When Freelance mode is enabled and there is no registry
643 key HKLM\SOFTWARE\OpenAFS\Client\Freelance, afsd_service.exe
644 will attempt to import the afs_freelance.ini file contents.
645 If the file does not exist, it was creating a dummy file
646 with a r/o and r/w entry for the default cell and then
647 importing those values.
649 This process has been changed. The temporary file is no
650 longer created. Also, both the OpenAFS Client install
651 directory as well as %WINDIR% are checked for previous
652 afs_freelance.ini files.
654 * Added support for VL_GetEntryByNameN(). Still need to add
655 support for VL_GetEntryByNameU() for multi-homed support.
657 * Fix a deadlock situation in afscreds.exe when canceling an
658 auto-generated Obtain Tokens dialog
661 * Fix the locking of objects during Directory Searches in the
662 SMB/CIFS server. The failure to properly lock the reference
663 counts was resulting in the premature freeing of smb_dirSearch_t
664 objects while they were still in use by the SMB/CIFS client.
665 This does not solve the "Invalid Handle" problem.
667 * Fix Find Cell By Name pioctl call to return a valid cell
668 name for the Freelance fake root.afs volume.
669 "Freelance.Local.Root".
671 * Fix the Explorer Shell Extension Symlinks->Add operation.
672 The dialog template was missing and the link destination
673 string was too short.
675 * Add support for symlinks to Freelance root.afs volume
676 Stored at HKLM\SOFTWARE\OpenAFS\Client\Freelance\Symlinks
677 <number> = "<linkname>:<relative-path>."
678 Use symlink.exe to create, list, or remove
680 * Remove the fallback to the use of KFW's KRB4 library when obtaining
681 tokens. We never obtain KRB4 tickets.
683 * Fix AFS Client Configuration Control Panel to support new SysName
686 * Fix a bug in afsd_service.exe which could result in the SysName
687 not being read from the registry.
690 * Add code to block the issuance of AFS tokens by aklog.exe or
691 afscreds.exe when the Kerberos 5 principal name contains a dot.
693 * Modify the IsAdmin() function to always treat the local SYSTEM
694 account as an AFS client administrator. Affects fs.exe and
697 * Modify the internal handling of Quota Exceeded errors
699 * Upgrade all reference count fields in the Windows cache manager
700 and the osi library to use unsigned long instead of signed short.
701 A similar fix has been applied to the afs rpc (rx) library.
703 * fix the Windows cache manager to prevent it from replacing the
704 rx_connection object associated with the cm_conn_t object on each
705 and every operation if "fs crypt" was set. This explains the
706 dramatic performance difference when crypt is used vs clear.
707 The problem: 'cryptall', a boolean flag indicating whether or not
708 "fs crypt" is set, was being compared to the rx_connection
709 cryptlevel which is either rxkad_clear:0 or rxkad_crypt:2.
710 1 != 2 and therefore the rx_connection was always destroyed
711 and replaced on each and every operation.
713 Lock the cm_conn_t object around every call to RXAFS_xxxx functions.
714 It is not safe for the cm_conn_t object to not be locked because
715 rx_DestroyConnection might be called from another thread if:
716 - the user's tokens have changed or expired
717 - the crypt mode has changed
719 This fix appears to have also taken care of the problems associated
720 with Overlapped Writes resulting in Delayed Write errors.
722 * fix NSIS installer's AdminGroup.exe to properly create and
723 remove groups when given -create or -remove. The string comparison
726 * fs sysname now accepts a list of sysname values
728 * added a new registry value HKLM\SOFTWARE\OpenAFS\Client "IoctlDebug"
729 DWORD which when set to a non-zero value will cause error message
730 text to be output to stderr from the pioctl() routine. Useful in
731 debugging failures of fs.exe, tokens.exe, etc.
733 * added a test to the power management code to only perform a
734 flush operation if there is at least one network adapter which
735 is not a loopback adapter.
737 * Fix bug in loading of registry value HKLM\SOFTWARE\OpenAFS\Client
738 "EnableKFW". This value will not be read if the key
739 HKCU\SOFTWARE\OpenAFS\Client exists; even if the "EnableKFW"
740 value under that key does not.
742 * provide mechanisms to force the use of krb524d for Kerberos 5
743 ticket to AFS token conversion. For afslogon.dll and afscreds.exe
744 there is a new registry value "Use524" and for aklog.exe a new
745 command line parameter "-m".
747 * Fix the pattern matching algorithm to properly match patterns
750 * smb_ReceiveCoreRename() was factored to produce smb_Rename()
751 which is used by both the original function and the new
752 smb_ReceiveNTRename(). smb_ReceiveNTRename() supports the
753 creation of HardLinks in addition to Renaming. smb_Link()
754 is a new function which creates HardLinks via cm_Link().
755 cm_Link() is a new vnodeops function which creates links
758 smb_ReceiveNTRename() does not support the File Copy and
759 Move Cluster Information operations described in its interface.
760 ReceiveNTRename is under documented in CIFS-TR-1p00_FINAL.pdf.
762 * When opening files via symlinks, we should follow the symlinks
763 until we reach the actual file stat cache entry. The stat cache
764 entry of the file should then be stored in the FID instead of
765 stat scache entry of the symlink.
767 * return bad operation errors for all unimplemented functions
768 even if we do not know the functions exist.
770 * Log bad packets and unknown operation packets to the trace log
772 * Map CM_ERROR_BADOP to STATUS_NOT_SUPPORTED instead of
775 * Update list of known CIFS operations to include all those listed
776 in CIFS-TR-1p00_FINAL.pdf.
778 * Modify the handling of HKLM\SOFTWARE\OpenAFS\Client\Submounts
779 to support the REG_EXPAND_SZ type.
782 * A new Windows authorization group "AFS Client Admins" is now
783 created and populated with the members of the "Administrators"
784 group. The group is used to determine which accounts on the
785 machine may be used to modify the AFS Client Configuration via
786 the UI and command line tools. afs_config.exe, fs.exe,
788 * Modify the WinLogon Logoff Event Handler to query NT4 domain
789 controllers for the remote profile path if Active Directory
790 services are not available.
792 * Fix aklog.exe to not add the AFS ID to the username
794 * PTS registration of new users to foreign cells has been added to
797 * The cm_Daemon thread is used to perform checks for
798 down servers, up servers, volumes, callback expirations,
799 lock maintenance and token expiration. Due to a gaff in
800 larger integer division the thread never performed any
801 work. Instead the current time computation would always
802 be less then the trigger times. This had an adverse affect
803 on the client's ability to maintain communication with servers,
804 keep volumes up to date, and flush user tokens and acls
805 when they have expired. This was broken when the 1.3 branch
806 was modified to support VC7 which no longer included
809 * An initialization problem with the Freelance code was
810 detected while fixing the callbackRequest. The cm_rootSCachep
811 object is obtained during afsd_InitDaemons() but the callback
812 information is incomplete. The callback information will not
813 be obtained until cm_MergeStatus is called from within
814 cm_GetCallback. Unfortunately, cm_SyncOp did not properly
815 test for the conditions under which the callback information
818 * Reports have been filed indicating that callbacks were
819 being lost. An examination of the code indicated that the
820 cm_server_t objects were not being properly reference
821 counted by the cm_scache_t and cm_callbackRequest_t objects.
822 In particular, the cm_server_t objects may have been freed
823 from beneath the cm_conn_t objects.
825 All of the reference counting is now done via the functions:
830 this improves the ability to track the referrals.
832 Each cm_BeginCallbackGranting Call now allocates a reference
833 to the cm_server_t. The cm_EndCallbackGrantingCall either
834 frees the reference or transfers it to the cm_scache_t
835 cbServerp field. These are then appropriately tracked
836 through the cm_Analyze call.
838 * Ensure that the dnlc hash table is the same size as the
839 dir name hash table (as per original author's note).
840 Increase the dnlc CM_AFSNCNAMESIZE to a multiple of 8
841 for compatibility with 64-bit systems.
843 * fix smb_ApplyV3DirListPatches to properly apply the hidden
844 attribute to dotfiles when the infoLevel < 0x101 and
845 cm_SyncOp has failed.
847 * Fix the Freelance registry initialization code. There
848 was a possibility that some systems could end up with
849 garbage in the registry during a clean install.
852 * file and directory names beginning with "." will now be given the
853 hidden attribute when the volume access is anonymous. this matches
854 the behavior when the volume access is via an authenticated user.
856 * Added a change monitor to the HKLM\SOFTWARE\OpenAFS\Client\Freelance
857 key. When a change occurs mark the root.afs data as invalid and
858 for it to be reloaded on the next access. This allows administrators
859 to modify the mount point list without restarting the service.
861 The freelance client used to provide a fake modification time for
862 the root.afs volume data and its mount points of 7/09/2001 14:24 EDT.
863 Added code to extract the last modification time of the Freelance
864 registry key and use that instead. The time now represents the
865 most recent mount point change.
867 * PTS registration of new users to foreign cells has been added to
870 * Additional Cache Control and Credential Manager options have been
871 added to the WiX installer. See deployment guide for details.
873 * The CachePath setting is now optionally a REG_EXPAND_SZ type
875 * The WiX installer has been upgraded. Version 2.0.1927.1 is now
878 * The loopback installation code may have had a problem updating the
879 %ETC%\HOSTS file which could have resulted in a premature failure.
880 Work around code has been added for the case where the file cannot
883 * The default max chunksize was increased from 15 (32K) to 17 (128K)
884 because Windows sends 64K blocks when using overlapped writes.
886 * The default number of server threads was increased from 4 to 25 to
887 better handle overlapped writes.
889 * The "AfscredsShortcutParams" registry value was not being properly
890 loaded by afscreds.exe. Therefore, the default value was always being
891 used instead of the value set by the installer.
893 * Windows XP provides downgrade attack detection to prevent an attacker
894 from being able to force the use of NTLM simply by disrupting
895 communication with the KDC. This attack cannot exist between the
896 Windows CIFS client and the AFS Client Service. Therefore, when a
897 downgrade has been detected the afs pioctl library will force the
898 establishment of a new CIFS connection using NTLM.
900 * A locking error was discovered surrounding all references to volume
901 server lists within the cm_cell.c source file.
903 * The logged into Windows username was incorrect on Terminal Server
906 * A new registry value "NonPersistentCaching" was added to the service
907 parameters key. When set to a non-zero value, the afs cache is stored
908 in the Windows paging file. There are two limitations to choosing
910 1. when persistent caching is implemented it won't work with
911 this flag set since there will be nothing to persist.
912 2. with this flag set the initial paging allocation cannot be
913 changed while the service is running
915 * An initialization bug was discovered in aklog.exe which affected users
916 who have a domain name for their afs servers which could not be mapped
920 * afs_config.exe now validates cell names against DNS in addition
921 to the CellServDB file.
923 * In order to allow the freelance client to connect to a volume with ID
924 equal to 1 on the default cell we changed the fake root.afs volume ID
925 once again. This time we choose 0xFFFFFFFF. In addition, we change
926 the cell ID of the fake root.afs volume from 1 to 0xFFFFFFFF as well.
927 It will now be impossible for a volume ID to match that of another
928 cell unless the client is connected to 0xFFFFFFFD cells. That should
929 be enough room for growth.
931 * Fix "fs mkmount" command to work with UNC paths and when
932 started from non-AFS drives. It is now possible to create a mount
933 point in the freelance fake root.afs volume with the command
935 fs mkmount \\AFS\all\<directory-name> <volume-name> <cellname>
939 fs mkmount \\AFS\all\openafs.org root.cell openafs.org
940 fs mkmount \\AFS\all\.openafs.org root.cell openafs.org -rw
942 * The algorithm used to re-attempt access to the servers associated with
943 a volume has been altered to properly address the case in which all
944 servers have been marked down. The previous algorithm did not reset
945 the server's down flags so the servers were never actually retried.
946 This caused a problem with active volumes if the network connectivity
947 was lost as could be the case with a network cable removal, wireless
948 drop, or laptop hibernation. With the fix volume access is restored
949 almost instantenously when network connectivity becomes available.
951 * Support for SMB/CIFS browsing has been added to the AFS Client Service
952 SMB server. It is now possible to use "NET VIEW \\AFS" to obtain a
953 listing of AFS submounts and freelance mount points. Support for
954 NETSHAREENUM, NETSHAREGETINFO, NETSERVERENUM2, NETSERVERGETINFO
955 significantly enhances the behavior of AFS volumes within the Explorer
956 Shell. For instance, "AFS" now shows up as server in the Explorer
957 with each submount or freelance mount point visible as a share.
958 The right click menu in each folder now works with full functionality
959 on a consistent basis.
961 * The network provider can be configured to have different behavior
962 depending on the domain that the user logs into. These settings are
963 only relevant when using integrated login. A domain refers to an
964 Active Directory (AD) domain, a trusted Kerberos (non-AD) realm or the
965 local machine (i.e. local account logins). The domain name that is
966 used for selecting the domain would be the domain that is passed into
967 the NPLogonNotify function of the network provider. (see registry.txt
970 * Added a new registry value [HKCU\SOFTWARE\OpenAFS\Client]
971 "Authentication Cell" which may be used to specify a default
972 authentication cell for afscreds.exe which is different from
973 the default cell for the AFS Client Service daemon.
975 * Added a Logoff WinLogon Event Notification function to afslogon.dll.
976 afslogon.dll moved to %WINDIR%\System32\.
977 New registry entries added to register the dll for Winlogon events.
979 The logoff event will now force a call to ktc_ForgetAllTokens()
980 using the context of the user being logged off as long as the
981 user's profile is not loaded from within AFS. If the profile
982 was loaded from AFS we can't release the tokens since the Logoff
983 event is triggered prior to the profile being written back to
984 the its source location. This is now performed in an XP SP2
987 * Windows XP SP2 Internet Connection Firewall interoperability
990 * The %WINDIR%\afsdsbmt.ini contains four sections:
991 Submounts, Drive Mappings, Active Maps and CSC Policies.
992 The Submounts and CSC policies are now stored in the registry under
993 [HKLM\SOFTWARE\OpenAFS\Client\Submounts]
994 [HKLM\SOFTWARE\OpenAFS\Client\CSCPolicy]
995 The Drive Mappings and Active Maps are stored in the registry under
996 [HKCU\SOFTWARE\OpenAFS\Client\Mappings]
997 [HKCU\SOFTWARE\OpenAFS\Client\Active Maps]
999 There is no automatic migration of this data as it would be impossible
1000 to consistently migrate data to user profiles which may not be active
1001 when the machine is updated.
1003 * The %WINDIR%\afs_freelance.ini contains lists of mountpoints for the
1004 fake root.afs volume. For the same reasons as for the cellservdb file,
1005 this information should not be in %WINDIR%. This information is now
1006 kept under the registry key
1007 [HKLM\SOFTWARE\OpenAFS\Client\Freelance]
1009 The data from the afs_freelance.ini file will be automatically
1010 migrated to the registry on first execution of afsd_service.exe
1012 * Keeping the CellServDB file in the location %WINDIR%\afsdcell.ini is
1013 troublesome for several reasons. One, it is confusing for those who
1014 expect the file to be named "CellServDB" instead of "afsdcell.ini".
1015 Two, this file is not a Windows Profile formatted file. Three,
1016 applications should not be reading or writing to %WINDIR%. It causes
1017 problems for Windows Terminal Server.
1019 The new location of CellServDB will be the OpenAFS Client install
1020 directory which is by default C:\Program Files\OpenAFS\Client and can
1021 be determined by querying the registry for
1022 [HKLM\SOFTWARE\TransarcCorporation\AFS Client\CurrentVersion]PathName
1024 The existing afsdcell.ini will be migrated by the NSIS installer.
1025 The Wix installer must still be updated to do the same.
1027 * Change NSIS installer to use DNS by default; to remove Integrated Logon
1028 High Security mode; and to add Terminal Services compatibility registry
1029 entries to allow the OpenAFS tools to find the afsdcell.ini and other
1030 configuration files in %WINDIR%.
1032 * Add support for authenticated SMB connections. This will remove
1033 the need for high security mode in most situations. Both NTLM
1034 and Extended Security (GSS SPNEGO) modes are supported. Effectively,
1035 only NTLM can be used even though Kerberos is now supported. The
1036 reason is that it is not possible to construct a service principal
1037 which is unique to each individual machine.
1039 SMB Extended Auth does not work on XP SP2 unless one of two registry
1040 modifications are made:
1042 (1) To disable the check for matching host names on loopback connections
1043 set this key. This does not require a reboot:
1045 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa]
1046 "DisableLoopbackCheck"=dword:00000001
1048 (2) To add the AFS SMB/CIFS service name to an approved list. This
1049 does require a reboot:
1051 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0]
1052 "BackConnectionHostNames"=multi-sz "AFS" "MACHINE-AFS"
1054 afsd_service.exe will automatically add the current Netbios Name
1055 to the BackConnectionHostNames list and then temporarily disable
1056 the loopback check for one cycle of startup/shutdown of the service.
1057 We assume most folks do not start/stop without a reboot so this
1058 will be adequate in most cases.
1060 * Fix security hole in afslogon.dll which allowed passwords to be
1061 sent in clear text to the KDC in a misformed principal name.
1063 * Fix cm_GetCell() to properly handle expired dns entries
1066 * If Freelance mode is active and the afs_freelance.ini
1067 file does not exist, do not create an empty file.
1068 Instead create a file containing ro and rw mountpoints
1069 to the default cell using the standard conventions.
1071 * Modify the Freelance support to handle the ability
1072 to create rw mount points in the fake root.afs volume.
1074 * Changed the RPC mechanism used for token setting from
1075 named pipes to local. Use of named pipes can be restored
1076 by setting the environment variable AFS_RPC_PROTSEQ to
1079 Named pipes were required when a Windows 9x system was
1080 using a NT system in gateway mode which is incompatible
1081 with our use of local loopback adapters.
1083 * In afscreds.exe, if a username of the form user@REALM is
1084 specified and no password is specified, do not perform a
1085 kinit operation. Only perform the aklog functionality.
1087 * Add a new registry value which allows the number of processors
1088 on which afsd_service.exe executes to be restricted. Valid
1089 values are 1..numOfProcessors
1091 HKLM\SYSTEM\CurrentControlSet\Services\TransarcAfsDaemon\Parameters
1095 * A second MSI based installer option is now available.
1097 * Fixed Kerberos 5 kinit functionality in afscreds.exe to properly
1098 request tickets for user/instance@REALM instead of just user@REALM
1100 * Modify the Power Management Notify routine to wait for the Hard Dead
1101 timeout period instead of a fixed 19 seconds. With the longer timeout
1102 periods Hibernation and Standby could never succeed when network
1103 connectivity is not available.
1105 * The following fs.exe commands are now restricted to Administrator:
1106 - checkservers with a non-zero timer value
1109 - sysname with a new sysname list
1118 setting the default sysname for a machine should be done via the
1119 registry and not via "fs sysname".
1121 * NSIS installer adds options to install Debugging Symbols
1122 and the Microsoft Loopback Adapter; the user is now also
1123 given the ability to select the afscreds.exe startup options.
1125 * Build system modified to generate symbols for FREE (aka RELEASE)
1126 builds as well as CHECKED (aka DEBUG) builds
1128 * Sites which have a volume ID of 0x20000001 assigned to their
1129 root.cell volumes have been experiencing problems with accessing
1130 the root.cell volume of their cell when Freelance mode has been
1131 active. This was because 0x20000001 was assigned to the fake
1132 root.afs volume created by freelance. The fake volume id is
1133 now set to 0x00000001 to prevent conflicts.
1135 * The timeout logic in the AFS Client Service has been wrong
1136 for sometime. It is based on two different assumptions.
1137 First, the SMB client timeout is a fix value as was the case
1138 with OS/2 Lan Manager. This assumption is incorrect. The
1139 SMB timeout in Windows is a dynamic value computed based upon
1140 a fixed minimum timeout to which is added time based upon the
1141 size of the request and the performance characteristics of
1142 the connection. Second, it is the responsibility of the
1143 SMB Server to enforce the timeout requirements of the client.
1144 This is untrue. The SMB Server cannot be expected to know
1145 the requirements of the client. More importantly, if the
1146 SMB server uses the SMB client timeout as a value to restrict
1147 its behavior as an RX client, the performance characteristics
1148 of the local SMB session would be used to prematurely terminate
1149 WAN connections with significantly different performance
1152 The timeout logic has therefore been modified in the following
1154 . the Lan Manager Workstation (SMB) Session Timeout is used only
1155 as a basis for configuring the Connection Dead Timeout
1156 and Hard Dead Timeout values. The Connection Dead Timeout
1157 must be at least 15 seconds longer than the SMB Timeout
1158 and the Hard Dead Timeout must be at least double the
1159 Connection Dead Timeout.
1160 . New registry entries have been added to allow the Connection
1161 Dead Timeout and Hard Dead Timeout values independent of the
1162 Lan Manager Workstation Session Timeout
1163 . The test to enforce the SMB Client Timeout has been removed.
1165 One of the side-effects of removing the enforcement of the SMB
1166 Client Timeout is that regardless of whether or not the SMB client
1167 is available to receive the response (and how would the SMB server
1168 know) the RX protocol response can be used to update the AFS
1169 Client Service state for ready access by future SMB client
1172 This should be the end of the "Server paused or restarting messages"
1174 * Add support for arbitrary UNC paths to the pioctl() support.
1175 This enables the fs commands as well as the AFS Shell Extension
1176 to work correctly when UNC paths are being used.
1178 * Fix afscreds.exe (by updating afskfw.lib) to search for cells via
1179 DNS if the cell configuration cannot be determined via CellServDB
1181 * Add debug info to test whether CM_BUF_WAITING or CM_SCACHE_WAITING
1182 are ever set more than once at a time
1184 * Fix the management of lists of cm_cell_t structures when using
1185 DNS to lookup cell information. The previous code would fail to
1186 reuse the same cellID for a cell if DNS was used more than once
1187 for a given cell name. When the ttl expired, a single cm_cell_t
1188 could be inserted into the cm_allCellsp list more than once
1189 producing a loop. In addition, the vlServerp list belonging to
1190 the cell was not freed resulting in improper refCounting of the
1193 * Add DNS support to cm_IoctlNewCell() which previous only examined
1196 * Add cm_FreeServer() function and call it from cm_FreeServerList()
1197 to properly garbage collect cm_server_t objects
1199 * Add numVCs variable to smb.c to track the number of smb_vc_t
1200 objects created and use it to initialize the vcID field which
1201 previously was set to 0 in all objects resulting in FindByID
1204 * Fixed DNS lookups to work consistently throughout the OpenAFS
1205 product instead of just from within the afsd_service.exe
1207 * Added a runtime check to ensure that AFS Client Service SMB
1208 Server is accepting connections before attempting to mount
1211 * Read IP addresses for volume servers out of the CellServDB
1212 file if gethostbyname() on the hostname fails.
1214 * Fix getcellconfig() to populate both the Hostnames as well
1215 as IP addresses when loading cell data via DNS
1217 * Increase the Connection Dead Time to 50 from 20 seconds
1218 Increase the Hard Dead Time to 120 from 40 seconds
1219 (matches the Unix values)
1221 * Fixed an assertion validating the number of allocated NCBs
1223 * Fixed the build environment to consistently build for
1224 Windows 2000 and above. (APPVER = 5.0)
1226 * Fixed rx_debug to properly validate the receipt in incoming
1227 data with select() and recvfrom(). Do not copy data out of
1228 the socket buffer unless success is indicated.
1231 * afsd_service.exe will now display a message box to the
1232 desktop when it terminates due to an IP Address Change.
1234 * installer no longer deletes AFS Server configuration data
1237 * installer generates a warning dialog if the RPC service
1238 is not properly configured
1240 * installer compressed with lzma instead of bzip2
1242 * afsd_service.exe shutdown crash solved once and for all
1244 * reference counting of smb_vc_t data structures improved
1246 * name space collision of smb_fid_t event objects corrected
1248 * the output of "fs memdump" is now written to
1249 %WINDIR%\TEMP\afsd_alloc.log
1251 * the file TaAfsApp_1033.dll is now properly installed allowing
1252 the User Manager to start
1254 * a new algorithm is used for computing filename pattern matches
1256 * afscreds.exe now accepts user names containing instance
1259 * Fix the Directory Name Lookup Cache to be case-sensitive.
1260 This is crucial in environments in which a Windows client
1261 is accessing a directory with more than one filename that
1262 differs only by case. If the directory contains "FOO"
1263 and "Foo". You want "DEL Foo" to delete the correct one.
1264 We still have a problem in that "DEL foo" will delete a
1265 random filename. This will be addressed in a future release.
1267 * Fix afscreds.exe -M option (renewMaps) to work when High
1268 Security mode is off. Also, remember to disable the ActiveMap
1269 flag in afsdsbmt.ini when a drive mapping is removed.
1271 * Updates to NSIS installer script. AFS Server configuration
1272 data will not be destroyed on un-install or re-install.
1273 Use a better compression algorithm.
1275 * afslogon.dll now uses KFW to obtain tokens when available
1277 * afslogon.dll when given an all uppercase username will
1278 attempt to authenticate with both the uppercase name
1279 and an all lowercase variation
1281 * DST modification removed. The fix appears to make things
1282 worse after a reboot of the machine.
1284 * fs.exe: added "cscpolicy" which is used to
1285 change client side caching policy for AFS shares
1287 Usage: fs cscpolicy [-share <AFS share>] [-manual] [-programs]
1288 [-documents] [-disable] [-help]
1290 * Several uninitialized variables have been initialized
1292 * It is now possible to obtain tokens using cross realm
1293 Kerberos within afscreds.exe:
1295 user: jaltman@ATHENA.MIT.EDU
1297 Will obtain a cross realm ticket for jaltman/DEMENTIA.ORG@ATHENA.MIT.EDU
1298 will will in turn be used to obtain afs@DEMENTIA.ORG.
1299 The resulting token will be stored with the display name
1300 jaltman@ATHENA.MIT.EDU@dementia.org
1302 * aklog.exe has been added to the client
1304 Usage: aklog [-d] [[-cell | -c] cell [-k krb_realm]]
1305 [[-p | -path] pathname]
1309 -d gives debugging information.
1310 krb_realm is the kerberos realm of a cell.
1311 pathname is the name of a directory to which you wish to authenticate.
1312 -noprdb means don't try to determine AFS ID.
1313 -5 or -4 selects whether to use Kerberos V or Kerberos IV.
1314 (default is Kerberos V)
1315 No commandline arguments means authenticate to the local cell.
1318 * All of the resource files have been restructured to adhere to
1319 a set of rules IBM implemented for loading string resources.
1320 These rules had either been forgotten or were not discovered
1321 by folks working on the OpenAFS sources. The end result was
1322 memory corruption. This is primary item which was preventing
1323 the AFS Server from working.
1325 * Increased the size of the maximum ticket size stored in a token
1326 from 344 bytes to 12,000. Increased the buffers used to convey
1327 messages between the pioctl() caller and the SMB Server from
1328 1000 bytes to 12,512. The code appeared to have been writing
1329 above the top of the stack by quite a few number of bytes.
1330 (The increased ticket size is necessary for the next item.)
1332 * When obtaining AFS Tokens via KFW, krb524 is no longer required.
1333 Instead the raw Kerberos 5 ticket is used in its entirety. This
1334 is extremely important as it allows us to use pure Kerberos 5 KDCs
1335 as the source of the AFS authentication. The use of up to 12,000 byte
1336 tickets will allow tickets produced by all versions of Microsoft
1337 Active Directory to be used.
1338 - create a user account.
1339 - designate it DES only
1341 - specify its UPN to be "afs@realm"
1342 - assign a SPN of "afs/cellname" to the UPN with setspn.exe
1344 * Do not enforce the funky 8dot3 pattern matching rule that the first "."
1345 is special when using long file names. (you must use "*.*" and not "*")
1346 Instead only enforce it when performing 8dot3 searches.
1348 * Fixed the DST problem with creation times being set one hour ahead
1350 * Fixed the problem when using \\afs\cell-alias. For example,
1351 \\afs\uncc instead of \\afs\uncc.edu. Do not a new cell struct
1352 for the alias name; instead simply expand the name. One of the
1353 symptoms of this problem was a loss of acquired tokens.
1355 * Fixed the AFS Shell Extension. The Symbolic Link menu was empty
1356 of strings. (Only English strings provided.)
1358 * Fixed the installer to properly replace in use files.
1360 * Fixed the build system to cleanup generated component version files
1362 * The release build compiled with MSVC 6.0 compiler to avoid the
1363 afsd_service.exe shutdown crash. This does not solve the problem
1364 but simply avoids it for the time being.
1368 * fix afslogon.dll to not corrupt memory when High Security mode
1371 * fix afsd_service.exe to not attempt to restore the stack when
1372 an exception occurs. (not safe in multi-threaded programs)
1374 * fix uninstaller to properly remove the CRT and MFC DLLs
1376 * remove a Message Box from afscreds.exe when getcellconfig()
1377 fails on a kerberos realm which is not a cell
1379 The following is a list of changes to the OpenAFS for Window client
1382 * "fs setserverprefs" will leave afsd service deadlocked
1384 * "vos listaddrs" will core dump
1386 * installer sets the appropriate keys to support Integrated Logon
1388 * installer disables the "Find Lana by Name" functionality as it
1389 was causing headaches for many users
1391 * fix the intermittent crash of the power management thread when
1392 shutting down the AFS Client Service
1394 * optimizes the obtain drive mount list functionality which is
1395 executed every time the mount tab in afscreds.exe and afs_config.exe
1396 are refreshed. (this happens a lot)
1398 * fix the service shutdown logic. add the STOP_PENDING state
1399 and do not accept additional service events after we declare
1402 The following is a list of changes to the OpenAFS for Window client
1405 * flexelint was run against the source tree and hundreds (perhaps
1406 thousands) of corrections were applied to ensure prototypes
1407 were in use; types were used consistently; variables were
1408 initialized; unused variables were removed; etc.
1410 * A wide variety of instrumentation was added including the
1411 ability to produce a stack trace from within afsd_service.exe
1414 * Dynamic configuration of the RDRtimeout value based upon the
1415 LanMan Workstation Session Timeout
1417 * The mount root no longer needs to be called "/afs". This
1418 is now set by a registry value "MountRoot" within the key
1419 HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters
1421 * The cell list is now only read out of afsdcell.ini when the
1422 file changes instead of each time a cell is resolved.
1424 * Thread synchronization was added to cm_server.c and ktc_nt.c
1426 * All calls to GlobalAlloc()/GlobalFree() were replaced with
1427 calloc()/free(). The Global functions were needed on Windows 3.x
1428 but have caused a variety of problems on the Win32 platforms.
1429 Avoiding them is highly recommended by several Microsoft
1430 Knowledgebase articles
1432 * Support for Symbolic Links added to the AFS Shell Extension
1434 * Added a registry value "OverlayEnabled" to determine if
1435 Shell Extension Overlays should be enabled.
1436 HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters
1438 * New Build system to support VC6, VC.NET, VC.NET2003 compilers and
1439 separate trees for checked and free builds. Build system supports
1440 a custom directory src\WINNT\extra which can be used as a grafting
1441 location of organization specific additions to the build tree.
1443 * New installer built using NSIS 2.0.
1445 * Named all kernel objects in order to allow them to be monitored
1446 with tools such as SysInternals' ProcExp.exe.
1448 * Introduced new EventLog framework for AFSD
1450 * Introduced Power Management interface to AFSD for Standby and
1451 Hibernate modes to allow cache to be flushed prior to network
1454 * Utilize Win32 DNSQuery API instead of internal routines. This
1455 allows DNS SRV queries to be sent to all current domain name
1456 servers. Not just one specified in an INI file. DNS is now
1459 * "NetbiosName" registry value may be used to specify a fixed
1460 Netbios Name such as "AFS" to be used instead of "HOSTNAME-AFS"
1461 when the loopback adapter is in use. If you need to use the
1462 old notation with a loopback adapter installed specify a registry
1465 "NetbiosName" REG_EXPAND_SZ = "%COMPUTERNAME%-AFS"
1467 * Refactor all modules which depend on LAN Adapter and NetbiosName
1468 determination in a new library: lanahelper.lib. This allows for
1469 consistent behavior throughout the product.
1471 * Move the afsd.log and afsd_init.log files to the directory specified
1472 by the "TEMP" environment variable. This is usually %WINDIR%\TEMP
1473 for services. Added the Date to the log entries.
1475 * New registry value "RxMaxMTU" used to limit the size of the RX
1476 packets sent by the AFS Client Service to the Server. In order
1477 to enable OpenAFS to work across the Cisco IPSec VPN the packet
1478 size must be restricted to 1264 or smaller. The latest NSIS
1479 installer sets a value of 1260 by default.
1481 * New registry value "RxNoJumbo" to disable the use of Jumbo Rx
1482 packets. This is not needed in order to work across the Cisco
1483 VPN but might be needed for other network environments. This
1484 value is not set by the NSIS installer.
1486 * New registry value "HideDotFiles" is used to apply the Hidden
1487 attribute to files whose names begin with a '.'. This value
1488 is set by the NSIS installer.
1490 * New registry value "MaxMpxRequests" allows the maximum number
1491 of multiplexed sessions to be configured at run time. This
1492 value is not set by the NSIS installer. The default value is
1495 * New registry value "MaxVCPerServer" allows the maxmimum number
1496 of VCs per server to be configured at run time. This value is
1497 not set by the NSIS installer. The default value is 100.
1499 * New registry value "AllSubmount" allows the "all" submount to
1500 be disabled by setting its value to 0x00.
1502 * Allow cells names to be valid mount points
1503 \\<netbiosName>\<cellname>
1505 * Store the active state of drive mappings in order for afscreds.exe
1506 to restore them upon startup
1508 * Add exception handling to generate a Stack Trace to the afsd_init.log
1509 file if one happens to occur.
1511 * Add lots of logging to help detect the cause of invalid SMB packets
1513 * Enable Kerberos for Windows to be used to obtain AFS Tokens via
1514 conversion of Kerberos 5 "afs" service tickets. Supports auto-
1515 renewal of expiring tokens as long as afscreds.exe is running.
1517 * New afscreds.exe command line options:
1519 -M = renew drive maps
1520 -N = ip address change detection
1523 * New registry value "EnableKFW" in {HKCU,HKLM}SOFTWARE\OpenAFS\Client
1524 determines whether or not MIT Kerberos for Windows should be used
1525 to obtain tokens via Kerberos 5 tickets.
1527 * New registry value "AfscredsShortcutParams" in
1528 {HKCU,HKLM}SOFTWARE\OpenAFS\Client
1529 determines the command line parameters to be specified when "fixing"
1530 the AFS Shortcut in the user's startup folder.
1532 * The "ShowTrayIcon" registry value has been moved from
1533 HKLM\Software\TransarcCorporation\AFS Client\AfsCreds to
1534 {HKCU,HKLM}SOFTWARE\OpenAFS\Client
1536 * The <cell name> registry values used to store the token expiration
1537 reminders have been moved from
1538 HKLM\Software\TransarcCorporation\AFS Client\AfsCreds to
1539 {HKCU,HKLM}SOFTWARE\OpenAFS\Client\Reminders
1541 * Obtain the Logon User Name from the Explorer key when available
1543 * new text document doc\txt\winnotes\registry.txt lists all registry
1544 values used by OpenAFS (excluding the AFS Server)
1546 * BUG: rx_securityClass objects were not properly reference
1547 counted and were never freed.
1549 * BUG: reduce the number of conditions under which CM_ERROR_TIMEOUT
1550 would be generated. The existence of a server does not imply
1551 that it is not down. If all of the servers for a cell are down
1552 return CM_ERROR_NOSUCHVOLUME instead. This prevents the Explorer
1555 * BUG: the directory name lookup cache failed to free the entries
1556 in the cache when the name cache entries cycled. The entries
1557 in the cache would become dereferenced without being freed.
1559 * BUG: fs setserverprefs could be executed without Administrator
1562 * BUG: the number of allocated NCB objects (100) exceeded the number
1563 which could actually be waited upon by the kernel (64). Any objects
1564 which were utilized above the limit could never have event completions
1567 * BUG: smb_username_t objects were not being reference counted and
1568 were not properly freed.
1570 * BUG: smb_tid_t objects could under unusual circumstances be freed
1571 before they were no longer referenced.
1573 * BUG: smb_fid_t object pointer were frequently used even when
1574 their value could be NULL. They were not properly released and
1575 therefore they were never freed.
1577 * BUG: smb_packet_t data structures were not completely initialized
1580 * BUG: when Rx produces a CM_ERROR_NOIPC error do not return "Access
1581 Denied" because that causes the Explorer Shell to try again until
1582 access is obtained. Instead return "Remote Resources" which allows
1583 the shell to move on and treat the error as transient.
1585 * BUG: when initializing the NCBreturns structure, separate Event objects
1586 were created for each NCB although a single Event object was supposed
1587 to be shared by all.
1589 * BUG: smb_dirSearch_t objects were not being properly referenced counted
1592 * BUG: smb_tran2Packet_t objects were not being properly referenced
1595 * BUG: directory path creation did not handle the case of multiple
1596 directories requiring creation in one attempt
1598 * BUG: SMB requests which required an Extended Response were ignored.
1599 This prevented some files from being written to AFS volumes.
1601 * BUG: character strings were being freed even after they were
1602 inserted into in use data structures
1604 * BUG: inconsistent usernames were used when High Security mode was
1605 enabled. (there is still much to do in this area)
1607 * BUG: pioctl() calls which require out of band RPC operations were
1608 susceptible to race conditions when performed by multiple processes
1610 * BUG: memory allocation and deallocation crossed instances of the
1611 C Runtime Library producing memory leakage and corruption in
1612 afscreds and the client configurator.