summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules/update_keytab.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-11-01 15:28:02 +1100
committerAndrew Tridgell <tridge@samba.org>2010-11-01 18:55:19 +1100
commit7eb2eed156c8358b5a857444651841a17651229c (patch)
treee5ce92abe829e5d016a46168c5e220b0fa7820ad /source4/dsdb/samdb/ldb_modules/update_keytab.c
parent43f7c9ca26f72141c87babe428e46e9a293c4b9c (diff)
downloadsamba-7eb2eed156c8358b5a857444651841a17651229c.tar.gz
samba-7eb2eed156c8358b5a857444651841a17651229c.tar.bz2
samba-7eb2eed156c8358b5a857444651841a17651229c.zip
s4-dsdb: convert the rest of the ldb modules to the new module type
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules/update_keytab.c')
-rw-r--r--source4/dsdb/samdb/ldb_modules/update_keytab.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/update_keytab.c b/source4/dsdb/samdb/ldb_modules/update_keytab.c
index 75c96fc579..2bb949a207 100644
--- a/source4/dsdb/samdb/ldb_modules/update_keytab.c
+++ b/source4/dsdb/samdb/ldb_modules/update_keytab.c
@@ -433,7 +433,7 @@ static int update_kt_init(struct ldb_module *module)
return ldb_next_init(module);
}
-_PUBLIC_ const struct ldb_module_ops ldb_update_keytab_module_ops = {
+static const struct ldb_module_ops ldb_update_keytab_module_ops = {
.name = "update_keytab",
.init_context = update_kt_init,
.add = update_kt_add,
@@ -443,3 +443,8 @@ _PUBLIC_ const struct ldb_module_ops ldb_update_keytab_module_ops = {
.prepare_commit = update_kt_prepare_commit,
.del_transaction = update_kt_del_trans,
};
+
+int ldb_update_keytab_module_init(const char *version)
+{
+ return ldb_register_module(&ldb_update_keytab_module_ops);
+}