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

Connection problems using wrong ldap server

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • ldap-plugin
    • None

      I have a very strange connection problem.

      My setup:

      Jenkins: 2.32.2

      LDAP-Plugin: 1.14

      Config:

      <securityRealm class="hudson.security.LDAPSecurityRealm" plugin="ldap@1.14">
          <server>ldaps://dc2-pap.lan.meyerwerft.de:636</server>
          <rootDN></rootDN>
          <inhibitInferRootDN>true</inhibitInferRootDN>
      ...
      </securityRealm>
      

       

      I configured dc2-pap.lan.meyerwerft.de as LDAP server (which is a active directory domain controller), but in the logs I see connection errors for the ldap server address lan.meyerwerft.de and I have no clue why. The DNS-server returns just one IP address for this DNS alias.

      It is really annoying because the authentication works very unreliable. Sometimes it seems to take the correct server name and sometimes I get these connection errors with the wrong server.

      Here are example log events jenkins.log

      I saw similar errors using the active directory plugin.

            Unassigned Unassigned
            muellerma Matthias Müller
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: