At Tuesday, 12-08-2014 on 12:23 Jon Hulatt wrote:
Hi,
Not sure if this is a PBKAC or not:-
root@ds3:/usr/share/postfixadmin# doveadm pw -s SHA512-CRYPT -p password {SHA512-CRYPT}$6$aUgGXP0UshkMj7hY$9JV4yMRsjIe/98CzmglYrMjf.9NJ.FXzxcLE9B0v3doCRUWo2wRncc6hg6VCs0DCUHQbeC/bRDZdGCge/nB/h/
root@ds3:/usr/share/postfixadmin# doveadm pw -t {SHA512-CRYPT}$6$aUgGXP0UshkMj7hY$9JV4yMRsjIe/98CzmglYrMjf.9NJ.FXzxcLE9B0v3doCRUWo2wRncc6hg6VCs0DCUHQbeC/bRDZdGCge/nB/h/ -p password doveadm(root): Fatal: reverse password verification check failed: Password mismatch
root@ds3:/usr/share/postfixadmin# dovecot --version 2.2.9
It works ok with other schemes that i’ve tried (e.g. SSHA-512).
Is this a bug, or my mistake?
thanks
Jon
The simple answer may be to quote the password.
-bernhard