[Dovecot] Virtual Users, PAM authentication, MySql backend
Hi,
I'm sorry if this is a silly question, but i know that is not possible in Courier, so, I need to check if I can do it with Dovecot.
Can I use PAM authentication, witch get the users data from a external database (like mysql)? I've found many ways to do this stuff disconnectedly (like pam authentication with passwd ), but i can put all together? I can't use the passwd...
Thank's,
Álvaro
On 30.11.2010, at 12.30, Álvaro Leão wrote:
Can I use PAM authentication, witch get the users data from a external database (like mysql)? I've found many ways to do this stuff disconnectedly (like pam authentication with passwd ), but i can put all together? I can't use the passwd...
So I guess you mean something like (v1.x configuration):
passdb pam { } userdb sql { args = /etc/dovecot/dovecot-sql.conf }
thank's again Timo...
with this example, and the correct pam,d/dovecot (with the mysql acess), i'll just use the mysql to authenticate, using the pam module to acess the user/password, right?
Álvaro César Leão Teixeira
2010/11/30 Timo Sirainen tss@iki.fi
On 30.11.2010, at 12.30, Álvaro Leão wrote:
Can I use PAM authentication, witch get the users data from a external database (like mysql)? I've found many ways to do this stuff disconnectedly (like pam authentication with passwd ), but i can put all together? I can't use the passwd...
So I guess you mean something like (v1.x configuration):
passdb pam { } userdb sql { args = /etc/dovecot/dovecot-sql.conf }
On Tue, 2010-11-30 at 14:13 -0200, Álvaro Leão wrote:
with this example, and the correct pam,d/dovecot (with the mysql acess), i'll just use the mysql to authenticate, using the pam module to acess the user/password, right?
Why be concerned about needing to use PAM? It is evil, it is why some distros do not include/use it, you're better of using MySQL for all and be done with it, at least if something fails you don't have many places to look, only one.
i agree with you...but it's my boss order.. :( and...he is the boss
Álvaro César Leão Teixeira
2010/11/30 Noel Butler noel.butler@ausics.net
On Tue, 2010-11-30 at 14:13 -0200, Álvaro Leão wrote:
with this example, and the correct pam,d/dovecot (with the mysql acess), i'll just use the mysql to authenticate, using the pam module to acess the user/password, right?
Why be concerned about needing to use PAM? It is evil, it is why some distros do not include/use it, you're better of using MySQL for all and be done with it, at least if something fails you don't have many places to look, only one.
participants (3)
-
Noel Butler
-
Timo Sirainen
-
Álvaro Leão