Description
Issue Description
When trying to add a CI test that mimic freeipa nightly test that perform backup/restore (using freeipa commands)
I hit several issues (impacting both bdb and lmdb)
[1] bdb - offline import fail:
[28/Mar/2024:11:33:07.004652982 +0100] - ERR - bdb_ldif2db - ipaca: Failed to write import file, error -5950: File not found.
[2] mdb - vlv index are not generated - looks like it is because because one level scope is handled by
setting a parentid=basedn_entryid subfilter but the entryid is not known when the filter is created.
bdb uses vlv_grok_new_import_entry in the import formean to reset the filter when a vlv basedn entry is added
and mdb should do the same.
[3] mdb- crash while trying to import an entry without parent (i.e a suffix entry) that does not belong to the backend
Package Version and Platform:
- Platform: Fedora
- Package and version: main branch
Steps to Reproduce
See the CI test test_vlv_as_freeipa_backup_restore