Hi Edward,

It is looking the fixup task stop upon the first error. I do not know if it is intentional or a bug. The error is possibly related to schema checking, could you send the ldif format of entry 'uid=user1, cn=users,...' ?

regards
thierry


On 1/29/22 11:36 PM, Edward Valley via FreeIPA-users wrote:
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
_______________________________________________
FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org
To unsubscribe send an email to freeipa-users-le...@lists.fedorahosted.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/freeipa-users@lists.fedorahosted.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure
_______________________________________________
FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org
To unsubscribe send an email to freeipa-users-le...@lists.fedorahosted.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/freeipa-users@lists.fedorahosted.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to