[phpldapadmin] [ phpldapadmin-Bugs-3392644 ] Cannot authenticate if password starts or ends with spaces

SourceForge.net <[email protected]> Thu, 06 Oct 2011 10:41:24 +1100
Newsgroups gmane.comp.ldap.davedap
Message-ID <[email protected]>
Bugs item #3392644, was opened at 2011-08-17 04:52
Message generated for change (Comment added) made by wurley
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498546&aid=3392644&group_id=61828

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: 1.2.x
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Luiz Angelo Daros de Luca (luizluca)
Assigned to: Nobody/Anonymous (nobody)
Summary: Cannot authenticate if password starts or ends with spaces

Initial Comment:
Hello,

A password like "12345678 " cannot be authenticated in phpldapadmin. All fields get trimmed (including password).
Please, remove all references of trim in functions get_request and blowfish_decrypt (and maybe blowfish_encrypt).
The first function removes the space when it is reading the fields. The last one is used to retrieve the encrypted password from session (even on the first bind login)

Thanks,

----------------------------------------------------------------------

>Comment By: Deon George (wurley)
Date: 2011-10-06 10:41

Message:
Thanks for the bug report - this should be fixed by commit #4089ffa

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498546&aid=3392644&group_id=61828

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
______________________________________
phpLDAPadmin development mailing list.
To unsbuscribe: https://lists.sourceforge.net/lists/listinfo/phpldapadmin-devel
http://phpldapadmin.sourceforge.net/