Hi Thierry,
Manually creating the task makes it run, but not with the expected result:
DATE_NOW="$(date +%s)"
ldapmodify -h localhost -D "cn=Directory Manager" -w "..." -a
<<EOF
dn: cn=entryuuid_fixup_${DATE_NOW},cn=entryuuid task,cn=tasks,cn=config
objectClass: top
objectClass: extensibleObject
basedn: cn=users,cn=accounts,dc=...
cn: entryuuid_fixup_${DATE_NOW}
filter: (objectClass=inetOrgPerson)
EOF
The following can be read from dirsrv error log:
[...] - ERR - NSMMReplicationPlugin - IsValidOperation - NULL operation CSN
[...] - ERR - NSMMReplicationPlugin - write_changelog_and_ruv - Can't add a change for
uid=user1,cn=users,cn=accounts,dc=... (uniqid: ..., optype: 8) to changelog csn
[...] - ERR - plugins/entryuuid/src/lib.rs:239 - entryuuid_fixup_mapfn -> fixup failed
-> uid=user1,cn=users,cn=accounts,dc=... Operation
[...] - INFO - plugins/entryuuid/src/lib.rs:182 - task_handler -> fixup complete,
success!
It simply stops when attempting to change the first user matching the filter.
If the filter directly points to a user that already has an entryUUID attribute, a success
message is printed.
The error is maybe not related to the plugin, but I don't have any replication
problem.
It isn't clear to me.
Thanks