X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=daemon%2Fauth.c;h=470c985db3805ba7759d370eb6808c968009f0bc;hb=c8c6be241f782e0d3fecb0fbfb042fd28a3f5dad;hp=ce5dd1240526adc4527445741887abdf7c8d46b1;hpb=f536712443c3c5370cd121feda4fbb61f624352c;p=doldaconnect.git diff --git a/daemon/auth.c b/daemon/auth.c index ce5dd12..470c985 100644 --- a/daemon/auth.c +++ b/daemon/auth.c @@ -1,6 +1,6 @@ /* * Dolda Connect - Modular multiuser Direct Connect-style client - * Copyright (C) 2004 Fredrik Tolf (fredrik@dolda2000.com) + * Copyright (C) 2004 Fredrik Tolf * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -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. */