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-25 16:46:13 -0400
commit306d8241b3c635fe9d0c9a92166066463dda1b8c (patch)
tree6d4bd5b2974e2ea9ac49e57c77444245b8272a4c /ipa-server/ipa-gui
parent1e3276cec1fa9415a4486e49811c8b71b07e90ae (diff)
downloadfreeipa-306d8241b3c635fe9d0c9a92166066463dda1b8c.tar.gz
freeipa-306d8241b3c635fe9d0c9a92166066463dda1b8c.tar.xz
freeipa-306d8241b3c635fe9d0c9a92166066463dda1b8c.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: