summaryrefslogtreecommitdiffstats
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
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 ''
-rw-r--r--ipa-server/ipa-gui/ipagui/forms/user.py4
-rw-r--r--ipa-server/xmlrpc-server/funcs.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/ipa-server/ipa-gui/ipagui/forms/user.py b/ipa-server/ipa-gui/ipagui/forms/user.py
index 334e61379..078e06ddd 100644
--- a/ipa-server/ipa-gui/ipagui/forms/user.py
+++ b/ipa-server/ipa-gui/ipagui/forms/user.py
@@ -26,8 +26,8 @@ class UserFields():
class UserNewValidator(validators.Schema):
uid = validators.PlainText(not_empty=True)
- userpassword = validators.String(not_empty=True)
- userpassword_confirm = validators.String(not_empty=True)
+ userpassword = validators.String(not_empty=False)
+ userpassword_confirm = validators.String(not_empty=False)
givenname = validators.String(not_empty=True)
sn = validators.String(not_empty=True)
mail = validators.Email(not_empty=True)
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)