You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@guacamole.apache.org by "Nick Couchman (JIRA)" <ji...@apache.org> on 2019/02/02 01:45:02 UTC
[jira] [Commented] (GUACAMOLE-717) LDAP authentication fails if
search result count exceeds ldap-max-search-result
[ https://issues.apache.org/jira/browse/GUACAMOLE-717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16758822#comment-16758822 ]
Nick Couchman commented on GUACAMOLE-717:
-----------------------------------------
Code has been merged.
> LDAP authentication fails if search result count exceeds ldap-max-search-result
> -------------------------------------------------------------------------------
>
> Key: GUACAMOLE-717
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-717
> Project: Guacamole
> Issue Type: Bug
> Components: guacamole-client
> Affects Versions: 1.0.0
> Reporter: Joel Best
> Priority: Minor
> Fix For: 1.1.0
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)