From c00e4040bcbe18b76f8147bb124409d079bdb8c9 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 24 Jul 2009 09:33:06 +0200 Subject: s4:gensec/spengo: make sure we send the blob with the micListMech signature to the peer We should even do this if the submech has no more data to send. metze --- source4/auth/gensec/spnego.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/auth/gensec/spnego.c b/source4/auth/gensec/spnego.c index e51b215807..331d033524 100644 --- a/source4/auth/gensec/spnego.c +++ b/source4/auth/gensec/spnego.c @@ -1061,7 +1061,7 @@ static NTSTATUS gensec_spnego_update(struct gensec_security *gensec_security, TA return nt_status; } - if (unwrapped_out.length) { + if (unwrapped_out.length || mech_list_mic.length) { /* compose reply */ spnego_out.type = SPNEGO_NEG_TOKEN_TARG; spnego_out.negTokenTarg.negResult = SPNEGO_NONE_RESULT; -- cgit