[SSSD] [PATCHES] fix various minor issues

Simo Sorce ssorce at redhat.com
Mon Aug 24 13:23:50 UTC 2009


Series of patches I made up while working toward elimination of the
legacy options this summer.


0001 - Catch a bad buffer sent by glibc.
I reproduced this a couple of times. It was almost certainly due to bad
input sent from the server, but I wasn't able to pinpoint the main
cause. Meanwhile catch the bad buffer so at least we do not segfault
apps.

0002 - Add debug statements.
Found the need to instrument sysdb with some more debug statements to
catch some bugs I was working on.

0003 - Relax memberof constraints.
Instead of completely failing an operation if a member does not actually
exists, simply skip it. This makes the code "lossy" but allows for a
much simpler 2 pass storage technique then having to find a way to track
down dependencies and try to store groups according to them (impossible
for circular dependencies anyway).

0004 - Do not fail enums
If a single store failed for any reason, then the enumeration would stop
completely. Reworked the code to simply skip the bad element and keep
going.

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Catch-possible-bad-input-passed-in-by-glibc.patch
Type: text/x-patch
Size: 2992 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20090824/f6ffe574/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Add-debug-statements-to-sysdb_ops.patch
Type: text/x-patch
Size: 32785 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20090824/f6ffe574/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Relax-memberof-constraints-a-bit.patch
Type: text/x-patch
Size: 21458 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20090824/f6ffe574/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Do-not-fail-enumerations-if-a-single-store-fails.patch
Type: text/x-patch
Size: 9860 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20090824/f6ffe574/attachment-0003.bin>


More information about the sssd-devel mailing list