From ef1e574c6b684eaa88496e9cf19ee93bb5948b90 Mon Sep 17 00:00:00 2001 From: Diego Elio 'Flameeyes' Pettenò Date: Fri, 15 May 2009 01:57:46 +0200 Subject: Fix pam_nologin on Gentoo/FreeBSD 7.1. --- openpam-conf | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/openpam-conf b/openpam-conf index a60581b..e38107c 100644 --- a/openpam-conf +++ b/openpam-conf @@ -10,16 +10,13 @@ # if defined(DEBUG) # define DEBUG_NOLOGIN DEBUG -# endif - -# if __FreeBSD__ < 7 -# define SUPPORT_NOLOGIN_ACCOUNT 1 -# define SUPPORT_NOLOGIN_AUTH 0 # else -# define SUPPORT_NOLOGIN_ACCOUNT 0 -# define SUPPORT_NOLOGIN_AUTH 1 +# define DEBUG_NOLOGIN # endif +# define SUPPORT_NOLOGIN_ACCOUNT 1 +# define SUPPORT_NOLOGIN_AUTH 0 + # if defined(WANT_SHA512) # error "SHA512 support is not present for FreeBSD!" # endif -- cgit v1.2.3-65-gdbad