1BASIC_DB_AUTH(8) User Contributed Perl Documentation BASIC_DB_AUTH(8)
2
3
4
6 basic_db_auth - Database auth helper for Squid
7
9 basic_db_auth [options]
10
12 This program verifies username & password to a database
13
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 --salt Selects the correct salt to evaluate passwords
38
39 --persist Keep a persistent database connection open between queries.
40
41 --joomla Tells helper that user database is Joomla DB. So their
42 unusual salt hashing is understood.
43
45 This program was written by Henrik Nordstrom
46 <henrik@henriknordstrom.net> and Luis Daniel Lucio Quiroz
47 <dlucio@okay.com.mx>
48
49 This manual was written by Henrik Nordstrom
50 <henrik@henriknordstrom.net>
51
53 * Copyright (C) 1996-2016 The Squid Software Foundation and contributors
54 *
55 * Squid software is distributed under GPLv2+ license and includes
56 * contributions from numerous individuals and organizations.
57 * Please see the COPYING and CONTRIBUTORS files for details.
58
59 Copyright (C) 2007 Henrik Nordstrom <henrik@henriknordstrom.net>
60 Copyright (C) 2010 Luis Daniel Lucio Quiroz <dlucio@okay.com.mx>
61 (Joomla support) This program is free software. You may redistribute
62 copies of it under the terms of the GNU General Public License version
63 2, or (at your opinion) any later version.
64
66 Questions on the usage of this program can be sent to the Squid Users
67 mailing list <squid-users@squid-cache.org>
68
70 Bug reports need to be made in English. See
71 http://wiki.squid-cache.org/SquidFaq/BugReporting for details of what
72 you need to include with your bug report.
73
74 Report bugs or bug fixes using http://bugs.squid-cache.org/
75
76 Report serious security bugs to Squid Bugs <squid-bugs@squid-cache.org>
77
78 Report ideas for new improvements to the Squid Developers mailing list
79 <squid-dev@squid-cache.org>
80
82 squid (8), GPL \fIs0(7),
83
84 The Squid FAQ wiki http://wiki.squid-cache.org/SquidFaq
85
86 The Squid Configuration Manual http://www.squid-cache.org/Doc/config/
87
88
89
90perl v5.16.3 2019-01-29 BASIC_DB_AUTH(8)