summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-10-15 13:19:41 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-10-18 13:13:32 +1100
commit09c5acdec825b9a1580f414ba19be04978aaee85 (patch)
tree9115c2bf559588ba0b99bbf7bd0c5440b4177085 /source4/auth
parent0d5de7e19c8112821269b4f5a910ee777f35d185 (diff)
downloadsamba-09c5acdec825b9a1580f414ba19be04978aaee85.tar.gz
samba-09c5acdec825b9a1580f414ba19be04978aaee85.tar.bz2
samba-09c5acdec825b9a1580f414ba19be04978aaee85.zip
s4-auth: match the new s3 gensec client and always negotiate SIGN with SEAL
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/ntlmssp/ntlmssp_server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/auth/ntlmssp/ntlmssp_server.c b/source4/auth/ntlmssp/ntlmssp_server.c
index 0799e0a994..2deb68b6b5 100644
--- a/source4/auth/ntlmssp/ntlmssp_server.c
+++ b/source4/auth/ntlmssp/ntlmssp_server.c
@@ -298,6 +298,7 @@ NTSTATUS gensec_ntlmssp_server_start(struct gensec_security *gensec_security)
ntlmssp_state->neg_flags |= NTLMSSP_NEGOTIATE_SIGN;
}
if (gensec_security->want_features & GENSEC_FEATURE_SEAL) {
+ ntlmssp_state->neg_flags |= NTLMSSP_NEGOTIATE_SIGN;
ntlmssp_state->neg_flags |= NTLMSSP_NEGOTIATE_SEAL;
}