RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1685610 - nslcd aborts when rhost is large and UseDNS is true
Summary: nslcd aborts when rhost is large and UseDNS is true
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: nss-pam-ldapd
Version: 7.7
Hardware: All
OS: All
unspecified
medium
Target Milestone: rc
: ---
Assignee: Tomas Halman
QA Contact: Filip Dvorak
URL:
Whiteboard: sync-to-jira
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-05 16:16 UTC by John Jasen
Modified: 2020-09-29 20:13 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-29 20:12:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:3969 0 None None None 2020-09-29 20:13:03 UTC

Description John Jasen 2019-03-05 16:16:51 UTC
Description of problem:
remote DNS entry exceeds 63 characters, resulting in nslcd errors such as:

nslcd[6080]: [04f329] client supplied argument 6 bytes too large
sshd[9868]: pam_ldap(sshd:account): error reading from nslcd: Connection reset by peer

Version-Release number of selected component (if applicable):
nss-pam-ldapd-0.8.13-16.el7.x86_64

How reproducible:
Always

Steps to Reproduce:
1. set a long name in DNS for the client host
2. enable UseDNS on the ssh server
3. ssh from verylongfqdnname to ssh server

Actual results:
sshd[1773]: error: PAM: User account has expired for USERNAME from VERYLONGFQDNNAME

Expected results:
successful login

Additional info:

Comment 2 John Jasen 2019-03-05 16:25:52 UTC
See Debian bug tracker: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=890508

Comment 3 Jakub Hrozek 2019-08-26 12:08:38 UTC
This seems to have been fixed in https://github.com/arthurdejong/nss-pam-ldapd/commit/c05e3265b7f62b83937f204119555c6a73f29b29 which looks easy enough to backport.

Comment 9 errata-xmlrpc 2020-09-29 20:12:55 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (nss-pam-ldapd bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:3969


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