Re: Problem with change password

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alexandros G. Fragkiadakis wrote:
> Tomas Kuliavas wrote:
>> Alexandros G. Fragkiadakis wrote:
>>> Hi,
>>>
>>> There is a weird problem with change password and squirrelmail 1.5.1.
>>> All passwords are stored in LDAP and they are sha-encoded.
>>>
>>> For example:{SHA}cRDtpNCeBiql5KOQsKVyrA0sAiA=
>>>
>>> The problem is that when some of the users are trying to change their 
>>> password, SM says: "Your old password is not correct".
>>>
>>> But, definately the password is correct! I've tried to change it using 
>>> Horde and there are no problems at all.
>>>
>>>
>>> Another strange thing is that SM has no problem with other users' 
>>> passwords that are also sha-encoded.
>>>
>>> Any ideas?
>>>
>> Why are you using change_ldappass plugin, when SquirrelMail 1.5.1 provides
>> change_password plugin?
>>
>> Are you using $ldap_bind_as_manager option in change_ldappass plugin? Could
>> you show sha password entry that is not validated correctly? I also need to
>> know password value used for verification. Plain text value of sha encoded
>> password.
>>
> 
> I'm not using the $ldap_bind_as_manager option.
> 
> A password value that cannot be verified is: 1234
> Its sha value is: {SHA}cRDtpNCeBiql5KOQsKVyrA0sAiA=
> 
> Thanks
> 
> 
> 
> 
> 
> 
I suspect the problem is in functions.php. There is the following line:

if ($lpass != $cpass) {


For some reason this fails although the password is correct.

I you think the change_password is better then i'll try to use it.




-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
--
squirrelmail-users mailing list
Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux