Rowland penny
2021-Feb-17 14:06 UTC
[Samba] force the DC to be used when joining the domain
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
Andrea Cucciarre'
2021-Feb-17 14:25 UTC
[Samba] force the DC to be used when joining the domain
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 > > >