On Wednesday 07 December 2005 14:10, [EMAIL PROTECTED] 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
________________________________________________
Kerberos mailing list           [email protected]
https://mailman.mit.edu/mailman/listinfo/kerberos

Reply via email to