<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>RE: NTLM authentication</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=6164791" />
  <subtitle>RE: NTLM authentication</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=6164791</id>
  <updated>2026-05-13T23:29:29Z</updated>
  <dc:date>2026-05-13T23:29:29Z</dc:date>
  <entry>
    <title>RE: NTLM authentication</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118420301" />
    <author>
      <name>Karthik Nainupatruni</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118420301</id>
    <updated>2020-02-04T15:33:40Z</updated>
    <published>2020-02-04T15:33:40Z</published>
    <summary type="html">Thanks for the reply,&lt;br /&gt;i have commented the Browsersniffer code as mentioned above , it is working fine in liferay 7.2 .1 ga2 by customizing the core  &lt;strong&gt;portal-security-sso-ntlm-impl&lt;/strong&gt;  module  </summary>
    <dc:creator>Karthik Nainupatruni</dc:creator>
    <dc:date>2020-02-04T15:33:40Z</dc:date>
  </entry>
  <entry>
    <title>RE: NTLM authentication</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118380130" />
    <author>
      <name>Christoph Rabel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118380130</id>
    <updated>2020-01-30T10:58:48Z</updated>
    <published>2020-01-30T10:58:48Z</published>
    <summary type="html">Well, to give you an honest answer:&lt;br /&gt;I usually don&amp;#39;t bother creating an ext plugin (I actutally don&amp;#39;t know anymore how to do that in 7.x) and just fetch the NTLMFilter.java file from github, change the code, build it and replace that class in the original war file. Since there are very seldom changes to that class, that works pretty well. Of course, you would need to do that for every upgrade, so it could be a bit of a pain in the ....&lt;br /&gt;This is one of the BUGS (yes, I consider this a bug, not a feature) that annoys me to no end since there is no real nice way to work around it.</summary>
    <dc:creator>Christoph Rabel</dc:creator>
    <dc:date>2020-01-30T10:58:48Z</dc:date>
  </entry>
  <entry>
    <title>RE: NTLM authentication</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118346787" />
    <author>
      <name>Karthik Nainupatruni</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118346787</id>
    <updated>2020-01-28T04:22:27Z</updated>
    <published>2020-01-28T04:22:27Z</published>
    <summary type="html">Hi &lt;br /&gt;​​​​​​​Anyone has worked onNTLMFilters  in liferay 7 , to make it work for chrome browser?</summary>
    <dc:creator>Karthik Nainupatruni</dc:creator>
    <dc:date>2020-01-28T04:22:27Z</dc:date>
  </entry>
  <entry>
    <title>RE: NTLM authentication</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112845134" />
    <author>
      <name>Christoph Rabel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112845134</id>
    <updated>2019-03-20T16:14:45Z</updated>
    <published>2019-03-20T16:14:45Z</published>
    <summary type="html">That issue is ancient and it doesn&amp;#39;t seem to have anything to do with your problem.&lt;br /&gt;&lt;br /&gt;In general: &lt;br /&gt;If an issue is fixed in EE, it is also fixed in CE. But there are no patches for CE. So, all CE releases before 6.0.12 EE are affected by the problem. All releases since 6.1 CE should not be affected by that issue anymore.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;While it is in general true, that all fixes are applied to CE too, please note:&lt;br /&gt;&lt;br /&gt;There is also a gap between the &amp;#34;packaging&amp;#34; date of CE and the release date. So, when an issue is fixed on March 5 and the CE is released on March 10, you can be quite sure that that fix is not included. The CE release was branched much earlier and very recent fixes usually are not included (except for really important/breaking ones).</summary>
    <dc:creator>Christoph Rabel</dc:creator>
    <dc:date>2019-03-20T16:14:45Z</dc:date>
  </entry>
  <entry>
    <title>RE: NTLM authentication</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112842902" />
    <author>
      <name>Roshan Qureshi</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112842902</id>
    <updated>2019-03-20T15:36:53Z</updated>
    <published>2019-03-20T15:36:53Z</published>
    <summary type="html">&lt;blockquote&gt;Christopher LuiThere is a known issue with NTLM authenticating with 2008 R2.&lt;br /&gt;&lt;br /&gt;See http://issues.liferay.com/browse/LPS-15380&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Is it still issue with Liferay CE ga7. As per the link above it was fixed for EE. No mention of CE is there.&lt;br /&gt;&lt;br /&gt;Is there any way to confirm whether it is fixed for CE as well or not?&lt;br /&gt;&lt;br /&gt;Thanks</summary>
    <dc:creator>Roshan Qureshi</dc:creator>
    <dc:date>2019-03-20T15:36:53Z</dc:date>
  </entry>
  <entry>
    <title>RE: NTLM authentication</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112831464" />
    <author>
      <name>Roshan Qureshi</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112831464</id>
    <updated>2019-03-20T10:57:29Z</updated>
    <published>2019-03-20T10:57:29Z</published>
    <summary type="html">Thanks for quick reply.&lt;br /&gt;&lt;br /&gt;We checked everything and we are able to ping the controller IP &lt;strong&gt;but NOT ABLE TO telnet CONTROLLER (domain) on port 389.  Is it required?&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Also - Do you know what does the meaning of Heading zeros in the logs :&lt;br /&gt;&lt;br /&gt;&amp;#34;Failed to connect: &lt;strong&gt;0.0.0.0&amp;lt;00&amp;gt;&lt;/strong&gt;/domain IP&amp;#34;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thread - https://community.liferay.com/forums/-/message_boards/message/112819703 says&lt;br /&gt;&lt;br /&gt;&amp;#34; Inspecting source code/debugging we found:&lt;br /&gt;that netrServerAuthenticate3.getServerCredential() returns byte array filled with zeroes: http://www.jarvana.com/jarvana/view/com/liferay/portal/portal-impl/6.0.5/portal-impl-6.0.5-sources.jar!/com/liferay/portal/security/ntlm/NetlogonConnection.java?format=ok&lt;br /&gt;&lt;br /&gt;so problem is somewhere in filling netrServerAuthenticate3 object by dcerpcHandle.sendrecv(netrServerAuthenticate3); &amp;#34;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Appreciate your help.</summary>
    <dc:creator>Roshan Qureshi</dc:creator>
    <dc:date>2019-03-20T10:57:29Z</dc:date>
  </entry>
  <entry>
    <title>RE: NTLM authentication</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112820351" />
    <author>
      <name>Christoph Rabel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112820351</id>
    <updated>2019-03-19T13:04:12Z</updated>
    <published>2019-03-19T13:04:12Z</published>
    <summary type="html">When looking at execption, the &amp;#34;Caused by&amp;#34; block is usually quite important. It says there:&lt;br /&gt;&lt;br /&gt; Failed to connect: 0.0.0.0&amp;lt;00&amp;gt;/172.16.201.65&lt;br /&gt;&lt;br /&gt;Looks like a network issue.&lt;br /&gt;I guess, 172.16.201.65 is the IP of your domain controller. Correct?&lt;br /&gt; Please check, from the server where Liferay is installed:&lt;br /&gt;&lt;br /&gt;Is  it reachable? Can you ping it?</summary>
    <dc:creator>Christoph Rabel</dc:creator>
    <dc:date>2019-03-19T13:04:12Z</dc:date>
  </entry>
  <entry>
    <title>RE: NTLM authentication</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112819703" />
    <author>
      <name>Roshan Qureshi</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112819703</id>
    <updated>2019-03-19T12:32:28Z</updated>
    <published>2019-03-19T12:32:28Z</published>
    <summary type="html">&lt;blockquote&gt;Christopher LuiThere is a known issue with NTLM authenticating with 2008 R2.&lt;br /&gt;&lt;br /&gt;See http://issues.liferay.com/browse/LPS-15380&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;I see this issue. It is fixed for EE as per the resolution there.&lt;br /&gt;&lt;br /&gt;Is there any patch for CE ?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thanks.</summary>
    <dc:creator>Roshan Qureshi</dc:creator>
    <dc:date>2019-03-19T12:32:28Z</dc:date>
  </entry>
  <entry>
    <title>RE: NTLM authentication</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112819371" />
    <author>
      <name>Roshan Qureshi</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112819371</id>
    <updated>2019-03-19T12:31:10Z</updated>
    <published>2019-03-19T12:31:10Z</published>
    <summary type="html">Hello,&lt;br /&gt;&lt;br /&gt;I have tried all suggestions in above thread but still getting below exception. Appreciate help from experts on NTLM.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Environment :  LIFERAY 7 GA7 CE + WINDOWS SERVER 2012&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ERROR [ajp-nio-8009-exec-9][NtlmFilter:298] &lt;strong&gt;Unable to perform NTLM authentication&lt;br /&gt;&lt;/strong&gt;&lt;strong&gt;com.liferay.portal.security.sso.ntlm.internal.NtlmLogonException: Unable to authenticate due to communication failure with server&lt;/strong&gt;&lt;br /&gt;        at com.liferay.portal.security.sso.ntlm.internal.Netlogon.logon(Netlogon.java:115)        at com.liferay.portal.security.sso.ntlm.internal.NtlmManager.authenticate(NtlmManager.             java:74)        at com.liferay.portal.security.sso.ntlm.internal.servlet.filter.NtlmFilter.processFilt             er(NtlmFilter.java:294)        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilte             r(InvokerFilterChain.java:207)        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(Invok             erFilterChain.java:112)        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)        at com.liferay.portal.monitoring.internal.servlet.filter.MonitoringFilter.processFilte             r(MonitoringFilter.java:181)        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilte             r(InvokerFilterChain.java:207)        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(Invok             erFilterChain.java:112)        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectC             allFilter(InvokerFilterChain.java:188)        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(Invok             erFilterChain.java:96)        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectC             allFilter(InvokerFilterChain.java:188)        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(Invok             erFilterChain.java:96)        at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)        at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)        at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)        at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:3             94)        at com.liferay.portal.servlet.filters.urlrewrite.UrlRewriteFilter.processFilter(UrlRew             riteFilter.java:65)        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilte             r(InvokerFilterChain.java:207)        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(Invok             erFilterChain.java:112)        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectC             allFilter(InvokerFilterChain.java:168)        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(Invok             erFilterChain.java:96)        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectC             allFilter(InvokerFilterChain.java:168)        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(Invok             erFilterChain.java:96)        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectC             allFilter(InvokerFilterChain.java:188)        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(Invok             erFilterChain.java:96)        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFil             ter.java:100)        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterC             hain.java:240)        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.jav             a:207)        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:5             02)        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.jav             a:616)        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)        at org.apache.coyote.ajp.AbstractAjpProcessor.process(AbstractAjpProcessor.java:868)        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtoc             ol.java:672)        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)        at java.lang.Thread.run(Thread.java:748)&lt;span style="font-size: 10px;"&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;"&gt;Caused by: jcifs.smb.SmbException: Failed to connect: 0.0.0.0&amp;lt;00&amp;gt;/&amp;lt;domain IP&amp;gt;_jcifs.util.tra             nsport.TransportException: Connection timeout_  at jcifs.util.transport.Transport.connect(Tran             sport.java:174)_        at jcifs.smb.SmbTransport.connect(SmbTransport.java:307)_       at jcifs.smb.SmbTree.treeConnect(SmbTree.java:156)_   at jcifs.smb.SmbFile.doConnect(SmbFile.java:91             1)_     at jcifs.smb.SmbFile.connect(SmbFile.java:954)_ at jcifs.smb.SmbFile.connect0(SmbFile.             java:880)_      at jcifs.smb.SmbFileInputStream.&amp;lt;init&amp;gt;(SmbFileInputStream.java:76)_     at jci             fs.smb.TransactNamedPipeInputStream.&amp;lt;init&amp;gt;(TransactNamedPipeInputStream.java:38)_       at jci             fs.smb.SmbNamedPipe.getNamedPipeInputStream(SmbNamedPipe.java:166)_     at jcifs.dcerpc.DcerpcPipeHandle.doSendFragment(DcerpcPipeHandle.java:66)_    at jcifs.dcerpc.DcerpcHandle.sendrecv(             DcerpcHandle.java:190)_ at &lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: 18px;"&gt;&lt;br /&gt;Thanks.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</summary>
    <dc:creator>Roshan Qureshi</dc:creator>
    <dc:date>2019-03-19T12:31:10Z</dc:date>
  </entry>
  <entry>
    <title>RE: NTLM authentication</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=105511630" />
    <author>
      <name>Parveen Kumar</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=105511630</id>
    <updated>2018-03-19T10:36:39Z</updated>
    <published>2018-03-19T10:36:39Z</published>
    <summary type="html">Thanks a lot ! Sir...&lt;br /&gt;&lt;br /&gt;It is really helpful. &lt;br /&gt;&lt;br /&gt;God Bless you.</summary>
    <dc:creator>Parveen Kumar</dc:creator>
    <dc:date>2018-03-19T10:36:39Z</dc:date>
  </entry>
  <entry>
    <title>RE: NTLM authentication</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=73029322" />
    <author>
      <name>NGHE KIEN</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=73029322</id>
    <updated>2016-04-14T09:02:03Z</updated>
    <published>2016-04-14T09:02:03Z</published>
    <summary type="html">Hi Silvio Meier,&lt;br /&gt;&lt;br /&gt;I did the same steps that you mention but I always got the error&lt;br /&gt;&lt;br /&gt;com.liferay.portal.security.ntlm.NtlmLogonException: Session key negotiation failed&lt;br /&gt;&lt;br /&gt;My environments:&lt;br /&gt;Liferay CE 6.2&lt;br /&gt;Windows Server 2008&lt;br /&gt;domain: test.org&lt;br /&gt;NetBIOS: TEST&lt;br /&gt;Computer acct: LIFERAY$@TEST.ORG&lt;br /&gt;Password: password&lt;br /&gt;&lt;br /&gt;connection with LDAP works fine&lt;br /&gt;&lt;br /&gt;I have tried with all options for LAN Manager authentication level on Client PC, but still the same error...&lt;br /&gt;&lt;br /&gt;Thank in advance for helping</summary>
    <dc:creator>NGHE KIEN</dc:creator>
    <dc:date>2016-04-14T09:02:03Z</dc:date>
  </entry>
  <entry>
    <title>RE: NTLM authentication</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=57355858" />
    <author>
      <name>Silvio Meier</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=57355858</id>
    <updated>2015-08-11T19:15:55Z</updated>
    <published>2015-08-11T19:15:55Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Hi Chris and Domingo&lt;br&gt;&lt;br&gt;we also had this problem at our company using LR 6.2. Our configuration only worked with the client-side setting &lt;em&gt;Send LM &amp;amp; NTLM - use NTLMv2 session security if negociated&lt;/em&gt; on our client systems. In contrast, the setting &lt;em&gt;Send NTLMv2 response only/refuse LM &amp;amp; NTLM&lt;/em&gt; or &lt;em&gt;Send NTLMv2 response only/refuse LM&lt;/em&gt; was not successful. This indicates that NTLMv1 is used instead of NTLMv2 and this is not recommended.&lt;br&gt;&lt;br&gt;When configuring NTLMv2, we encountered two possible pitfalls with respect to the configuration settings of ntlm.auth.domain.controller.name and ntlm.auth.domain in portal-ext.properties file or the corresponding fields in the control panel UI of Liferay.&lt;br&gt;&lt;br&gt;&lt;strong&gt;1. Pitfall&lt;/strong&gt;&lt;br&gt;The controller name must be specified either as IP addresss or as &lt;em&gt;*netbios name*&lt;/em&gt;. The netbios name of the &lt;em&gt;ntlm.auth.domain.controller.name&lt;/em&gt; must be written without a trailing dollar sign ($), which is sometimes used for net bios names of computers. If not specifying a proper netbios name, you will probably get the exception &lt;em&gt;com.liferay.portal.security.ntlm.NtlmLogonException: Session key negotiation failed&lt;/em&gt;. Ask the system administrator of your domain controller in order to get the netbios name. Example for the controller name setting:&lt;br&gt;&lt;br&gt;ntlm.auth.domain.controller.name=MYCONTROLLER&lt;br&gt;&lt;br&gt;&lt;strong&gt;2. Pitfall&lt;/strong&gt;&lt;br&gt;The problem described above is probably caused by the setting ntlm.auth.domain which &lt;strong&gt;&lt;em&gt;*must*&lt;/em&gt;&lt;/strong&gt; be the netbios name of the domain. Example:&lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;ntlm.auth.domain=MYDOMAIN&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;If you set an improper net bios name, for example, if you set the internet DNS name of the domain, the client settings &lt;em&gt;Send NTLMv2 response only/refuse LM&lt;/em&gt;  or &lt;em&gt;Send NTLMv2 response only/refuse LM &amp;amp; NTLM&lt;/em&gt; do not work! The only setting that is working is &lt;em&gt;Send LM &amp;amp; NTLM - use NTLMv2 session security if negociated&lt;/em&gt; or any setting that is weaker. &lt;br&gt;&lt;br&gt;I assume that this is because only NTLMv2 uses the netbios name controller but not NTLMv1. So if the netbios name of the controller is found to be wrong while trying to use NTLMv2, NTLMv1 is used as fallback. If this is not possible because the security restrictions are set to &lt;em&gt;Send NTLMv2 response only/refuse LM&lt;/em&gt;  or &lt;em&gt;Send NTLMv2 response only/refuse LM &amp;amp; NTLM&lt;/em&gt;, an exception occurs &lt;em&gt;com.liferay.portal.security.ntlm.NtlmLogonException: Unable to authenticate user: Logon failure: unknown user name or bad password&lt;/em&gt;.&lt;br&gt;&lt;br&gt;In order to retrieve the proper netbios name of the domain, open a comand line (cmd.exe) with a user that is member of that domain. Then enter the command in the command line&lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;SET&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;Look in the output for the variable USERDOMAIN. As a site-note: the variable USERDNSDOMAIN contains the internet domain name of the domain which is also shown by System Control Panel --&amp;gt; System in the Windows settings. This could look something like that:&lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;
...
USERDNSDOMAIN=MYDOMAIN.EXAMPLE.COM
USERDOMAIN=MYDOMAIN
...
&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;Use the value of the variable USERDOMAIN as value for &lt;em&gt;ntlm.auth.domain&lt;/em&gt;. After doing so, we could set &lt;em&gt;Send NTLMv2 response only/refuse LM&lt;/em&gt; or &lt;em&gt;Send NTLMv2 response only/refuse LM &amp;amp; NTLM&lt;/em&gt; (or just leave the default settings of Windows 7+) on the clients and it worked without any problems for LR 6.2!&lt;br&gt;&lt;br&gt;I think the pitfalls described above are caused because the use of the netbios names is not obvious from the official Liferay documentation https://www.liferay.com/de/community/wiki/-/wiki/Main/NTLMv2+SSO+Configuration. For retrieving the domain (Pitfall 2), Microsoft documentation instructs you to use the domain name from the &lt;em&gt;System Control Center --&amp;gt; System&lt;/em&gt; for newer Windows versions, which is the internet domain name (cf. variable USERDNSDOMAIN above)  of the domain and not the netbios name. This is maybe the root of the problem.&lt;br&gt;&lt;br&gt;Maybe it helps for solving your issues.&lt;br&gt;&lt;br&gt;Silvio&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Silvio Meier</dc:creator>
    <dc:date>2015-08-11T19:15:55Z</dc:date>
  </entry>
  <entry>
    <title>RE: NTLM authentication</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=49004293" />
    <author>
      <name>Domingo Martinez</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=49004293</id>
    <updated>2015-02-12T11:56:34Z</updated>
    <published>2015-02-12T11:56:34Z</published>
    <summary type="html">Hi Crist,&lt;br /&gt;&lt;br /&gt;I solved it by the way you said, seted this value in the client side and work fine the autentication with NTLM. &lt;br /&gt;&lt;br /&gt;Thanks a lot for your advise,</summary>
    <dc:creator>Domingo Martinez</dc:creator>
    <dc:date>2015-02-12T11:56:34Z</dc:date>
  </entry>
  <entry>
    <title>RE: NTLM authentication</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=48987455" />
    <author>
      <name>Chris Börgermann</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=48987455</id>
    <updated>2015-02-12T06:17:33Z</updated>
    <published>2015-02-12T06:17:33Z</published>
    <summary type="html">Same problem here.&lt;br /&gt;&lt;br /&gt;We had the opportunity to use a workaround by updating the local security policy.&lt;br /&gt;1. Click Start, in the Start Search box enter “gpedit.msc”&lt;br /&gt;2. Navigate to Computer Configuration-&amp;gt;Windows Settings-&amp;gt;Security Settings-&amp;gt;Local Policies-&amp;gt;Security Options.&lt;br /&gt;3. In the right pane, find &amp;#34;Network Security: LAN Manager Authentication Level&amp;#34; and double-click it.&lt;br /&gt;4. Change the setting from &amp;#34;Send NTMLv2 response only&amp;#34; to &amp;#34;Send LM &amp;amp; NTLM - use NTLMv2 session if negotiated&amp;#34;&lt;br /&gt;&lt;br /&gt;But I am still searching for the &amp;#34;correct&amp;#34; way.</summary>
    <dc:creator>Chris Börgermann</dc:creator>
    <dc:date>2015-02-12T06:17:33Z</dc:date>
  </entry>
  <entry>
    <title>RE: NTLM authentication</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=48389878" />
    <author>
      <name>Domingo Martinez</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=48389878</id>
    <updated>2015-01-29T20:42:52Z</updated>
    <published>2015-01-29T20:42:52Z</published>
    <summary type="html">Hi,&lt;br /&gt;Me too I´m trying configure NTML authentication in Liferay Portal Community Edition 6.2 CE GA2 (Newton / Build 6201 / March 20, 2014) with &lt;br /&gt;Microsoft Active Directory on Windows Server 2008 R2. This set &amp;#34;Send MTLMv2 response only&amp;#34; as netword security lan manager autentification level.&lt;br /&gt;&lt;br /&gt;And received the exeption &amp;#34;Session key negotiation failed&amp;#34;, how make to avoid this problem?,&lt;br /&gt;&lt;br /&gt;Thanks,</summary>
    <dc:creator>Domingo Martinez</dc:creator>
    <dc:date>2015-01-29T20:42:52Z</dc:date>
  </entry>
  <entry>
    <title>RE: NTLM authentication</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=17010903" />
    <author>
      <name>Jason Smith</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=17010903</id>
    <updated>2012-10-09T09:32:09Z</updated>
    <published>2012-10-09T09:32:09Z</published>
    <summary type="html">It seems to me, even though I&amp;#39;m trying to use NTLMv2, its still using NTLMv1.&lt;br /&gt;&lt;br /&gt;Or am I wrong?</summary>
    <dc:creator>Jason Smith</dc:creator>
    <dc:date>2012-10-09T09:32:09Z</dc:date>
  </entry>
  <entry>
    <title>RE: NTLM authentication</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=16934762" />
    <author>
      <name>Jason Smith</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=16934762</id>
    <updated>2012-10-05T13:29:01Z</updated>
    <published>2012-10-05T13:29:01Z</published>
    <summary type="html">Is liferay 6.1 GA2 supposed to work with NTLMv2 and Microsoft AD 2008 R2?&lt;br /&gt;&lt;br /&gt;I read:&lt;br /&gt;http://www.windowsecurity.com/articles/Protect-Weak-Authentication-Protocols-Passwords.html&lt;br /&gt;&lt;br /&gt;When I got security policy &amp;#34;Send NTLMv2 response only/refuse LM&amp;#34; in Domain Controller, everything works fine.&lt;br /&gt;When I put &amp;#34;Send NTLMv2 response only/refuse LM &amp;amp; NTLM&amp;#34; to Domain Controller, it stops working and IE 9 starts poping up username and password dialog.&lt;br /&gt;&lt;br /&gt;Liferay property is set to default:&lt;br /&gt;    ntlm.auth.negotiate.flags=0x600FFFFF&lt;br /&gt;&lt;br /&gt;Anybody know where is the problem?&lt;br /&gt;&lt;br /&gt;By changing the security policy to be more strict, I get the following exception:&lt;br /&gt;&lt;br /&gt;16:09:53,111 ERROR [NtlmFilter:235] Unable to perform NTLM authentication&lt;br /&gt;com.liferay.portal.security.ntlm.NtlmLogonException: Unable to authenticate due to communication failure with server&lt;br /&gt;        at com.liferay.portal.security.ntlm.Netlogon.logon(Netlogon.java:96)&lt;br /&gt;        at com.liferay.portal.security.ntlm.NtlmManager.authenticate(NtlmManager.java:69)&lt;br /&gt;        at com.liferay.portal.servlet.filters.sso.ntlm.NtlmFilter.processFilter(NtlmFilter.java:230)&lt;br /&gt;        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)&lt;br /&gt;        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)&lt;br /&gt;        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)&lt;br /&gt;        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)&lt;br /&gt;        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)&lt;br /&gt;        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)&lt;br /&gt;        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:187)&lt;br /&gt;        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)&lt;br /&gt;..........&lt;br /&gt;Caused by: jcifs.smb.SmbAuthException: Logon failure: unknown user name or bad password.&lt;br /&gt;        at jcifs.smb.SmbTransport.checkStatus(SmbTransport.java:528)&lt;br /&gt;        at jcifs.smb.SmbTransport.send(SmbTransport.java:645)&lt;br /&gt;        at jcifs.smb.SmbSession.sessionSetup(SmbSession.java:322)&lt;br /&gt;        at jcifs.smb.SmbSession.send(SmbSession.java:224)&lt;br /&gt;        at jcifs.smb.SmbTree.treeConnect(SmbTree.java:176)&lt;br /&gt;        at jcifs.smb.SmbFile.doConnect(SmbFile.java:906)&lt;br /&gt;        at jcifs.smb.SmbFile.connect(SmbFile.java:949)&lt;br /&gt;        at jcifs.smb.SmbFile.connect0(SmbFile.java:875)&lt;br /&gt;        at jcifs.smb.SmbFileInputStream.&amp;lt;init&amp;gt;(SmbFileInputStream.java:76)&lt;br /&gt;        at jcifs.smb.TransactNamedPipeInputStream.&amp;lt;init&amp;gt;(TransactNamedPipeInputStream.java:38)&lt;br /&gt;        at jcifs.smb.SmbNamedPipe.getNamedPipeInputStream(SmbNamedPipe.java:166)&lt;br /&gt;        at jcifs.dcerpc.DcerpcPipeHandle.doSendFragment(DcerpcPipeHandle.java:66)&lt;br /&gt;        at jcifs.dcerpc.DcerpcHandle.sendrecv(DcerpcHandle.java:181)&lt;br /&gt;        at jcifs.dcerpc.DcerpcHandle.bind(DcerpcHandle.java:126)&lt;br /&gt;        at com.liferay.portal.security.ntlm.NetlogonConnection.connect(NetlogonConnection.java:88)&lt;br /&gt;        at com.liferay.portal.security.ntlm.Netlogon.logon(Netlogon.java:50)&lt;br /&gt;        ... 68 more</summary>
    <dc:creator>Jason Smith</dc:creator>
    <dc:date>2012-10-05T13:29:01Z</dc:date>
  </entry>
  <entry>
    <title>RE: NTLM authentication</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=8334756" />
    <author>
      <name>Patrice Laramee</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=8334756</id>
    <updated>2011-04-21T19:51:41Z</updated>
    <published>2011-04-21T19:51:41Z</published>
    <summary type="html">Forgot to mention, I was using Windows Server 2003.</summary>
    <dc:creator>Patrice Laramee</dc:creator>
    <dc:date>2011-04-21T19:51:41Z</dc:date>
  </entry>
  <entry>
    <title>RE: NTLM authentication</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=8307420" />
    <author>
      <name>Christopher Lui</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=8307420</id>
    <updated>2011-04-19T22:21:25Z</updated>
    <published>2011-04-19T22:21:25Z</published>
    <summary type="html">There is a known issue with NTLM authenticating with 2008 R2.&lt;br /&gt;&lt;br /&gt;See http://issues.liferay.com/browse/LPS-15380</summary>
    <dc:creator>Christopher Lui</dc:creator>
    <dc:date>2011-04-19T22:21:25Z</dc:date>
  </entry>
  <entry>
    <title>RE: NTLM authentication</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=8285083" />
    <author>
      <name>Patrice Laramee</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=8285083</id>
    <updated>2011-04-18T15:47:06Z</updated>
    <published>2011-04-18T15:47:06Z</published>
    <summary type="html">Hi,&lt;br /&gt;&lt;br /&gt;I had the same issue but I realized it was a configuration error..&lt;br /&gt;&lt;br /&gt;Here&amp;#39;s what I&amp;#39;ve done to fix it... The online documentation for NTML authentications is really outdated... It talks about NTLMv1 but in liferay 6+ it&amp;#39;s forced to NTLMv2.&lt;br /&gt;&lt;br /&gt;Two things to take into consideration:&lt;br /&gt;1- Make sure your PC will support NTLMv2 auth... This can be found in Control Pannel/Local Security Policies/*NTLM* (There&amp;#39;s more than one to check, but &amp;#39;Network Security: LAN Manager authentication level&amp;#39; should be set to &amp;#39;Send LM &amp;amp; NTLM - use NTLMv2 session security if negociated&amp;#39; (unsecure... I know! It&amp;#39;s for legacy Intranet support)&lt;br /&gt;2- Look at the configuration in liferay&lt;br /&gt;&lt;br /&gt;Domain Controller: IP to domain controller&lt;br /&gt;DOmain Controller Name: netbios name of the DC&lt;br /&gt;Domain: DOMAIN&lt;br /&gt;Service Account: A computer account&lt;br /&gt;Service Password: (triky to set, you will need a script provided by liferay)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Example call for the following script&lt;br /&gt;C:\liferay\&amp;gt;cscript setcomputerpass.vbs &amp;#34;CN=liferay,OU=computers,,dc=DOMAIN,dc=com&amp;#34;&lt;br /&gt;&lt;br /&gt;save it as SetComputerPass.vbs&lt;br /&gt;------------------ CODE --------------------- &lt;br /&gt;Option Explicit&lt;br /&gt;Dim strDn, objPassword, strPassword, objComputer&lt;br /&gt;&lt;br /&gt;If WScript.arguments.count &amp;lt;&amp;gt; 1 Then &lt;br /&gt;	WScript.Echo &amp;#34;Usage: SetComputerPass.vbs &amp;lt;ComputerDN&amp;gt;&amp;#34; &lt;br /&gt;	WScript.Quit &lt;br /&gt;End If&lt;br /&gt;&lt;br /&gt;strDn = WScript.arguments.item(0)&lt;br /&gt;&lt;br /&gt;Set objPassword = CreateObject(&amp;#34;ScriptPW.Password&amp;#34;) &lt;br /&gt;WScript.StdOut.Write &amp;#34;Password:&amp;#34; &lt;br /&gt;strPassword = objPassword.GetPassword() &lt;br /&gt;Set objComputer = GetObject(&amp;#34;LDAP://&amp;#34; &amp;amp; strDn) &lt;br /&gt;objComputer.SetPassword strPassword&lt;br /&gt;&lt;br /&gt;WScript.Echo &lt;br /&gt;WScript.Echo &amp;#34;Password set on &amp;#34; &amp;amp; strDn&lt;br /&gt;&lt;br /&gt;WScript.Quit&lt;br /&gt;------------------ CODE ---------------------&lt;br /&gt;&lt;br /&gt;There was a bug in the original script provided by liferay, I had to modify the original script.&lt;br /&gt;&lt;br /&gt;Hope it helps!&lt;br /&gt;-Pat</summary>
    <dc:creator>Patrice Laramee</dc:creator>
    <dc:date>2011-04-18T15:47:06Z</dc:date>
  </entry>
</feed>
