summaryrefslogtreecommitdiffstats
path: root/ipapython
diff options
context:
space:
mode:
Diffstat (limited to 'ipapython')
-rw-r--r--ipapython/ipaldap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipapython/ipaldap.py b/ipapython/ipaldap.py
index 1702daa25..ce07006eb 100644
--- a/ipapython/ipaldap.py
+++ b/ipapython/ipaldap.py
@@ -1527,7 +1527,7 @@ class LDAPClient(object):
break
if not res and not truncated:
- raise errors.NotFound(reason='no such entry')
+ raise errors.EmptyResult(reason='no matching entry found')
return (res, truncated)