Lines Matching refs:authctxt
621 sshpam_init(Authctxt *authctxt) in sshpam_init() argument
624 const char *pam_rhost, *pam_user, *user = authctxt->user; in sshpam_init()
639 sshpam_authctxt = authctxt; in sshpam_init()
672 sshpam_init_ctx(Authctxt *authctxt) in sshpam_init_ctx() argument
686 if (sshpam_init(authctxt) == -1) { in sshpam_init_ctx()
884 start_pam(Authctxt *authctxt) in start_pam() argument
889 if (sshpam_init(authctxt) == -1) in start_pam()
1179 sshpam_auth_passwd(Authctxt *authctxt, const char *password) in sshpam_auth_passwd() argument
1189 sshpam_authctxt = authctxt; in sshpam_auth_passwd()
1196 if (!authctxt->valid || (authctxt->pw->pw_uid == 0 && in sshpam_auth_passwd()
1208 if (sshpam_err == PAM_SUCCESS && authctxt->valid) { in sshpam_auth_passwd()
1210 authctxt->user); in sshpam_auth_passwd()
1214 authctxt->valid ? authctxt->user : "an illegal user", in sshpam_auth_passwd()