[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Use of different keytabs before gss_acquire_cred




Marcus,

> if I use gsskrb5_register_acceptor_identity() it sets the new keytab
> value, but how can I switch back to the default ? Since I use only gss
> calls I don't have a krb5 context.So it looks as I have to do the
> following.

Heimdal will cache the keytab filename at first call of krb5_init_context,
and since the gss code caches the krb5_context, it will never notice that
you change the enviroment variable.

Love


PGP signature