Lines Matching refs:authctxt
344 do_authenticated(struct ssh *ssh, Authctxt *authctxt) in do_authenticated() argument
346 setproctitle("%s", authctxt->pw->pw_name); in do_authenticated()
370 prepare_auth_info_file(authctxt->pw, authctxt->session_info); in do_authenticated()
372 do_authenticated2(ssh, authctxt); in do_authenticated()
374 do_cleanup(ssh, authctxt); in do_authenticated()
1098 if (s->authctxt->krb5_ccname) in do_setup_env()
1100 s->authctxt->krb5_ccname); in do_setup_env()
1536 if (s->authctxt->force_pwchange) { in do_child()
1614 (s->authctxt->krb5_ctx != NULL)) { in do_child()
1622 krb5_afslog(s->authctxt->krb5_ctx, in do_child()
1623 s->authctxt->krb5_fwd_ccache, cell, NULL); in do_child()
1625 krb5_afslog_home(s->authctxt->krb5_ctx, in do_child()
1626 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()
2658 do_authenticated2(struct ssh *ssh, Authctxt *authctxt) in do_authenticated2() argument
2660 server_loop2(ssh, authctxt); in do_authenticated2()
2664 do_cleanup(struct ssh *ssh, Authctxt *authctxt) in do_cleanup() argument
2679 if (authctxt == NULL) in do_cleanup()
2689 if (!authctxt->authenticated) in do_cleanup()
2694 authctxt->krb5_ctx) in do_cleanup()
2695 krb5_cleanup_proc(authctxt); in do_cleanup()
2704 auth_sock_cleanup_proc(authctxt->pw); in do_cleanup()
2708 temporarily_use_uid(authctxt->pw); in do_cleanup()