Bug 58715

Summary: Authentication module smb_auth fails to authenticate users
Product: [Retired] Red Hat Linux Reporter: David Burley <khemicals>
Component: squidAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-01-24 07:17:31 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:

Description David Burley 2002-01-23 18:02:31 UTC
Description of problem:
The squid authentication module fails to authenticate users against the NT 
Domain controller. 

Version-Release number of selected component (if applicable):


How reproducible:
Always

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
USERNAME PASSWORD

OR
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 
nmblookup.

Expected Results:  If the USERNAME and PASSWORD are valid it should output the 
end result of "OK"

Additional info:

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:
export SAMBAPREFIX="/usr"

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.

Comment 1 Bill Nottingham 2002-02-18 19:15:16 UTC
Fixed in 2.4.stable3-1