summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-04-23 18:59:37 +0200
committerJelmer Vernooij <jelmer@samba.org>2009-04-23 18:59:37 +0200
commitaf6316d1500cfcedd5fd59ed0ddbba9aec9c3756 (patch)
treec4bc28c36761973c35639f44ab0be71dd1b392b1 /source4/lib/ldb
parentb6981e79dfb22819f48edcd4041b00f9b8cd7a93 (diff)
downloadsamba-af6316d1500cfcedd5fd59ed0ddbba9aec9c3756.tar.gz
samba-af6316d1500cfcedd5fd59ed0ddbba9aec9c3756.tar.bz2
samba-af6316d1500cfcedd5fd59ed0ddbba9aec9c3756.zip
Provide a ldb_global_init() function for compatibility with older versions of LDB
(including the one in Samba 3).
Diffstat (limited to 'source4/lib/ldb')
-rw-r--r--source4/lib/ldb/common/ldb.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/lib/ldb/common/ldb.c b/source4/lib/ldb/common/ldb.c
index 86ce2069a5..64ad6832db 100644
--- a/source4/lib/ldb/common/ldb.c
+++ b/source4/lib/ldb/common/ldb.c
@@ -1430,3 +1430,9 @@ void *ldb_get_opaque(struct ldb_context *ldb, const char *name)
}
return NULL;
}
+
+int ldb_global_init(void)
+{
+ /* Provided for compatibility with some older versions of ldb */
+ return 0;
+}