Hi! I'm trying to use MD5 hashed password in a passwd-file (not the system one). I've set auth_userdb = passwd-file /my/passwd/file auth_passdb = passwd-file /my/passwd/file auth.txt additionally describes a syntax like: auth_userdb = passwd-file[34] /my/passwd/file to denote MD5 passwords in the file, but I've been unable to get any combination of using []'s after passwd-file to work. Dovecot complains: "Unknown userdb type". How is it best to store passwords in a passwd-file using Dovecot 0.99.10.7? Ideally I want to use PHP to generate the passwords being entered into the file. Thanks for any pointers! Andrew
Andrew Boothman wrote:> How is it best to store passwords in a passwd-file using Dovecot > 0.99.10.7? Ideally I want to use PHP to generate the passwords being > entered into the file.No matter! I've got it working with the default CRYPT scheme. :) Andrew
On Sun, Jul 25, 2004 at 01:34:24AM +0100, Andrew Boothman wrote:> auth.txt additionally describes a syntax like: > > auth_userdb = passwd-file[34] /my/passwd/file > > to denote MD5 passwords in the file, but I've been unable to get any > combination of using []'s after passwd-file to work. Dovecot complains: > "Unknown userdb type".You should just be able to use passwords of the form $1$mysalt$digest and dovecot will recognise it as an MD5 password. - J -- Joshua Goodall "as modern as tomorrow afternoon" joshua at roughtrade.net - FW109 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available URL: <http://dovecot.org/pipermail/dovecot/attachments/20040725/48f3b7c7/attachment-0001.bin>