This patch backports commit 6fb75e297bf7fc83e3db1f5ae8560624656ef319 to
the 1.5.x branch. It makes one major change: 1.5.x does not have support
for deref/ASQ searches, so the deref lookup for hostgroups has been
replaced by parallel LDAP "base" searches.
I'm attaching two patches. One is the complete patch to backport, the
other is just an interdiff of the changes from Jan's original patch to
support the parallel lookups.
I'm still in the process of testing this patch, but I wanted to get it
out for review in the meantime.