Bug 150907 - LDAP Authentication fails with an assertion error.
Summary: LDAP Authentication fails with an assertion error.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: squid
Version: 4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Jay Fenlason
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-03-11 21:19 UTC by Jon Orris
Modified: 2014-08-31 23:27 UTC (History)
3 users (show)

Fixed In Version: RHSA-2005-415
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-06-14 19:43:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2005:415 0 normal SHIPPED_LIVE Low: squid security update 2005-06-14 04:00:00 UTC

Description Jon Orris 2005-03-11 21:19:05 UTC
Description of problem:
The LDAP authentication module in squid fails with an assertion error. 

For example, given a sample LDAP server with user uid 'foo' pwd 'bar', do:

/usr/lib/squid/squid_ldap_auth -b "ou=People,dc=example,dc=com" -h
some.ldap.server.com -f "uid=%s"
foo bar
squid_ldap_auth: ../../../libraries/libldap/search.c:189: ldap_search: Assertion
`ld != ((void *)0)' failed.
Aborted

On RHEL3, this gives:
/usr/lib/squid/squid_ldap_auth -b "ou=People,dc=example,dc=com" -h
some.ldap.server.com -f "uid=%s"
foo bar
OK

The effect is that LDAP auth on rhel4 doens't work at all, whereas it is working
fine on RHEL3-U4.


Will attach sample squid.conf.

Comment 1 David Smith 2005-04-07 07:32:28 UTC
I don't think it is necessary to attach a squid.conf as the problem is
independent of the squid setup - the squid_ldap_auth app fails
standalone and as a squid helper.

This looks the same as bug 141938

Comment 2 Garry Optland 2005-05-06 22:11:28 UTC
squid_ldap_auth from FC3 (version squid-2.5.STABLE9-1.FC3.4) has this bug fixed. 

Comment 3 Josh Bressers 2005-06-14 19:43:07 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2005-415.html



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