Home
last modified time | relevance | path

Searched refs:sidprefix (Results 1 – 10 of 10) sorted by relevance

/titanic_41/usr/src/lib/libidmap/common/
H A Didmap_api.c757 idmap_iter_next_mapping(idmap_iter_t *iter, char **sidprefix, in idmap_iter_next_mapping() argument
767 if (sidprefix) in idmap_iter_next_mapping()
768 *sidprefix = NULL; in idmap_iter_next_mapping()
824 if (sidprefix) { in idmap_iter_next_mapping()
828 *sidprefix = strdup(str); in idmap_iter_next_mapping()
829 if (*sidprefix == NULL) { in idmap_iter_next_mapping()
880 if (sidprefix && *sidprefix) in idmap_iter_next_mapping()
881 free(*sidprefix); in idmap_iter_next_mapping()
966 idmap_get_uidbysid(idmap_get_handle_t *gh, char *sidprefix, idmap_rid_t rid, in idmap_get_uidbysid() argument
969 return (idmap_getext_uidbysid(gh, sidprefix, rid, flag, uid, in idmap_get_uidbysid()
[all …]
H A Didmap_impl.h67 char **sidprefix; member
/titanic_41/usr/src/cmd/idmap/idmapd/
H A Dwksids.c317 if (wksids[i].sidprefix != NULL) { in find_wksid_by_sid()
318 sidcmp = strcasecmp(wksids[i].sidprefix, sid); in find_wksid_by_sid()
389 if (wksids[i].sidprefix == NULL) in find_wk_by_sid()
392 prefix = wksids[i].sidprefix; in find_wk_by_sid()
H A Ddbutils.c1254 if (wksid->sidprefix != NULL) { in lookup_wksids_sid2pid()
1256 strdup(wksid->sidprefix); in lookup_wksids_sid2pid()
1353 if (wksid->sidprefix != NULL) { in lookup_wksids_pid2sid()
1355 strdup(wksid->sidprefix); in lookup_wksids_pid2sid()
1421 char **sidprefix, in lookup_wksids_name2sid() argument
1427 if (sidprefix != NULL) in lookup_wksids_name2sid()
1428 *sidprefix = NULL; in lookup_wksids_name2sid()
1438 if (sidprefix != NULL) { in lookup_wksids_name2sid()
1439 if (wksid->sidprefix != NULL) { in lookup_wksids_name2sid()
1440 *sidprefix = strdup(wksid->sidprefix); in lookup_wksids_name2sid()
[all …]
H A Didmap_lsa.h41 lookup_lsa_by_sid(const char *sidprefix, uint32_t rid, char **ret_name,
H A Didmap_lsa.c68 const char *sidprefix, in lookup_lsa_by_sid() argument
83 (void) snprintf(sid, sizeof (sid), "%s-%u", sidprefix, rid); in lookup_lsa_by_sid()
H A Ddirectory_provider_builtin.c285 if (wksid->sidprefix == NULL) { in sid_dav()
293 wksid->sidprefix, wksid->rid); in sid_dav()
H A Didmapd.h190 const char *sidprefix; member
/titanic_41/usr/src/cmd/idmap/idmap/
H A Didmap.c136 char *sidprefix; member
839 len = strlen(nm->sidprefix) + 7 + 3 * sizeof (nm->rid); in sid_format()
844 (void) snprintf(to, len, "%s:%s-%u", typestring, nm->sidprefix, in sid_format()
876 if (nm->winname == NULL && nm->sidprefix != NULL) { in nm2winqn()
998 nm->winname = nm->windomain = nm->unixname = nm->sidprefix = NULL; in name_mapping_init()
1016 free(nm->sidprefix); in name_mapping_fini()
1027 free(to->sidprefix); in name_mapping_cpy()
1030 to->winname = to->windomain = to->unixname = to->sidprefix = NULL; in name_mapping_cpy()
1056 if (from->sidprefix != NULL) { in name_mapping_cpy()
1057 to->sidprefix = strdup(from->sidprefix); in name_mapping_cpy()
[all …]
/titanic_41/usr/src/lib/nsswitch/ad/common/
H A Dgetpwnam.c393 char *sidprefix = NULL; in getbyuid() local
413 1, NULL, &sidprefix, &rid, &winname, &windomain, in getbyuid()
428 if (adutils_txtsid2hexbinsid(sidprefix, &rid, in getbyuid()
466 idmap_free(sidprefix); in getbyuid()