Jump to content

Recommended Posts

Posted

Hi again.

 

I have made a Squid cache on a Ubuntu 8.04.1 server. Browsed the web on how to build it.

 

Configuration is:

Ubuntu 8.04.1 Server

Samba 3.0.28 (3.0.28a-1ubuntu4.4)

Winbind

Kerberos 5

Squid 2.6 (2.6.18-1ubuntu3)

 

Got a slight problem with NTLM scheme parameters. Errors that I get when I restart Squid are:

 

unrecognized ntlm auth scheme parameter 'use_ntlm_negotiate'

unrecognized ntlm auth scheme parameter 'max_challenge_reuses'

unrecognized ntlm auth scheme parameter 'max_challenge_life'

 

My squid.conf file (may need a bit of a tidy):

==================================

 

auth_param ntlm program /usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp

auth_param ntlm children 30

auth_param ntlm use_ntlm_negotiate on

auth_param ntlm max_challenge_reuses 0

auth_param ntlm max_challenge_lifetime 2 minutes

auth_param basic program /usr/bin/ntlm_auth --helper-protocol=squid-2.5-basic

auth_param basic children 5

auth_param basic realm Squid Proxy Server

auth_param basic credentialsttl 2 hours

hierarchy_stoplist cgi-bin ?

acl QUERY urlpath_regex cgi-bin \?

no_cache deny QUERY

hosts_file /etc/hosts

refresh_pattern ^ftp: 1440 20% 10080

refresh_pattern ^gopher: 1440 0% 1440

refresh_pattern . 0 20% 4320

acl all src 0.0.0.0/0.0.0.0

acl manager proto cache_object

acl localhost src 127.0.0.1/255.255.255.255

acl to_localhost dst 127.0.0.0/8

acl purge method PURGE

acl CONNECT method CONNECT

http_access allow manager localhost

http_access deny manager

http_access allow purge localhost

http_access deny purge

acl authenticated_users proxy_auth REQUIRED

acl lan src 10.103.0.0-10.103.3.255

http_access allow authenticated_users

http_access allow localhost

http_access allow lan

http_access deny all

http_reply_access allow all

icp_access allow all

visible_hostname ubuntuproxy

coredump_dir /var/spool/squid

http_port 8000

cache_peer cachepilot sibling 8000 3130 proxy-only login=ubuntu:ubuntu

cache_effective_user squid

cache_effective_group squid

 

=============================

 

Kinda copied the stuff above but changed and added the odd one or two things.

 

Any ideas peeps?

 

Cheers :)

Posted
Got a slight problem with NTLM scheme parameters. Errors that I get when I restart Squid are:

 

unrecognized ntlm auth scheme parameter 'use_ntlm_negotiate'

unrecognized ntlm auth scheme parameter 'max_challenge_reuses'

unrecognized ntlm auth scheme parameter 'max_challenge_life'

 

These configuration options have been removed from the version of squid you are using.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...