Provide a ldb_global_init() function for compatibility with older versions of LDB
authorJelmer Vernooij <jelmer@samba.org>
Thu, 23 Apr 2009 16:59:37 +0000 (18:59 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Thu, 23 Apr 2009 16:59:37 +0000 (18:59 +0200)
(including the one in Samba 3).

source4/lib/ldb/common/ldb.c

index 86ce2069a51e8ebd7ea1e5d32a49b465ad4d1d12..64ad6832dbb050c32b44db583f7548fa4df4a615 100644 (file)
@@ -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;
+}