[Dovecot] Passwords in passwd-file
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
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@roughtrade.net - FW109
participants (2)
-
Andrew Boothman
-
Joshua Goodall