Ggf. reicht das Umsetzen der UCR Variable windows/domain nicht und der erste Schritt aus der folgenden Anleitung fehlt:
https://help.univention.com/t/how-can-the-netbios-domain-name-be-changed/6420
eval "$(ucr shell)"
udm settings/sambadomain modify --dn sambaDomainName=DOM,cn=samba,$ldap_base --set name=NEWDOM