LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-19-2006, 10:25 AM   #1
drokmed
Member
 
Registered: Dec 2005
Location: St Petersburg, FL, USA
Posts: 219

Rep: Reputation: 30
does dansguardian support basic ncsa (not ntlm) auth?


Hi all,

I have a squid server with basic ncsa (not ntlm) auth working nicely.

I've installed dansguardian (stable 2.8.0.6), and need basic user authentication.

I need to use basic auth (user prompted for name/pwd), and not ntlm. We have common pc's shared by many different people everyday (think of a library setting). Each pc log's in locally as user windows pwd windows. The pc is locked down. They can get to a few apps. If they try to surf the web, they should be prompted for a username/pwd, for both control AND tracking purposes (dont want transparant proxy).

In squid, i'm using basic auth, and it works great. I need dansguardian to either work with squid auth, or provide it's own.

Has anyone done this in dg stable version? I've been reading the new beta 2.9x is *supposed* to have better auth, but the howto is written in turkish DOH!

I've been searching everywhere, and read tons of stuff, but most material is now old, and I'd like to know if anyone ever found a solution for this.

Thanks for reading,

Daryl

Last edited by drokmed; 10-19-2006 at 12:35 PM.
 
Old 10-20-2006, 01:14 PM   #2
drokmed
Member
 
Registered: Dec 2005
Location: St Petersburg, FL, USA
Posts: 219

Original Poster
Rep: Reputation: 30
OMG I finally figured it out! Yes, it works!

edit: squid.conf
comment out the localhost access
#http_access allow localhost

You see, dansguardian runs on the local host, so when squid sees the connection coming from dg, its actually coming from the local host (and not a network pc), hence squid allows it without bothering to ask for authentication.

If you force the localhost to authenticate as well, then squid will ask dg, and dg will pass the auth request to your users browser.

I've searched hundreds of threads, and nobody ever mentioned this.

I sure hope this message helps somebody else!
 
  


Reply


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
deny_info, squid, NTLM auth ???? paul_mat Linux - Networking 0 02-10-2006 08:30 PM
[PROFTPD] LDAP vs basic auth. Creak Linux - Security 1 09-21-2004 07:52 PM
basic auth in apache CodeGeek Linux - Newbie 2 04-14-2004 09:27 AM
mozilla support for NTLM doesn't work? andrewlkho Linux - Software 0 09-09-2003 04:50 AM
Apache 1.3 and basic auth luger Linux - Networking 4 05-17-2002 05:06 PM


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

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