diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-07-24 09:33:06 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-07-24 09:38:30 +0200 |
commit | c00e4040bcbe18b76f8147bb124409d079bdb8c9 (patch) | |
tree | 85e701a603fdf69459a4bffefc100c2c3d622769 | |
parent | 68028a73b6fd2bce66eabea5dd8a4187a6df6729 (diff) | |
download | samba-c00e4040bcbe18b76f8147bb124409d079bdb8c9.tar.gz samba-c00e4040bcbe18b76f8147bb124409d079bdb8c9.tar.bz2 samba-c00e4040bcbe18b76f8147bb124409d079bdb8c9.zip |
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
-rw-r--r-- | source4/auth/gensec/spnego.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |