<?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>NTLM Problem</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=111493951" />
  <subtitle>NTLM Problem</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=111493951</id>
  <updated>2026-04-07T03:33:18Z</updated>
  <dc:date>2026-04-07T03:33:18Z</dc:date>
  <entry>
    <title>RE: NTLM Problem</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118347101" />
    <author>
      <name>Karthik Nainupatruni</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118347101</id>
    <updated>2020-01-28T04:43:27Z</updated>
    <published>2020-01-28T04:43:27Z</published>
    <summary type="html">Hi,&lt;br /&gt;System Service account  should end with $ in NTLM Liferay configuration as per the liferay source code.</summary>
    <dc:creator>Karthik Nainupatruni</dc:creator>
    <dc:date>2020-01-28T04:43:27Z</dc:date>
  </entry>
  <entry>
    <title>NTLM Problem</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111493950" />
    <author>
      <name>Lorenzo Leonori</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111493950</id>
    <updated>2018-11-08T17:41:15Z</updated>
    <published>2018-11-08T17:41:15Z</published>
    <summary type="html">&lt;p&gt;2018-11-08 17:22:51.260 ERROR [http-nio-8080-exec-5][NtlmFilter:62]
  java.lang.StringIndexOutOfBoundsException: String index out of range:
  -1&lt;br /&gt; java.lang.StringIndexOutOfBoundsException: String index out
  of range: -1&lt;br /&gt;         at java.lang.String.substring(Unknown
  Source)&lt;br /&gt;         at
  com.liferay.portal.security.sso.ntlm.internal.NtlmServiceAccount.setAccount(NtlmServiceAccount.java:49)&lt;br /&gt;
          at
  com.liferay.portal.security.sso.ntlm.internal.NtlmServiceAccount.&amp;lt;init&amp;gt;(NtlmServiceAccount.java:26)&lt;br /&gt;
          at
  com.liferay.portal.security.sso.ntlm.internal.NtlmManager.setConfiguration(NtlmManager.java:126)&lt;br /&gt;
          at
  com.liferay.portal.security.sso.ntlm.internal.NtlmManager.&amp;lt;init&amp;gt;(NtlmManager.java:46)&lt;br /&gt;
          at
  com.liferay.portal.security.sso.ntlm.internal.servlet.filter.NtlmFilter.getNtlmManager(NtlmFilter.java:192)&lt;br /&gt;
          at
  com.liferay.portal.security.sso.ntlm.internal.servlet.filter.NtlmFilter.processFilter(NtlmFilter.java:247)&lt;br /&gt;
          at
  com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)&lt;br /&gt;
          at
  com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)&lt;br /&gt;
          at
  com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)&lt;br /&gt;
          at
  com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)&lt;br /&gt;
          at
  com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:88)&lt;br /&gt;
          at
  com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)&lt;br /&gt;
          at
  com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)&lt;br /&gt;
          at
  com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)&lt;br /&gt;
          at
  com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)&lt;br /&gt;
          at
  com.liferay.portal.monitoring.internal.servlet.filter.MonitoringFilter.processFilter(MonitoringFilter.java:181)&lt;br /&gt;
          at
  com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)&lt;br /&gt;
          at
  com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)&lt;br /&gt;
          at
  com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)&lt;br /&gt;
          at
  com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)&lt;br /&gt;
          at
  com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)&lt;br /&gt;
          at
  com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)&lt;br /&gt;
          at
  com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)&lt;br /&gt;
          at
  org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)&lt;br /&gt;
          at
  org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)&lt;br /&gt;
          at
  org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)&lt;br /&gt;
          at
  org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)&lt;br /&gt;
          at
  com.liferay.portal.servlet.filters.urlrewrite.UrlRewriteFilter.processFilter(UrlRewriteFilter.java:65)&lt;br /&gt;
          at
  com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)&lt;br /&gt;
          at
  com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)&lt;br /&gt;
          at
  com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)&lt;br /&gt;
          at
  com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168)&lt;br /&gt;
          at
  com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)&lt;br /&gt;
          at
  com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168)&lt;br /&gt;
          at
  com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)&lt;br /&gt;
          at
  com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)&lt;br /&gt;
          at
  com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)&lt;br /&gt;
          at
  com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:100)&lt;br /&gt;
          at
  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)&lt;br /&gt;
          at
  org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)&lt;br /&gt;
          at
  org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)&lt;br /&gt;
          at
  org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)&lt;br /&gt;
          at
  org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:494)&lt;br /&gt;
          at
  org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)&lt;br /&gt;
          at
  org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)&lt;br /&gt;
          at
  org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:651)&lt;br /&gt;
          at
  org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)&lt;br /&gt;
          at
  org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)&lt;br /&gt;
          at
  org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:407)&lt;br /&gt;
          at
  org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)&lt;br /&gt;
          at
  org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:754)&lt;br /&gt;
          at
  org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1376)&lt;br /&gt;
          at
  org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)&lt;br /&gt;
          at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown
  Source)&lt;br /&gt;         at
  java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
  Source)&lt;br /&gt;         at
  org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)&lt;br /&gt;
          at java.lang.Thread.run(Unknown Source)&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;How to resolve this problem? I've prove to configuring intranet, whit
  LDAP (already configured) and NTLM for single sign on, but I found
  this problem.&lt;/p&gt;
&lt;p&gt;I've this problem when a user log into a pc in intranet and log into liferay.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I've another answer: How to debug NTLM problem? Because for watch
  this error I must insert a new category log
    level like: &lt;strong&gt;com.liferay.portal.security.sso.ntlm. &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;It's correct?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Reguard to every one.&lt;/p&gt;</summary>
    <dc:creator>Lorenzo Leonori</dc:creator>
    <dc:date>2018-11-08T17:41:15Z</dc:date>
  </entry>
</feed>
