[CentOS] LDAP / NSCD shadow caching problem

Thu Jul 15 20:27:22 UTC 2010
Alexander Dalloz <ad+lists at uni-x.org>

Am 15.07.2010 22:16, schrieb Brian Marshall:
> On Jul 15, 2010, at 2:12 PM, Alexander Dalloz wrote:
>> Am 15.07.2010 19:26, schrieb Brian Marshall:
>>> Then am I misinterpreting the fact that getent shadow returns data on ldap users when ldap is up but not when it's down? I guess I don't understand where that shadow data comes from when LDAP is up.
>> /etc/nsswitch.conf
>> Alexander

> Hi Alexander,
> Thanks for your response but /etc/nsswitch.conf does not contain any passwd, group or shadow data. It is a configuration file and is not used to cache or store data.

Sure, but it that configuration file tells the nss where to look for
requested information in which order. I.e. where to find shadow
information. If you don't configure ldap there you won't get ldap
results using your getent command.