[OpenAFS-devel] multiple realm ptserver problem - bug?

Derrick J Brashear shadow@dementia.org
Wed, 10 Dec 2003 11:44:08 -0500 (EST)


On Wed, 10 Dec 2003, David Botsch wrote:

> Maybe it's a bug, or maybe it is me doing something stupid.
>
> When authenticating users in more than one cell (ie enter uname/pw for
> cell1, then later on, enter uname/pw for cell2 without exiting the auth
> program), it seems that something someplace is caching and talking to
> the wrong ptserver.

Yup. You need to call pr_End, and pr_Init again. (Actually, I wonder if
pr_End works now; Some time ago it did not, but that was like AFS 3.4)

> When the uid lookup happens for cell2, it still talks to the ptservers
> for realm1.