<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic CIFS/NTLM Passthru only work after waiting for some time in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/cifs-ntlm-passthru-only-work-after-waiting-for-some-time/m-p/159499#M113531</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm running Alfresco 2.1 Community edition on a JBoss 4.2.2 application server, on Red Hat Enterprise Linux 4.0. I've configured our environment to use NTLM passthru authentication and CIFS. We are using iptables to forward the SMB and Netbios traffic from port 137,138,139, and 445 to higher ports, as designated in the file-servers.xml file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After starting up the JBoss server, we can successfully navigate to the Alfresco web application. But if we try to access the Alfresco CIFS share through windows or Linux, we are unable to. The server.log gives us the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;00:13:24,310 DEBUG [org.alfresco.smb.protocol] TCP-SMB session request received from 172.16.11.12&lt;BR /&gt;00:13:24,311 DEBUG [org.alfresco.smb.protocol] Waiting for TCP-SMB session request …&lt;BR /&gt;00:13:24,311 DEBUG [org.alfresco.smb.protocol] Server session started&lt;BR /&gt;00:13:24,311 DEBUG [org.alfresco.smb.protocol] Negotiated SMB dialect - NT LM 0.12&lt;BR /&gt;00:13:24,311 DEBUG [org.alfresco.smb.protocol] Assigned protocol handler - org.alfresco.filesys.smb.server.NTProtocolHandler&lt;BR /&gt;00:13:24,313 DEBUG [org.alfresco.smb.protocol.auth] NT Session setup NTLMSSP, MID=8, UID=0, PID=65279&lt;BR /&gt;00:13:24,313 ERROR [org.alfresco.smb.protocol] ERROR [org.alfresco.smb.protocol] Closing session due to exception&lt;BR /&gt;java.lang.NullPointerException&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.alfresco.filesys.server.auth.CifsAuthenticator.generateNegotiateResponse(CifsAuthenticator.java:357)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.alfresco.filesys.server.auth.passthru.PassthruAuthenticator.generateNegotiateResponse(PassthruAuthenticator.java:415)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.alfresco.filesys.smb.server.SMBSrvSession.procSMBNegotiate(SMBSrvSession.java:1243)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.alfresco.filesys.smb.server.SMBSrvSession.run(SMBSrvSession.java:1346)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.lang.Thread.run(Thread.java:595)&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;In Windows, we get a message stating "The specified network name is no longer valid". In Linux, the CIFS mount attempt results in a message stating that the host is unavailable, or something similar. I did verify that the JBoss application server and the Alfresco web application WAR file were indeed fully loaded and operational.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I wait for several minutes (sometimes as long as half an hour, sometimes as little as 5 minutes), then the Alfresco CIFS share is suddenly accessible without any errors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone know what is going on? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;NB: I just turned up debugging and restarted the JBoss server to get more information for this post. Now I found myself unable to access the Alfresco Web Application for a few minutes! The message in my web browser said "Failed to open passthru auth session". In the alfresco.log, I see some entries stating the Passthru server (e.g. my DOmain Controller) is online, then it's offline, and now it's online again…. FYI, I have my two domain controllers specified in the file-servers.xml file.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 29 Mar 2008 04:24:43 GMT</pubDate>
    <dc:creator>curious_george</dc:creator>
    <dc:date>2008-03-29T04:24:43Z</dc:date>
    <item>
      <title>CIFS/NTLM Passthru only work after waiting for some time</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cifs-ntlm-passthru-only-work-after-waiting-for-some-time/m-p/159499#M113531</link>
      <description>Hello again,I'm running Alfresco 2.1 Community edition on a JBoss 4.2.2 application server, on Red Hat Enterprise Linux 4.0. I've configured our environment to use NTLM passthru authentication and CIFS. We are using iptables to forward the SMB and Netbios traffic from port 137,138,139, and 445 to hi</description>
      <pubDate>Sat, 29 Mar 2008 04:24:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cifs-ntlm-passthru-only-work-after-waiting-for-some-time/m-p/159499#M113531</guid>
      <dc:creator>curious_george</dc:creator>
      <dc:date>2008-03-29T04:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS/NTLM Passthru only work after waiting for some time</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cifs-ntlm-passthru-only-work-after-waiting-for-some-time/m-p/159500#M113532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I believe I resolved the issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem was in my file-servers-custom.xml file. I did not set the broadcast mask correctly. I also added the domain attribute to the host tag, and all was resolved!&amp;nbsp; &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://connect.hyland.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2008 17:44:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cifs-ntlm-passthru-only-work-after-waiting-for-some-time/m-p/159500#M113532</guid>
      <dc:creator>curious_george</dc:creator>
      <dc:date>2008-04-07T17:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS/NTLM Passthru only work after waiting for some time</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cifs-ntlm-passthru-only-work-after-waiting-for-some-time/m-p/159501#M113533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi curious_george,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you please tell what you did for this problem. I am not able to understand the broadcast msk and the domain attribute to the host tag..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2014 21:25:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cifs-ntlm-passthru-only-work-after-waiting-for-some-time/m-p/159501#M113533</guid>
      <dc:creator>mcasanket</dc:creator>
      <dc:date>2014-11-04T21:25:51Z</dc:date>
    </item>
  </channel>
</rss>

