search for: auth_get_socket_nam

Displaying 6 results from an estimated 6 matches for "auth_get_socket_nam".

Did you mean: auth_get_socket_name
2002 Feb 12
0
[Patch] Xauthority file in /tmp
...his is called after the user has * been successfully authenticated. During this message exchange, pseudo @@ -1300,6 +1325,8 @@ do_pam_environment(&env, &envsize); #endif /* USE_PAM */ + if (xauthfile) + child_set_env(&env, &envsize, "XAUTHORITY", xauthfile); if (auth_get_socket_name() != NULL) child_set_env(&env, &envsize, SSH_AUTHSOCKET_ENV_NAME, auth_get_socket_name()); @@ -2039,6 +2066,7 @@ session_setup_x11fwd(Session *s) { struct stat st; + int fd; if (no_x11_forwarding_flag) { packet_send_debug("X11 forwarding disabled in user config...
2001 Jun 05
1
OpenSSH tmp cleanup
Hi, I noticed that Markus has fixed the temporary file cleanup problems in OpenSSH cvs. What files need patching for this ? I only noticed changes in: session.c, channels.h and channels.c. -Jarno -- Jarno Huuskonen <Jarno.Huuskonen at uku.fi>
2001 Oct 24
2
disable features
...TH_TCPFWD /* setup the channel layer */ if (!no_port_forwarding_flag && options.allow_tcp_forwarding) channel_permit_all_opens(); +#endif if (compat20) do_authenticated2(authctxt); else do_authenticated1(authctxt); +#ifdef WITH_AGENTFWD /* remove agent socket */ if (auth_get_socket_name()) auth_sock_cleanup_proc(authctxt->pw); +#endif #ifdef KRB4 if (options.kerberos_ticket_cleanup) krb4_cleanup_proc(authctxt); @@ -181,9 +185,15 @@ { Session *s; char *command; - int success, type, plen, screen_flag; + int success, type, plen; + u_int dlen; +#ifdef WITH_COMPRESSIO...
2001 Dec 18
1
[PATCH]: Fix environment variable size restriction in Cygwin version
Hi, the following patch changes the Cygwin specific function copy_environment() to not restricting the strlen of a single environment variable to 512 byte. The PAM specific function do_pam_environment() (also in session.c) has the same problem but I don't know if that's important for PAM since only PAM specific environment variables are copied in that function. The below patch fixes
2000 Jan 19
3
AIX openssh patches
...nv,&envsize,"AUTHSTATE",authstate); + + if ((krb5cc = getenv("KRB5CCNAME")) != NULL) + child_set_env(&env,&envsize,"KRB5CCNAME",krb5cc); + } + #ifdef KRB4 { extern char *ticket; *************** *** 2348,2353 **** --- 2395,2402 ---- if (auth_get_socket_name() != NULL) child_set_env(&env, &envsize, SSH_AUTHSOCKET_ENV_NAME, auth_get_socket_name()); + + read_environment_file(&env,&envsize,"/etc/environment"); /* read $HOME/.ssh/environment. */ if (!options.use_login) { -- Matt Richards
2002 May 09
0
functions : server_input_channel_req userauth_pubkey
...all_opens(); if (compat20) - - do_authenticated2(authctxt); + do_authenticated2(authctxt, realname); else - - do_authenticated1(authctxt); + do_authenticated1(authctxt, realname); /* remove agent socket */ if (auth_get_socket_name()) @@ -200,7 +200,7 @@ * are requested, etc. */ static void - -do_authenticated1(Authctxt *authctxt) +do_authenticated1(Authctxt *authctxt, const char *realname) { Session *s; char *command; @@ -352,10 +352,10 @@ if (type == SSH_CMSG_EXEC_CMD) {...