Lines Matching refs:rule
4 Library for rule based certificate to user mapping - LDAP mapping rules
210 static int add_comp(struct sss_certmap_ctx *ctx, struct ldap_mapping_rule *rule,
216 comp = talloc_zero(rule, struct ldap_mapping_rule_comp);
236 DLIST_ADD_END(rule->list, comp, struct ldap_mapping_rule_comp *);
242 struct ldap_mapping_rule *rule, const char *string)
244 return add_comp(ctx, rule, string, comp_string);
248 struct ldap_mapping_rule *rule, const char *string)
250 return add_comp(ctx, rule, string, comp_template);
261 struct ldap_mapping_rule *rule = NULL;
265 rule = talloc_zero(ctx, struct ldap_mapping_rule);
266 if (rule == NULL) {
283 CM_DEBUG(ctx, "Cannot parse mapping rule.");
301 ret = add_string(ctx, rule, tmp_string);
327 ret = add_template(ctx, rule, tmp_string);
351 ret = add_string(ctx, rule, tmp_string);
363 *mapping_rule = rule;
365 talloc_free(rule);