Networking Forums

Networking Forums > Computer Networking > Linux Networking > Problems with squid, ntlm auth and a win2k PDC

Reply
Thread Tools Display Modes

Problems with squid, ntlm auth and a win2k PDC

 
 
Covarde Anonimo
Guest
Posts: n/a

 
      10-30-2003, 02:58 PM
Hi ppl,

I need to setup a squid 2.5 with ntlm auth so windows XP users already
logged in the win2k PDC are automatically authenticated without a
user/passwd dialog box

the proxy is manually built squid 2.5STABLE4 running in a Debian woody
box. everything else in the box is from woody.

squid was built with the following options:

../configure --prefix=/usr --sysconfdir=/etc
--localstatedir=/var/spool/squid \
--enable-gnuregex --enable-icmp --enable-useragent-log
--enable-referer-log \
--enable-htcp --enable-ssl --with-openssl \
--enable-default-err-language=Portuguese --enable-ipf-transparent \
--enable-pf-transparent --enable-linux-netfilter \
--enable-auth=basic digest ntlm \
--enable-basic-auth-helpers="LDAP MSNT NCSA PAM SASL SMB YP
multi-domain-NTLM" \
--enable-ntlm-auth-helpers="SMB fakeauth no_check winbind" \
--enable-digest-auth-helpers=password --enable-ntlm-fail-open \
--enable-external-acl-helpers="ip_user unix_group winbind_group
ldap_group wbinfo_group

the domain on the PDC is adm.com and the controler's name is
servidor_adm.

the 2 authentication helpers that works in this setup are smb_auth and
msnt_auth, but they only work for basic auth, when "auth_param ntlm"
is configured in squid the client's browser (ie6) fails to
authenticate, even with "auth_param ntlm program
/usr/libexec/msnt_auth" or "auth_param ntlm program
/usr/libexec/msnt_auth -W adm -U 192.168.0.225" in squid.conf

my guess (a wild guess, let me add) is that this is caused by the dot
in the domain name.

i tried run all authentication helpers from the command line, and the
results are:

# ./ntlm_auth -d adm.com\\servidor_adm
ntlm-auth[10227](ntlm_auth.c:187): Adding domain-controller
adm.com\servidor_adm
ntlm-auth[10227](ntlm_auth.c:460): options processed OK
user passwd
ntlm-auth[10227](ntlm_auth.c:284): managing request
ntlm-auth[10227](ntlm_auth.c:290): ntlm authenticator. Got 'user
passwd' from Squid
ntlm-auth[10227](ntlm_auth.c:440): sending 'BH Helper detected
protocol error' to squid
BH Helper detected protocol error

same result when i use only "adm" as domain

this is the debug from smb_auth, just in case:

# ./smb_auth -d -W adm -U 192.168.0.225
user passwd
Domain name: adm
Pass-through authentication: no
Query address options: -U 192.168.0.225 -R
Domain controller IP address: 192.168.0.225
Domain controller NETBIOS name: SERVER_ADM
Contents of //SERVER_ADM/NETLOGON/proxyauth: allow


how can i have this setup working ? should i use winbind instead ? i
never used winbind and i have no idea on how to set it up, but i'm
willing to try.

TIA

Bento
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with Changing the Public IP Block used for squid dboltz Linux Networking 0 09-18-2007 10:14 PM
Squid Auth Ajayk Linux Networking 6 03-17-2006 02:46 PM
Win98/Win2k connection problems =?Utf-8?B?TWljaGVsZQ==?= Windows Networking 1 06-28-2005 04:35 AM
Squid problems (first time run). Nuno Paquete Linux Networking 2 09-29-2004 08:57 PM
Network component problems with Win2K Pro Server Mark Windows Networking 1 09-05-2004 02:21 PM



1 2 3 4 5 6 7 8 9 10 11