summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/ldb_ldap
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-11-01 16:42:21 +1100
committerAndrew Tridgell <tridge@samba.org>2010-11-01 18:55:19 +1100
commitc74601e0b333f81570dfca6959e047d83e6ab32c (patch)
tree9571b44470dd9dc1cfe311fcac8c216bd513a70b /source4/lib/ldb/ldb_ldap
parent05b37385fcfc67f4203b2a4822f94813d11511ca (diff)
downloadsamba-c74601e0b333f81570dfca6959e047d83e6ab32c.tar.gz
samba-c74601e0b333f81570dfca6959e047d83e6ab32c.tar.bz2
samba-c74601e0b333f81570dfca6959e047d83e6ab32c.zip
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
Diffstat (limited to 'source4/lib/ldb/ldb_ldap')
-rw-r--r--source4/lib/ldb/ldb_ldap/ldb_ldap.c2
1 files changed, 1 insertions, 1 deletions
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;
}