summaryrefslogtreecommitdiff
path: root/source3/groupdb
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-09-24 07:11:34 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:14:40 -0500
commit7c5f1f28db117e97014f760086464acb0b49c2ee (patch)
tree37896a9f36779cc804568c083346218cbe68eaad /source3/groupdb
parent78f2900a1691ab03820cfa0b7876518d7c101945 (diff)
downloadsamba-7c5f1f28db117e97014f760086464acb0b49c2ee.tar.gz
samba-7c5f1f28db117e97014f760086464acb0b49c2ee.tar.bz2
samba-7c5f1f28db117e97014f760086464acb0b49c2ee.zip
r18870: - enable the ldb ldap backend properly based on configure tests for
ldap - use ldb_global_init() instead of the backend specific ldb_tdb_init(). (This used to be commit a6c53e58616d7731a1df9af33f78ccf0c774296e)
Diffstat (limited to 'source3/groupdb')
-rw-r--r--source3/groupdb/mapping_ldb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/groupdb/mapping_ldb.c b/source3/groupdb/mapping_ldb.c
index 6368e41a06..bfff98e87f 100644
--- a/source3/groupdb/mapping_ldb.c
+++ b/source3/groupdb/mapping_ldb.c
@@ -53,8 +53,8 @@ static BOOL mapping_upgrade(const char *tdb_path);
return True;
}
- /* this is needed as Samba3 doesn't have the auto init code yet */
- ldb_tdb_init();
+ /* this is needed as Samba3 doesn't have this globally yet */
+ ldb_global_init();
db_path = lock_path("group_mapping.ldb");