Skip to navigation Skip to main content

Utilities

  • Subscriptions
  • Downloads
  • Red Hat Console
  • Get Support
Red Hat Customer Portal
  • Subscriptions
  • Downloads
  • Red Hat Console
  • Get Support
  • Products

    Top Products

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    All Products

    Downloads and Containers

    • Downloads
    • Packages
    • Containers

    Top Resources

    • Documentation
    • Product Life Cycles
    • Product Compliance
    • Errata
  • Knowledge

    Red Hat Knowledge Center

    • Knowledgebase Solutions
    • Knowledgebase Articles
    • Customer Portal Labs
    • Errata

    Top Product Docs

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    All Product Docs

    Training and Certification

    • About
    • Course Index
    • Certification Index
    • Skill Assessment
  • Security

    Red Hat Product Security Center

    • Security Updates
    • Security Advisories
    • Red Hat CVE Database
    • Errata

    References

    • Security Bulletins
    • Severity Ratings
    • Security Data

    Top Resources

    • Security Labs
    • Backporting Policies
    • Security Blog
  • Support

    Red Hat Support

    • Support Cases
    • Troubleshoot
    • Get Support
    • Contact Red Hat Support

    Red Hat Community Support

    • Customer Portal Community
    • Community Discussions
    • Red Hat Accelerator Program

    Top Resources

    • Product Life Cycles
    • Customer Portal Labs
    • Red Hat JBoss Supported Configurations
    • Red Hat Lightspeed
Or troubleshoot an issue.

Select Your Language

  • English
  • Français
  • 한국어
  • 日本語
  • 中文 (中国)

Infrastructure and Management

  • Red Hat Enterprise Linux
  • Red Hat Satellite
  • Red Hat Subscription Management
  • Red Hat Lightspeed
  • Red Hat Ansible Automation Platform

Cloud Computing

  • Red Hat OpenShift
  • Red Hat OpenStack Platform
  • Red Hat OpenShift
  • Red Hat OpenShift AI
  • Red Hat OpenShift Dedicated
  • Red Hat Advanced Cluster Security for Kubernetes
  • Red Hat Advanced Cluster Management for Kubernetes
  • Red Hat Quay
  • Red Hat OpenShift Dev Spaces
  • Red Hat OpenShift Service on AWS

Storage

  • Red Hat Gluster Storage
  • Red Hat Hyperconverged Infrastructure
  • Red Hat Ceph Storage
  • Red Hat OpenShift Data Foundation

Runtimes

  • Red Hat Runtimes
  • Red Hat JBoss Enterprise Application Platform
  • Red Hat Data Grid
  • Red Hat JBoss Web Server
  • Red Hat build of Keycloak
  • Red Hat support for Spring Boot
  • Red Hat build of Node.js
  • Red Hat build of Quarkus

Integration and Automation

  • Red Hat Application Foundations
  • Red Hat Fuse
  • Red Hat AMQ
  • Red Hat 3scale API Management
All Products
Red Hat Product Errata RHBA-2011:0239 - Bug Fix Advisory
Issued:
2011-02-16
Updated:
2011-02-16

RHBA-2011:0239 - Bug Fix Advisory

  • Overview
  • Updated Packages

Synopsis

nss_ldap bug fix update

Type/Severity

Bug Fix Advisory

Red Hat Lightspeed patch analysis

Identify and remediate systems affected by this advisory.

View affected systems

Topic

An updated nss_ldap package that fixes various bugs is now available.

Description

The nss_ldap package contains the nss_ldap and pam_ldap modules. The nss_ldap
module is a plug-in which allows applications to retrieve information about
users and groups from a directory server. The pam_ldap module allows a directory
server to be used by PAM-aware applications to verify user passwords.

This updated nss_ldap package includes fixes for the following bugs:

  • When the "gethostbyname2()" function requested an Internet Protocol version 6

(IPv6) address, the returned address was presented as the Internet Protocol
version 4 (IPv4) address. With this update, nss_ldap correctly fails to return
an IPv6 address. (BZ#205243)

  • If hostname resolution was configured to use 'ldap' only, it was impossible to

resolve a hostname of the target Lightweight Directory Access Protocol (LDAP)
server to its address without contacting it. This caused a recursion in the
underlying nss_ldap module until a segmentation fault occurred and the calling
application crashed. The updated nss_ldap package ensures that no segmentation
fault occurs. (BZ#448884)

  • The nss_ldap module is built with a static copy of the libldap library.

Applications which called the getpwuid() or getpwuid_r() functions could have
triggered an assertion failure in libldap, thus causing the nss_ldap module to
terminate abnormally. This fix updates the static copy of libldap built into
nss_ldap, and potential assertion failures are no longer triggered. (BZ#525576)

  • If the nss_initgroups_ignoreusers option in the nss_ldap configuration file

exceeded the allowed length, errors while parsing the configuration file could
have occurred. This could have resulted in an "Assertion failed" error when
executing any nss_ldap-related commands. With this update, the length of the
'nss_initgroups_ignoreusers' option is not restricted. (BZ#557927)

  • Under certain circumstances, nss_ldap may have leaked file descriptors. As a

result, the number of open sockets could have reached the maximum limit of 1024.
With this update, this error is fixed and nss_ldap no longer causes applications
to leak file descriptors. (BZ#563362)

  • Previously, enabling the "nss_connect_policy oneshot" option in the

/etc/ldap.conf configuration file may have caused an application crash.
With this update, enabling "nss_connect_policy oneshot" works as expected.
(BZ#566632)

  • In certain cases, nss_ldap failed to get a response from the Lightweight

Directory Access Protocol (LDAP) server and the client became temporarily unable
to query the server. With this update the issue is fixed and the server responds
as expected. (BZ#574306)

  • The "endpwent" function called ldap query with the NULL handle and the parent

process crashed. With this update, the handle is used only if it is valid.
(BZ#604945)

  • The nss_ldap module could have failed to return a result if an entry was too

large. With this update, the ERANGE error is returned as expected. (BZ#613555)

  • The shell wrote to a socket that was not connected to an LDAP server. This

resulted in an EPIPE error and no shell commands were resolved when logged in as
an LDAP user. The SIGPIPE signal is now unblocked when the connection in a child
element is closed and shell commands work as expected. (BZ#621586)

All users of nss_ldap are advised to upgrade to this updated package, which
resolves these issues.

Solution

Before applying this update, make sure that all previously-released errata
relevant to your system have been applied.

This update is available via Red Hat Network. Details on how to use the Red Hat
Network to apply this update are available at
https://access.redhat.com/kb/docs/DOC-11259

Affected Products

  • Red Hat Enterprise Linux Server 4 x86_64
  • Red Hat Enterprise Linux Server 4 ia64
  • Red Hat Enterprise Linux Server 4 i386
  • Red Hat Enterprise Linux Workstation 4 x86_64
  • Red Hat Enterprise Linux Workstation 4 ia64
  • Red Hat Enterprise Linux Workstation 4 i386
  • Red Hat Enterprise Linux Desktop 4 x86_64
  • Red Hat Enterprise Linux Desktop 4 i386
  • Red Hat Enterprise Linux for IBM z Systems 4 s390x
  • Red Hat Enterprise Linux for IBM z Systems 4 s390
  • Red Hat Enterprise Linux for Power, big endian 4 ppc

Fixes

  • BZ - 205243 - gethostbyname2 queried with AF_INET6 (IPv6) return ok with IPv4 address
  • BZ - 448884 - getent -s 'ldap' passwd -- Segmentation fault
  • BZ - 525576 - Rebuild nss_ldap with latest openldap
  • BZ - 563362 - nscd with nss_ldap leaks file descriptors
  • BZ - 566632 - nss_ldap bug causes nscd to crash with `ldap_result: Assertion `ld != ((void *)0)' failed.'
  • BZ - 574306 - nss_ldap client does not seem to get a response from ldap server
  • BZ - 604945 - sendmail local delivery assertion failure when using MatchGECOS=True and nss lookups on ldap
  • BZ - 613555 - id returns failure when nss_ldap uses TLS and oneshot nss_connect_policy
  • BZ - 621586 - nss_ldap EPIPE when forking process
  • BZ - 651364 - gethostbyname2 returns 0.0.0.0 IPv4 address for hosts from LDAP on s390x

CVEs

(none)

References

(none)

Note: More recent versions of these packages may be available. Click a package name for more details.

Red Hat Enterprise Linux Server 4

SRPM
nss_ldap-253-16.el4.src.rpm SHA-256: 7ddefc2f12a18ca77ad8162caf03f4f7cbbb0e04d51f70c05eba73a1f389146b
x86_64
nss_ldap-253-16.el4.i386.rpm SHA-256: 45ad02b2c46b035763808ab3b21866a8decf30a301b8b507f6204aa55925b5e1
nss_ldap-253-16.el4.i386.rpm SHA-256: 45ad02b2c46b035763808ab3b21866a8decf30a301b8b507f6204aa55925b5e1
nss_ldap-253-16.el4.x86_64.rpm SHA-256: 773cac1d85a57294a21242bb76c0b752a1cd022962a05b1f1d67cd95c726194d
nss_ldap-253-16.el4.x86_64.rpm SHA-256: 773cac1d85a57294a21242bb76c0b752a1cd022962a05b1f1d67cd95c726194d
ia64
nss_ldap-253-16.el4.i386.rpm SHA-256: 45ad02b2c46b035763808ab3b21866a8decf30a301b8b507f6204aa55925b5e1
nss_ldap-253-16.el4.i386.rpm SHA-256: 45ad02b2c46b035763808ab3b21866a8decf30a301b8b507f6204aa55925b5e1
nss_ldap-253-16.el4.ia64.rpm SHA-256: b5f429ed8ffe21fb20bc884b37c77d3f421ff334f204f6f52ef80119a42352b7
nss_ldap-253-16.el4.ia64.rpm SHA-256: b5f429ed8ffe21fb20bc884b37c77d3f421ff334f204f6f52ef80119a42352b7
i386
nss_ldap-253-16.el4.i386.rpm SHA-256: 45ad02b2c46b035763808ab3b21866a8decf30a301b8b507f6204aa55925b5e1
nss_ldap-253-16.el4.i386.rpm SHA-256: 45ad02b2c46b035763808ab3b21866a8decf30a301b8b507f6204aa55925b5e1

Red Hat Enterprise Linux Workstation 4

SRPM
nss_ldap-253-16.el4.src.rpm SHA-256: 7ddefc2f12a18ca77ad8162caf03f4f7cbbb0e04d51f70c05eba73a1f389146b
x86_64
nss_ldap-253-16.el4.i386.rpm SHA-256: 45ad02b2c46b035763808ab3b21866a8decf30a301b8b507f6204aa55925b5e1
nss_ldap-253-16.el4.x86_64.rpm SHA-256: 773cac1d85a57294a21242bb76c0b752a1cd022962a05b1f1d67cd95c726194d
ia64
nss_ldap-253-16.el4.i386.rpm SHA-256: 45ad02b2c46b035763808ab3b21866a8decf30a301b8b507f6204aa55925b5e1
nss_ldap-253-16.el4.ia64.rpm SHA-256: b5f429ed8ffe21fb20bc884b37c77d3f421ff334f204f6f52ef80119a42352b7
i386
nss_ldap-253-16.el4.i386.rpm SHA-256: 45ad02b2c46b035763808ab3b21866a8decf30a301b8b507f6204aa55925b5e1

Red Hat Enterprise Linux Desktop 4

SRPM
nss_ldap-253-16.el4.src.rpm SHA-256: 7ddefc2f12a18ca77ad8162caf03f4f7cbbb0e04d51f70c05eba73a1f389146b
x86_64
nss_ldap-253-16.el4.i386.rpm SHA-256: 45ad02b2c46b035763808ab3b21866a8decf30a301b8b507f6204aa55925b5e1
nss_ldap-253-16.el4.x86_64.rpm SHA-256: 773cac1d85a57294a21242bb76c0b752a1cd022962a05b1f1d67cd95c726194d
i386
nss_ldap-253-16.el4.i386.rpm SHA-256: 45ad02b2c46b035763808ab3b21866a8decf30a301b8b507f6204aa55925b5e1

Red Hat Enterprise Linux for IBM z Systems 4

SRPM
nss_ldap-253-16.el4.src.rpm SHA-256: 7ddefc2f12a18ca77ad8162caf03f4f7cbbb0e04d51f70c05eba73a1f389146b
s390x
nss_ldap-253-16.el4.s390.rpm SHA-256: 414f77f044ffd2aec8283e455fa7c863d12b628b79e991e103b4b7b32084c65d
nss_ldap-253-16.el4.s390x.rpm SHA-256: ff5f7bce61c4cd3dfb921019aeaa1e50f855290398424ceebd92c15ef112b49a
s390
nss_ldap-253-16.el4.s390.rpm SHA-256: 414f77f044ffd2aec8283e455fa7c863d12b628b79e991e103b4b7b32084c65d

Red Hat Enterprise Linux for Power, big endian 4

SRPM
nss_ldap-253-16.el4.src.rpm SHA-256: 7ddefc2f12a18ca77ad8162caf03f4f7cbbb0e04d51f70c05eba73a1f389146b
ppc
nss_ldap-253-16.el4.ppc.rpm SHA-256: 8f4353b073c57a0539f2be52916685b19511afc16364fae577bbb83ee1b2b983
nss_ldap-253-16.el4.ppc64.rpm SHA-256: bdcbf5cccf963f4d1ca7ede88286821cae2c47fe1bbd9869556d8a44145a8bac

The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.

Red Hat LinkedIn YouTube Facebook X, formerly Twitter

Quick Links

  • Downloads
  • Subscriptions
  • Support Cases
  • Customer Service
  • Product Documentation

Help

  • Contact Us
  • Customer Portal FAQ
  • Log-in Assistance

Site Info

  • Trust Red Hat
  • Browser Support Policy
  • Accessibility
  • Awards and Recognition
  • Colophon

Related Sites

  • redhat.com
  • developers.redhat.com
  • connect.redhat.com
  • cloud.redhat.com

Red Hat legal and privacy links

  • About Red Hat
  • Jobs
  • Events
  • Locations
  • Contact Red Hat
  • Red Hat Blog
  • Inclusion at Red Hat
  • Cool Stuff Store
  • Red Hat Summit
© 2025 Red Hat

Red Hat legal and privacy links

  • Privacy statement
  • Terms of use
  • All policies and guidelines
  • Digital accessibility