This is a part of the config.php :

------------------------------------
// LDAP setup.
// We can use LDAP both for authentication and for user information
$cfg_login['ldap']['host'] = "ldap://csdaldc1.csd.pri/";;
$cfg_login['ldap']['basedn'] = "ou=CSD,dc=csd,dc=pri";
$cfg_login['ldap']['rootdn'] = "cn=UserCSD,ou=Alby,ou=CSD,ou=csd,ou=pri";
$cfg_login['ldap']['pass'] = "csd";
$cfg_login['ldap']['fields'] = array(
          "name" => "cn",
          "email" => "mail",
          "location" => "department",
          "phone" => "ipPhone",
          "realname" => "cn");
------------------------------------
The error when i put glpi/glpi :
-----------------------------------
Warning: ldap_bind(): Unable to bind to server: Invalid credentials in
/var/www/glpi/glpi/setup/classes.php on line 90
Warning: session_start(): Cannot send session cookie - headers already
sent by (output started at /var/www/glpi/glpi/setup/classes.php:90) in
/var/www/glpi/glpi/common/classes.php on line 280
Warning: session_start(): Cannot send session cache limiter - headers
already sent (output started at /var/www/glpi/glpi/setup/classes.php:90)
in /var/www/glpi/glpi/common/classes.php on line 280
Warning: Cannot modify header information - headers already sent by
(output started at /var/www/glpi/glpi/setup/classes.php:90) in
/var/www/glpi/login.php on line 129
---------------------------------

And when i put glpi without password it work fine without any error.

thanks

-----Message d'origine-----
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part
de [EMAIL PROTECTED]
Envoyé : mercredi 21 juillet 2004 16:36
À : [email protected]
Objet : Re: [Glpi-user] ldap

Mandi! Davy MOREL
  In chel di` si favelave...

> So, now i can access glpi with any login, but with blank password. I

;) This is a bug or a feature? ;)))

[i think a bug, probably i've forgot to add some check to prevent empty
password... code have to be revised. ;]


> really amazing. But if i put a password i get the error. I think i'm 
> near the goal.

...can you send here your ldap configuration and the detailed error?
Many thanks.

-- 
dott. Marco Gaiarin                                 GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''                http://www.sv.lnf.it/
  Polo FVG  -  Via della Bontà, 7 - 33078  -  San Vito al Tagliamento (PN)
  gaio(at)sv.lnf.it             tel +39-0434-842711    fax +39-0434-842797

    ... votantoniovotantoniovotantoniovotantoniovotantoniovotantonio ...
             resistenza arcobaleno contro la politica grigia

                    http://www.peacelink.it/votantonio

_______________________________________________
Glpi-user mailing list
[email protected]
https://mail.gna.org/listinfo/glpi-user

Reply via email to