diff options
author | Donny Davies <woodchip@gentoo.org> | 2002-11-28 20:29:03 +0000 |
---|---|---|
committer | Donny Davies <woodchip@gentoo.org> | 2002-11-28 20:29:03 +0000 |
commit | 30638d393515cd5a2215ee2ffd9e57c15ca623ef (patch) | |
tree | e5974f9737a6d9d423ae1933d937f6bc9a5f0375 /net-www/mod_auth_external/files | |
parent | updated layout (diff) | |
download | gentoo-2-30638d393515cd5a2215ee2ffd9e57c15ca623ef.tar.gz gentoo-2-30638d393515cd5a2215ee2ffd9e57c15ca623ef.tar.bz2 gentoo-2-30638d393515cd5a2215ee2ffd9e57c15ca623ef.zip |
new Apache2 module
Diffstat (limited to 'net-www/mod_auth_external/files')
-rw-r--r-- | net-www/mod_auth_external/files/10_mod_auth_external.conf | 44 | ||||
-rw-r--r-- | net-www/mod_auth_external/files/digest-mod_auth_external-2.2.3 | 2 | ||||
-rw-r--r-- | net-www/mod_auth_external/files/pwauth.pam | 7 |
3 files changed, 53 insertions, 0 deletions
diff --git a/net-www/mod_auth_external/files/10_mod_auth_external.conf b/net-www/mod_auth_external/files/10_mod_auth_external.conf new file mode 100644 index 000000000000..701db9261fb2 --- /dev/null +++ b/net-www/mod_auth_external/files/10_mod_auth_external.conf @@ -0,0 +1,44 @@ +<IfDefine AUTH_EXTERNAL> + <IfModule !mod_auth_external.c> + LoadModule external_auth_module extramodules/mod_auth_external.so + </IfModule> +</IfDefine> + +<IfModule mod_auth_external.c> + +AddExternalAuth pwauth extramodules/pwauth +SetExternalAuthMethod pwauth pipe + +# For external group check +# AddExternalGroup unixgroup modules/unixgroup +# SetExternalGroupMethod unixgroup environment + +# Put an .htaccess file in whatever directory you want to protect. +# (For .htaccess files to work, you may need to change some +# "AllowOverride None" directives in your httpd.conf file into +# "AllowOverride AuthConfig" directives). +# +# A typical .htaccess file would look like: +# +# AuthName Your-Site-Name +# AuthType Basic +# AuthExternal pwauth +# require valid-user +# or +# require user1 +# +# GroupExternal unixgroup +# AuthGroupFile /dev/null +# require group <groupname1> <groupname2> ... +# +# Alternately, you can put a <Directory> block with the same directives +# in your httpd.conf file. +# +# Note1: Using group method, don't forget to add users in the authorized group +# group files +# somegroup:x:500:user1,user2,user3 +# +# +# - samples from pwauth/INSTALL + +</IfModule> diff --git a/net-www/mod_auth_external/files/digest-mod_auth_external-2.2.3 b/net-www/mod_auth_external/files/digest-mod_auth_external-2.2.3 new file mode 100644 index 000000000000..c955b5d85e6d --- /dev/null +++ b/net-www/mod_auth_external/files/digest-mod_auth_external-2.2.3 @@ -0,0 +1,2 @@ +MD5 01e16b38fe80a3885329929fc03998c7 mod_auth_external-2.2.3.tar.gz 63269 +MD5 6822a6d188c308dc2722b55d4dd5a233 mod_auth_external-2.2.3-gentoo.diff.bz2 1475 diff --git a/net-www/mod_auth_external/files/pwauth.pam b/net-www/mod_auth_external/files/pwauth.pam new file mode 100644 index 000000000000..1d2e081625f1 --- /dev/null +++ b/net-www/mod_auth_external/files/pwauth.pam @@ -0,0 +1,7 @@ +#%PAM-1.0 +auth required /lib/security/pam_stack.so service=system-auth +auth required /lib/security/pam_nologin.so +account required /lib/security/pam_stack.so service=system-auth +password required /lib/security/pam_stack.so service=system-auth +session required /lib/security/pam_stack.so service=system-auth +session optional /lib/security/pam_console.so |