Bug 2228526

Summary: (source4) finddcs fails to build a proper Addrs list from SRV records
Product: Red Hat Enterprise Linux 8 Reporter: François Cami <fcami>
Component: sambaAssignee: Andreas Schneider <asn>
Status: NEW --- QA Contact: sssd-qe
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.6CC: asharov, dkarpele, pfilipen
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description François Cami 2023-08-02 14:17:15 UTC
Description of problem:

In some cases, the number of DC hostnames present in the Addrs IP:hostname tuple list does not match the number of SRV records in DNS. 

Version-Release number of selected component (if applicable):

samba-4.16.4-101.el9.x86_64


How reproducible:

Always


Steps to Reproduce:
0. IPA / AD trust
1. Include 6 SRV records for 4 servers (e.g. have duplicated entries)
2. "ipa fetch-domains"

Actual results:
The "Addrs" list only contains two servers, the ones without duplicated entries.

Expected results:
All four servers in "Addrs". 


Additional info: