+
+static int init(int hup)
+{
+ if(!hup)
+ regmech(&authmech_pam);
+ return(0);
+}
+
+static struct configvar myvars[] =
+{
+ /** The name of the PAM service file to use. */
+ {CONF_VAR_STRING, "pamserv", {.str = L"doldacond"}},
+ {CONF_VAR_END}
+};
+
+static struct module me =
+{
+ .conf =
+ {
+ .vars = myvars
+ },
+ .init = init,
+ .name = "auth-pam"
+};
+
+MODULE(me);
+
+#endif /* HAVE_PAM */