summaryrefslogtreecommitdiff
path: root/keystone/exception.py
diff options
context:
space:
mode:
Diffstat (limited to 'keystone/exception.py')
-rw-r--r--keystone/exception.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/keystone/exception.py b/keystone/exception.py
index d5269bf1f..b89292afc 100644
--- a/keystone/exception.py
+++ b/keystone/exception.py
@@ -608,3 +608,9 @@ class LDAPServerConnectionError(UnexpectedError):
class LDAPInvalidCredentialsError(UnexpectedError):
message_format = _('Unable to authenticate against Identity backend - '
'Invalid username or password')
+
+
+class LDAPSizeLimitExceeded(UnexpectedError):
+ message_format = _('Number of User/Group entities returned by LDAP '
+ 'exceeded size limit. Contact your LDAP '
+ 'administrator.')