Bug Description: 389 to function in docker and other environments
such as restore-from-backup, needs to be able to upgrade it's configuration
on startup. This lets us ship-and-enable new features, upgrade plugins
and more (similar to libglobs upgrades)
Previously we had only basic machinery for this (IE make sure this
entry exists like this) which would always write the content. This
caused problems where plugins would re-enable on restart, or couldn't
be removed.
Fix Description: This ports the v4 api on upgrade config handlers.
It's a part of the previously developed v4 plugin loader and api.
This gives a subset of that including a simpler internal
search API, a create-or-exists handler that only creates an
entry if it doesnn't exist already, and moves the entry uuid
config into this. This also uses some simpler types for dn's
and memory allocation that are clearer than we currently have.
Bug Description: 389 to function in docker and other environments
such as restore-from-backup, needs to be able to upgrade it's configuration
on startup. This lets us ship-and-enable new features, upgrade plugins
and more (similar to libglobs upgrades)
Previously we had only basic machinery for this (IE make sure this
entry exists like this) which would always write the content. This
caused problems where plugins would re-enable on restart, or couldn't
be removed.
Fix Description: This ports the v4 api on upgrade config handlers.
It's a part of the previously developed v4 plugin loader and api.
This gives a subset of that including a simpler internal
search API, a create-or-exists handler that only creates an
entry if it doesnn't exist already, and moves the entry uuid
config into this. This also uses some simpler types for dn's
and memory allocation that are clearer than we currently have.
https://pagure.io/389-ds-base/issue/51177
fixes: #51177
Author: William Brown william@blackhats.net.au
Review by: ???