ipaserver.plugins.idviews.resolve_object_to_anchor¶
- ipaserver.plugins.idviews.resolve_object_to_anchor(ldap, obj_type, obj, fallback_to_ldap)[source]¶
- Resolves the user/group name to the anchor uuid:
first it tries to find the object as user or group in IPA (depending on the passed obj_type)
if the IPA lookup failed, lookup object SID in the trusted domains
- Takes options:
ldap - the backend obj_type - either ‘user’ or ‘group’ obj - the name of the object, e.g. ‘admin’ or ‘testuser’