[Dovecot] bug: no initgroup() after login (was Re: Dovecot shared mailbox folder problem)

Steffen Kaiser skdovecot at smail.inf.fh-bonn-rhein-sieg.de
Fri Aug 10 16:47:53 EEST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 9 Aug 2007, Timo Sirainen wrote:

> It should be set if you use userdb passwd. For other userdbs you need to
> return it youself. For example with LDAP:
>
> user_attrs = uid=system_user,..etc..

Hmm, that's a bummer! It works with this setting.

I had an uid=user setting in the LDAP config (copied from passdb, I 
guess), but no definition of system_user, because I implied this - my 
users are real users, hence, I didn't assumed that I need another setting, 
from the Wiki:

http://wiki.dovecot.org/UserDatabase

"uid: User's UID (UNIX user ID)"

I sort of implied from this text, that uid is what Dovecot calls 
system_user, which I thought useful for virtual users only.

> What about the other part of the patch, is it needed if system_user is
> set?

It just displays the groups of the process for debugging purposes.

Bye,

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQEVAwUBRrxskC9SORjhbDpvAQIq2QgAsiaMFxywzsqnf0JJM5Ya9cQG/Dj9p0yT
Y2G8nKj8nbdlwYlVcr3oGcPLcmNtbkPHfU29+xepc2c/N6UW9AUm+xx7IYRdfzH4
mzplfXGFRsIwNI1MFr1u3tUWRaARVz+yHqCV5eOpz47D7pIS460aj8ujBkINEcs5
YixMhDUVN6W+Z5NJd2JqwJjvHOwdgjlKYF6ID5Y39vOod3hfcx7+ZaSrDzxsBpDI
T35GsjD9jLr7vb7/FzhF3zZ00rsTBqNBScidwNkppaPjmG/LVJC+U9oMfIHcIpKz
bHUoK5z6BeyAwMqOIvf1S5mZskaCYUdkGxrGfbVR6q4yI0Ol+S7gqg==
=4o+a
-----END PGP SIGNATURE-----


More information about the dovecot mailing list