carta
basic_db_auth(8)

basic_db_auth8

Usage

basic_db_auth [options]

Overview

This program verifies username & password to a database

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 Squid Users mailing list <[email protected]>

History

  • Arch Linux 2026-11-01: the text shown here
  • Debian 13 (Trixie)
  • Debian 12 (Bookworm)
  • Debian 11 (Bullseye)
  • Debian 10 (Buster)
  • Debian 9 (Stretch)
  • Debian 8 (Jessie)

--cond since Debian 9 (Stretch); --debug since Debian 9 (Stretch); --dsn since Debian 9 (Stretch); --joomla since Debian 9 (Stretch); --md5 since Debian 9 (Stretch); --passwdcol since Debian 9 (Stretch); --password since Debian 9 (Stretch); --persist since Debian 9 (Stretch); --plaintext since Debian 9 (Stretch); --salt since Debian 9 (Stretch); --sha1 since Debian 10 (Buster); --table since Debian 9 (Stretch); --user since Debian 9 (Stretch); --usercol since Debian 9 (Stretch).

Author

This program was written by Henrik Nordstrom <[email protected]> and Luis Daniel Lucio Quiroz <[email protected]>

This manual was written by Henrik Nordstrom <[email protected]>

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 <[email protected]>

Report ideas for new improvements to the Squid Developers mailing list <[email protected]>

From squid 7.7-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.