Bug 58715 - Authentication module smb_auth fails to authenticate users
Summary: Authentication module smb_auth fails to authenticate users
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: squid   
(Show other bugs)
Version: 7.2
Hardware: i686
OS: Linux
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2002-01-23 18:02 UTC by David Burley
Modified: 2014-03-17 02:25 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-01-24 07:17:31 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

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:

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"

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

Note You need to log in before you can comment on or make changes to this bug.