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.