[22360] in Kerberos
Re: gss_acquire_cred with specific keytab
daemon@ATHENA.MIT.EDU (Kiran Kumar M)
Fri Sep 3 14:18:30 2004
Message-ID: <41374098.A9391838@india.hp.com>
From: Kiran Kumar M <mkiran@india.hp.com>
Date: Thu, 02 Sep 2004 15:46:32 GMT
To: kerberos@mit.edu
Errors-To: kerberos-bounces@mit.edu
If you are linking your application to the generic gssapi ( libgss.so )
instead of libgssapi_krb5.so then you can use a putenv() to set the
DEFAULT_KEYTAB_NAME to any desired keytab file location
-Kiran
Jacques Lebastard wrote:
> Hi there,
>
> I wrote a simple GSS-API server program (as simple as gss-server).
>
> 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.
> It is 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 ?
> --
> 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
________________________________________________
Kerberos mailing list Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos