getting tokens for a remote cell (PATCH INCLUDED)

Love lha at stacken.kth.se
Thu Mar 16 04:49:15 CET 2000


Christopher Allen Wing <wingc at engin.umich.edu> writes:

> Hmm, actually this seems to be a bug in Arla or kth-krb. klog calls upon
> krb_afslog_uid() to get an AFS token. krb_afslog_uid() should use the
> internal ticket file name as set by krb_set_tkt_string(). However, it
> seems that krb_afslog_uid(), or one of the functions that it calls, uses
> the KRBTKFILE environment variable instead.
> 
> Try this patch and it should fix it:
> 
> --- arla-0.31.orig/appl/afsutils/klog.c	Wed Mar 15 11:58:57 2000
> +++ arla-0.31/appl/afsutils/klog.c	Wed Mar 15 12:01:09 2000
> @@ -710,6 +710,7 @@
>  	}
>      }
>  
> +    setenv("KRBTKFILE", tkfile, 1);
>      krb_set_tkt_string (tkfile);
>  
>      /* Get the Kerberos TGT */
> 
> 

Since it was reported to work I've added to the cvs-tree.

Thanks,

Love, lousy speller






More information about the Arla-drinkers mailing list