gss_acquire_cred with specific keytab
Jacques Lebastard
jacques.lebastard at evidian.com
Fri Sep 3 03:42:05 EDT 2004
Will Fiveash wrote :
>>This program works fine _if_ the server's principal entry exists in
>>/etc/krb5/keytab (I'm running on Solaris 9).
>>
>>I'd like to isolate the server's key in a specific keytab file.
>>Is it possible to add extra calls prior to gss_acquire_cred so that
>>Kerberos uses this specific keytab file when searching for the
>>principal's key ?
>
>
> You can set the environment variable KRB5_KTNAME with the full path to
> the keytab file. No modification of your code is necessary.
>
Thanks : it works just as expected.
--
Mr. Jacques LEBASTARD mailto:jacques.lebastard at evidian.com
EVIDIAN S.A. www.evidian.com
Rue Jean Jaurès Tel: +33 1 30 80 77 86
F-78340 LES CLAYES SOUS BOIS Fax: +33 1 30 80 77 99
More information about the Kerberos
mailing list