summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap_idmap.h
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2013-06-27 12:48:49 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-06-28 20:20:59 +0200
commitb2c7b6fe7a6b9ef3af8d4d3037fe83d6e9bfd6a5 (patch)
treeef504ae88eeeee005a7ed9d5122912fca0e80df5 /src/providers/ldap/sdap_idmap.h
parentbfb40893be20b45279a40188cf16ef0eec1f9423 (diff)
downloadsssd-b2c7b6fe7a6b9ef3af8d4d3037fe83d6e9bfd6a5.tar.gz
sssd-b2c7b6fe7a6b9ef3af8d4d3037fe83d6e9bfd6a5.tar.xz
sssd-b2c7b6fe7a6b9ef3af8d4d3037fe83d6e9bfd6a5.zip
Add sdap_idmap_domain_has_algorithmic_mapping()
This patch implements a wrapper for sss_idmap_domain_has_algorithmic_mapping() for the sdap ID mapping. Fixes https://fedorahosted.org/sssd/ticket/1960
Diffstat (limited to 'src/providers/ldap/sdap_idmap.h')
-rw-r--r--src/providers/ldap/sdap_idmap.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/providers/ldap/sdap_idmap.h b/src/providers/ldap/sdap_idmap.h
index 45462c15c..c8bc4e29f 100644
--- a/src/providers/ldap/sdap_idmap.h
+++ b/src/providers/ldap/sdap_idmap.h
@@ -56,4 +56,7 @@ sdap_idmap_sid_to_unix(struct sdap_idmap_ctx *idmap_ctx,
const char *sid_str,
id_t *id);
+bool sdap_idmap_domain_has_algorithmic_mapping(struct sdap_idmap_ctx *ctx,
+ const char *dom_sid);
+
#endif /* SDAP_IDMAP_H_ */