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

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            Hide
            tjormola tjormola added a comment -

            Created an attachment (id=446)
            Fix the reported behaviour

            Show
            tjormola tjormola added a comment - Created an attachment (id=446) Fix the reported behaviour
            Hide
            kohsuke Kohsuke Kawaguchi added a comment -
                • Issue 3364 has been marked as a duplicate of this issue. ***
            Show
            kohsuke Kohsuke Kawaguchi added a comment - Issue 3364 has been marked as a duplicate of this issue. ***
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in hudson
            User: : kohsuke
            Path:
            trunk/hudson/plugins/active-directory/src/main/java/hudson/plugins/active_directory/ActiveDirectorySecurityRealm.java
            http://fisheye4.cenqua.com/changelog/hudson/?cs=16664
            Log:
            [FIXED JENKINS-2647] Cut off trailing '.'

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : kohsuke Path: trunk/hudson/plugins/active-directory/src/main/java/hudson/plugins/active_directory/ActiveDirectorySecurityRealm.java http://fisheye4.cenqua.com/changelog/hudson/?cs=16664 Log: [FIXED JENKINS-2647] Cut off trailing '.'
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in hudson
            User: : kohsuke
            Path:
            trunk/hudson/plugins/active-directory/src/main/java/hudson/plugins/active_directory/ActiveDirectorySecurityRealm.java
            http://jenkins-ci.org/commit/31441
            Log:
            JENKINS-2647 fix wasn't implemented correctly.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : kohsuke Path: trunk/hudson/plugins/active-directory/src/main/java/hudson/plugins/active_directory/ActiveDirectorySecurityRealm.java http://jenkins-ci.org/commit/31441 Log: JENKINS-2647 fix wasn't implemented correctly.

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: