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 2012-02-23 17:29:45

jacastillo
Member
Registered: 2010-09-07
Posts: 23

help autologin - ocs

after activate autologin in glpi not work for me for ocs inventory of equipment, this is a log I get


error] Bad/Missing NTLM/Basic Authorization Header for /ocsinventory
configuration error:  couldn't check user.  No user file?: /ocsinventory


can you help?

Offline

#2 2012-02-28 14:21:14

tomolimo
Member
From: Grenoble, France
Registered: 2009-05-12
Posts: 515

Re: help autologin - ocs

Of course OCS doesn't manage SSO...
the solution is either to have two separate servers, OR to have one Apache running on a specific port, and one running on default HTTP port (80), OR (and this is what we did) to configure SSPI only on GLPI folder and not on OCS folder in httpd.conf
regards,
Tomolimo


GLPI 9.2.4 - PHP 7.2.13 x64 / ProcessMaker 3.3.0-community-RE-1.7 - PHP 7.1.24 x64 / Windows 2012 x64 / IIS 8.5 / MySQL 5.7.17 x64
Worldwide: >12316 PC, >9400 users (16 languages, >11 timezones), >360k tickets, >3600 entities, >4200 groups
Raynet is ARaymond (http://www.araymond.com) IT service management

Offline

#3 2012-02-29 10:09:02

jacastillo
Member
Registered: 2010-09-07
Posts: 23

Re: help autologin - ocs

I could not be imagined, but can be any wiki to put on a single server and ocs glpi with autologin?

thanks

Offline

#4 2012-02-29 10:18:02

tomolimo
Member
From: Grenoble, France
Registered: 2009-05-12
Posts: 515

Re: help autologin - ocs

For me the best is to have two folders one called GLPI, and one called OCS under the HTDOCS (Apache folder), and then in your httpd.conf, you set SSPI config only for GLPI folder:

#SSPI configuration for SSO
 <Directory "H:/Program Files/Apache Software Foundation/Apache2.2/htdocs/glpi">
  Options None
  Order allow,deny
  Allow from all
  AuthName "SSO Authentication"
  AuthType SSPI
  SSPIAuth On
  SSPIAuthoritative On
  #SSPIOfferBasic On
  #SSPIBasicPreferred
  SSPIPerRequestAuth On
  require valid-user
  </Directory>

that's it,
regards,
Tomolimo


GLPI 9.2.4 - PHP 7.2.13 x64 / ProcessMaker 3.3.0-community-RE-1.7 - PHP 7.1.24 x64 / Windows 2012 x64 / IIS 8.5 / MySQL 5.7.17 x64
Worldwide: >12316 PC, >9400 users (16 languages, >11 timezones), >360k tickets, >3600 entities, >4200 groups
Raynet is ARaymond (http://www.araymond.com) IT service management

Offline

#5 2012-02-29 18:35:31

jacastillo
Member
Registered: 2010-09-07
Posts: 23

Re: help autologin - ocs

I do not have that module, we use ubuntu server, so I can not use sspi

you are very kind, forgive my English, translators use

Offline

#6 2012-03-01 09:47:54

tomolimo
Member
From: Grenoble, France
Registered: 2009-05-12
Posts: 515

Re: help autologin - ocs

it is also existing for Linux systems...
google for "NTLM authentication in apache" (what web server are you using?).
regards,
Tomolimo


GLPI 9.2.4 - PHP 7.2.13 x64 / ProcessMaker 3.3.0-community-RE-1.7 - PHP 7.1.24 x64 / Windows 2012 x64 / IIS 8.5 / MySQL 5.7.17 x64
Worldwide: >12316 PC, >9400 users (16 languages, >11 timezones), >360k tickets, >3600 entities, >4200 groups
Raynet is ARaymond (http://www.araymond.com) IT service management

Offline

#7 2012-03-01 12:37:15

jacastillo
Member
Registered: 2010-09-07
Posts: 23

Re: help autologin - ocs

if I have it running on an apache server with ubuntu server, the problem is that also attempts to identify the data coming from ocs, and that is where error occurs because the computer name or password is not, so NTLM not valid and can not enter data into the MySQL database, so I added in ocs inventory teams and therefore not in GLPI, which would need I think, is to skip the login of the teams in NTLM so you can provide seamless data in MySQL

thanks

Offline

#8 2012-03-14 09:03:08

jacastillo
Member
Registered: 2010-09-07
Posts: 23

Re: help autologin - ocs

up

Offline

#9 2012-03-14 09:43:44

tomolimo
Member
From: Grenoble, France
Registered: 2009-05-12
Posts: 515

Re: help autologin - ocs

hello,
you can define NTLM on GLPI web site folder, and not for OCS on the same server. We did that already!
it is just a question of configuration in httpd.conf file of Apache.
regards,
Tomolimo


GLPI 9.2.4 - PHP 7.2.13 x64 / ProcessMaker 3.3.0-community-RE-1.7 - PHP 7.1.24 x64 / Windows 2012 x64 / IIS 8.5 / MySQL 5.7.17 x64
Worldwide: >12316 PC, >9400 users (16 languages, >11 timezones), >360k tickets, >3600 entities, >4200 groups
Raynet is ARaymond (http://www.araymond.com) IT service management

Offline

#10 2012-03-14 18:23:14

jacastillo
Member
Registered: 2010-09-07
Posts: 23

Re: help autologin - ocs

not find a way to do it, I'm pretty first-in this, I can put one example?

Thank you.

Offline

#11 2012-03-19 08:54:02

jacastillo
Member
Registered: 2010-09-07
Posts: 23

Re: help autologin - ocs

up

Offline

#12 2012-03-19 09:48:07

tomolimo
Member
From: Grenoble, France
Registered: 2009-05-12
Posts: 515

Re: help autologin - ocs

hello,
just follow what I have written above regarding httpd.conf file,
regards,
Tomolimo


GLPI 9.2.4 - PHP 7.2.13 x64 / ProcessMaker 3.3.0-community-RE-1.7 - PHP 7.1.24 x64 / Windows 2012 x64 / IIS 8.5 / MySQL 5.7.17 x64
Worldwide: >12316 PC, >9400 users (16 languages, >11 timezones), >360k tickets, >3600 entities, >4200 groups
Raynet is ARaymond (http://www.araymond.com) IT service management

Offline

#13 2012-03-21 15:29:46

jacastillo
Member
Registered: 2010-09-07
Posts: 23

Re: help autologin - ocs

tomolimo sorry, I find the module sspi for ubuntu, I find it only for windows

Offline

#14 2012-03-21 15:52:11

tomolimo
Member
From: Grenoble, France
Registered: 2009-05-12
Posts: 515

Re: help autologin - ocs

Yes, the name is not the same for ubuntu than for windows, try google with the words "SSPI for Apache on ubuntu"


GLPI 9.2.4 - PHP 7.2.13 x64 / ProcessMaker 3.3.0-community-RE-1.7 - PHP 7.1.24 x64 / Windows 2012 x64 / IIS 8.5 / MySQL 5.7.17 x64
Worldwide: >12316 PC, >9400 users (16 languages, >11 timezones), >360k tickets, >3600 entities, >4200 groups
Raynet is ARaymond (http://www.araymond.com) IT service management

Offline

#15 2012-03-25 22:04:13

pcTechs
Member
From: Omaha, NEbraska, USA
Registered: 2011-10-01
Posts: 1

Re: help autologin - ocs

php-pear-CAS (those are hyphens ---, not underlines __ ) can be installed from the remi repository for CentOS.
yum search mod_auth_cas found nothing.

But now i am not sure if Central Authentication Service supports sspi.  Checking...

Last edited by pcTechs (2012-03-25 22:20:09)

Offline

Board footer

Powered by FluxBB