aboutsummaryrefslogtreecommitdiffstats
path: root/modules/pam/templates/system-auth
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pam/templates/system-auth')
-rw-r--r--modules/pam/templates/system-auth1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/pam/templates/system-auth b/modules/pam/templates/system-auth
index 4df9555e..de985687 100644
--- a/modules/pam/templates/system-auth
+++ b/modules/pam/templates/system-auth
@@ -11,6 +11,7 @@ auth required pam_deny.so
account sufficient pam_localuser.so
# not sure if the following bring something useful
account required pam_ldap.so
+<%- access_classes = scope.lookupvar('pam::multiple_ldap_access::access_classes') -%>
<%- if access_classes -%>
<%- access_classes.each { |ldap_group| -%>
account sufficient pam_succeed_if.so quiet user ingroup <%= ldap_group %>