Le mer. 31 oct. 2018 03:20, Frank Swasey <Francis.Swasey(a)uvm.edu> a écrit :
I am attempting to set up a replication using delta-syncrepl that
ignore four objectClasses. I am able to prevent the attributes of those
objectClasses from being sent, by using @objectClassName in the exattrs
value of the statement. However, I also have to set schemachecking off
because the objectClass: objectClassName value is still coming over.
I was not able to find any examples of using the exattrs option in the
tests/data directory. And, I have failed to find anything relevant from
Is there a way to prevent the four possible objectClass values that I
don't want to see from being sent so I can leave schemachecking turned on?
In your olcSyncrepl directive you can set the search filter for the entries
to be replicated. The default filter is
Replace it by
'(&(! (objectClass=class1))(! (objectClass=class2))(!
Or add this to whatever filter you have (hope I got the paranthesis right).
Sorry, I misclicked for the reply and didn't send it to the list. And what
I said prevents all entries using any of the four classes from being
replicated and concerns the olcSyncrepl statement of your actual data. The
exattrs is no longer needed if you use this filter - and you might want to
let it out, if any of your four classes' attributes are used by some other
But I wonder if I didn't misunderstand your question. The values of
objectClass are not in your data, they belong to the schema,
cn=schema,cn=config. Do you replicate your cn=config and want to have a
different schema on your consumer with respect to the provider ?