From b419e3701d0cb661230d1170c104e6cca1b57ae3 Mon Sep 17 00:00:00 2001 From: Nick Kew Date: Sun, 30 Oct 2005 00:32:00 +0000 Subject: [PATCH] Change directives from OR_AUTHCFG to ACCESS_CONF SQL config in .htaccess doesn't make sense and could have security issues. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@329497 13f79535-47bb-0310-9956-ffa450edef68 --- modules/aaa/mod_authn_dbd.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/aaa/mod_authn_dbd.c b/modules/aaa/mod_authn_dbd.c index b5a491623b..39e75621ab 100644 --- a/modules/aaa/mod_authn_dbd.c +++ b/modules/aaa/mod_authn_dbd.c @@ -76,10 +76,10 @@ static const char *authn_dbd_prepare(cmd_parms *cmd, void *cfg, const char *quer 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 @@ static authn_status authn_dbd_password(request_rec *r, const char *user, 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 @@ static authn_status authn_dbd_realm(request_rec *r, const char *user, 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) { -- 2.50.0