ipaserver.plugins.baseldap.add_external_post_callback

ipaserver.plugins.baseldap.add_external_post_callback(ldap, dn, entry_attrs, failed, completed, memberattr, membertype, externalattr, normalize=True, reject_failures=False)[source]
Takes the following arguments:
failed - the list of failed entries, these are candidates for possible

external entries to add

completed - the number of successfully added entries so far memberattr - the attribute name that IPA uses for membership natively

(e.g. memberhost)

membertype - the object type of the member (e.g. host) externalattr - the attribute name that IPA uses to store the membership

of the entries that are not managed by IPA (e.g. externalhost)

Returns the number of completed entries so far (the number of entries handled by IPA incremented by the number of handled external entries) and dn.