diff options
Diffstat (limited to 'server/examples')
-rw-r--r-- | server/examples/sssdproxylocal | 6 | ||||
-rw-r--r-- | server/examples/sssdproxytest | 8 |
2 files changed, 3 insertions, 11 deletions
diff --git a/server/examples/sssdproxylocal b/server/examples/sssdproxylocal index 1bc47f89..063dbff3 100644 --- a/server/examples/sssdproxylocal +++ b/server/examples/sssdproxylocal @@ -1,9 +1,5 @@ #%PAM-1.0 -auth sufficient pam_unix.so -auth requisite pam_succeed_if.so uid >= 500 quiet -auth required pam_deny.so +auth required pam_unix.so account required pam_unix.so -account sufficient pam_succeed_if.so uid < 500 quiet -account required pam_permit.so diff --git a/server/examples/sssdproxytest b/server/examples/sssdproxytest index 9c5cb4ad..14217969 100644 --- a/server/examples/sssdproxytest +++ b/server/examples/sssdproxytest @@ -1,9 +1,5 @@ #%PAM-1.0 -auth sufficient pam_ldap.so debug -auth requisite pam_succeed_if.so uid >= 1000 quiet -auth required pam_deny.so +auth irequired pam_ldap.so -account required pam_ldap.so debug -account sufficient pam_succeed_if.so uid < 1000 quiet -account required pam_permit.so +account required pam_ldap.so |