samba4-ol-mmr

Andrew Bartlett abartlet at samba.org
Wed Aug 13 00:19:04 GMT 2008


On Tue, 2008-08-12 at 15:31 +0200, Oliver Liebel wrote:
> Andrew Bartlett schrieb:
> >> what do you think about checking only the presence of ol_mmr_url1 (maybe 
> >> logical "and-ed" url2).
> >> if values not "none", then all mmr-specific values will be set. so we 
> >> dont need [ol_mmr =yes] as choice.
> >>     
> >
> > Yep.  I was thinking we could actually have it as
> > --ol-mmr-urls="ldap://host1 ldap://host2", and use pythons .split()
> > function to get a list of them from the string. 
> >
> > ie, 
> >
> > ol_mmr_urls = opts.ol_mmr_urls.split
> >
> > You could then work on the URL list, which might include any number of
> > servers.  But perhaps leave this for later...
> >   
>  i got the provisioning-backend working with the mmr-templates  ;-)
> (in a simple way -see below- , but it works)
> 
> i have attached all slapd-relevant config-templates and the diffs
> of provision-backend an provision.py.
> i didnt make use of the split-function yet, i will try that later.
> > You need to specify the variables to sub.  Only create one ol-mmr.conf,
> > and then specify different MMR_DN values (instead of CONFIG_DN) for the
> > 3 different mmr configs.
> >
> >   
> i dont exactly know how to get this done yet,
> so i have used the four confs in this early stage.
> 
> can you give me a few more details how to set it up?

BTW, as well as the instructions I gave you in the previous mail, have
another look at how the memberOf configuration is repeated.  You can
make the solution more general by just having the ol-mmr-db.conf contain
one sysrepl block, and then simply pasting two copies of it together.
That way, extending the process to 3 or 4 replicas is just a matter of
adjusting the loop.

(Or just take this one step at a time, whichever works best for you!)

Andrew Bartlett

-- 
Andrew Bartlett
http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20080813/fe0e01bc/attachment.bin


More information about the samba-technical mailing list