Bug 68110 - adcli does not try to discover every server address
Summary: adcli does not try to discover every server address
Status: RESOLVED FIXED
Alias: None
Product: realmd
Classification: Unclassified
Component: adcli (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Stef Walter
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-14 14:38 UTC by Stef Walter
Modified: 2013-09-06 14:55 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Try to contact all available addresses for discovery (3.34 KB, patch)
2013-09-06 13:30 UTC, Stef Walter
Details | Splinter Review

Description Stef Walter 2013-08-14 14:38:06 UTC
We should discover against every server address, rather than just passing each server name to ldap_initialize.

Otherwise we fail in configurations where IPv6 addresses are available but not working.
Comment 1 Stef Walter 2013-09-06 13:30:03 UTC
Created attachment 85354 [details] [review]
Try to contact all available addresses for discovery

Don't just contact each SRV record when doing discovery, but
resolve and try to contact each A record.

This fixes problems when a machine has both IPv4 and IPv6 records
but one of these isn't usable for some reason.
Comment 2 Stef Walter 2013-09-06 14:55:12 UTC
Attachment 85354 [details] pushed as 775bed9 - Try to contact all available addresses for discovery


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.