Lines Matching refs:uid
165 * do_uid_nametype converts a uid to a gss_name_t pointed to by output
168 do_uid_nametype(OM_uint32 *minor, uid_t uid, gss_name_t *output)
172 if (!user2netname(netname, uid, NULL)) {
275 * We use getpwnam_r to convert the name to uid. Note it is
465 uid_t uid;
468 uid = *(uid_t *)input->value;
470 /* uid = htonl(uid); No, this should be the local orfering */
471 return (do_uid_nametype(minor, uid, output));
508 /* Convert the name to a uid */
509 uid_t uid = (uid_t)strtol(name, &p, 0);
513 return (do_uid_nametype(minor, uid, output));
585 * Private libgss entry point to convert a principal name to uid.
591 uid_t *uid /* where to put the uid */)
604 if (minor == 0 || uid == 0)
608 *uid = UID_NOBODY;
611 if (netname2user(netname, uid, &gid, &glen, glist))
620 *uid = 0;