Lines Matching refs:id2name
1444 if (req->id2name == NULL) { in lookup_wksids_pid2sid()
1445 req->id2name = strdup(wksid->winname); in lookup_wksids_pid2sid()
1446 if (req->id2name == NULL) in lookup_wksids_pid2sid()
1710 if (req->id2name != NULL) in lookup_cache_sid2pid()
1711 free(req->id2name); in lookup_cache_sid2pid()
1712 req->id2name = strdup(values[3]); in lookup_cache_sid2pid()
1713 if (req->id2name == NULL) { in lookup_cache_sid2pid()
2053 req->id2name == NULL) { in ad_lookup_batch_int()
2057 unixname = &req->id2name; in ad_lookup_batch_int()
2061 unixname = &req->id2name; in ad_lookup_batch_int()
2064 unixname = &req->id2name; in ad_lookup_batch_int()
2136 req->id2name != NULL) { in ad_lookup_batch_int()
2156 &req->id2name, in ad_lookup_batch_int()
2161 } else if (req->id2name != NULL) { in ad_lookup_batch_int()
2170 qs, req->id2name, req->id2domain, in ad_lookup_batch_int()
2207 &req->id2name, &req->id2domain, in ad_lookup_batch_int()
2234 &req->id2name, &req->id2domain, in ad_lookup_batch_int()
2394 (req->id2name == NULL || in ad_lookup_batch_int()
2404 req->id2name == NULL) { in ad_lookup_batch_int()
2808 (!wksid && req->id2name == NULL && in sid2pid_first_pass()
3099 assert(req->id2name == NULL); /* We don't have unixname */ in name_based_mapping_sid2pid()
3253 req->id2name = strdup(unixname); in name_based_mapping_sid2pid()
3254 if (req->id2name == NULL) { in name_based_mapping_sid2pid()
3500 if (req->id2name == NULL) { in sid2pid_second_pass()
3508 res->id.idtype == IDMAP_UID, &req->id2name); in sid2pid_second_pass()
3525 if (req->id2name != NULL) { in sid2pid_second_pass()
3582 free(req->id2name); in sid2pid_second_pass()
3583 req->id2name = NULL; in sid2pid_second_pass()
3588 retcode = ns_lookup_byname(req->id2name, in sid2pid_second_pass()
3751 req->id2domain, req->id2name, req->id1.idmap_id_u.uid, in update_cache_pid2sid()
3777 if (req->id2name == NULL) in update_cache_pid2sid()
3784 req->id2name, req->id2domain, in update_cache_pid2sid()
3901 res->id.idmap_id_u.uid, req->id2name, in update_cache_sid2pid()
4056 req->id2name = strdup(values[2]); in lookup_cache_pid2sid()
4057 if (req->id2name == NULL) { in lookup_cache_pid2sid()
4501 assert(req->id2name == NULL); /* We don't have winname */ in name_based_mapping_pid2sid()
4644 req->id2name = canonname; in name_based_mapping_pid2sid()
4883 if (req->id2name != NULL) { in pid2sid_second_pass()
4951 free(req->id2name); in pid2sid_second_pass()
4952 req->id2name = NULL; in pid2sid_second_pass()