Bug 2228526 - (source4) finddcs fails to build a proper Addrs list from SRV records
Summary: (source4) finddcs fails to build a proper Addrs list from SRV records
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: samba
Version: 8.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Andreas Schneider
QA Contact: sssd-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-02 14:17 UTC by François Cami
Modified: 2023-08-17 07:54 UTC (History)
3 users (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-164209 0 None None None 2023-08-02 14:18:16 UTC

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:


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