Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jul 2008 15:48:59 -0700
From:      jbruni@me.com
To:        freebsd-bugs@freebsd.org
Subject:   cron aborts when nss_ldap is enabled
Message-ID:  <28043905659945153639656588863960172936-Webmail2@me.com>

next in thread | raw e-mail | index | archive | help
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.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?28043905659945153639656588863960172936-Webmail2>