Correct interpetation of the HERROR type error from gss.
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Tue, 3 Jun 2008 12:54:25 +0000 (12:54 +0000)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Tue, 3 Jun 2008 12:54:25 +0000 (12:54 +0000)
org.glite.security.gsoap-plugin/src/glite_gsplugin.c

index 30d5496..4456b73 100644 (file)
@@ -280,6 +280,9 @@ err:
                soap_set_sender_error(soap, "SSL error", "SSL authentication failed in tcp_connect(): check password, key file, and ca file.", SOAP_SSL_ERROR);
                break;
        case EDG_WLL_GSS_ERROR_HERRNO:
+               ret = h_errno;
+               soap_set_sender_error(soap, "connection error", hstrerror(ret), SOAP_CLI_FAULT);
+               break;
        case EDG_WLL_GSS_ERROR_ERRNO:
                ret = errno;
                soap_set_sender_error(soap, "connection error", strerror(ret), SOAP_CLI_FAULT);