After the recent discussion of nscd here, I turned it on and after
fooling with various configuration files I think I have it up, but I'm
getting a warning(?) message from many programs when they call
_nsdispatch:

dbus[3037]: NSSWITCH(_nsdispatch): cache, passwd_compat, getpwnam_r, not
found, and no fallback provided
dbus[3037]: NSSWITCH(_nsdispatch): cache, passwd_compat, getpwnam_r, not
found, and no fallback provided

I am using passwd_compat, and I think I have nscd compiled to cahce it
and passwd, but the message gives me pause.  Everything is still
resolving, but I'm wondering if I'm getting any benefit. 

I tried running nscd with debugging messages (-t -s -d) and didn't see
anything change when another program generated the message.

I've attached my /etc/nsswitch.conf and /etc/nscd.conf

Any feedback would be great.


-- 
Ted Faber
http://www.isi.edu/~faber           PGP: http://www.isi.edu/~faber/pubkeys.asc
Unexpected attachment on this mail? See http://www.isi.edu/~faber/FAQ.html#SIG
#
# nsswitch.conf(5) - name service switch configuration file
# $FreeBSD: src/etc/nsswitch.conf,v 1.1.10.1 2009/08/03 08:13:06 kensmith Exp $
#
group: compat
group_compat: cache nis
hosts: files dns
networks: files
passwd: compat
passwd_compat: cache nis
shells: files
services: compat
services_compat: cache nis
protocols: files
rpc: files
#
# Default caching daemon configuration file
# $FreeBSD: src/etc/nscd.conf,v 1.2.4.1 2009/08/03 08:13:06 kensmith Exp $
#

enable-cache passwd yes
enable-cache passwd_compat yes
enable-cache group yes
enable-cache group_compat yes
enable-cache hosts yes
enable-cache services yes
enable-cache services_compat yes
enable-cache protocols yes
enable-cache rpc yes
enable-cache networks yes

Attachment: pgpQGcbEVyAVh.pgp
Description: PGP signature

Reply via email to