Lines Matching refs:how
1318 res->info.how.map_type = IDMAP_MAP_TYPE_KNOWN_SID; in lookup_wksids_sid2pid()
1385 res->info.how.map_type = IDMAP_MAP_TYPE_KNOWN_SID; in lookup_wksids_pid2sid()
1643 res->info.how.map_type = strtoul(values[6], &end, 10); in lookup_cache_sid2pid()
1644 switch (res->info.how.map_type) { in lookup_cache_sid2pid()
1646 res->info.how.idmap_how_u.ad.dn = in lookup_cache_sid2pid()
1648 res->info.how.idmap_how_u.ad.attr = in lookup_cache_sid2pid()
1650 res->info.how.idmap_how_u.ad.value = in lookup_cache_sid2pid()
1655 res->info.how.idmap_how_u.nldap.dn = in lookup_cache_sid2pid()
1657 res->info.how.idmap_how_u.nldap.attr = in lookup_cache_sid2pid()
1659 res->info.how.idmap_how_u.nldap.value = in lookup_cache_sid2pid()
1664 res->info.how.idmap_how_u.rule.windomain = in lookup_cache_sid2pid()
1666 res->info.how.idmap_how_u.rule.winname = in lookup_cache_sid2pid()
1668 res->info.how.idmap_how_u.rule.unixname = in lookup_cache_sid2pid()
1670 res->info.how.idmap_how_u.rule.is_nt4 = in lookup_cache_sid2pid()
1672 res->info.how.idmap_how_u.rule.is_user = in lookup_cache_sid2pid()
1674 res->info.how.idmap_how_u.rule.is_wuser = in lookup_cache_sid2pid()
1688 res->info.how.idmap_how_u.idmu.dn = in lookup_cache_sid2pid()
1690 res->info.how.idmap_how_u.idmu.attr = in lookup_cache_sid2pid()
1692 res->info.how.idmap_how_u.idmu.value = in lookup_cache_sid2pid()
1892 idmap_how *how; in ad_lookup_batch_int() local
1945 how = &res->info.how; in ad_lookup_batch_int()
1992 idmap_how_clear(&res->info.how); in ad_lookup_batch_int()
1994 how->map_type = IDMAP_MAP_TYPE_DS_AD; in ad_lookup_batch_int()
1995 dn = &how->idmap_how_u.ad.dn; in ad_lookup_batch_int()
1996 attr = &how->idmap_how_u.ad.attr; in ad_lookup_batch_int()
1997 value = &how->idmap_how_u.ad.value; in ad_lookup_batch_int()
2010 idmap_how_clear(&res->info.how); in ad_lookup_batch_int()
2012 how->map_type = IDMAP_MAP_TYPE_IDMU; in ad_lookup_batch_int()
2013 dn = &how->idmap_how_u.idmu.dn; in ad_lookup_batch_int()
2014 attr = &how->idmap_how_u.idmu.attr; in ad_lookup_batch_int()
2015 value = &how->idmap_how_u.idmu.value; in ad_lookup_batch_int()
2116 idmap_how_clear(&res->info.how); in ad_lookup_batch_int()
2118 how->map_type = IDMAP_MAP_TYPE_IDMU; in ad_lookup_batch_int()
2121 &how->idmap_how_u.ad.dn, in ad_lookup_batch_int()
2122 &how->idmap_how_u.ad.attr, in ad_lookup_batch_int()
2123 &how->idmap_how_u.ad.value, in ad_lookup_batch_int()
2143 idmap_how_clear(&res->info.how); in ad_lookup_batch_int()
2145 how->map_type = IDMAP_MAP_TYPE_DS_AD; in ad_lookup_batch_int()
2148 &how->idmap_how_u.ad.dn, in ad_lookup_batch_int()
2149 &how->idmap_how_u.ad.attr, in ad_lookup_batch_int()
2150 &how->idmap_how_u.ad.value, in ad_lookup_batch_int()
2253 idmap_how_clear(&res->info.how); in ad_lookup_batch_int()
2280 res->info.how.map_type = in ad_lookup_batch_int()
2299 res->info.how.map_type = in ad_lookup_batch_int()
2799 res->info.how.map_type = IDMAP_MAP_TYPE_LOCAL_SID; in generate_localsid()
2865 res->info.how.map_type = IDMAP_MAP_TYPE_LOCAL_SID; in lookup_localsid2pid()
3013 idmap_namerule *rule = &res->info.how.idmap_how_u.rule; in name_based_mapping_sid2pid()
3194 res->info.how.map_type = IDMAP_MAP_TYPE_RULE_BASED; in name_based_mapping_sid2pid()
3340 res->info.how.map_type = IDMAP_MAP_TYPE_EPHEMERAL; in dynamic_ephemeral_mapping()
3349 res->info.how.map_type = IDMAP_MAP_TYPE_EPHEMERAL; in dynamic_ephemeral_mapping()
3364 res->info.how.map_type = IDMAP_MAP_TYPE_EPHEMERAL; in dynamic_ephemeral_mapping()
3532 if (res->info.how.map_type != IDMAP_MAP_TYPE_UNKNOWN) in sid2pid_second_pass()
3533 idmap_how_clear(&res->info.how); in sid2pid_second_pass()
3619 assert(res->info.how.map_type != IDMAP_MAP_TYPE_UNKNOWN); in update_cache_pid2sid()
3620 switch (res->info.how.map_type) { in update_cache_pid2sid()
3622 map_dn = res->info.how.idmap_how_u.ad.dn; in update_cache_pid2sid()
3623 map_attr = res->info.how.idmap_how_u.ad.attr; in update_cache_pid2sid()
3624 map_value = res->info.how.idmap_how_u.ad.value; in update_cache_pid2sid()
3628 map_dn = res->info.how.idmap_how_u.nldap.dn; in update_cache_pid2sid()
3629 map_attr = res->info.how.idmap_how_u.nldap.attr; in update_cache_pid2sid()
3630 map_value = res->info.how.idmap_how_u.nldap.value; in update_cache_pid2sid()
3634 map_windomain = res->info.how.idmap_how_u.rule.windomain; in update_cache_pid2sid()
3635 map_winname = res->info.how.idmap_how_u.rule.winname; in update_cache_pid2sid()
3636 map_unixname = res->info.how.idmap_how_u.rule.unixname; in update_cache_pid2sid()
3637 map_is_nt4 = res->info.how.idmap_how_u.rule.is_nt4; in update_cache_pid2sid()
3647 map_dn = res->info.how.idmap_how_u.idmu.dn; in update_cache_pid2sid()
3648 map_attr = res->info.how.idmap_how_u.idmu.attr; in update_cache_pid2sid()
3649 map_value = res->info.how.idmap_how_u.idmu.value; in update_cache_pid2sid()
3674 res->info.how.map_type, map_dn, map_attr, map_value, in update_cache_pid2sid()
3775 switch (res->info.how.map_type) { in update_cache_sid2pid()
3777 map_dn = res->info.how.idmap_how_u.ad.dn; in update_cache_sid2pid()
3778 map_attr = res->info.how.idmap_how_u.ad.attr; in update_cache_sid2pid()
3779 map_value = res->info.how.idmap_how_u.ad.value; in update_cache_sid2pid()
3783 map_dn = res->info.how.idmap_how_u.nldap.dn; in update_cache_sid2pid()
3784 map_attr = res->info.how.idmap_how_u.ad.attr; in update_cache_sid2pid()
3785 map_value = res->info.how.idmap_how_u.nldap.value; in update_cache_sid2pid()
3789 map_windomain = res->info.how.idmap_how_u.rule.windomain; in update_cache_sid2pid()
3790 map_winname = res->info.how.idmap_how_u.rule.winname; in update_cache_sid2pid()
3791 map_unixname = res->info.how.idmap_how_u.rule.unixname; in update_cache_sid2pid()
3792 map_is_nt4 = res->info.how.idmap_how_u.rule.is_nt4; in update_cache_sid2pid()
3799 map_dn = res->info.how.idmap_how_u.idmu.dn; in update_cache_sid2pid()
3800 map_attr = res->info.how.idmap_how_u.idmu.attr; in update_cache_sid2pid()
3801 map_value = res->info.how.idmap_how_u.idmu.value; in update_cache_sid2pid()
3823 res->info.how.map_type, map_dn, map_attr, map_value, in update_cache_sid2pid()
3996 res->info.how.map_type = strtoul(values[6], &end, 10); in lookup_cache_pid2sid()
3997 switch (res->info.how.map_type) { in lookup_cache_pid2sid()
3999 res->info.how.idmap_how_u.ad.dn = in lookup_cache_pid2sid()
4001 res->info.how.idmap_how_u.ad.attr = in lookup_cache_pid2sid()
4003 res->info.how.idmap_how_u.ad.value = in lookup_cache_pid2sid()
4008 res->info.how.idmap_how_u.nldap.dn = in lookup_cache_pid2sid()
4010 res->info.how.idmap_how_u.nldap.attr = in lookup_cache_pid2sid()
4012 res->info.how.idmap_how_u.nldap.value = in lookup_cache_pid2sid()
4017 res->info.how.idmap_how_u.rule.windomain = in lookup_cache_pid2sid()
4019 res->info.how.idmap_how_u.rule.winname = in lookup_cache_pid2sid()
4021 res->info.how.idmap_how_u.rule.unixname = in lookup_cache_pid2sid()
4023 res->info.how.idmap_how_u.rule.is_nt4 = in lookup_cache_pid2sid()
4025 res->info.how.idmap_how_u.rule.is_user = in lookup_cache_pid2sid()
4027 res->info.how.idmap_how_u.rule.is_wuser = in lookup_cache_pid2sid()
4041 res->info.how.idmap_how_u.idmu.dn = in lookup_cache_pid2sid()
4043 res->info.how.idmap_how_u.idmu.attr = in lookup_cache_pid2sid()
4045 res->info.how.idmap_how_u.idmu.value = in lookup_cache_pid2sid()
4413 idmap_namerule *rule = &res->info.how.idmap_how_u.rule; in name_based_mapping_pid2sid()
4574 res->info.how.map_type = IDMAP_MAP_TYPE_RULE_BASED; in name_based_mapping_pid2sid()
4824 if (res->info.how.map_type != IDMAP_MAP_TYPE_UNKNOWN) in pid2sid_second_pass()
4825 idmap_how_clear(&res->info.how); in pid2sid_second_pass()