[squid-users] NTLM is or isn't built?

From: Oliver Hookins <ohookins@dont-contact.us>
Date: Wed, 02 Feb 2005 16:56:05 +1100

Hi again,

I'm setting up another machine with Squid 2.5STABLE7, this time from the
Mara Systems RPM on Redhat 8.0. If you take the output of squid -v, it
looks like NTLM is compiled in:

Squid Cache: Version 2.5.STABLE7-1
configure options: --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu
--target=i386-redhat-linux --program-prefix= --prefix=/usr
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
--sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include
--libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var
--sharedstatedir=/usr/com --mandir=/usr/share/man
--infodir=/usr/share/info --exec_prefix=/usr --bindir=/usr/sbin
--libexecdir=/usr/lib/squid --localstatedir=/var --sysconfdir=/etc/squid
--enable-poll --enable-snmp --enable-removal-policies=heap,lru
--enable-storeio=aufs,diskd,ufs --enable-ssl --enable-delay-pools
--enable-linux-netfilter --with-pthreads
--enable-basic-auth-helpers=LDAP,NCSA,PAM,SMB,SASL,MSNT
--enable-ntlm-auth-helpers=SMB,winbind
--enable-external-acl-helpers=ip_user,ldap_group,unix_group,wbinfo_group,winbind_group

Now I am trying to use fakeauth with NTLM in the auth_param section like
this:

auth_param ntlm program /usr/local/squid/libexec/fakeauth_auth
auth_param ntlm children 5
auth_param ntlm max_challenge_reuses 0
auth_param ntlm max_challenge_lifetime 2 minutes
auth_param ntlm use_ntlm_negotiate off

But when I uncomment all of these lines and get squid to check the
configuration, it gives me this:

squid (pid 9280 9277) is running...
2005/02/02 16:53:17| Parsing Config File: Unknown authentication scheme
'ntlm'.
2005/02/02 16:53:17| Parsing Config File: Unknown authentication scheme
'ntlm'.
2005/02/02 16:53:17| Parsing Config File: Unknown authentication scheme
'ntlm'.
2005/02/02 16:53:17| Parsing Config File: Unknown authentication scheme
'ntlm'.
2005/02/02 16:53:17| Parsing Config File: Unknown authentication scheme
'ntlm'.

I thought from the configuration printed above that NTLM is compiled in?
I know fakeauth is not compiled into this RPM from Mara Systems but I
compiled it from the same version of source code and dropped it in -
surely that would work.

It's probably something really simple but if anyone can point me in the
right direction that would be a big help.

Cheers,
Oliver
Received on Tue Feb 01 2005 - 22:56:11 MST

This archive was generated by hypermail pre-2.1.9 : Tue Mar 01 2005 - 12:00:01 MST