Home
last modified time | relevance | path

Searched refs:trusted_domains (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/libadutils/common/
H A Daddisc.c733 ad_disc_trusteddomains_t *trusted_domains = NULL; in ldap_lookup_trusted_domains() local
775 void *tmp = realloc(trusted_domains, in ldap_lookup_trusted_domains()
779 free(trusted_domains); in ldap_lookup_trusted_domains()
785 trusted_domains = tmp; in ldap_lookup_trusted_domains()
787 (void) memset(&trusted_domains[num], 0, in ldap_lookup_trusted_domains()
789 (void) strcpy(trusted_domains[num - 1].domain, in ldap_lookup_trusted_domains()
791 trusted_domains[num - 1].direction = in ldap_lookup_trusted_domains()
801 trusted_domains = calloc(1, sizeof (ad_disc_trusteddomains_t)); in ldap_lookup_trusted_domains()
811 return (trusted_domains); in ldap_lookup_trusted_domains()
944 ctx->trusted_domains.type = AD_TRUSTED_DOMAINS; in ad_disc_init()
[all …]
H A Daddisc_impl.h96 ad_item_t trusted_domains; /* DNS domainname and trust */ member
/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Dinit.c386 if (pgcfg->trusted_domains == NULL || in print_idmapdstate()
387 pgcfg->trusted_domains[0].domain[0] == '\0') { in print_idmapdstate()
390 for (i = 0; pgcfg->trusted_domains[i].domain[0] != '\0'; i++) in print_idmapdstate()
392 pgcfg->trusted_domains[i].domain); in print_idmapdstate()
H A Didmap_config.c1932 pgcfg->trusted_domains = in discover_trusted_domains()
1935 if (pgcfg->forest_name != NULL && pgcfg->trusted_domains != NULL && in discover_trusted_domains()
1936 pgcfg->trusted_domains[0].domain[0] != '\0') { in discover_trusted_domains()
1942 for (i = 0; pgcfg->trusted_domains[i].domain[0] != '\0'; i++) in discover_trusted_domains()
1949 for (i = 0; pgcfg->trusted_domains[i].domain[0] != '\0'; i++) { in discover_trusted_domains()
1950 trusteddomain = pgcfg->trusted_domains[i].domain; in discover_trusted_domains()
2474 if (update_trusted_domains(&live_pgcfg->trusted_domains, in idmap_cfg_load()
2475 &new_pgcfg.trusted_domains, "trusted_domains")) { in idmap_cfg_load()
2477 if (live_pgcfg->trusted_domains != NULL && in idmap_cfg_load()
2478 live_pgcfg->trusted_domains[0].domain[0] != '\0') in idmap_cfg_load()
[all …]
H A Didmap_config.h104 *trusted_domains; /* Trusted Domains */ member