Ticket 47988: Schema learning mechanism, in replication, unable to extend an existing definition
Bug Description:
At the beginning of a replication session, a supplier checks the status of remote schema vs
its own schema. If the remote schema contains new/extended definitions, the supplier learns
those definitions.
It learns through internal MOD_ADD operation on cn=schema.
For extending definition, this fails because the definition already exists.
Fix Description:
It needs to MOD_DEL and MOD_ADD those extended definitions while it needs to do MOD_ADD for new definitions.
It uses the field 'old_value' in 'struct schema_mods_indexes' to determine if it needs to del some definitions.
Some definitions can not be deleted
- if an objectclass is standard or is a superior of others oc
- if an attribute is a standard definition or is used in objectclass
This was problematic for updating the schema, so the fix is relaxing those controls for
internal operations
https://fedorahosted.org/389/ticket/47988
Reviewed by: ?
Platforms tested: F17
Flag Day: no
Doc impact: no