[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: [Q] can I replicate several branches to the same slave from one master?
- To: Zeus Panchenko <zeus@ibs.dn.ua>
- Subject: Re: [Q] can I replicate several branches to the same slave from one master?
- From: Quanah Gibson-Mount <quanah@symas.com>
- Date: Fri, 30 Jun 2017 07:07:27 -0700
- Cc: openldap-technical@openldap.org
- Content-disposition: inline
- In-reply-to: <WM!d1ddae85f172ca823e20c9f3eee7a9557a5f65799b5a8281743d7367fb6417fa72d6f2c66c8e8b58c4cf0beb627a8ebf!@mailstronghold-3.zmailcloud.com>
- References: <20170627010438.33399@relay.ibs.dn.ua> <WM!778a4deb87ae8f4aec4adbf3dacc05317d4fc574b3889939c06e85d8867011c4f81a61b1af92af1548f5b583d1c5ab0c!@mailstronghold-3.zmailcloud.com> <0E269F8C84B9E78512EDD464@[192.168.1.30]> <20170630080831.47944@relay.ibs.dn.ua> <WM!d1ddae85f172ca823e20c9f3eee7a9557a5f65799b5a8281743d7367fb6417fa72d6f2c66c8e8b58c4cf0beb627a8ebf!@mailstronghold-3.zmailcloud.com>
--On Friday, June 30, 2017 9:08 AM +0300 Zeus Panchenko <zeus@ibs.dn.ua>
wrote:
Quanah Gibson-Mount <quanah@symas.com> wrote:
Wouldn't it be simpler to define ACLs on the master that limit what
the replication identity has access to that matches your filters?
emm ... I was sure I can not do that on the master side ... just I try
do that, I receive full data ...
Then likely your ACLs were incorrect?
looks like some more permittive acl works for the replica ... can I
somehow know which acl matched the replica? But I was trying to place
replABC ACLs to the end of the list and still was not able to limit data
according the filter
I suggest reading the slapd.access(5) man page and the OpenLDAP Admin
guide. As clearly noted in the documentation, ACLs (generally) stop
processing on the *first* match. So, depending on your ACLs, adding your
ACLS at the end of the list probably meant they were never evaluated.
I would also note that your stanza limiting what attrs are replicated
is missing the operational attributes that are necessary for sync
replication to function, so I would fully expect errors.
do you mean entryCSN and entryUUID ?
Yes, sorry, I missed them at the start of the list of attributes. ;) So
that part seems ok.
--Quanah
--
Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>