-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 06/04/2010 05:14 PM, Stephen Gallagher wrote:
On 06/04/2010 10:31 AM, Stephen Gallagher wrote:
> 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.
>
Amended patch fixes a warning I introduced by using char * instead of
const char *
Ack
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora -
http://enigmail.mozdev.org/
iEYEARECAAYFAkwMrvsACgkQHsardTLnvCUoOACeOhwreHq/6ajBhC0kxV+X5LO5
4GEAn1Znrdd0DzoT794+KRp9nA0KT/Up
=DiSs
-----END PGP SIGNATURE-----