Lines Matching defs:ppolicy_dns
1321 const char **ppolicy_dns;
1425 const char **ppolicy_dns;
1434 ppolicy_dns = talloc_array(mem_ctx, const char*, count + 1);
1437 ppolicy_dns[i] = talloc_asprintf(mem_ctx, "cn=ppolicy,ou=policies,%s",
1441 ppolicy_dns[count] = NULL;
1442 return ppolicy_dns;
1476 state->ppolicy_dns = talloc_array(state, const char*, 2);
1477 if (state->ppolicy_dns == NULL) {
1478 DEBUG(SSSDBG_CRIT_FAILURE, "Could not allocate ppolicy_dns.\n");
1483 state->ppolicy_dns[0] = ppolicy_dn;
1484 state->ppolicy_dns[1] = NULL;
1491 state->ppolicy_dns = get_default_ppolicy_dns(state, state->opts->sdom);
1492 if (state->ppolicy_dns == NULL) {
1526 if (state->ppolicy_dns[state->ppolicy_dns_index] == NULL) {
1534 state->ppolicy_dns[state->ppolicy_dns_index]);
1540 state->ppolicy_dns[state->ppolicy_dns_index],