samba-technical@lists.samba.org
[Top] [All Lists]

Re: backend provision samba4-ol-multimaster working

Subject: Re: backend provision samba4-ol-multimaster working
From: Andrew Bartlett
Date: Tue, 19 Aug 2008 18:53:11 +1000
On Tue, 2008-08-19 at 10:42 +0200, Oliver Liebel wrote:
> 
> Oliver Liebel schrieb:
> >
> >
> > Andrew Bartlett schrieb:
> >> On Tue, 2008-08-19 at 09:15 +1000, Andrew Bartlett wrote:
> >>  
> >>> On Mon, 2008-08-18 at 15:24 +0200, Oliver Liebel wrote:
> >>>    
> >>>> Andrew Bartlett schrieb:
> >>>>      
> >>>>> On Mon, 2008-08-18 at 13:55 +0200, Oliver Liebel wrote:
> >>>>>          
> >>>>>> Oliver Liebel schrieb:
> >>>>>>     but please take a short look on it, if its okay the way i 
> >>>>>> made it,
> >>>>>> before i start to setup the syncrepl-blocks:
> >>>>>>               
> >>>>> Yep, that looks exactly right.
> >>>>>
> >>>>> Andrew Bartlett
> >>>>>           
> >>>> .... done, complete mmr-setup is working now as wanted, using the 
> >>>> templating system
> >>>> (see attached files and diffs).
> >>>> please take a look on it, if its allright for you, we can talk 
> >>>> about the next steps.
> >>>>       
> >>> I hope to apply that to the tree today.      
> >>
> >> Can you check the current GIT tree, and see that I haven't stuffed
> >> anything up applying your patch?
> >>   
> > please use the attached mmr_syncrepl.conf (or check the old one) ;
> > i  left a hidden <tabulator> on the last line , wich will produce an 
> > config-file error when starting slapd.
> >
> > another important point: please use the two several loops i made, one 
> > for the serverid-count,
> > one for the rid-count of the syncrepl-blocks.
> > although the serverids and rids are unique, its not the way to handle it.
> > the serverids should use a straight count form 1-n,
> > and the rids too. serverids and rids can use the same count (from 1) 
> > as they are handled
> > seperately during replication.
> > a straight serverid and rid count will make the config file more easy 
> > to read and understand,

Well, then should we do RIDs of the form '101', '102', '103'?

> > and will be relevant in particular when debugging replication
> > issues, so please change it back to the originally intended form (2 
> > loops, both counting from 1).
> i forgot to mention, that you didnt use the separate replication port 
> (in my example 9000). 
> i _will_ cause trouble, if samba-ldap and slapd both listen to the same 
> port,
> so please change it back to 9000 (or another free port)

No, the admin needs to choose the port when specifying the URLs. 

Andrew Bartlett
-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.                  http://redhat.com

<Prev in Thread] Current Thread [Next in Thread>