Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1685610 - nslcd aborts when rhost is large and UseDNS is true
Summary: nslcd aborts when rhost is large and UseDNS is true
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: nss-pam-ldapd
Version: 7.7
Hardware: All
OS: All
Target Milestone: rc
: ---
Assignee: Jakub Hrozek
QA Contact: BaseOS QE Security Team
Depends On:
TreeView+ depends on / blocked
Reported: 2019-03-05 16:16 UTC by John Jasen
Modified: 2019-03-06 07:36 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:
Target Upstream Version:

Attachments (Terms of Use)

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):

How reproducible:

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:

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