Hello all,
I found a solution to do that with 'filter=' in syncrepl in the slave server:
Code:
olcSyncrepl: {0}rid=
provider=ldap://ldap-1.example.com
binddn="cn=admin,dc=example,dc=com"
bindmethod=simple
credentials=password
searchbase="dc=example,dc=com"
filter="(|(entryDN:dnSubtreeMatch:=ou=People,dc=example,dc=com)(entryDN:dnSubtreeMatch:=ou=Groups,dc=example,dc=com))"
type=refreshAndPersist
interval=00:00:00:10 retry="5 5 100 +"
timeout=3
But i search again with the ACLs.