---
name: "squid3_db_auth"
section: "8"
platform: "linux"
package: "squid3"
version: "3.1.20-2.2+deb7u4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/squid3_db_auth"
---

# squid3\_db\_auth(8)

Database auth helper for Squid

## NAME

squid\_db\_auth - Database auth helper for Squid

## SYNOPSIS

squid\_db\_auth \[options\]

## DESCRIPTOIN

This program verifies username & password to a database

- **--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

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

## COPYRIGHT

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 youropinion) any later version.
