From 04eb3af45823de4d660349518fbc18cbb38c4364 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 25 Sep 2008 15:30:51 +0000 Subject: [PATCH] pam: Only use LDAP for auth and account, remove unix authentication. --- etc/pam.d/common-account | 3 +-- etc/pam.d/common-auth | 4 +--- etc/pam.d/common-session | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/etc/pam.d/common-account b/etc/pam.d/common-account index 141d2c2..963b696 100644 --- a/etc/pam.d/common-account +++ b/etc/pam.d/common-account @@ -10,5 +10,4 @@ #account required pam_unix.so # # LDAP config based on from http://wiki.debian.org/LDAP/PAM -account sufficient pam_ldap.so -account required pam_unix.so +account required pam_ldap.so diff --git a/etc/pam.d/common-auth b/etc/pam.d/common-auth index f7bce51..48ce0f1 100644 --- a/etc/pam.d/common-auth +++ b/etc/pam.d/common-auth @@ -12,6 +12,4 @@ # auth required pam_unix.so nullok_secure # # LDAP config based on from http://wiki.debian.org/LDAP/PAM -auth sufficient pam_unix.so nullok_secure -auth sufficient pam_ldap.so use_first_pass -auth required pam_deny.so +auth required pam_ldap.so diff --git a/etc/pam.d/common-session b/etc/pam.d/common-session index baffea8..840e35f 100644 --- a/etc/pam.d/common-session +++ b/etc/pam.d/common-session @@ -13,6 +13,6 @@ # LDAP config based on from http://wiki.debian.org/LDAP/PAM session required pam_limits.so session required pam_unix.so -session optional pam_ldap.so +session required pam_ldap.so session required pam_mkhomedir.so skel=/etc/skel umask=0022 -- 2.30.2