<?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>question Re: com.cloudera.server.web.cmf.CmfLdapAuthenticationProvider: LDAP/AD authentication failed in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/com-cloudera-server-web-cmf-CmfLdapAuthenticationProvider/m-p/79796#M7253</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/12078"&gt;@Jayesh Seshadri&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any limitation on the character size or special characters in the password that are not allowed ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the same issue and switching to ldap also does not work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After looking firther, I am able to login with my password, however when i try with a functional user where the username is&amp;nbsp; "abc_efg_scd_dfc" password is&amp;nbsp; &amp;nbsp;"a61Odc7zxxaGArlSInIUYu-iq"&amp;nbsp; it does not work&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do the username/password have any limitations ?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Sep 2018 20:53:06 GMT</pubDate>
    <dc:creator>desind</dc:creator>
    <dc:date>2018-09-13T20:53:06Z</dc:date>
    <item>
      <title>com.cloudera.server.web.cmf.CmfLdapAuthenticationProvider: LDAP/AD authentication failed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/com-cloudera-server-web-cmf-CmfLdapAuthenticationProvider/m-p/31656#M7250</link>
      <description>&lt;P&gt;External authentication with active directory is working for ALL users except one ID. Other users in the same group can access cloudera manager too.&lt;/P&gt;&lt;P&gt;Getting following error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this user's active directory setting issue?&lt;/P&gt;&lt;P&gt;Is this a bug?&lt;/P&gt;&lt;P&gt;Am I missing some setting in cloudera manager?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2015-09-08 16:36:17,767 INFO 1305153855@scm-web-14:org.springframework.security.ldap.SpringSecurityLdapTemplate: Ignoring PartialResultException&lt;BR /&gt;2015-09-08 16:36:17,767 ERROR 1305153855@scm-web-14:com.cloudera.server.web.cmf.CmfLdapAuthenticationProvider: LDAP/AD authentication failed&lt;BR /&gt;org.springframework.dao.IncorrectResultSizeDataAccessException: Incorrect result size: expected 1, actual 0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.springframework.security.ldap.SpringSecurityLdapTemplate.searchForSingleEntryInternal(SpringSecurityLdapTemplate.java:239)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.springframework.security.ldap.authentication.ad.ActiveDirectoryLdapAuthenticationProvider.searchForUser(ActiveDirectoryLdapAuthenticationProvider.java:258)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.springframework.security.ldap.authentication.ad.ActiveDirectoryLdapAuthenticationProvider.doAuthentication(ActiveDirectoryLdapAuthenticationProvider.java:114)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.springframework.security.ldap.authentication.AbstractLdapAuthenticationProvider.authenticate(AbstractLdapAuthenticationProvider.java:61)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.cloudera.server.web.cmf.CmfLdapAuthenticationProvider.authenticate(CmfLdapAuthenticationProvider.java:104)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:156)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:174)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter.attemptAuthentication(UsernamePasswordAuthenticationFilter.java:94)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:194)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.springframework.security.web.session.ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:125)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:767)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.mortbay.jetty.handler.StatisticsHandler.handle(StatisticsHandler.java:53)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.mortbay.jetty.Server.handle(Server.java:326)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)&lt;BR /&gt;2015-09-08 16:36:17,771 INFO 1305153855@scm-web-14:com.cloudera.server.web.cmf.AuthenticationFailureEventListener: Authentication failure for user: user123&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:40:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/com-cloudera-server-web-cmf-CmfLdapAuthenticationProvider/m-p/31656#M7250</guid>
      <dc:creator>nkumari</dc:creator>
      <dc:date>2022-09-16T09:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: com.cloudera.server.web.cmf.CmfLdapAuthenticationProvider: LDAP/AD authentication failed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/com-cloudera-server-web-cmf-CmfLdapAuthenticationProvider/m-p/31670#M7251</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe this is likely a configuration issue with your Active Directory (AD) installation, and how ClouderaMmanager uses Spring.&lt;/P&gt;&lt;P&gt;The key is the first line to diagnosing this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;2015-09-08 16:36:17,767 INFO 1305153855@scm-web-14:org.springframework.security.ldap.SpringSecurityLdapTemplate: Ignoring PartialResultException&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This might happen if your AD is configured to allow referrals, and this user who has trouble logging in is in a different&amp;nbsp;&lt;/P&gt;&lt;P&gt;AD CN or directory partition than the AD instance&amp;nbsp;currently configured for use with your CM.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The utility we use does not currently support following LDAP referrals.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2015 05:53:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/com-cloudera-server-web-cmf-CmfLdapAuthenticationProvider/m-p/31670#M7251</guid>
      <dc:creator>Jayesh Seshadri</dc:creator>
      <dc:date>2015-09-10T05:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: com.cloudera.server.web.cmf.CmfLdapAuthenticationProvider: LDAP/AD authentication failed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/com-cloudera-server-web-cmf-CmfLdapAuthenticationProvider/m-p/31736#M7252</link>
      <description>&lt;P&gt;Thanks for the reponse!&lt;/P&gt;&lt;P&gt;My issue is resolved.&lt;/P&gt;&lt;P&gt;Issue:&lt;/P&gt;&lt;P&gt;When Active directory is selected the spring providers were converting the userID to UserPrincipalName by appending @domain.&lt;/P&gt;&lt;P&gt;user123 was converted to user123@xyz.corp.com and being authenticated against active directory.&lt;/P&gt;&lt;P&gt;For some employess UserPrincipal name was different. It was user1234@newXYZ.com.&lt;/P&gt;&lt;P&gt;That's why it was working for some users and not others even if they were in same group which was granted access.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Solution:&lt;/P&gt;&lt;P&gt;We did not want to customize or update the srping code\xml files. So instead of "Active Directory" option we selected "LDAP".&lt;/P&gt;&lt;P&gt;Had to add the bind user and password.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2015 16:57:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/com-cloudera-server-web-cmf-CmfLdapAuthenticationProvider/m-p/31736#M7252</guid>
      <dc:creator>nkumari</dc:creator>
      <dc:date>2015-09-11T16:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: com.cloudera.server.web.cmf.CmfLdapAuthenticationProvider: LDAP/AD authentication failed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/com-cloudera-server-web-cmf-CmfLdapAuthenticationProvider/m-p/79796#M7253</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/12078"&gt;@Jayesh Seshadri&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any limitation on the character size or special characters in the password that are not allowed ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the same issue and switching to ldap also does not work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After looking firther, I am able to login with my password, however when i try with a functional user where the username is&amp;nbsp; "abc_efg_scd_dfc" password is&amp;nbsp; &amp;nbsp;"a61Odc7zxxaGArlSInIUYu-iq"&amp;nbsp; it does not work&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do the username/password have any limitations ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Sep 2018 20:53:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/com-cloudera-server-web-cmf-CmfLdapAuthenticationProvider/m-p/79796#M7253</guid>
      <dc:creator>desind</dc:creator>
      <dc:date>2018-09-13T20:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: com.cloudera.server.web.cmf.CmfLdapAuthenticationProvider: LDAP/AD authentication failed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/com-cloudera-server-web-cmf-CmfLdapAuthenticationProvider/m-p/79851#M7254</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/21997"&gt;@desind&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No limit that I know of on the CM side.&lt;/P&gt;&lt;P&gt;Please start a new thread and provide your LDAP configuration, what happens in the logs and also the "abc_efg_scd_dfc" user LDIF entry.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are lots of reasons for failures, so it is important we start with what you observe and the items involved.&lt;/P&gt;</description>
      <pubDate>Sat, 15 Sep 2018 00:57:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/com-cloudera-server-web-cmf-CmfLdapAuthenticationProvider/m-p/79851#M7254</guid>
      <dc:creator>bgooley</dc:creator>
      <dc:date>2018-09-15T00:57:06Z</dc:date>
    </item>
  </channel>
</rss>

