Problem authenticating local users on boxes with winbind

Latest response

Hi all,
thanks in advance for the help.

We have several boxes running winbind to authenticate users against AD, and that is all working fine.
In some cases we would create local accounts and that would also work just fine.
Until today for my surprise, a new added local acount is not able to auth with the following error:

Jul  7 14:59:31 vm-lab-linux-2 sshd[4218]: pam_access(sshd:account): access denied for user `test' from `vm-lab-linux-2.sanidad.msc'
Jul  7 14:59:31 vm-lab-linux-2 sshd[4218]: pam_winbind(sshd:account): valid_user: wbcGetpwnam gave WBC_ERR_DOMAIN_NOT_FOUND
Jul  7 14:59:31 vm-lab-linux-2 sshd[4218]: Failed password for test from port 42530 ssh2
Jul  7 14:59:31 vm-lab-linux-2 sshd[4219]: fatal: Access denied for user test by PAM account configuration

Any idea???


Ok, I managed to get local users authenticating again by commenting out the line:

account required

not sure if this is a good thing thouhg.

Any thoughts?