[Dovecot] auth-worker always opens PAM session
Timo Sirainen
tss at iki.fi
Sat Feb 21 22:17:43 EET 2009
On Sat, 2009-02-21 at 17:07 -0300, Miguel Di Ciurcio Filho wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Timo Sirainen wrote:
> >
> > Why do you think it is opening sessions?
> >
>
> Dovecot giving this memory errors about being unable to load
> pam_limits.so seamed strange to me.
I think PAM simply loads all modules, whether it actually uses them or
not. Or if not all, then if the limits is listed somewhere it loads it
before knowing if the session is going to be opened or not.
> Sorry for my ignorance, but isn't this code setting pam_session TRUE by
> default? Just a hunch, since it is being set to 1.
..
> unsigned int pam_session:1;
You mean this code? No, that just means it uses 1 bit of memory.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090221/45111fe8/attachment.bin
More information about the dovecot
mailing list