Home
last modified time | relevance | path

Searched refs:auth_opts (Results 1 – 6 of 6) sorted by relevance

/external/openssh/
Dauth-pam.c307 extern struct sshauthopt *auth_opts; in sshpam_password_change_required()
315 saved_port = auth_opts->permit_port_forwarding_flag; in sshpam_password_change_required()
316 saved_agent = auth_opts->permit_agent_forwarding_flag; in sshpam_password_change_required()
317 saved_x11 = auth_opts->permit_x11_forwarding_flag; in sshpam_password_change_required()
318 auth_opts->permit_port_forwarding_flag = 0; in sshpam_password_change_required()
319 auth_opts->permit_agent_forwarding_flag = 0; in sshpam_password_change_required()
320 auth_opts->permit_x11_forwarding_flag = 0; in sshpam_password_change_required()
323 auth_opts->permit_port_forwarding_flag = saved_port; in sshpam_password_change_required()
325 auth_opts->permit_agent_forwarding_flag = saved_agent; in sshpam_password_change_required()
327 auth_opts->permit_x11_forwarding_flag = saved_x11; in sshpam_password_change_required()
Dserverloop.c86 extern struct sshauthopt *auth_opts;
510 auth_opts->permit_port_forwarding_flag && in server_request_direct_tcpip()
555 auth_opts->permit_port_forwarding_flag && in server_request_direct_streamlocal()
601 if (auth_opts->force_tun_device != -1) { in server_request_tun()
603 auth_opts->force_tun_device != (int)tun) in server_request_tun()
605 tun = auth_opts->force_tun_device; in server_request_tun()
842 !auth_opts->permit_port_forwarding_flag || in server_input_global_request()
878 || !auth_opts->permit_port_forwarding_flag || in server_input_global_request()
Dsession.c141 extern struct sshauthopt *auth_opts;
304 for (i = 0; i < auth_opts->npermitopen; i++) { in set_fwdpermit_from_authopts()
305 tmp = cp = xstrdup(auth_opts->permitopen[i]); in set_fwdpermit_from_authopts()
320 for (i = 0; i < auth_opts->npermitlisten; i++) { in set_fwdpermit_from_authopts()
321 tmp = cp = xstrdup(auth_opts->permitlisten[i]); in set_fwdpermit_from_authopts()
341 auth_log_authopts("active", auth_opts, 0); in do_authenticated()
345 set_fwdpermit_from_authopts(ssh, auth_opts); in do_authenticated()
347 if (!auth_opts->permit_port_forwarding_flag || in do_authenticated()
673 } else if (auth_opts->force_command != NULL) { in do_exec()
675 command = auth_opts->force_command; in do_exec()
[all …]
Dauth.c86 extern struct sshauthopt *auth_opts;
407 if (auth_opts->force_command != NULL) { in auth_root_allowed()
1076 struct sshauthopt *old = auth_opts; in auth_activate_options()
1080 if ((auth_opts = sshauthopt_merge(old, opts, &emsg)) == NULL) { in auth_activate_options()
Dmonitor.c109 extern struct sshauthopt *auth_opts; /* XXX move to permanent ssh->authctxt? */
410 if (auth_opts->permit_pty_flag) { in monitor_child_postauth()
Dsshd.c249 struct sshauthopt *auth_opts = NULL; variable
2176 if ((auth_opts = sshauthopt_new_with_keys_defaults()) == NULL)