Github user necouchman commented on a diff in the pull request:

    
https://github.com/apache/incubator-guacamole-client/pull/131#discussion_r106825458
  
    --- Diff: 
extensions/guacamole-auth-ldap/src/main/java/org/apache/guacamole/auth/ldap/user/UserService.java
 ---
    @@ -88,6 +88,7 @@ private void putAllUsers(Map<String, User> users, 
LDAPConnection ldapConnection,
                 // Set search limits
                 LDAPSearchConstraints constraints = new 
LDAPSearchConstraints();
                 constraints.setMaxResults(confService.getMaxResults());
    +            
constraints.setDereference(confService.getDereferenceAliases());
    --- End diff --
    
    Create getLDAPSearchConstraints in the ConfigurationService class which 
pulls in getMaxResults() and getDereferenceAliases() and sets up the 
constraints.  Changed code in UserService and ConnectionService to use this 
function from confService instead of setting up their own each time.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to