Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 3 product line. The current stable release is 3.9. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 169269

Summary: Error in script /usr/lib/squid/wbinfo_group.pl
Product: Red Hat Enterprise Linux 3 Reporter: Pietro Sini <pietro.sini>
Component: squidAssignee: Martin Stransky <stransky>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: RHSA-2006-0045 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-03-15 15:43:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 168424    

Description Pietro Sini 2005-09-26 11:05:45 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it-IT; rv:1.7.10) Gecko/20050717 Firefox/1.0.6 (ax)

Description of problem:
Using the winbind helper you get bash syntax errors (visible in /var/log/squid/cache.log )

This is due to an error in the wbinfo_group.pl perl script, in line 37.
It should be:

$groupGID = `wbinfo -Y "$groupSID"`;

instead of:

$groupGID = `wbinfo -Y $groupSID`;

Version-Release number of selected component (if applicable):
squid-2.5.STABLE3-6.3E.14

How reproducible:
Always

Steps to Reproduce:
1.Configure Samba and squid in order to use winbind authentication for squid (via wbinfo_group.pl)

2.Send a web request to squid with a valid Windows domain user.
3.Check /var/log/squid/cache.log
  

Actual Results:  Access denied in squid and errors in log.

Expected Results:  The user should be authenticated, being a valid domain user.

Additional info:

Comment 2 Martin Stransky 2005-11-15 12:26:23 UTC
The new release-candidate packages for RHEL3/4 are available here:

http://people.redhat.com/stransky/squid/


Comment 5 Red Hat Bugzilla 2006-03-15 15:43:48 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2006-0045.html