Hello Dieter,
On Tue, Feb 25, 2014 at 10:50 AM, Dieter Klünter dieter@dkluenter.dewrote:
You didn't mention the OpenLDAP version, as actual man slapd-ldap states:
In early versions of back-ldap it was recommended to always set lastmod off ... The current implementation automatically sets lastmod to off, so its use is redundant and should be omitted.
Thanks for the reply. Yes, but when using syncrepl you must enable "lastmod". We have this written on man slapd-conf:
olcLastMod: TRUE | FALSE ... It also controls the entryCSN and entryUUID attributes, which are needed by the syncrepl provider.
And it is hardcoded on syncprov overlay (servers/slapd/overlays/syncprov.c):
static int syncprov_db_open( BackendDB *be, ConfigReply *cr ) { ... if ( !SLAP_LASTMOD( be )) { Debug( LDAP_DEBUG_ANY, "syncprov_db_open: invalid config, lastmod must be enabled\n", 0, 0, 0 ); return -1; }
Kind regards, Italo.