nss_ldap and cron
Jean-Baptiste Quenot
jb.quenot at caraldi.com
Sun Sep 21 03:01:48 PDT 2003
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/
More information about the freebsd-ports
mailing list