Mail proxy module - http auth - BUG : bad Auth-Method returned

Igor Sysoev is at rambler-co.ru
Fri Apr 24 14:08:19 MSD 2009


On Fri, Apr 24, 2009 at 12:27:53PM +0400, Maxim Dounin wrote:

> Hello!
> 
> On Fri, Apr 24, 2009 at 10:06:44AM +0200, Simon L??caille wrote:
> 
> > When authenticate mechanism such as apop or cram-md5 are used, the  
> > Auth-Method header sent to backend mismatch the auth method used.
> 
> [...]
> 
> > Actually the array ngx_mail_auth_http_method[] contained less values  
> > than it should.
> > So the index pointed to the wrong string when the auth_method attribute  
> > is used is several structures.
> > One occurrence of "plain" was missing.
> 
> Yes, thank you.
> 
> To Igor: one more correct aproach would be to move 
> NGX_MAIL_AUTH_LOGIN_USERNAME to the last, as it was originally in 
> my patch.

But in in this case the "Auth-Method" for NGX_MAIL_AUTH_LOGIN_USERNAME will
be empty, is not it ?


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list