[OpenAFS-devel] multiple realm ptserver problem - bug?
David Botsch
dwb7@ccmr.cornell.edu
Wed, 10 Dec 2003 11:57:31 -0500
So, I've added the following two lines to before the call to
ka_UserAuthenticateGeneral:
pr_End();
pr_Initialize(0, AFSDIR_CLIENT_ETC_DIRPATH, cell);
it still talks to ptservers for cell1 when attempting to resolve uid
for cell2.
On 2003.12.10 11:44 Derrick J Brashear wrote:
> 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.
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-devel
>
--
********************************
David William Botsch
Consultant/Advisor II
CCMR Computing Facility
dwb7@ccmr.cornell.edu
********************************