summaryrefslogtreecommitdiffstats
path: root/ipa-server/ipa-gui/ipagui/controllers.py
diff options
context:
space:
mode:
authorKevin McCarthy <kmccarth@redhat.com>2007-09-27 15:51:26 -0700
committerKevin McCarthy <kmccarth@redhat.com>2007-09-27 15:51:26 -0700
commit572b3e9fddfb2eecf1334099d4c73cfe4c0b3a56 (patch)
treeadbfc03b8a4095814691e36240f094029c86d6f3 /ipa-server/ipa-gui/ipagui/controllers.py
parentd95b47232de2e94e5523337e0f6b744e49061857 (diff)
downloadfreeipa-572b3e9fddfb2eecf1334099d4c73cfe4c0b3a56.tar.gz
freeipa-572b3e9fddfb2eecf1334099d4c73cfe4c0b3a56.tar.xz
freeipa-572b3e9fddfb2eecf1334099d4c73cfe4c0b3a56.zip
Make timelimit a parameter to the find methods.
Diffstat (limited to 'ipa-server/ipa-gui/ipagui/controllers.py')
-rw-r--r--ipa-server/ipa-gui/ipagui/controllers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipa-server/ipa-gui/ipagui/controllers.py b/ipa-server/ipa-gui/ipagui/controllers.py
index 3dc2b29bf..cd47da2fe 100644
--- a/ipa-server/ipa-gui/ipagui/controllers.py
+++ b/ipa-server/ipa-gui/ipagui/controllers.py
@@ -212,7 +212,7 @@ class Root(controllers.RootController):
uid = kw.get('uid')
if uid != None and len(uid) > 0:
try:
- users = client.find_users(uid.encode('utf-8'))
+ users = client.find_users(uid.encode('utf-8'), None, 0, 2)
counter = users[0]
users = users[1:]
if counter == -1:
@@ -596,7 +596,7 @@ class Root(controllers.RootController):
criteria = kw.get('criteria')
if criteria != None and len(criteria) > 0:
try:
- groups = client.find_groups(criteria.encode('utf-8'))
+ groups = client.find_groups(criteria.encode('utf-8'), None, 0, 2)
counter = groups[0]
groups = groups[1:]
if counter == -1: