diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-12-05 04:10:13 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:47:03 -0500 |
commit | 687545e94e0cb4f2bac0596f7f78797cca312e73 (patch) | |
tree | ea834c8b686a9e5c7b9c219fd659b8d2a5ed526f /source4/libcli/ldap | |
parent | c3f35aafed3ff96d63ed872cfd4020e2c03a9353 (diff) | |
download | samba-687545e94e0cb4f2bac0596f7f78797cca312e73.tar.gz samba-687545e94e0cb4f2bac0596f7f78797cca312e73.tar.bz2 samba-687545e94e0cb4f2bac0596f7f78797cca312e73.zip |
r12062: SASL negotiation now requires a gensec_security context, so that we
only try permitted mechanims.
Andrew Bartlett
(This used to be commit 0f50239dc40ee128e4985f8aec5bb5f440a4f3f0)
Diffstat (limited to 'source4/libcli/ldap')
-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)); |