diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2012-04-23 08:05:07 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-05-03 14:09:14 -0400 |
commit | 8be5e4497e5008f7807178acdfcbf97365ec4e73 (patch) | |
tree | afa0e26dab895b020e7fac5e3a4f0e7979d7dcb1 /src/providers/ldap/sdap_idmap.h | |
parent | 3f2fa4c9290afdb393c760419a0ff686045a1ab3 (diff) | |
download | sssd-8be5e4497e5008f7807178acdfcbf97365ec4e73.tar.gz sssd-8be5e4497e5008f7807178acdfcbf97365ec4e73.tar.xz sssd-8be5e4497e5008f7807178acdfcbf97365ec4e73.zip |
LDAP: Add helper function to map IDs
This function will also auto-create a new ID map if the domain has
not been seen previously.
Diffstat (limited to 'src/providers/ldap/sdap_idmap.h')
-rw-r--r-- | src/providers/ldap/sdap_idmap.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/providers/ldap/sdap_idmap.h b/src/providers/ldap/sdap_idmap.h index ee71da285..99f2ad9e1 100644 --- a/src/providers/ldap/sdap_idmap.h +++ b/src/providers/ldap/sdap_idmap.h @@ -54,4 +54,10 @@ errno_t sdap_idmap_get_dom_sid_from_object(TALLOC_CTX *mem_ctx, const char *object_sid, char **dom_sid_str); + +errno_t +sdap_idmap_sid_to_unix(struct sdap_idmap_ctx *idmap_ctx, + const char *sid_str, + id_t *id); + #endif /* SDAP_IDMAP_H_ */ |