[OpenAFS-port-darwin] AFS as OS X home directory

Steve Lidie sol0@Lehigh.EDU
Tue, 3 Dec 2002 16:36:35 -0500


On Tuesday, December 3, 2002, at 03:35 PM, Ragnar Sundblad wrote:

>
>
> --On den 3 december 2002 14:05 -0500 Steve Lidie <sol0@Lehigh.EDU>  
> wrote:
>
>> Any OS X file dialog wants to show a directory tree of all mounted
>> volumes, so showing our AFS home space with 10K+ users takes several
>> minutes.  Is there a way to customize OS X to not do this, or perhaps
>> start the display at the current working directory?
>
> I have no idea how to solve this. I think it is quite uncommon
> to have 10K+ users in one directory, many mux it up in several
> directories with just a few hundreds or so in each. Even that
> can take some time to list.

OK, that's been talked about for years - perhaps it's time to re-visit  
the matter.

>
>> Second, I have no AFS token after login.  Is there a clean solution to
>> this?  Assuming the file dialog problem could be "fixed", forcing the
>> user to klog would be okay.
>
> This one I can help you with!
>
> You can get a Kerberos "loginLogout" plugin that gets called
> when the Kerberos libs authenticates, both at console login
> time, when the user runs "kinit" and when an app makes the
> kerberos dialog appear.
>
>

Thank you, I will try it tomorrow and let you know how it went.


> You can get the source here:
> <ftp://ftp.nada.kth.se/pub/home/ragge/afslog- 
> krbafs12.loginLogout.0.0.1d1.s
> rc.tgz>
> and a complied binary here:
> <ftp://ftp.nada.kth.se/pub/home/ragge/afslog-krbafs12.0.0.1d1.tgz>
>
> I'd be happy if people test it and find bugs!

Will do.

>
> Some notes:
> It doesn't kill your tickets when you log out, I wasn't sure one
> dare to do that since I am not sure of the timing at logout time.

OK.

>
> It won't install tickets for root (uid 0), since that would give
> your root access in the afs tree to daemons and such.

OK.