[squid-users] cannot login with wb_auth helper

From: Fernando Ruza <[email protected]>
Date: 09 May 2003 14:33:08 +0200

Hi, What am I doing wrong with winbind authentication ??

My squid.conf file is:

http_port 8080
cache_peer proxy.jclm.es parent 8080 0 proxy-only default no-query
no-digest
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY

auth_param ntlm program
/home/fruza/tmp/Curro/Squid/squid/libexec/wb_ntlmauth
auth_param ntlm children 5
auth_param ntlm max_challenge_reuses 0
auth_param ntlm max_challenge_lifetime 2 minutes

auth_param basic program
/home/fruza/tmp/Curro/Squid/squid/libexec/wb_auth
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours

acl all src 0.0.0.0/0.0.0.0
acl localhost src 127.0.0.1/255.255.255.255
acl acceso_internet src 10.36.192.0/22 localhost
acl domainusers proxy_auth REQUIRED
http_access allow localhost
http_access deny !acceso_internet
http_access allow acceso_internet domainusers
http_reply_access allow all
icp_access allow all
http_access deny all

visible_hostname luna

never_direct allow all

coredump_dir /var/spool/squid

And the problem is:

luna:/home/fruza/tmp/Curro/Squid/squid/libexec# wbinfo -t
checking the trust secret via RPC calls succeeded
luna:/home/fruza/tmp/Curro/Squid/squid/libexec# wbinfo -a
HGUV\\fruza%q1w2e3r4
plaintext password authentication succeeded
challenge/response password authentication succeeded
luna:/home/fruza/tmp/Curro/Squid/squid/libexec# ./wb_auth -d
/wb_auth[8088](wb_basic_auth.c:168): basic winbindd auth helper build
May 8 2003, 14:14:03 starting up...HGUV\fruza q1w2e3r4
/wb_auth[8088](wb_basic_auth.c:129): Got 'HGUV\fruza q1w2e3r4' from
squid (length: 19).
/wb_auth[8088](wb_basic_auth.c:55): winbindd result: -1
/wb_auth[8088](wb_basic_auth.c:60): sending 'ERR' to squid
ERR
fruza q1w2e3r4
/wb_auth[8088](wb_basic_auth.c:129): Got 'fruza q1w2e3r4' from squid
(length: 14).
/wb_auth[8088](wb_basic_auth.c:55): winbindd result: -1
/wb_auth[8088](wb_basic_auth.c:60): sending 'ERR' to squid
ERR
HGUV\\fruza q1w2e3r4
/wb_auth[8088](wb_basic_auth.c:129): Got 'HGUV\\fruza q1w2e3r4' from
squid (length: 20).
/wb_auth[8088](wb_basic_auth.c:55): winbindd result: -1
/wb_auth[8088](wb_basic_auth.c:60): sending 'ERR' to squid
ERR

I cannot login with the helper wb_auth, although winbind and samba seems
to be right configured.

Any reply will be appreciate. Thanks in advance.

--
Fernando Ruza
e-mail: feruza@terra.es
Tlf: 661123845
Yahoo! Messenger id: fruza
Linux user: #273644 (http://counter.li.org)
Debian Sid (Kernel 2.4.20)
"In an internet without fences ... who needs 'gates'"
Received on Fri May 09 2003 - 06:27:37 MDT

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