Lines Matching defs:uid
103 result.u_res.uid = UID_NOBODY;
112 * part might be an encoded uid, so do a final check.
118 result.u_res.uid = UID_NOBODY;
130 result.u_res.uid = UID_NOBODY;
134 result.u_res.uid = (uid_t)id;
149 rc = idmap_getuidbywinname(user, domain, 0, &result.u_res.uid);
152 result.u_res.uid = UID_NOBODY;
172 result.u_res.uid = UID_NOBODY;
179 result.u_res.uid = pwd.pw_uid;
196 uid_t uid = argp->u_arg.uid;
206 if (uid == (uid_t)-1) {
208 * Sentinel uid is not a valid id
228 * If uid is ephemeral then resolve it using idmap service
230 if (uid > UID_MAX) {
231 rc = idmap_getwinnamebyuid(uid, 0, &idmap_buf, NULL);
257 * We want to encode the uid into a literal string... :
261 * - if there is no such uid in the passwd DB's
264 getpwuid_r(uid, &pwd, pwd_buf, pwd_buflen, &pwd_ptr) != 0 ||
282 * uid encoded string.
285 (void) sprintf(pw_str, "%u", uid);