[squid-users] nt domain ntlm group authentication problem?

From: <nikolay.nenchev@dont-contact.us>
Date: Mon, 7 Feb 2005 13:28:33 +0200

Hi,
i have problem with wbinfo_group.pl srcipt and group authentication.
My ntlm and basic authentication is working fine, using samba.3.0.10 and
squid-2.5.
i have compiled squid with : --enable-auth=ntlm,basic
--enable-external-acl-helpers=wbinfo_group --enable-snmp.
cp /usr/localsamba/bin/wbinfo /usr/local/squid/libexec/

/usr/local/squid/libexec# ls -la
total 752
drwxr-sr-x 2 squid squid 4096 Feb 7 09:22 .
drwxr-sr-x 9 squid squid 4096 Feb 7 09:24 ..
-rwxr-xr-x 1 squid squid 95429 Feb 2 08:57 cachemgr.cgi
-rwxr-xr-x 1 squid squid 117468 Feb 2 08:57 unlinkd
-rwxr-xr-x 1 root squid 527498 Feb 7 09:22 wbinfo
-rwxr-xr-x 1 squid squid 1333 Feb 2 08:57 wbinfo_group.pl

domain: mylan
user: test

when i start:
./wbinfo_group.pl
mylan\test
Use of uninitialized value in concatenation (.) or string at
./wbinfo_group.pl line 35, <STDIN> line 1.
sh: wbinfo: command not found
sh: wbinfo: command not found
Use of uninitialized value in concatenation (.) or string at
./wbinfo_group.pl line 39, <STDIN> line 1.
Can't exec "wbinfo": No such file or directory at ./wbinfo_group.pl line
40, <STDIN> line 1.
Use of uninitialized value in pattern match (m//) at ./wbinfo_group.pl
line 40, <STDIN> line 1.
OK
mylan\\test
Use of uninitialized value in concatenation (.) or string at
./wbinfo_group.pl line 35, <STDIN> line 2.
sh: wbinfo: command not found
sh: wbinfo: command not found
Use of uninitialized value in concatenation (.) or string at
./wbinfo_group.pl line 39, <STDIN> line 2.
sh: wbinfo: command not found
OK
is this OK or not exactly.

other think is in my squid.conf

external_acl_type group_nt %LOGIN /usr/local/squid/libexec/wbinfo_group.pl

acl Auth proxy_auth REQUIRED
acl NTAuth external group_nt IT_Department # IT_Department is a group
in mylan domain

http_access allow Auth NTAuth
        (hav etried only with
        acl NTAuth external group_nt IT_Department
        http_access allow NTAuth)

http_access deny all
But it is the same mistakes in the squid/var/logs/cache.log

sh: wbinfo: command not found
sh: wbinfo: command not found
Can't exec "wbinfo": No such file or directory at
/usr/local/squid/libexec/wbinfo_group.pl line 40, <STDIN> line 1.
Use of uninitialized value in pattern match (m//) at
/usr/local/squid/libexec/wbinfo_group.pl line 40, <STDIN> line 1.

Someone can you help me?
Received on Mon Feb 07 2005 - 04:28:04 MST

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