https://bugs.openldap.org/show_bug.cgi?id=10508
--- Comment #8 from Howard Chu hyc@openldap.org --- For clarity - the referenced kludge, removed for ITS#10250, was put in for ITS#4827, not ITS#4820.
The lack of op->orm_no_opattrs in the syncrepl_entry() modrdn path definitely breaks test017 on 32bit build, and setting it fixes it.
The lack in syncrepl_message_to_op() is irrelevant since delta-sync ops will always include all of these opattrs and there's no diff step that could elide them.