Lines Matching refs:pw
155 if (user_key_allowed(authctxt->pw, key) && in userauth_pubkey()
175 if (user_key_allowed(authctxt->pw, key)) { in userauth_pubkey()
212 if (check_nt_auth(0, authctxt->pw) == 0) in userauth_pubkey()
221 user_key_allowed2(struct passwd *pw, Key *key, char *file) in user_key_allowed2() argument
231 if (pw == NULL) in user_key_allowed2()
235 temporarily_use_uid(pw); in user_key_allowed2()
253 secure_filename(f, file, pw, line, sizeof(line)) != 0) { in user_key_allowed2()
293 auth_parse_options(pw, options, file, linenum) == 1) { in user_key_allowed2()
314 user_key_allowed(struct passwd *pw, Key *key) in user_key_allowed() argument
319 if (pw == NULL) in user_key_allowed()
322 file = authorized_keys_file(pw); in user_key_allowed()
323 success = user_key_allowed2(pw, key, file); in user_key_allowed()
329 file = authorized_keys_file2(pw); in user_key_allowed()
330 success = user_key_allowed2(pw, key, file); in user_key_allowed()