RHBA-2011:1705

Type: Bug fix
Severity: None
Published: 2011-12-06
Red Hat Enterprise Linux 6

The nss-pam-ldapd package provides the nss-pam-ldapd daemon (nslcd) which uses a directory server to look up name service information on behalf of a lightweight nsswitch module. This update fixes the following bugs: * When the nss-pam-ldapd package was installed, settings for the nslcd daemon were migrated from the configuration files used by the pam_ldap module or a previously-installed copy of the nss_ldap package. If the nslcd configuration file was modified, settings would be migrated again, often with an error. With this update, the migration is performed only if the package has not been previously installed. (BZ#706454) * Prior to this update, when the nslcd daemon retrieved information about a user or group, the name of the user or group would be checked against the value of the "validnames" configuration setting. The default value of the setting expected the names to be at least three characters long, therefore names which were only two characters long were flagged as invalid. This could have negative impact on some installations. With this update, the default value of the "validnames" setting is modified to a minimum of two characters so that short names are accepted. (BZ#706860) * Due to the buffer used for the group field of a user password entry being not big enough, the primary group ID of a user could not be parsed if it contained more than nine digits. As a consequence, the nslcd daemon could drop some of the digits. With this update, nslcd is modified to parse large user IDs properly. (BZ#716822, BZ#720230) * An incorrect use of the strtol() call could cause large user ID values to overflow on 32-bit architectures. New functions have been implemented with this update, so that large user IDs are parsed correctly. (BZ#741362) This update also provides the following enhancement: * Previously, if "DNS" was specified as the value of the LDAP "uri" setting in the /etc/nslcd.conf file, the nslcd service would attempt to look up DNS SRV records for the LDAP server (in order to determine which directory server to contact) only in the local host's current DNS domain. As a consequence, nslcd could not search for an LDAP server in a different domain. With this update, the DNS domain which is used in the lookup can now be specified by providing a value in the form "DNS:domainname". (BZ#730309) All users of nss-pam-ldapd are advised to upgrade to this updated package, which fixes these bugs and adds this enhancement.

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-27T22:48:10.777Z UTC

Official vendor advisory

Red Hat Enterprise Linux 6

View source
Observed 2026-11-27T22:48:10.777Z UTC. Last updated 2026-10-07T04:29:04.158Z UTC.

Upstream Advisory

Affected Packages

  • nss-pam-ldapd 0.7.5-14.el6

Interested in being alerted when there are new versions of nss-pam-ldapd? Set up an alert.
RHBA-2011:1705: nss-pam-ldapd bug fix and enhancement update | Package Alert