diff options
Diffstat (limited to 'ipa-python/ipaclient.py')
-rw-r--r-- | ipa-python/ipaclient.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ipa-python/ipaclient.py b/ipa-python/ipaclient.py index 9464ee77e..b0dd8ee6e 100644 --- a/ipa-python/ipaclient.py +++ b/ipa-python/ipaclient.py @@ -316,3 +316,11 @@ class IPAClient: """Convert a list of LDAP attributes into a more readable form.""" return self.transport.attrs_to_labels(attrs) + + def memberOf(self, groupdn, attr_list): + """Do a memberOf search of groupdn and return the attributes in + attr_list (an empty list returns everything).""" + + return self.transport.memberOf(groupdn, attr_list) + + |