[OpenAFS] asetkey: failed to set key, code 70354694

Derrick J Brashear shadow@dementia.org
Mon, 9 Apr 2007 15:17:29 -0400 (EDT)


On Mon, 9 Apr 2007, Ken Hornstein wrote:

>> No, this is the /usr/afs/etc/krb.conf trick.
>
> I see some stuff under #ifdef AFS_KERBREALM_ENV, but I can't possibly
> see how it would work like it's supposed to ... afs_krb_get_lrealm()
> reads the _first_ line of /usr/afs/etc/krb.conf and returns that.  There
> is a loop in afs_is_foreign_ticket_name() to continually call
> afs_krb_get_lrealm() up to AFS_NUM_LREALMS (which is 4) ... but since
> afs_krb_get_lrealm() is always going to return the same thing, I don't
> see how you could have more than one.

Realms all on one line?