[Samba] multiple file server

Rowland Penny rpenny at samba.org
Fri Nov 16 09:38:22 UTC 2018


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
 



More information about the samba mailing list