diff options
-rw-r--r-- | lasso/id-ff/federation_termination.c | 30 | ||||
-rw-r--r-- | lasso/id-ff/lecp.c | 20 | ||||
-rw-r--r-- | lasso/id-ff/logout.c | 46 | ||||
-rw-r--r-- | lasso/id-ff/register_name_identifier.c | 34 |
4 files changed, 65 insertions, 65 deletions
diff --git a/lasso/id-ff/federation_termination.c b/lasso/id-ff/federation_termination.c index a756b343..71bdfd4a 100644 --- a/lasso/id-ff/federation_termination.c +++ b/lasso/id-ff/federation_termination.c @@ -42,14 +42,14 @@ lasso_federation_termination_build_notification_msg(LassoFederationTermination * provider = lasso_server_get_provider(profile->server, profile->remote_providerID); if(provider == NULL) { - message(G_LOG_LEVEL_ERROR, "Provider %s not found\n", profile->remote_providerID); + message(G_LOG_LEVEL_CRITICAL, "Provider %s not found\n", profile->remote_providerID); return(-2); } /* get the prototocol profile of the federation termination notification */ protocolProfile = lasso_provider_get_federationTerminationNotificationProtocolProfile(provider); if(protocolProfile == NULL) { - message(G_LOG_LEVEL_ERROR, "Federation termination notification protocol profile not found\n"); + message(G_LOG_LEVEL_CRITICAL, "Federation termination notification protocol profile not found\n"); return(-3); } @@ -58,7 +58,7 @@ lasso_federation_termination_build_notification_msg(LassoFederationTermination * profile->request_type = lassoHttpMethodSoap; profile->msg_url = lasso_provider_get_federationTerminationServiceURL(provider); if(profile->msg_url == NULL) { - message(G_LOG_LEVEL_ERROR, "Federation Termination Notification url not found\n"); + message(G_LOG_LEVEL_CRITICAL, "Federation Termination Notification url not found\n"); return(-4); } profile->msg_body = lasso_node_export_to_soap(profile->request); @@ -72,7 +72,7 @@ lasso_federation_termination_build_notification_msg(LassoFederationTermination * profile->msg_body = NULL; } else{ - message(G_LOG_LEVEL_ERROR, "Invalid protocol profile\n"); + message(G_LOG_LEVEL_CRITICAL, "Invalid protocol profile\n"); return(-5); } @@ -111,7 +111,7 @@ lasso_federation_termination_init_notification(LassoFederationTermination *defed } if (profile->remote_providerID == NULL) { - message(G_LOG_LEVEL_ERROR, "No provider Id for init notification\n"); + message(G_LOG_LEVEL_CRITICAL, "No provider Id for init notification\n"); codeError = -1; goto done; } @@ -119,7 +119,7 @@ lasso_federation_termination_init_notification(LassoFederationTermination *defed /* get federation */ federation = lasso_identity_get_federation(profile->identity, profile->remote_providerID); if (federation == NULL) { - message(G_LOG_LEVEL_ERROR, "Federation not found for %s\n", profile->remote_providerID); + message(G_LOG_LEVEL_CRITICAL, "Federation not found for %s\n", profile->remote_providerID); codeError = -1; goto done; } @@ -139,11 +139,11 @@ lasso_federation_termination_init_notification(LassoFederationTermination *defed } break; default: - message(G_LOG_LEVEL_ERROR, "Invalid provider type\n"); + message(G_LOG_LEVEL_CRITICAL, "Invalid provider type\n"); } if(!nameIdentifier) { - message(G_LOG_LEVEL_ERROR, "Name identifier not found for %s\n", profile->remote_providerID); + message(G_LOG_LEVEL_CRITICAL, "Name identifier not found for %s\n", profile->remote_providerID); codeError = -1; goto done; } @@ -158,7 +158,7 @@ lasso_federation_termination_init_notification(LassoFederationTermination *defed format); if(profile->request == NULL) { - message(G_LOG_LEVEL_ERROR, "Error while creating the notification\n"); + message(G_LOG_LEVEL_CRITICAL, "Error while creating the notification\n"); codeError = -1; goto done; } @@ -196,11 +196,11 @@ lasso_federation_termination_load_notification_msg(LassoFederationTermination *d profile->request = lasso_federation_termination_notification_new_from_export(notification_msg, lassoNodeExportTypeQuery); break; default: - message(G_LOG_LEVEL_ERROR, "Invalid notification method\n"); + message(G_LOG_LEVEL_CRITICAL, "Invalid notification method\n"); return(-3); } if(profile->request==NULL){ - message(G_LOG_LEVEL_ERROR, "Error while building the notification from msg\n"); + message(G_LOG_LEVEL_CRITICAL, "Error while building the notification from msg\n"); return(-4); } @@ -225,7 +225,7 @@ lasso_federation_termination_process_notification(LassoFederationTermination *de profile = LASSO_PROFILE(defederation); if(profile->request == NULL){ - message(G_LOG_LEVEL_ERROR, "Request not found\n"); + message(G_LOG_LEVEL_CRITICAL, "Request not found\n"); return(-1); } @@ -233,20 +233,20 @@ lasso_federation_termination_process_notification(LassoFederationTermination *de profile->remote_providerID = lasso_node_get_child_content(profile->request, "ProviderID", NULL, NULL); if(profile->remote_providerID == NULL) { - message(G_LOG_LEVEL_ERROR, "Remote provider id not found\n"); + message(G_LOG_LEVEL_CRITICAL, "Remote provider id not found\n"); return(-1); } nameIdentifier = lasso_node_get_child(profile->request, "NameIdentifier", NULL, NULL); if(nameIdentifier == NULL) { - message(G_LOG_LEVEL_ERROR, "Name identifier not found in request\n"); + message(G_LOG_LEVEL_CRITICAL, "Name identifier not found in request\n"); return(-1); } /* Verify federation */ if (profile->identity == NULL) { - message(G_LOG_LEVEL_ERROR, "Identity environ not found\n"); + message(G_LOG_LEVEL_CRITICAL, "Identity environ not found\n"); return(-1); } diff --git a/lasso/id-ff/lecp.c b/lasso/id-ff/lecp.c index 38161097..96155d8d 100644 --- a/lasso/id-ff/lecp.c +++ b/lasso/id-ff/lecp.c @@ -38,7 +38,7 @@ lasso_lecp_build_authn_request_msg(LassoLecp *lecp) lecp->msg_body = lasso_node_export_to_soap(lecp->authnRequest); if(lecp->msg_body==NULL){ - message(G_LOG_LEVEL_ERROR, "Error while exporting the AuthnRequest to soap msg\n"); + message(G_LOG_LEVEL_CRITICAL, "Error while exporting the AuthnRequest to soap msg\n"); return(-2); } @@ -53,7 +53,7 @@ lasso_lecp_build_authn_request_envelope_msg(LassoLecp *lecp) /* FIXME : export to base 64 or simple xml dump */ lecp->msg_body = lasso_node_export_to_base64(lecp->request); if(lecp->msg_body==NULL){ - message(G_LOG_LEVEL_ERROR, "Error while exporting the AuthnRequestEnvelope to msg\n"); + message(G_LOG_LEVEL_CRITICAL, "Error while exporting the AuthnRequestEnvelope to msg\n"); return(-2); } @@ -67,7 +67,7 @@ lasso_lecp_build_authn_response_msg(LassoLecp *lecp) lecp->msg_body = lasso_node_export_to_base64(lecp->authnResponse); if(lecp->msg_body==NULL){ - message(G_LOG_LEVEL_ERROR, "Error while exporting the AuthnResponse to soap msg\n"); + message(G_LOG_LEVEL_CRITICAL, "Error while exporting the AuthnResponse to soap msg\n"); return(-2); } @@ -81,7 +81,7 @@ lasso_lecp_build_authn_response_envelope_msg(LassoLecp *lecp) lecp->msg_body = lasso_node_export_to_soap(lecp->response); if (lecp->msg_body == NULL) { - message(G_LOG_LEVEL_ERROR, "Error while exporting the AuthnResponseEnvelope to msg\n"); + message(G_LOG_LEVEL_CRITICAL, "Error while exporting the AuthnResponseEnvelope to msg\n"); return(-2); } @@ -110,7 +110,7 @@ lasso_lecp_init_authn_request_envelope(LassoLecp *lecp, server->providerID, assertionConsumerServiceURL); if(lecp->request==NULL){ - message(G_LOG_LEVEL_ERROR, "Error while building request\n"); + message(G_LOG_LEVEL_CRITICAL, "Error while building request\n"); return(-1); } @@ -163,13 +163,13 @@ lasso_lecp_process_authn_request_envelope_msg(LassoLecp *lecp, lecp->request = lasso_authn_request_envelope_new_from_export(request_msg, lassoNodeExportTypeBase64); if (lecp->request == NULL) { - message(G_LOG_LEVEL_ERROR, "Error while building the authentication request envelope\n"); + message(G_LOG_LEVEL_CRITICAL, "Error while building the authentication request envelope\n"); return(-3); } lecp->authnRequest = lasso_authn_request_envelope_get_authnRequest(LASSO_AUTHN_REQUEST_ENVELOPE(lecp->request)); if (lecp->authnRequest == NULL) { - message(G_LOG_LEVEL_ERROR, "AuthnRequest not found\n"); + message(G_LOG_LEVEL_CRITICAL, "AuthnRequest not found\n"); return(-4); } @@ -186,7 +186,7 @@ lasso_lecp_process_authn_response_envelope_msg(LassoLecp *lecp, printf("------------------- process authn response : %s\n", response_msg); lecp->response = lasso_authn_response_envelope_new_from_export(response_msg, lassoNodeExportTypeSoap); if (lecp->response == NULL) { - message(G_LOG_LEVEL_ERROR, "Error while building the authentication response envelope\n"); + message(G_LOG_LEVEL_CRITICAL, "Error while building the authentication response envelope\n"); return(-3); } @@ -194,14 +194,14 @@ lasso_lecp_process_authn_response_envelope_msg(LassoLecp *lecp, lecp->authnResponse = lasso_authn_response_envelope_get_authnResponse(LASSO_AUTHN_RESPONSE_ENVELOPE(lecp->response)); if (lecp->authnResponse == NULL) { - message(G_LOG_LEVEL_ERROR, "AuthnResponse not found\n"); + message(G_LOG_LEVEL_CRITICAL, "AuthnResponse not found\n"); return(-4); } lecp->assertionConsumerServiceURL = lasso_authn_response_envelope_get_assertionConsumerServiceURL( LASSO_AUTHN_RESPONSE_ENVELOPE(lecp->response)); if (lecp->assertionConsumerServiceURL == NULL){ - message(G_LOG_LEVEL_ERROR, "Assertion consumer service URL not found\n"); + message(G_LOG_LEVEL_CRITICAL, "Assertion consumer service URL not found\n"); return(-5); } diff --git a/lasso/id-ff/logout.c b/lasso/id-ff/logout.c index 56b9b1dc..a21743b4 100644 --- a/lasso/id-ff/logout.c +++ b/lasso/id-ff/logout.c @@ -73,7 +73,7 @@ lasso_logout_build_request_msg(LassoLogout *logout) provider = lasso_server_get_provider(profile->server, profile->remote_providerID); if(provider==NULL){ - message(G_LOG_LEVEL_ERROR, "Provider %s not found\n", profile->remote_providerID); + message(G_LOG_LEVEL_CRITICAL, "Provider %s not found\n", profile->remote_providerID); return(-2); } @@ -81,7 +81,7 @@ lasso_logout_build_request_msg(LassoLogout *logout) protocolProfile = lasso_provider_get_singleLogoutProtocolProfile(provider); if(protocolProfile==NULL){ - message(G_LOG_LEVEL_ERROR, "Single Logout Protocol profile not found\n"); + message(G_LOG_LEVEL_CRITICAL, "Single Logout Protocol profile not found\n"); return(-3); } @@ -122,7 +122,7 @@ lasso_logout_build_response_msg(LassoLogout *logout) xmlChar *protocolProfile; if(!LASSO_IS_LOGOUT(logout)){ - message(G_LOG_LEVEL_ERROR, "Not a Logout object\n"); + message(G_LOG_LEVEL_CRITICAL, "Not a Logout object\n"); return(-1); } @@ -130,13 +130,13 @@ lasso_logout_build_response_msg(LassoLogout *logout) provider = lasso_server_get_provider(profile->server, profile->remote_providerID); if(provider == NULL) { - message(G_LOG_LEVEL_ERROR, "Provider not found %s\n", profile->remote_providerID); + message(G_LOG_LEVEL_CRITICAL, "Provider not found %s\n", profile->remote_providerID); return(-2); } protocolProfile = lasso_provider_get_singleLogoutProtocolProfile(provider); if(protocolProfile == NULL) { - message(G_LOG_LEVEL_ERROR, "Single Logout Protocol profile not found\n"); + message(G_LOG_LEVEL_CRITICAL, "Single Logout Protocol profile not found\n"); return(-3); } @@ -219,14 +219,14 @@ lasso_logout_init_request(LassoLogout *logout, } if(profile->remote_providerID == NULL) { - message(G_LOG_LEVEL_ERROR, "No provider id for init request\n"); + message(G_LOG_LEVEL_CRITICAL, "No provider id for init request\n"); return(-2); } /* get federation */ federation = lasso_identity_get_federation(profile->identity, profile->remote_providerID); if(federation == NULL) { - message(G_LOG_LEVEL_ERROR, "Federation not found\n"); + message(G_LOG_LEVEL_CRITICAL, "Federation not found\n"); return(-3); } @@ -245,12 +245,12 @@ lasso_logout_init_request(LassoLogout *logout, } break; default: - message(G_LOG_LEVEL_ERROR, "Invalid provider type\n"); + message(G_LOG_LEVEL_CRITICAL, "Invalid provider type\n"); return(-4); } if(nameIdentifier == NULL) { - message(G_LOG_LEVEL_ERROR, "Name identifier not found for %s\n", + message(G_LOG_LEVEL_CRITICAL, "Name identifier not found for %s\n", profile->remote_providerID); return(-5); } @@ -270,7 +270,7 @@ lasso_logout_init_request(LassoLogout *logout, lasso_node_destroy(nameIdentifier); if(profile->request == NULL) { - message(G_LOG_LEVEL_ERROR, "Error while creating the request\n"); + message(G_LOG_LEVEL_CRITICAL, "Error while creating the request\n"); return(-6); } @@ -303,11 +303,11 @@ gint lasso_logout_load_request_msg(LassoLogout *logout, debug("TODO, implement the get method\n"); break; default: - message(G_LOG_LEVEL_ERROR, "Invalid request method\n"); + message(G_LOG_LEVEL_CRITICAL, "Invalid request method\n"); return(-3); } if(profile->request == NULL) { - message(G_LOG_LEVEL_ERROR, "Error while building the request from msg\n"); + message(G_LOG_LEVEL_CRITICAL, "Error while building the request from msg\n"); return(-4); } @@ -339,7 +339,7 @@ lasso_logout_process_request(LassoLogout *logout) profile = LASSO_PROFILE(logout); if(profile->request == NULL) { - message(G_LOG_LEVEL_ERROR, "LogoutRequest not found\n"); + message(G_LOG_LEVEL_CRITICAL, "LogoutRequest not found\n"); return(-1); } @@ -347,7 +347,7 @@ lasso_logout_process_request(LassoLogout *logout) remote_providerID = lasso_node_get_child_content(profile->request, "ProviderID", NULL, NULL); if(remote_providerID == NULL) { - message(G_LOG_LEVEL_ERROR, "ProviderID in LogoutRequest not found\n"); + message(G_LOG_LEVEL_CRITICAL, "ProviderID in LogoutRequest not found\n"); return(-1); } profile->remote_providerID = remote_providerID; @@ -357,7 +357,7 @@ lasso_logout_process_request(LassoLogout *logout) lassoSamlStatusCodeSuccess, profile->request); if(profile->response == NULL) { - message(G_LOG_LEVEL_ERROR, "Error while building response\n"); + message(G_LOG_LEVEL_CRITICAL, "Error while building response\n"); return(-5); } @@ -367,7 +367,7 @@ lasso_logout_process_request(LassoLogout *logout) nameIdentifier = lasso_node_get_child(profile->request, "NameIdentifier", NULL, NULL); if(nameIdentifier == NULL) { - message(G_LOG_LEVEL_ERROR, "Name identifier not found in logout request\n"); + message(G_LOG_LEVEL_CRITICAL, "Name identifier not found in logout request\n"); statusCode_class->set_prop(statusCode, "Value", lassoLibStatusCodeFederationDoesNotExist); return(-6); } @@ -375,7 +375,7 @@ lasso_logout_process_request(LassoLogout *logout) remote_providerID = lasso_node_get_child_content(profile->request, "ProviderID", NULL, NULL); if(remote_providerID == NULL) { - message(G_LOG_LEVEL_ERROR, "Provider id not found in logout request\n"); + message(G_LOG_LEVEL_CRITICAL, "Provider id not found in logout request\n"); return(-7); } @@ -430,7 +430,7 @@ lasso_logout_process_request(LassoLogout *logout) break; default: - message(G_LOG_LEVEL_ERROR, "Uknown provider type\n"); + message(G_LOG_LEVEL_CRITICAL, "Uknown provider type\n"); } return(0); @@ -459,18 +459,18 @@ lasso_logout_process_response_msg(LassoLogout *logout, profile->response = lasso_logout_response_new_from_export(response_msg, lassoNodeExportTypeQuery); break; default: - message(G_LOG_LEVEL_ERROR, "Unknown response method\n"); + message(G_LOG_LEVEL_CRITICAL, "Unknown response method\n"); return(-3); } if(profile->response == NULL) { - message(G_LOG_LEVEL_ERROR, "LogoutResponse is NULL\n"); + message(G_LOG_LEVEL_CRITICAL, "LogoutResponse is NULL\n"); return(-1); } statusCode = lasso_node_get_child(profile->response, "StatusCode", NULL, NULL); if(statusCode == NULL) { - message(G_LOG_LEVEL_ERROR, "StatusCode node not found\n"); + message(G_LOG_LEVEL_CRITICAL, "StatusCode node not found\n"); return(-1); } @@ -493,7 +493,7 @@ lasso_logout_process_response_msg(LassoLogout *logout, /* if no more assertion for other providers, remove assertion of the original provider and restore the original requester infos */ if(profile->session->providerIDs->len == 1){ - message(G_LOG_LEVEL_WARNING, "remove assertion of the original provider\n"); + message(G_LOG_LEVEL_WARNING, "Remove assertion of the original provider\n"); lasso_session_remove_assertion(profile->session, logout->initial_remote_providerID); profile->remote_providerID = logout->initial_remote_providerID; @@ -503,7 +503,7 @@ lasso_logout_process_response_msg(LassoLogout *logout, break; default: - message(G_LOG_LEVEL_ERROR, "Unkown provider type\n"); + message(G_LOG_LEVEL_CRITICAL, "Unkown provider type\n"); } return(0); diff --git a/lasso/id-ff/register_name_identifier.c b/lasso/id-ff/register_name_identifier.c index c402165e..50a23236 100644 --- a/lasso/id-ff/register_name_identifier.c +++ b/lasso/id-ff/register_name_identifier.c @@ -56,14 +56,14 @@ lasso_register_name_identifier_build_request_msg(LassoRegisterNameIdentifier *re provider = lasso_server_get_provider(profile->server, profile->remote_providerID); if(provider == NULL) { - message(G_LOG_LEVEL_ERROR, "Provider %s not found\n", profile->remote_providerID); + message(G_LOG_LEVEL_CRITICAL, "Provider %s not found\n", profile->remote_providerID); return(-2); } /* get the prototocol profile of the register_name_identifier */ protocolProfile = lasso_provider_get_registerNameIdentifierProtocolProfile(provider); if(protocolProfile == NULL){ - message(G_LOG_LEVEL_ERROR, "Register_Name_Identifier Protocol profile not found\n"); + message(G_LOG_LEVEL_CRITICAL, "Register_Name_Identifier Protocol profile not found\n"); return(-3); } @@ -86,7 +86,7 @@ lasso_register_name_identifier_build_request_msg(LassoRegisterNameIdentifier *re debug("Building a http get request message\n"); } else { - message(G_LOG_LEVEL_ERROR, "Invalid protocol Profile for register name identifier\n"); + message(G_LOG_LEVEL_CRITICAL, "Invalid protocol Profile for register name identifier\n"); } return(0); @@ -105,13 +105,13 @@ lasso_register_name_identifier_build_response_msg(LassoRegisterNameIdentifier *r provider = lasso_server_get_provider(profile->server, profile->remote_providerID); if(provider == NULL) { - message(G_LOG_LEVEL_ERROR, "Provider not found (ProviderID = %s)\n", profile->remote_providerID); + message(G_LOG_LEVEL_CRITICAL, "Provider not found (ProviderID = %s)\n", profile->remote_providerID); return(-2); } protocolProfile = lasso_provider_get_registerNameIdentifierProtocolProfile(provider); if(protocolProfile == NULL) { - message(G_LOG_LEVEL_ERROR, "Register name identifier protocol profile not found\n"); + message(G_LOG_LEVEL_CRITICAL, "Register name identifier protocol profile not found\n"); return(-3); } @@ -160,14 +160,14 @@ lasso_register_name_identifier_init_request(LassoRegisterNameIdentifier *registe profile->remote_providerID = g_strdup(remote_providerID); } if(profile->remote_providerID == NULL) { - message(G_LOG_LEVEL_ERROR, "No provider id for init request\n"); + message(G_LOG_LEVEL_CRITICAL, "No provider id for init request\n"); return(-2); } /* get federation */ federation = lasso_identity_get_federation(profile->identity, profile->remote_providerID); if(federation == NULL) { - message(G_LOG_LEVEL_ERROR, "Federation not found\n"); + message(G_LOG_LEVEL_CRITICAL, "Federation not found\n"); return(-3); } printf("plop\n"); @@ -191,7 +191,7 @@ lasso_register_name_identifier_init_request(LassoRegisterNameIdentifier *registe /* idp name identifier */ nameIdentifier_node = lasso_federation_get_remote_nameIdentifier(federation); if(nameIdentifier_node == NULL) { - message(G_LOG_LEVEL_ERROR, "Remote NameIdentifier for service provider not found\n"); + message(G_LOG_LEVEL_CRITICAL, "Remote NameIdentifier for service provider not found\n"); return(-1); } idpNameIdentifier = lasso_node_get_content(nameIdentifier_node, NULL); @@ -232,7 +232,7 @@ lasso_register_name_identifier_init_request(LassoRegisterNameIdentifier *registe break; default: - message(G_LOG_LEVEL_ERROR, "Invalid provider type (%d)\n", profile->provider_type); + message(G_LOG_LEVEL_CRITICAL, "Invalid provider type (%d)\n", profile->provider_type); return(-5); } @@ -252,7 +252,7 @@ lasso_register_name_identifier_init_request(LassoRegisterNameIdentifier *registe oldFormat); if(profile->request == NULL) { - message(G_LOG_LEVEL_ERROR, "Error while creating the request\n"); + message(G_LOG_LEVEL_CRITICAL, "Error while creating the request\n"); return(-6); } @@ -283,11 +283,11 @@ gint lasso_register_name_identifier_load_request_msg(LassoRegisterNameIdentifier debug("TODO, implement the get method\n"); break; default: - message(G_LOG_LEVEL_ERROR, "Invalid request method\n"); + message(G_LOG_LEVEL_CRITICAL, "Invalid request method\n"); return(-3); } if(profile->request == NULL) { - message(G_LOG_LEVEL_ERROR, "Error while building the request from msg\n"); + message(G_LOG_LEVEL_CRITICAL, "Error while building the request from msg\n"); return(-4); } @@ -326,7 +326,7 @@ lasso_register_name_identifier_process_request(LassoRegisterNameIdentifier *regi profile->request); if(profile->response == NULL) { - message(G_LOG_LEVEL_ERROR, "Error while building response\n"); + message(G_LOG_LEVEL_CRITICAL, "Error while building response\n"); return(-4); } @@ -335,14 +335,14 @@ lasso_register_name_identifier_process_request(LassoRegisterNameIdentifier *regi nameIdentifier = lasso_node_get_child(profile->request, "NameIdentifier", NULL, NULL); if(nameIdentifier == NULL) { - message(G_LOG_LEVEL_ERROR, "No name identifier found in register_name_identifier request\n"); + message(G_LOG_LEVEL_CRITICAL, "No name identifier found in register_name_identifier request\n"); statusCode_class->set_prop(statusCode, "Value", lassoLibStatusCodeFederationDoesNotExist); return(-5); } remote_providerID = lasso_node_get_child_content(profile->request, "ProviderID", NULL, NULL); if(remote_providerID == NULL) { - message(G_LOG_LEVEL_ERROR, "No provider id found in register_name_identifier request\n"); + message(G_LOG_LEVEL_CRITICAL, "No provider id found in register_name_identifier request\n"); return(-6); } @@ -397,7 +397,7 @@ lasso_register_name_identifier_process_response_msg(LassoRegisterNameIdentifier profile->response = lasso_register_name_identifier_response_new_from_export(response_msg, lassoNodeExportTypeQuery); break; default: - message(G_LOG_LEVEL_ERROR, "Unknown response method\n"); + message(G_LOG_LEVEL_CRITICAL, "Unknown response method\n"); return(-3); } @@ -409,7 +409,7 @@ lasso_register_name_identifier_process_response_msg(LassoRegisterNameIdentifier } } else { - message(G_LOG_LEVEL_ERROR, err->message); + message(G_LOG_LEVEL_CRITICAL, err->message); ret = err->code; g_error_free(err); return (ret); |