From owner-freebsd-ports@FreeBSD.ORG Sun Sep 21 03:01:48 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5117B16A4B3 for ; Sun, 21 Sep 2003 03:01:48 -0700 (PDT) Received: from mail.caraldi.com (caraldi.com [62.212.102.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6873544029 for ; Sun, 21 Sep 2003 03:01:40 -0700 (PDT) (envelope-from jbq@caraldi.com) Received: from watt.intra.caraldi.com (watt.intra.caraldi.com [192.168.100.101]) by mail.caraldi.com (Postfix) with ESMTP id 2C6CE20C6 for ; Sun, 21 Sep 2003 12:01:38 +0200 (CEST) Received: by watt.intra.caraldi.com (Postfix, from userid 1001) id A27B476; Sun, 21 Sep 2003 12:01:50 +0200 (CEST) Date: Sun, 21 Sep 2003 12:01:50 +0200 From: Jean-Baptiste Quenot To: ports@FreeBSD.org Message-ID: <20030921100148.GA19697@watt.intra.caraldi.com> Mail-Followup-To: ports@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.4i Subject: nss_ldap and cron X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Sep 2003 10:01:48 -0000 Hello! Since I have nss_ldap installed, everything works ok except cron for the virtual users. Here is the cron log: Sep 21 10:20:25 watt /usr/sbin/cron[495]: (jbq) ORPHAN (no passwd entry) Sep 21 10:20:25 watt /usr/sbin/cron[495]: NSSWITCH(nss_method_lookup): ldap, passwd, endpwent, not found Sep 21 10:22:00 watt /usr/sbin/cron[883]: (operator) CMD (/usr/libexec/save-entropy) Sep 21 10:22:00 watt cron[883]: NSSWITCH(nss_method_lookup): ldap, group, setgrent, not found Sep 21 10:22:00 watt cron[883]: NSSWITCH(nss_method_lookup): ldap, group, getgrent_r, not found Sep 21 10:22:00 watt cron[883]: NSSWITCH(nss_method_lookup): ldap, group, endgrent, not found Sep 21 10:22:00 watt cron[883]: NSSWITCH(nss_method_lookup): ldap, passwd, endpwent, not found Sep 21 10:25:00 watt /usr/sbin/cron[1003]: (root) CMD (/usr/libexec/atrun) Sep 21 10:25:00 watt cron[1003]: NSSWITCH(nss_method_lookup): ldap, group, setgrent, not found Sep 21 10:25:00 watt cron[1003]: NSSWITCH(nss_method_lookup): ldap, group, getgrent_r, not found Sep 21 10:25:00 watt cron[1003]: NSSWITCH(nss_method_lookup): ldap, group, endgrent, not found Sep 21 10:25:00 watt cron[1003]: NSSWITCH(nss_method_lookup): ldap, passwd, endpwent, not found Cron for root works as before, but cron for LDAP users does not work. If I kill cron as root and lauch again, cron recognizes LDAP user's cron tabs. Any input on this problem? Also, I would like to know what is the status of relocating nss_ldap's config file from /etc/ldap.conf to /usr/local/etc/padl.conf, and pam_ldap as well. Cheers, -- Jean-Baptiste Quenot http://caraldi.com/jbq/