Sponsored Content
Operating Systems Linux Using squid_db_auth to authenticate squid users against SQLite Post 302529278 by majid.merkava on Thursday 9th of June 2011 02:15:40 AM
Old 06-09-2011
Using squid_db_auth to authenticate squid users against SQLite

Hi guys,

Can we use squid_db_auth to authenticate squid users against SQLite database? I googled but all configurations are in MySQL.
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

sqlite issue?

i'm on freebsd 5.2.1, and from a fresh installation i've used pkg_add for the latest ported version of apache, as well as installing php 5. supposedly php5 comes with native support for sqlite (in the binary package), and this is what i added. i am trying to install a site engine (the 'gyrator'... (0 Replies)
Discussion started by: brandan
0 Replies

2. HP-UX

sqlite database in HP-UX vs Linux

Hi everybody, We have a cgi application which accesses sqlite database. It works fine in Linux environment but the same code doesn't enter data into the database when done in HP-UX environment. Should the codes vary depending on whether it is Linux or HP-UX. Regards Ruma (1 Reply)
Discussion started by: perlprg
1 Replies

3. Shell Programming and Scripting

Perl - SQLite question

Hello All, I am trying to write a Perl script that is using 'SQLite' as the application needs a very light weight Database. I wanted to know how to catch exceptions when I run queries in SQLite. Without this the Perl script comes to a halt everytime an exception occurs. Please help. Regards,... (4 Replies)
Discussion started by: garric
4 Replies

4. Shell Programming and Scripting

hell and sqlite

Hi everyone, I have a requirement that requires me to fill an sqlite database with 100,000 entries (no duplicates). I will start out by giving the command that will insert the values necessary to populate the database: # sqlite /var/local/database/dblist "insert into list... (2 Replies)
Discussion started by: ogoy
2 Replies

5. AIX

Authenticate AIX users from MS Active Directory

First, let me start off saying this is not spam. This is me trying to help out other AIX Admins with MS AD servers. If it is not applicable to you, someone else will find it useful. As long as the "KDC" service is running on your AD server, these steps should work. There should be no... (3 Replies)
Discussion started by: kah00na
3 Replies

6. IP Networking

Squid vs iptables = no Squid access.log?

Hello, I have a pretty useless satellite link at home (far from any civilization), so I wanted to set up caching in order to speed things up. My Squid 2.6 runs "3128 transparent" and is set up quite well on a separate machine. I also have my dd-wrt router to move all port 80 traffic through... (0 Replies)
Discussion started by: theWojtek
0 Replies

7. UNIX for Advanced & Expert Users

Windows AD users authenticate to Linux

Hello folks, Please advise me what is the best way to authenticate Windows AD users against Linux machines. Currently I am going to take a look of Vintela Authentication Services and please let me know if you have experience with VIntela. Thanks in advance (1 Reply)
Discussion started by: Vit0_Corleone
1 Replies
Wiki::Toolkit::Setup::SQLite(3pm)			User Contributed Perl Documentation			 Wiki::Toolkit::Setup::SQLite(3pm)

NAME
Wiki::Toolkit::Setup::SQLite - Set up tables for a Wiki::Toolkit store in a SQLite database. SYNOPSIS
use Wiki::Toolkit::Setup::SQLite; Wiki::Toolkit::Setup::SQLite::setup( $dbfile ); DESCRIPTION
Set up a SQLite database for use as a Wiki::Toolkit store. FUNCTIONS
setup use Wiki::Toolkit::Setup::SQLite; Wiki::Toolkit::Setup::SQLite::setup( $filename ); or Wiki::Toolkit::Setup::SQLite::setup( $dbh ); Takes one argument - either the name of the file that the SQLite database is stored in or an active database handle. NOTE: If a table that the module wants to create already exists, "setup" will leave it alone. This means that you can safely run this on an existing Wiki::Toolkit database to bring the schema up to date with the current Wiki::Toolkit version. If you wish to completely start again with a fresh database, run "cleardb" first. An optional second argument may be passed specifying the schema version to use; this is ONLY intended to be used during unit testing and should not normally be specified. cleardb use Wiki::Toolkit::Setup::SQLite; # Clear out all Wiki::Toolkit tables from the database. Wiki::Toolkit::Setup::SQLite::cleardb( $filename ); or Wiki::Toolkit::Setup::SQLite::cleardb( $dbh ); Takes one argument - either the name of the file that the SQLite database is stored in or an active database handle. Clears out all Wiki::Toolkit store tables from the database. NOTE that this will lose all your data; you probably only want to use this for testing purposes or if you really screwed up somewhere. Note also that it doesn't touch any Wiki::Toolkit search backend tables; if you have any of those in the same or a different database see Wiki::Toolkit::Setup::DBIxFTS or Wiki::Toolkit::Setup::SII, depending on which search backend you're using. ALTERNATIVE CALLING SYNTAX
As requested by Podmaster. Instead of passing arguments to the methods as ($filename) you can pass them as ( { dbname => $filename } ) or indeed ( { dbh => $dbh } ) Note that's a hashref, not a hash. AUTHOR
Kake Pugh (kake@earth.li). COPYRIGHT
Copyright (C) 2002-2004 Kake Pugh. All Rights Reserved. Copyright (C) 2006-2009 the Wiki::Toolkit team. All Rights Reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO
Wiki::Toolkit, Wiki::Toolkit::Setup::DBIxFTS, Wiki::Toolkit::Setup::SII perl v5.14.2 2011-09-25 Wiki::Toolkit::Setup::SQLite(3pm)
All times are GMT -4. The time now is 02:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy