summaryrefslogtreecommitdiffstats
path: root/src/providers/ipa/ipa_hbac_private.h
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2011-10-10 12:18:53 -0400
committerStephen Gallagher <sgallagh@redhat.com>2011-10-14 08:20:01 -0400
commitc1fcc832ccfc237caac8b99be238cf2d598f908c (patch)
tree27104d26525cf0d4a57607986bdc950b3eeb51d1 /src/providers/ipa/ipa_hbac_private.h
parentf5e22261a2ff95f2a61f4f199fffb8de79668110 (diff)
downloadsssd-c1fcc832ccfc237caac8b99be238cf2d598f908c.tar.gz
sssd-c1fcc832ccfc237caac8b99be238cf2d598f908c.tar.xz
sssd-c1fcc832ccfc237caac8b99be238cf2d598f908c.zip
HBAC: Use originalMember for identifying hostgroups
Diffstat (limited to 'src/providers/ipa/ipa_hbac_private.h')
-rw-r--r--src/providers/ipa/ipa_hbac_private.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/providers/ipa/ipa_hbac_private.h b/src/providers/ipa/ipa_hbac_private.h
index 4c637aa5f..32b5d70ce 100644
--- a/src/providers/ipa/ipa_hbac_private.h
+++ b/src/providers/ipa/ipa_hbac_private.h
@@ -131,6 +131,11 @@ hbac_shost_attrs_to_rule(TALLOC_CTX *mem_ctx,
const char *rule_name,
struct sysdb_attrs *rule_attrs,
struct hbac_rule_element **source_hosts);
+errno_t
+get_ipa_hostgroupname(TALLOC_CTX *mem_ctx,
+ struct sysdb_ctx *sysdb,
+ const char *host_dn,
+ char **hostgroupname);
/* From ipa_hbac_services.c */
struct tevent_req *