X-Git-Url: http://git.dolda2000.com/gitweb/?p=doldaconnect.git;a=blobdiff_plain;f=daemon%2Fauth.c;h=470c985db3805ba7759d370eb6808c968009f0bc;hp=a40788637d9fbadaa8f9af2801a3387b87fc01fa;hb=ded209d3974f3f381e718b62acf4f430dc641562;hpb=7ebc7902c240e0417fd0ecfc809066ff13ab293f diff --git a/daemon/auth.c b/daemon/auth.c index a407886..470c985 100644 --- a/daemon/auth.c +++ b/daemon/auth.c @@ -155,12 +155,9 @@ void regmech(struct authmech *mech) static void preinit(int hup) { - extern struct authmech authmech_pam; - if(hup) return; regmech(&authless); - regmech(&authmech_pam); } static int init(int hup) @@ -171,8 +168,6 @@ static int init(int hup) static struct configvar myvars[] = { - /** The name of the PAM service file to use. */ - {CONF_VAR_STRING, "pamserv", {.str = L"doldacond"}}, /** Specifies whether insecure authentication is to be allowed. If * you are not completely sure what you are doing, never turn this * on without also turning on net.onlylocal. */