Score:0

How to specify domain controller with realm command for joining active directory?

in flag

While joining Ubuntu 20.04 machine to AD domain using realm command, I want to specify the local domain controller, is this possible?

realm -v join ad-domain.com -u administrator -dc dc1.ad-domain.com

Ubuntu machines have network connectivity to local domain controllers only and realm by default randomly chooses the domain controllers to talk to, so it keeps on failing and I have to keep on retrying the command until it stumbles upon local domain controller.

Score:0
in flag

Replace the AD domain name with the domain controller name or IP

realm -v join -u administrator <domain controller>
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.