Lines Matching refs:pwent
720 struct passwd *pwent; in mm_answer_pwnamallow() local
732 pwent = getpwnamallow(ssh, username); in mm_answer_pwnamallow()
735 setproctitle("%s [priv]", pwent ? username : "unknown"); in mm_answer_pwnamallow()
740 if (pwent == NULL) { in mm_answer_pwnamallow()
748 authctxt->pw = pwent; in mm_answer_pwnamallow()
753 (r = sshbuf_put_string(m, pwent, sizeof(*pwent))) != 0 || in mm_answer_pwnamallow()
754 (r = sshbuf_put_cstring(m, pwent->pw_name)) != 0 || in mm_answer_pwnamallow()
757 (r = sshbuf_put_cstring(m, pwent->pw_gecos)) != 0 || in mm_answer_pwnamallow()
760 (r = sshbuf_put_cstring(m, pwent->pw_class)) != 0 || in mm_answer_pwnamallow()
762 (r = sshbuf_put_cstring(m, pwent->pw_dir)) != 0 || in mm_answer_pwnamallow()
763 (r = sshbuf_put_cstring(m, pwent->pw_shell)) != 0) in mm_answer_pwnamallow()