Lines Matching refs:domains
152 const char *map_rule, const char **domains)
212 if (domains != NULL && *domains != NULL) {
213 for (c = 0; domains[c] != NULL; c++);
214 rule->domains = talloc_zero_array(rule, char *, c + 1);
215 if (rule->domains == NULL) {
219 for (c = 0; domains[c] != NULL; c++) {
220 rule->domains[c] = talloc_strdup(rule->domains, domains[c]);
221 if (rule->domains[c] == NULL) {
803 char **domains = NULL;
838 if (r->domains != NULL) {
839 for (c = 0; r->domains[c] != NULL; c++);
840 domains = talloc_zero_array(ctx, char *, c + 1);
841 if (domains == NULL) {
846 for (c = 0; r->domains[c] != NULL; c++) {
847 domains[c] = talloc_strdup(domains, r->domains[c]);
848 if (domains[c] == NULL) {
867 *_domains = domains;
870 talloc_free(domains);
912 void sss_certmap_free_filter_and_domains(char *filter, char **domains)
915 talloc_free(domains);