negotiate auth

Joe Orton joe at manyfish.co.uk
Tue Aug 5 08:30:19 EDT 2008


On Tue, Aug 05, 2008 at 12:22:11PM +0000, Milosz Kmieciak wrote:
> Hello,
> 
> I am trying to use negotiate auth mechanism (spnego + gss), and as I
> can see all gss-connected routines are in ne_auth.c source code. My
> problem is - how can I set the mechanism oid (gss_OID gssmech field in
> auth_session)? I can not find even where it is being set at init time
> (ex. GSS_C_NO_OID).

It's not set, it's left as GSS_C_NO_OID for gss_init_sec_context to 
determine appropriately.

There is no API to change this, though I've wondered about adding an API 
for some other GSSAPI options, notably whether or not to delegate 
credentials.  Can you explain why/how you'd want to set to OID 
differently?

Regards, Joe




More information about the neon mailing list