ipaserver.plugins.baseldap.pre_callback_process_external_objects

ipaserver.plugins.baseldap.pre_callback_process_external_objects(member_attr, object_desc, ldap, dn, found, not_found, *keys, **options)[source]
Takes the following arguments:

member_attr - member attribute to process external members for object_desc - a tuple (type, prefix) to identify a type of an object

(‘user’, ‘group’, …) to associate and a prefix to skip when comparing with an external object. Prefix should be None for objects that do not have prefixes.

found - the dictionary with all members that were found not_found - the dictionary with all members which weren’t found keys - list of arguments to the command where this callback is used options - list of options to the command where this callback is used.

The callback performs validation of objects as external (not existing in IPA LDAP) and then adds them to a list of not found objects with a mark ‘external ..’ object if they were resolved as an object from a trusted domain.

Returns a DN object used for processing dn.