From owner-freebsd-bugs@FreeBSD.ORG Tue Jul 15 23:06:01 2008 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C77C1065673 for ; Tue, 15 Jul 2008 23:06:01 +0000 (UTC) (envelope-from jbruni@me.com) Received: from smtpoutw.mac.com (smtpoutw.mac.com [17.250.248.177]) by mx1.freebsd.org (Postfix) with ESMTP id 6112E8FC1B for ; Tue, 15 Jul 2008 23:06:01 +0000 (UTC) (envelope-from jbruni@me.com) Received: from webmail055 (webmail055-s [10.13.128.55]) by smtpoutw.mac.com (Xserve/smtpoutw002/MantshX 4.0) with ESMTP id m6FMmxAM021139 for ; Tue, 15 Jul 2008 15:48:59 -0700 (PDT) Date: Tue, 15 Jul 2008 15:48:59 -0700 From: jbruni@me.com To: freebsd-bugs@freebsd.org Message-ID: <28043905659945153639656588863960172936-Webmail2@me.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Originating-IP: 206.201.174.144 Received: from [206.201.174.144] from webmail.me.com with HTTP; Tue, 15 Jul 2008 15:48:59 -0700 Subject: cron aborts when nss_ldap is enabled X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jul 2008 23:06:01 -0000 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.