I found out that the IPA provider segfaults when it receives an
enumeration request. The first patch gets rid of the segfault, but there
would still be an error in the IPA provider is it would expect the
be_req contents to be usable for cache search. The second patch
shortcuts the enumeration request completely.
I even wonder if it was possible to shortcut the enumeration requests
sooner in the Data Provider and avoid sending them to the back ends
completely? Any downsides to this (except a possible 3rd party backend
that might allow an enumeration request on demand) ?
Finally, enumeration with IPA backend and ID views don't work at all,
but I wouldn't waste time with this at the moment -- just make sure that
we don't reqress.