]> git.pld-linux.org Git - packages/apache-mod_auth_mysql.git/commitdiff
- orphaned, outdated
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 21 Apr 2006 23:41:18 +0000 (23:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache-mod_auth_mysql-name.patch -> 1.2
    mysql-group-auth.txt -> 1.2

apache-mod_auth_mysql-name.patch [deleted file]
mysql-group-auth.txt [deleted file]

diff --git a/apache-mod_auth_mysql-name.patch b/apache-mod_auth_mysql-name.patch
deleted file mode 100644 (file)
index c4b0b24..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
---- apache-mod_auth_mysql-0.3/mod_auth_mysql.c.orig    Mon Oct 22 14:15:13 2001
-+++ apache-mod_auth_mysql-0.3/mod_auth_mysql.c Mon Oct 22 14:16:19 2001
-@@ -66,7 +66,7 @@
-  * instead.
-  *
-  * MODULE-DEFINITION-START
-- * Name: mysql_auth_module
-+ * Name: auth_mysql_module
-  * ConfigStart
-      MYSQL_LIB="-L/usr/local/lib/mysql -lmysqlclient -lm"
-      if [ "X$MYSQL_LIB" != "X" ]; then
-@@ -358,7 +358,7 @@
-   { NULL }
- };
--module mysql_auth_module;
-+module auth_mysql_module;
- /*
-  * Fetch and return password string from database for named user.
-@@ -478,7 +478,7 @@
- {
-   mysql_auth_config_rec *sec =
-     (mysql_auth_config_rec *)ap_get_module_config (r->per_dir_config,
--                                                 &mysql_auth_module);
-+                                                 &auth_mysql_module);
-   conn_rec *c = r->connection;
-   const char *sent_pw, *real_pw;
-   int res;
-@@ -523,7 +523,7 @@
- {
-   mysql_auth_config_rec *sec =
-     (mysql_auth_config_rec *)ap_get_module_config(r->per_dir_config,
--                                                &mysql_auth_module);
-+                                                &auth_mysql_module);
-   char *user = r->connection->user;
-   int method = r->method_number;
-@@ -579,7 +579,7 @@
- }
--module mysql_auth_module = {
-+module auth_mysql_module = {
-    STANDARD_MODULE_STUFF,
-    NULL,                      /* initializer */
-    create_mysql_auth_dir_config, /* dir config creater */
diff --git a/mysql-group-auth.txt b/mysql-group-auth.txt
deleted file mode 100644 (file)
index f8b97d1..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-This document describes how to use group-based authorization using my
-version of mod_auth_mysql.c.  This version is based heavily on my own
-version of mod_auth_msql.c, which was widely distributed prior to the
-one currently shipped with Apache.
-
-There are two options to using groups.  You can put the "user_group"
-field into the same table as the user database if each user is in only
-one group, or you can have a separate table that contains the fields
-"user_name" and "user_group" if each user is a member of multiple
-groups.
-
-If the user_group field is part of the full user table, the table has
-three fields at least: user_name, user_group, user_passwd.  The
-user_group field must be "PRIMARY KEY" in the user database containing
-a password.  The htaccess file would be this:
-
-AuthName My Authorization
-AuthType Basic
-AuthGroupFile /dev/null
-AuthMySQLHost localhost
-AuthMySQLDB authdata
-AuthMySQLUserTable user_info
-AuthMySQLGroupField user_group
-require group admin
-
-If you have a separate database for groups, the two tables would be
-
-user_info: user_name, user_passwd (user_name must be PRIMARY KEY)
-user_group: user_name, user_group (user is not PRIMARY KEY, as we have
-       multiple tuples for user_name,user_group to let a user be in
-       multiple groups)
-
-and htaccess would have this:
-
-AuthName My Authorzation
-AuthType Basic
-AuthGroupFile /dev/null
-AuthMySQLHost localhost
-AuthMySQLDB authdata
-AuthMySQLUserTable user_info
-
-AuthMySQLGroupTable my_groups
-AuthMySQLGroupField user_group
-require group admin
-
-
-
-Assuming that the required group name is "admin".
This page took 0.07059 seconds and 4 git commands to generate.