[Samba] joined DC but replication fails
steve
steve at steve-ss.com
Wed Jun 18 09:27:27 MDT 2014
On Wed, 2014-06-18 at 10:59 +0200, steve wrote:
> On Wed, 2014-06-18 at 10:27 +0200, steve wrote:
> > On Wed, 2014-06-18 at 09:20 +0200, L.P.H. van Belle wrote:
> > > The second server is Ubuntu server 14.04?
> > >
> > Yes.
> > > check the following and/post them here. ( best is for both servers )
> > >
> > > cat /etc/hosts
> > /etc/hosts
> > 127.0.0.1 localhost
> > 192.168.1.134 geranio.altea.site geranio
> > 192.168.1.132 palmera.altea.site palmera
> >
> > >
> > > cat /etc/resolv.conf
> > 1
> > nameserver 192.168.1.132
> > search altea.site
> >
> > 2
> > nameserver 192.168.1.134
> > search altea.site
> >
> >
> > > cat /etc/avahi/avahi-daemon.conf
> > avahi is apt-get purge(d)
> >
> > > cat /etc/sysctl.conf
> > everyl line is commented
> > >
> > > cat /etc/hostname
> > 1
> > palmera.altea.site
> > 2
> > geranio.altea.site
> > >
> > > cat /etc/krb5.conf
> > 1
> > [libdefaults]
> > default_realm = ALTEA.SITE
> > dns_lookup_realm = true
> > dns_lookup_kdc = true
> > [realms]
> > ALTEA.SITE = {
> > kdc = palmera.altea.site
> > }
> >
> > 2
> > [libdefaults]
> > default_realm = ALTEA.SITE
> > dns_lookup_realm = true
> > dns_lookup_kdc = true
> >
> > [realms]
> > ALTEA.SITE = {
> > kdc = geranio.altea.site
> > }
> >
> > The replication is one way only, DC1 --> DC2
> > This is with the git. On our real domain with 4.1.6, it works both ways.
> > Is this correct?
> > Thanks,
> > Steve
> >
> >
> >
> OK, it looks as though you have force it the first time:
> samba-tool drs replicate geranio palmera dc=altea,dc=site
>
> whereupon it sticks.
>
> Must we do this for each partition? The behaviour has changed between
> 4.1.6 and the latest git. Is this documented or expected?
> Thanks, Steve
>
>
Fail-over doesn't work either. There are bits and pieces missing in the
wiki. Not sure if our findings are Ubuntu specific. Anyway here are our
workarounds:
http://linuxcostablanca.blogspot.com.es/2014/06/samba4-dc-replication-on-ubuntu.html
HTH
Cheers,
Steve
More information about the samba
mailing list