[squid-users] R: [squid-users] I: [squid-users] Autorizzazione gruppi: wbinfo_group.pl

From: Samantha Cicchelero <samantha@dont-contact.us>
Date: Thu, 20 Nov 2003 21:17:04 +0100

Hi,

I've modified the permission for the script wbinfo_group.pl

Chmod -R squid.squid /usr/lib/squid/*
Chmod -R u+x /usr/lib/squid/*

And now my cache.log file said

2003/11/20 21:00:12| Squid Cache (Version 2.5.STABLE4): Exiting normally.
[2003/11/20 21:00:12, 1] utils/ntlm_auth.c:manage_squid_request(1042)
[2003/11/20 21:00:12, 1] utils/ntlm_auth.c:manage_squid_request(1042)
[2003/11/20 21:00:12, 1] utils/ntlm_auth.c:manage_squid_request(1042)
[2003/11/20 21:00:12, 1] utils/ntlm_auth.c:manage_squid_request(1042)
[2003/11/20 21:00:12, 1] utils/ntlm_auth.c:manage_squid_request(1042)
  fgets() failed! dying..... errno=0 (Success)
  fgets() failed! dying..... errno=0 (Success)
  fgets() failed! dying..... errno=0 (Success)
  fgets() failed! dying..... errno=0 (Success)
  fgets() failed! dying..... errno=0 (Success)
2003/11/20 21:00:21| helperStatefulOpenServers: Starting 5 'ntlm_auth' processes
2003/11/20 21:00:21| helperOpenServers: Starting 5 'wbinfo_group.pl' processes
Can't open perl script "/usr/lib/squid/wbinfo_group.pl": Permission denied
Can't open perl script "/usr/lib/squid/wbinfo_group.pl": Permission denied
Can't open perl script "/usr/lib/squid/wbinfo_group.pl": Permission denied
Can't open perl script "/usr/lib/squid/wbinfo_group.pl": Permission denied
Can't open perl script "/usr/lib/squid/wbinfo_group.pl": Permission denied

2003/11/20 21:00:38| WARNING: wbinfo_group_helper #1 (FD 12) exited
2003/11/20 21:00:38| WARNING: wbinfo_group_helper #2 (FD 13) exited
2003/11/20 21:00:38| WARNING: wbinfo_group_helper #3 (FD 14) exited
2003/11/20 21:00:38| Too few wbinfo_group_helper processes are running2003/11/20 21:00:38| storeDirWriteCleanLogs: Starting...
2003/11/20 21:00:38| Finished. Wrote 356 entries.
2003/11/20 21:00:38| Took 0.0 seconds (225316.5 entries/sec).
FATAL: The wbinfo_group_helper helpers are crashing too rapidly, need help!

Thank for yours helps,

Regards
Samantha

-----Messaggio originale-----
Da: Samantha Cicchelero
Inviato: giovedì 20 novembre 2003 19.36
A: squid-users@squid-cache.org
Oggetto: I: [squid-users] I: [squid-users] Autorizzazione gruppi: wbinfo_group.pl

Hi Henrik,

I've seen in /usr/lib/squid and there isn't the command wbinfo. I have copied:

cp /usr/local/samba/bin/wbinfo /usr/lib/squid/wbinfo

but also, I can't use the autorization with wbinfo_group.pl

I understand there is an error of permission for the script wbinfo.

What can I do?

There is a part of cache.log:

2003/11/20 18:50:28| logfileRotate: /var/logs/store.log
2003/11/20 18:50:28| xrename: Cannot rename /var/logs/store.log to /var/logs/store.log.0: (13) Permission denied
2003/11/20 18:50:28| logfileRotate: /var/logs/access.log
2003/11/20 18:50:28| xrename: Cannot rename /var/logs/access.log to /var/logs/access.log.0: (13) Permission denied
2003/11/20 18:50:28| helperStatefulOpenServers: Starting 5 'ntlm_auth' processes
[2003/11/20 18:50:28, 1] utils/ntlm_auth.c:manage_squid_request(1042)
  fgets() failed! dying..... errno=0 (Success)
[2003/11/20 18:50:28, 1] utils/ntlm_auth.c:manage_squid_request(1042)
  fgets() failed! dying..... errno=0 (Success)
[2003/11/20 18:50:28, 1] utils/ntlm_auth.c:manage_squid_request(1042)
[2003/11/20 18:50:28, 1] utils/ntlm_auth.c:manage_squid_request(1042)
  fgets() failed! dying..... errno=0 (Success)
[2003/11/20 18:50:28, 1] utils/ntlm_auth.c:manage_squid_request(1042)
  fgets() failed! dying..... errno=0 (Success)
  fgets() failed! dying..... errno=0 (Success)
2003/11/20 18:50:28| helperOpenServers: Starting 5 'wbinfo_group.pl' processes
sh: line 1: wbinfo: command not found
Can't exec "wbinfo": Permission denied at /usr/lib/squid/wbinfo_group.pl line 37, <STDIN> line 1.
Use of uninitialized value in scalar chop at /usr/lib/squid/wbinfo_group.pl line 38, <STDIN> line 1.
Use of uninitialized value in concatenation (.) or string at /usr/lib/squid/wbinfo_group.pl line 39, <STDIN> line 1.
Use of uninitialized value in concatenation (.) or string at /usr/lib/squid/wbinfo_group.pl line 39, <STDIN> line 1.
Use of uninitialized value in concatenation (.) or string at /usr/lib/squid/wbinfo_group.pl line 39, <STDIN> line 1.
sh: line 1: wbinfo: command not found
Use of uninitialized value in concatenation (.) or string at /usr/lib/squid/wbinfo_group.pl line 40, <STDIN> line 1.

Thanks a lot in advance,

Regards
Samantha

-----Messaggio originale-----
Da: Henrik Nordstrom [mailto:hno@squid-cache.org]
Inviato: giovedì 20 novembre 2003 17.57
A: Samantha Cicchelero
Cc: squid-users@squid-cache.org
Oggetto: Re: [squid-users] I: [squid-users] Autorizzazione gruppi: wbinfo_group.pl

On Thu, 20 Nov 2003, Samantha Cicchelero wrote:

> Hi!
>
> I'm having problem getting authentication with groups. I'm using the
> helper that is part of samba 3.0, not the squid helper. Basic
> authentication e ntlm authentication work fine, but I cannot get
> wbinfo_group.pl working.

What do you get in cache.log if you enable debugging in the helper? (see
the comments in the helper)

Regards
Henrik
Received on Thu Nov 20 2003 - 13:14:08 MST

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