Single Sign On fails when SMBv1 is disabled

Cross Product Knowledge

On this page

Still need help?

The Atlassian Community is here for you.

Ask the community

The content on this page relates to third party products which are not supported by Atlassian. Consequently, Atlassian can not guarantee providing any support for these solutions.

Please be aware that this material is provided for your information only and using it is done so at your own risk.


When JIRA or Confluence is using a third party add-on such as Tech Time Easy SSO which in turn uses jespa to provide the underlying NTLM authentication, jespa stops working when SMBv1 is disabled on the network. The following error appears in the jespa.log file:


2017-10-05 16:25:30: jcifs.smb.SmbException: Failed to connect:<00>/
jcifs.util.transport.TransportException Connection reset
    at Source)
    at Source)
    at jcifs.util.transport.Transport.readn(
    at jcifs.smb.SmbTransport.peekKey(
    at jcifs.smb.SmbTransport.negotiate(
    at jcifs.smb.SmbTransport.doConnect(
    at Source)

    at Source)

2017-10-05 16:25:30:    at jcifs.smb.SmbTransport.connect(
2017-10-05 16:25:30:    at jcifs.smb.SmbTree.treeConnect(
2017-10-05 16:25:30:    at jcifs.smb.SmbFile.doConnect(
2017-10-05 16:25:30:    at jcifs.smb.SmbFile.connect(
2017-10-05 16:25:30:    at jcifs.smb.SmbFile.connect0(
2017-10-05 16:25:30:    at jcifs.smb.SmbFileInputStream.<init>(
2017-10-05 16:25:30:    at jcifs.smb.TransactNamedPipeInputStream.<init>(
2017-10-05 16:25:30:    at jcifs.smb.SmbNamedPipe.getNamedPipeInputStream(
2017-10-05 16:25:30:    at jcifs.dcerpc.DcerpcPipeHandle.doSendFragment(
2017-10-05 16:25:30:    at jcifs.dcerpc.DcerpcHandle.sendrecv(
2017-10-05 16:25:30:    at jcifs.dcerpc.DcerpcHandle.bind(
2017-10-05 16:25:30:    at jespa.ntlm.Netlogon.connect(
2017-10-05 16:25:30:    at jespa.ntlm.Netlogon.getDomainTrusts0(
2017-10-05 16:25:30:    at jespa.ntlm.Netlogon.getDomainTrusts(
2017-10-05 16:25:30:    at jespa.ntlm.Netlogon.getDomainTrust(
2017-10-05 16:25:30:    at jespa.ntlm.NtlmSecurityProvider.getDomain(
2017-10-05 16:25:30:    at jespa.ntlm.NtlmSecurityProvider.getProperty(
2017-10-05 16:25:30:    at
2017-10-05 16:25:30:    at jespa.ntlm.NtlmSecurityProvider.acceptSecContext(
2017-10-05 16:25:30:    at jespa.http.HttpSecurityService.doFilter(
2017-10-05 16:25:30:    at sun.reflect.GeneratedMethodAccessor594.invoke(Unknown Source)
2017-10-05 16:25:30:    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2017-10-05 16:25:30:    at java.lang.reflect.Method.invoke(Unknown Source)
2017-10-05 16:25:30:    at org.techtime.jira.plugins.easysso.integration.filtering.JespaComponent.invokeMethod(
2017-10-05 16:25:30:    at org.techtime.jira.plugins.easysso.integration.filtering.JespaComponent.doFilter(
2017-10-05 16:25:30:    at org.techtime.jira.plugins.easysso.logic.FullyEnabledStrategy.doNTLMFiltering(
2017-10-05 16:25:30:    at org.techtime.jira.plugins.easysso.interfaces.JespaFilter.doFilter(


Background of JIRA, Easy SSO and Jespa

  1. Techtime Easy SSO does not distribute jespa due to licensing reasons
  2. For Jira, the Jespa Zip file is however installed through JIRA Administration » Add-ons » EasySSO » Upload Jespa
  3. This installs ioplex-jespa.jar<randomnumbers>.tmp into $JIRA_INSTALL/temp


From the jespa release notes:

1.2.0  March 24, 2017

With the release of 1.2.0, Jespa now uses TCP transport and not SMB for MSRPC communication (such as with the NETLOGON and LSA services of domain controllers). If SMB1 is disabled in the target environment, Jespa versions prior to 1.2.0 will yield an error like the following:

NETLOGON: Connecting DCERPC handle to ncacn_np:[\PIPE\NETLOGON] with identity mega.corp\jespa1$
  jcifs.smb.SmbException: Failed to connect:<00>/
  jcifs.util.transport.TransportException Connection reset


Unfortinately, it's not easy to identify the version of Jespa that is installed but extracting out the ioplex-jespa.jar<randomnumbers>.tmp, you can identify the date stamps of the contained classes. If the Class files are older than March 24, 2017 - it is likely you are running a version of Jespa older than 1.2.0.


Update Jespa to at least v1.2.0.


For JIRA, navigate to JIRA Administration » Add-ons » EasySSO » Upload Jespa and upload the latest Jespa-<version>.zip file downloaded from

Restart JIRA for the changes to take effect. With SMBv1 disabled, as per Jespa release notes, jespa.log show will show the following when it is working:

NETLOGON: Connecting DCERPC handle to ncacn_ip_tcp:[netlogon] with identity mega.corp\jespa1$
DcerpcTcpHandle: soTimeout=60000,connTimeout=30000
NETLOGON: Bind successful

Last modified on Nov 2, 2018

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.