[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SOLVED: AFS keys not working in keytabs
"Brandon S. Allbery KF8NH" <allbery@kf8nh.apk.net> writes:
> Anyway, the fix:
>
> diff -ur heimdal-0.0u-dist/lib/krb5/keytab.c heimdal-0.0u/lib/krb5/keytab.c
> --- heimdal-0.0u-dist/lib/krb5/keytab.c Sat Jan 30 13:14:18 1999
> +++ heimdal-0.0u/lib/krb5/keytab.c Thu Feb 18 17:57:52 1999
> @@ -198,7 +198,7 @@
> return FALSE;
> if(vno && vno != entry->vno)
> return FALSE;
> - if(keytype && keytype != entry->keyblock.keytype)
> + if(keytype && (keytype & KEYTYPE_KEYTYPE_MASK) != entry->keyblock.keytype)
> return FALSE;
> return TRUE;
> }
Thanks for your fix. Now, the code doesn't look like that any longer :-)
And as far as I can tell, this bug shouldn't happen anymore. I hope
to be able to make a snapshot for you to try out really soon.
/assar