[SSSD] [PATCH] Don't use negative cache in netgroup lookup
Stephen Gallagher
sgallagh at redhat.com
Thu Apr 21 11:39:48 UTC 2011
On Thu, 2011-04-21 at 11:32 +0200, Jan Zelený wrote:
> > On Fri, 2011-04-01 at 09:31 +0200, Jan Zelený wrote:
> > > In responder a negative cache is used to indicate that the record has
> > > not been found by previous lookup. This approach is however not
> > > applicable for netgroup lookup because the design of their lookup is a
> > > little different.
> > >
> > > This patch removes some pieces of code working with negative cache,
> > > because they didn't fuction well. Instead a new flag has been added to
> > > the positive cache. This flag indicates if the record in the cache
> > > is a record of existing netgroup or it's just a placeholder.
> > >
> > > https://fedorahosted.org/sssd/ticket/820
> >
> > Nack.
> >
> > This patch throws an error on subsequent cached lookups of the netgroup:
> > "Fatal error calling setnetgrent_send"
> >
> > Find attached a patch to fix this. If you agree, please squash it into
> > your patch and I will ack.
>
> Sqashed patch in attachment. Thanks for your correction.
>
> Jan
Ack.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20110421/21777994/attachment.sig>
More information about the sssd-devel
mailing list