Felix Schwarz skrev, on 30-09-2007 11:44:
> I'd like to use nscd for passwd+group caching. pam_ldap is configured
> and works
> (e.g. 'id foo' returns the correct user id if foo is present in ldap).
>
> If I start nscd manually (not started by default), 'id foo' returns 'No
> such
> user'. As soon as I stop nscd, 'id foo' starts working again. I suspect
> nscd is
> only looking at /etc/passwd because 'id root' always works (root is
> present in
> /etc/passwd).
>
> This is on a CentOS 5 system. Disabling SELinux did not help.
>
> I did not attach any config files purposefully because I don't know
> where to
> look for the problem and attaching nsswitch.conf, ldap.conf etc. would
> result in
> a huge post. Nevertheless, I will consider any information needed to
> diagnose
> the problem although I suspect that this a very simple configuration
> problem.
>
> Thank you very much :-)
All I can say that is, on my Red Hat RHL5 /Fedora FC6 systems nscd has
always been (since RH 7.2) an utter PITA and I avoid it as the pest. My
systems (even the oldest) are otherwise (Unix sockets) configured to be
far and away fast enough to work without it.
--Tonni
--
Tony Earnshaw
Email: tonni at hetnet dot nl