Resolves:
https://bugzilla.redhat.com/show_bug.cgi?id=600352
The openldap libraries fail to parse a search filter that is wrapped
with an extra set of quotes:
((&(uidNumber>=1000)(uidNumber<=2000)))
Internally, we were always wrapping the filter in parentheses (for
safety, I thought), but this causes filters that are wrapped thusly in
the sssd.conf to fail.
This patch detects whether the supplied filter begins with a parenthesis
and omits adding the additional set.
--
Stephen Gallagher
RHCE 804006346421761
Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/