From 3c27a10e1c77ce82dabcb68338155bc52c97a527 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 1 Sep 2016 10:58:16 +0200 Subject: [PATCH] s3:ntlm_auth: don't use gensec_want_feature(gensec_security, GENSEC_FEATURE_{SIGN,SEAL}) as server MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit They're always supported and using gensec_want_feature() on them would require them in future. Signed-off-by: Stefan Metzmacher Reviewed-by: Günther Deschner Reviewed-by: Andreas Schneider --- source3/utils/ntlm_auth.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/source3/utils/ntlm_auth.c b/source3/utils/ntlm_auth.c index 05916d6aa08..a5c1844cecd 100644 --- a/source3/utils/ntlm_auth.c +++ b/source3/utils/ntlm_auth.c @@ -1214,9 +1214,6 @@ static NTSTATUS ntlm_auth_prepare_gensec_server(TALLOC_CTX *mem_ctx, } gensec_set_credentials(gensec_security, server_credentials); - - gensec_want_feature(gensec_security, GENSEC_FEATURE_SIGN); - gensec_want_feature(gensec_security, GENSEC_FEATURE_SEAL); talloc_unlink(tmp_ctx, lp_ctx); talloc_unlink(tmp_ctx, server_credentials); -- 2.11.4.GIT