ipaserver.plugins.baseldap.add_missing_object_class

ipaserver.plugins.baseldap.add_missing_object_class(ldap, objectclass, dn, entry_attrs=None, update=True)[source]

Add object class if missing into entry. Fetches entry if not passed. Updates the entry by default.

Returns the entry