Lines Matching defs:uid
43 * Convert from unix names (uid, gid) to network wide names.
108 * 3 pieces of information <opsys type> <uid> <domain>.
112 user2netname_nis(int *err, char netname[MAXNETNAMELEN + 1], uid_t uid,
130 "%s.%d@%s", OPSYS, (int)uid, domain);
144 uid_t uid;
146 uid = geteuid();
147 if (uid == 0)
149 return (user2netname(name, uid, NULL));
154 * Figure out the fully qualified network name for the given uid.
158 __getnetnamebyuid(char name[MAXNETNAMELEN + 1], uid_t uid)
160 if (uid == 0)
162 return (user2netname(name, uid, NULL));
177 user2netname(char netname[MAXNETNAMELEN + 1], const uid_t uid,
187 * Take care of the special case of "nobody". If the uid is
192 if (uid == NOBODY_UID) {
222 netname, uid, (char *)domain);