1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-06-30 19:12:48 -05:00

New option to allow use of the local OS username for login to the remote side

if we have no better ideas, with UI shamelessly stolen from Quest PuTTY.

Off by default, which effectively reverts the change to using the local
username by default that came in with GSSAPI support in r8138. Anyone wanting
seamless single sign-on will need to set the new option. (The previous
default behaviour was getting in the way in ad-hoc scenarios.)

Note that the PSCP and Unix-Plink behaviour of using the local username by
default have remained unchanged throughout; they are not affected by the new
option. Not sure if that's the Right Thing.

[originally from svn r8324]
[r8138 == de5dd9d65c]
This commit is contained in:
Jacob Nevins
2008-11-24 17:51:42 +00:00
parent c9326ad81b
commit dc896b79af
8 changed files with 96 additions and 34 deletions

View File

@ -1,6 +1,10 @@
/*
* winhelp.h - define Windows Help context names. These match up with
* the \cfg{winhelp-topic} directives in the Halibut source.
* winhelp.h - define Windows Help context names.
* Each definition has the form "winhelp-topic:halibut-topic", where:
* - "winhelp-topic" matches up with the \cfg{winhelp-topic} directives
* in the Halibut source, and is used for WinHelp;
* - "halibut-topic" matches up with the Halibut keywords in the source,
* and is used for HTML Help.
*/
/* Maximum length for WINHELP_CTX_foo strings */
@ -70,6 +74,7 @@
#define WINHELP_CTX_connection_termtype "connection.termtype:config-termtype"
#define WINHELP_CTX_connection_termspeed "connection.termspeed:config-termspeed"
#define WINHELP_CTX_connection_username "connection.username:config-username"
#define WINHELP_CTX_connection_username_from_env "connection.usernamefromenv:config-username-from-env"
#define WINHELP_CTX_connection_keepalive "connection.keepalive:config-keepalive"
#define WINHELP_CTX_connection_nodelay "connection.nodelay:config-nodelay"
#define WINHELP_CTX_connection_ipversion "connection.ipversion:config-address-family"