[Dovecot] doveadm password check

2013-03-11 Thread Thomas Pries
Hi, I want to write some php code that users can change there dovecot password via a roundcube plugin. I'm using php function crypt(...) to generate the hashes and everything works well so far. I'm using doveadm pw to generate testhashes e.g.: srv:~ # doveadm pw -r 5 -s BLF-CRYPT -p abc

Re: [Dovecot] doveadm password check

2013-03-11 Thread Professa Dementia
On 3/11/2013 12:20 PM, Thomas Pries wrote: Hi, I want to write some php code that users can change there dovecot password via a roundcube plugin. I'm using php function crypt(...) to generate the hashes and everything works well so far. I'm using doveadm pw to generate testhashes e.g.: srv:~

Re: [Dovecot] doveadm password check

2013-03-11 Thread Pascal Volk
On 03/11/2013 08:20 PM Thomas Pries wrote: Hi, I want to write some php code that users can change there dovecot password via a roundcube plugin. I'm using php function crypt(...) to generate the hashes and everything works well so far. I'm using doveadm pw to generate testhashes

Re: [Dovecot] doveadm password check

2013-03-11 Thread Thomas Pries
Hi, On 11.03.2013 22:41, Pascal Volk wrote: On 03/11/2013 08:20 PM Thomas Pries wrote: I expected an ok ... Usage would be: doveadm pw -t '{BLF-CRYPT}$2a$05$W82/Vw4ZEcHBC00M8cNwe.g8fOHuAeV7L5Q/q4W6VWl9V5kjoiz8y' Your shell expands $2a and $05$W8… to empty strings Thanks, sometimes