freeipa/tests
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
..
test_cmdline Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
test_install Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
test_ipalib Final i18n unit test fixes. 2011-03-01 10:31:43 -05:00
test_ipapython Do stricter checking of IP addressed passed to server install. 2011-05-30 13:38:46 +02:00
test_ipaserver Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
test_pkcs10 Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
test_xmlrpc Fix indirect member calculation 2011-06-14 15:34:11 +00:00
__init__.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
data.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
test_util.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
util.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00