How to specify the Kerberos mech type in krb5-1.4.3 GSS code ?
Achim Grolms
kerberosml at grolmsnet.de
Wed Dec 7 14:20:19 EST 2005
On Wednesday 07 December 2005 14:10, sandypossible at gmail.com wrote:
> Hi,
>
> I want to hard code the mech type for kerberos instead of GSS_C_NO_OID.
> Could anybody please tell me how to do it ?
Pass the mechtype you want to
gss_init_sec_context().
use
gss_indicate_mechs()
to ask for the Mechtypes your GSSAPI supports.
Somethink like
static gss_OID_desc krb5_oid_desc = {9, (void *)
"\x2a\x86\x48\x86\xf7\x12\x01\x02\x02"};
Will work for Kerberos.
Achim
More information about the Kerberos
mailing list