diff options
author | Benedikt Boehm <hollow@gentoo.org> | 2009-08-06 14:37:45 +0000 |
---|---|---|
committer | Benedikt Boehm <hollow@gentoo.org> | 2009-08-06 14:37:45 +0000 |
commit | 1e3807839d8280400e957e95a1ddfd18aa584f7d (patch) | |
tree | b9288c83bc1367b025e17f2fe70767b188db7263 /www-apache/mod_auth_pam/files | |
parent | Fix building with GLIBC 2.10+ wrt #272878. (diff) | |
download | gentoo-2-1e3807839d8280400e957e95a1ddfd18aa584f7d.tar.gz gentoo-2-1e3807839d8280400e957e95a1ddfd18aa584f7d.tar.bz2 gentoo-2-1e3807839d8280400e957e95a1ddfd18aa584f7d.zip |
remove mod_auth_pam
Diffstat (limited to 'www-apache/mod_auth_pam/files')
-rw-r--r-- | www-apache/mod_auth_pam/files/10_mod_auth_pam.conf | 25 | ||||
-rw-r--r-- | www-apache/mod_auth_pam/files/apache2.pam | 6 | ||||
-rw-r--r-- | www-apache/mod_auth_pam/files/mod_auth_pam-1.1.1-service_name.patch | 66 |
3 files changed, 0 insertions, 97 deletions
diff --git a/www-apache/mod_auth_pam/files/10_mod_auth_pam.conf b/www-apache/mod_auth_pam/files/10_mod_auth_pam.conf deleted file mode 100644 index e437ac90d75d..000000000000 --- a/www-apache/mod_auth_pam/files/10_mod_auth_pam.conf +++ /dev/null @@ -1,25 +0,0 @@ -<IfDefine AUTH_PAM> -LoadModule auth_pam_module modules/mod_auth_pam.so -LoadModule auth_sys_group_module modules/mod_auth_sys_group.so - -# EXAMPLE 1: authentificate against a single PAM account -#AuthPAM_Enabled on -# If you want to make mod_auth_pam work with apache-2.2, please uncomment -# the following line: -#AuthBasicAuthoritative Off -#AuthType Basic -#AuthName "secure area" -#Require user webmaster - -# EXAMPLE 2: authentificate against a a PAM group, so, that each user -# beeing in this group may access this "secure area" -#AuthPAM_Enabled on -# If you want to make mod_auth_pam work with apache-2.2, please uncomment -# the following line: -#AuthBasicAuthoritative Off -#AuthType Basic -#AuthName "secure area" -#Require group staff -</IfDefine> - -# vim:syntax=apache diff --git a/www-apache/mod_auth_pam/files/apache2.pam b/www-apache/mod_auth_pam/files/apache2.pam deleted file mode 100644 index a17959a3929f..000000000000 --- a/www-apache/mod_auth_pam/files/apache2.pam +++ /dev/null @@ -1,6 +0,0 @@ -#%PAM-1.0 -auth include system-auth -auth required pam_nologin.so -account include system-auth -password include system-auth -session include system-auth diff --git a/www-apache/mod_auth_pam/files/mod_auth_pam-1.1.1-service_name.patch b/www-apache/mod_auth_pam/files/mod_auth_pam-1.1.1-service_name.patch deleted file mode 100644 index 82529db2c0ff..000000000000 --- a/www-apache/mod_auth_pam/files/mod_auth_pam-1.1.1-service_name.patch +++ /dev/null @@ -1,66 +0,0 @@ ---- mod_auth_pam.c 2002-08-24 16:22:23.000000000 +0200 -+++ mod_auth_pam.c 2004-10-27 16:48:50.000000000 +0200 -@@ -126,6 +126,9 @@ - * fall through but return "access denied" instead - * Defaults to off - * -+ * AuthPAM_Service <service> The PAM-service to be used for authentication. -+ * Defaults to "apache2" -+ * - * AuthPAM_Authorative on|off DEPRECATED - */ - -@@ -146,12 +149,12 @@ - - /* change this to 0 on RedHat 4.x */ - #define PAM_STRE_NEEDS_PAMH 1 --#define VERSION "2.0-1.1" -+#define VERSION "2.0-1.1e" - - module auth_pam_module; - - static const char -- *pam_servicename = "httpd", -+ *pam_servicename = "apache2", - *valid_user = "valid-user"; - - typedef struct { -@@ -190,6 +193,7 @@ - * username (defaults to 0) */ - enabled; /* 1 to use mod_auth_pam, 0 otherwise - * (defaults to 1) */ -+ const char* pam_servicename; - } auth_pam_dir_config; - - static -@@ -214,6 +218,7 @@ - new->fail_delay = 0; /* 0 ms */ - new->fall_through = 0; /* off */ - new->enabled = 1; /* on */ -+ new->pam_servicename = pam_servicename; - return new; - } - -@@ -237,6 +242,11 @@ - "on|off - determines if PAM authentication is enabled. " - "(default is on.)"), - -+ AP_INIT_TAKE1("AuthPAM_Service", -+ ap_set_string_slot, (void *) APR_OFFSETOF(auth_pam_dir_config, pam_servicename), -+ OR_AUTHCFG, -+ "PAM-service to be used for authentication"), -+ - {NULL} - }; - -@@ -341,7 +351,7 @@ - userinfo.name = r->user; - - /* initialize pam */ -- if ((res = pam_start(pam_servicename, -+ if ((res = pam_start(conf->pam_servicename, - userinfo.name, - &conv_info, - &pamh)) != PAM_SUCCESS) { - - |