cron aborts when nss_ldap is enabled
jbruni at me.com
jbruni at me.com
Tue Jul 15 23:06:01 UTC 2008
This bug involves cron and nss_ldap. I'm not sure whether this report should go to the port maintainer of nss_ldap or this list. I'm posting here because it's only cron that seems to have a problem.
After setting up my system (FreeBSD 7.0-p3) to use an LDAP server for authentication, I noticed that cron started to coredump. I examined the core file and it appears that cron is calling abort() because it doesn't like some result from nss_ldap.
My /etc/nsswitch.conf originally had "ldap" before "files" on the group and passwd databases, but after reversing them (files before ldap), the crashing stopped and cron started working again.
I don't know what cron was trying to find in LDAP but it aborted before allowing the search to continue in FILES.
Oddly, everything else that uses pam_ldap and nss_ldap seems to work okay, only cron was crashing.
More information about the freebsd-bugs
mailing list