We have a windows AD domain, let's say EXAMPLE.COM. With corresponding DNS domain example.com
I want to have just a normal domain member. Ubuntu 20.04, Samba 4.11.6.
Its DNS name is already established. Let's say it is a.b.example.com.
Forward and reverse DNS is already configured. The commands hostname -s and hostname -f show correct values.
Now I execute:
net ads join --no-dns-updates -U some-admin-account
Everything looks ok, but computer is entered into domain under name a.example.com.
LDAP shows for this computer: dNSHostName: a.example.com.
The generated kerberos keytab has entries like:
host/a@EXAMPLE.COM
host/a.example.com@EXAMPLE.COM
Is there a way to specify full DNS name during net ads join?