So I’m having the lovely experience of attempting to join an Ubuntu-Server instance to a corporate AD domain built exclusively for Windows.

I’ve configgured SSHD and SAMBA however, when I run:

sudo net ads join -U <myUserName>%<myPassword>

I get the following results:

Joined ‘< myServer >’ to dns domain ‘< myDoman >’ No DNS domain configured for < myServer >. Unable to perform DNS Update. DNS update failed: NT_STATUS_INVALID_PARAMETER

I’ve added the following to my /etc/network/interfaces file:

auto ens32

iface ens32 inet dhcp

dns-nameservers < myDNS >

Where ens32 is my primary network interface.

Any help would be appreciated.

转自https://askubuntu.com/questions/891331/no-dns-domain-configured-for-myserver-whilst-joining-ad-domain