You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2011-04-19 16:24:32

OAdev
Member
Registered: 2011-03-11
Posts: 7

webservices CAS authentication problem

Hi people,

we are having problems with the authentication method in the webservices plugin (glpi.doLogin). We use the authentication against a CAS server (Central Authentication Service) but it doesn't work with webservices (we can login without problems in the GLPI web interface).

The  command we use is:

php testxmlrpc.php --host=192.168.1.7 --method=glpi.doLogin --login_password=1234 --login_name=user1234

where host is the ip where the glpi is.

and the error we get:

+ Calling 'glpi.doLogin' on http://192.168.1.7//glpi/plugins/webservices/xmlrpc.php
xmlrpc error(1): Access Denied

If we try to login with a local user (it means that we don't do the authentication against the CAS server) we can use the webservices without problems.

We are using the WebServices 1.0.0, GLPI 0.78.1 and Ubuntu 10.04 LTS.

Thanks in advance!

Offline

#2 2011-05-04 11:30:37

OAdev
Member
Registered: 2011-03-11
Posts: 7

Re: webservices CAS authentication problem

Any suggestion how to solve it?
sad

Offline

#3 2011-05-20 10:59:20

OAdev
Member
Registered: 2011-03-11
Posts: 7

Re: webservices CAS authentication problem

Hi all! I am still breaking my brain with this.

Now, I achieved to have the ST (service ticket) necessary to access the glpi, but I don't know how to use it to authenticate over webservices.

Does anyone have any idea about that?

Offline

#4 2011-05-20 12:31:44

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: webservices CAS authentication problem

That's seems normal.

If you want to use both webservice and SSO, you must create a CAS enable client (testxmlrpc.php is only a minimal test client)

+


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

Board footer

Powered by FluxBB