Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Sep 2003 12:01:50 +0200
From:      Jean-Baptiste Quenot <jb.quenot@caraldi.com>
To:        ports@FreeBSD.org
Subject:   nss_ldap and cron
Message-ID:  <20030921100148.GA19697@watt.intra.caraldi.com>

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



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