diff options
author | Kouhei Sutou <kou@clear-code.com> | 2009-08-13 15:12:01 +0900 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-09-17 20:10:54 +0200 |
commit | f8dae40fc8e40f747a4571a2500bba9f1a790fa5 (patch) | |
tree | 778ee30d1a61903a9a4abe617777be6a48dfc3fa /source3/utils | |
parent | c2055de162b154efb1aef0d2977f860a01ffdbbc (diff) | |
download | samba-f8dae40fc8e40f747a4571a2500bba9f1a790fa5.tar.gz samba-f8dae40fc8e40f747a4571a2500bba9f1a790fa5.tar.xz samba-f8dae40fc8e40f747a4571a2500bba9f1a790fa5.zip |
spnego: Support ASN.1 BIT STRING and use it in SPNEGO.
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/ntlm_auth.c | 6 |
1 files changed, 4 insertions, 2 deletions
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; |