diff options
author | Simo Sorce <ssorce@redhat.com> | 2009-04-11 00:31:50 -0400 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2009-04-13 09:07:10 -0400 |
commit | 943df8483b9f8a43df72121883ca67f17571d214 (patch) | |
tree | a9301004163a7033b4a342057c355da1ea49454b /server/examples | |
parent | f16705ecade500f77b525d1a3df0109196c98ee0 (diff) | |
download | sssd-943df8483b9f8a43df72121883ca67f17571d214.tar.gz sssd-943df8483b9f8a43df72121883ca67f17571d214.tar.xz sssd-943df8483b9f8a43df72121883ca67f17571d214.zip |
Implement credentials caching in pam responder.
Implement credentials caching in pam responder.
Currently works only for the proxy backend.
Also cleanup pam responder code and mode common code in data provider.
(the data provider should never include responder private headers)
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 1bc47f89c..063dbff36 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 9c5cb4ad6..14217969e 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 |