Lines Matching refs:lc
90 login_cap_t *lc; in pam_sm_authenticate() local
126 lc = login_getpwclass(pwd); in pam_sm_authenticate()
130 lc = login_getclass(NULL); in pam_sm_authenticate()
132 prompt = login_getcapstr(lc, "passwd_prompt", NULL, NULL); in pam_sm_authenticate()
134 login_close(lc); in pam_sm_authenticate()
167 login_cap_t *lc; in pam_sm_acct_mgmt() local
198 lc = login_getpwclass(pwd); in pam_sm_acct_mgmt()
199 if (lc == NULL) { in pam_sm_acct_mgmt()
215 warntime = login_getcaptime(lc, "warnexpire", in pam_sm_acct_mgmt()
218 login_close(lc); in pam_sm_acct_mgmt()
229 warntime = login_getcaptime(lc, "warnpassword", in pam_sm_acct_mgmt()
263 if (!auth_hostok(lc, rhost, rhostip) || in pam_sm_acct_mgmt()
264 !auth_ttyok(lc, tty) || in pam_sm_acct_mgmt()
265 !auth_timeok(lc, time(NULL))) in pam_sm_acct_mgmt()
268 login_close(lc); in pam_sm_acct_mgmt()
287 login_cap_t *lc; in pam_sm_chauthtok() local
395 lc = login_getclass(pwd->pw_class); in pam_sm_chauthtok()
396 if (login_setcryptfmt(lc, password_hash, NULL) == NULL) in pam_sm_chauthtok()
402 passwordtime = login_getcaptime(lc, "passwordtime", 0, 0); in pam_sm_chauthtok()
406 login_close(lc); in pam_sm_chauthtok()