Re: waiting for nfs home at login

Karl Kuehn <[email protected]> Mon, 23 Sep 2013 11:26:56 -0700
Newsgroups gmane.comp.macosx.admin
Message-ID <[email protected]>
On Sep 23, 2013, at 8:26 AM, Axel Rau <[email protected]> wrote:

> I have a 10.6.8 OSX server which uses OD with strong binding of the clients (most 10.8.5).
> User homes are served via nfs (with Kerberos authentication) from this server.
> Occasionally, the login completes before the nfs mount has completed, which trashes dock and finder preferences permanently.
> How can I make sure, loginwindow waits until mount is complete?
> There is one client, which produces this log entry on the server if it happens:
> ---
> userInit[2482:907] CFPreferences: user home directory at file://localhost/Network/Servers/zeus.do.main/Exports/Users/fred/ is unavailable. User domains will be volatile.
> ---
> This user has no managed preferences and the client computer has only a login message text.

	I don't have an easy solution for you. But when I ran into a similar problem with AFS (not Apple's AFP, but the only formerly called "Andrew File System"), I wound up having to write a AuthPlugin that I put after the user had done most of the authentication that waited for the AFS system to be ready to serve up content. It might work to do that for you. You are going to have to do some work on it if you go this route, since this is older code, but I did open-source it at:

http://code.google.com/p/loginwindowtools/

--
	Karl Kuehn
	larkost-/[email protected]