Hi Timo, thanks for the sugestion. Right now I'm using nscd and that solved the issue. I have to update /etc/nscd.conf like this: enable-cache passwd yes #positive-time-to-live passwd 600 positive-time-to-live passwd 60 negative-time-to-live passwd 20 suggested-size passwd 211 check-files passwd yes #persistent passwd yes #shared passwd yes
But, as you suggest, I think it is better to use ldap directly.
Oliver
Timo Sirainen wrote:
On 3.6.2005, at 23:57, Oliver Schulze L. wrote:
I'm running dovecot-0.99.11-2.EL4.1 in RHEL4 and a couple of hours ago, I could not longer login in the imap or pop3 service.
I noted that I have a process like this: root 8130 0.0 0.0 0 0 ? Z 16:55 0:00 [dovecot-auth] <defunct>
That's a PAM process that has died, but dovecot-auth process hasn't noticed that it has.
It this ok to have a defunct proccess? I can not kill this process.
It dies when dovecot-auth dies, or acknowledges that it died.
Is there a solution for this? Any hint? I already enabbled the debug of dovecot-auth. I have my user accounts on a local LDAP using nss_ldap.
Maybe configure Dovecot to use LDAP directly? nss_ldap is a *very* bad idea in any case, see:
-- Oliver Schulze L. oliver@samera.com.py