-
Bug
-
Resolution: Unresolved
-
Major
-
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
[JENKINS-8569] DomainDnsZones UnknownHostException
Description |
Original:
Attempting to utilise this plugin v1.17 with Hudson 1.381 on Solaris I cannot get it to authenticate with eth corporate Active Directory. It collects all the domain controllers corrcetly, 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 |
New:
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 |
Resolution | New: Incomplete [ 4 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Resolution | Original: Incomplete [ 4 ] | |
Status | Original: Resolved [ 5 ] | New: Reopened [ 4 ] |
Component/s | New: ldap-plugin [ 17122 ] | |
Component/s | Original: active-directory-plugin [ 15526 ] |
Workflow | Original: JNJira [ 138680 ] | New: JNJira + In-Review [ 185986 ] |
Please report the entire stack trace, not just the top line. But if my hunch is right, the "Plugin shouldn't requre A reocrd on the domain" fix in the upcoming 1.21 have fixed this.