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.
*** This bug has been marked as a duplicate of bug 9792 ***
(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... :)