[Samba] DNS issues when setting up AD

Rob Campbell robcampbell08105 at gmail.com
Sat Oct 2 05:50:48 UTC 2021

I'm just trying to set up a small domain at home with some vms.  I have my
main server doing all the work.  I have samba set up and I am able to
access it via cockpit and I can access the ldap schema and I've added
contacts, users and ous but I can't get my vm to join the domain.  It seems
that all my issues are resolving around dns but I can't get it working.  I
can't run dnsmasq while samba is running because they both run on port 53.
What do I do?  Samba and dns need to be on the same server.

$ sudo realm join dc01.test.local -U administrator
realm: No such realm found

$ sudo realm join -U administrator
Password for administrator:
See: journalctl REALMD_OPERATION=r924632.1213569
realm: Couldn't join realm: Insufficient permissions to join the domain

# host -t SRV dc01.test.local
;; connection timed out; no servers could be reached

# nslookup
** server can't find NXDOMAIN

In all things, Be Intentional.

More information about the samba mailing list