[SSSD] [PATCHES] Initgroups support for RFC2307bis nested groups (sssd-1-2)

Stephen Gallagher sgallagh at redhat.com
Fri Oct 8 01:24:43 UTC 2010


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

These patches must be applied atop my patches in the thread "Handle
nested groups in RFC2307bis (sssd-1-2)", which in turn must be applied
atop Jakub's patches in the thread "Fix initgroup processing for RFC2307
(sssd-1.2)".

These patches rely on the fake group functionality added by Jakub's patches.

Patch 0001: Make user argument of sysdb_update_members_send a const
This argument should have been const to begin with, as the function
should not modify it. This removes a const pointer issue from patch 3
(since it was more sensible to just send a const string than make a
useless copy)

Patch 0002: Modify sysdb_add_group_member_send to accept users and groups
Previously, it assumed that all members were users. This changes
the interface so that either a user or a group can be specified.

Patch 0003: Add proper nested initgroup support for RFC2307bis servers
This patch handles the general case, that of any RFC2307bis server. The
memberOf optimizations that we were previously relying on are still
available if ldap_schema=IPA is set in the sssd.conf.



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

iEYEARECAAYFAkyuctsACgkQeiVVYja6o6P6fwCfZnXU1vD7YoUw+pwIo39G8TlA
56gAmwcR7hLw20DTerjis+N/fpeQNv8D
=6AP4
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Make-user-argument-of-sysdb_update_members_send-a-co.patch
Type: text/x-patch
Size: 1944 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20101007/1f4c7a22/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Modify-sysdb_add_group_member_send-to-accept-users-a.patch
Type: text/x-patch
Size: 13129 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20101007/1f4c7a22/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Add-proper-nested-initgroup-support-for-RFC2307bis-s.patch
Type: text/x-patch
Size: 33011 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20101007/1f4c7a22/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Make-user-argument-of-sysdb_update_members_send-a-co.patch.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20101007/1f4c7a22/attachment.sig>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Modify-sysdb_add_group_member_send-to-accept-users-a.patch.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20101007/1f4c7a22/attachment-0001.sig>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Add-proper-nested-initgroup-support-for-RFC2307bis-s.patch.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20101007/1f4c7a22/attachment-0002.sig>


More information about the sssd-devel mailing list