[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Use of different keytabs before gss_acquire_cred
- To: huaraz@moeller.plus.com
- Subject: Re: Use of different keytabs before gss_acquire_cred
- From: Love Hörnquist Åstrand <lha@kth.se>
- Date: Wed, 13 Apr 2005 16:33:19 +0200
- Cc: heimdal-discuss@sics.se
- In-Reply-To: <20050413105901.63E9A1412C0@mx2.kth.se> (Markus Moeller'smessage of "Wed, 13 Apr 2005 12:08:47 +0100")
- References: <20050413105901.63E9A1412C0@mx2.kth.se>
- Sender: owner-heimdal-discuss@sics.se
- User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (berkeley-unix)
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