#47806 Failed deletion of aci: no such attribute
Closed: Fixed None Opened 6 years ago by lkrispen.

I an IPA test the following error was detected.

setup master and replica, run ipa-ldap-updater on th ereplica
Do a search for the acis in an entry on the master (~ 100 returned)
Try to delete one specific aci, it fails with err=16

Restart the directory server, deletion succeeds

The problem is a side effect of the changes introduced for performance optimization (ticket 346).
In replication update resolution values are added without passing the attribute, so a default comparison function was used, not the oen associated with the attribute syntax

$ git merge ticket47806
Updating 933cbd5..d5c6461
ldap/servers/slapd/attr.c | 4 ++--
ldap/servers/slapd/entrywsi.c | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
$ git push origin master
Counting objects: 13, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (7/7), done.
Writing objects: 100% (7/7), 1.17 KiB, done.
Total 7 (delta 5), reused 0 (delta 0)
To ssh://git.fedorahosted.org/git/389/ds.git
933cbd5..d5c6461 master -> master

Metadata Update from @lkrispen:
- Issue set to the milestone:

3 years ago

Login to comment on this ticket.