1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-26 04:23:49 +03:00

r13839: Use registration mechanism for backends as well (in the same sense

my previous patch added it for modules). This is the next step towards
LDB backends and modules as run-time loadable .so files.
This commit is contained in:
Jelmer Vernooij
2006-03-05 16:05:26 +00:00
committed by Gerald (Jerry) Carter
parent 7ef63abae1
commit fb2f70de4f
9 changed files with 91 additions and 38 deletions

View File

@@ -126,10 +126,24 @@ static const struct ldb_module_ops *ldb_find_module_ops(const char *name)
return NULL;
}
#ifdef HAVE_LDAP
#define LDAP_INIT ldb_ldap_init,
#else
#define LDAP_INIT
#endif
#ifdef HAVE_SQLITE3
#define SQLITE3_INIT ldb_sqlite3_init,
#else
#define SQLITE3_INIT
#endif
#ifndef STATIC_LIBLDB_MODULES
#define STATIC_LIBLDB_MODULES \
{ \
LDAP_INIT \
SQLITE3_INIT \
ldb_tdb_init, \
ldb_schema_init, \
ldb_operational_init, \
ldb_rdn_name_init, \