[SSSD] [PATCHES] Fix two serious issues with initgroups

Stephen Gallagher sgallagh at redhat.com
Mon Sep 13 19:09:28 UTC 2010


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

On 09/13/2010 11:48 AM, Stephen Gallagher wrote:
> [PATCH 1/2] Initgroups on a non-cached user should go to the data provider
> 
> We were accidentally returning an error when sysdb_getpwnam()
> returned zero results internally in sysdb_initgroups(). The
> correct behavior here is to return EOK and a result object with
> zero entries.
> 
> https://fedorahosted.org/sssd/ticket/620
> 
> 

Sorry, noticed a tiny oversight on patch 0001. I had only fixed the
DEBUG message for the add case, and missed the del case. The new patch
0001 corrects this.


- -- 
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/

iEYEARECAAYFAkyOdugACgkQeiVVYja6o6MyvgCdFilmqSUnJSAgfCMTrILYBxHb
JP4An3RxJtIrzH16GZIJkRbCvI7dhDxL
=n+f7
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Initgroups-on-a-non-cached-user-should-go-to-the-dat.patch
Type: text/x-patch
Size: 3430 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20100913/08a9929b/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Request-all-group-attributes-during-initgroups-proce.patch
Type: text/x-patch
Size: 2259 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20100913/08a9929b/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Initgroups-on-a-non-cached-user-should-go-to-the-dat.patch.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20100913/08a9929b/attachment.sig>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Request-all-group-attributes-during-initgroups-proce.patch.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20100913/08a9929b/attachment-0001.sig>


More information about the sssd-devel mailing list