Dear Rowland,
the problem is fully described here:
https://github.com/zentyal/zentyal/issues/2051
Older versions of Samba (under Ubuntu 18) DNS account is created correctly.
Newer versions of Samba (under Ubuntu 20) produces this problem, only.
Differences in DNS keytab file:
https://github.com/zentyal/zentyal/issues/2051#issuecomment-826354901
2021. 09. 22. 21:11 keltez?ssel, Rowland Penny via samba
?rta:> On Wed, 2021-09-22 at 20:19 +0200, Imre L?szl? via samba wrote:
>> Hello!
>>
>> Did you find any solution for this?
>>
>> Samba bugzilla link mentioned this issue:
>> https://bugzilla.samba.org/show_bug.cgi?id=14632
>>
> No one else has ever complained about that particular problem.
> samba_upgradedns is supposed to use the contents of the dNSHostName
> attribute from the DC's AD object minus the domain name. so what do you
> have in AD ?
>
> What is the output of the following command:
>
> sudo ldbsearch -P -Hldap://$(hostname -d) -b "OU=Domain
> Controllers,$(echo "DC=$(hostname -d)" | sed
's/\./,DC=/g')" -s sub
> "(&(objectClass=computer)(sAMAccountName=$(hostname -s)\$))"
> dNSHostName
>
> NOTE: it is supposed to be on one line.
>
> Rowland
>
>
>
--
*Imre L?szl?*
?gyvezet?
*Matrixonline.hu Kft. <https://www.matrixonline.hu/>*
+36(30)-4602138