[Samba] force the DC to be used when joining the domain

Rowland penny rpenny at samba.org
Wed Feb 17 14:06:59 UTC 2021


On 17/02/2021 13:59, Jonathon Reinhart via samba wrote:
> On Wed, Feb 17, 2021 at 8:51 AM Andrea Cucciarre' via samba
> <samba at lists.samba.org> wrote:
>> in a scenario where an AD domain have multiple DCs, is there a way or an
>> smb.conf setting to force samba to use a specific DC to join the domain?
> Before Rowland gets to it: Why do you care?
>
> In pretty much any Active Directory setup, if you care about which DCs
> are used for a given client, you should be using separate "Sites" (as
> configured by the Sites and Services MMC).
>
> Jonathon
>

Took the words out of my mouth 😂

However, if you must use a specific DC, I believe you can use 
'--server=SERVER'

Rowland





More information about the samba mailing list