> Technical questions specific for OpenLDAP should be directed to the 
> openldap-technical mailing list (see http://www.openldap.org/lists/).

My apologies for writing to the wrong list.

> > On one of the databases I only want to replicate certain entries, filtered 
> > by
> > objectclass. I use syncrepl for replication.
>
> This is possible by setting a filter in your syncrepl-statement. But you have 
> to take care whether superior entries of replicated entries are also covered 
> by your filter.

I set up replication with that filter and it is working as wanted. The superior 
entries exist already and should not be deleted of course.

> > Now I would like to write
> > entries, which are not covered by the filter and so are not replicated. But
> > Openldap sends me a referral to the master on write attempts if I use the
> > updateref directive. If I don't use this directive, I get error 53: 
> > unwilling
> > to perform.

> It seems you're writing to the consumer in a single-master environment where 
> the consumer is read-only. Why not simply write to the provider?

Yes, it's a single-master environment.
Provider and consumer have partly different data for non-replicated entries 
there.

> > Is there a way to have part of a databases entries to be replicated and 
> > others
> > being allowed to write locally?

> Why do you want that?

Because provider and consumer are installed on different hosts and some entries 
are based on the local hostname there.

> Maybe you want to use something like slapo-translucent(5).

>From a quick look into that it may be a solution for me. Thank you, Michael!

Sorry again for having sent the original question here.

Kind regards,
 Michael

Reply via email to