diff options
-rw-r--r-- | gssapi.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -178,11 +178,14 @@ int do_gssauth(int sock, const char *command, const char *service, if (maj_stat!=GSS_S_COMPLETE && maj_stat!=GSS_S_CONTINUE_NEEDED) { decode_status("gss_init_sec_context", maj_stat, min_stat); (void)gss_release_name(&min_stat, &target_name); - report(stderr, GT_("Error exchanging credentials\n")); /* wake up server and await NO response */ - SockWrite(sock, "\r\n", 2); + suppress_tags = TRUE; + gen_send(sock, ""); + suppress_tags = FALSE; + result = gen_recv(sock, buf1, sizeof buf1); + report(stderr, GT_("Error exchanging credentials\n")); if (result) return result; return PS_AUTHFAIL; |