[OpenAFS] Re: "unable to authenticate to AFS" error- linux distribution,
specific?
Thomas Bertram
bertram@ph1.uni-koeln.de
Thu, 18 Nov 2004 19:10:46 +0100
Christof Hanke wrote:
>I've debugged my broken klog (SLES9 on openafs-1.3.74) using -O2 and
>found out that in authclient.c:ka_Authenticate() the char *label gets
>corrupted, when KAA_AuthenticateV2 is called (as Derrick pointed out
>earlier).
>I have no fix for that, but I found out when you declare the char *label
>as static, the klog works (at least for me).
>in src/kauth :
>diff authclient.c authclient_new.c
>526c526
>< char *ans_label;
>---
> > static char *ans_label;
>
>What this means in detail, I do not know, but I guess it prevents some
>overoptimization.
>
That worked out for me as well. Thanks!
Thomas