Andreas --> cyrus-sasl (2004-08-16 10:17:54 -0300): > On Sat, Aug 14, 2004 at 05:57:55PM +0200, Jukka Salmi wrote: > > On gssapi.html[4] it tells about environment variables used by the > > kerberos libraries to determine the keytab file, i.e. KRB5_KTNAME for > > Heimdal (which I can confirm to be correct). > > That variable only works for MIT as far as I know.
Quoting heimdal-0.6.2/lib/krb5/context.c: static krb5_error_code init_context_from_config_file(krb5_context context) { [...] /* default keytab name */ tmp = NULL; if(!issuid()) tmp = getenv("KRB5_KTNAME"); if(tmp != NULL) context->default_keytab = tmp; else INIT_FIELD(context, string, default_keytab, KEYTAB_DEFAULT, "default_keytab_name"); Cheers, Jukka -- bashian roulette: $ ((RANDOM%6)) || rm -rf ~ --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html