bugPhamm (PHP LDAP Virtual Hosting Manager) - Bugs: bug #17895, encrypted password strings created...

 
 

bug #17895: encrypted password strings created with phamm do not match with same password created with slappasswd

Submitted by:  None
Submitted on:  Sun 01 Oct 2006 10:07:59 PM UTC  
 
Category: frameworkSeverity: 3 - Normal
Item Group: version 0.4.XStatus: Fixed
Privacy: PublicAssigned to: Alessandro De Zorzi <lotabi>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 26 Apr 2008 11:46:13 AM UTC, comment #2:

Thanks for the report.

md5 hash function fixed in 0.5.10 20080206
crypt functions seems do not have problem at this time.

Alessandro De Zorzi <lotabi>
Project AdministratorIn charge of this item.
Sun 30 Sep 2007 01:56:18 PM UTC, comment #1:

I working around pla code, the phamm function password_hash() take original code from pla project as you can see in source code below.

Your test is

A- "pla on solaris" vs "phamm on solaris"

or

B- "pla on solaris" vs "phamm on x86" || "pla on x86" vs "phamm on solaris"?

Alessandro

/**

  • Hashes a password and returns the hash based on the specified enc_type.

*

  • Original function from phpLDAPadmin project.

*

  • @author The phpLDAPadmin development team

*

  • @param string $password_clear The password to hash in clear text.
  • @constant string $enc_type Standard LDAP encryption type which must be one of
  • crypt, md5 or clear.
  • @return string The hashed password.

*/

Alessandro De Zorzi <lotabi>
Project AdministratorIn charge of this item.
Sun 01 Oct 2006 10:07:59 PM UTC, original submission:

the hash, crypt and md5 passwords strings generated with phamm are not identical with the same password strings created with slappasswd

This bug ocurs on Solaris 10 with courier-authlib-0.58.
This bug is reproduceable.
It looks like the php encryption functions are incompatible with the standard Solaris encryption algorithm's

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by lotabi (Updated the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 26 Apr 2008 11:46:13 AM UTClotabiStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Sat 01 Sep 2007 06:29:52 PM UTClotabiAssigned toNone=>lotabi

    Back to the top


    Powered by Savane 3.1-cleanup1