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/dsdb/samdb | |
parent | a386ca85590a0ee18c1d98c80c6b1ec4faab31a7 (diff) | |
download | samba-91030477825112d50c6f4e72f9ece2a51a79230a.tar.gz samba-91030477825112d50c6f4e72f9ece2a51a79230a.tar.bz2 samba-91030477825112d50c6f4e72f9ece2a51a79230a.zip |
s4-ldb: enable version checking in dsdb ldb modules
Diffstat (limited to 'source4/dsdb/samdb')
39 files changed, 42 insertions, 2 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/acl.c b/source4/dsdb/samdb/ldb_modules/acl.c index 63e3f65b3a..0a7f431c37 100644 --- a/source4/dsdb/samdb/ldb_modules/acl.c +++ b/source4/dsdb/samdb/ldb_modules/acl.c @@ -1184,5 +1184,6 @@ static const struct ldb_module_ops ldb_acl_module_ops = { int ldb_acl_module_init(const char *version) { + LDB_MODULE_CHECK_VERSION(version); return ldb_register_module(&ldb_acl_module_ops); } diff --git a/source4/dsdb/samdb/ldb_modules/acl_read.c b/source4/dsdb/samdb/ldb_modules/acl_read.c index 1bd9c5e18f..401e0dc318 100644 --- a/source4/dsdb/samdb/ldb_modules/acl_read.c +++ b/source4/dsdb/samdb/ldb_modules/acl_read.c @@ -308,5 +308,6 @@ static const struct ldb_module_ops ldb_aclread_module_ops = { int ldb_aclread_module_init(const char *version) { + LDB_MODULE_CHECK_VERSION(version); return ldb_register_module(&ldb_aclread_module_ops); } diff --git a/source4/dsdb/samdb/ldb_modules/anr.c b/source4/dsdb/samdb/ldb_modules/anr.c index 9291dd5418..ec9d82512c 100644 --- a/source4/dsdb/samdb/ldb_modules/anr.c +++ b/source4/dsdb/samdb/ldb_modules/anr.c @@ -372,5 +372,6 @@ static const struct ldb_module_ops ldb_anr_module_ops = { int ldb_anr_module_init(const char *version) { + LDB_MODULE_CHECK_VERSION(version); return ldb_register_module(&ldb_anr_module_ops); } diff --git a/source4/dsdb/samdb/ldb_modules/descriptor.c b/source4/dsdb/samdb/ldb_modules/descriptor.c index 7aee406588..c0b79f6cd9 100644 --- a/source4/dsdb/samdb/ldb_modules/descriptor.c +++ b/source4/dsdb/samdb/ldb_modules/descriptor.c @@ -905,5 +905,6 @@ static const struct ldb_module_ops ldb_descriptor_module_ops = { int ldb_descriptor_module_init(const char *version) { + LDB_MODULE_CHECK_VERSION(version); return ldb_register_module(&ldb_descriptor_module_ops); } diff --git a/source4/dsdb/samdb/ldb_modules/dsdb_cache.c b/source4/dsdb/samdb/ldb_modules/dsdb_cache.c index 2a1b29d966..b252fff2a4 100644 --- a/source4/dsdb/samdb/ldb_modules/dsdb_cache.c +++ b/source4/dsdb/samdb/ldb_modules/dsdb_cache.c @@ -43,5 +43,6 @@ static const struct ldb_module_ops ldb_dsdb_cache_module_ops = { int ldb_dsdb_cache_module_init(const char *version) { + LDB_MODULE_CHECK_VERSION(version); return ldb_register_module(&ldb_dsdb_cache_module_ops); } diff --git a/source4/dsdb/samdb/ldb_modules/extended_dn_in.c b/source4/dsdb/samdb/ldb_modules/extended_dn_in.c index 60f6ec479f..39e69d9b1e 100644 --- a/source4/dsdb/samdb/ldb_modules/extended_dn_in.c +++ b/source4/dsdb/samdb/ldb_modules/extended_dn_in.c @@ -414,5 +414,6 @@ static const struct ldb_module_ops ldb_extended_dn_in_module_ops = { int ldb_extended_dn_in_module_init(const char *version) { + LDB_MODULE_CHECK_VERSION(version); return ldb_register_module(&ldb_extended_dn_in_module_ops); } diff --git a/source4/dsdb/samdb/ldb_modules/extended_dn_out.c b/source4/dsdb/samdb/ldb_modules/extended_dn_out.c index eab14edde2..052563f78d 100644 --- a/source4/dsdb/samdb/ldb_modules/extended_dn_out.c +++ b/source4/dsdb/samdb/ldb_modules/extended_dn_out.c @@ -880,9 +880,10 @@ static const struct ldb_module_ops ldb_extended_dn_out_fds_module_ops = { /* initialise the module */ -_PUBLIC_ int ldb_extended_dn_out_module_init(const char *ldb_version) +_PUBLIC_ int ldb_extended_dn_out_module_init(const char *version) { int ret; + LDB_MODULE_CHECK_VERSION(version); ret = ldb_register_module(&ldb_extended_dn_out_ldb_module_ops); if (ret != LDB_SUCCESS) { return ret; diff --git a/source4/dsdb/samdb/ldb_modules/extended_dn_store.c b/source4/dsdb/samdb/ldb_modules/extended_dn_store.c index 471020dc89..e38a45194b 100644 --- a/source4/dsdb/samdb/ldb_modules/extended_dn_store.c +++ b/source4/dsdb/samdb/ldb_modules/extended_dn_store.c @@ -456,5 +456,6 @@ static const struct ldb_module_ops ldb_extended_dn_store_module_ops = { int ldb_extended_dn_store_module_init(const char *version) { + LDB_MODULE_CHECK_VERSION(version); return ldb_register_module(&ldb_extended_dn_store_module_ops); } diff --git a/source4/dsdb/samdb/ldb_modules/instancetype.c b/source4/dsdb/samdb/ldb_modules/instancetype.c index 73741037f3..c557fe1ecc 100644 --- a/source4/dsdb/samdb/ldb_modules/instancetype.c +++ b/source4/dsdb/samdb/ldb_modules/instancetype.c @@ -204,5 +204,6 @@ static const struct ldb_module_ops ldb_instancetype_module_ops = { int ldb_instancetype_module_init(const char *version) { + LDB_MODULE_CHECK_VERSION(version); return ldb_register_module(&ldb_instancetype_module_ops); } diff --git a/source4/dsdb/samdb/ldb_modules/lazy_commit.c b/source4/dsdb/samdb/ldb_modules/lazy_commit.c index d0efea257e..24fc6dd9e8 100644 --- a/source4/dsdb/samdb/ldb_modules/lazy_commit.c +++ b/source4/dsdb/samdb/ldb_modules/lazy_commit.c @@ -27,6 +27,7 @@ * Author: Andrew Bartlett */ +#include "includes.h" #include "ldb_module.h" #include "dsdb/samdb/ldb_modules/util.h" @@ -122,5 +123,6 @@ static const struct ldb_module_ops ldb_lazy_commit_module_ops = { int ldb_lazy_commit_module_init(const char *version) { + LDB_MODULE_CHECK_VERSION(version); return ldb_register_module(&ldb_lazy_commit_module_ops); } diff --git a/source4/dsdb/samdb/ldb_modules/linked_attributes.c b/source4/dsdb/samdb/ldb_modules/linked_attributes.c index 18faa73217..d54060b293 100644 --- a/source4/dsdb/samdb/ldb_modules/linked_attributes.c +++ b/source4/dsdb/samdb/ldb_modules/linked_attributes.c @@ -1090,5 +1090,6 @@ static const struct ldb_module_ops ldb_linked_attributes_module_ops = { int ldb_linked_attributes_module_init(const char *version) { + LDB_MODULE_CHECK_VERSION(version); return ldb_register_module(&ldb_linked_attributes_module_ops); } diff --git a/source4/dsdb/samdb/ldb_modules/local_password.c b/source4/dsdb/samdb/ldb_modules/local_password.c index ed267e55e1..e1b30544d2 100644 --- a/source4/dsdb/samdb/ldb_modules/local_password.c +++ b/source4/dsdb/samdb/ldb_modules/local_password.c @@ -1108,5 +1108,6 @@ static const struct ldb_module_ops ldb_local_password_module_ops = { int ldb_local_password_module_init(const char *version) { + LDB_MODULE_CHECK_VERSION(version); return ldb_register_module(&ldb_local_password_module_ops); } diff --git a/source4/dsdb/samdb/ldb_modules/naming_fsmo.c b/source4/dsdb/samdb/ldb_modules/naming_fsmo.c index 4b30cfe1cc..b309035fa1 100644 --- a/source4/dsdb/samdb/ldb_modules/naming_fsmo.c +++ b/source4/dsdb/samdb/ldb_modules/naming_fsmo.c @@ -103,5 +103,6 @@ static const struct ldb_module_ops ldb_naming_fsmo_module_ops = { int ldb_naming_fsmo_module_init(const char *version) { + LDB_MODULE_CHECK_VERSION(version); return ldb_register_module(&ldb_naming_fsmo_module_ops); } diff --git a/source4/dsdb/samdb/ldb_modules/new_partition.c b/source4/dsdb/samdb/ldb_modules/new_partition.c index 0c5082bf14..8eb3de8f47 100644 --- a/source4/dsdb/samdb/ldb_modules/new_partition.c +++ b/source4/dsdb/samdb/ldb_modules/new_partition.c @@ -202,5 +202,6 @@ static const struct ldb_module_ops ldb_new_partition_module_ops = { int ldb_new_partition_module_init(const char *version) { + LDB_MODULE_CHECK_VERSION(version); return ldb_register_module(&ldb_new_partition_module_ops); } diff --git a/source4/dsdb/samdb/ldb_modules/objectclass.c b/source4/dsdb/samdb/ldb_modules/objectclass.c index d58cf53233..474e848c60 100644 --- a/source4/dsdb/samdb/ldb_modules/objectclass.c +++ b/source4/dsdb/samdb/ldb_modules/objectclass.c @@ -1519,5 +1519,6 @@ static const struct ldb_module_ops ldb_objectclass_module_ops = { int ldb_objectclass_module_init(const char *version) { + LDB_MODULE_CHECK_VERSION(version); return ldb_register_module(&ldb_objectclass_module_ops); } diff --git a/source4/dsdb/samdb/ldb_modules/objectclass_attrs.c b/source4/dsdb/samdb/ldb_modules/objectclass_attrs.c index abc64be9e9..cb4f7d9ae9 100644 --- a/source4/dsdb/samdb/ldb_modules/objectclass_attrs.c +++ b/source4/dsdb/samdb/ldb_modules/objectclass_attrs.c @@ -474,5 +474,6 @@ static const struct ldb_module_ops ldb_objectclass_attrs_module_ops = { int ldb_objectclass_attrs_module_init(const char *version) { + LDB_MODULE_CHECK_VERSION(version); return ldb_register_module(&ldb_objectclass_attrs_module_ops); } diff --git a/source4/dsdb/samdb/ldb_modules/objectguid.c b/source4/dsdb/samdb/ldb_modules/objectguid.c index 24103bdada..b5d814ec28 100644 --- a/source4/dsdb/samdb/ldb_modules/objectguid.c +++ b/source4/dsdb/samdb/ldb_modules/objectguid.c @@ -283,5 +283,6 @@ static const struct ldb_module_ops ldb_objectguid_module_ops = { int ldb_objectguid_module_init(const char *version) { + LDB_MODULE_CHECK_VERSION(version); return ldb_register_module(&ldb_objectguid_module_ops); } diff --git a/source4/dsdb/samdb/ldb_modules/operational.c b/source4/dsdb/samdb/ldb_modules/operational.c index ed4ce651c2..3151061409 100644 --- a/source4/dsdb/samdb/ldb_modules/operational.c +++ b/source4/dsdb/samdb/ldb_modules/operational.c @@ -867,5 +867,6 @@ static const struct ldb_module_ops ldb_operational_module_ops = { int ldb_operational_module_init(const char *version) { + LDB_MODULE_CHECK_VERSION(version); return ldb_register_module(&ldb_operational_module_ops); } diff --git a/source4/dsdb/samdb/ldb_modules/partition.c b/source4/dsdb/samdb/ldb_modules/partition.c index aecc27f4da..7732bcf078 100644 --- a/source4/dsdb/samdb/ldb_modules/partition.c +++ b/source4/dsdb/samdb/ldb_modules/partition.c @@ -1212,5 +1212,6 @@ static const struct ldb_module_ops ldb_partition_module_ops = { int ldb_partition_module_init(const char *version) { + LDB_MODULE_CHECK_VERSION(version); return ldb_register_module(&ldb_partition_module_ops); } diff --git a/source4/dsdb/samdb/ldb_modules/password_hash.c b/source4/dsdb/samdb/ldb_modules/password_hash.c index 41be2f6d7e..2c7f4364d3 100644 --- a/source4/dsdb/samdb/ldb_modules/password_hash.c +++ b/source4/dsdb/samdb/ldb_modules/password_hash.c @@ -2825,5 +2825,6 @@ static const struct ldb_module_ops ldb_password_hash_module_ops = { int ldb_password_hash_module_init(const char *version) { + LDB_MODULE_CHECK_VERSION(version); return ldb_register_module(&ldb_password_hash_module_ops); } diff --git a/source4/dsdb/samdb/ldb_modules/pdc_fsmo.c b/source4/dsdb/samdb/ldb_modules/pdc_fsmo.c index 63800d17e4..5c7d400497 100644 --- a/source4/dsdb/samdb/ldb_modules/pdc_fsmo.c +++ b/source4/dsdb/samdb/ldb_modules/pdc_fsmo.c @@ -108,5 +108,6 @@ static const struct ldb_module_ops ldb_pdc_fsmo_module_ops = { int ldb_pdc_fsmo_module_init(const char *version) { + LDB_MODULE_CHECK_VERSION(version); return ldb_register_module(&ldb_pdc_fsmo_module_ops); } diff --git a/source4/dsdb/samdb/ldb_modules/proxy.c b/source4/dsdb/samdb/ldb_modules/proxy.c index 4a73fe9c35..6fba24fc2d 100644 --- a/source4/dsdb/samdb/ldb_modules/proxy.c +++ b/source4/dsdb/samdb/ldb_modules/proxy.c @@ -401,5 +401,6 @@ static const struct ldb_module_ops ldb_proxy_module_ops = { int ldb_proxy_module_init(const char *version) { + LDB_MODULE_CHECK_VERSION(version); return ldb_register_module(&ldb_proxy_module_ops); } diff --git a/source4/dsdb/samdb/ldb_modules/ranged_results.c b/source4/dsdb/samdb/ldb_modules/ranged_results.c index e1ab18e313..b3e79d0881 100644 --- a/source4/dsdb/samdb/ldb_modules/ranged_results.c +++ b/source4/dsdb/samdb/ldb_modules/ranged_results.c @@ -253,5 +253,6 @@ static const struct ldb_module_ops ldb_ranged_results_module_ops = { int ldb_ranged_results_module_init(const char *version) { + LDB_MODULE_CHECK_VERSION(version); return ldb_register_module(&ldb_ranged_results_module_ops); } diff --git a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c index 1086166f28..d7ad46fd00 100644 --- a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c +++ b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c @@ -4210,5 +4210,6 @@ static const struct ldb_module_ops ldb_repl_meta_data_module_ops = { int ldb_repl_meta_data_module_init(const char *version) { + LDB_MODULE_CHECK_VERSION(version); return ldb_register_module(&ldb_repl_meta_data_module_ops); } diff --git a/source4/dsdb/samdb/ldb_modules/resolve_oids.c b/source4/dsdb/samdb/ldb_modules/resolve_oids.c index 19d7454178..71f9a30635 100644 --- a/source4/dsdb/samdb/ldb_modules/resolve_oids.c +++ b/source4/dsdb/samdb/ldb_modules/resolve_oids.c @@ -701,5 +701,6 @@ static const struct ldb_module_ops ldb_resolve_oids_module_ops = { int ldb_resolve_oids_module_init(const char *version) { + LDB_MODULE_CHECK_VERSION(version); return ldb_register_module(&ldb_resolve_oids_module_ops); } diff --git a/source4/dsdb/samdb/ldb_modules/rootdse.c b/source4/dsdb/samdb/ldb_modules/rootdse.c index 8eadb323ac..8a3f0cf8ea 100644 --- a/source4/dsdb/samdb/ldb_modules/rootdse.c +++ b/source4/dsdb/samdb/ldb_modules/rootdse.c @@ -1238,5 +1238,6 @@ static const struct ldb_module_ops ldb_rootdse_module_ops = { int ldb_rootdse_module_init(const char *version) { + LDB_MODULE_CHECK_VERSION(version); return ldb_register_module(&ldb_rootdse_module_ops); } diff --git a/source4/dsdb/samdb/ldb_modules/samba3sam.c b/source4/dsdb/samdb/ldb_modules/samba3sam.c index 54212526be..318d605ecd 100644 --- a/source4/dsdb/samdb/ldb_modules/samba3sam.c +++ b/source4/dsdb/samdb/ldb_modules/samba3sam.c @@ -931,5 +931,6 @@ static const struct ldb_module_ops ldb_samba3sam_module_ops = { int ldb_samba3sam_module_init(const char *version) { + LDB_MODULE_CHECK_VERSION(version); return ldb_register_module(&ldb_samba3sam_module_ops); } diff --git a/source4/dsdb/samdb/ldb_modules/samba3sid.c b/source4/dsdb/samdb/ldb_modules/samba3sid.c index 3fb4e98268..76bcfce713 100644 --- a/source4/dsdb/samdb/ldb_modules/samba3sid.c +++ b/source4/dsdb/samdb/ldb_modules/samba3sid.c @@ -200,5 +200,6 @@ static const struct ldb_module_ops ldb_samba3sid_module_ops = { int ldb_samba3sid_module_init(const char *version) { + LDB_MODULE_CHECK_VERSION(version); return ldb_register_module(&ldb_samba3sid_module_ops); } diff --git a/source4/dsdb/samdb/ldb_modules/samba_dsdb.c b/source4/dsdb/samdb/ldb_modules/samba_dsdb.c index 871a5bd071..da2048766d 100644 --- a/source4/dsdb/samdb/ldb_modules/samba_dsdb.c +++ b/source4/dsdb/samdb/ldb_modules/samba_dsdb.c @@ -359,5 +359,6 @@ static const struct ldb_module_ops ldb_samba_dsdb_module_ops = { int ldb_samba_dsdb_module_init(const char *version) { + LDB_MODULE_CHECK_VERSION(version); return ldb_register_module(&ldb_samba_dsdb_module_ops); } diff --git a/source4/dsdb/samdb/ldb_modules/samba_secrets.c b/source4/dsdb/samdb/ldb_modules/samba_secrets.c index 8a0faae8c1..ae3b7fca27 100644 --- a/source4/dsdb/samdb/ldb_modules/samba_secrets.c +++ b/source4/dsdb/samdb/ldb_modules/samba_secrets.c @@ -99,5 +99,6 @@ static const struct ldb_module_ops ldb_samba_secrets_module_ops = { int ldb_samba_secrets_module_init(const char *version) { + LDB_MODULE_CHECK_VERSION(version); return ldb_register_module(&ldb_samba_secrets_module_ops); } diff --git a/source4/dsdb/samdb/ldb_modules/samldb.c b/source4/dsdb/samdb/ldb_modules/samldb.c index c97b570230..43602cec53 100644 --- a/source4/dsdb/samdb/ldb_modules/samldb.c +++ b/source4/dsdb/samdb/ldb_modules/samldb.c @@ -2000,5 +2000,6 @@ static const struct ldb_module_ops ldb_samldb_module_ops = { int ldb_samldb_module_init(const char *version) { + LDB_MODULE_CHECK_VERSION(version); return ldb_register_module(&ldb_samldb_module_ops); } diff --git a/source4/dsdb/samdb/ldb_modules/schema_data.c b/source4/dsdb/samdb/ldb_modules/schema_data.c index 0f52e4793c..eeb7c46a08 100644 --- a/source4/dsdb/samdb/ldb_modules/schema_data.c +++ b/source4/dsdb/samdb/ldb_modules/schema_data.c @@ -485,5 +485,6 @@ static const struct ldb_module_ops ldb_schema_data_module_ops = { int ldb_schema_data_module_init(const char *version) { + LDB_MODULE_CHECK_VERSION(version); return ldb_register_module(&ldb_schema_data_module_ops); } diff --git a/source4/dsdb/samdb/ldb_modules/schema_load.c b/source4/dsdb/samdb/ldb_modules/schema_load.c index a02d72878e..086b2bfa40 100644 --- a/source4/dsdb/samdb/ldb_modules/schema_load.c +++ b/source4/dsdb/samdb/ldb_modules/schema_load.c @@ -365,5 +365,6 @@ static const struct ldb_module_ops ldb_schema_load_module_ops = { int ldb_schema_load_module_init(const char *version) { + LDB_MODULE_CHECK_VERSION(version); return ldb_register_module(&ldb_schema_load_module_ops); } diff --git a/source4/dsdb/samdb/ldb_modules/show_deleted.c b/source4/dsdb/samdb/ldb_modules/show_deleted.c index 6dc1d7398f..25e4630331 100644 --- a/source4/dsdb/samdb/ldb_modules/show_deleted.c +++ b/source4/dsdb/samdb/ldb_modules/show_deleted.c @@ -172,5 +172,6 @@ static const struct ldb_module_ops ldb_show_deleted_module_ops = { int ldb_show_deleted_module_init(const char *version) { + LDB_MODULE_CHECK_VERSION(version); return ldb_register_module(&ldb_show_deleted_module_ops); } diff --git a/source4/dsdb/samdb/ldb_modules/simple_dn.c b/source4/dsdb/samdb/ldb_modules/simple_dn.c index 5b30ea9967..c7b800fec2 100644 --- a/source4/dsdb/samdb/ldb_modules/simple_dn.c +++ b/source4/dsdb/samdb/ldb_modules/simple_dn.c @@ -74,5 +74,6 @@ static const struct ldb_module_ops ldb_simple_dn_module_ops = { int ldb_simple_dn_module_init(const char *version) { + LDB_MODULE_CHECK_VERSION(version); return ldb_register_module(&ldb_simple_dn_module_ops); } diff --git a/source4/dsdb/samdb/ldb_modules/simple_ldap_map.c b/source4/dsdb/samdb/ldb_modules/simple_ldap_map.c index 5d09bda081..ccd47dc3ca 100644 --- a/source4/dsdb/samdb/ldb_modules/simple_ldap_map.c +++ b/source4/dsdb/samdb/ldb_modules/simple_ldap_map.c @@ -937,9 +937,10 @@ static const struct ldb_module_ops ldb_nsuniqueid_module_ops = { /* initialise the module */ -_PUBLIC_ int ldb_simple_ldap_map_module_init(const char *ldb_version) +_PUBLIC_ int ldb_simple_ldap_map_module_init(const char *version) { int ret; + LDB_MODULE_CHECK_VERSION(version); ret = ldb_register_module(&ldb_entryuuid_module_ops); if (ret != LDB_SUCCESS) { return ret; diff --git a/source4/dsdb/samdb/ldb_modules/subtree_delete.c b/source4/dsdb/samdb/ldb_modules/subtree_delete.c index aa03ab26b6..07a75922f8 100644 --- a/source4/dsdb/samdb/ldb_modules/subtree_delete.c +++ b/source4/dsdb/samdb/ldb_modules/subtree_delete.c @@ -118,5 +118,6 @@ static const struct ldb_module_ops ldb_subtree_delete_module_ops = { int ldb_subtree_delete_module_init(const char *version) { + LDB_MODULE_CHECK_VERSION(version); return ldb_register_module(&ldb_subtree_delete_module_ops); } diff --git a/source4/dsdb/samdb/ldb_modules/subtree_rename.c b/source4/dsdb/samdb/ldb_modules/subtree_rename.c index ce444f8378..64bbc089c4 100644 --- a/source4/dsdb/samdb/ldb_modules/subtree_rename.c +++ b/source4/dsdb/samdb/ldb_modules/subtree_rename.c @@ -451,5 +451,6 @@ static const struct ldb_module_ops ldb_subtree_rename_module_ops = { int ldb_subtree_rename_module_init(const char *version) { + LDB_MODULE_CHECK_VERSION(version); return ldb_register_module(&ldb_subtree_rename_module_ops); } diff --git a/source4/dsdb/samdb/ldb_modules/update_keytab.c b/source4/dsdb/samdb/ldb_modules/update_keytab.c index 2bb949a207..e39b260939 100644 --- a/source4/dsdb/samdb/ldb_modules/update_keytab.c +++ b/source4/dsdb/samdb/ldb_modules/update_keytab.c @@ -446,5 +446,6 @@ static const struct ldb_module_ops ldb_update_keytab_module_ops = { int ldb_update_keytab_module_init(const char *version) { + LDB_MODULE_CHECK_VERSION(version); return ldb_register_module(&ldb_update_keytab_module_ops); } |