uninitialized variable in wbinfo_group.pl causes false authentication results
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
squid (Ubuntu) |
Expired
|
Medium
|
Unassigned |
Bug Description
I am using squid version 2.7.STABLE7 with users authenticating via an ActiveDirectory (AD). I am using the wbinfo_group.pl helper script for checking group memberships. After a while internet access is denied at random for some users. In the squid log I see
Use of uninitialized value in concatenation (.) or string at /usr/lib/
this message repeats from time to time, with "line 1" increasing. As described in http://
Character in 'c' format wrapped in pack at /usr/lib/
So I changed the function call
pack("c",hex($1))
to
pack("C",hex($1))
everywhere in the script. Since then everything is running smoothly. No more random errors. I have attached a diff file with the changes.
I am running Ubuntu 10.04.3 LTS
squid version 2.7.STABLE7
If you need any more information I am happy to provide it.
Thanks for your efforts
B. Brandt
Changed in squid (Ubuntu): | |
importance: | Undecided → Medium |
Changed in squid (Ubuntu): | |
status: | New → Incomplete |
The attachment "patching unitialized variable and pack function call" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.
[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]