Subject: The mailing list for listmasters using Sympa
List archive
- From: Antonio Casado <address@concealed>
- To: address@concealed
- Subject: Re: [en@sympa] Error in sympa_soap_client.pl
- Date: Wed, 26 Oct 2022 12:12:31 +0200
Sorry, version 6.2.68
Fixed by changing the position of the trusted_applications.conf file from /etc/sympa/myrobot.ual.es/ to /etc/sympa/
Now it works fine.
Bye
I was confused by the man page (man trusted_applications.conf)
TRUSTED_APPLICATIONS.CONF(5) sympa 6.2.68 TRUSTED_APPLICATIONS.CONF(5)
NAME
trusted_applications.conf - Defining applications of SOAP HTTP interface for Sympa
DESCRIPTION
trusted_applications.conf defines applications of SOAP HTTP interface for Sympa.
TBD.
FILES
$SYSCONFDIR/<robot name>/trusted_applications.conf
Configuration files for each robot.
SEE ALSO
wwsympa(8), sympa_soap_server(8).
HISTORY
This document was initially written by IKEDA Soji <address@concealed>.
NAME
trusted_applications.conf - Defining applications of SOAP HTTP interface for Sympa
DESCRIPTION
trusted_applications.conf defines applications of SOAP HTTP interface for Sympa.
TBD.
FILES
$SYSCONFDIR/<robot name>/trusted_applications.conf
Configuration files for each robot.
SEE ALSO
wwsympa(8), sympa_soap_server(8).
HISTORY
This document was initially written by IKEDA Soji <address@concealed>.
El mié, 26 oct 2022 a las 10:07, Antonio Casado (<address@concealed>) escribió:
Hi.We are running Sympa 6.2.28 on Centos 7.9 with Postfix and MySQL.I'm trying to use SOAP. My test:/usr/share/sympa/bin/sympa_soap_client.pl --soap_url=https://myhost.ual.es/sympasoap --service=add --trusted_application=byexample --trusted_application_password=mypass --proxy_vars="USER_EMAIL=address@concealed" --service_parameters=address@concealed,address@concealed,Antonio
calling authenticateRemoteAppAndRun( byexample, mypass, USER_EMAIL=address@concealed,add,address@concealed,address@concealed,Antonio)
Soap error :
faultcode = soap:Server
faultstring = Can't use an undefined value as an ARRAY reference at /usr/share/sympa/lib/Sympa/WWW/Auth.pm line 378.Log in /var/log/sympa.logOct 26 09:52:55 myhost sympasoap[3406]: debug2 Sympa::List::get_robots()
Oct 26 09:52:55 myhost sympasoap[3406]: debug Sympa::WWW::Session::new(myrobot.ual.es, , )
Oct 26 09:52:55 myhost sympasoap[3406]: debug Sympa::WWW::Session::store()
Oct 26 09:52:55 myhost sympasoap[3406]: debug Sympa::WWW::Session::renew(id_session=558...)
Oct 26 09:52:55 myhost sympasoap[3406]: notice Sympa::WWW::SOAP::authenticateRemoteAppAndRun(byexample, USER_EMAIL=address@concealed, add, address@concealed,address@concealed,Antonio)
Oct 26 09:52:55 myhost sympasoap[3406]: debug Sympa::WWW::Auth::remote_app_check_password(byexample, myrobot.ual.es, add)Regards.
Antonio Casado Rodríguez Administrador de Servicios de Red y Seguridad TIC Despacho 2.22, Edif. CITIC Email: address@concealed Tel. +34 950214223 Universidad de Almería Carretera Sacramento s/n 04120 La Cañada de San Urbano, Almería (España) | ||
Puede consultar la información adicional sobre confidencialidad de este email y protección de datos en nuestra página web: www.ual.es/lopd-email. Responsable del tratamiento: Universidad de Almería. Finalidad: Atender y dar respuesta a su petición o consulta y mantener los contactos y relaciones que se produzcan como consecuencia de la misma. Derechos: Para el ejercicio de derechos de protección de datos diríjase a www.ual.es/lopd-derechos. |
-
[en@sympa] Error in sympa_soap_client.pl,
Antonio Casado, 10/26/2022
- Re: [en@sympa] Error in sympa_soap_client.pl, Antonio Casado, 10/26/2022
Archive powered by MHonArc 2.6.19+.