While migrating my account to another machine which uses openldap authentication I ran
into the problem that cron were not working on the new machine. A quick look in the
logs revealed the following error:
Aug 11 08:52:00 shell /usr/sbin/cron[82693]: (jnieuwen) ORPHAN (no passwd entry)
Some googling did not give any usefull results, but was quite clear
to me that it had to do with a openldap or pam configuration issue. Taking a quick look
at my /etc/pam.d/cron I noticed that no openldap config was in that file. Hence
I added
account sufficient /usr/local/lib/pam_ldap.so
And after a restart of the cron daemon everything was working again.