Go to main content

man pages section 8: System Administration Commands

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

basic_db_auth (8)

Name

basic_db_auth - Database auth helper for Squid

Synopsis

basic_db_auth [options]

Description

User Contributed Perl Documentation                           BASIC_DB_AUTH(8)



NAME
        basic_db_auth - Database auth helper for Squid

SYNOPSIS
        basic_db_auth [options]

DESCRIPTION
       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.

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>

COPYRIGHT
        * Copyright (C) 1996-2021 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.

QUESTIONS
       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
       http://wiki.squid-cache.org/SquidFaq/BugReporting for details of what
       you need to include with your bug report.

       Report bugs or bug fixes using http://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>


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+------------------+
       |ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
       +---------------+------------------+
       |Availability   | web/proxy/squid  |
       +---------------+------------------+
       |Stability      | Uncommitted      |
       +---------------+------------------+

SEE ALSO
       squid (8), GPL (7),

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

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



NOTES
       Source code for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This software was built from source available at
       https://github.com/oracle/solaris-userland.  The original community
       source was downloaded from  http://www.squid-
       cache.org/Versions/v4/squid-4.15.tar.xz.

       Further information about this software can be found on the open source
       community website at http://www.squid-cache.org/.



perl v5.32.0                      2022-06-28                  BASIC_DB_AUTH(8)