BASIC_DB_AUTH(8)
π basic_db_auth β the database auth helper for Squid (yes, that one)
okay so real quick before we get into it: this is the manual page for basic_db_auth, a Perl helper that lives in the Squid family. It's giving "small program, big responsibilities." Let's go π«Ά
β¨ NAME β¨
basic_db_auth β the database auth helper for Squid. literally her whole job.
πΈ SYNOPSIS πΈ
basic_db_auth [options]
that's it. that's the whole vibe. options go in, auth comes out π
π¦ DESCRIPTION π¦
This program verifies a username & a password against a database. no cap, that's literally the entire description. it checks if the creds are valid. periodt.
π OPTIONS π
okay bestie, here's the full lineup β every single flag, and I'm not skipping a single one because we don't do that here:
--debugβ writes debug info out to stderr. use it when you're confused. it's your emotional support flag π--dsnβ the Database DSN. default is"DBI:mysql:database=squid"β--userβ the Database User.--passwordβ the Database password π--tableβ the Database table. default is"passwd".--usercolβ the Username column. default is"user".--passwdcolβ the Password column. default is"password".--condβ the Condition. defaults toenabled=1. specify1or""for no condition. and heads up: if you use the--joomlaflag, this condition gets changed toblock=0.--plaintextβ tells it the Database contains plain-text passwords.--md5β tells it the Database contains unsalted MD5 passwords.--sha1β tells it the Database contains unsalted SHA1 passwords.--saltβ selects the correct salt to evaluate passwords π§β¨--persistβ keeps a persistent database connection open between queries. lowkey efficient.--joomlaβ tells the helper that the user database is a Joomla DB. so their unusual salt hashing is understood. iykyk.
π AUTHOR π
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>.
absolute icons, both of them π
π COPYRIGHT π
* Copyright (C) 1996-2026 The Squid Software Foundation and contributors
*
* Squid software is distributed under GPLv2+ license and includes
* contributions from numerous individuals and organizations.
* Please see the COPYING and CONTRIBUTORS files for details.
Copyright (C) 2007 Henrik Nordstrom <henrik@henriknordstrom.net> Copyright (C) 2010 Luis Daniel Lucio Quiroz <dlucio@okay.com.mx> (Joomla support)
This program is free software. You may redistribute copies of it under the terms of the GNU General Public License version 2, or (at your opinion) any later version. slay, licensing-wise π
β QUESTIONS β
Questions on the usage of this program can be sent to the Squid Users mailing list <squid-users@lists.squid-cache.org>. they're nice, don't be scared π«Ά
π₯ 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. (ngl, reading that first saves everybody time.)
Report bugs or bug fixes using https://bugs.squid-cache.org/
Report serious security bugs to Squid Bugs <squid-bugs@lists.squid-cache.org> β seriously, security stuff goes here, not the general pile π
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/
and that's the page bestie π this one's running on perl v5.42.2, dated 2026-08-25 β main character energy from start to finish. go authenticate something, ily π
π
π¦ where this page comes from
- arch rolling: squid 7.7-1 Β· GPL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms