[25081] in Kerberos

home help back first fref pref prev next nref lref last post

Re: How to specify the Kerberos mech type in krb5-1.4.3 GSS code ?

daemon@ATHENA.MIT.EDU (Achim Grolms)
Wed Dec 7 14:21:03 2005

From: Achim Grolms <kerberosml@grolmsnet.de>
To: kerberos@mit.edu
Date: Wed, 7 Dec 2005 20:20:19 +0100
In-Reply-To: <1133961037.869790.132430@g44g2000cwa.googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200512072020.20055.kerberosml@grolmsnet.de>
Errors-To: kerberos-bounces@mit.edu

On Wednesday 07 December 2005 14:10, sandypossible@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
________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

home help back first fref pref prev next nref lref last post