negotiate auth
Milosz Kmieciak
milosz at kmieciak.eu
Tue Aug 5 08:22:11 EDT 2008
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).
Some workaround could be:
auth_session auth_s;
...
ne_add_server_auth(session, NE_AUTH_NEGOTIATE, NULL, NULL);
auth_s = ne_get_session_private(session, HOOK_SERVER_ID);
auth_s->gssmech = GSS_C_NO_OID; // or another oid from gss implementation
BUT: auth_session is out of scope (ne_auth.c)
cheers!
--
Milosz Kmieciak
More information about the neon
mailing list