[SSSD] [PATCH] Fix proxy enumerations with newer tevent

Simo Sorce ssorce at redhat.com
Wed Sep 2 13:16:41 UTC 2009


On Wed, 2009-09-02 at 09:07 -0400, Simo Sorce wrote:
> On Wed, 2009-09-02 at 14:53 +0200, Sumit Bose wrote:
> > On Tue, Sep 01, 2009 at 04:36:26PM -0400, Simo Sorce wrote:
> > > newer tevent versions (correctly) fail if loops are nested.
> > > fix the code to never nest loops.
> > > 
> > > Simo.
> > > 
> > 
> > If during a enumeration an uid/gid is found which is not in the range,
> > the whole transaction is canceled and nothing is cached. Is this
> > expected?
> 
> No it's not, I'll check how to handle that.

Ok I have fixed it by ignoring errors on the save operation.
I also found a copy&paste error where we were calling enum_users_process
from enum_groups_process

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-proxy-enumeration.patch
Type: text/x-patch
Size: 10470 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20090902/2da58fad/attachment.bin>


More information about the sssd-devel mailing list