[Samba] multiple file server

Шигапов Денис Вильданович denis.shigapov at stroylandiya.ru
Fri Nov 16 04:49:58 UTC 2018


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)]





More information about the samba mailing list