summaryrefslogtreecommitdiffstats
path: root/ipa-server/ipa-gui
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2008-04-25 13:33:01 -0400
committerRob Crittenden <rcritten@redhat.com>2008-04-30 09:37:27 -0400
commit9cd03cc56782c0fd4f82a0a3aa202f9923f477a2 (patch)
treea153836680e1a643a1ea563c707bc64c71312f26 /ipa-server/ipa-gui
parenta3a749cf5ea27fe46f12d866b93f94623f698efd (diff)
downloadfreeipa-9cd03cc56782c0fd4f82a0a3aa202f9923f477a2.tar.gz
freeipa-9cd03cc56782c0fd4f82a0a3aa202f9923f477a2.tar.xz
freeipa-9cd03cc56782c0fd4f82a0a3aa202f9923f477a2.zip
Fix the client-side search size limit.
I've changed the variable name searchlimit to sizelimit to match the name in python-ldap (and hopefully therefore be more readable). The big change was changing the default value from 0 to -1. As 0 we were never using the value from cn=ipaconfig python-ldap expects this to be an int type In the UI sizelimit was hardcoded at 0 for users 439880
Diffstat (limited to 'ipa-server/ipa-gui')
-rw-r--r--ipa-server/ipa-gui/ipagui/subcontrollers/user.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipa-server/ipa-gui/ipagui/subcontrollers/user.py b/ipa-server/ipa-gui/ipagui/subcontrollers/user.py
index f57a29734..0a79fc794 100644
--- a/ipa-server/ipa-gui/ipagui/subcontrollers/user.py
+++ b/ipa-server/ipa-gui/ipagui/subcontrollers/user.py
@@ -650,7 +650,7 @@ class UserController(IPAController):
uid = kw.get('uid')
if uid != None and len(uid) > 0:
try:
- users = client.find_users(uid.encode('utf-8'), user_fields, 0, 2)
+ users = client.find_users(uid.encode('utf-8'), user_fields)
counter = users[0]
users = users[1:]
if counter == -1: