[Samba] Samba4 replication not working

Rowland Penny rpenny at samba.org
Sat Oct 15 16:39:10 UTC 2016


On Sat, 15 Oct 2016 18:17:18 +0200
Ronny Forberger <ronnyforberger at ronnyforberger.de> wrote:

> 
> 
> Am 14.10.2016 um 16:00 schrieb Rowland Penny via samba:
> > On Fri, 14 Oct 2016 15:45:39 +0200
> > Ronny Forberger <ronnyforberger at ronnyforberger.de> wrote:
> >
> >>
> >> Am 14.10.2016 um 15:29 schrieb Rowland Penny via samba:
> >>> On Fri, 14 Oct 2016 15:16:17 +0200
> >>> Ronny Forberger via samba <samba at lists.samba.org> wrote:
> >>>
> >>>> Am 14.10.2016 um 15:05 schrieb L.P.H. van Belle via samba:
> >>>>> Hai, 
> >>>>>
> >>>>> Can you download : 
> >>>>> http://downloads.van-belle.nl/samba4/samba-check-db-repl.sh 
> >>>>>
> >>>> Hi,
> >>>>
> >>>> the output of your script is
> >>>>
> >>>> No Samba DC's Found with, you might have dns problems
> >>>>               exitting now...
> >>>>
> >>>> How can I find out what is wrong with DNS?
> >>>>
> >>> Can you describe your setup to us ? how many DCs, where is Bind
> >>> running etc
> >>>
> >>> Rowland
> >>>
> >> Sure.
> >>
> >> I have 2 DCs, one running on macy (FreeBSD) and the other one
> >> running on nidy (Gentoo Linux). Bind is running on macy and 2
> >> other hosts in the same subnet. On the DC2, nidy, no bind is
> >> running, but pointing to the 3 dns servers in resolv.conf.
> >>
> > OK, can I suggest you run Bind on macy and nidy with identical conf
> > files. As for the other two hosts, either turn off Bind or set them
> > up as forwarders for the DCs, your clients should only use the DCs
> > for the domain DNS, anything outside the domain should be forwarded
> > to another DNS server outside the domain. If you run Bind on
> > anything other than a domain DC, you cannot use dlz.
> >
> > Rowland
> >  
> Can't I just set up all the DNS records for samba on all 3 DNS servers
> and resolv against them?
> 
> Best regards,
> Ronny
> 

The DNS records are stored in AD, when a record is created on one DC,
it will be replicated to the other, how are you going to replicate to
the other three dns servers ???

Rowland



More information about the samba mailing list