Lines Matching refs:id1name
1307 req->id1name != NULL); in lookup_wksids_sid2pid()
1313 wksid = find_wksid_by_name(req->id1name, req->id1domain, in lookup_wksids_sid2pid()
1322 if (req->id1name == NULL) { in lookup_wksids_sid2pid()
1323 req->id1name = strdup(wksid->winname); in lookup_wksids_sid2pid()
1324 if (req->id1name == NULL) in lookup_wksids_sid2pid()
1628 } else if (req->id1name != NULL) { in lookup_cache_sid2pid()
1629 if ((lower_name = tolower_u8(req->id1name)) == NULL) in lookup_cache_sid2pid()
1630 lower_name = req->id1name; in lookup_cache_sid2pid()
1642 if (lower_name != req->id1name) in lookup_cache_sid2pid()
1905 if (req->id1.idmap_id_u.sid.prefix != NULL && req->id1name != NULL) { in lookup_name_cache()
1917 retcode = lookup_cache_name2sid(cache, req->id1name, in lookup_name_cache()
1942 free(req->id1name); in lookup_name_cache()
1943 req->id1name = name; in lookup_name_cache()
2106 (req->id1name == NULL) ? in ad_lookup_batch_int()
2107 &req->id1name : NULL, in ad_lookup_batch_int()
2117 assert(req->id1name != NULL); in ad_lookup_batch_int()
2119 qs, req->id1name, req->id1domain, in ad_lookup_batch_int()
2122 &req->id1name, in ad_lookup_batch_int()
2212 } else if (req->id1name != NULL) { in ad_lookup_batch_int()
2229 qs, req->id1name, is_user, is_wuser, in ad_lookup_batch_int()
2394 req->id1name != NULL && in ad_lookup_batch_int()
2624 if (req->id1name == NULL) { in sid2pid_first_pass()
2636 p = strchr(req->id1name, '@'); in sid2pid_first_pass()
2639 q = req->id1name; in sid2pid_first_pass()
2640 req->id1name = uu_strndup(q, p - req->id1name); in sid2pid_first_pass()
2643 if (req->id1name == NULL || in sid2pid_first_pass()
2696 req->id1name != NULL && req->id1domain == NULL) { in sid2pid_first_pass()
2752 req->id1name == NULL) { in sid2pid_first_pass()
2757 &req->id1name, &req->id1domain, &req->id1.idtype); in sid2pid_first_pass()
2767 } else if (req->id1name != NULL && in sid2pid_first_pass()
2773 req->id1name, req->id1domain, in sid2pid_first_pass()
2779 free(req->id1name); in sid2pid_first_pass()
2780 req->id1name = canonname; in sid2pid_first_pass()
3099 assert(req->id1name != NULL); /* We have winname */ in name_based_mapping_sid2pid()
3102 winname = req->id1name; in name_based_mapping_sid2pid()
3476 EMPTY_STRING(req->id1name)) { in sid2pid_second_pass()
3698 if (req->id1name == NULL) { in update_cache_pid2sid()
3700 req->id1.idtype == IDMAP_UID, &req->id1name); in update_cache_pid2sid()
3759 req->id1name, (req->id1.idtype == IDMAP_UID) ? 1 : 0, in update_cache_pid2sid()
3907 (req->id1domain != NULL) ? req->id1domain : "", req->id1name, in update_cache_sid2pid()
3934 if (EMPTY_STRING(req->id1name)) in update_cache_sid2pid()
3941 req->id1name, req->id1domain, in update_cache_sid2pid()
3993 } else if (req->id1name != NULL) { in lookup_cache_pid2sid()
4003 req->id1name, is_user, curtime); in lookup_cache_pid2sid()
4751 if (req->id1name == NULL) { in pid2sid_first_pass()
4756 retcode = ns_lookup_byname(req->id1name, NULL, &req->id1); in pid2sid_first_pass()
4816 if (req->id1name == NULL) { in pid2sid_first_pass()
4819 is_user, &req->id1name); in pid2sid_first_pass()
4918 if (req->id1name == NULL) { in pid2sid_second_pass()
4921 &req->id1name); in pid2sid_second_pass()
4930 retcode = ns_lookup_byname(req->id1name, NULL, &req->id1); in pid2sid_second_pass()
4941 retcode = name_based_mapping_pid2sid(state, req->id1name, is_user, in pid2sid_second_pass()