#include "external.h"
#ifdef SLAPD_PASSWD_DYNAMIC
-#include <gmodule.h>
-G_MODULE_EXPORT void init_module(int argc, char *argv[]) {
- BackendInfo bi;
+int back_passwd_LTX_init_module(int argc, char *argv[]) {
+ BackendInfo bi;
- bi.bi_type = "passwd";
- bi.bi_init = passwd_back_initialize;
+ memset( &bi, 0, sizeof(bi) );
+ bi.bi_type = "passwd";
+ bi.bi_init = passwd_back_initialize;
- backend_add(&bi);
+ backend_add(&bi);
+ return 0;
}
#endif /* SLAPD_PASSWD_DYNAMIC */
bi->bi_op_delete = 0;
bi->bi_op_abandon = 0;
-#ifdef SLAPD_ACLGROUPS
bi->bi_acl_group = 0;
-#endif
bi->bi_connection_init = 0;
bi->bi_connection_destroy = 0;