Hi,
this patch should fix trac ticket #819. If we fail to parse the netgroup
entry returned from the LDAP server the netgroup hash entry is never set
to be ready and any following request will wait until the client timeout
is over.
While testing this I found that our current caching of non-existing (or
broken) netgroups will lead to the following behaviour:
$ getent netgroup unknown_netgroup
$ getent netgroup unknown_netgroup
unknown_netgroup
The first request returns nothing because the netgroup does not exists.
But the second request returns an empty netgroup because we have stored
it in the in-memory cache as an empty netgroup.
I'm not sure if this is only irritating or a real bug. I have opendd
ticket #820 to track this.
bye,
Sumit
Show replies by date