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

Carlos carlos.hollow at gmail.com
Wed Feb 17 19:41:43 UTC 2021


Hi!

The option "password server = IP-DC" in smb.conf,  wouldn't that be what 
you want?

Regars;



Em 17/02/2021 11:25, Andrea Cucciarre' via samba escreveu:
> Thanks you.
> I have been exposed to Sites just one time, my understanding is that 
> it's a configuration that has to be done entirely in the AD, not in Samba
>
> Regards
> Andrea Cucciarre'
>
>
>
> On 2/17/2021 3:06 PM, Rowland penny via samba wrote:
>> 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