Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

squid3_db_auth(8) [debian man page]

SQUID_DB_AUTH(8)					User Contributed Perl Documentation					  SQUID_DB_AUTH(8)

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. perl v5.14.2 2014-08-28 SQUID_DB_AUTH(8)

Check Out this Related Man Page

Test::Database::Handle(3pm)				User Contributed Perl Documentation			       Test::Database::Handle(3pm)

NAME
Test::Database::Handle - A class for Test::Database handles SYNOPSIS
use Test::Database; my $handle = Test::Database->handle(@requests); my $dbh = $handle->dbh(); DESCRIPTION
"Test::Database::Handle" is a very simple class for encapsulating the information about a test database handle. "Test::Database::Handle" objects are used within a test script to obtain the necessary information about a test database handle. Handles are obtained through the "Test::Database->handles()" or "Test::Database->handle()" methods. METHODS
"Test::Database::Handle" provides the following methods: new( %args ) Return a new "Test::Database::Handle" with the given parameters ("dsn", "username", "password"). The only mandatory argument is "dsn". The following accessors are available. dsn() Return the Data Source Name. username() Return the connection username. password() Return the connection password. connection_info() Return the connection information triplet ("dsn", "username", "password"). dbh( [ $attr ] ) Return the DBI database handle obtained when connecting with the connection triplet returned by "connection_info()". The optional parameter $attr is a reference to a hash of connection attributes, passed directly to DBI's "connect()" method. name() Return the database name attached to the handle. dbd() Return the DBI driver name, as computed from the "dsn". driver() Return the "Test::Database::Driver" object attached to the handle. AUTHOR
Philippe Bruhat (BooK), "<book@cpan.org>" COPYRIGHT
Copyright 2008-2010 Philippe Bruhat (BooK), all rights reserved. LICENSE
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.1 2010-11-27 Test::Database::Handle(3pm)
Man Page