![]() |
![]() |
![]() |
realmd | ![]() |
---|
realmd can discover Active Directory domains and join the current computer as an account on that domain. This allows using domain users locally, as well as use a domain account to log into the machine.
realmd discovers which domains or realms it can use or configure. It can discover and identify Active Directory domains by looking up the appropriate DNS SRV records.
The following DNS SRV records are required to be present for realmd to identify a provided realm as an Active Directory domain. The DNS server that comes with Active Directory on Windows Server automatically creates these DNS records.
# In this example the Active Directory domain is 'domain.example.com' _kerberos._udp.domain.example.com. _kerberos._tcp.dc._msdcs.domain.example.com.
To see how realmd is discovering a
particular domain name, try a command like the following. Using
the --verbose
argument displays verbose
discovery information.
$ realm --verbose domain.example.com
* Searching for kerberos SRV records for domain: _kerberos._udp.domain.example.com
* Searching for MSDCS SRV records on domain: _kerberos._tcp.dc._msdcs.domain.example.com
* dc.domain.example.com:88
* Found kerberos DNS records for: domain.example.com
* Found AD style DNS records for: domain.example.com
* Successfully discovered: domain.example.com
...