Hi all, A slightly hypothetical one here... but after Samba (Winbind actually)... looks up the list of AD server for a doman from DNS... what method does it use to decide which is the correct (most local?) domain controller to connect to/log in to? What will it's behaviour be if it connects to one, or two which don't have connectivity. -- A. James Lewis (james at fsck.co.uk (mailto:james at fsck.co.uk)) "Engineering does not require science. Science helps a lot but people built perfectly good brick walls long before they knew why cement works."
If you use bind9 as DNS the client will get the list via round-robin and will take the first IP from the list, BUT if you set up sites then the client will take one from it's site. Am 16.05.19 um 16:21 schrieb A. James Lewis via samba:> Hi all, > > A slightly hypothetical one here... but after Samba (Winbind actually)... looks up the list of AD server for a doman from DNS... what method does it use to decide which is the correct (most local?) domain controller to connect to/log in to? > > What will it's behaviour be if it connects to one, or two which don't have connectivity. > > -- > A. James Lewis (james at fsck.co.uk (mailto:james at fsck.co.uk)) > "Engineering does not require science. Science helps a lot but people > built perfectly good brick walls long before they knew why cement works."-- -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: OpenPGP digital signature URL: <http://lists.samba.org/pipermail/samba/attachments/20190518/e6216783/signature.sig>
I have control only over the Winbind client, not over the AD server... so I need to ask, is "sites" something set up on the AD side?... and since you suggest that DNS impacts this, are you saying that the "sites" parameter is encoded in the DNS values?... Do i need to ensure that the host is querying an AD DNS directly, or will it still work if the DNS is relayed via another local DNS server? James On 18/05/2019 09:04, Stefan Kania via samba wrote:> If you use bind9 as DNS the client will get the list via round-robin and > will take the first IP from the list, BUT if you set up sites then the > client will take one from it's site. > > Am 16.05.19 um 16:21 schrieb A. James Lewis via samba: >> Hi all, >> >> A slightly hypothetical one here... but after Samba (Winbind actually)... looks up the list of AD server for a doman from DNS... what method does it use to decide which is the correct (most local?) domain controller to connect to/log in to? >> >> What will it's behaviour be if it connects to one, or two which don't have connectivity. >> >> -- >> A. James Lewis (james at fsck.co.uk (mailto:james at fsck.co.uk)) >> "Engineering does not require science. Science helps a lot but people >> built perfectly good brick walls long before they knew why cement works." >