Bug 15309 - Can't join Domain from IPv6 only host
Summary: Can't join Domain from IPv6 only host
Status: RESOLVED DUPLICATE of bug 9792
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB (show other bugs)
Version: 4.17.5
Hardware: x64 Linux
: P5 major (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-10 14:41 UTC by Ruben Herold
Modified: 2023-02-10 16:28 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ruben Herold 2023-02-10 14:41:32 UTC
I'm using centos 9 stream with samba 4.17.5. I have a windows active
directory running on windows server 2019. The Domain Controller are dual
stack. The linux client is single stack IPv6 only.

I added in /etc/hosts our two domain controllers as IPv6 only entrys to
be sure that dns will not lookup any IPv4 Addresses for them.

I follow the documentation: 
https://www.server-world.info/en/note?os=CentOS_Stream_9&p=samba

If I try:

net ads join -U Administrator

It failed with "Failed to join domain: failed to find DC for domain TEST
- The address handle that was given to the transport was invalid."

strace shows me that it tried to reach the IPv4 addresses of our domain
controllers, but not the IPv6 Addresses.

Windows IPv6 only hosts can join without any problem.
Comment 1 Björn Jacke 2023-02-10 14:44:43 UTC

*** This bug has been marked as a duplicate of bug 9792 ***
Comment 2 Ralph Böhme 2023-02-10 16:28:04 UTC
(In reply to Björn Jacke from comment #1)
Hm, it looks like bug 9792 is about joining a *DC* to a domain, while this bug here talks about joining as as *member*. Just in case it matters... :)