used any more. We've go another method which involves not
even compiling the module at all.
#include <time.h>
#include <ctype.h>
-#ifdef WITH_PAM
-# include <security/pam_appl.h>
-#endif
+#include <security/pam_appl.h>
#if HAVE_MALLOC_H
# include <malloc.h>
#include "radiusd.h"
#include "modules.h"
-#ifdef WITH_PAM
/*************************************************************************
*
* Function: PAM_conv
return (r == 0) ? RLM_AUTH_OK : RLM_AUTH_REJECT;
}
-#else /* WITH_PAM */
-
-static int pam_auth(REQUEST *request, char *username, char *password)
-{
- return RLM_AUTH_REJECT;
-}
-
-#endif
-
module_t rlm_pam = {
"PAM",
0, /* type: reserved */