Bug 97687
| Summary: | Hostname resolution with LDAP works only partially | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Olivier L'Heureux <o.lheureux> |
| Component: | glibc | Assignee: | Jakub Jelinek <jakub> |
| Status: | CLOSED NOTABUG | QA Contact: | Brian Brock <bbrock> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 8.0 | CC: | fweimer |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2003-11-05 18:48:30 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Olivier L'Heureux
2003-06-19 12:43:18 UTC
I tried to reproduce the problem with a RHL9 installation (the oldest I have in the network with the LDAP server) but couldn't get nss_ldap to work. Don't know what up with it. But the RHEL3 and Fedora Core test 2 code works fine. With or without getaddrinfo. If you have FC test2, try getent ahosts <HOST> where <HOST> is the name only available through LDAP. I do not think spending much time on this for back releases is worth it. We haven't received any further complaints which might indicate that this functionality actually works. In fact, this is what I expect since getaddrinfo in those releases simply calls the gethostbyname2 function. If you want to investigate old release please run strace -o /tmp/SOMETMPFILE getent hosts <HOST> and attach the /TMP/SOMETMPFILE to this bug. Then use a program which calls getaddrinfo (ideally, write a little program yourself) and run it with ltrace PROGRAM and then strace -o /tmp/ANOTHERFILE PROGRAM No response in a month. I don't see a bug. Closing now. |