diff options
author | Rob Crittenden <rcritten@redhat.com> | 2008-03-27 09:54:41 -0400 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2008-03-27 09:54:41 -0400 |
commit | bde9959091d263402c2016c183f8617dea488cc0 (patch) | |
tree | 581f055ebf18201d879487af3d58b5c7a4403387 /ipa-python/ipaclient.py | |
parent | 07059a5ef25143b0f0a99f27d6039276a4f557f4 (diff) | |
download | freeipa-bde9959091d263402c2016c183f8617dea488cc0.tar.gz freeipa-bde9959091d263402c2016c183f8617dea488cc0.tar.xz freeipa-bde9959091d263402c2016c183f8617dea488cc0.zip |
When getting members let user indicate what type of member they want.
The memberOf attribute includes members that are directly in the group
via the "member" attribute and those that are included as a result of
being in a group that is in the group.
The UI needs to be able to distinguish between the two.
438706
Diffstat (limited to 'ipa-python/ipaclient.py')
-rw-r--r-- | ipa-python/ipaclient.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipa-python/ipaclient.py b/ipa-python/ipaclient.py index b685be38c..4fc836953 100644 --- a/ipa-python/ipaclient.py +++ b/ipa-python/ipaclient.py @@ -326,11 +326,11 @@ class IPAClient: return self.transport.get_all_attrs() - def group_members(self, groupdn, attr_list): + def group_members(self, groupdn, attr_list, membertype): """Do a memberOf search of groupdn and return the attributes in attr_list (an empty list returns everything).""" - results = self.transport.group_members(groupdn, attr_list) + results = self.transport.group_members(groupdn, attr_list, membertype) counter = results[0] |