ADPrep → System.ComponentModel.Win32Exception (0x80004005) execution failure

When I try to add Windows Server 2022 as a second domain controller to a domain on NethServer 8, I get this error:

ADPrep → System.ComponentModel.Win32Exception (0x80004005) execution failure: The device attached to the system is not working.
For details, see the log files in the C:\Windows/debug/adprep\logs\20240418161544 directory.

Samba supports schema level up to 2012R2, see AD Schema Version Support - SambaWiki

Maybe it works this way:

https://wiki.samba.org/index.php/Joining_a_Samba_DC_to_an_Existing_Active_Directory

As already said, this is not supported.

1 Like

I’ve already tried with 2012 R2, but it also has exactly the same error.

As @mrmarkuz mentioned in the opposite direction? The Windows Server is the DC and NS8 is joined to the Domain?

This works for me except the Fileserver Service on NS8…

1 Like

No, I have NS8 as the DC, and Windows Server 2022 is connected to the domain.

It’s also possible in NS8 to create replicas on another node to provide a DC fault tolerance setup.