logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

basic_db_auth - Database auth helper for Squid

Author

       This program was written by HenrikNordstrom<henrik@henriknordstrom.net> and LuisDanielLucioQuiroz<dlucio@okay.com.mx>

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

Description

       This program verifies username & password to a database

Name

        basic_db_auth - Database auth helper for Squid

Options

--debug     Write debug info to stderr.

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

       --user      Database User

       --password  Database password

       --table     Database table. Default "passwd".

       --usercol   Username column. Default "user".

       --passwdcol Password column. Default "password".

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

       --plaintext Database contains plain-text passwords

       --md5       Database contains unsalted MD5 passwords

       --sha1      Database contains unsalted SHA1 passwords

       --salt      Selects the correct salt to evaluate passwords

       --persist   Keep a persistent database connection open between queries.

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

Questions

       Questions  on  the  usage  of  this  program  can   be   sent   to   the   SquidUsersmailinglist<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 SquidBugs<squid-bugs@lists.squid-cache.org>

       Report ideas for new improvements to the SquidDevelopersmailinglist<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/

perl v5.40.1                                       2025-05-20                                   BASIC_DB_AUTH(8)

Synopsis

        basic_db_auth [options]

See Also