Searched refs:srchosts (Results 1 - 6 of 6) sorted by relevance

/sssd-io/src/tests/
H A Dipa_hbac-tests.c100 rule->srchosts = talloc_zero(rule, struct hbac_rule_element);
101 fail_if (rule->srchosts == NULL);
102 rule->srchosts->category = HBAC_CATEGORY_ALL;
103 rule->srchosts->names = NULL;
104 rule->srchosts->groups = NULL;
364 rules[0]->srchosts->category = HBAC_CATEGORY_NULL;
366 rules[0]->srchosts->names = talloc_array(rules[0], const char *, 2);
369 rules[0]->srchosts->names[0] = (const char *) &srchost_utf8_upcase;
370 rules[0]->srchosts->names[1] = NULL;
695 rules[0]->srchosts
[all...]
H A Dpyhbac-test.py207 self.assertIsInstance(rule.srchosts, pyhbac.HbacRuleElement)
250 "srchosts <category 0 names [] groups []>>")
259 r.srchosts.names = [srchost]
267 "srchosts <category 0 names [%s] groups []>>" %
288 r.srchosts.names = ["host1"]
389 allow_rule.srchosts.names = [srchost]
448 allow_rule.srchosts.names = [srchost]
/sssd-io/src/lib/ipa_hbac/
H A Dipa_hbac.h169 struct hbac_rule_element *srchosts; member in struct:hbac_rule
H A Dhbac_evaluator.c133 if (!hbac_rule_element_is_complete(rule->srchosts)) {
235 || !rule->srchosts) {
284 ret = hbac_evaluate_element(rule->srchosts,
513 if (rule->srchosts) {
515 hbac_rule_element_debug_print(rule->srchosts, "srchosts");
/sssd-io/src/python/
H A Dpyhbac.c641 HbacRuleElement *srchosts; member in struct:__anon18
678 self->srchosts = (HbacRuleElement *) HbacRuleElement_new(
682 self->targethosts == NULL || self->srchosts == NULL) {
686 Py_XDECREF(self->srchosts);
703 Py_CLEAR(self->srchosts);
721 Py_VISIT((PyObject *) self->srchosts);
763 HbacRuleElement_init(self->srchosts, empty_tuple, NULL) == -1) {
880 "targethosts %s srchosts %s>");
888 srchosts_repr = HbacRuleElement_repr(self->srchosts);
1026 { discard_const_p(char, "srchosts"), T_OBJECT_E
[all...]
/sssd-io/src/providers/ipa/
H A Dipa_hbac_common.c214 &new_rule->srchosts);

Completed in 15 milliseconds