Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.11.1 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

Loss communication after SSO activation

(In english also...)

 

Bonjour, ayant installé OCS-NG sous XAMPP sous Windows 2008 server, je n'ai eu aucun problème pour le faire fonctionner ainsi que les agents.

(Hello, I have installed OCS-NG under XAMPP on Windows 20087 server, i haven't any problem to run OCS-NG and agents)

J'ai couplé l'installation avec GLPI.

(I have installed GLPI)

Mais depuis que j'ai activé le SSO pour GLPI dans la conf d'Apache, les agents OCS ne communiquent plus avec le serveur OCS-NG

 

(So, I have activated SSO for GLPI in ma Apache configuration and nox, agents won't communicate with the OCS-NG server)

 

Avez-vous une solution ?

(Is there any solution ?)

 

Voici la partie que j'active/désactive dans mon httpd.conf pour le SSO. Mis en commentaire, les agents fonctionnent, décommenté, ça ne fonctionne plus.

(Below, the part configuration I have activate/deactivate for SSO. With, it doesn't work, without, it works)

# glpi configuration
 <Directory "d:/xampp/htdocs>
 Options None
 Order allow,deny
 Allow from all
 
  AuthName "Accès restreint"
  AuthType SSPI
  SSPIAuth On
  SSPIAuthoritative On
  SSPIOfferBasic On
  require valid-user
 </Directory>
 
Merci pour vos réponses :)
 
Thanks for reply :)
in OCS Inventory NG server for Unix by (170 points)

4 Answers

+1 vote
En gros tu as mis que pour tout les visiteurs de ton serveurs OCS, ils devaient s'authentifier.

Donc soit tu appliques seulement au répertoire de glpi, soit tu vas devoir ajouter à la conf spécifique pour /ocsinventory l'inverse de ce que tu mets dans glpi.
by (22k points)
0 votes
Ok !

Comme mon GLPI se trouve à la racine du site, il faut donc que j'exclue le dossier ocsinventory, sinon il est inclu dans le SSO...

Merci, je n'avais pas pensé à cela :)
by (170 points)
0 votes

Hello,

Problème résolu !

J'ai configuré le SSO dans le .htaccess et j'ai ajouté une exclustion sur le dossier OCS

 

Ce qui donne, toujours dans le .htaccess :

AuthName "Acces restreint"

  AuthType SSPI

  SSPIAuth On

  SSPIAuthoritative On

  SSPIOfferBasic On

  SSPIPerRequestAuth On

  require valid-user

  # Allow access to excluded diretories

  SetEnvIf Request_URI "d:/xampp/htdocs/ocsreports" allow

  Order allow,deny

  Allow from env=allow

  Satisfy any

Et après vérification dans ocsreports mes machines remontes et le SSO fonctionne !

by (140 points)
0 votes
A-t-on besoin de configurer httpd.conf pour se connecter à partir d'un utilisateur Windows AD sur un serveur OCS Unix ?
by (2k points)
 
Powered by Question2Answer
...