Home
last modified time | relevance | path

Searched refs:pgcfg (Results 1 – 9 of 9) sorted by relevance

/titanic_41/usr/src/cmd/idmap/idmapd/
H A Dinit.c118 idmap_pg_config_t *pgcfg = &_idmapdstate.cfg->pgcfg; in reload_gcs() local
119 idmap_trustedforest_t *trustfor = pgcfg->trusted_forests; in reload_gcs()
120 int num_trustfor = pgcfg->num_trusted_forests; in reload_gcs()
123 if (pgcfg->use_ads == B_FALSE || in reload_gcs()
124 pgcfg->domain_name == NULL) { in reload_gcs()
134 if (pgcfg->global_catalog == NULL || in reload_gcs()
135 pgcfg->global_catalog[0].host[0] == '\0') { in reload_gcs()
163 for (i = 0; pgcfg->global_catalog[i].host[0] != '\0'; i++) { in reload_gcs()
165 pgcfg->global_catalog[i].host, in reload_gcs()
166 pgcfg->global_catalog[i].port) != 0) { in reload_gcs()
[all …]
H A Didmap_config.c1431 idmap_cfg_load_smf(idmap_cfg_handles_t *handles, idmap_pg_config_t *pgcfg, in idmap_cfg_load_smf() argument
1454 &pgcfg->eph_map_unres_sids, B_TRUE); in idmap_cfg_load_smf()
1459 &pgcfg->use_ads, B_TRUE); in idmap_cfg_load_smf()
1464 &pgcfg->use_lsa, B_TRUE); in idmap_cfg_load_smf()
1469 &pgcfg->disable_cross_forest_trusts, B_TRUE); in idmap_cfg_load_smf()
1477 pgcfg->directory_based_mapping = DIRECTORY_MAPPING_NONE; in idmap_cfg_load_smf()
1479 pgcfg->directory_based_mapping = DIRECTORY_MAPPING_NAME; in idmap_cfg_load_smf()
1481 pgcfg->directory_based_mapping = DIRECTORY_MAPPING_IDMU; in idmap_cfg_load_smf()
1483 pgcfg->directory_based_mapping = DIRECTORY_MAPPING_NONE; in idmap_cfg_load_smf()
1492 &pgcfg->list_size_limit, SCF_TYPE_COUNT); in idmap_cfg_load_smf()
[all …]
H A Dserver.c672 maxlimit = _idmapdstate.cfg->pgcfg.list_size_limit; in idmap_list_mappings_1_svc()
819 maxlimit = _idmapdstate.cfg->pgcfg.list_size_limit; in idmap_list_namerules_1_svc()
1199 idmap_pg_config_t *pgcfg; in idmap_get_prop_1_svc() local
1209 pgcfg = &_idmapdstate.cfg->pgcfg; in idmap_get_prop_1_svc()
1214 result->value.idmap_prop_val_u.intval = pgcfg->list_size_limit; in idmap_get_prop_1_svc()
1220 pgcfg->default_domain); in idmap_get_prop_1_svc()
1224 pgcfg->domain_name); in idmap_get_prop_1_svc()
1226 pgcfg->domain_name_auto_disc; in idmap_get_prop_1_svc()
1231 pgcfg->machine_sid); in idmap_get_prop_1_svc()
1234 if (pgcfg->domain_controller != NULL) { in idmap_get_prop_1_svc()
[all …]
H A Dwksids.c293 int len = strlen(_idmapdstate.cfg->pgcfg.machine_sid); in find_wksid_by_sid()
295 (void) strcpy(my_machine_sid, _idmapdstate.cfg->pgcfg.machine_sid); in find_wksid_by_sid()
378 int len = strlen(_idmapdstate.cfg->pgcfg.machine_sid); in find_wk_by_sid()
380 (void) strcpy(my_machine_sid, _idmapdstate.cfg->pgcfg.machine_sid); in find_wk_by_sid()
H A Ddirectory_provider_nsswitch.c75 int machine_sid_len = strlen(_idmapdstate.cfg->pgcfg.machine_sid); in directory_provider_nsswitch_get()
77 (void) strcpy(my_machine_sid, _idmapdstate.cfg->pgcfg.machine_sid); in directory_provider_nsswitch_get()
447 int len = strlen(_idmapdstate.cfg->pgcfg.machine_sid); in machine_sid_dav()
450 _idmapdstate.cfg->pgcfg.machine_sid, rid); in machine_sid_dav()
H A Ddbutils.c912 if (_idmapdstate.cfg->pgcfg.default_domain) in add_namerule()
913 dom = _idmapdstate.cfg->pgcfg.default_domain; in add_namerule()
1082 if (_idmapdstate.cfg->pgcfg.eph_map_unres_sids) in load_cfg_in_state()
1086 _idmapdstate.cfg->pgcfg.id_cache_timeout; in load_cfg_in_state()
1088 _idmapdstate.cfg->pgcfg.name_cache_timeout; in load_cfg_in_state()
1091 _idmapdstate.cfg->pgcfg.directory_based_mapping; in load_cfg_in_state()
1093 if (_idmapdstate.cfg->pgcfg.default_domain != NULL) { in load_cfg_in_state()
1095 strdup(_idmapdstate.cfg->pgcfg.default_domain); in load_cfg_in_state()
1105 if (_idmapdstate.cfg->pgcfg.directory_based_mapping != in load_cfg_in_state()
1111 if (_idmapdstate.cfg->pgcfg.nldap_winname_attr != NULL) { in load_cfg_in_state()
[all …]
H A Didmap_config.h117 idmap_pg_config_t pgcfg; /* live AD/ID mapping config */ member
H A Ddirectory_provider_ad.c155 int len = strlen(_idmapdstate.cfg->pgcfg.default_domain); in directory_provider_ad_get()
157 (void) strcpy(default_domain, _idmapdstate.cfg->pgcfg.default_domain); in directory_provider_ad_get()
H A Ddirectory_provider_builtin.c288 _idmapdstate.cfg->pgcfg.machine_sid, in sid_dav()