RHDS - How to replace custom objectClass in replication environment by a subset of it?
Issue
Customer wants to remove some custom attributes from the schema.
For instance, there is an objectClass with custom attributes like below:
objectClasses: ( 1.2.0.0 NAME 'myCustomObjectClass' DESC 'Custom ObjectClass for my application App v1.0' SUP top STRUCTURAL MUST cn MAY ( customAttribute1 $ customAttribute2 $ customAttribute3 $ customAttribute4 $ customAttribute5 $ userPassword ) X-ORIGIN 'user defined' )"
Some custom attributes are no longer used ( eg: customAttribute4 and customAttribute5 ) and customer is trying to update the schema using ldapmodify
The changes will fail because the Schema Learning engine will detect that there is already an objectClass which is a superset of the new one.
Environment
Red Hat Directory Server 10
Red Hat Enterprise Linux 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.