Hi office DC (dc-office.example.com) files share user office fillial 1 DC(dc-fillial1.example.com) files share users fillial 1 fillial 2 DC(dc-fillial2.example.com) files share users fillial 2 fillial 3 DC(dc-fillial3.example.com) files share users fillial 3 setting DNS: fs.example.com 192.168.0.1 A dc-office.example.com 192.168.0.1 A fs.example.com 192.168.1.1 A dc-fillial1.example.com 192.168.1.1 A fs.example.com 192.168.2.1 A dc-fillial2.example.com 192.168.2.1 A fs.example.com 192.168.3.1 A dc-fillial3.example.com 192.168.3.1 A fs.example.com for correctly rezolv on the side of BIND is configured sortlist { { 192.168.0/24; { 192.168.0/24; }; }; { 192.168.1/24; { 192.168.1/24; }; }; { 192.168.2/24; { 192.168.2/24; }; }; { 192.168.3/24; { 192.168.3/24; }; };}; if open \\fs.example.com in office nerwork -> \\dc-office.example.com if open \\fs.example.com in fillial 1 nerwork -> \\dc-fillial1.example.com if open \\fs.example.com in fillial 2 nerwork -> \\dc-fillial2.example.com if open \\fs.example.com in fillial 3 nerwork -> \\dc-fillial3.example.com But I cannot access files through the DNS name fs.example.com, how can I get around this limitation? At the moment, after joining the domain, I add netbios aliases = fs fs.example.com to smb.conf on each server, and after that I get access but as I understand it, this is not recommended. On windows fileserver this is solved by the parameter HKEY_LOCAL_MACHINE \ System \ CurrentControlSet \ Services \ LanmanServer \ Parameters \ DisableStrictNameChecking [REG_DWORD # 32] = [0 (disabled) (default) | 1 (enabled)]
On Fri, 16 Nov 2018 09:49:58 +0500 Шигапов Денис Вильданович via samba <samba at lists.samba.org> wrote:> Hi > > office DC (dc-office.example.com) > files share user office > > fillial 1 DC(dc-fillial1.example.com) > files share users fillial 1 > > fillial 2 DC(dc-fillial2.example.com) > files share users fillial 2 > > fillial 3 DC(dc-fillial3.example.com) > files share users fillial 3 > > setting DNS: fs.example.com > > 192.168.0.1 A dc-office.example.com > 192.168.0.1 A fs.example.com > 192.168.1.1 A dc-fillial1.example.com > 192.168.1.1 A fs.example.com > 192.168.2.1 A dc-fillial2.example.com > 192.168.2.1 A fs.example.com > 192.168.3.1 A dc-fillial3.example.com > 192.168.3.1 A fs.example.com > > for correctly rezolv on the side of BIND is configured > sortlist { > { 192.168.0/24; { 192.168.0/24; }; }; > { 192.168.1/24; { 192.168.1/24; }; }; > { 192.168.2/24; { 192.168.2/24; }; }; > { 192.168.3/24; { 192.168.3/24; }; };}; > > if open \\fs.example.com in office nerwork -> \\dc-office.example.com > if open \\fs.example.com in fillial 1 nerwork -> > \\dc-fillial1.example.com if open \\fs.example.com in fillial 2 > nerwork -> \\dc-fillial2.example.com if open \\fs.example.com in > fillial 3 nerwork -> \\dc-fillial3.example.com > > But I cannot access files through the DNS name fs.example.com, how > can I get around this limitation? > At the moment, after joining the domain, I add netbios aliases = fs > fs.example.com to smb.conf on each server, and after that I get access > but as I understand it, this is not recommended. > > On windows fileserver this is solved by the parameter > HKEY_LOCAL_MACHINE \ System \ CurrentControlSet \ Services \ > LanmanServer \ Parameters \ > DisableStrictNameChecking [REG_DWORD # 32] = [0 (disabled) (default) > | 1 (enabled)] > > >OK, for a start netbios != DNS Also whilst (from my understanding) you can have multiple fqdn's pointing to one ipaddress, I do not think you can have one fqdn pointing to multiple ipaddresses, well not on a Samba AD DC. I think you need to rethink what you are attempting. Rowland
I know NetBios! = DNS but only with this parameter the scheme specified by me works if I remove this option(netbios aliases), the server will open, but there will be no access to the data. And here I think whether it is possible to make a flag by analogy with the windows, with the help of which you can disable the verification of the server address Unfortunately, this is impossible, because before the introduction of Samba, used Domain-based DFS namespace On 16.11.2018 14:38, Rowland Penny via samba wrote:> netbios aliases