mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s4:ldap_server: make use of GENSEC_FEATURE_LDAP_STYLE
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Günther Deschner <gd@samba.org>
This commit is contained in:
parent
c431543fb9
commit
0ebe929810
@ -181,6 +181,7 @@ static NTSTATUS ldapsrv_BindSASL(struct ldapsrv_call *call)
|
|||||||
gensec_want_feature(conn->gensec, GENSEC_FEATURE_SIGN);
|
gensec_want_feature(conn->gensec, GENSEC_FEATURE_SIGN);
|
||||||
gensec_want_feature(conn->gensec, GENSEC_FEATURE_SEAL);
|
gensec_want_feature(conn->gensec, GENSEC_FEATURE_SEAL);
|
||||||
gensec_want_feature(conn->gensec, GENSEC_FEATURE_ASYNC_REPLIES);
|
gensec_want_feature(conn->gensec, GENSEC_FEATURE_ASYNC_REPLIES);
|
||||||
|
gensec_want_feature(conn->gensec, GENSEC_FEATURE_LDAP_STYLE);
|
||||||
|
|
||||||
status = gensec_start_mech_by_sasl_name(conn->gensec, req->creds.SASL.mechanism);
|
status = gensec_start_mech_by_sasl_name(conn->gensec, req->creds.SASL.mechanism);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user