summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap_idmap.h
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2012-04-21 10:32:13 -0400
committerStephen Gallagher <sgallagh@redhat.com>2012-05-03 14:09:14 -0400
commit45f75fc8e98092fa48faa3d180fd42f7efd51486 (patch)
treefdfde37f2236c5a3be39e9f49963a2a8423177ea /src/providers/ldap/sdap_idmap.h
parent4f3fd1fb264a7eaf3a9d062d49e071b0d17e4deb (diff)
downloadsssd-45f75fc8e98092fa48faa3d180fd42f7efd51486.tar.gz
sssd-45f75fc8e98092fa48faa3d180fd42f7efd51486.tar.xz
sssd-45f75fc8e98092fa48faa3d180fd42f7efd51486.zip
LDAP: Add routine to extract domain SID from an object SID
Also makes the domain prefix macros from sss_idmap public.
Diffstat (limited to 'src/providers/ldap/sdap_idmap.h')
-rw-r--r--src/providers/ldap/sdap_idmap.h5
1 files changed, 5 insertions, 0 deletions
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_ */