Skip to content

Add support for authentication/search timeout #2

@bdpiprava

Description

@bdpiprava
Issue Type
  • Bug Report
Summary

LdapUserSearch is hard coding the LDAP search timelimit parameter which prevents the administrator from tuning this parameter as appropriate for their environment.

I believe this is normally handled by the system property com.sun.jndi.ldap.read.timeout .

Steps to Reproduce
  1. Find an LDAP server with over 100,000 entries with 'memberOf' overlay enabled
  2. Add an LDAP filter in GoCD to use memberOf
  3. wait 6 seconds
Expected Results
  • Slow but working response
Actual Results
  • Soft sobbing
Possible Fix
  • Remove line 90 in above referenced file
Any other info
  • I really do like you guys. Ignore the snark.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions