Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-32033

Support for multiple domain controllers

    XMLWordPrintable

Details

    Description

      In the case of LDAP plugin it's possible to provide list of multiple ldap servers separated by space, see for example JENKINS-16443

      But in the case of Active directory plugin it doesn't work as entering the following in the server entry: dc3.intra.net:3268 10.1.1.11:3268 dc2.intra.net:3268
      leads to:

      java.lang.NumberFormatException: For input string: "3268 10.1.1.11:3268 dc2.intra.net:3268"
              at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
              at java.lang.Integer.parseInt(Integer.java:580)
              at java.lang.Integer.parseInt(Integer.java:615)
              at com.sun.jndi.toolkit.url.Uri.parse(Uri.java:232)
              at com.sun.jndi.toolkit.url.Uri.init(Uri.java:138)
              at com.sun.jndi.ldap.LdapURL.<init>(LdapURL.java:82)
              at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:163)
              at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:151)
              at hudson.plugins.active_directory.ActiveDirectorySecurityRealm$DescriptorImpl.bind(ActiveDirectorySecurityRealm.java:484)
              at hudson.plugins.active_directory.ActiveDirectorySecurityRealm$DescriptorImpl.bind(ActiveDirectorySecurityRealm.java:434)
              at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:273)
              at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:219)
              at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:163)
              at hudson.plugins.active_directory.ActiveDirectorySecurityRealm.authenticate(ActiveDirectorySecurityRealm.java:666)
              ...

      Attachments

        Issue Links

          Activity

            hostalp Petr H created issue -
            rtyler R. Tyler Croy made changes -
            Field Original Value New Value
            Workflow JNJira [ 167506 ] JNJira + In-Review [ 182765 ]
            fbelzunc Félix Belzunce Arcos made changes -
            Assignee Félix Belzunce Arcos [ fbelzunc ]
            fbelzunc Félix Belzunce Arcos made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            scm_issue_link SCM/JIRA link daemon made changes -
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Resolved [ 5 ]
            fbelzunc Félix Belzunce Arcos made changes -
            Link This issue is related to JENKINS-38444 [ JENKINS-38444 ]
            fbelzunc Félix Belzunce Arcos made changes -
            Link This issue is related to JENKINS-17338 [ JENKINS-17338 ]
            fbelzunc Félix Belzunce Arcos made changes -
            Link This issue is duplicated by JENKINS-35303 [ JENKINS-35303 ]
            fbelzunc Félix Belzunce Arcos made changes -
            Link This issue is duplicated by JENKINS-11832 [ JENKINS-11832 ]

            People

              fbelzunc Félix Belzunce Arcos
              hostalp Petr H
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: