<?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: Trying to integrate Nifi with ldap gives the supplied username and password are not valid. in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Trying-to-integrate-Nifi-with-ldap-gives-the-supplied/m-p/376451#M242919</link>
    <description>&lt;P&gt;Congratulations on resolving the issue and thanks for sharing the solution.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Sep 2023 13:11:26 GMT</pubDate>
    <dc:creator>cjervis</dc:creator>
    <dc:date>2023-09-18T13:11:26Z</dc:date>
    <item>
      <title>Trying to integrate Nifi with ldap gives the supplied username and password are not valid.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Trying-to-integrate-Nifi-with-ldap-gives-the-supplied/m-p/376420#M242908</link>
      <description>&lt;P&gt;Here is my&amp;nbsp; login-identity-providers.xml&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;provider&amp;gt;
&amp;lt;identifier&amp;gt;ldap-provider&amp;lt;/identifier&amp;gt;
&amp;lt;class&amp;gt;org.apache.nifi.ldap.LdapProvider&amp;lt;/class&amp;gt;
&amp;lt;property name="Authentication Strategy"&amp;gt;SIMPLE&amp;lt;/property&amp;gt;
&amp;lt;property name="Manager DN"&amp;gt;cn=admin,dc=example,dc=com&amp;lt;/property&amp;gt;
&amp;lt;property name="Manager Password"&amp;gt;secret&amp;lt;/property&amp;gt;
&amp;lt;property name="TLS - Keystore"&amp;gt;&amp;lt;/property&amp;gt;
&amp;lt;property name="TLS - Keystore Password"&amp;gt;&amp;lt;/property&amp;gt;
&amp;lt;property name="TLS - Keystore Type"&amp;gt;&amp;lt;/property&amp;gt;
&amp;lt;property name="TLS - Truststore"&amp;gt;&amp;lt;/property&amp;gt;
&amp;lt;property name="TLS - Truststore Password"&amp;gt;&amp;lt;/property&amp;gt;
&amp;lt;property name="TLS - Truststore Type"&amp;gt;&amp;lt;/property&amp;gt;
&amp;lt;property name="TLS - Client Auth"&amp;gt;&amp;lt;/property&amp;gt;
&amp;lt;property name="TLS - Protocol"&amp;gt;&amp;lt;/property&amp;gt;
&amp;lt;property name="TLS - Shutdown Gracefully"&amp;gt;&amp;lt;/property&amp;gt;
&amp;lt;property name="Referral Strategy"&amp;gt;FOLLOW&amp;lt;/property&amp;gt;
&amp;lt;property name="Connect Timeout"&amp;gt;10 secs&amp;lt;/property&amp;gt;
&amp;lt;property name="Read Timeout"&amp;gt;10 secs&amp;lt;/property&amp;gt;
&amp;lt;property name="Url"&amp;gt;ldap://localhost:389&amp;lt;/property&amp;gt;
&amp;lt;property name="User Search Base"&amp;gt;cn=vishnu,cn=admin,dc=example,dc=com&amp;lt;/property&amp;gt;
&amp;lt;property name="User Search Filter"&amp;gt;(objectClass=*)&amp;lt;/property&amp;gt;
&amp;lt;property name="Identity Strategy"&amp;gt;USE_USERNAME&amp;lt;/property&amp;gt;
&amp;lt;property name="Authentication Expiration"&amp;gt;12 hours&amp;lt;/property&amp;gt;
&amp;lt;property name="User Object Class"&amp;gt;person&amp;lt;/property&amp;gt;
&amp;lt;property name="User Search Scope"&amp;gt;ONE_LEVEL&amp;lt;/property&amp;gt;
&amp;lt;property name="User Identity Attribute"&amp;gt;cn&amp;lt;/property&amp;gt;
&amp;lt;/provider&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The authorizers is shown below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;userGroupProvider&amp;gt;
&amp;lt;identifier&amp;gt;file-user-group-provider&amp;lt;/identifier&amp;gt;
&amp;lt;class&amp;gt;org.apache.nifi.authorization.FileUserGroupProvider&amp;lt;/class&amp;gt;
&amp;lt;property name="Users File"&amp;gt;./conf/users.xml&amp;lt;/property&amp;gt;
&amp;lt;property name="Legacy Authorized Users File"&amp;gt;&amp;lt;/property&amp;gt;
&amp;lt;property name="Initial User Identity 1"&amp;gt;cn=vishnu,cn=admin,dc=example,dc=com&amp;lt;/property&amp;gt;
&amp;lt;/userGroupProvider&amp;gt;

&amp;lt;accessPolicyProvider&amp;gt;
&amp;lt;identifier&amp;gt;file-access-policy-provider&amp;lt;/identifier&amp;gt;
&amp;lt;class&amp;gt;org.apache.nifi.authorization.FileAccessPolicyProvider&amp;lt;/class&amp;gt;
&amp;lt;property name="User Group Provider"&amp;gt;file-user-group-provider&amp;lt;/property&amp;gt;
&amp;lt;property name="Authorizations File"&amp;gt;./conf/authorizations.xml&amp;lt;/property&amp;gt;
&amp;lt;property name="Initial Admin Identity"&amp;gt;cn=vishnu,cn=admin,dc=example,dc=com&amp;lt;/property&amp;gt;
&amp;lt;property name="Legacy Authorized Users File"&amp;gt;&amp;lt;/property&amp;gt;
&amp;lt;property name="Node Identity 1"&amp;gt;&amp;lt;/property&amp;gt;
&amp;lt;property name="Node Group"&amp;gt;&amp;lt;/property&amp;gt;
&amp;lt;/accessPolicyProvider&amp;gt;

&amp;lt;authorizer&amp;gt;
&amp;lt;identifier&amp;gt;managed-authorizer&amp;lt;/identifier&amp;gt;
&amp;lt;class&amp;gt;org.apache.nifi.authorization.StandardManagedAuthorizer&amp;lt;/class&amp;gt;
&amp;lt;property name="User Group Provider"&amp;gt;ldap-user-group-provider&amp;lt;/property&amp;gt;
&amp;lt;property name="Access Policy Provider"&amp;gt;file-access-policy-provider&amp;lt;/property&amp;gt;
&amp;lt;property name="Initial Admin Identity"&amp;gt;cn=vishnu,cn=admin,dc=example,dc=com&amp;lt;/property&amp;gt;
&amp;lt;property name="Legacy Authorized Users File"&amp;gt;&amp;lt;/property&amp;gt;
&amp;lt;property name="Node Identity 1"&amp;gt;&amp;lt;/property&amp;gt;
&amp;lt;/authorizer&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The&amp;nbsp; following values of&amp;nbsp; properties are updated&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;nifi.login.identity.provider.configuration.file=./conf/login-identity-providers.xml&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the view of LDAP from Apache Directory studio.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pacman_0-1694899261152.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/38466i6DE5A24AE53D7121/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pacman_0-1694899261152.png" alt="pacman_0-1694899261152.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Currently there is only one user in that search base. Can someone help identify why the authentication is failing? I referred other articles within Cloudera community and outside but none seem to be working.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Sep 2023 21:36:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Trying-to-integrate-Nifi-with-ldap-gives-the-supplied/m-p/376420#M242908</guid>
      <dc:creator>pacman</dc:creator>
      <dc:date>2023-09-16T21:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to integrate Nifi with ldap gives the supplied username and password are not valid.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Trying-to-integrate-Nifi-with-ldap-gives-the-supplied/m-p/376427#M242912</link>
      <description>&lt;P&gt;After some more time of debugging, looks like all the configurations where correct. The password for the configured user was wrong in LDAP causing the issue.&lt;/P&gt;</description>
      <pubDate>Sun, 17 Sep 2023 10:09:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Trying-to-integrate-Nifi-with-ldap-gives-the-supplied/m-p/376427#M242912</guid>
      <dc:creator>pacman</dc:creator>
      <dc:date>2023-09-17T10:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to integrate Nifi with ldap gives the supplied username and password are not valid.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Trying-to-integrate-Nifi-with-ldap-gives-the-supplied/m-p/376451#M242919</link>
      <description>&lt;P&gt;Congratulations on resolving the issue and thanks for sharing the solution.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2023 13:11:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Trying-to-integrate-Nifi-with-ldap-gives-the-supplied/m-p/376451#M242919</guid>
      <dc:creator>cjervis</dc:creator>
      <dc:date>2023-09-18T13:11:26Z</dc:date>
    </item>
  </channel>
</rss>

