[Dovecot] [PATCH] support master user to login as other users by DIGEST-MD5 SASL proxy authorization

2012-01-14 Thread Yubao Liu
): Disconnected: Logged out bytes=10/377 Regards, Yubao Liu diff -r 8438f66433a6 src/auth/mech-digest-md5.c --- a/src/auth/mech-digest-md5.c Tue Jan 10 00:34:09 2012 +0200 +++ b/src/auth/mech-digest-md5.c Sat Jan 14 21:47:02 2012 +0800 @@ -46,6 +46,7 @@ char *nonce_count; char *qop_value; char

Re: [Dovecot] Strange error: DIGEST-MD5 mechanism can't be supported with given passdbs

2012-01-07 Thread Yubao Liu
Hi Timo, Did you review the patches in previous email? I tested two patches against my configuration(pasted in this thread too), they both work well. I prefer the first patch, but I'm not sure whether it breaks something else. Regards, Yubao Liu On 01/07/2012 11:36 AM, Yubao Liu wrote: On 01

Re: [Dovecot] Strange error: DIGEST-MD5 mechanism can't be supported with given passdbs

2012-01-06 Thread Yubao Liu
On 01/06/2012 06:52 PM, Nick Rosier wrote: Yubao Liu wrote: Hi all, I have no idea about that message, here is my configuration, what's wrong? You have 2 passdb entries; 1 with a file and 1 with pam. I'm pretty sure PAM doesn't support DIGEST-MD5 authentication. Could be the cause

Re: [Dovecot] Strange error: DIGEST-MD5 mechanism can't be supported with given passdbs

2012-01-06 Thread Yubao Liu
On 01/07/2012 12:44 AM, Timo Sirainen wrote: On Sat, 2012-01-07 at 00:15 +0800, Yubao Liu wrote: I don't know why this function doesn't check auth-masterdbs, if I insert these lines after line 128, that error goes away, and dovecot's imap-login process happily does DIGEST-MD5 authentication [1

Re: [Dovecot] Strange error: DIGEST-MD5 mechanism can't be supported with given passdbs

2012-01-06 Thread Yubao Liu
On 01/07/2012 12:44 AM, Timo Sirainen wrote: On Sat, 2012-01-07 at 00:15 +0800, Yubao Liu wrote: I don't know why this function doesn't check auth-masterdbs, if I insert these lines after line 128, that error goes away, and dovecot's imap-login process happily does DIGEST-MD5 authentication [1

Re: [Dovecot] Strange error: DIGEST-MD5 mechanism can't be supported with given passdbs

2012-01-06 Thread Yubao Liu
On 01/07/2012 01:51 AM, Timo Sirainen wrote: On 6.1.2012, at 19.45, Yubao Liu wrote: On 01/07/2012 12:44 AM, Timo Sirainen wrote: On Sat, 2012-01-07 at 00:15 +0800, Yubao Liu wrote: I don't know why this function doesn't check auth-masterdbs, if I insert these lines after line 128, that error

[Dovecot] Strange error: DIGEST-MD5 mechanism can't be supported with given passdbs

2012-01-05 Thread Yubao Liu
mechanism with digest-md5 password scheme for virtual users? Regards, Yubao Liu