summaryrefslogtreecommitdiff
path: root/source4/ldap_server
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-09-26 20:55:18 +0200
committerJelmer Vernooij <jelmer@samba.org>2009-09-26 20:55:18 +0200
commit6a79ad7664ec3cbfa98638e15de6ba24983a84b1 (patch)
tree74372f08d64fb3fa3511803931140b66bd6a4570 /source4/ldap_server
parent52a17e5c32fdeb585e6217da705b254b5cf13986 (diff)
downloadsamba-6a79ad7664ec3cbfa98638e15de6ba24983a84b1.tar.gz
samba-6a79ad7664ec3cbfa98638e15de6ba24983a84b1.tar.bz2
samba-6a79ad7664ec3cbfa98638e15de6ba24983a84b1.zip
gensec: Avoid exposing lp_ctx on the API level.
Diffstat (limited to 'source4/ldap_server')
-rw-r--r--source4/ldap_server/ldap_backend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ldap_server/ldap_backend.c b/source4/ldap_server/ldap_backend.c
index a318e265b7..383c5bc4bf 100644
--- a/source4/ldap_server/ldap_backend.c
+++ b/source4/ldap_server/ldap_backend.c
@@ -195,7 +195,7 @@ NTSTATUS ldapsrv_backend_Init(struct ldapsrv_connection *conn)
= gensec_use_kerberos_mechs(conn, backends, conn->server_credentials);
int i, j = 0;
for (i = 0; ops && ops[i]; i++) {
- if (!gensec_security_ops_enabled(ops[i], conn->lp_ctx))
+ if (!lp_parm_bool(conn->lp_ctx, NULL, "gensec", ops[i]->name, ops[i]->enabled))
continue;
if (ops[i]->sasl_name && ops[i]->server_start) {