diff options
Diffstat (limited to 'source4/libcli')
-rw-r--r-- | source4/libcli/ldap/ldap_bind.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/ldap/ldap_bind.c b/source4/libcli/ldap/ldap_bind.c index 81e0c8b4e6..766416f575 100644 --- a/source4/libcli/ldap/ldap_bind.c +++ b/source4/libcli/ldap/ldap_bind.c @@ -223,7 +223,7 @@ NTSTATUS ldap_bind_sasl(struct ldap_connection *conn, struct cli_credentials *cr } sasl_names[i] = NULL; - mechs = gensec_security_by_sasl(tmp_ctx, sasl_names); + mechs = gensec_security_by_sasl(conn->gensec, tmp_ctx, sasl_names); if (!mechs || !mechs[0]) { DEBUG(1, ("None of the %d proposed SASL mechs were acceptable\n", count)); |