Squid_MySQL_Auth

Samba_MySQL_Auth is a user authentication plugin for Squid, a cache and web accelerator.

I originally wrote Squid_MySQL_Auth for Plumstead High School to run on their rebuilt FreeBSD Server in order to reduce the memory consumption of running multiple ncsa_auth processes which when loaded using a flat file was taking up 48Mb of RAM per process for 5 processes, which was causing the server to swap RAM, seeing that the server had a minimal amount of RAM for the task.

While reinstalling the server I developed a web interface for managing users on the system which in turn used sudo to create the users system user account and set the user up for samba access. The MySQL database was used to manage users (via the web interface) as well as configuring various services to the users for web accesss, roaming profiles, and an email account).

Download

Download a copy of Squid_MySQL_Auth from the projects subversion repository or download a tarball:

  • Squid_MySQL_Auth version 1.0 tbz2 | tgz