Re: Slow Windows logins with AFS installed
Ted Anderson <[email protected]> Thu, 26 Jan 2006 20:33:04 -0400
| Newsgroups | gmane.comp.file-systems.openafs.devel.win32 |
|---|---|
| Message-ID | <[email protected]> |
On 01/26/2006 01:03, Jeffrey Altman wrote: > There is no problem. Glad to hear it. > One of the functions of afslogon.dll separate > from obtaining tokens is to ensure that the OpenAFS Client Service is > in a running state before allowing the user's profile to execute. > If you are seeing a delay it is because the AFS Client Service is not > starting and this may very well be due to the fact that the drivers > and services upon which the AFS Client Service depends are either not > properly configured on your machine or have not been able to finish > starting themselves. I don't believe this explanation applies to my case. My AFS client service is configured to start at boot time. I do not use a roaming profile and none of my profile stuff is stored in AFS. The delay I am seeing occurs when logging in and out without rebooting, and while using AFS just fine both before logging out and after logging back in. > Note that if you can't access your AFS cell AND you are not using > Freelance mode, the AFS Client Service is not going to be able to start > because it won't be able to access the root.afs volume until the VPN is > up. This is part of the reason Freelance mode exists. Right, this is part of the reason why I have enabled the freelance client. With freelance, the configuration of the default cell seems to have little functional impact, but does provide the convenience of not having to specify a cell when running klog and pts commands. Once I get logged in and start the VPN, AFS works just fine, both with and without the registery settings I needed to alter. Based on this, my suggestion is that these settings should automatically be removed when "Obtain AFS tokens when logging into Windows" is NOT checked. Ted > Jeffrey Altman > > Ted Anderson wrote: > >>I have had a problem with recent versions of Windows AFS in which it >>causes a long delay (60-90 seconds) when logging in. I always disable >>integrated logon, but it doesn't help. In the past, I had to search >>through the registry and find references to afslogon and got rid of some >>of them. Through trial and error and numerous reboots I was able to get >>login to go at a normal speed. Lately, though I've been using Spybot >>Search and Destroy, so I have a more deterministic mechanism to report. >> I go into the tools section, system startup panel and delete the >>entries for AfsLogon and KFWLogon (this latter might not be necessary as >>I don't run KfW). Then I reboot and login is fast. >> >>My situation is that I generally use AFS through a VPN, which is off >>when I login. I have the client configured into a cell behind the VPN. >> So after logging in, I start the VPN and run klog before attempting to >>use AFS. I am using freelance to create the /afs volume dynamically. I >>am running Windows 2000 Professional SP4. I observe these slow logins >>on both my desktop and laptop, so it isn't a funny characteristic of a >>single machine. >> >>With the release of 1.4.1rc5, I installed the latest Windows client >>(server is uninstalled, but I have the MS Loopback adapter installed) >>and verified that the problem remains and the above-described >>work-around still works. >> >>Is this a known problem? Is there a better fix than using Spybot tools? >> Is there other information about my configuration I could provide that >>would help? >> >>Ted Anderson >> >>_______________________________________________ >>OpenAFS-Win32-devel mailing list >>[email protected] >>http://lists.openafs.org/mailman/listinfo/openafs-win32-devel >>