return ldb_next_init(module);
}
-_PUBLIC_ const struct ldb_module_ops ldb_samba_dsdb_module_ops = {
+static const struct ldb_module_ops ldb_samba_dsdb_module_ops = {
.name = "samba_dsdb",
.init_context = samba_dsdb_init,
};
+
+int ldb_samba_dsdb_module_init(const char *version)
+{
+ return ldb_register_module(&ldb_samba_dsdb_module_ops);
+}