Your company here — click to reach over 10,000 unique daily visitors

basic_db_auth - Man Page

Database auth helper for Squid


 basic_db_auth [options]


This program verifies username & password to a database



Write debug info to stderr.


Database DSN. Default "DBI:mysql:database=squid"


Database User


Database password


Database table. Default "passwd".


Username column. Default "user".


Password column. Default "password".


Condition, defaults to enabled=1. Specify 1 or "" for no condition If you use --joomla flag, this condition will be changed to block=0


Database contains plain-text passwords


Database contains unsalted MD5 passwords


Database contains unsalted SHA1 passwords


Selects the correct salt to evaluate passwords


Keep a persistent database connection open between queries.


Tells helper that user database is Joomla DB.  So their unusual salt hashing is understood.


This program was written by Henrik Nordstrom <henrik@henriknordstrom.net> and Luis Daniel Lucio Quiroz <dlucio@okay.com.mx>

This manual was written by Henrik Nordstrom <henrik@henriknordstrom.net>


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

Reporting Bugs

Bug reports need to be made in English. See https://wiki.squid-cache.org/SquidFaq/BugReporting for details of what you need to include with your bug report.

Report bugs or bug fixes using https://bugs.squid-cache.org/

Report serious security bugs to Squid Bugs <squid-bugs@lists.squid-cache.org>

Report ideas for new improvements to the Squid Developers mailing list <squid-dev@lists.squid-cache.org>

See Also

squid (8), GPL (7),

The Squid FAQ wiki https://wiki.squid-cache.org/SquidFaq

The Squid Configuration Manual http://www.squid-cache.org/Doc/config/


2024-07-01 perl v5.40.0 User Contributed Perl Documentation