Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.0.0
-
None
Description
If the search results from an LDAP search exceed ldap-max-search-results, the search will fail and the user will receive an error on login. The logs do not show any indication of what the problem is.
After troubleshooting, I've determined that the LDAPSearchResults.next() function returns an LDAPException "Sizelimit Exceeded". In ObjectQueryService.search(), this is not handled within the immediate try/catch block so the other valid results are not returned to the calling function. The fix is to also catch LDAPException when catching LDAPReferralException.
Pull request is incoming.
Attachments
Issue Links
- is duplicated by
-
GUACAMOLE-702 LDAP login impossible for large directories (large search results)
- Closed
- is fixed by
-
GUACAMOLE-234 Migrate from JLDAP to Apache Directory LDAP API
- Resolved