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 2010-04-06 10:16:21

jerome01
Member
Registered: 2010-04-06
Posts: 12

Authentification automatique.

Bonjour,

Je me heurte au probleme d'activation de l'authentification automatique dans GLPI avec mon Active Directory.

GLPI version : 0.72.4
Apache : 2.2.3

Voici mon probleme, j'ai configurer tout comme ceci :

/etc/hosts

127.0.0.1       localhost.localdomain   localhost
"IP Passerel de mon reseau"   intranet.masociete.local.com   intranet
::1     localhost6.localdomain6 localhost6


Ma conf HTTPD :

Alias /glpi "/var/www/html/glpi/"

PerlModule Apache2::AuthenNTLM

<Directory "/var/www/html/glpi/">
    PerlAuthenHandler Apache2::AuthenNTLM
    AuthType ntlm,basic
    AuthName paipartners
    require valid-user
    PerlAddVar ntdomain  "@@DOMAIN@@ @@PDC@@ @@BDC@@"
    PerlAddVar ntdomain  "@@DOMAIN2_AU_BESOIN@@ @@PDC2@@ @@BDC2@@"
    PerlSetVar defaultdomain @@DOMAIN@@
    PerlSetVar splitdomainprefix 1
    PerlSetVar ntlmdebug 0
    PerlSetVar ntlmauthoritative off
    Options Indexes Multiviews
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

Avec évidement le module NTML configurer. (J'ai pas de LoadModule par contre)

Puis, dans mon fichier httpd.conf aussi : ServerName : Monserver.intranet.masociete.local.com


Dans internet explorer : Configurer le site de confiance intranet de mon GLPI, et l'authentification windows integrer est activé dans les options avancé.


Ensuite, dans GLPI => configuration => authentification => autres => REMOTE_USER est bien activé.




Je restart httpd sur mon server Centos.


Et j'obtient alors quand je me connecte sur mon site GLPI :

Authorization Required

This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.

Apache/2.2.3 (CentOS) Server at "IP" Port 80

Mon fichier error_log d'httpd :

[Tue Apr 06 10:44:03 2010] [error] Bad/Missing NTLM/Basic Authorization Header for /glpi/logout.php
[Tue Apr 06 10:44:03 2010] [error] Connect to SMB Server failed (pdc = domainpdc bdc = domainsdc domain = ourdomain error = -11/0) for /glpi/logout.php
[Tue Apr 06 10:44:03 2010] [error] Cannot get nonce
[Tue Apr 06 10:44:03 2010] [error] [client 192.168.220.119] access to /glpi/logout.php failed, reason: verification of user id '<null>' not configured, referer: http://192.168.220.117/glpi/front/auth.others.php

Si vous avez des idées du pourquoi du comment je pourrait résoudre ce problème.
Merci

Last edited by jerome01 (2010-04-06 10:49:30)

Offline

#2 2010-04-06 16:08:47

fdorazio
Member
Registered: 2010-03-04
Posts: 20

Re: Authentification automatique.

Bonjour,

As-tu installé les packages suivants :

krb5-user
libpam-krb5
samba
winbind

et as tu bien configurer krb5, samba ?

Offline

#3 2010-04-06 16:24:27

jerome01
Member
Registered: 2010-04-06
Posts: 12

Re: Authentification automatique.

Non pas du tout...

Tu aurait un lien vers une procédure ou un tutoriel pour me guider ?

Merci de ton aide

Offline

#4 2010-04-07 14:27:38

fdorazio
Member
Registered: 2010-03-04
Posts: 20

Re: Authentification automatique.

C'est quoi ton OS ? Red hat, Debian ?

tu peux t'inspirer de ce lien (install + conf d'un serveur proxy squid) pour installer et configurer les packages :

krb5-user
libpam-krb5
samba
winbind

n'installes pas squid.

Si tu as un moteur red hat utilise yum sinon c'est un moteur debian utilise apt-get.

Offline

#5 2010-04-07 15:16:03

fdorazio
Member
Registered: 2010-03-04
Posts: 20

Re: Authentification automatique.

Offline

Board footer

Powered by FluxBB