Mimi Kimball created NIFI-672:
---------------------------------

             Summary: Documentation: Admin Guide-Controlling Levels of Access 
example incorrect
                 Key: NIFI-672
                 URL: https://issues.apache.org/jira/browse/NIFI-672
             Project: Apache NiFi
          Issue Type: Bug
            Reporter: Mimi Kimball
            Priority: Trivial


This text has an error in it: 


It is only necessary to manually add one user, the ADMIN user, to this file. 
So, at a minimum, the following example entry should be included and contain 
the user Distinguished Name (DN) in place of "user dn - read only and admin":

<users>
    <user dn="[user dn - read only and admin]">
        <role name="ROLE_ADMIN"/>
    </user>
</users>

Here is an example entry using the name John Smith:

<users>
    <user dn="[cn=John Smith,ou=people,dc=example,dc=com]">
        <role name="ROLE_ADMIN"/>
    </user>
</users>

************************************************************************************
The error is the brackets. To get the secure NiFi set up with role-based 
access, the DN needs to be set withOUT the square brackets. So, here's the 
correct syntax and example: 
<user dn="cn=John Smith,ou=people,dc=example,dc=com">



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to