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

Allow a site to be specified as part of the domain name

    XMLWordPrintable

Details

    Description

      Our AD setup includes multiple sites. When Hudson retrieves the SRV record for
      the entire domain, 5 domain controllers get returned, but only 3 of those (the
      ones local to this site) are actually accessible. If Hudson ends up trying to
      authenticate against one of the other two, the request will time out and
      authentication fails.

      This can be fixed allowing a site name to be configured and changing the SRV
      query to _ldap._tcp.<site>._sites.<domain> if a site name is specified.

      The attached patch implements this for the Unix (LDAP) mode of the
      active-directory plugin. The site can be configured by prefixing it to the
      domain name(s), e.g. 'headoffice@mydomain.com' instead of 'mydomain.com'.

      Attachments

        Activity

          Implemented in 1.17.

          kohsuke Kohsuke Kawaguchi added a comment - Implemented in 1.17.
          ksperling ksperling added a comment -

          Would it be possible for somebody to commit this? The patch is all there an
          working, i've been running it successfully for 3+ months now, all it takes is
          for somebody to take the patch and commit. Thanks.

          ksperling ksperling added a comment - Would it be possible for somebody to commit this? The patch is all there an working, i've been running it successfully for 3+ months now, all it takes is for somebody to take the patch and commit. Thanks.
          ksperling ksperling added a comment -

          Created an attachment (id=834)
          patch to query for SRV record for a specific site of a domain

          ksperling ksperling added a comment - Created an attachment (id=834) patch to query for SRV record for a specific site of a domain

          People

            Unassigned Unassigned
            ksperling ksperling
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: