#include "slap.h"
#include "external.h"
+#ifdef SLAPD_PASSWD_DYNAMIC
+
+int back_passwd_LTX_init_module(int argc, char *argv[]) {
+ BackendInfo bi;
+
+ memset( &bi, 0, sizeof(bi) );
+ bi.bi_type = "passwd";
+ bi.bi_init = passwd_back_initialize;
+
+ backend_add(&bi);
+ return 0;
+}
+
+#endif /* SLAPD_PASSWD_DYNAMIC */
+
int
passwd_back_initialize(
BackendInfo *bi
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;
return 0;
}