Re: Slow Windows logins with AFS installed

Jeffrey Altman <[email protected]> Thu, 26 Jan 2006 18:42:38 -0800
Newsgroups gmane.comp.file-systems.openafs.devel.win32
Organization Secure Endpoints Inc.
Message-ID <[email protected]>
Ted Anderson wrote:
> 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.

I am explaining to you how the code is written.  If the AFS Client
Service has not started when you log in, the login will not complete
until it does.

This has nothing to do with roaming profiles.  Let us imagine a local
profile that accesses a resource stored in AFS.  For example, an update
to the anti-virus dictionary.  The purpose of this functionality is to
ensure that if AFS is installed on the machine that AFS is functional
when the user logs in.  Not after the user logs in.

If you would like to avoid this behavior you can set AFS for manual
start and activate it when you require it.

> 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.

All this means is that by the time the VPN has been started, the AFS
Client Service has been started by Windows.

Jeffrey Altman
smime.p7s (application/x-pkcs7-signature, 3.2 KB) - not displayed