[OpenAFS] clientName.name: AFS ID v. UNIX UID

Derrick J Brashear shadow@dementia.org
Fri, 13 Jun 2003 23:53:49 -0400 (EDT)


On Fri, 13 Jun 2003, David Botsch wrote:

> So, any ideas on this?
>
> There seems to either be some extra init needed or a bug someplace where if you
> call ka_UserAuthenticateGeneral more than once and on different cells, each
> pr_SNameToId call after the first contacts the ptserver on the first cell.
>
> So:
> ka_UserAuthenticateGeneral on cell 1
> pr_SNameToId talks to ptservers in cell 1
>
> ka_UserAuthenticateGeneral on cell 2
> pr_SNameToId talks to ptservers in cell 1, hence the lookup of the afs uid
> fails.

call pr_Initialize(..,0) and then pr_Initialize(..,"/usr/vice/etc")
between cycles.

Or maybe those aren't the arguments but it's something like that.

Calling pr_End() after each cycle instead also might work.