[22354] in Kerberos
Re: gss_acquire_cred with specific keytab
daemon@ATHENA.MIT.EDU (Jacques Lebastard)
Fri Sep 3 03:44:59 2004
Message-ID: <4138204D.9070402@evidian.com>
Date: Fri, 03 Sep 2004 09:42:05 +0200
From: Jacques Lebastard <jacques.lebastard@evidian.com>
MIME-Version: 1.0
To: kerberos@mit.edu
In-Reply-To: <20040902161327.GA676461@sun.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Errors-To: kerberos-bounces@mit.edu
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@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
________________________________________________
Kerberos mailing list Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos