e134a6af42102c8d865e82bf89e0b8c5a40fb5faStephen Gallagher Stephen Gallagher <sgallagh@redhat.com>
e134a6af42102c8d865e82bf89e0b8c5a40fb5faStephen Gallagher Copyright (C) 2011 Red Hat
e134a6af42102c8d865e82bf89e0b8c5a40fb5faStephen Gallagher This program is free software; you can redistribute it and/or modify
e134a6af42102c8d865e82bf89e0b8c5a40fb5faStephen Gallagher it under the terms of the GNU General Public License as published by
e134a6af42102c8d865e82bf89e0b8c5a40fb5faStephen Gallagher the Free Software Foundation; either version 3 of the License, or
e134a6af42102c8d865e82bf89e0b8c5a40fb5faStephen Gallagher (at your option) any later version.
e134a6af42102c8d865e82bf89e0b8c5a40fb5faStephen Gallagher This program is distributed in the hope that it will be useful,
e134a6af42102c8d865e82bf89e0b8c5a40fb5faStephen Gallagher but WITHOUT ANY WARRANTY; without even the implied warranty of
e134a6af42102c8d865e82bf89e0b8c5a40fb5faStephen Gallagher MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
e134a6af42102c8d865e82bf89e0b8c5a40fb5faStephen Gallagher GNU General Public License for more details.
e134a6af42102c8d865e82bf89e0b8c5a40fb5faStephen Gallagher You should have received a copy of the GNU General Public License
e134a6af42102c8d865e82bf89e0b8c5a40fb5faStephen Gallagher along with this program. If not, see <http://www.gnu.org/licenses/>.
e134a6af42102c8d865e82bf89e0b8c5a40fb5faStephen Gallagher#define IPA_HBAC_SERVICE_GROUP "ipaHBACServiceGroup"
e134a6af42102c8d865e82bf89e0b8c5a40fb5faStephen Gallagher#define HBAC_HOSTGROUPS_SUBDIR "hbac_hostgroups"
e134a6af42102c8d865e82bf89e0b8c5a40fb5faStephen Gallagher#define IPA_ACCESS_RULE_TYPE "accessRuleType"
e134a6af42102c8d865e82bf89e0b8c5a40fb5faStephen Gallagher#define IPA_SOURCE_HOST_CATEGORY "sourceHostCategory"
e134a6af42102c8d865e82bf89e0b8c5a40fb5faStephen Gallagher#define IPA_SERVICE_CATEGORY "serviceCategory"
e134a6af42102c8d865e82bf89e0b8c5a40fb5faStephen Gallagher#define IPA_SERVICES_BASE_TMPL "cn=hbacservices,cn=accounts,%s"
e134a6af42102c8d865e82bf89e0b8c5a40fb5faStephen Gallagher#define SYSDB_HBAC_BASE_TMPL "cn=hbac,"SYSDB_TMPL_CUSTOM_BASE
e134a6af42102c8d865e82bf89e0b8c5a40fb5faStephen Gallagher#define HBAC_SERVICES_SUBDIR "hbac_services"
e134a6af42102c8d865e82bf89e0b8c5a40fb5faStephen Gallagher#define HBAC_SERVICEGROUPS_SUBDIR "hbac_servicegroups"
e134a6af42102c8d865e82bf89e0b8c5a40fb5faStephen Gallagherreplace_attribute_name(const char *old_name,
e134a6af42102c8d865e82bf89e0b8c5a40fb5faStephen Gallaghererrno_t hbac_ctx_to_rules(TALLOC_CTX *mem_ctx,
e134a6af42102c8d865e82bf89e0b8c5a40fb5faStephen Gallagherhbac_get_category(struct sysdb_attrs *attrs,
e134a6af42102c8d865e82bf89e0b8c5a40fb5faStephen Gallagherhbac_thost_attrs_to_rule(TALLOC_CTX *mem_ctx,
e134a6af42102c8d865e82bf89e0b8c5a40fb5faStephen Gallagherhbac_shost_attrs_to_rule(TALLOC_CTX *mem_ctx,
e17e37cd0e2109e7f1bd4ae48edfc8cca85b3f93Fabiano Fidênciohbac_get_attrs_to_get_cached_rules(TALLOC_CTX *mem_ctx);
e134a6af42102c8d865e82bf89e0b8c5a40fb5faStephen Gallagheripa_hbac_service_info_send(TALLOC_CTX *mem_ctx,
e134a6af42102c8d865e82bf89e0b8c5a40fb5faStephen Gallagheripa_hbac_service_info_recv(struct tevent_req *req,
e134a6af42102c8d865e82bf89e0b8c5a40fb5faStephen Gallagherhbac_service_attrs_to_rule(TALLOC_CTX *mem_ctx,
f5e22261a2ff95f2a61f4f199fffb8de79668110Stephen Gallagherget_ipa_servicegroupname(TALLOC_CTX *mem_ctx,
e134a6af42102c8d865e82bf89e0b8c5a40fb5faStephen Gallagherhbac_user_attrs_to_rule(TALLOC_CTX *mem_ctx,
e134a6af42102c8d865e82bf89e0b8c5a40fb5faStephen Gallagher#endif /* IPA_HBAC_PRIVATE_H_ */