Bug 70851

Summary: squid's pam_auth does not work when using ldap auth
Product: [Retired] Red Hat Linux Reporter: George Kappel <gkappel>
Component: squidAssignee: Martin Stransky <stransky>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-07-01 13:49:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description George Kappel 2002-08-06 03:51:50 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020530

Description of problem:
When using ldap authentication pam_auth will only return a correct result the
first time it is run.  ./pam_auth -1 does not fix this.  ldap auth works for
other programs and finger reports expected results.

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

How reproducible:

Steps to Reproduce:
1. Setup ldap authentication w/authconfig
2. As root /usr/lib/squid/pam_auth OR /usr/lib/squid/pam_auth -1
3. Enter valid "validldapuser<space>invalidpassword"
4. You should get "ERR"
5. Enter valid "validldapuser<space>validpassword"
6. You should get "OK" but you still get ERR

Additional info:

Works as expected with