mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 19:12:48 -05:00
Patch from Alejandro Sedeno, somewhat modified by me, which
reorganises the GSSAPI support so that it handles alternative implementations of the GSS-API. In particular, this means PuTTY can now talk to MIT Kerberos for Windows instead of being limited to SSPI. I don't know for sure whether further tweaking will be needed (to the UI, most likely, or to automatic selection of credentials), but testing reports suggest it's now at least worth committing to trunk to get it more widely tested. [originally from svn r8952]
This commit is contained in:
14
putty.h
14
putty.h
@ -348,6 +348,19 @@ enum {
|
||||
SER_FLOW_NONE, SER_FLOW_XONXOFF, SER_FLOW_RTSCTS, SER_FLOW_DSRDTR
|
||||
};
|
||||
|
||||
/*
|
||||
* Tables of string <-> enum value mappings used in settings.c.
|
||||
* Defined here so that backends can export their GSS library tables
|
||||
* to the cross-platform settings code.
|
||||
*/
|
||||
struct keyval { char *s; int v; };
|
||||
|
||||
#ifndef NO_GSSAPI
|
||||
extern const int ngsslibs;
|
||||
extern const char *const gsslibnames[];/* for displaying in configuration */
|
||||
extern const struct keyval gsslibkeywords[]; /* for storing by settings.c */
|
||||
#endif
|
||||
|
||||
extern const char *const ttymodes[];
|
||||
|
||||
enum {
|
||||
@ -461,6 +474,7 @@ struct config_tag {
|
||||
int try_ki_auth;
|
||||
int try_gssapi_auth; /* attempt gssapi auth */
|
||||
int gssapifwd; /* forward tgt via gss */
|
||||
int ssh_gsslist[4]; /* preference order for local GSS libs */
|
||||
int ssh_subsys; /* run a subsystem rather than a command */
|
||||
int ssh_subsys2; /* fallback to go with remote_cmd_ptr2 */
|
||||
int ssh_no_shell; /* avoid running a shell */
|
||||
|
Reference in New Issue
Block a user