How to get the clear User Password ?

Hello,

 

i have installed Dolphin 7.3.3 and a mailserver whit Dovecot, Postfix and Roundcube.

Now i want to create an e-Mail Account for each member from the Dophin installation.

For that i need the Userpassword in Cleartext to change it to the Dovecote Passworthash.

 

The conversation from Plaintextpasswort to the Dovecothash works whit this:

 

$password = "PlainTextPassword";
$salt = substr(sha1(rand()), 0, 16);
$hashedPassword = "{SHA512-CRYPT}" . crypt($password, "$6$$salt");
Quote · 7 Nov 2016

ok, thanks for "Help" .

 

If somone need this.

1. In /inc/admin.inc.php serch for the Function "check_password".

In this function you will find "$sPassword".

 

If you need the Clear User password, then you can save This to a Database or a File.

 

If the User logs in, his Password will be Saved al Clear Password.

 

I Use this to craete an Email-Account.

IMPORTANT:

Du not Save the User Passwords in cleartext. I converted it to the Passwordsheme which Dovcote need.

I Dont save the Cleer password longer as a second.

Quote · 12 Nov 2016
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.