[Samba] Can't replicate DCs

Rowland penny rpenny at samba.org
Mon Aug 12 07:36:00 UTC 2019


On 11/08/2019 23:53, Luke Barone via samba wrote:
> Hi list,
>
> I'm running into issues with Samba 4.5.16-Debian. I am trying to get 3 DCs
> to talk to each other and replicate. DC1 and DC3 are on the same subnet;
> DC2 is on another subnet, accessible by IP. Currently, no firewalls on any
> of the DCs.
>
> Issue 1 - When I run "samba-tool drs showrepl", I get various results:
>
>
> Finally, the file contents on the DCs:
>
> /etc/hosts:
>
> # cat /etc/hosts
> 127.0.0.1       localhost
> ::1             localhost ip6-localhost ip6-loopback
> ff02::1         ip6-allnodes
> ff02::2         ip6-allrouters
>
> 192.168.1.4     dc2.ad.example.com      dc2
> 10.1.10.3       dc1.ad.example.com      dc1
> 10.1.10.10      dc3.ad.example.com      dc3
Remove the other DCs info from each DCs /etc/hosts file, the DCs should 
find each other via dns.
> # cat /etc/samba/smb.conf
> # Global parameters
> [global]
>          ntlm auth = yes
Why do you need 'ntlm auth' ?
>          disable netbios = yes
Not how you do it on a DC
>          bind interfaces only = Yes
>          interfaces = lo eth0
>          netbios name = DC2
>          realm = AD.EXAMPLE.COM
>          server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl,
> winbindd, ntp_signd, kcc, dnsupdate
As you are using Bind9, can you post your named.conf files.

Rowland






More information about the samba mailing list