httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n..@apache.org
Subject svn commit: r329497 - /httpd/httpd/trunk/modules/aaa/mod_authn_dbd.c
Date Sun, 30 Oct 2005 00:32:04 GMT
Author: niq
Date: Sat Oct 29 17:32:00 2005
New Revision: 329497

URL: http://svn.apache.org/viewcvs?rev=329497&view=rev
Log:
Change directives from OR_AUTHCFG to ACCESS_CONF
SQL config in .htaccess doesn't make sense and could have security issues.

Modified:
    httpd/httpd/trunk/modules/aaa/mod_authn_dbd.c

Modified: httpd/httpd/trunk/modules/aaa/mod_authn_dbd.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/modules/aaa/mod_authn_dbd.c?rev=329497&r1=329496&r2=329497&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/aaa/mod_authn_dbd.c (original)
+++ httpd/httpd/trunk/modules/aaa/mod_authn_dbd.c Sat Oct 29 17:32:00 2005
@@ -76,10 +76,10 @@
 static const command_rec authn_dbd_cmds[] =
 {
     AP_INIT_TAKE1("AuthDBDUserPWQuery", authn_dbd_prepare,
-                  (void *)APR_OFFSETOF(authn_dbd_conf, user), OR_AUTHCFG,
+                  (void *)APR_OFFSETOF(authn_dbd_conf, user), ACCESS_CONF,
                   "Query used to fetch password for user"),
-    AP_INIT_TAKE1("AuthDBDUserRealmPWQuery", authn_dbd_prepare,
-                  (void *)APR_OFFSETOF(authn_dbd_conf, realm), OR_AUTHCFG,
+    AP_INIT_TAKE1("AuthDBDUserRealmQuery", authn_dbd_prepare,
+                  (void *)APR_OFFSETOF(authn_dbd_conf, realm), ACCESS_CONF,
                   "Query used to fetch password for user+realm"),
     {NULL}
 };
@@ -128,7 +128,7 @@
         if (dbd_password == NULL) {
             dbd_password = apr_dbd_get_entry(dbd->driver, row, 0);
         }
-	/* we can't break out here or row won't get cleaned up */
+        /* we can't break out here or row won't get cleaned up */
     }
 
     if (!dbd_password) {
@@ -186,7 +186,7 @@
         if (dbd_hash == NULL) {
             dbd_hash = apr_dbd_get_entry(dbd->driver, row, 0);
         }
-	/* we can't break out here or row won't get cleaned up */
+        /* we can't break out here or row won't get cleaned up */
     }
 
     if (!dbd_hash) {



Mime
View raw message