Re: [phpldapadmin] PHP LDAP Admin User Help Needed -- LDAP User Password Retrieval

"Masty, Allan F." <[email protected]> Wed, 8 Jun 2011 12:49:30 -0500
Newsgroups gmane.comp.ldap.davedap
Message-ID <7BD5B1C7B7ACA84E88CDBE7EC577B19018E630AE7D@EADC01-MABPRD11.ad.gd-ais.com>
Are there other configuration commands I need to assert to ensure the password is stored in clear text ?
My current requirements are for the password to be stored, displayed, retrieved in clear text.
Later requirements will probably include encrypting it.

We are running  PHP LDAP Admin 1.2.0.4

Thanks

Al

From: Masty, Allan F.
Sent: Friday, June 03, 2011 10:02 AM
To: '[email protected]'
Subject: RE: [phpldapadmin] PHP LDAP Admin User Help Needed -- LDAP User Password Retrieval

Deon,

I located the config.php file and added the following 3 lines to it:

$Config->custom->appearance['show_clear_password'] = true;
$Config->custom->appearance['obfuscate_password_display'] = false;
$servers->setValue('appearance','password_hash','');

But the password (which I specified as CLEAR on the phpldapadmin entry screen) is still being
retrieved as a hashed value consisting of 11 characters beginning with [B@ ............

What am I doing incorrectly ?

Al
From: Deon George [mailto:[email protected]]
Sent: Tuesday, May 24, 2011 6:39 PM
To: [email protected]
Subject: Re: [phpldapadmin] PHP LDAP Admin User Help Needed -- LDAP User Password Retrieval

Allan,

Administrators store LDAP passwords using a format that they want - which can be in clear text (unlikely), or encrypted.

Further LDAP servers can be configured to encrypt a clear text password automatically when storing it.

...deon

On 25/05/11 02:42, Masty, Allan F. wrote:
I am successful in retrieving the username, but the password appears to be encrypted when I retrieve it.

...

Is there any way to retrieve the LDAP password in clear text for comparison and testing of the subsequent Layer 7 policy assertions ?

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev

______________________________________
phpLDAPadmin development mailing list.
To unsbuscribe: https://lists.sourceforge.net/lists/listinfo/phpldapadmin-devel
http://phpldapadmin.sourceforge.net/