mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Implement asynchronous search for groups.
Use the filter generation code to search on multiple fields.
This commit is contained in:
@@ -50,7 +50,9 @@ def main():
|
||||
client = ipaclient.IPAClient()
|
||||
groups = client.find_groups(args[1])
|
||||
|
||||
if len(groups) == 0:
|
||||
counter = groups[0]
|
||||
groups = groups[1:]
|
||||
if counter == 0:
|
||||
print "No entries found for", args[1]
|
||||
return 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user