summaryrefslogtreecommitdiff
path: root/source4/ldap_server
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2016-09-01 10:58:16 +0200
committerAndreas Schneider <asn@cryptomilk.org>2016-10-26 11:20:12 +0200
commit3a0b835408a6efa339e8b34333906bfe3aacd6e3 (patch)
tree253e1ae6270096e0a509f30999ebec8e29b0c961 /source4/ldap_server
parent3c27a10e1c77ce82dabcb68338155bc52c97a527 (diff)
downloadsamba-3a0b835408a6efa339e8b34333906bfe3aacd6e3.tar.gz
s4:ldap_server: don't use gensec_want_feature(gensec_security, GENSEC_FEATURE_{SIGN,SEAL}) as server
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>
Diffstat (limited to 'source4/ldap_server')
-rw-r--r--source4/ldap_server/ldap_bind.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source4/ldap_server/ldap_bind.c b/source4/ldap_server/ldap_bind.c
index c7715de1419..1264d115c87 100644
--- a/source4/ldap_server/ldap_bind.c
+++ b/source4/ldap_server/ldap_bind.c
@@ -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);