[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Sometimes getent missing users



Hi,

I thought so to but even if I turned nscd off I still have the same issue.

[root@xxxx ~]# /etc/init.d/nscd stop
Stopping nscd:                                             [  OK  ]
[root@xxxx ~]# getent passwd | wc -l
1038
[root@xxxx ~]# getent passwd | wc -l
1624
[root@xxxx ~]# getent passwd | wc -l
1038

The longer list of users (1624) only returns 1 time in what it seams at random times.

/Jocke


2010/10/19 Покотиленко Костик <casper@meteor.dp.ua>
В Пнд, 18/10/2010 в 15:18 +0200, Jocke M пишет:
> Hello,
>
> We are running an OpenLDAP server on RHEL4 and I just found out that
> running getent on the RHEL clients sometimes missed users against the
> OpenLDAP server.
>
> Example:
> getent passwd | wc -l
> 1038
>
> getent passwd | wc -l
> 1624
>
> Does anyone know what can be faulty, either on the clients or the
> server?

Probably nscd is running and caching requests for some period.

--
Покотиленко Костик <casper@meteor.dp.ua>




--
Mvh
Jocke