From 45f75fc8e98092fa48faa3d180fd42f7efd51486 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Sat, 21 Apr 2012 10:32:13 -0400 Subject: LDAP: Add routine to extract domain SID from an object SID Also makes the domain prefix macros from sss_idmap public. --- src/providers/ldap/sdap_idmap.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/providers/ldap/sdap_idmap.h') diff --git a/src/providers/ldap/sdap_idmap.h b/src/providers/ldap/sdap_idmap.h index 9ac8be133..ee71da285 100644 --- a/src/providers/ldap/sdap_idmap.h +++ b/src/providers/ldap/sdap_idmap.h @@ -49,4 +49,9 @@ sdap_idmap_add_domain(struct sdap_idmap_ctx *idmap_ctx, const char *dom_name, const char *dom_sid, id_t slice); + +errno_t +sdap_idmap_get_dom_sid_from_object(TALLOC_CTX *mem_ctx, + const char *object_sid, + char **dom_sid_str); #endif /* SDAP_IDMAP_H_ */ -- cgit