[SSSD] [PATCHES] Sanitize search filters in the sysdb

Stephen Gallagher sgallagh at redhat.com
Fri Oct 29 00:50:37 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This is the first part of a fix for https://fedorahosted.org/sssd/ticket/639

These patches address the various search filters we're using in the
sysdb. Patches for LDAP search filters will be coming later. I wanted to
get these reviewed first.

Patch 0001: Adds a utility function to sanitize search filters using the
method described in RFC 4515. Includes a unit test.

Patch 0002: Sanitize search filters internal to the public sysdb APIs.
Includes unit tests.

Patch 0003: Sanitize sysdb search filters in the IPA provider used with
sysdb_search_custom()

Patch 0004: Sanitize sysdb search filters used when processing nested
groups.

- -- 
Stephen Gallagher
RHCE 804006346421761

Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkzKGl0ACgkQeiVVYja6o6OSLQCeI9d1ITiVS4JcrZesZTXsyTyG
zS0AoIQeKBsatVL4Ed51D2nGwxaT7PVh
=qbgv
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-utility-function-to-sanitize-LDAP-LDB-filters.patch
Type: text/x-patch
Size: 7301 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20101028/4caa8e49/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Sanitize-search-filters-for-the-sysdb.patch
Type: text/x-patch
Size: 11587 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20101028/4caa8e49/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Sanitize-sysdb-search-filters-in-the-IPA-provider.patch
Type: text/x-patch
Size: 2885 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20101028/4caa8e49/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Sanitize-sysdb-filters-in-the-LDAP-provider.patch
Type: text/x-patch
Size: 1958 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20101028/4caa8e49/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-utility-function-to-sanitize-LDAP-LDB-filters.patch.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20101028/4caa8e49/attachment.sig>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Sanitize-search-filters-for-the-sysdb.patch.sig
Type: application/pgp-signature
Size: 71 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20101028/4caa8e49/attachment-0001.sig>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Sanitize-sysdb-search-filters-in-the-IPA-provider.patch.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20101028/4caa8e49/attachment-0002.sig>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Sanitize-sysdb-filters-in-the-LDAP-provider.patch.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20101028/4caa8e49/attachment-0003.sig>


More information about the sssd-devel mailing list