On Mon, Jan 10, 2005 at 11:14:23PM +0100, Kyrre Ness Sjobak wrote:
I have also seen problems with nscd. On a stable FC3 machine with LDAP auth., it refused to login a user when nscd was turned on, it said the user didn't exist. UID#->username mapping worked, though.
Stopping nscd allowed the user to login instantaniously.
Using LDAP auth
Possibly related is what I saw a while back, there was a local user and a NIS+ user with different uid etc. nsswitch.conf had passwd: files nisplus yet it used the nis+ user until nscd was stopped. clearing up the nscd caches ( rm -f /var/db/nscd/* ) made it work again even with nscd running.
Didn't get around to filing a bug, especially since the nis+ is "somewhat" custom, but nscd invalidating its caches on startup (either rm or nscd -i) might be a good idea nevertheless? Apart from that there still might be something funny in nscd that makes it lose information in the cache?