gss_init_sec_context error for spnego

Stephen Ince since at
Mon Oct 20 00:37:33 EDT 2008

I have made some progress. I am now getting a "Message stream modified" 
from gss_init_sec_context on the second call.

I am doing the following.


    get and decode input negotiate from IE

I think my error maybe how I am base64 decoding the negotiate token. or in 
how I am setting the default creditial cache.
Any help would be greatly appreciated.


----- Original Message ----- 
From: "Stephen Ince" <since at>
To: <krbdev at>
Sent: Sunday, October 19, 2008 4:23 PM
Subject: gss_init_sec_context error for spnego

>I am getting a 589824 major status for gss_init_sec_context. Does any know
> why? It is for the second call to gss_init_sec_context.
> Basically I am doing the following.
>    major_status = gss_init_sec_context(&minor_status,
>        &neg_ctx->context,
>        neg_ctx->server_name,
>        &gss_spnego_mech_oid_desc,
>        &input_token,
>        NULL,
>        &output_token,
>        NULL,
>        NULL);
> On the first call to gss_init_sec_context the variable neg_ctx->context is
> intialized to GSS_C_NO_CONTEXT
> I fail on the second call to gss_init_sec_context
> Steve
> since at
> _______________________________________________
> krbdev mailing list             krbdev at

More information about the krbdev mailing list