Results 1 to 2 of 2

Thread: Squid ncsa_auth not working

  1. #1
    Join Date
    Feb 2012
    Beans
    33

    Question Squid ncsa_auth not working

    Please help.... I've added the following configurations to my /etc/squid3/squid.conf file. I'm using Ubuntu server 12.04 32bit and installed squid and dansguardian. I have not yet configured anythong on dansguardian.

    First I've created a passwd file

    Code:
    htpasswd /etc/squid/squid_passwd myname
    New password: Re-type new password:
    I then added this to the auth_param section of squid.conf
    Code:
    auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/squid_passwd
    And to the bottom of the ACL section...
    Code:
    acl ncsa_users proxy_auth REQUIRED
    And to the top of the http_access section
    Code:
    http_access allow ncsa_users
    Before I used the ncsa_auth option, my squid worked like a charm from clients.

    Since the auth_param, I don't get access from clients, which I understand, but I do not get the option to insert a username and password.
    Code:
    The client response in firefox is: The procy server us refusing connections.  Firefox is configured to use a proxy serer that is refusing connections.
    Why? Do I still miss something?

    Thanks

  2. #2
    Join Date
    Feb 2012
    Beans
    33

    Re: Squid ncsa_auth not working

    Solved it!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •