Loop control variable was not being incremented.
I also converted a goto loop into a do...while loop to make it
easier to follow the logic.
This should fix
https://fedorahosted.org/sssd/ticket/211
I tested with a single LOCAL domain, specified as in the ticket, and
also with a second, LDAP domain to verify that groups were still
enumerated for further domains.
--
Stephen Gallagher
RHCE 804006346421761
Looking to carve out IT costs?
www.redhat.com/carveoutcosts/