mod-auth-commit Mailing List for mod_auth (Page 2)
Brought to you by:
firechipmunk,
honx
You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(36) |
Dec
(8) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(7) |
Feb
(51) |
Mar
(22) |
Apr
|
May
(6) |
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <fir...@us...> - 2004-03-02 05:58:57
|
Update of /cvsroot/mod-auth/mod_auth_webspace/htdocs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7115 Modified Files: index.xml Log Message: added 0.9.0 release news Index: index.xml =================================================================== RCS file: /cvsroot/mod-auth/mod_auth_webspace/htdocs/index.xml,v retrieving revision 1.13 retrieving revision 1.14 diff -u -d -r1.13 -r1.14 --- index.xml 2 Mar 2004 04:51:19 -0000 1.13 +++ index.xml 2 Mar 2004 05:39:32 -0000 1.14 @@ -12,6 +12,17 @@ </summary> <section id="News"> <title>News</title> + <section id="release_dbi_0_9_0"> + <title>11/10/2003 - mod_authn_dbi 0.9.0 is released</title> + <p> + The 0.9.0 Release of mod_authn_dbi is a major release. It adds new SQL keywords, fixes a crash which could occur when the database server was down, moves native SHA1 support to APR, and fixes several possible security bugs. The 0.9.0 release is the first to be under the Apache Software License 2.0. All users are recommended to upgrade. + <br/> + <a href="http://sourceforge.net/project/showfiles.php?group_id=93106">Download from SourceForge</a> + If you have any problems or questions with <code>mod_authn_dbi</code> please use + the <a href='http://lists.sourceforge.net/lists/listinfo/mod-auth-users'>mod-auth-users</a> mailing list. + <br/> + </p> + </section> <section id="release_dbi_0_0_7"> <title>11/10/2003 - mod_authn_dbi 0.0.7 is released</title> <p> |
From: <fir...@us...> - 2004-03-02 05:11:59
|
Update of /cvsroot/mod-auth/mod_authn_dbi In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32744 Modified Files: AUTHORS Log Message: adding my pgp key. Index: AUTHORS =================================================================== RCS file: /cvsroot/mod-auth/mod_authn_dbi/AUTHORS,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- AUTHORS 25 Feb 2004 21:48:06 -0000 1.4 +++ AUTHORS 2 Mar 2004 04:52:36 -0000 1.5 @@ -76,4 +76,36 @@ -----END PGP PUBLIC KEY BLOCK----- +pub 1024D/42721F00 2004-01-17 Paul Querna <ch...@fo...> +sub 2048g/7A2BE310 2004-01-17 + +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v1.2.3 (FreeBSD) +mQGiBEAJtaERBACrYSun+13XY5xobkfAojSZXeYiLCGrqpRQJiRbSQCQEFIhCqTp +5Q3q5wcHFqx9da3EpF9Dl9yw7BP/R1nvWw68/eGKMusjyvjF9vVKFFCnaB0YwWuh +tViq/+OVnVrkPKNtpkBcg4Rl14tEKqOVRAMX+GaPLZTb0J4/rSfqWMitVwCg0ZfQ +pHJRuYqQDMUlWlg5kdMAxl0EAIGHa1q5fx81qd4jOd39C9ujkSak0GTlTWQptvMM +LrUbbC0YCYKydKK00QG5sW/oSZd0emdn/0ITaM3v7Pe/JqinaUitIBeyIrLIYKFC +TIArG7mqCJWHmGXhG0wkI53T/yE0ErkgDMN4U3jTD2ZcbV+UXqygHAtR3qM+uIsJ +H/hYA/wMj3cOKwMBWfac3i/mrnJVdOXMaXzLrB6EjISWRhQrrlKVBsgqkPEdKwYb +S1hieaoeZ0UIt2T72Un/KUZinBYYGZAzXSFQNNqiyvy1v5WeVMjaEHOHHWLbqzX5 +3ycf4o9B802MIBS6F0UGpCAEnakZzT+2GG0B/z8RTF6eHpRBv7QiUGF1bCBRdWVy +bmEgPGNoaXBAZm9yY2UtZWxpdGUuY29tPoheBBMRAgAeBQJACbWhAhsDBgsJCAcD +AgMVAgMDFgIBAh4BAheAAAoJEPeIdfZCch8A+JEAnjtdwV4xgjC74+z8bl5mr9eP +chXHAKDG/A0T9buKU89mhN/Jygh7TuJMBrkCDQRACbWyEAgAt+oHiN5DLMp/JtWQ +Dw+SxL3IPiGaNpgijpdpDoYAmyBg5VxYg0/Nwe3auNA3FJxKOQ0ClPG22mBFFU/a +zxEJH1WSfxLa3vpIqbzmaCa5NPeJU2PIhu1ASpByk3ssMkCrYtsYgO3V92+aGQja +A02qdtYywDGwmTCzevQkewLEPyOtpcq8FDze0VMqqL1l5DWdbh1zmzX+njQ4uuyr +fDDbcJ+c/07Gn7yu+CBbITVGvjFvqGdg3uZIs167rGXJxGikbXZGS+HlAuso2vsP +8ZXWPogZOqHhpGb7P2j/VbDHPRaRoTI3u4VtCDmGxwEEckEpPVDx6+smlMRTLMDy +asE7qwADBgf+LbKBvEtF2qBFyOCppYKQgPBRMn5zqQhCak8f1EwynCdtT2RwYQ0K +OGYVUi9txST3EGpCBSpKr1rzNlSvC4Fq40I6ZVfCu4bIhcBiOVRe/Ew6lOASS7o+ +WkqIOGZy/VZvbV1PPTbQgPmCkBruzRPzZULdyIYmZhOJC638PPpbVf+8qQ+1DxQR +DstOQ07KDvKzXoWmS1dir8zECGBDmtEuoTAg97WyMKWArgufOHmjq57qlrpUB34H +Cl/L2LjKHf4ISCNaOr0PJyJHrHqPZ176TSFBbqRXTWAs+124mdo+j5daUcyieEpK +Ww8rXREy5UL3TWgtlhlIo7AyCkbkQbHY5IhJBBgRAgAJBQJACbWyAhsMAAoJEPeI +dfZCch8AlksAoK69wNqf8oyxKwCMz+sdN/wbQAqdAJ9tu8IrR/Blytruh93XPVSn +X4gP3g== +=874k +-----END PGP PUBLIC KEY BLOCK----- |
From: <fir...@us...> - 2004-03-02 05:10:42
|
Update of /cvsroot/mod-auth/mod_auth_webspace/htdocs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32531 Modified Files: index.xml Log Message: add my pgp key. Index: index.xml =================================================================== RCS file: /cvsroot/mod-auth/mod_auth_webspace/htdocs/index.xml,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- index.xml 25 Feb 2004 20:49:14 -0000 1.12 +++ index.xml 2 Mar 2004 04:51:19 -0000 1.13 @@ -116,7 +116,7 @@ leaving Cyan to attend school fulltime at <a href="http://www.carroll.edu">Carroll College</a> he started this project. He is interested in high concurrency internet services and massively multithreaded programing. - [<a href="http://corelands.com">website</a>] [<a href="mailto:chip AT force-elite.com">email</a>] + [<a href="http://corelands.com">website</a>] [<a href="mailto:chip AT force-elite.com">email</a>] [<a href="pgp/chip_42721F00.asc">pgp/gpg-key</a>] </p> </section> <section id="bio_axel_grossklaus"> |
From: <fir...@us...> - 2004-03-02 05:10:42
|
Update of /cvsroot/mod-auth/mod_auth_webspace/htdocs/pgp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32531/pgp Added Files: chip_42721F00.asc Log Message: add my pgp key. --- NEW FILE: chip_42721F00.asc --- -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v1.2.3 (FreeBSD) mQGiBEAJtaERBACrYSun+13XY5xobkfAojSZXeYiLCGrqpRQJiRbSQCQEFIhCqTp 5Q3q5wcHFqx9da3EpF9Dl9yw7BP/R1nvWw68/eGKMusjyvjF9vVKFFCnaB0YwWuh tViq/+OVnVrkPKNtpkBcg4Rl14tEKqOVRAMX+GaPLZTb0J4/rSfqWMitVwCg0ZfQ pHJRuYqQDMUlWlg5kdMAxl0EAIGHa1q5fx81qd4jOd39C9ujkSak0GTlTWQptvMM LrUbbC0YCYKydKK00QG5sW/oSZd0emdn/0ITaM3v7Pe/JqinaUitIBeyIrLIYKFC TIArG7mqCJWHmGXhG0wkI53T/yE0ErkgDMN4U3jTD2ZcbV+UXqygHAtR3qM+uIsJ H/hYA/wMj3cOKwMBWfac3i/mrnJVdOXMaXzLrB6EjISWRhQrrlKVBsgqkPEdKwYb S1hieaoeZ0UIt2T72Un/KUZinBYYGZAzXSFQNNqiyvy1v5WeVMjaEHOHHWLbqzX5 3ycf4o9B802MIBS6F0UGpCAEnakZzT+2GG0B/z8RTF6eHpRBv7QiUGF1bCBRdWVy bmEgPGNoaXBAZm9yY2UtZWxpdGUuY29tPoheBBMRAgAeBQJACbWhAhsDBgsJCAcD AgMVAgMDFgIBAh4BAheAAAoJEPeIdfZCch8A+JEAnjtdwV4xgjC74+z8bl5mr9eP chXHAKDG/A0T9buKU89mhN/Jygh7TuJMBrkCDQRACbWyEAgAt+oHiN5DLMp/JtWQ Dw+SxL3IPiGaNpgijpdpDoYAmyBg5VxYg0/Nwe3auNA3FJxKOQ0ClPG22mBFFU/a zxEJH1WSfxLa3vpIqbzmaCa5NPeJU2PIhu1ASpByk3ssMkCrYtsYgO3V92+aGQja A02qdtYywDGwmTCzevQkewLEPyOtpcq8FDze0VMqqL1l5DWdbh1zmzX+njQ4uuyr fDDbcJ+c/07Gn7yu+CBbITVGvjFvqGdg3uZIs167rGXJxGikbXZGS+HlAuso2vsP 8ZXWPogZOqHhpGb7P2j/VbDHPRaRoTI3u4VtCDmGxwEEckEpPVDx6+smlMRTLMDy asE7qwADBgf+LbKBvEtF2qBFyOCppYKQgPBRMn5zqQhCak8f1EwynCdtT2RwYQ0K OGYVUi9txST3EGpCBSpKr1rzNlSvC4Fq40I6ZVfCu4bIhcBiOVRe/Ew6lOASS7o+ WkqIOGZy/VZvbV1PPTbQgPmCkBruzRPzZULdyIYmZhOJC638PPpbVf+8qQ+1DxQR DstOQ07KDvKzXoWmS1dir8zECGBDmtEuoTAg97WyMKWArgufOHmjq57qlrpUB34H Cl/L2LjKHf4ISCNaOr0PJyJHrHqPZ176TSFBbqRXTWAs+124mdo+j5daUcyieEpK Ww8rXREy5UL3TWgtlhlIo7AyCkbkQbHY5IhJBBgRAgAJBQJACbWyAhsMAAoJEPeI dfZCch8AlksAoK69wNqf8oyxKwCMz+sdN/wbQAqdAJ9tu8IrR/Blytruh93XPVSn X4gP3g== =874k -----END PGP PUBLIC KEY BLOCK----- |
From: <fir...@us...> - 2004-02-29 09:11:47
|
Update of /cvsroot/mod-auth/mod_dbi_pool In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16431 Modified Files: TODO Added Files: COPYING Log Message: added Apache license and updated TODO with general goals. --- NEW FILE: COPYING --- Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Index: TODO =================================================================== RCS file: /cvsroot/mod-auth/mod_dbi_pool/TODO,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- TODO 3 Jan 2004 00:31:25 -0000 1.1 +++ TODO 29 Feb 2004 08:53:47 -0000 1.2 @@ -1,2 +1,22 @@ -- Allow Multiple Configurations +- Allow Multiple Database Connections + +- Test on 2.0 branch (all work right now is on 2.1) + +- Add Support for: + - mod_vhost_dbi + - mod_authn_dbi + - mod_ftpd_dbi_provider + - mod_ferite? + - Subversion Backend Support????? (hot damn that would be beyond cool) + - Other? + +- Fix Building System (Copy Header for other Modules Use?) + +- World Domination? + +- Move out of mod-auth project (doesn't belong here?)(otoh, if mod_authn_dbi uses it..) + - Perhaps a Seperate mod-dbi project for: + - mod_vhost_dbi + - mod_ftpd_dbi_provider + - mod_authn_dbi |
From: <fir...@us...> - 2004-02-29 09:06:25
|
Update of /cvsroot/mod-auth/mod_dbi_pool/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15626/src Modified Files: mod_dbi_pool.c Log Message: fixed files to follow official apache style. forgot todo this before i commited for the night. Index: mod_dbi_pool.c =================================================================== RCS file: /cvsroot/mod-auth/mod_dbi_pool/src/mod_dbi_pool.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- mod_dbi_pool.c 29 Feb 2004 08:40:52 -0000 1.4 +++ mod_dbi_pool.c 29 Feb 2004 08:48:27 -0000 1.5 @@ -101,13 +101,12 @@ apr_ssize_t pos = (apr_ssize_t) cmd->info; dbi_config *temp; - if ((get_or_create_dbi_conf - (conn_id, cmd->pool, &temp)) == APR_SUCCESS) { + if ((get_or_create_dbi_conf(conn_id, cmd->pool, &temp)) == APR_SUCCESS) { /* Overwriting an existing value technically is a memory leak, since the pconf pool is only * destroyed at the termination of the whole apache process. Otoh, when processing htaccess, * we get handed the request-pool instead which is freed afterwards, so we should be fine. */ - // XXXX: Since mod_pool_dbi will be around alot longer, this needs to be fixed! + // XXXX: Since mod_pool_dbi will be around alot longer, this needs to be fixed! switch (pos) { case CONF_DBI_DRIVER: @@ -163,7 +162,8 @@ AP_INIT_TAKE2("PoolDbiPassword", set_dbi_switch_conf, (void *) CONF_DBI_PASSWORD, RSRC_CONF, "The password for the database connection"), - AP_INIT_TAKE2("PoolDbiDBName", set_dbi_switch_conf, (void *) CONF_DBI_NAME, + AP_INIT_TAKE2("PoolDbiDBName", set_dbi_switch_conf, + (void *) CONF_DBI_NAME, RSRC_CONF, "The name of the database containing the tables"), AP_INIT_TAKE2("PoolDbiConnMin", set_dbi_switch_conf, @@ -256,6 +256,7 @@ - open acquires a connection from the pool (opens one if necessary) - close releases it back in to the pool */ + dbi_conn *dbipool_open(server_rec * s) { dbi_conn *ret = NULL; |
From: <fir...@us...> - 2004-02-29 09:06:24
|
Update of /cvsroot/mod-auth/mod_dbi_pool/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15626/include Modified Files: mod_dbi_pool.h Log Message: fixed files to follow official apache style. forgot todo this before i commited for the night. Index: mod_dbi_pool.h =================================================================== RCS file: /cvsroot/mod-auth/mod_dbi_pool/include/mod_dbi_pool.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- mod_dbi_pool.h 29 Feb 2004 08:40:52 -0000 1.1 +++ mod_dbi_pool.h 29 Feb 2004 08:48:27 -0000 1.2 @@ -41,12 +41,12 @@ #define DFLT_DBI_HOST "localhost" #define DFLT_DBI_DRIVER "mysql" #define DFLT_DBI_USER "root" -#define DFLT_DBI_PASS "" /* setting this to NULL triggers a bug in libdbi which causes a segfault. mysql docs - * say this must be set to NULL in order to login without a password. fortunately, - * setting "" works as well. the bug is reported to the libdbi maintainers. we will - * change this back when the bug is fixed. - * - */ +#define DFLT_DBI_PASS "" /* setting this to NULL triggers a bug in libdbi which causes a segfault. mysql docs + * say this must be set to NULL in order to login without a password. fortunately, + * setting "" works as well. the bug is reported to the libdbi maintainers. we will + * change this back when the bug is fixed. + * + */ #define DFLT_CONN_MIN (1) #define DFLT_CONN_SOFT (5) #define DFLT_CONN_MAX (25) @@ -57,7 +57,8 @@ #define DBI_HARD_MAX_CONNS (255) #endif -typedef enum { +typedef enum +{ CONF_DBI_DRIVER, CONF_DBI_DRIVER_DIR, CONF_DBI_HOST, @@ -70,7 +71,8 @@ CONF_DBI_CONN_TTL, } CONF_DBI; -typedef struct dbi_config_rec_struct { +typedef struct dbi_config_rec_struct +{ const char *dbi_dbname; const char *dbi_user; const char *dbi_pass; @@ -81,5 +83,3 @@ int conn_max; int conn_ttl; } dbi_config_rec; - - |
From: <fir...@us...> - 2004-02-29 08:58:52
|
Update of /cvsroot/mod-auth/mod_dbi_pool/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14614/src Modified Files: mod_dbi_pool.c Log Message: initial work to make mod_dbi_pool support multiple connection pools. Index: mod_dbi_pool.c =================================================================== RCS file: /cvsroot/mod-auth/mod_dbi_pool/src/mod_dbi_pool.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- mod_dbi_pool.c 8 Feb 2004 22:00:18 -0000 1.3 +++ mod_dbi_pool.c 29 Feb 2004 08:40:52 -0000 1.4 @@ -1,73 +1,29 @@ /* ==================================================================== - * The Apache Software License, Version 1.1 - * - * Copyright (c) 2000-2003 The Apache Software Foundation. All rights - * reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. + * Copyright 2003-2004 Paul Querna * - * 3. The end-user documentation included with the redistribution, - * if any, must include the following acknowledgment: - * "This product includes software developed by the - * Apache Software Foundation (http://www.apache.org/)." - * Alternately, this acknowledgment may appear in the software itself, - * if and wherever such third-party acknowledgments normally appear. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * - * 4. The names "Apache" and "Apache Software Foundation" must - * not be used to endorse or promote products derived from this - * software without prior written permission. For written - * permission, please contact ap...@ap.... + * http://www.apache.org/licenses/LICENSE-2.0 * - * 5. Products derived from this software may not be called "Apache", - * nor may "Apache" appear in their name, without prior written - * permission of the Apache Software Foundation. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * - * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED - * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR - * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF - * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT - * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. * ==================================================================== */ -/* - Author: Paul Querna <chip force-elite.com> - - Originaly Based on mod_mysql_pool by Nick Kew: - http://apache.webthing.com/ -*/ - - -/* - mod_dbi_pool: manage a pool of libdbi connections. - EXPORTS: - dbi_conn* dbipool_open(server_rec*) - - retrieve a connection from the pool and check it's valid - - May return null and log a message on error. - void dbipool_close(server_rec*, dbi_conn*) - - return a connection to the pool after use - - CONFIG: - See the code round about line 106 - -*/ +/** + * @author Paul Querna <chip force-elite.com> + * + * Originaly Based on mod_mysql_pool by Nick Kew: + * http://apache.webthing.com/ + * + * $Id$ + */ #include <ctype.h> @@ -80,109 +36,151 @@ #include <apr_reslist.h> #include <apr_strings.h> -extern module AP_MODULE_DECLARE_DATA dbi_pool_module; +#include "mod_dbi_pool.h" -/************ svr cfg: manage db connection pool ****************/ +module AP_MODULE_DECLARE_DATA dbi_pool_module; -typedef struct svr_cfg +static int dbi_conn_count = 0; +static apr_hash_t *authn_dbi_config; + +dbi_config *create_new_conf(conn_id conn_id, apr_pool_t * p) { - apr_reslist_t *dbpool; - int nmin; - int nkeep; - int nmax; - int exptime; - const char *host; - int port; - const char *db; - const char *dbi_driver; - const char *user; - const char *pass; -} svr_cfg; + dbi_config *conf; + conf = (dbi_config *) apr_pcalloc(p, sizeof(dbi_config)); + if (conf == NULL) { + return NULL; + } + conf->rec.dbi_dbname = DFLT_DBI_DBNAME; + conf->rec.dbi_driver = DFLT_DBI_DRIVER; + conf->rec.dbi_host = DFLT_DBI_HOST; + conf->rec.dbi_user = DFLT_DBI_USER; + conf->rec.dbi_pass = DFLT_DBI_PASS; + conf->rec.conn_min = DFLT_CONN_MIN; + conf->rec.conn_soft = DFLT_CONN_SOFT; + conf->rec.conn_max = DFLT_CONN_MAX; + conf->rec.conn_ttl = DFLT_CONN_TTL; + apr_hash_set(authn_dbi_config, conn_id, APR_HASH_KEY_STRING, conf); + ap_log_perror(APLOG_MARK, APLOG_DEBUG, 0, p, + "[mod_authn_dbi.c] Creating Config for %s", conn_id); + return conf; +} -typedef enum -{ cmd_host, cmd_port, cmd_db, cmd_dbi_driver, cmd_user, cmd_pass, - cmd_min, cmd_keep, cmd_max, cmd_exp -} cmd_parts; +static apr_status_t get_or_create_dbi_conf(const char *conn_id, + apr_pool_t * p, + dbi_config ** confname) +{ + dbi_config *temp; + unsigned int c; + + /* some sanity checks on conn_id..limits are liberal and are more or less random */ + if (strlen(conn_id) > 255) { + return APR_EGENERAL; + } + for (c = 0; c < strlen(conn_id); c++) { + if (conn_id[c] < ' ') { + return APR_EGENERAL; + } + } + temp = apr_hash_get(authn_dbi_config, conn_id, APR_HASH_KEY_STRING); + if (temp == NULL) { + /* no such server yet... */ + temp = create_new_conf(conn_id, p); + } + *confname = temp; + return APR_SUCCESS; +} #define ISINT(val) \ for ( p = val; *p; ++p) \ if ( ! isdigit(*p) ) \ return "Argument must be numeric!" -static const char *set_param(cmd_parms * cmd, void *cfg, const char *val) + +static const char *set_dbi_switch_conf(cmd_parms * cmd, void *config, + const char *conn_id, const char *value) { - const char *p; - svr_cfg *svr = (svr_cfg *) ap_get_module_config - (cmd->server->module_config, &dbi_pool_module); + apr_ssize_t pos = (apr_ssize_t) cmd->info; - switch ((int) cmd->info) { - case cmd_host: - svr->host = val; - break; - case cmd_port: - ISINT(val); - svr->port = atoi(val); - break; - case cmd_db: - svr->db = val; - break; - case cmd_dbi_driver: - svr->dbi_driver = val; - break; - case cmd_user: - svr->user = val; - break; - case cmd_pass: - svr->pass = val; - break; - case cmd_min: - ISINT(val); - svr->nmin = atoi(val); - break; - case cmd_keep: - ISINT(val); - svr->nkeep = atoi(val); - break; - case cmd_max: - ISINT(val); - svr->nmax = atoi(val); - break; - case cmd_exp: - ISINT(val); - svr->exptime = atoi(val); - break; + dbi_config *temp; + if ((get_or_create_dbi_conf + (conn_id, cmd->pool, &temp)) == APR_SUCCESS) { + + /* Overwriting an existing value technically is a memory leak, since the pconf pool is only + * destroyed at the termination of the whole apache process. Otoh, when processing htaccess, + * we get handed the request-pool instead which is freed afterwards, so we should be fine. */ + // XXXX: Since mod_pool_dbi will be around alot longer, this needs to be fixed! + + switch (pos) { + case CONF_DBI_DRIVER: + temp->rec.dbi_driver = value; + break; + case CONF_DBI_HOST: + temp->rec.dbi_host = value; + break; + case CONF_DBI_USERNAME: + temp->rec.dbi_user = value; + break; + case CONF_DBI_PASSWORD: + temp->rec.dbi_pass = value; + break; + case CONF_DBI_DBNAME: + temp->rec.dbi_name = value; + break; + case CONF_DBI_CONN_MIN: + temp->rec.conn_min = atoi(value); + break; + case CONF_DBI_CONN_SOFTMAX: + temp->rec.conn_soft = atoi(value); + break; + case CONF_DBI_CONN_HARDMAX: + temp->rec.conn_max = atoi(value); + break; + case CONF_DBI_CONN_TTL: + ISINT(value); + temp->rec.conn_ttl = atoi(value); + break; + default: + // unknown config directive? + break; + } } return NULL; } -static const command_rec dbi_pool_cmds[] = { - AP_INIT_TAKE1("DbiPoolHost", set_param, - (void *) cmd_host, RSRC_CONF, "DBI Host"), - AP_INIT_TAKE1("DbiPoolPort", set_param, - (void *) cmd_port, RSRC_CONF, "DBI Port"), - AP_INIT_TAKE1("DbiPoolDB", set_param, - (void *) cmd_db, RSRC_CONF, "DBI Database"), - AP_INIT_TAKE1("DbiPoolUser", set_param, - (void *) cmd_user, RSRC_CONF, "DBI Username"), - AP_INIT_TAKE1("DbiPoolPass", set_param, - (void *) cmd_pass, RSRC_CONF, "DBI Password"), - AP_INIT_TAKE1("DbiPoolMin", set_param, - (void *) cmd_min, RSRC_CONF, - "Minimum number of connections"), - AP_INIT_TAKE1("DbiPoolKeep", set_param, - (void *) cmd_keep, RSRC_CONF, - "Maximum number of sustained connections"), - AP_INIT_TAKE1("DbiPoolMax", set_param, - (void *) cmd_max, RSRC_CONF, - "Maximum number of connections"), - AP_INIT_TAKE1("DbiPoolTTL", set_param, - (void *) cmd_exp, RSRC_CONF, - "Keepalive time for idle connections"), + +static const command_rec authn_dbi_cmds[] = { + /* global config items */ + AP_INIT_TAKE2("PoolDbiDriver", set_dbi_switch_conf, + (void *) CONF_DBI_DRIVER, RSRC_CONF, + "The DBI Driver"), + AP_INIT_TAKE1("PoolDbiDriverDir", set_dbi_driverdir, + (void *) CONF_DBI_DRIVER_DIR, RSRC_CONF, + "The directory containing the DBI drivers"), + AP_INIT_TAKE2("PoolDbiHost", set_dbi_switch_conf, (void *) CONF_DBI_HOST, + RSRC_CONF, + "The host for the database connection"), + AP_INIT_TAKE2("PoolDbiUsername", set_dbi_switch_conf, + (void *) CONF_DBI_USERNAME, RSRC_CONF, + "The username for the database connection"), + AP_INIT_TAKE2("PoolDbiPassword", set_dbi_switch_conf, + (void *) CONF_DBI_PASSWORD, RSRC_CONF, + "The password for the database connection"), + AP_INIT_TAKE2("PoolDbiDBName", set_dbi_switch_conf, (void *) CONF_DBI_NAME, + RSRC_CONF, + "The name of the database containing the tables"), + AP_INIT_TAKE2("PoolDbiConnMin", set_dbi_switch_conf, + (void *) CONF_DBI_CONN_MIN, RSRC_CONF, + "The Minimum Number of Database Connections"), + AP_INIT_TAKE2("PoolDbiConnSoftMax", set_dbi_switch_conf, + (void *) CONF_DBI_CONN_SOFTMAX, RSRC_CONF, + "The Soft Maximum Number of Database Connections"), + AP_INIT_TAKE2("PoolDbiConnHardMax", set_dbi_switch_conf, + (void *) CONF_DBI_CONN_HARDMAX, RSRC_CONF, + "The Hard Maximum Number of Database Connections"), + AP_INIT_TAKE2("PoolDbiConnTTL", set_dbi_switch_conf, + (void *) CONF_DBI_CONN_TTL, RSRC_CONF, + "The Database Pool Time To Live for Each Connection."), {NULL} }; -static void *dbi_pool_cfg(apr_pool_t * p, server_rec * x) -{ - svr_cfg *svr = (svr_cfg *) apr_pcalloc(p, sizeof(svr_cfg)); - return svr; -} + /************ svr cfg: manage db connection pool ****************/ |
From: <fir...@us...> - 2004-02-29 08:58:52
|
Update of /cvsroot/mod-auth/mod_dbi_pool/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14614/include Added Files: mod_dbi_pool.h Log Message: initial work to make mod_dbi_pool support multiple connection pools. --- NEW FILE: mod_dbi_pool.h --- /* ==================================================================== * Copyright 2003-2004 Paul Querna * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * * ==================================================================== */ /** * Author: Paul Querna <chip force-elite.com> * * Originaly Based on mod_mysql_pool by Nick Kew: * http://apache.webthing.com/ * * $Id: mod_dbi_pool.h,v 1.1 2004/02/29 08:40:52 firechipmunk Exp $ */ /** * mod_dbi_pool: manage a pool of libdbi connections. * EXPORTS: * dbi_conn* dbipool_open(server_rec*) * - retrieve a connection from the pool and check it's valid * - May return null and log a message on error. * void dbipool_close(server_rec*, dbi_conn*) * - return a connection to the pool after use * */ #define DFLT_DBI_DBNAME "mod_dbi" #define DFLT_DBI_HOST "localhost" #define DFLT_DBI_DRIVER "mysql" #define DFLT_DBI_USER "root" #define DFLT_DBI_PASS "" /* setting this to NULL triggers a bug in libdbi which causes a segfault. mysql docs * say this must be set to NULL in order to login without a password. fortunately, * setting "" works as well. the bug is reported to the libdbi maintainers. we will * change this back when the bug is fixed. * */ #define DFLT_CONN_MIN (1) #define DFLT_CONN_SOFT (5) #define DFLT_CONN_MAX (25) #define DFLT_CONN_TTL (600) #define DFLT_OPTIONS (0) #ifndef DBI_HARD_MAX_CONNS #define DBI_HARD_MAX_CONNS (255) #endif typedef enum { CONF_DBI_DRIVER, CONF_DBI_DRIVER_DIR, CONF_DBI_HOST, CONF_DBI_USERNAME, CONF_DBI_PASSWORD, CONF_DBI_DBNAME, CONF_DBI_CONN_MIN, CONF_DBI_CONN_SOFTMAX, CONF_DBI_CONN_HARDMAX, CONF_DBI_CONN_TTL, } CONF_DBI; typedef struct dbi_config_rec_struct { const char *dbi_dbname; const char *dbi_user; const char *dbi_pass; const char *dbi_driver; const char *dbi_host; int conn_min; int conn_soft; int conn_max; int conn_ttl; } dbi_config_rec; |
From: <fir...@us...> - 2004-02-26 07:18:10
|
Update of /cvsroot/mod-auth/mod_authn_dbi/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18994/src Modified Files: Makefile.am Log Message: updated URL and removed Sed Warning (I can't break it with the new autogen stuff.) Index: Makefile.am =================================================================== RCS file: /cvsroot/mod-auth/mod_authn_dbi/src/Makefile.am,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- Makefile.am 8 Feb 2004 04:02:03 -0000 1.5 +++ Makefile.am 26 Feb 2004 07:02:35 -0000 1.6 @@ -17,8 +17,8 @@ @echo "***********************************************" @echo "" @echo " Please read the documentation at " - @echo " http://mod-auth.sourceforge.net/docs/ for " - @echo " details on configuration of this module " + @echo " http://mod-auth.sourceforge.net/docs/mod_authn_dbi" + @echo " for details on configuration of this module " @echo "" @echo "***********************************************" @echo "" |
From: <fir...@us...> - 2004-02-26 07:18:09
|
Update of /cvsroot/mod-auth/mod_authn_dbi In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18994 Modified Files: configure.in Log Message: updated URL and removed Sed Warning (I can't break it with the new autogen stuff.) Index: configure.in =================================================================== RCS file: /cvsroot/mod-auth/mod_authn_dbi/configure.in,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- configure.in 8 Feb 2004 22:41:12 -0000 1.6 +++ configure.in 26 Feb 2004 07:02:35 -0000 1.7 @@ -185,11 +185,6 @@ echo "" echo " * Apache modules directory = $LIBEXECDIR" echo " * libdbi include directory = $DBI_INCLUDES" -echo " * libdbi libs = $DBI_LIB" +echo " * libdbi libs directory = $DBI_LIB" echo "" echo "---" - -echo "****" -echo " If you have problems with libtool try this:" -echo " export SED=sed" -echo "****" |
From: <fir...@us...> - 2004-02-26 07:14:29
|
Update of /cvsroot/mod-auth/mod_authn_dbi In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18467 Modified Files: TODO Log Message: updated TODO. Index: TODO =================================================================== RCS file: /cvsroot/mod-auth/mod_authn_dbi/TODO,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- TODO 25 Feb 2004 21:48:06 -0000 1.7 +++ TODO 26 Feb 2004 06:58:53 -0000 1.8 @@ -15,6 +15,7 @@ 1.0.0 - Testimonials / Who is using it - put it on the website? - Some Sort of Official Security Audit + - Mangle usernames [axel/deferred for now] - Benchmarks? - vs File, DBM and No Authentication? - High Load Throughput? @@ -38,14 +39,12 @@ ----- Released Versions: 0.9.0 - - Include HTML/XML Documentation in Releases? - - Create Plain Text XSL Stuff + + Include Plain Text Documentation in Releases + Use APXS for Makefiles [chip] + Remove extra files from CVS (autoconf/make stuff we don't need) [chip] - ? Have external people look for security issues (Prep for 1.0) - - Create "security-issues" contact address (for whole auth project?) - - Mangle usernames [axel/deferred for now] - - More SQL Variables [axel/done] + + Have external people look for security issues (Prep for 1.0) + + Create "security-issues" contact address + + More SQL Variables [axel/done] - Send Announcements: - SourceForge - FreshMeat [chip] |
From: <ho...@us...> - 2004-02-25 22:41:05
|
Update of /cvsroot/mod-auth/mod_authn_dbi In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19027 Modified Files: ChangeLog Log Message: even more ;) Index: ChangeLog =================================================================== RCS file: /cvsroot/mod-auth/mod_authn_dbi/ChangeLog,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- ChangeLog 25 Feb 2004 22:23:45 -0000 1.10 +++ ChangeLog 25 Feb 2004 22:25:46 -0000 1.11 @@ -1,3 +1,9 @@ +-------------------------------------------------------------------------------------------------------- +25.02.2004 22:48 (CET), honx + - Updated documentation + + +-------------------------------------------------------------------------------------------------------- 16.02.2004 15:12 (CET), honx - Added a workaround for a segfault if the database server is not up - Added some error checking to the authentication functions |
From: <ho...@us...> - 2004-02-25 22:39:19
|
Update of /cvsroot/mod-auth/mod_authn_dbi In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18386 Modified Files: ChangeLog Log Message: update changelog Index: ChangeLog =================================================================== RCS file: /cvsroot/mod-auth/mod_authn_dbi/ChangeLog,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- ChangeLog 8 Feb 2004 22:41:12 -0000 1.9 +++ ChangeLog 25 Feb 2004 22:23:45 -0000 1.10 @@ -1,3 +1,8 @@ +16.02.2004 15:12 (CET), honx + - Added a workaround for a segfault if the database server is not up + - Added some error checking to the authentication functions + + -------------------------------------------------------------------------------------------------------- 08.02.2004 15:44 (MST), firechipmunk - Removed DBI_NOT_THREAD_SAFE |
From: <ho...@us...> - 2004-02-25 22:04:26
|
Update of /cvsroot/mod-auth/mod_auth_webspace/htdocs/docs/mod_authn_dbi In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9876 Modified Files: index.xml Log Message: just a small typo Index: index.xml =================================================================== RCS file: /cvsroot/mod-auth/mod_auth_webspace/htdocs/docs/mod_authn_dbi/index.xml,v retrieving revision 1.13 retrieving revision 1.14 diff -u -d -r1.13 -r1.14 --- index.xml 25 Feb 2004 21:31:13 -0000 1.13 +++ index.xml 25 Feb 2004 21:49:10 -0000 1.14 @@ -55,7 +55,7 @@ mechanism common to many Open Source programs. Most of the dirty work is handled by either configure or - Apache's apx utility. If you have built apache modules before, there + Apache's apxs utility. If you have built Apache modules before, there shouldn't be any surprises for you. </p> <p> |
From: <ho...@us...> - 2004-02-25 22:03:22
|
Update of /cvsroot/mod-auth/mod_authn_dbi In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9599 Modified Files: INSTALL README AUTHORS TODO Log Message: polished the documentation a little Index: INSTALL =================================================================== RCS file: /cvsroot/mod-auth/mod_authn_dbi/INSTALL,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- INSTALL 25 Oct 2003 04:14:38 -0000 1.2 +++ INSTALL 25 Feb 2004 21:48:06 -0000 1.3 @@ -1,229 +1,6 @@ -Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002 Free Software -Foundation, Inc. - - This file is free documentation; the Free Software Foundation gives -unlimited permission to copy, distribute and modify it. - -Basic Installation -================== - - These are generic installation instructions. - - The `configure' shell script attempts to guess correct values for -various system-dependent variables used during compilation. It uses -those values to create a `Makefile' in each directory of the package. -It may also create one or more `.h' files containing system-dependent -definitions. Finally, it creates a shell script `config.status' that -you can run in the future to recreate the current configuration, and a -file `config.log' containing compiler output (useful mainly for -debugging `configure'). - - It can also use an optional file (typically called `config.cache' -and enabled with `--cache-file=config.cache' or simply `-C') that saves -the results of its tests to speed up reconfiguring. (Caching is -disabled by default to prevent problems with accidental use of stale -cache files.) - - If you need to do unusual things to compile the package, please try -to figure out how `configure' could check whether to do them, and mail -diffs or instructions to the address given in the `README' so they can -be considered for the next release. If you are using the cache, and at -some point `config.cache' contains results you don't want to keep, you -may remove or edit it. - - The file `configure.ac' (or `configure.in') is used to create -`configure' by a program called `autoconf'. You only need -`configure.ac' if you want to change it or regenerate `configure' using -a newer version of `autoconf'. - -The simplest way to compile this package is: - - 1. `cd' to the directory containing the package's source code and type - `./configure' to configure the package for your system. If you're - using `csh' on an old version of System V, you might need to type - `sh ./configure' instead to prevent `csh' from trying to execute - `configure' itself. - - Running `configure' takes awhile. While running, it prints some - messages telling which features it is checking for. - - 2. Type `make' to compile the package. - - 3. Optionally, type `make check' to run any self-tests that come with - the package. - - 4. Type `make install' to install the programs and any data files and - documentation. - - 5. You can remove the program binaries and object files from the - source code directory by typing `make clean'. To also remove the - files that `configure' created (so you can compile the package for - a different kind of computer), type `make distclean'. There is - also a `make maintainer-clean' target, but that is intended mainly - for the package's developers. If you use it, you may have to get - all sorts of other programs in order to regenerate files that came - with the distribution. - -Compilers and Options -===================== - - Some systems require unusual options for compilation or linking that -the `configure' script does not know about. Run `./configure --help' -for details on some of the pertinent environment variables. - - You can give `configure' initial values for configuration parameters -by setting variables in the command line or in the environment. Here -is an example: - - ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix - - *Note Defining Variables::, for more details. - -Compiling For Multiple Architectures -==================================== - - You can compile the package for more than one kind of computer at the -same time, by placing the object files for each architecture in their -own directory. To do this, you must use a version of `make' that -supports the `VPATH' variable, such as GNU `make'. `cd' to the -directory where you want the object files and executables to go and run -the `configure' script. `configure' automatically checks for the -source code in the directory that `configure' is in and in `..'. - - If you have to use a `make' that does not support the `VPATH' -variable, you have to compile the package for one architecture at a -time in the source code directory. After you have installed the -package for one architecture, use `make distclean' before reconfiguring -for another architecture. - -Installation Names -================== - - By default, `make install' will install the package's files in -`/usr/local/bin', `/usr/local/man', etc. You can specify an -installation prefix other than `/usr/local' by giving `configure' the -option `--prefix=PATH'. - - You can specify separate installation prefixes for -architecture-specific files and architecture-independent files. If you -give `configure' the option `--exec-prefix=PATH', the package will use -PATH as the prefix for installing programs and libraries. -Documentation and other data files will still use the regular prefix. - - In addition, if you use an unusual directory layout you can give -options like `--bindir=PATH' to specify different values for particular -kinds of files. Run `configure --help' for a list of the directories -you can set and what kinds of files go in them. - If the package supports it, you can cause programs to be installed -with an extra prefix or suffix on their names by giving `configure' the -option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. - -Optional Features -================= - - Some packages pay attention to `--enable-FEATURE' options to -`configure', where FEATURE indicates an optional part of the package. -They may also pay attention to `--with-PACKAGE' options, where PACKAGE -is something like `gnu-as' or `x' (for the X Window System). The -`README' should mention any `--enable-' and `--with-' options that the -package recognizes. - - For packages that use the X Window System, `configure' can usually -find the X include and library files automatically, but if it doesn't, -you can use the `configure' options `--x-includes=DIR' and -`--x-libraries=DIR' to specify their locations. - -Specifying the System Type -========================== - - There may be some features `configure' cannot figure out -automatically, but needs to determine by the type of machine the package -will run on. Usually, assuming the package is built to be run on the -_same_ architectures, `configure' can figure that out, but if it prints -a message saying it cannot guess the machine type, give it the -`--build=TYPE' option. TYPE can either be a short name for the system -type, such as `sun4', or a canonical name which has the form: - - CPU-COMPANY-SYSTEM - -where SYSTEM can have one of these forms: - - OS KERNEL-OS - - See the file `config.sub' for the possible values of each field. If -`config.sub' isn't included in this package, then this package doesn't -need to know the machine type. - - If you are _building_ compiler tools for cross-compiling, you should -use the `--target=TYPE' option to select the type of system they will -produce code for. - - If you want to _use_ a cross compiler, that generates code for a -platform different from the build platform, you should specify the -"host" platform (i.e., that on which the generated programs will -eventually be run) with `--host=TYPE'. - -Sharing Defaults -================ - - If you want to set default values for `configure' scripts to share, -you can create a site shell script called `config.site' that gives -default values for variables like `CC', `cache_file', and `prefix'. -`configure' looks for `PREFIX/share/config.site' if it exists, then -`PREFIX/etc/config.site' if it exists. Or, you can set the -`CONFIG_SITE' environment variable to the location of the site script. -A warning: not all `configure' scripts look for a site script. - -Defining Variables -================== - - Variables not defined in a site shell script can be set in the -environment passed to `configure'. However, some packages may run -configure again during the build, and the customized values of these -variables may be lost. In order to avoid this problem, you should set -them in the `configure' command line, using `VAR=value'. For example: - - ./configure CC=/usr/local2/bin/gcc - -will cause the specified gcc to be used as the C compiler (unless it is -overridden in the site shell script). - -`configure' Invocation -====================== - - `configure' recognizes the following options to control how it -operates. - -`--help' -`-h' - Print a summary of the options to `configure', and exit. - -`--version' -`-V' - Print the version of Autoconf used to generate the `configure' - script, and exit. - -`--cache-file=FILE' - Enable the cache: use and save the results of the tests in FILE, - traditionally `config.cache'. FILE defaults to `/dev/null' to - disable caching. - -`--config-cache' -`-C' - Alias for `--cache-file=config.cache'. - -`--quiet' -`--silent' -`-q' - Do not print messages saying which checks are being made. To - suppress all normal output, redirect it to `/dev/null' (any error - messages will still be shown). - -`--srcdir=DIR' - Look for the package's source code in directory DIR. Usually - `configure' can determine that directory automatically. - -`configure' also accepts some other, not widely useful, options. Run -`configure --help' for more details. +NOTE: The main documentation of mod_authn_dbi lives at + http://mod-auth.sourceforge.net/docs/mod_authn_dbi/ + See README for a quick'n'dirty ascii-conversion in + case you don't have a browser handy! Index: README =================================================================== RCS file: /cvsroot/mod-auth/mod_authn_dbi/README,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- README 25 Oct 2003 21:58:54 -0000 1.3 +++ README 25 Feb 2004 21:48:06 -0000 1.4 @@ -1,512 +1,647 @@ +This Apache Module is part of the "2.1 Authentication Project". +Homepage: http://mod-auth.sourceforge.net/ -What is mod_authn_dbi? -====================== - -Auth*Provider for Apache 2.1-dev/2.2 using libdbi as a backend. -This should allow use of many different databases, including MySQL, PgSQL, and Oracle. [...999 lines suppressed...] - password value will be accepted with any password that - the user supplies. default for this option is "disabled" +AuthnDbiUsernameField Directive +------------------------------- +Description: The table field that contains the username +Syntax: AuthnDbiUsernameField DbiConfigName field +Default: Username +Context: server config +Status: External +Module: mod_authn_dbi -5.) support for disabled passwords - any account with "!" or "*" as value - will be interpreted as locked account. - basically this just suppresses a warning and - could be done with IsActive ...but whatever :-} - (actually, i needed it for an existing installation - i plan to use mod_authn_dbi with) +The name of the column that mod_authn_dbi will interpret as username. Index: AUTHORS =================================================================== RCS file: /cvsroot/mod-auth/mod_authn_dbi/AUTHORS,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- AUTHORS 8 Feb 2004 06:12:31 -0000 1.3 +++ AUTHORS 25 Feb 2004 21:48:06 -0000 1.4 @@ -1,8 +1,79 @@ +This Apache Module is part of the "2.1 Authentication Project". + +Homepage: http://mod-auth.sourceforge.net/ + + Core Coding: - Paul Querna - Axel Grossklaus + Paul Querna <ch...@fo...> + Axel Grossklaus <ho...@us...> Various Bug Fixes: Rob Emanuele Brice Tebbs + + + +PGP-Keys: + + +pub 1024D/20EBD970 2004-02-25 Axel Grossklaus <ho...@us...> +sig 3 20EBD970 2004-02-25 Axel Grossklaus <ho...@us...> +sig 3 CAAED99D 2004-02-25 Axel Grossklaus <ax...@no...> +sig 3 F6CA1C7F 2004-02-25 Axel Grossklaus <ag...@pr...> +sub 4096g/4645E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x17Qe5pdaLND42oAkofNN10zOF1rcdq7SBgtAsSydP2zDZtetVP8AAwUQAOYI +d1/q/P8lq415WVHJbhGPsoE6NIDHuwJUtI+c8vO5ddwIO5RYlKPyDzAcFnkpAfC6 +PLzC/0Z2GyLGhXLfpFW8lY37/9A1QUUNFpKII5Y7eKclyfdt06JRFRe+8+bzb5dt +C75iWVwn6/aCyVYb3RsCKBWHMUgU4usSint/08JhRWi8XMLwkoW0C85Tn3FFLMkd +ZyZDf5/2YKWBZvLkT3Pd9n+VbQ3g/QHuwxealALqdqzJmsappfaH7SbwrnbqqCMt +AsWdTLLcRSBIuOrxK5d6awq8tUxJgVF0Q5t/rTFY6nMgFyZw4/FlGMEYpy3hsiJu +WKZpbypobWgqTZkroZhrL/06WIPtekmpVRsTdfnU0p4RNZXdptnRlvrlFG9z+T4/ +0mi66vmpC8BIM9JPQaiZ9N3ZbGjH8cmJBzvn8hi+NA6Hg3x7S5Ms+dmBV0xpUN6G +Y2dvAJX6WKm8R1+pavjQACaBuhGKe2y6JSpVDU0qiuxp+UGuyUkm1Q8KhRkTo9Sv +mTHGleil/zO5hETjmEu/cjapmYTPlKPunRwx8U6F7POL+8nO1XNo41eofMb5LJ9R +1lU4CIEwe75bAFNY/afZddnIC47cSNahMO9FxChLGAmKH+zRu+7BLdBnZRQu/+ZO +olTFm2bDeDFn9Woq3bcCJWmm2pp2ugb5hk+LqaPFiEYEGBECAAYFAkA9ALkACgkQ +pFZkeiDr2XAFqgCgp0z/jPZoOn/5vyffp8Bm3+tGvQwAniqh60qDi2oCkZG2fYKS +uN1+7IN8 +=EiPx +-----END PGP PUBLIC KEY BLOCK----- + + + Index: TODO =================================================================== RCS file: /cvsroot/mod-auth/mod_authn_dbi/TODO,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- TODO 8 Feb 2004 22:41:12 -0000 1.6 +++ TODO 25 Feb 2004 21:48:06 -0000 1.7 @@ -35,6 +35,8 @@ - PPC? - Support mod_dbi_pool [chip?] +----- Released Versions: + 0.9.0 - Include HTML/XML Documentation in Releases? - Create Plain Text XSL Stuff @@ -42,15 +44,14 @@ + Remove extra files from CVS (autoconf/make stuff we don't need) [chip] ? Have external people look for security issues (Prep for 1.0) - Create "security-issues" contact address (for whole auth project?) - - Mangle usernames [axel] - - More SQL Variables [axel] + - Mangle usernames [axel/deferred for now] + - More SQL Variables [axel/done] - Send Announcements: - SourceForge - FreshMeat [chip] - modules.apache.org [chip] - Other? ------ Released Versions: 0.0.7 + Create automake/configure scripts [chip] + Merge in Changes from Axel Grossklaus [axel] |
From: <ho...@us...> - 2004-02-25 21:46:29
|
Update of /cvsroot/mod-auth/mod_auth_webspace/htdocs/docs/mod_authn_dbi In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5820 Modified Files: index.xml Log Message: documentation for new config variables Index: index.xml =================================================================== RCS file: /cvsroot/mod-auth/mod_auth_webspace/htdocs/docs/mod_authn_dbi/index.xml,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- index.xml 8 Feb 2004 21:52:13 -0000 1.12 +++ index.xml 25 Feb 2004 21:31:13 -0000 1.13 @@ -580,11 +580,19 @@ <tr><td>GivenUsername</td><td>The Username that was included in the request. This is just what the client sent, not checked in any way.</td></tr> <tr><td>IsActiveField</td><td>The value set by the directive <code>AuthnDbiIsActiveField</code>.</td></tr> + <tr><td>LocalIP</td><td>The local IP address of the webserver that the + current request came in on.</td></tr> <tr><td>Name</td><td>The name of the mod_authn_dbi configuration that is used for the current request.</td></tr> <tr><td>PasswordField</td><td>The value set by the directive <code>AuthnDbiPasswordField</code>.</td></tr> <tr><td>PathInfo</td><td>The path info value from the current request.</td></tr> - <tr><td>Realm</td><td>The Digest realm, only valid for digest authentication.</td></tr> + <tr><td>Realm</td><td>The Digest realm, only valid for digest + authentication.</td></tr> + <tr><td>RemoteIP</td><td>The IP address of the client that sent the + current request.</td></tr> + <tr><td>RemoteHost</td><td>The hostname of the client that sent the + request. Only if available, otherwise it will contain an IP + address. Don't put too much (if any) trust into this.</td></tr> <tr><td>RequestArgs</td><td>Any extra arguments supplied by the client for this request.</td></tr> <tr><td>RequestFile</td><td>The name of the file this request ist for.</td></tr> |
From: <ho...@us...> - 2004-02-25 21:04:28
|
Update of /cvsroot/mod-auth/mod_auth_webspace/htdocs/pgp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27690/pgp Added Files: honx_20EBD970.asc Log Message: added information about security contact and the various mailing lists --- NEW FILE: honx_20EBD970.asc --- pub 1024D/20EBD970 2004-02-25 Axel Grossklaus <ho...@us...> sig 3 20EBD970 2004-02-25 Axel Grossklaus <ho...@us...> sig 3 CAAED99D 2004-02-25 Axel Grossklaus <ax...@no...> sig 3 F6CA1C7F 2004-02-25 Axel Grossklaus <ag...@pr...> sub 4096g/4645EA72 2004-02-25 sig 20EBD970 2004-02-25 Axel Grossklaus <ho...@us...> -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v1.2.2 (GNU/Linux) mQGiBEA8/88RBAC2mRvsvaY/UhFvgI213jvrRbGp7gq5hN4IYsT8Vi9/E87Lu9bc 4WHGE1T8eC3WMbvF+x5F6mJ8ygEcPu37QWB9UiBDRR6ZflRF+GAZZ7Lmnz9jg9/o wRSyUjPXliodFb+em+YizFIJNsLXgl8T6PzQT4AA529RmOjTbFzSiklNzwCg5ATv 3rrhR8TYTxMmXaDqjDRzNkMD/1YYin/YjNYzuLQ6h/RfVhRXNvS9sfv/xCIvxQCt w3u+soKyUC9vZ08lge97LKsND8ZrZbmX7ZeR1YI3aG9HoTLZHZ0VZ+w3dqkYWVDc KW3CvFayYKnqZcRZrcSe6Pk6Up/kg+HvEpDZBo9u8JAbTjWU5/QZYqpa6uTgkGgr KbzKA/4gmAPZluLxMefBFfFrmF3416S9WruRoVy3vqCcW9Eatp2GICYlABTmOH6D B7WOZhW/m4tYgvxjPLin1Ks5F9+CA9PU84ptDulpxi8HsOkRP95Ed5Ao64pngu1l zLV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e75bAFNY/afZddnIC47cSNahMO9FxChLGAmKH+zRu+7BLdBnZRQu/+ZO olTFm2bDeDFn9Woq3bcCJWmm2pp2ugb5hk+LqaPFiEYEGBECAAYFAkA9ALkACgkQ pFZkeiDr2XAFqgCgp0z/jPZoOn/5vyffp8Bm3+tGvQwAniqh60qDi2oCkZG2fYKS uN1+7IN8 =EiPx -----END PGP PUBLIC KEY BLOCK----- |
From: <ho...@us...> - 2004-02-25 21:04:28
|
Update of /cvsroot/mod-auth/mod_auth_webspace/htdocs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27690 Modified Files: index.xml Log Message: added information about security contact and the various mailing lists Index: index.xml =================================================================== RCS file: /cvsroot/mod-auth/mod_auth_webspace/htdocs/index.xml,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- index.xml 17 Nov 2003 04:32:48 -0000 1.11 +++ index.xml 25 Feb 2004 20:49:14 -0000 1.12 @@ -85,6 +85,24 @@ [<a href="http://cvs.sourceforge.net/viewcvs.py/mod-auth/mod_authn_pop3/">cvsweb</a>] </section> </section> + <section id="Support"> + <title>User Support</title> + For support and general discussions about the authentication modules, + please post to the <a + href="http://lists.sourceforge.net/lists/listinfo/mod-auth-users">mod-auth-users</a> mailing list. There also is a a mailing list <a + href="http://lists.sourceforge.net/lists/listinfo/mod-auth-announce">mod-auth-announce</a> for any announcment related to this project. + </section> + <section id="Devel"> + <title>Bug reports and RFEs</title> + If you would like to report a bug in one of the modules or have an idea for + a new feature, please contact us via the <a + href="http://lists.sourceforge.net/lists/listinfo/mod-auth-devel">mod-auth-devel</a> mailing list. For security-related bug reports, see the section "Security" below. + </section> + <section id="Security"> + <title>Security Announcements and Contact</title> + Any security related information will be published through the <a + href="http://lists.sourceforge.net/lists/listinfo/mod-auth-announce">mod-auth-announce</a> mailing list. If you would like to report a security-related problem with one of the modules or otherwise related to the Authentication Project, please contact one of the developers by private EMail and we will do our best to fix it as soon as possible. See the section "Developers" below for contact adresses and PGP/GPG-keys. + </section> <section id="Developers"> <title>Developers</title> @@ -105,7 +123,7 @@ <title>Axel Grossklaus</title> <p> Axel studies computer science at the <a - href="http://www.informatik.uni-hamburg.de/welcome_eng.html">University of Hamburg</a> (Germany) with a specialization in computer and network security. [no website] [<a href="mailto:honx AT users.sourceforge.net">email</a>] + href="http://www.informatik.uni-hamburg.de/welcome_eng.html">University of Hamburg</a> (Germany) with a specialization in computer and network security. [no website] [<a href="mailto:honx AT users.sourceforge.net">email</a>] [<a href="pgp/honx_20EBD970.asc">pgp/gpg-key</a>] </p> </section> </section> |
From: <ho...@us...> - 2004-02-25 20:24:20
|
Update of /cvsroot/mod-auth/mod_auth_webspace/htdocs/pgp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16337/pgp Log Message: Directory /cvsroot/mod-auth/mod_auth_webspace/htdocs/pgp added to the repository |
From: <ho...@us...> - 2004-02-16 14:20:17
|
Update of /cvsroot/mod-auth/mod_authn_dbi/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12342 Modified Files: mod_authn_dbi.c Log Message: prevents segfaulting in reslist management if database server is not available. more of a workaround than an actual fix, but a clean fix would require bigger changes that should wait until we restructure the code for v1.0. Index: mod_authn_dbi.c =================================================================== RCS file: /cvsroot/mod-auth/mod_authn_dbi/src/mod_authn_dbi.c,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -r1.17 -r1.18 --- mod_authn_dbi.c 8 Feb 2004 23:40:33 -0000 1.17 +++ mod_authn_dbi.c 16 Feb 2004 14:12:13 -0000 1.18 @@ -298,7 +298,7 @@ conn_id encap_conn_id(cmd_parms * cmd, const char *conn_id) { - /* this will be used to allow configuration in htaccess */ + /* XXX: this will be used to allow configuration in htaccess */ return conn_id; } @@ -667,8 +667,14 @@ apr_status_t rv; ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, "[mod_authn_dbi.c] Returning Server Connection to DBI Pool"); - rv = apr_reslist_release(dbi_pool, (void **) server); - return rv; + if(dbi_pool) { + rv = apr_reslist_release(dbi_pool, (void **) server); + return rv; + } + else { + /* XXX: This can not really happen, but just to be on the safe side... */ + return APR_EGENERAL; + } } static int safe_dbi_query(dbi_rest * mydbi_res, dbi_result * res, @@ -727,8 +733,11 @@ ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, "[mod_authn_dbi.c] Attempting to Acquire DBI Connection"); - apr_reslist_acquire(conf->pool, (void **) &dbi_res); - + if(!conf->pool || apr_reslist_acquire(conf->pool, (void **) &dbi_res) != APR_SUCCESS) { + ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, + "[mod_authn_dbi.c] Failed to Acquire DBI Connection"); + return AUTH_GENERAL_ERROR; + } /* make the query to get the user's password */ if (conf->rec.isactive_field) { if (conf->rec.password_query == NULL) { @@ -912,8 +921,12 @@ ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, "[mod_authn_dbi.c] Attempting to Acquire DBI Connection"); - apr_reslist_acquire(conf->pool, (void **) &dbi_res); - + if(!conf->pool || apr_reslist_acquire(conf->pool, (void **) &dbi_res) != APR_SUCCESS) { + ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, + "[mod_authn_dbi.c] Failed to Acquire DBI Connection"); + return AUTH_GENERAL_ERROR; + } + /* make the query to get the user's password */ if (conf->rec.isactive_field) { @@ -1047,7 +1060,8 @@ for (idx = apr_hash_first((apr_pool_t *) p, authn_dbi_config); idx; idx = apr_hash_next(idx)) { apr_hash_this(idx, (void *) &key, &len, (void *) &val); - apr_reslist_destroy(val->pool); + if(val->pool) + apr_reslist_destroy(val->pool); } dbi_shutdown(); @@ -1114,13 +1128,25 @@ for (idx = apr_hash_first(p, authn_dbi_config); idx; idx = apr_hash_next(idx)) { apr_hash_this(idx, (void *) &key, &len, (void *) &val); - apr_reslist_create(&val->pool, val->rec.conn_min, /* hard minimum */ + if(apr_reslist_create(&val->pool, val->rec.conn_min, /* hard minimum */ val->rec.conn_soft, /* soft maximum */ val->rec.conn_max, /* hard maximum */ val->rec.conn_ttl, /* Time to live -- dbi server might override/disconnect! */ safe_dbi_new_conn, /* Make a New Connection */ safe_dbi_kill_conn, /* Kill Old Connection */ - (void *) &val->rec, p); + (void *) &val->rec, p) != APR_SUCCESS) + ap_log_perror(APLOG_MARK, APLOG_EMERG, 0, p, + "[mod_authn_dbi.c] - Creation of dbi connection pool failed for config set %s", + key); + /* XXX: If no new connection could be opened, the reslist will not + contain any resources and reslist_create will fail, giving + val->pool the value NULL and making it unusable. The configuration + set is not really recoverable in this case. For now we log this condition + and the authentication functions protect themselves against this + condition. A much better way would be to free the configuration + set completely. But to do this other changes are necessary, so for + now this is basically a workaround. This has to be fixed before + 1.0 */ apr_hash_set(authn_dbi_config, key, APR_HASH_KEY_STRING, val); } |
From: <fir...@us...> - 2004-02-08 23:43:42
|
Update of /cvsroot/mod-auth/mod_authn_dbi/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13382 Modified Files: mod_authn_dbi.c Log Message: no more !APR_SUCCESS. its bad. mmmmkay. Index: mod_authn_dbi.c =================================================================== RCS file: /cvsroot/mod-auth/mod_authn_dbi/src/mod_authn_dbi.c,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- mod_authn_dbi.c 8 Feb 2004 22:41:12 -0000 1.16 +++ mod_authn_dbi.c 8 Feb 2004 23:40:33 -0000 1.17 @@ -280,11 +280,11 @@ /* some sanity checks on conn_id..limits are liberal and are more or less random */ if (strlen(conn_id) > 255) { - return !APR_SUCCESS; + return APR_EGENERAL; } for (c = 0; c < strlen(conn_id); c++) { if (conn_id[c] < ' ') { - return !APR_SUCCESS; + return APR_EGENERAL; } } temp = apr_hash_get(authn_dbi_config, conn_id, APR_HASH_KEY_STRING); |
From: <fir...@us...> - 2004-02-08 23:24:42
|
Update of /cvsroot/mod-auth/mod_authn_cache/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9421/src Modified Files: Makefile.am mod_authn_cache.c Log Message: just a bare module now. No Caching at all. Index: Makefile.am =================================================================== RCS file: /cvsroot/mod-auth/mod_authn_cache/src/Makefile.am,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Makefile.am 8 Feb 2004 22:57:09 -0000 1.2 +++ Makefile.am 8 Feb 2004 23:21:34 -0000 1.3 @@ -8,7 +8,7 @@ @if test ! -L mod_authn_cache.so ; then ln -s .libs/libmod_authn_cache.so mod_authn_cache.so ; fi install: make_so - @${APXS} -i -a -n authn_cache mod_authn_cache.so + @${APXS} -i -a -n authn_cache mod_authn_cache.so @echo "" @echo "" @echo "***********************************************" Index: mod_authn_cache.c =================================================================== RCS file: /cvsroot/mod-auth/mod_authn_cache/src/mod_authn_cache.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- mod_authn_cache.c 8 Feb 2004 22:48:48 -0000 1.8 +++ mod_authn_cache.c 8 Feb 2004 23:21:34 -0000 1.9 @@ -124,7 +124,6 @@ { authn_status auth_result; char* foo; - mcd_res_t *mcd; authn_provider_list *current_provider; authn_cache_conf_t *conf = ap_get_module_config(r->per_dir_config, &authn_cache_module); |
From: <fir...@us...> - 2004-02-08 23:07:27
|
Update of /cvsroot/mod-auth/mod_authn_cache In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5350 Modified Files: TODO autogen.sh Log Message: ho hum. Index: TODO =================================================================== RCS file: /cvsroot/mod-auth/mod_authn_cache/TODO,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- TODO 8 Feb 2004 22:57:09 -0000 1.1 +++ TODO 8 Feb 2004 23:04:04 -0000 1.2 @@ -2,5 +2,5 @@ ? = In Progress + = Complete -0.0.1 - - Move to 2.1 AAA Framework +0.1.0 + - Write a Cache Backend Index: autogen.sh =================================================================== RCS file: /cvsroot/mod-auth/mod_authn_cache/autogen.sh,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- autogen.sh 8 Feb 2004 22:57:09 -0000 1.1 +++ autogen.sh 8 Feb 2004 23:04:04 -0000 1.2 @@ -1,6 +1,5 @@ #!/bin/sh # autogen.sh - generates configure using the autotools -# $Id$ libtoolize --force --copy #libtoolize14 --force --copy aclocal |
From: <fir...@us...> - 2004-02-08 23:00:38
|
Update of /cvsroot/mod-auth/mod_authn_cache/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3473/src Modified Files: Makefile.am Log Message: proper auto* foo Index: Makefile.am =================================================================== RCS file: /cvsroot/mod-auth/mod_authn_cache/src/Makefile.am,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Makefile.am 12 Nov 2003 06:40:28 -0000 1.1 +++ Makefile.am 8 Feb 2004 22:57:09 -0000 1.2 @@ -7,8 +7,8 @@ make_so: @if test ! -L mod_authn_cache.so ; then ln -s .libs/libmod_authn_cache.so mod_authn_cache.so ; fi -install: - $(INSTALL) -m 644 .libs/libmod_authn_cache.so $(LIBEXECDIR)/mod_authn_cache.so +install: make_so + @${APXS} -i -a -n authn_cache mod_authn_cache.so @echo "" @echo "" @echo "***********************************************" |