[SSSD] [PATCH] Don't use negative cache in netgroup lookup

Stephen Gallagher sgallagh at redhat.com
Wed Apr 20 15:04:23 UTC 2011


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Do-not-throw-an-error-on-netgroup-not-found.patch
Type: text/x-patch
Size: 1206 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20110420/62e30145/attachment.bin>
-------------- 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/20110420/62e30145/attachment.sig>


More information about the sssd-devel mailing list