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
[EMAIL PROTECTED]
https://lists.openafs.org/mailman/listinfo/openafs-devel


-- ******************************** David William Botsch Consultant/Advisor II CCMR Computing Facility [EMAIL PROTECTED] ******************************** _______________________________________________ OpenAFS-devel mailing list [EMAIL PROTECTED] https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to