1BASIC_DB_AUTH(8)      User Contributed Perl Documentation     BASIC_DB_AUTH(8)
2
3
4

NAME

6        basic_db_auth - Database auth helper for Squid
7

SYNOPSIS

9        basic_db_auth [options]
10

DESCRIPTION

12       This program verifies username & password to a database
13

OPTIONS

15       --debug     Write debug info to stderr.
16
17       --dsn       Database DSN. Default "DBI:mysql:database=squid"
18
19       --user      Database User
20
21       --password  Database password
22
23       --table     Database table. Default "passwd".
24
25       --usercol   Username column. Default "user".
26
27       --passwdcol Password column. Default "password".
28
29       --cond      Condition, defaults to enabled=1. Specify 1 or "" for no
30                   condition If you use --joomla flag, this condition will be
31                   changed to block=0
32
33       --plaintext Database contains plain-text passwords
34
35       --md5       Database contains unsalted MD5 passwords
36
37       --sha1      Database contains unsalted SHA1 passwords
38
39       --salt      Selects the correct salt to evaluate passwords
40
41       --persist   Keep a persistent database connection open between queries.
42
43       --joomla    Tells helper that user database is Joomla DB.  So their
44                   unusual salt hashing is understood.
45

AUTHOR

47       This program was written by Henrik Nordstrom
48       <henrik@henriknordstrom.net> and Luis Daniel Lucio Quiroz
49       <dlucio@okay.com.mx>
50
51       This manual was written by Henrik Nordstrom
52       <henrik@henriknordstrom.net>
53
55        * Copyright (C) 1996-2021 The Squid Software Foundation and contributors
56        *
57        * Squid software is distributed under GPLv2+ license and includes
58        * contributions from numerous individuals and organizations.
59        * Please see the COPYING and CONTRIBUTORS files for details.
60
61       Copyright (C) 2007 Henrik Nordstrom <henrik@henriknordstrom.net>
62       Copyright (C) 2010 Luis Daniel Lucio Quiroz <dlucio@okay.com.mx>
63       (Joomla support) This program is free software. You may redistribute
64       copies of it under the terms of the GNU General Public License version
65       2, or (at your opinion) any later version.
66

QUESTIONS

68       Questions on the usage of this program can be sent to the Squid Users
69       mailing list <squid-users@lists.squid-cache.org>
70

REPORTING BUGS

72       Bug reports need to be made in English.  See
73       http://wiki.squid-cache.org/SquidFaq/BugReporting for details of what
74       you need to include with your bug report.
75
76       Report bugs or bug fixes using http://bugs.squid-cache.org/
77
78       Report serious security bugs to Squid Bugs
79       <squid-bugs@lists.squid-cache.org>
80
81       Report ideas for new improvements to the Squid Developers mailing list
82       <squid-dev@lists.squid-cache.org>
83

SEE ALSO

85       squid (8), GPL (7),
86
87       The Squid FAQ wiki http://wiki.squid-cache.org/SquidFaq
88
89       The Squid Configuration Manual http://www.squid-cache.org/Doc/config/
90
91
92
93perl v5.34.0                      2021-10-05                  BASIC_DB_AUTH(8)
Impressum