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

Discovery of LDAP server fails if DNS returns dot as the last character of the SRV record

XMLWordPrintable

    • Icon: Patch Patch
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • Platform: All, OS: All

      Hi,

      It looks like the AD setup-up at my company returns a "." character at the and
      of the _ldap._tcp SRV record for the AD domain. When Hudson tries to access the
      LDAP using such a host name, it of course fails because it can't resolve the
      hostname. The following patch will deal with the issue by replacing any for
      chars at the end of the hostname parsed from SRV record.

            Unassigned Unassigned
            tjormola tjormola
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: