s4:ldap_server: don't use gensec_want_feature(gensec_security, GENSEC_FEATURE_{SIGN...
authorStefan Metzmacher <metze@samba.org>
Thu, 1 Sep 2016 08:58:16 +0000 (10:58 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 26 Oct 2016 09:20:12 +0000 (11:20 +0200)
They're always supported and using gensec_want_feature() on them would require
them in future.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source4/ldap_server/ldap_bind.c

index c7715de14198d9ea92e739285c71477aea2384f0..1264d115c8774de92d8112c91f2c032aa2bc7202 100644 (file)
@@ -191,8 +191,6 @@ static NTSTATUS ldapsrv_BindSASL(struct ldapsrv_call *call)
                                                 nt_errstr(status));
                } else {
 
-                       gensec_want_feature(conn->gensec, GENSEC_FEATURE_SIGN);
-                       gensec_want_feature(conn->gensec, GENSEC_FEATURE_SEAL);
                        gensec_want_feature(conn->gensec, GENSEC_FEATURE_ASYNC_REPLIES);
                        gensec_want_feature(conn->gensec, GENSEC_FEATURE_LDAP_STYLE);