Lines Matching refs:authctxt
337 do_authenticated(struct ssh *ssh, Authctxt *authctxt) in do_authenticated() argument
339 setproctitle("%s", authctxt->pw->pw_name); in do_authenticated()
363 prepare_auth_info_file(authctxt->pw, authctxt->session_info); in do_authenticated()
365 do_authenticated2(ssh, authctxt); in do_authenticated()
367 do_cleanup(ssh, authctxt); in do_authenticated()
776 if (options.use_pam && !use_privsep && s->authctxt->force_pwchange) { in do_login()
779 s->authctxt->force_pwchange = 0; in do_login()
1100 if (s->authctxt->krb5_ccname) in do_setup_env()
1102 s->authctxt->krb5_ccname); in do_setup_env()
1533 if (s->authctxt->force_pwchange) { in do_child()
1611 (s->authctxt->krb5_ctx != NULL)) { in do_child()
1619 krb5_afslog(s->authctxt->krb5_ctx, in do_child()
1620 s->authctxt->krb5_fwd_ccache, cell, NULL); in do_child()
1622 krb5_afslog_home(s->authctxt->krb5_ctx, in do_child()
1623 s->authctxt->krb5_fwd_ccache, NULL, NULL, pw->pw_dir); in do_child()
1803 session_open(Authctxt *authctxt, int chanid) in session_open() argument
1811 s->authctxt = authctxt; in session_open()
1812 s->pw = authctxt->pw; in session_open()
1813 if (s->pw == NULL || !authctxt->valid) in session_open()
2647 do_authenticated2(struct ssh *ssh, Authctxt *authctxt) in do_authenticated2() argument
2649 server_loop2(ssh, authctxt); in do_authenticated2()
2653 do_cleanup(struct ssh *ssh, Authctxt *authctxt) in do_cleanup() argument
2668 if (authctxt == NULL) in do_cleanup()
2678 if (!authctxt->authenticated) in do_cleanup()
2683 authctxt->krb5_ctx) in do_cleanup()
2684 krb5_cleanup_proc(authctxt); in do_cleanup()
2693 auth_sock_cleanup_proc(authctxt->pw); in do_cleanup()
2697 temporarily_use_uid(authctxt->pw); in do_cleanup()