1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00

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>
This commit is contained in:
Stefan Metzmacher 2016-09-01 10:58:16 +02:00 committed by Andreas Schneider
parent 3c27a10e1c
commit 3a0b835408

View 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);