Question: how to configure ubuntu linux server as a domain controller with samba-tool?
Answer: Network configuration. Configure networking. Update system and install required packages. Run the samba AD setup. Test the configuration. Configure samba AD to start with systemd. Join a computer to the domain. Create a user account.