Lines Matching refs:uid

858 		    idmap_id_u.uid;
962 * uid - POSIX UID if stat = 0
968 int flag, uid_t *uid, idmap_stat *stat)
970 return (idmap_getext_uidbysid(gh, sidprefix, rid, flag, uid,
984 * uid - POSIX UID if stat = 0
992 int flag, uid_t *uid, idmap_info *info, idmap_stat *stat)
1000 if (uid == NULL || sidprefix == NULL)
1005 retcode = idmap_cache_lookup_uidbysid(sidprefix, rid, uid);
1029 gh->retlist[gh->next].uid = uid;
1224 gh->retlist[gh->next].uid = pid;
1246 * uid - POSIX UID
1257 idmap_get_sidbyuid(idmap_get_handle_t *gh, uid_t uid, int flag,
1260 return (idmap_getext_sidbyuid(gh, uid, flag, sidprefix, rid,
1269 * uid - POSIX UID
1281 idmap_getext_sidbyuid(idmap_get_handle_t *gh, uid_t uid, int flag,
1296 retcode = idmap_cache_lookup_sidbyuid(sidprefix, rid, uid);
1311 mapping->id1.idmap_id_u.uid = uid;
1469 if (gh->retlist[i].uid)
1470 *gh->retlist[i].uid = res_id->idmap_id_u.uid;
1480 res_id->idmap_id_u.uid, 1,
1486 res_id->idmap_id_u.uid,
1515 if (gh->retlist[i].uid)
1516 *gh->retlist[i].uid = 60001;
1545 req_id->idmap_id_u.uid,
1689 *pid = mapping->id2.idmap_id_u.uid;
1740 request.id1.idmap_id_u.uid = *pid;
1743 request.id1.idmap_id_u.uid = UINT32_MAX;
2104 * Get uid given Windows name
2108 uid_t *uid)
2115 if (uid == NULL)
2119 rc = idmap_cache_lookup_uidbywinname(name, domain, uid);
2125 &is_user, &is_wuser, uid, NULL, &direction, NULL);
2131 idmap_cache_add_winname2uid(name, domain, *uid, direction);
2249 * Get winname given uid
2252 idmap_getwinnamebyuid(uid_t uid, int flag, char **name, char **domain)
2254 return (idmap_getwinnamebypid(uid, 1, flag, name, domain));