<?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: Apache NIFI Integration with LDAP Issue in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Apache-NIFI-Integration-with-LDAP-Issue/m-p/337038#M232470</link>
    <description>&lt;P&gt;Great .. This works&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":man_dancing:"&gt;🕺&lt;/span&gt;Thank you&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/11191"&gt;@araujo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 24 Feb 2022 15:49:48 GMT</pubDate>
    <dc:creator>STK</dc:creator>
    <dc:date>2022-02-24T15:49:48Z</dc:date>
    <item>
      <title>Apache NIFI Integration with LDAP Issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-NIFI-Integration-with-LDAP-Issue/m-p/336945#M232435</link>
      <description>&lt;P&gt;HI,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having an issue in LDAP integration with NIFI version 1.15.3.&lt;/P&gt;&lt;P&gt;I can able to login the admin screen, i added policy for "modify component". but when i drag and drop the process or process group into the screen. it appear in read only ( with doted line). in the log it is saying&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;"Unable to find access policy for write on /process-groups/2740a80a-017f-1000-a4b3-70d6580cdb38. Returning Not Found response"&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-02-23 at 10.08.39 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/33674i598CB10C8051378C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2022-02-23 at 10.08.39 PM.png" alt="Screen Shot 2022-02-23 at 10.08.39 PM.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;My configuration below&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;login-identity-providers.xml&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&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=ae,dc=test,dc=com&amp;lt;/property&amp;gt;
        &amp;lt;property name="Manager Password"&amp;gt;a@psswd&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://ldapurl.com:389&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Search Base"&amp;gt;dc=ae,dc=tt,dc=com&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Search Filter"&amp;gt;uid={0}&amp;lt;/property&amp;gt;

        &amp;lt;property name="Identity Strategy"&amp;gt;USE_DN&amp;lt;/property&amp;gt; 

        &amp;lt;property name="Authentication Expiration"&amp;gt;12 hours&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;authorizers.xml&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;&amp;lt;/property&amp;gt;
  
    &amp;lt;/userGroupProvider&amp;gt;
     &amp;lt;userGroupProvider&amp;gt;
        &amp;lt;identifier&amp;gt;ldap-user-group-provider&amp;lt;/identifier&amp;gt;
        &amp;lt;class&amp;gt;org.apache.nifi.ldap.tenants.LdapUserGroupProvider&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=ae,dc=test,dc=com&amp;lt;/property&amp;gt;
        &amp;lt;property name="Manager Password"&amp;gt;passwd&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://ldapurl.com:389&amp;lt;/property&amp;gt;
        &amp;lt;property name="Page Size"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="Sync Interval"&amp;gt;30 mins&amp;lt;/property&amp;gt;
        &amp;lt;property name="Group Membership - Enforce Case Sensitivity"&amp;gt;false&amp;lt;/property&amp;gt;

        &amp;lt;property name="User Search Base"&amp;gt;ou=users,dc=ae,dc=test,dc=com&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 Search Filter"&amp;gt;(uid=*)&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Identity Attribute"&amp;gt;cn&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Group Name Attribute"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Group Name Attribute - Referenced Group Attribute"&amp;gt;&amp;lt;/property&amp;gt;

        &amp;lt;property name="Group Search Base"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="Group Object Class"&amp;gt;posixGroup&amp;lt;/property&amp;gt;
        &amp;lt;property name="Group Search Scope"&amp;gt;ONE_LEVEL&amp;lt;/property&amp;gt;
        &amp;lt;property name="Group Search Filter"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="Group Name Attribute"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="Group Member Attribute"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="Group Member Attribute - Referenced User Attribute"&amp;gt;&amp;lt;/property&amp;gt;
    &amp;lt;/userGroupProvider&amp;gt;
    &amp;lt;userGroupProvider&amp;gt;
       &amp;lt;identifier&amp;gt;composite-configurable-user-group-provider&amp;lt;/identifier&amp;gt;
       &amp;lt;class&amp;gt;org.apache.nifi.authorization.CompositeConfigurableUserGroupProvider&amp;lt;/class&amp;gt;
       &amp;lt;property name="Configurable User Group Provider"&amp;gt;file-user-group-provider&amp;lt;/property&amp;gt;
       &amp;lt;property name="User Group Provider 1"&amp;gt;ldap-user-group-provider&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;composite-configurable-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;admin&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="Access Policy Provider"&amp;gt;file-access-policy-provider&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;nifi.properties&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# cluster node properties (only configure for cluster nodes) #
nifi.cluster.is.node=false
nifi.cluster.node.address=
nifi.cluster.node.protocol.port=
nifi.cluster.node.protocol.max.threads=50
nifi.cluster.node.event.history.size=25
nifi.cluster.node.connection.timeout=5 sec
nifi.cluster.node.read.timeout=5 sec
nifi.cluster.node.max.concurrent.requests=100
nifi.cluster.firewall.file=

nifi.security.autoreload.enabled=false
nifi.security.autoreload.interval=10 secs
nifi.security.keystore=./conf/keystore.jks
nifi.security.keystoreType=jks
nifi.security.keystorePasswd=0qIPg+dsdassfsff/alLIAP0KzS7Wug
nifi.security.keyPasswd=0qIPg+dfsdfsdds/alLIAP0KzS7Wug
nifi.security.truststore=./conf/truststore.jks
nifi.security.truststoreType=jks
nifi.security.truststorePasswd=Vj1hmYot5b+adfsfdssdf/Ep+jVBH37O7E
nifi.security.user.authorizer=managed-authorizer
nifi.security.allow.anonymous.authentication=false
nifi.security.user.login.identity.provider=ldap-provider
nifi.security.user.jws.key.rotation.period=PT1H

nifi.security.identity.mapping.pattern.dn=^cn=(.*?),ou=(.*?),dc=(.*?),dc=(.*?),dc=(.*?)$
nifi.security.identity.mapping.value.dn=$1
nifi.security.identity.mapping.transform.dn=NONE&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure what is wrong here. not able to create process group.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 03:21:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-NIFI-Integration-with-LDAP-Issue/m-p/336945#M232435</guid>
      <dc:creator>STK</dc:creator>
      <dc:date>2022-02-24T03:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: Apache NIFI Integration with LDAP Issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-NIFI-Integration-with-LDAP-Issue/m-p/336986#M232450</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/96063"&gt;@STK&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your user probably has been granted two policies:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The global "view the user interface" policy, which you can access via the Policies menu:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="araujo_0-1645695792143.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/33680i07878D3B6406C2CE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="araujo_0-1645695792143.png" alt="araujo_0-1645695792143.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;The "Modify component" policy that you configure for the root "NiFi Flow" process group component:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="araujo_2-1645695938109.png" style="width: 294px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/33682i87387812BFB4924A/image-dimensions/294x181?v=v2" width="294" height="181" role="button" title="araujo_2-1645695938109.png" alt="araujo_2-1645695938109.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="araujo_3-1645695988398.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/33683iF9D3FF306A1F5C60/image-size/medium?v=v2&amp;amp;px=400" role="button" title="araujo_3-1645695988398.png" alt="araujo_3-1645695988398.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your user&amp;nbsp;is probably missing the "view the component" policy for the NiFi Flow process group:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="araujo_4-1645696068916.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/33684iDDAD5FE66A719538/image-size/medium?v=v2&amp;amp;px=400" role="button" title="araujo_4-1645696068916.png" alt="araujo_4-1645696068916.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try granting this and see if it resolves your problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 09:48:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-NIFI-Integration-with-LDAP-Issue/m-p/336986#M232450</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2022-02-24T09:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: Apache NIFI Integration with LDAP Issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-NIFI-Integration-with-LDAP-Issue/m-p/337038#M232470</link>
      <description>&lt;P&gt;Great .. This works&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":man_dancing:"&gt;🕺&lt;/span&gt;Thank you&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/11191"&gt;@araujo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 15:49:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-NIFI-Integration-with-LDAP-Issue/m-p/337038#M232470</guid>
      <dc:creator>STK</dc:creator>
      <dc:date>2022-02-24T15:49:48Z</dc:date>
    </item>
  </channel>
</rss>

