You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ni...@apache.org on 2005/10/30 02:33:48 UTC
svn commit: r329499 - /httpd/httpd/branches/2.2.x/modules/aaa/mod_authn_dbd.c
Author: niq
Date: Sat Oct 29 17:33:46 2005
New Revision: 329499
URL: http://svn.apache.org/viewcvs?rev=329499&view=rev
Log:
Change config from OR_AUTHCFG to ACCESS_CONF.
SQL config in .htaccess wont work.
Modified:
httpd/httpd/branches/2.2.x/modules/aaa/mod_authn_dbd.c
Modified: httpd/httpd/branches/2.2.x/modules/aaa/mod_authn_dbd.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/2.2.x/modules/aaa/mod_authn_dbd.c?rev=329499&r1=329498&r2=329499&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/modules/aaa/mod_authn_dbd.c (original)
+++ httpd/httpd/branches/2.2.x/modules/aaa/mod_authn_dbd.c Sat Oct 29 17:33:46 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) {