[Samba] Change the value of the records that SAMBA creates when joining a second domain controller to the primary.
pgoetz at math.utexas.edu
Thu Sep 30 18:04:42 UTC 2021
Worrying about case in a Windows AD context is one of the quickest paths
On 9/30/21 13:17, Leo Batista via samba wrote:
> Hi everyone, I am trying to join a second server to my primary domain
> controller to use as a secondary domain controller. I am using the
> following command to do it:
> root at dc2:~# kinit administrator
> administrator at EXAMPLE.COM's Password:
> samba-tool domain join example.com DC --dns-backend=BIND9_DLZ
> --option='idmap_ldb:use rfc2307 = yes' -k yes
> And the operation is successful, I have managed to join my second server
> (dc2) to the primary server (dc1). But I have a question, when I check my
> DNS records, I see that when I join the second server, it creates a record
> with the name DC2, in uppercase, also in the Active Directory users it
> creates a user with the name dns-DC2, in capital letters. My question, and
> it might sound silly, is: How could I change the value of those registers
> when joining the second server. Basically, I want the values to be
> lowercase, in DNS as dc2, and in Active Directory as dns-dc2 ..
> Thank you very much in advance.
More information about the samba