Re: Dovecot bsdauth(user): unknown user

2014-03-11 Thread Атанас Владимиров
Oof. I didn't notice this earlier, but you're running -current, and this has seen some changes in the last week. You might want to take a look at this thread: http://marc.info/?t=13910782254r=1w=2 I don't have an easy way to test (not running -current or using passwd/bsdauth), and it's not

Re: Dovecot bsdauth(user): unknown user

2014-03-10 Thread Атанас Владимиров
# pwd_mkdb usage: pwd_mkdb [-c] [-p | -s] [-d directory] [-u username] file # pwd_mkdb -c /etc/master.passwd # It seems that everything is OK, isn't it?. Did the problems with unknown user persist afterward? Yes, the problem persist. $ sudo doveadm auth test vlado Password: passdb: vlado

Re: Dovecot bsdauth(user): unknown user

2014-03-10 Thread Matthew Weigel
On 03/10/2014 02:57 AM, Атанас Владимиров wrote: Yes, the problem persist. Oof. I didn't notice this earlier, but you're running -current, and this has seen some changes in the last week. You might want to take a look at this thread: http://marc.info/?t=13910782254r=1w=2 I don't

Re: Dovecot bsdauth(user): unknown user

2014-03-09 Thread Alexander Hall
On 03/08/14 23:30, Атанас Владимиров wrote: Hi, I have a very strange problem with one user. After upgrade from home made release today dovecot stoped authenticating my account. Root and other accounts are working well. I also made two new accounts which worked as they should. It seems that for

Re: Dovecot bsdauth(user): unknown user

2014-03-09 Thread Атанас Владимиров
No, they had default login class. I'm still trying to find out some pattern when and why this behavior occurs. When I create new account with `useradd accountname` then set a password with `passwd accountname` and then `doveadm auth test accountname`, everything seems good. Then `usermod -L

Re: Dovecot bsdauth(user): unknown user

2014-03-09 Thread Matthew Weigel
On 03/09/2014 12:47 PM, Атанас Владимиров wrote: No, they had default login class. I'm still trying to find out some pattern when and why this behavior occurs. When I create new account with `useradd accountname` then set a password with `passwd accountname` and then `doveadm auth test

Re: Dovecot bsdauth(user): unknown user

2014-03-09 Thread Атанас Владимиров
What happens if you just run pwd_mkdb -c /etc/master.passwd as root? What about just pwd_mkdb? It looks like the error you're seeing in the log (bsdauth(vlado): unknown user...) comes down to a failure in getpwent_r(), and would be causing problems before the user's login class is relevant. #

Re: Dovecot bsdauth(user): unknown user

2014-03-09 Thread Matthew Weigel
On 03/09/2014 03:25 PM, Атанас Владимиров wrote: What happens if you just run pwd_mkdb -c /etc/master.passwd as root? What about just pwd_mkdb? It looks like the error you're seeing in the log (bsdauth(vlado): unknown user...) comes down to a failure in getpwent_r(), and would be causing

Dovecot bsdauth(user): unknown user

2014-03-08 Thread Атанас Владимиров
Hi, I have a very strange problem with one user. After upgrade from home made release today dovecot stoped authenticating my account. Root and other accounts are working well. I also made two new accounts which worked as they should. It seems that for dovecot my account (vlado) not exists. Thanks