Displaying 2 results from an estimated 2 matches for "new_env".
Did you mean:
new_end
2002 Jan 24
1
PATCH: krb4/krb5/... names/patterns in auth_keys entries
...id);
+
#endif
Index: 3_0_2p1.1/auth-options.c
--- 3_0_2p1.1/auth-options.c Wed, 21 Nov 2001 10:38:46 -0500
+++ 3_0_2p1_w_named_keys.1(w)/auth-options.c Thu, 24 Jan 2002 10:52:24 -0500
@@ -56,8 +56,43 @@
channel_clear_permitted_opens();
}
+void auth_set_key_env(Key *k)
+{
+ struct envstring *new_env;
+ char *s;
+ int len;
+
+ if (k->type != KEY_NAME)
+ return;
+
+ len = strlen("SSH_AUTH_NAME=");
+ len += strlen(k->name) + 1;
+ s = xmalloc(len);
+ snprintf(s, len, "SSH_AUTH_NAME=%s", k->name);
+ debug3("auth_set_key_env: Adding to the environment: %.*s",...
2001 Aug 15
0
[ossh patch] principal name/patterns in authorized_keys2
...hu, 03 May 2001 16:12:13 -0400 jd (OpenSSH/k/22_auth-optio 1.1 644)
+++ 2_9_p2_w_named_keys.2/auth-options.c Tue, 03 Jul 2001 13:57:30 -0400 willian (OpenSSH/k/22_auth-optio 1.1.1.1 644)
@@ -55,8 +55,43 @@
channel_clear_permitted_opens();
}
+void auth_set_key_env(Key *k)
+{
+ struct envstring *new_env;
+ char *s;
+ int len;
+
+ if (k->type != KEY_NAME)
+ return;
+
+ len = strlen("SSH_AUTH_EXT_NAME=");
+ len += k->name_len + 1;
+ s = xmalloc(len);
+ snprintf(s, len, "SSH_AUTH_EXT_NAME=%.*s", k->name_len, k->name);
+ debug3("auth_set_key_env: Adding to the env...