[Dovecot] [PATCH] GSSAPI authorization and virtual users

Timo Sirainen tss at iki.fi
Wed Jun 27 12:04:19 EEST 2012


On Tue, 2012-03-06 at 18:12 +0000, Sam Morris wrote:
> On Mon, 2012-03-05 at 20:52 +0200, Timo Sirainen wrote:
> > On 5.3.2012, at 20.45, Sam Morris wrote:
> > 
> > >     3. The credentials lookup triggers an info log message saying that
> > >        credentials for GSSAPI were requested, "but we have only (e.g.)
> > >        MD5-CRYPT". The authplugin doesn't actually want the credential,
> > >        but I think that the only way the authplugin can trigger a
> > >        passdb lookup is by requesting it.
> > 
> > I'll look at the rest more closely later, but this should be an easy fix: request "" instead of "GSSAPI".
> 
> Thanks for pointing that out. Here's a newer version of the patch with
> that change. I also realised that the gss_buffer is not required in the
> code that runs once the passdb lookup is complete, so I removed the code
> that stashes it in struct gssapi_auth_request.

I finally looked into this and did some changes. Does it still work? :)
http://hg.dovecot.org/dovecot-2.2/rev/183adc90781c




More information about the dovecot mailing list