Geert Hendrickx wrote:
Hi
We are facing a proprietary application that insists on the presence of certain attributes that are optional in our objectclass schema, and not all objects have them.
So we are considering to provision dummy values to all objects that currently don't have these attributes, but that would impact a large number of objects, which I'd like to avoid. (And we'd also have to adjust business logic to always add those attributes in the future, whereas they are truly optional in our data model.)
Is there an OpenLDAP overlay that can insert dummy values for missing attributes? For arbitrary objects? (I read about slapo-translucent, but I think it requires each object to be present in the transcluent database?)
You could try using the collect overlay (collective attributes). It adds a virtual attribute unconditionally, so you may want to modify its code to only add the attribute if it's missing.