From 306d8241b3c635fe9d0c9a92166066463dda1b8c Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Fri, 25 Apr 2008 13:33:01 -0400 Subject: 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 --- ipa-server/ipa-gui/ipagui/subcontrollers/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipa-server/ipa-gui/ipagui/subcontrollers/user.py') diff --git a/ipa-server/ipa-gui/ipagui/subcontrollers/user.py b/ipa-server/ipa-gui/ipagui/subcontrollers/user.py index f57a2973..0a79fc79 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: -- cgit