LDAP servers have sizelimit configuration to limit the number of
user/group objects that can be returned for an LDAP query. This
change catches the size limit exceeded exception when users/groups
returned from ldap search query exceeds the configured limit and
responds with an appropriate error message instead of default
500 error message.
Reviewed: https:/ /review. openstack. org/511822 /git.openstack. org/cgit/ openstack/ keystone/ commit/ ?id=f776fc18383 fcfdc97932eaaab 261a0b85e0ef68
Committed: https:/
Submitter: Zuul
Branch: master
commit f776fc18383fcfd c97932eaaab261a 0b85e0ef68
Author: prashkre <email address hidden>
Date: Fri Oct 13 17:31:39 2017 +0530
Handle ldap size limit exeeded exception
LDAP servers have sizelimit configuration to limit the number of
user/group objects that can be returned for an LDAP query. This
change catches the size limit exceeded exception when users/groups
returned from ldap search query exceeds the configured limit and
responds with an appropriate error message instead of default
500 error message.
Change-Id: I9949bb7d458b4b 037616c701e0e4d 362bfa36473
Closes-Bug: #1712415