Lines Matching defs:passwd

136 	conf = __nsw_getconfig("passwd", &pserr);
145 "passwd not found.");
158 * though changing AD users' passwords through passwd(1) is not.
236 p->config_name = NSS_DBNAM_PASSWD; /* Use config for "passwd" */
257 p->config_name = NSS_DBNAM_PASSWD; /* Use config for "passwd" */
295 struct passwd *passwd = (struct passwd *)ent;
311 passwd->pw_name = p = gettok(&next); /* username */
318 passwd->pw_uid = UID_NOBODY;
319 passwd->pw_gid = GID_NOBODY;
323 passwd->pw_passwd = "";
324 passwd->pw_age = "";
326 * the rest of the passwd entry is "optional"
328 passwd->pw_comment = "";
329 passwd->pw_gecos = "";
330 passwd->pw_dir = "";
331 passwd->pw_shell = "";
334 passwd->pw_passwd = p = gettok(&next); /* password */
347 passwd->pw_age = p;
357 passwd->pw_uid = strtol(p, &next, 10);
371 if (passwd->pw_uid > MAXUID)
372 passwd->pw_uid = UID_NOBODY;
388 passwd->pw_gid = strtol(p, &next, 10);
397 if (passwd->pw_gid > MAXUID)
398 passwd->pw_gid = GID_NOBODY;
407 passwd->pw_gecos = passwd->pw_comment = p = gettok(&next);
415 passwd->pw_dir = p = gettok(&next);
423 passwd->pw_shell = p = gettok(&next);
504 * str2spwd() -- convert a string to a shadow passwd entry. The parser is
505 * more liberal than the passwd or group parsers; since it's legitimate
574 } /* else p was set when we copied name and passwd into the buffer */
601 NSS_XbyY_ALLOC(&buffer, sizeof (struct passwd), NSS_BUFLEN_PASSWD)
613 struct passwd *
640 return (struct passwd *)NSS_XbyY_FINI(&arg);
644 struct passwd *
671 return (struct passwd *)NSS_XbyY_FINI(&arg);