ASF Bugzilla – Attachment 38246 Details for
Bug 66010
mod_authz_dbd doc select-groups example fails on reserved word group in Mysql
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Documentation fix
authz_dbd-group.diff (text/plain), 1.41 KB, created by
Giovanni Bechis
on 2022-04-13 10:43:02 UTC
(
hide
)
Description:
Documentation fix
Filename:
MIME Type:
Creator:
Giovanni Bechis
Created:
2022-04-13 10:43:02 UTC
Size:
1.41 KB
patch
obsolete
>Index: docs/manual/mod/mod_authz_dbd.xml >=================================================================== >--- docs/manual/mod/mod_authz_dbd.xml (revision 1899804) >+++ docs/manual/mod/mod_authz_dbd.xml (working copy) >@@ -70,7 +70,7 @@ > > <highlight language="config"> > Require dbd-group team >-AuthzDBDQuery "SELECT group FROM authz WHERE user = %s" >+AuthzDBDQuery "SELECT user_group FROM authz WHERE user = %s" > </highlight> > > </section> >Index: modules/aaa/mod_authz_dbd.c >=================================================================== >--- modules/aaa/mod_authz_dbd.c (revision 1899804) >+++ modules/aaa/mod_authz_dbd.c (working copy) >@@ -212,7 +212,7 @@ > static int authz_dbd_group_query(request_rec *r, authz_dbd_cfg *cfg, > apr_array_header_t *groups) > { >- /* SELECT group FROM authz WHERE user = %s */ >+ /* SELECT user_group FROM authz WHERE user = %s */ > int rv; > const char *message; > ap_dbd_t *dbd; >@@ -254,7 +254,7 @@ > else { > message = apr_dbd_error(dbd->driver, dbd->handle, rv); > ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(01651) >- "authz_dbd in get_row; group query for user=%s [%s]", >+ "authz_dbd in get_row; user_group query for user=%s [%s]", > r->user, message?message:noerror); > return HTTP_INTERNAL_SERVER_ERROR; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 66010
: 38246