English faq 22x

Errors with SSO (GLPI automatic authentication)

if you have this error and you work with SSO (Apache / GLPI)

<html>
<head><title>An Error Occurred</title></head>
<body>
<h1>An Error Occurred</h1>
<p>401 Authorization Required</p>
</body>
</html>

and your config file is like this

server=http://192.168.0.1/glpi/plugins/fusioninventory/front/plugin_fusioninventory.communication.php

then add DOMAIN\login:pass@ in the url like this :

server=http://DOMAINEAD\login:motdepasse@192.168.0.1/glpi/plugins/fusioninventory/front/plugin_fusioninventory.communication.php

or :

Add in apache configuration :

> <Directory "/var/www/glpi/plugins/fusioninventory/front/">
> <Files plugin_fusioninventory.communication.php>
> Satisfy Any
> </Files>
> </Directory>
>