diff options
author | Jan Pazdziora <jpazdziora@redhat.com> | 2018-07-16 23:53:42 +0200 |
---|---|---|
committer | Jan Pazdziora <jpazdziora@redhat.com> | 2018-07-17 00:01:50 +0200 |
commit | 02a147cf6bf9ec8c1b648e97307129333e84a051 (patch) | |
tree | 9360a238dd09059a9990a531e2c7aedc1440ea88 /tests/auth.conf | |
parent | 54b7e8664da55d0bdd68725b2a783888fda914fe (diff) | |
download | mod_authnz_pam-02a147cf6bf9ec8c1b648e97307129333e84a051.tar.gz mod_authnz_pam-02a147cf6bf9ec8c1b648e97307129333e84a051.tar.xz mod_authnz_pam-02a147cf6bf9ec8c1b648e97307129333e84a051.zip |
Test Require pam-account and AuthBasicProvider PAM in CI.
Diffstat (limited to 'tests/auth.conf')
-rw-r--r-- | tests/auth.conf | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/auth.conf b/tests/auth.conf new file mode 100644 index 0000000..25975c5 --- /dev/null +++ b/tests/auth.conf @@ -0,0 +1,19 @@ +LoadModule authnz_pam_module modules/mod_authnz_pam.so + +ScriptAlias /authz /var/www/cgi-bin/auth.cgi +<Location /authz> + AuthType Basic + AuthName "private area" + AuthBasicProvider file + AuthUserFile /etc/htpasswd + Require pam-account web +</Location> + +ScriptAlias /authn /var/www/cgi-bin/auth.cgi +<LocationMatch ^/authn> + AuthType Basic + AuthName "private area" + AuthBasicProvider PAM + AuthPAMService web + Require valid-user +</LocationMatch> |