diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-11-01 22:30:45 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-11-01 13:05:04 +0000 |
commit | 91030477825112d50c6f4e72f9ece2a51a79230a (patch) | |
tree | 8be5b351a3be358100c996f276ae1bf5719fe4a9 /source4/nbt_server | |
parent | a386ca85590a0ee18c1d98c80c6b1ec4faab31a7 (diff) | |
download | samba-91030477825112d50c6f4e72f9ece2a51a79230a.tar.gz |
s4-ldb: enable version checking in dsdb ldb modules
Diffstat (limited to 'source4/nbt_server')
-rw-r--r-- | source4/nbt_server/wins/wins_ldb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/nbt_server/wins/wins_ldb.c b/source4/nbt_server/wins/wins_ldb.c index a45cf2ecf12..33c10581c33 100644 --- a/source4/nbt_server/wins/wins_ldb.c +++ b/source4/nbt_server/wins/wins_ldb.c @@ -113,7 +113,7 @@ failed: return LDB_ERR_OTHER; } -const struct ldb_module_ops ldb_wins_ldb_module_ops = { +static const struct ldb_module_ops ldb_wins_ldb_module_ops = { .name = "wins_ldb", .add = wins_ldb_verify, .modify = wins_ldb_verify, @@ -122,5 +122,6 @@ const struct ldb_module_ops ldb_wins_ldb_module_ops = { int ldb_wins_ldb_module_init(const char *version) { + LDB_MODULE_CHECK_VERSION(version); return ldb_register_module(&ldb_wins_ldb_module_ops); } |