Lines Matching refs:method
84 if (!authctxt->method || !authctxt->method->name) in get_method_name()
87 return authctxt->method->name; in get_method_name()
91 derive_pam_service_name(Authmethod *method) in derive_pam_service_name() argument
104 if (compat20 && method) { in derive_pam_service_name()
105 char *method_name = method->name; in derive_pam_service_name()
165 if (compat20 && authctxt->method == NULL) in new_start_pam()
169 svc = derive_pam_service_name(authctxt->method); in new_start_pam()
254 char *user, *method; in finish_userauth_do_pam() local
261 if (authctxt->method == NULL || authctxt->method->name == NULL) in finish_userauth_do_pam()
263 method = authctxt->method->name; in finish_userauth_do_pam()
264 } else if ((method = authctxt->v1_auth_name) == NULL) in finish_userauth_do_pam()
322 if (authctxt->pw->pw_uid == 0 && !auth_root_allowed(method)) in finish_userauth_do_pam()
517 if (authctxt->method) in auth_pam_password()
518 authctxt->method->authenticated = 1; /* SSHv2 */ in auth_pam_password()