diff options
author | Rob Crittenden <rcritten@redhat.com> | 2007-12-05 15:25:05 -0500 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2007-12-05 15:25:05 -0500 |
commit | 62b8091a83c31459ca3e5c5aada01f668a09a381 (patch) | |
tree | 831d4db5f2e1df63b3fcac099b816320c76e4b09 /ipa-admintools | |
parent | 15b7dc6ff9c202dee00f1403139c206b5969c0f3 (diff) | |
download | freeipa-62b8091a83c31459ca3e5c5aada01f668a09a381.tar.gz freeipa-62b8091a83c31459ca3e5c5aada01f668a09a381.tar.xz freeipa-62b8091a83c31459ca3e5c5aada01f668a09a381.zip |
Notify the user when the search results have been truncated
Diffstat (limited to 'ipa-admintools')
-rw-r--r-- | ipa-admintools/ipa-findgroup | 3 | ||||
-rw-r--r-- | ipa-admintools/ipa-finduser | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/ipa-admintools/ipa-findgroup b/ipa-admintools/ipa-findgroup index 9f809aa0..d84a2c62 100644 --- a/ipa-admintools/ipa-findgroup +++ b/ipa-admintools/ipa-findgroup @@ -65,6 +65,9 @@ def main(): if counter == 0: print "No entries found for", args[1] return 2 + elif counter == -1: + print "These results are truncated." + print "Please revine your search and try again." for ent in groups: try: diff --git a/ipa-admintools/ipa-finduser b/ipa-admintools/ipa-finduser index 6dc4d56c..81e8898a 100644 --- a/ipa-admintools/ipa-finduser +++ b/ipa-admintools/ipa-finduser @@ -90,6 +90,9 @@ def main(): if counter == 0: print "No entries found for", args[1] return 2 + elif counter == -1: + print "These results are truncated." + print "Please revine your search and try again." for ent in users: attr = ent.attrList() |