[OpenAFS] Problems with openafs 1.2.9 and KTH Kerberos 1.2.2

Dr A V Le Blanc Dr A V Le Blanc <LeBlanc@mcc.ac.uk>
Wed, 23 Apr 2003 16:31:41 +0100


Yesterday I upgraded some Linux and SGI Irix systems from openafs
1.2.7 and 1.2.8 to 1.2.9.  On the Linux systems, programs which
call kafs_settoken from libkafs.a from KTH Kerberos version 1.2.2
have stopped working.  Reverting to 1.2.8 cures the problem.
The problem does not appear with the same programs running with
openafs 1.2.9 on the Irix systems.

Debugging libkafs is rather a pain, so I'm hoping there is some
obvious answer I'm missing.  The call passes a realm name in
upper case, a uid, and the address of a CREDENTIALS structure,
which was copied from a valid session as saved from another
program.  I include the source of the program which saved the
token and of the one which reads it back.

    -- Owen
    LeBlanc@mcc.ac.uk

begin 444 progs.tar.gz
M'XL(`'BQICX"`^U:_W/:N!+OK_!7J+QK8Z<0("&E;2Z=20G-94*33B#7NY=F
M/,86H,'8'G\)E][+__X^*\D8"&WOYE[[OGFGQ=9JM5I)J]7JX]BCV(D"O_[H
M&U*CT6JT]_?Q;#2:K>?R"<J>ZKV]M]]HM?;:;<@UF^V]QB.V_^@[4!HG=L38
MHT]>+(3M?58N"H+DT?\>V7K]W]E3/A(>_R;KWVPTGK=:GUO_9G/WN5K_O7:K
MN0NYYM[>?NL1:Q3K_\WI["T[9+7CL^ZOUMO37O?P8Z7N!8[MU4/AVZ,@XO68
M._4G\4X23+G_L5+NJ`:=L_=K#>;S>=V9<&<:"A=RETKNLC_8(!=QFO4$8J?G
MG=[5<;=_6*J=UM,XJCN!GT1B6`]M9VJ/>5R?)I-I-*P+W_%2EY<OW@\@7*J-
MRQ^.+L_EZP?;\UCM0XQV3E(+HR`)DKN0Q["U=W1"(C\8U,QD/QA9?_1^]I9^
M._+W4OY*E6;YZ&W_^/02]DN+L$7F,?%ZIV\4^P=#29AU3PS+O8NC8U1U^S3@
MGJQ3DN9:D32!)96BH2Q^++.:1R;C8:>NH&=\!S$O'8HI'DXPLW@4*<&IG283
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