Answering myself it may be related to
http://lists.freebsd.org/pipermail/freebsd-ports-bugs/2006-April/086659.html

I'm using openldap-server-2.3.24 and nss_ldap-1.250.

My /var/log/debug.log was full of:
Jul 22 20:34:04 castor sm-mta[58735]: NSSWITCH(nss_method_lookup): ldap, passwd, endpwent, not found
Jul 22 20:34:04 castor last message repeated 3 times
Jul 22 20:34:04 castor sm-msp-queue[58736]: NSSWITCH(nss_method_lookup): ldap, passwd, endpwent, not found Jul 22 20:34:04 castor sm-msp-queue[58736]: NSSWITCH(nss_method_lookup): ldap, passwd, endpwent, not found Jul 22 20:35:00 castor cron[58738]: NSSWITCH(nss_method_lookup): ldap, group, setgrent, not found Jul 22 20:35:00 castor cron[58738]: NSSWITCH(nss_method_lookup): ldap, group, getgrent_r, not found Jul 22 20:35:00 castor cron[58738]: NSSWITCH(nss_method_lookup): ldap, group, endgrent, not found Jul 22 20:35:00 castor cron[58738]: NSSWITCH(nss_method_lookup): ldap, passwd, endpwent, not found

I rebooted the machine and now everything seems to work fine.
When I put "14 8 * * * root echo test" in /etc/crontab
a mail is now sent as expected.

Any idea why a reboot seems to have solved the problem?

Thierry.


_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to