Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 09-14-2005, 09:19 PM   #1
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
Squid With PAM authentication

hi there,

i've been trying to get squid to authenticate against Active directory using NTLM authentication but no luck.

but now i've found out squid can use a PAM module. but there is very little information out there on how to do this, can someone point me in the direction of a how-to, or a forum to help me out.
Old 09-15-2005, 08:08 PM   #2
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Original Poster
Rep: Reputation: 30
i figured out how to get squid authencate with NTLM and i've posted my findings at my local TLUG website

i hope it helps someone out
Old 03-15-2011, 12:47 PM   #3
OS Jockey
LQ Newbie
Registered: Apr 2008
Location: San Jose, CA.
Distribution: CentOS
Posts: 10

Rep: Reputation: 1
Search for the auth_param section in the /etc/squid/squid.conf and add these lines:

auth_param basic program /usr/lib/squid/pam_auth
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours

Next search for this line and uncomment it:

acl password proxy_auth REQUIRED

Now create/overwrite a pam module called /etc/pam.d/squid that contains:

auth required /lib/security/
account required /lib/security/

Restart the squid and you are done.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
PAM Pop3 Authentication vijaykcm Linux - Security 3 12-27-2004 11:38 AM
python pam authentication shakeeb Programming 0 09-15-2004 03:57 AM
Squid PAM authentication and LDAP redmat Linux - Newbie 1 09-03-2004 07:22 PM
PAM authentication failed qanopus Linux - Software 0 02-18-2004 02:26 PM
OpenSSH and PAM Authentication RyanP Linux - General 4 02-17-2001 12:08 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:26 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration