(res = globus_gss_assist_map_and_authorize(client->context, "ssh",
name, lname, 256))) {
debug("%s", globus_error_print_chain(globus_error_get(res)));
- } else if (strcmp(name, lname) != 0) {
+ } else if (lname && lname[0] && strcmp(name, lname) != 0) {
debug("GSI user maps to %s, not %s", lname, name);
} else {
authorized = 1;
#ifdef GSSAPI
{"gssapi-keyex",
userauth_gsskeyex,
+ NULL,
&options.gss_authentication,
NULL},
{"external-keyx",
userauth_external,
+ NULL,
&options.gss_authentication,
NULL},
{"gssapi-with-mic",
NULL},
{"gssapi",
userauth_gssapi,
+ NULL,
&options.gss_authentication,
NULL},
#endif
#define MGLUE_VERSION ""
#endif
-#define NCSA_VERSION " GLOBUS_GSSAPI_GPT_4.5"
+#define NCSA_VERSION " GLOBUS_GSSAPI_GPT_4.6"
#define SSH_VERSION "OpenSSH_5.2"