summaryrefslogtreecommitdiffstats
path: root/ipa-server/xmlrpc-server
diff options
context:
space:
mode:
authorKevin McCarthy <kmccarth@redhat.com>2007-09-07 11:07:59 -0700
committerKevin McCarthy <kmccarth@redhat.com>2007-09-07 11:07:59 -0700
commit78bcc22c406ce8c7a06c1b8c5b6270f745118abc (patch)
tree4fd9d77ac8c13fbe0838696c9bede1f1634e9bc8 /ipa-server/xmlrpc-server
parentc821699b64cba075506ecafb187c36eaf866248d (diff)
downloadfreeipa-78bcc22c406ce8c7a06c1b8c5b6270f745118abc.tar.gz
freeipa-78bcc22c406ce8c7a06c1b8c5b6270f745118abc.tar.xz
freeipa-78bcc22c406ce8c7a06c1b8c5b6270f745118abc.zip
small release fixes:
- Make password not required for add person - Fix for searching on '*' or ''
Diffstat (limited to 'ipa-server/xmlrpc-server')
-rw-r--r--ipa-server/xmlrpc-server/funcs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipa-server/xmlrpc-server/funcs.py b/ipa-server/xmlrpc-server/funcs.py
index 294b5b5f7..66fabf4be 100644
--- a/ipa-server/xmlrpc-server/funcs.py
+++ b/ipa-server/xmlrpc-server/funcs.py
@@ -426,7 +426,7 @@ class IPAServer:
criteria_words = re.split(r'\s+', criteria)
criteria_words = filter(lambda value:value!="", criteria_words)
if len(criteria_words) == 0:
- return []
+ return [0]
(exact_match_filter, partial_match_filter) = self.__generate_match_filters(
search_fields, criteria_words)