From f8dae40fc8e40f747a4571a2500bba9f1a790fa5 Mon Sep 17 00:00:00 2001 From: Kouhei Sutou Date: Thu, 13 Aug 2009 15:12:01 +0900 Subject: spnego: Support ASN.1 BIT STRING and use it in SPNEGO. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Günther Deschner --- source3/utils/ntlm_auth.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'source3') diff --git a/source3/utils/ntlm_auth.c b/source3/utils/ntlm_auth.c index a607cb06587..3bdc45a6ef7 100644 --- a/source3/utils/ntlm_auth.c +++ b/source3/utils/ntlm_auth.c @@ -1454,7 +1454,8 @@ static bool manage_client_ntlmssp_init(struct spnego_data spnego) spnego.type = SPNEGO_NEG_TOKEN_INIT; spnego.negTokenInit.mechTypes = my_mechs; - spnego.negTokenInit.reqFlags = 0; + spnego.negTokenInit.reqFlags = data_blob_null; + spnego.negTokenInit.reqFlagsPadding = 0; spnego.negTokenInit.mechListMIC = null_blob; status = ntlmssp_update(client_ntlmssp_state, null_blob, @@ -1609,7 +1610,8 @@ static bool manage_client_krb5_init(struct spnego_data spnego) reply.type = SPNEGO_NEG_TOKEN_INIT; reply.negTokenInit.mechTypes = my_mechs; - reply.negTokenInit.reqFlags = 0; + reply.negTokenInit.reqFlags = data_blob_null; + reply.negTokenInit.reqFlagsPadding = 0; reply.negTokenInit.mechToken = tkt; reply.negTokenInit.mechListMIC = data_blob_null; -- cgit