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:[EMAIL PROTECTED]
> 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           [EMAIL PROTECTED]
> https://mailman.mit.edu/mailman/listinfo/kerberos

________________________________________________
Kerberos mailing list           [EMAIL PROTECTED]
https://mailman.mit.edu/mailman/listinfo/kerberos

Reply via email to