#3865 Off-by-one error in retrieving host name causes hostnames with exactly 64 characters to not work
Closed: Fixed 2 years ago Opened 2 years ago by jhrozek.

Ticket was cloned from Red Hat Bugzilla: Bug 1640400

Please note that this Bug is private and may not be accessible as it contains confidential Red Hat customer information.

Host name that is exactly 64 lines long causes issues like:

(Sun Jun 17 14:30:48 2018) [sssd[be[default]]]
[be_fo_set_dns_srv_lookup_plugin] (0x0020): gethostname() failed: [36]: File
name too long

Metadata Update from @jhrozek:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1640400

2 years ago

Metadata Update from @jhrozek:
- Issue set to the milestone: SSSD 2.1
- Issue tagged with: easyfix

2 years ago

This would be good first task for Alexey.

Metadata Update from @atikhonov:
- Issue assigned to atikhonov

2 years ago

Metadata Update from @jhrozek:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

2 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/4855

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.