20 Feb
2009
20 Feb
'09
11:38 p.m.
On Thu, 2009-02-19 at 13:59 -0300, Miguel Di Ciurcio Filho wrote:
But I suspect that dovecot should not be opening sessions, because there is no session=yes on my passdb configuration.
Why do you think it is opening sessions?
/* -session for backwards compatibility */ if (strcmp(t_args[i], "-session") == 0 || strcmp(t_args[i], "session=yes") == 0) module->pam_session = TRUE;
It seams to me that the session is going to be opened anyway, since pam_session is always TRUE.
Why? That code sets it to TRUE only when -session or session=yes parameter is seen.