RE: [squid-users] Problem configuring winbind for squid

From: Adam Aube <[email protected]>
Date: Wed, 22 Oct 2003 13:59:26 -0400

In the future, could you please reply to the list? This enables you to
get multiple opinions on your problem, not just mine.

Taiwo Akinosho [Taiwo.akinosho@nalbank.com.ng] sent in private email:

> [root@squid bin]# squid -v
> Squid Cache: Version 2.5.STABLE1
> configure options: --host=i386-redhat-linux
> --build=i386-redhat-linux --target=i386-redhat-linux-gnu
> --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,coss,diskd,ufs --enable-ssl
> --with-openssl=/usr/kerberos --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

> does this ommision affect me authenticating squid via the windows
2000 domain.

You do include the NTLM winbind helper, but since Samba doesn't have
NTLM support built-in, the NTLM helper is useless. You need the basic
helper (wb_auth), which you didn't include in the ./configure
command - that's why there's no wb_auth program on your system.

You also neglected to configure Squid to use authentication - you need
to use this in ./configure as well:

--enable-auth="basic,ntlm"

> samba still does not seem to be installed. rpm -q samba does
> not find samba. do i still need to do something afta running
> make install.

If you didn't install Samba, then you wouldn't have been able to
perform the wbinfo test you mentioned in your original email. Samba is
installed; just not with RPM.

Adam
Received on Wed Oct 22 2003 - 11:59:30 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:20:36 MST