nscd perform-actual-lookups not working
Andri Piik
andri.piik at gmail.com
Fri Aug 6 23:17:44 UTC 2010
Hi,
Has anyone tried to use nss_ldap and nscd with perform-actual-lookups in
nscd.conf? My problem is that when I try to getent passwd or getent group
it seems like ldap query is not made and getent does not return ldap
users. Without nscd cache in nsswitch.conf or disabling
perform-actual-lookups everything works fine.
My configuration is following -
uname FreeBSD 8.1-RELEASE FreeBSD 8.1-RELEASE #0:
root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
#
# nsswitch.conf(5) - name service switch configuration file
# $FreeBSD: src/etc/nsswitch.conf,v 1.1.10.1.4.1 2010/06/14 02:09:06
kensmith Exp $
#
group: files cache ldap
group_compat: nis
hosts: files dns
networks: files
passwd: files cache ldap
passwd_compat: nis
shells: files
services: compat
services_compat: nis
protocols: files
rpc: files
#
# Default caching daemon configuration file
# $FreeBSD: src/etc/nscd.conf,v 1.2.4.1.4.1 2010/06/14 02:09:06 kensmith
Exp $
#
enable-cache passwd yes
perform-actual-lookups passwd yes
enable-cache group yes
perform-actual-lookups group yes
#enable-cache hosts yes
#enable-cache services no
#perform-actual-lookups services yes
#enable-cache protocols yes
#enable-cache rpc yes
#enable-cache networks yes
Running nscd -nst outputs message when querying passwd.
E3 from on_mp_read_session_response_write1: write failed
Thanks in advance
Andri Piik
More information about the freebsd-questions
mailing list