diff options
author | Jan Pazdziora <jpazdziora@redhat.com> | 2020-07-09 14:12:20 +0200 |
---|---|---|
committer | Jan Pazdziora <jpazdziora@redhat.com> | 2020-07-09 16:19:25 +0200 |
commit | 025f62adcd1fe0d74264f7ee28efc757b75d5152 (patch) | |
tree | 87b9dd1bfa2eedb4935b0f8c33b8c705dfcd6e0a /tests/auth.conf | |
parent | 622996a9a7d462cdb51cd2a2c5ecd3b00bb48b85 (diff) | |
download | mod_authnz_pam-025f62adcd1fe0d74264f7ee28efc757b75d5152.tar.gz mod_authnz_pam-025f62adcd1fe0d74264f7ee28efc757b75d5152.tar.xz mod_authnz_pam-025f62adcd1fe0d74264f7ee28efc757b75d5152.zip |
Clarify account behaviour with AuthBasicProvider and interaction with Require pam-account.
Diffstat (limited to 'tests/auth.conf')
-rw-r--r-- | tests/auth.conf | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/auth.conf b/tests/auth.conf index 25975c5..481db08 100644 --- a/tests/auth.conf +++ b/tests/auth.conf @@ -17,3 +17,21 @@ ScriptAlias /authn /var/www/cgi-bin/auth.cgi AuthPAMService web Require valid-user </LocationMatch> + +ScriptAlias /authnp /var/www/cgi-bin/auth.cgi +<LocationMatch ^/authnp> + AuthType Basic + AuthName "private area" + AuthBasicProvider PAM + AuthPAMService web + Require pam-account web +</LocationMatch> + +ScriptAlias /authnp2 /var/www/cgi-bin/auth.cgi +<LocationMatch ^/authnp2> + AuthType Basic + AuthName "private area" + AuthBasicProvider PAM + AuthPAMService web + Require pam-account web2 +</LocationMatch> |