Searched refs:spw (Results 1 - 4 of 4) sorted by relevance

/external/openssh/
H A Dauth-shadow.c56 auth_shadow_acctexpired(struct spwd *spw) argument
63 daysleft = spw->sp_expire - today;
65 (int)spw->sp_expire, daysleft);
67 if (spw->sp_expire == -1) {
70 logit("Account %.100s has expired", spw->sp_namp);
72 } else if (daysleft <= spw->sp_warn) {
90 struct spwd *spw = NULL; local
96 if ((spw = getspnam((char *)user)) == NULL) {
103 (int)spw->sp_lstchg, (int)spw
[all...]
H A Dauth.c108 struct spwd *spw = NULL; local
117 spw = getspnam(pw->pw_name);
119 if (!options.use_pam && spw != NULL && auth_shadow_acctexpired(spw))
127 if (spw != NULL)
131 passwd = spw->sp_pwdp;
/external/openssh/openbsd-compat/
H A Dxcrypt.c140 struct spwd *spw = getspnam(pw->pw_name); local
142 if (spw != NULL)
143 pw_password = spw->sp_pwdp;
151 struct passwd_adjunct *spw; local
152 if (issecure() && (spw = getpwanam(pw->pw_name)) != NULL)
153 pw_password = spw->pwa_passwd;
155 struct pr_passwd *spw = getprpwnam(pw->pw_name);
157 if (spw != NULL)
158 pw_password = spw->ufld.fd_encrypt;
/external/ipsec-tools/src/racoon/
H A Disakmp_xauth.c1196 struct spwd *spw; local
1198 if ((spw = getspnam(usr)) == NULL)
1201 syscryptpwd = spw->sp_pwdp;

Completed in 544 milliseconds