Hi,
based on an issue found by Shanks (#757) I had a closer look at some
parts of the enumeration code in the nss responder and found a different
issue (#758) and some non functional code.
0001: should fix #758.
0002: should fix #757. If only the local provider was configured the
code did not return to the main loop during execution and the callback
of the corresponding tevent request was never called.I think this is a
regression from the introduction of the synchronous sysdb interface. To
fix it I added a timer event which just calls *_step() again to make
sure we always return to the main loop at least once. Of someone knows
of a more elegant solution I'm all ears. Btw. the code cries for
refactoring.
0003: the code arround last_user_enum and last_group_enum was not
functional anymore and the enumeration timeout is handled by
*_result_timeout().