Home
last modified time | relevance | path

Searched refs:id2name (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/cmd/acctadm/
H A Dres.c206 id2name(int id, int type) in id2name() function
227 (void) printf("%s", id2name(ac_groups[g].ag_mem[0], type)); in printgroup()
229 (void) printf(",%s", id2name(id, type)); in printgroup()
388 if (id2name(cur->ar_id, type) == NULL) in buf2str()
391 (void) strcat(str, id2name(cur->ar_id, type)); in buf2str()
/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Ddbutils.c1444 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()
[all …]
H A Dnldaputils.c787 if (req->id2name != NULL && in nldap_lookup_batch()
794 free(req->id2name); in nldap_lookup_batch()
795 req->id2name = NULL; in nldap_lookup_batch()
809 &req->id2name, &res->id.idmap_id_u.uid, in nldap_lookup_batch()
817 if (req->id2name != NULL) { in nldap_lookup_batch()
841 &req->id2name, &req->id2domain, in nldap_lookup_batch()
853 &req->id2name, &req->id2domain, in nldap_lookup_batch()
905 req->id2name != NULL && in nldap_lookup_batch()
910 req->id2name, req->id2domain, -1, in nldap_lookup_batch()
H A Dserver.c109 if (EMPTY_STRING(req->id2name)) { in sanitize_mapping_request()
110 free(req->id2name); in sanitize_mapping_request()
111 req->id2name = NULL; in sanitize_mapping_request()
588 STRDUP_OR_FAIL(result->mappings.mappings_val[cb_data->next].id2name, in list_mappings_cb()
1109 retcode = copy_string(&mapping->id2name, request->id2name); in copy_mapping()
1123 free(mapping->id2name); in copy_mapping()
H A Didmapd.c659 trace_id(entry, "to", &res->id, req->id2name, req->id2domain); in trace()
/illumos-gate/usr/src/uts/common/rpcsvc/
H A Didmap_prot.x298 idmap_utf8str id2name; member
/illumos-gate/usr/src/lib/libidmap/common/
H A Didmap_api.c851 mappings->mappings.mappings_val[iter->next].id2name); in idmap_iter_next_mapping()
1691 rc = idmap_strdupnull(unixname, mapping->id2name); in idmap_get_w2u_mapping()
1800 rc = idmap_strdupnull(winname, mapping->id2name); in idmap_get_u2w_mapping()