aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-07-23 00:07:41 +0200
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-07-23 00:07:41 +0200
commit03063bb90e76b69776fe92f8abf293cfc04de5f3 (patch)
tree117b702373594e303e3e736e2f937221d39d0caf
parentRename NOLOGIN_SUPPORTS_ACCOUNT in HAVE_PAM_NOLOGIN_ACCOUNT. (diff)
downloadpambase-03063bb90e76b69776fe92f8abf293cfc04de5f3.tar.gz
pambase-03063bb90e76b69776fe92f8abf293cfc04de5f3.tar.bz2
pambase-03063bb90e76b69776fe92f8abf293cfc04de5f3.zip
Rename chain support to SUPPORT_$MODULE_$CHAIN
This way it's more likely to understand which module supports what.
-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