Re: [Dovecot] Director and CRAM-MD5

2010-10-20 Thread Timo Sirainen
On Sun, 2010-10-17 at 21:49 +0200, Martin Spuetz wrote: > I copied the argument "parser" from passdb-static.c and created a patch. > It works with plain and cram-md5 auth. > > Would it be possible to commit this to svn? I think that code has had enough copy&pasting already. It should be moved to

Re: [Dovecot] Director and CRAM-MD5

2010-10-17 Thread Martin Spuetz
Hello Timo, On 16.10.2010 12:45, Timo Sirainen wrote: >> I digged into the dovecot code and I'm asking you whether this would do >> the job for vpopmail? [snip] > Works, I guess, but I'd still rather put it after the password has been > verified correct (just before the last callback() call).

Re: [Dovecot] Director and CRAM-MD5

2010-10-16 Thread Timo Sirainen
On 16.10.2010, at 9.11, Martin Spuetz wrote: >> Oh, and if you want to make director do the authentication directly, you >> can't currently use passdb vpopmail, because you can't add the proxy=y >> setting to it. Are your users in SQL? You could use passdb sql directly >> then. > > I got it worki

Re: [Dovecot] Director and CRAM-MD5

2010-10-16 Thread Martin Spuetz
Hello Timo, thanks for your answer. On 14.10.2010 17:40, Timo Sirainen wrote: >> It seems that the director is only working, if I use the static >> passdb?! >> >> How can I use the director with other passdb drivers than the static >> one? > > Oh, and if you want to make director do the authenti

Re: [Dovecot] Director and CRAM-MD5

2010-10-14 Thread Timo Sirainen
On Wed, 2010-10-13 at 10:53 +0200, Martin Spuetz wrote: > > backend config: > > passdb { > > driver = vpopmail > > args = > > } > > > > userdb { > > driver = vpopmail > > } > > It seems that the director is only working, if I use the static > passdb?! > > How can I use the director with o

Re: [Dovecot] Director and CRAM-MD5

2010-10-14 Thread Timo Sirainen
On Wed, 2010-10-13 at 10:53 +0200, Martin Spuetz wrote: > i have a setup with two director servers pointing to two backends. I > don't care that much for load balancing, my main goal is high availability. > > CRAM-MD5 auth is working fine if I connect directly to the backends, but > the director

[Dovecot] Director and CRAM-MD5

2010-10-13 Thread Martin Spuetz
Hello, i have a setup with two director servers pointing to two backends. I don't care that much for load balancing, my main goal is high availability. CRAM-MD5 auth is working fine if I connect directly to the backends, but the director only supports AUTH=PLAIN because of the static passdb. dir