In bug #14116 we changed the dnsHostName at join time to netbios name and realm instead of machine fqdn, and provided additional-dns-hostnames as alternative to register other SPNs. However the additional-dns-hostnames entries weren't added to the keytab and it also doesn't provide a way to specify dnsHostName attribute. Also, it is not an obvious alternative to someone working on this issue. - add msDS-AdditionalDnsHostName to the keytab. - add a new net-ads-join dnshostname=fqdn option.
Created attachment 16012 [details] port fix for v4.12 branch
Pipeline for the v4.12 backport: https://gitlab.com/samba-team/devel/samba/-/commits/iboukris-v4-12-test
Comment on attachment 16012 [details] port fix for v4.12 branch LGTM
Hi Karolin, can you please apply to v4-12-test branch, thanks!
(In reply to Isaac Boukris from comment #4) Pushed to autobuild-v4-12-test.
(In reply to Karolin Seeger from comment #5) Thanks!
(In reply to Isaac Boukris from comment #6) Thank you! :)
(In reply to Karolin Seeger from comment #5) Pushed to v4-12-test. Closing out bug report. Thanks!