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 accountname`, everything seems good. Then `usermod -L
> default accountname` and doveadm auth failed. When I created new account
> with adduser - doveadm failed.
> An old account on the system works fine no matter in which loggin class I
> move it. I tried to move my account to other class without any luck.
> Here is my login.conf. I can provide other info, too. Thanks for your time.

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.
-- 
 Matthew Weigel
 hacker
 unique & idempot . ent

Reply via email to