Red Hat Bugzilla – Bug 58715
Authentication module smb_auth fails to authenticate users
Last modified: 2014-03-16 22:25:08 EDT
Description of problem:
The squid authentication module fails to authenticate users against the NT
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Edit squid.conf appropriately for user authentication and restart squid
2. run the following to attempt authentication:
/usr/local/bin/smb_auth -W DOMAIN -d
Just try to get authenticated by setting up a computer to go through the proxy
and "surf" to a URL. It will prompt for username and password and fail every
time user tries to authenticate.
Actual Results: An error message is displayed saying that it can't find
Expected Results: If the USERNAME and PASSWORD are valid it should output the
end result of "OK"
Problem is that the file /usr/lib/squid/smb_auth.sh grabs the wrong value for
$SAMBAPREFIX. There are 2 possible solutions...
1. compile the package with appropriate command-line options such that the
$SAMBAPREFIX variable will be set properly.
2. add the following line near the top of /usr/lib/squid/smb_auth.sh:
Solution #2 assumes user is running the version of Squid and Samba that RH7.2
comes with. Not tested with any other version of Squid and/or Samba.
Fixed in 2.4.stable3-1