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

DomainDnsZones UnknownHostException

XMLWordPrintable

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

      Attempting to utilise this plug-in v1.17 with Hudson 1.381 on Solaris I cannot get it to authenticate with the corporate Active Directory.

      It collects all the domain controllers correctly, tries each one and every time I find this error;

      Root exception is javax.naming.CommunicationException: DomainDnsZones.<company intranet>.com:389 [Root exception is java.net.UnknownHostException: DomainDnsZones.<company intranet>.com]]

      Does it need to check this? Could it merely ignore the return value as is done here;
      http://forum.springsource.org/showthread.php?t=95544

      They say they solved it by changing they're code thus :-

      In case someone got stuck I found the solution

      ldapTemplate.setIgnorePartialResultException(true) ;
      or
      <bean id="ldapTemplate" class="org.springframework.ldap.core.LdapTemplate" >
      <property name="ignorePartialResultException" value="true"></property>
      <constructor-arg ref="contextSource" />
      </bean>

      • david

            Unassigned Unassigned
            landau351 landau351
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: