aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux-pam-conf4
-rw-r--r--openpam-conf4
-rw-r--r--system-auth.in2
-rw-r--r--system-login.in2
4 files changed, 6 insertions, 6 deletions
diff --git a/linux-pam-conf b/linux-pam-conf
index 5636def..0ba9db7 100644
--- a/linux-pam-conf
+++ b/linux-pam-conf
@@ -5,8 +5,8 @@
#define HAVE_SHELLS 1
#define HAVE_MOTD 1
#define HAVE_MAIL 1
-#define HAVE_PAM_UNIX_SESSION 1
-#define HAVE_PAM_NOLOGIN_ACCOUNT 1
+#define SUPPORT_UNIX_SESSION 1
+#define SUPPORT_NOLOGIN_ACCOUNT 1
#define UNIX_EXTENDED_ENCRYPTION md5 shadow
diff --git a/openpam-conf b/openpam-conf
index f576bac..83b682d 100644
--- a/openpam-conf
+++ b/openpam-conf
@@ -12,9 +12,9 @@
# endif
# if __FreeBSD__ < 7
-# define HAVE_PAM_UNIX_SESSION 1
+# define SUPPORT_UNIX_SESSION 1
# else
-# define HAVE_PAM_UNIX_SESSION 0
+# define SUPPORT_UNIX_SESSION 0
# endif
#endif
diff --git a/system-auth.in b/system-auth.in
index 2296f6f..4e165d7 100644
--- a/system-auth.in
+++ b/system-auth.in
@@ -28,7 +28,7 @@ session optional pam_mktemp.so
#ifdef HAVE_PAM_SSH
session optional pam_ssh.so
#endif
-#ifdef HAVE_PAM_UNIX_SESSION
+#ifdef SUPPORT_UNIX_SESSION
session required pam_unix.so DEBUG
#endif
diff --git a/system-login.in b/system-login.in
index 6b96b37..09af7e7 100644
--- a/system-login.in
+++ b/system-login.in
@@ -16,7 +16,7 @@ account required pam_access.so DEBUG
#if HAVE_LOGIN_ACCESS
account required pam_login_access.so
#endif
-#if HAVE_PAM_NOLOGIN_ACCOUNT
+#if SUPPORT_NOLOGIN_ACCOUNT
account required pam_nologin.so DEBUG_NOLOGIN
#endif
account include system-auth