From c74601e0b333f81570dfca6959e047d83e6ab32c Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 1 Nov 2010 16:42:21 +1100 Subject: s4-ldb: added an override flag to ldb_register_backend() this will be used to allow a system ldb build with an ldb backend to have its ldap handler overridden by the s4 one --- source4/lib/ldb/ldb_ldap/ldb_ldap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/lib/ldb/ldb_ldap') diff --git a/source4/lib/ldb/ldb_ldap/ldb_ldap.c b/source4/lib/ldb/ldb_ldap/ldb_ldap.c index 5b8b2d7b7d..b32be90a89 100644 --- a/source4/lib/ldb/ldb_ldap/ldb_ldap.c +++ b/source4/lib/ldb/ldb_ldap/ldb_ldap.c @@ -962,7 +962,7 @@ int ldb_ldap_init(const char *ldb_version) int ret, i; const char *names[] = { "ldap", "ldaps", "ldapi", NULL }; for (i=0; names[i]; i++) { - ret = ldb_register_backend(names[i], lldb_connect); + ret = ldb_register_backend(names[i], lldb_connect, false); if (ret != LDB_SUCCESS) { return ret; } -- cgit