summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/ldb_tdb/ldb_tdb.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-11-01 22:30:23 +1100
committerAndrew Tridgell <tridge@samba.org>2010-11-01 13:05:04 +0000
commita386ca85590a0ee18c1d98c80c6b1ec4faab31a7 (patch)
tree8fef6fd8fa4ed2bfbe1cd822f1428164c3858f08 /source4/lib/ldb/ldb_tdb/ldb_tdb.c
parent8366bb495abefe5cc1d0cb120530a1933d942fbf (diff)
downloadsamba-a386ca85590a0ee18c1d98c80c6b1ec4faab31a7.tar.gz
samba-a386ca85590a0ee18c1d98c80c6b1ec4faab31a7.tar.bz2
samba-a386ca85590a0ee18c1d98c80c6b1ec4faab31a7.zip
s4-ldb: enable ldb module version checking
Diffstat (limited to 'source4/lib/ldb/ldb_tdb/ldb_tdb.c')
-rw-r--r--source4/lib/ldb/ldb_tdb/ldb_tdb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/ldb/ldb_tdb/ldb_tdb.c b/source4/lib/ldb/ldb_tdb/ldb_tdb.c
index 4a96af3ab8..d9547c98c4 100644
--- a/source4/lib/ldb/ldb_tdb/ldb_tdb.c
+++ b/source4/lib/ldb/ldb_tdb/ldb_tdb.c
@@ -1449,5 +1449,6 @@ static int ltdb_connect(struct ldb_context *ldb, const char *url,
int ldb_tdb_init(const char *version)
{
+ LDB_MODULE_CHECK_VERSION(version);
return ldb_register_backend("tdb", ltdb_connect, false);
}