App with multiple keytabs

Bradley Kite bradley.kite at gmail.com
Wed Aug 31 10:27:59 EDT 2016


On 2016-08-31 12:38, Bradley Kite wrote:
>> Hi there,
>>
>
> I think I have a similar use-case and I use gss_acquire_cred_from:
>
>
> gss_cred_id_t tgt;
> OM_uint32 ms, tm;
> gss_key_value_element_desc e[] = {{"client_keytab", NULL}};
>
> gss_key_value_set_desc kv = {1, &e[0]};
>
> > e[0].value = keytab_name;
> rc = gss_acquire_cred_from(&ms, NULL, GSS_C_INDEFINITE,
> (gss_OID_set)gss_mech_set_krb5, GSS_C_INITIATE, kv, &tgt, NULL, &tm);
>
>
>
> HTH,
> Sorin

That's just the pointer I needed, many thanks in advance!

I have found the URN's that can be supported
in src/lib/gssapi/krb5/gssapiP_krb5.h.

Thanks
--
Brad.


More information about the krbdev mailing list