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-07-26 15:15:27

dcalvachecasas
Member
Registered: 2012-07-26
Posts: 1

Problem with encrypted passwords in GLPI

Hello All

After a update from version 0.72X i have a severe problem with the format that glpi stores the passwords.
That version store the password in a MD5 format wich is equal to mysql MD5 function, i mean if a update a password from glpi fronted, that password is the same to one generated by the MD5 function in a SQL statement at the cli.

In the updated version 0.83.31, the password that generated the glpi frontend IS NOT the same string that the one generated by the SQL statement.


I integrate my postfixserver within the passwords of the glpi, i apliead a base64 function to tranlate the old password_md5 record in a form that postfix can understand,  and now al this work is broken. Where can i modify the code to obtain the same passwords as previous version?.



example : old glpi stores the string dcalvache as b27695c6e25f60271ac2d5ef0c8f2abe

and the new version stores the following: 385fd27e513614a605821216b07db5dcf21c0e52


what is happening?


Please i'm deseperated.

Offline

#2 2013-09-07 15:13:20

Himanshu
Member
Registered: 2007-03-06
Posts: 13

Re: Problem with encrypted passwords in GLPI

That is Because it uses SHA1 to Encrypt .

Offline

#3 2013-09-08 18:42:19

JMD
GLPI - Lead
Registered: 2004-09-13
Posts: 9,180
Website

Re: Problem with encrypted passwords in GLPI

Exactly


JMD / Jean-Mathieu Doléans - Glpi-project.org - Association Indepnet
Apportez votre pierre au  projet GLPI   : Soutenir

Offline

Board footer

Powered by FluxBB