Lines Matching refs:_idmapdstate

471 	_idmapdstate.new_eph_db = (created || upgraded) ? 1 : 0;  in init_dbs()
912 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()
1113 (_idmapdstate.cfg->pgcfg.ad_unixuser_attr != NULL) in load_cfg_in_state()
1116 (_idmapdstate.cfg->pgcfg.ad_unixgroup_attr != NULL) in load_cfg_in_state()
1120 (_idmapdstate.cfg->pgcfg.ad_unixuser_attr != NULL) in load_cfg_in_state()
1123 (_idmapdstate.cfg->pgcfg.ad_unixgroup_attr != NULL) in load_cfg_in_state()
1126 if (_idmapdstate.cfg->pgcfg.ad_unixuser_attr != NULL) { in load_cfg_in_state()
1128 strdup(_idmapdstate.cfg->pgcfg.ad_unixuser_attr); in load_cfg_in_state()
1134 if (_idmapdstate.cfg->pgcfg.ad_unixgroup_attr != NULL) { in load_cfg_in_state()
1136 strdup(_idmapdstate.cfg->pgcfg.ad_unixgroup_attr); in load_cfg_in_state()
1142 if (_idmapdstate.cfg->pgcfg.nldap_winname_attr != NULL) { in load_cfg_in_state()
1144 strdup(_idmapdstate.cfg->pgcfg.nldap_winname_attr); in load_cfg_in_state()
1260 strdup(_idmapdstate.cfg->pgcfg.machine_sid); in lookup_wksids_sid2pid()
1276 dom = _idmapdstate.hostname; in lookup_wksids_sid2pid()
1359 strdup(_idmapdstate.cfg->pgcfg.machine_sid); in lookup_wksids_pid2sid()
1383 dom = _idmapdstate.hostname; in lookup_wksids_pid2sid()
1444 _idmapdstate.cfg->pgcfg.machine_sid); in lookup_wksids_name2sid()
1465 *canondomain = strdup(_idmapdstate.hostname); in lookup_wksids_name2sid()
2409 if (_idmapdstate.num_gcs == 0 && _idmapdstate.num_dcs == 0) { in ad_lookup_batch()
2424 for (i = 0; i < _idmapdstate.num_dcs && num_queries > 0; i++) { in ad_lookup_batch()
2427 result, _idmapdstate.dcs[i], in ad_lookup_batch()
2435 for (i = 0; i < _idmapdstate.num_gcs && num_queries > 0; i++) { in ad_lookup_batch()
2438 _idmapdstate.gcs[i], in ad_lookup_batch()
2669 if (_idmapdstate.cfg->pgcfg.use_lsa && in sid2pid_first_pass()
2670 _idmapdstate.cfg->pgcfg.domain_name != NULL) { in sid2pid_first_pass()
2790 strdup(_idmapdstate.cfg->pgcfg.machine_sid); in generate_localsid()
2835 s = (_idmapdstate.cfg->pgcfg.machine_sid) ? in lookup_localsid2pid()
2836 strcasecmp(sidprefix, _idmapdstate.cfg->pgcfg.machine_sid) : 1; in lookup_localsid2pid()
3220 uid = _idmapdstate.next_uid++; in get_next_eph_uid()
3221 if (uid >= _idmapdstate.limit_uid) { in get_next_eph_uid()
3225 _idmapdstate.limit_uid = uid + 8192; in get_next_eph_uid()
3226 _idmapdstate.next_uid = uid; in get_next_eph_uid()
3242 gid = _idmapdstate.next_gid++; in get_next_eph_gid()
3243 if (gid >= _idmapdstate.limit_gid) { in get_next_eph_gid()
3247 _idmapdstate.limit_gid = gid + 8192; in get_next_eph_gid()
3248 _idmapdstate.next_gid = gid; in get_next_eph_gid()
4201 if (_idmapdstate.num_gcs > 0) { in ad_lookup_by_winname()
4202 for (i = 0; i < _idmapdstate.num_gcs && !found_ad; i++) { in ad_lookup_by_winname()
4206 _idmapdstate.gcs[i], in ad_lookup_by_winname()
4208 _idmapdstate.cfg->pgcfg.directory_based_mapping, in ad_lookup_by_winname()
4209 _idmapdstate.cfg->pgcfg.default_domain, in ad_lookup_by_winname()
4342 if (_idmapdstate.cfg->pgcfg.use_lsa && in lookup_name2sid()
4343 _idmapdstate.cfg->pgcfg.domain_name != NULL && in lookup_name2sid()