Searched refs:rule_name (Results 1 - 12 of 12) sorted by relevance

/sssd-io/src/providers/ipa/
H A Dipa_hbac_private.h75 const char *rule_name,
82 const char *rule_name,
109 const char *rule_name,
122 const char *rule_name,
H A Dipa_hbac_hosts.c34 const char *rule_name,
152 name, rule_name);
190 name, rule_name);
233 const char *rule_name,
238 "Processing target hosts for rule [%s]\n", rule_name);
241 rule_name, rule_attrs,
249 const char *rule_name,
264 DEBUG(SSSDBG_TRACE_FUNC, "Processing source hosts for rule [%s]\n", rule_name);
285 rule_name, rule_attrs,
322 shosts->names[idx], rule_name);
32 hbac_host_attrs_to_rule(TALLOC_CTX *mem_ctx, struct sss_domain_info *domain, const char *rule_name, struct sysdb_attrs *rule_attrs, const char *category_attr, const char *member_attr, size_t *host_count, struct hbac_rule_element **hosts) argument
231 hbac_thost_attrs_to_rule(TALLOC_CTX *mem_ctx, struct sss_domain_info *domain, const char *rule_name, struct sysdb_attrs *rule_attrs, struct hbac_rule_element **thosts) argument
247 hbac_shost_attrs_to_rule(TALLOC_CTX *mem_ctx, struct sss_domain_info *domain, const char *rule_name, struct sysdb_attrs *rule_attrs, bool support_srchost, struct hbac_rule_element **source_hosts) argument
[all...]
H A Dipa_hbac_users.c165 const char *rule_name,
193 DEBUG(SSSDBG_TRACE_LIBS, "Processing users for rule [%s]\n", rule_name);
275 "Added user [%s] to rule [%s]\n", sysdb_name, rule_name);
319 sysdb_name, rule_name);
331 new_users->groups[num_groups], rule_name);
163 hbac_user_attrs_to_rule(TALLOC_CTX *mem_ctx, struct sss_domain_info *domain, const char *rule_name, struct sysdb_attrs *rule_attrs, struct hbac_rule_element **users) argument
H A Dipa_deskprofile_rules_util.c110 const char *rule_name,
150 rule_name,
336 const char *rule_name,
428 rule_name, ret, sss_strerror(ret));
452 rule_name, shortname, domainname);
473 rule_name, groups[j], domainname);
510 const char *rule_name,
598 rule_name, ret, sss_strerror(ret));
623 rule_name, hostname, domain->name);
646 rule_name, memberhostgroup
100 ipa_deskprofile_get_filename_path(TALLOC_CTX *mem_ctx, uint16_t config_priority, const char *rules_dir, const char *domain, const char *username, const char *priority, const char *user_priority, const char *group_priority, const char *host_priority, const char *hostgroup_priority, const char *rule_name, const char *extension, char **_filename_path) argument
332 ipa_deskprofile_rule_check_memberuser( TALLOC_CTX *mem_ctx, struct sss_domain_info *domain, struct sysdb_attrs *rule, const char *rule_name, const char *rule_prio, const char *base_dn, const char *username, char **_user_prio, char **_group_prio) argument
507 ipa_deskprofile_rule_check_memberhost(TALLOC_CTX *mem_ctx, struct sss_domain_info *domain, struct sysdb_attrs *rule, const char *rule_name, const char *rule_prio, const char *base_dn, const char *hostname, char **_host_prio, char **_hostgroup_prio) argument
692 const char *rule_name; local
[all...]
H A Dipa_hbac_services.c384 const char *rule_name,
403 "Processing PAM services for rule [%s]\n", rule_name);
502 name, rule_name);
540 name, rule_name);
382 hbac_service_attrs_to_rule(TALLOC_CTX *mem_ctx, struct sss_domain_info *domain, const char *rule_name, struct sysdb_attrs *rule_attrs, struct hbac_rule_element **services) argument
H A Dipa_access.c525 info->rule_name);
530 hbac_error_string(info->code), info->rule_name);
/sssd-io/src/lib/ipa_hbac/
H A Dhbac_evaluator.c165 (*info)->rule_name = NULL;
181 (*info)->rule_name = strdup(rules[i]->name);
182 if (!(*info)->rule_name) {
197 (*info)->rule_name = strdup(rules[i]->name);
304 const uint8_t *rule_name; local
317 rule_name = (const uint8_t *) rule_el->names[i];
321 ret = sss_utf8_case_eq(rule_name, req_name);
337 rule_name = (const uint8_t *) rule_el->groups[i];
343 ret = sss_utf8_case_eq(rule_name, req_name);
378 free(info->rule_name);
[all...]
H A Dipa_hbac.h271 char *rule_name; member in struct:hbac_info
/sssd-io/src/responder/sudo/
H A Dsudosrv_dp.c130 const char *rule_name = NULL; local
191 ret = sysdb_attrs_get_string(info->rules[i], SYSDB_NAME, &rule_name);
200 &rule_name);
/sssd-io/src/python/
H A Dpyhbac.c284 error->rule_name ? error->rule_name : "no rule");
1428 PyObject *rule_name; member in struct:__anon20
1475 Py_CLEAR(self->rule_name);
1507 self->rule_name = NULL;
1528 "If HBAC_EVAL_ALLOW is returned, the class attribute rule_name would\n"
1612 Py_XDECREF(self->rule_name);
1613 self->rule_name = NULL;
1618 self->rule_name = PyUnicode_FromString(info->rule_name);
[all...]
/sssd-io/src/tests/
H A Dpyhbac-test.py375 self.assertEqual(req.rule_name, None)
378 "rule_name", "foo")
401 self.assertEqual(req.rule_name, "allowRule")
408 self.assertEqual(req.rule_name, None)
/sssd-io/src/util/
H A Dsss_ini.c566 static int custom_sssd_checks(const char *rule_name, argument

Completed in 29 milliseconds