[Fri Jun 07 16:06:56 2013] [error] [client 192.168.50.25] File does not exist: /var/www/favicon.ico
> [Fri Jun 07 16:01:51 2013] [error] [client 192.168.50.25] File does not exist: /var/www/favicon.ico
> [Fri Jun 07 16:02:39 2013] [error] [client 192.168.50.25] File does not exist: /var/www/favicon.ico
> [Fri Jun 07 16:04:17 2013] [error] [client 192.168.50.25] File does not exist: /var/www/favicon.ico
> [Fri Jun 07 16:06:49 2013] [notice] caught SIGTERM, shutting down
> [Fri Jun 07 16:06:51 2013] [notice] Apache/2.2.16 (Debian) PHP/5.3.3-7+squeeze3 with Suhosin-Patch mod_perl/2.0.4 Perl/v5.10.1 configured — resuming normal operations
> [Fri Jun 07 16:06:55 2013] [error] Bad/Missing NTLM/Basic Authorization Header for /glpi/front/auth.others.php
> [Fri Jun 07 16:06:55 2013] [error] Connect to SMB Server failed (pdc = serveur2000 bdc = domain = farouest.farouest error = -11/0) for /glpi/front/auth.others.php
> [Fri Jun 07 16:06:55 2013] [error] Cannot get nonce
> [Fri Jun 07 16:06:55 2013] [crit] [client 192.168.50.25] configuration error: couldn’t check user. Check your authn provider!: /glpi/front/auth.others.php, referer: http://192.168.50.118:8080/glpi/front/auth.others.php
, j’ai activé les authentifications sur le serveur, J’ai mis la variable remote user et username dans Champ de stockage de l’identifiant dans la requête HTTP ça ne marche pas ….
Voici mon fichier glpi/front/auth.others.php
define(‘GLPI_ROOT’, ‘..’);
include (GLPI_ROOT . « /inc/includes.php »);
Session::checkRight(« config », « w »);
$config = new Config();
//Update CAS configuration
if (isset($_POST[« update »])) {
$config->update($_POST);
Html::redirect($CFG_GLPI[« root_doc »] . « /front/auth.others.php »);
}
if (!isset($_GET[« id »])) {
$_GET[« id »]= » »;
}
Html::header($LANG[‘title’][14], $_SERVER[‘PHP_SELF’], »config », »extauth », »others »);
Auth::showOtherAuthList();
Html::footer();
?>
Tu arrives bien à te connecter avec un user de l’AD n’est-ce pas ?
]]>J’utilise le code que tu as mis plus haut.
PerlModule Apache2::AuthenNTLM
PerlAuthenHandler Apache2::AuthenNTLM
AuthType ntlm,basic
AuthName paipartners
require valid-user
PerlAddVar ntdomain « mondomain.com serveur-du-domain »
PerlSetVar defaultdomain mondomain.com
PerlSetVar splitdomainprefix 1
PerlSetVar ntlmdebug 1
PerlSetVar ntlmauthoritative off
J’ai surement fait une erreur dans le fichier de conf?
]]>Il est en effet possible de se connecter avec des comptes qui ne sont pas dans l’AD. J’utilisais par exemple l’utilisateur « glpi » qui était super admin.
Du coup je ne peux pas trop te dire d’où vient ton problème. Peut-être as-tu spécifié quelque part que seul les utilisateurs AD peuvent se connecter.
]]>Est-il possible de s’identifier avec un compte du GLPI mais qui n’est pas dans le domaine ?
Je suis sous debian avec un serveur apache 2.2.16 et GLPI 0.83.8
Car j’ai un message d’erreur :
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/2.2.16 (Debian) Server at 192.168.50.118 Port 80
Merci pour les reponses par avance.
Cordialement
]]>Tu es sous quel OS alors ?
]]>