freeipa/tests/test_xmlrpc
Rob Crittenden c5d8618424 Fix indirect member calculation
Indirect membership is calculated by looking at each member and pulling
all the memberof out of it. What was missing was doing nested searches
on any members in that member group.

So if group2 was a member of group1 and group3 was a member of group2
we would miss group3 as being an indirect member of group1.

I updated the nesting test to do deeper nested testing. I confirmed
that this test failed with the old code and works with the new.

This also prevents duplicate indirect users and looping on circular
membership.

ticket https://fedorahosted.org/freeipa/ticket/1273
2011-06-14 15:34:11 +00:00
..
__init__.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
objectclasses.py Add handling for indirect memberof other entries. 2011-02-21 11:21:23 -05:00
test_attr.py Add UID, GID and e-mail to the user default attributes. 2011-06-08 23:30:11 +00:00
test_automount_plugin.py Sort entries returned by *-find by the primary key (if any). 2011-04-13 17:29:16 +02:00
test_cert.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
test_delegation_plugin.py Fix changing membergroup in a delegation. 2011-02-01 11:59:24 -05:00
test_dns_plugin.py Enforce that all NS records are resolvable 2011-01-28 11:44:38 -05:00
test_group_plugin.py Add UID, GID and e-mail to the user default attributes. 2011-06-08 23:30:11 +00:00
test_hbac_plugin.py Add sudorule and hbacrule to memberof and indirectmemberof attributes 2011-06-06 13:14:38 -04:00
test_hbacsvcgroup_plugin.py HBAC plugin inconsistent output 2011-02-16 10:39:16 -05:00
test_host_plugin.py Display the entries that failed when deleting with --continue. 2011-01-10 10:32:10 -05:00
test_hostgroup_plugin.py Display the entries that failed when deleting with --continue. 2011-01-10 10:32:10 -05:00
test_krbtpolicy.py Add UID, GID and e-mail to the user default attributes. 2011-06-08 23:30:11 +00:00
test_nesting.py Fix indirect member calculation 2011-06-14 15:34:11 +00:00
test_netgroup_plugin.py Add UID, GID and e-mail to the user default attributes. 2011-06-08 23:30:11 +00:00
test_passwd_plugin.py Display the entries that failed when deleting with --continue. 2011-01-10 10:32:10 -05:00
test_permission_plugin.py Permission rename test failing 2011-02-01 15:43:12 -05:00
test_privilege_plugin.py Rename permissions and privileges to be more readable. 2011-01-31 13:17:38 -05:00
test_pwpolicy.py Display the entries that failed when deleting with --continue. 2011-01-10 10:32:10 -05:00
test_replace.py Add UID, GID and e-mail to the user default attributes. 2011-06-08 23:30:11 +00:00
test_role_plugin.py Display the entries that failed when deleting with --continue. 2011-01-10 10:32:10 -05:00
test_selfservice_plugin.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
test_service_plugin.py Ignore case when removing group members. 2011-02-14 10:22:28 -05:00
test_sudocmd_plugin.py Move sudo related data all under cn=sudo 2011-01-17 11:46:45 -05:00
test_sudocmdgroup_plugin.py Sudo command groups are not supposed to allow nesting. 2011-02-23 18:44:28 -05:00
test_sudorule_plugin.py Add sudorule and hbacrule to memberof and indirectmemberof attributes 2011-06-06 13:14:38 -04:00
test_user_plugin.py Add UID, GID and e-mail to the user default attributes. 2011-06-08 23:30:11 +00:00
xmlrpc_test.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00