I have created a new auxiliary objectclass with attributes to be used on an existing 389 LDAP catalog. Adding this using ldapmodify for one entry works fine when I specify a specific DN. However I wish to add this objectClass to all existing entries providing it allready has a certain objectClass.
Originally I thought I could do something like this
dn: cn=*,ou=bar,dc=baz,dc=tld
changetype: modify
add: objectClass
objectClass: bazinga
But this will do it for all entries providing the LDIF format actually support wildcard statements. I have no idea on how to further limit this so that only entries with that certain objectClass is present.
Is my assumption that I can use wildcards correct and how can I further limit this so that only those entries with that objectClass get modified?