Currently the AD plugin does not expose context parameters that affect the lookup.

      This is most important for com.sun.jndi.ldap.read.timeout which defaults to zero (which is never timeout). In the case of the cache a bad connection could bring down all authentication for a specific user.

      Whilst you can set this on the command line, it would be global rather than limited to the use in just the AD plugin.

          [JENKINS-36040] allow configuration of context parameters.

          James Nord added a comment -

          This is most important for com.sun.jndi.ldap.read.timeout which defaults to zero (which is never timeout). In the case of the cache a bad connection could bring down all authentication for a specific user.

          James Nord added a comment - This is most important for com.sun.jndi.ldap.read.timeout which defaults to zero (which is never timeout). In the case of the cache a bad connection could bring down all authentication for a specific user.

          Code changed in jenkins
          User: Felix Belzunce Arcos
          Path:
          src/main/java/hudson/plugins/active_directory/ActiveDirectorySecurityRealm.java
          src/main/java/hudson/plugins/active_directory/ActiveDirectoryUnixAuthenticationProvider.java
          src/main/resources/hudson/plugins/active_directory/ActiveDirectorySecurityRealm/EnvironmentProperty/config.jelly
          src/main/resources/hudson/plugins/active_directory/ActiveDirectorySecurityRealm/configAdvanced.jelly
          src/main/resources/hudson/plugins/active_directory/ActiveDirectorySecurityRealm/help-extraEnvVars.html
          http://jenkins-ci.org/commit/active-directory-plugin/d8495d702d4e526d76d3b700744db86bb0a84eb3
          Log:
          [FIXED JENKINS-36041] Default ldap timeouts and allow their configuration through the UI (#37)

          [FIXED JENKINS-36041 JENKINS-36040] Default ldap timeouts and allow ldap's properties configuration through the UI

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Felix Belzunce Arcos Path: src/main/java/hudson/plugins/active_directory/ActiveDirectorySecurityRealm.java src/main/java/hudson/plugins/active_directory/ActiveDirectoryUnixAuthenticationProvider.java src/main/resources/hudson/plugins/active_directory/ActiveDirectorySecurityRealm/EnvironmentProperty/config.jelly src/main/resources/hudson/plugins/active_directory/ActiveDirectorySecurityRealm/configAdvanced.jelly src/main/resources/hudson/plugins/active_directory/ActiveDirectorySecurityRealm/help-extraEnvVars.html http://jenkins-ci.org/commit/active-directory-plugin/d8495d702d4e526d76d3b700744db86bb0a84eb3 Log: [FIXED JENKINS-36041] Default ldap timeouts and allow their configuration through the UI (#37) [FIXED JENKINS-36041 JENKINS-36040] Default ldap timeouts and allow ldap's properties configuration through the UI

          fbelzunc do you know what's the status of this RFE?

          Cyrille Le Clerc added a comment - fbelzunc do you know what's the status of this RFE?

            fbelzunc FĂ©lix Belzunce Arcos
            teilo James Nord
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: