s4-auth: match the new s3 gensec client and always negotiate SIGN with SEAL
authorAndrew Bartlett <abartlet@samba.org>
Sat, 15 Oct 2011 02:19:41 +0000 (13:19 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 18 Oct 2011 02:13:32 +0000 (13:13 +1100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
source4/auth/ntlmssp/ntlmssp_server.c

index 0799e0a99422a754604ec6b09635eeff0edbbeff..2deb68b6b5ca93514ab21cc3757aeec979a9a8ae 100644 (file)
@@ -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;
        }