summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-07-24 09:33:06 +0200
committerStefan Metzmacher <metze@samba.org>2009-07-24 09:38:30 +0200
commitc00e4040bcbe18b76f8147bb124409d079bdb8c9 (patch)
tree85e701a603fdf69459a4bffefc100c2c3d622769 /source4/auth
parent68028a73b6fd2bce66eabea5dd8a4187a6df6729 (diff)
downloadsamba-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
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/gensec/spnego.c2
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;