aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-07-23 16:47:11 +0200
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-07-23 16:47:11 +0200
commit56ae17521248482e81c8b02f1ae1854ffe9d0377 (patch)
tree61320692f6dd3e5efb52c086967ccaf0f5e8d39f /system-auth.in
parentMake it optional for pam_nologin to support auth. (diff)
downloadpambase-56ae17521248482e81c8b02f1ae1854ffe9d0377.tar.gz
pambase-56ae17521248482e81c8b02f1ae1854ffe9d0377.tar.bz2
pambase-56ae17521248482e81c8b02f1ae1854ffe9d0377.zip
Fix #if vs #ifdef for pam_ssh and Gentoo/FreeBSD.pambase-20080723.1
Diffstat (limited to 'system-auth.in')
-rw-r--r--system-auth.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/system-auth.in b/system-auth.in
index 4e165d7..1048eb4 100644
--- a/system-auth.in
+++ b/system-auth.in
@@ -1,7 +1,7 @@
#if HAVE_ENV
auth required pam_env.so DEBUG
#endif
-#ifdef HAVE_PAM_SSH
+#if HAVE_PAM_SSH
auth sufficient pam_ssh.so
#endif
auth required pam_unix.so try_first_pass LIKEAUTH nullok DEBUG
@@ -25,10 +25,10 @@ session required pam_env.so DEBUG
#if HAVE_MKTEMP
session optional pam_mktemp.so
#endif
-#ifdef HAVE_PAM_SSH
+#if HAVE_PAM_SSH
session optional pam_ssh.so
#endif
-#ifdef SUPPORT_UNIX_SESSION
+#if SUPPORT_UNIX_SESSION
session required pam_unix.so DEBUG
#endif