Re: [Dovecot] noisy auth-worker messages in logs (dovecot 2.1.8 FreeBSD)

2012-10-02 Thread Timo Sirainen
On 24.9.2012, at 21.41, Philippe Chevalier wrote: > As for the ldap message, it errors if there's no domain in the login. > > In the doc, it says that %d is empty if there's no domain part. So I > guess it's an enhancement request : a configuration option to have it > filled out with a default do

Re: [Dovecot] noisy auth-worker messages in logs (dovecot 2.1.8 FreeBSD)

2012-09-24 Thread Philippe Chevalier
On Mon, Sep 24, 2012 at 05:04:40PM +0200, Philippe Chevalier wrote: I will apply the patch later today and will let you know the result. I applied the patch, and obviously, when getpwnam_r sets the result to NULL and returns EINVAL, dovecot do as if the entry was not found and stays mute. So,

Re: [Dovecot] noisy auth-worker messages in logs (dovecot 2.1.8 FreeBSD)

2012-09-24 Thread Philippe Chevalier
On Mon, Sep 24, 2012 at 05:16:06PM +0300, Timo Sirainen wrote: On 24.9.2012, at 16.48, Philippe Chevalier wrote: dovecot: auth-worker(99126): Error: passwd(x...@domain.org,12.34.254.255): getpwnam() failed: Invalid argument I guess it's because the login is a full email that getpwnam fails.

Re: [Dovecot] noisy auth-worker messages in logs (dovecot 2.1.8 FreeBSD)

2012-09-24 Thread Timo Sirainen
On 24.9.2012, at 16.48, Philippe Chevalier wrote: > dovecot: auth-worker(99126): Error: passwd(x...@domain.org,12.34.254.255): > getpwnam() failed: Invalid argument > > I guess it's because the login is a full email that getpwnam fails. So if you log in as nonexistent user "foo.bar" it doesn't

[Dovecot] noisy auth-worker messages in logs (dovecot 2.1.8 FreeBSD)

2012-09-24 Thread Philippe Chevalier
Hello, I don't know if it's been addressed before, but anyway : In my dovecot setup, I have local and virtual users. So, I need multiple passdb backends. Namely, passwd for the local users and ldap for the virtual users. passdb { driver = passwd } passdb { args = /usr/local/etc/dovecot/do