8 Dec
2011
8 Dec
'11
7:06 a.m.
On Wed, 2011-12-07 at 21:57 +0200, Selcuk Yazar wrote:
Hi,
I have Postfix + OpenLdap + DoveCot configuration, and it's running succesfuly,
i wantto convert users pop3 password NTPassword and LMPassword, so i ne plain passwor dof users,
how can i do that. (Normaly using perl's ntlmgen function i convert password , but in plain)
You need to enable userdb prefetch and make it work: http://wiki2.dovecot.org/UserDatabase/Prefetch
Once you can successfully log in with userdb prefetch enabled, add another field to pass_attrs:
pass_attrs = ..., =userdb_plaintext_pass=%w
- Now in your post-login script you should have PLAINTEXT_PASS environment containing the password.