Really appreciate if you can guide here.
Our ldap structure is as below. user 1 : CN=user1,OU=nonAssociates,OU=usersAndGroups,DC=adomain,DC=company,DC=com user 2 : CN=user2,OU=Associates,OU=usersAndGroups,DC=adomain,DC=company,DC=com
Now in the authorizers.xml configuration when I give below, it works fine. But it gets only user1.
<property name="User Search Base">OU=nonAssociates,OU=usersAndGroups,DC=adomain,DC=company,DC=com</property> <property name="User Object Class">user</property> <property name="User Search Scope">SUBTREE</property> <property name="User Search Filter"></property> <property name="User Identity Attribute">cn</property> <property name="User Group Name Attribute">CN</property> <property name="User Group Name Attribute - Referenced Group Attribute"></property>
When I give below to consider both the users, NIFI is not staring up. It doesn't have any errors either.
<property name="User Search Base">OU=usersAndGroups,DC=adomain,DC=company,DC=com</property> <property name="User Object Class">user</property> <property name="User Search Scope">SUBTREE</property> <property name="User Search Filter"></property> <property name="User Identity Attribute">cn</property> <property name="User Group Name Attribute">CN</property> <property name="User Group Name Attribute - Referenced Group Attribute"></property>
Can you please help understanding how i can get both user1 and user2. My thought was i only need to change the search base to OU=usersAndGroups,DC=adomain,DC=company,DC=com. THere are no errors in the DEBUG log when i use the search base as OU=usersAndGroups,DC=adomain,DC=company,DC=com.
But it keeps saying below indefinitely.
DEBUG [Listen to Bootstrap] org.apache.nifi.BootstrapListener Listening for Bootstrap Requests 2020-10-04 12:01:31,575 DEBUG [Listen to Bootstrap] org.apache.nifi.BootstrapListener Listening for Bootstrap Requests 2020-10-04 12:01:33,577 DEBUG [Listen to Bootstrap] org.apache.nifi.BootstrapListener Listening for Bootstrap Requests 2020-10-04 12:01:35,579 DEBUG [Listen to Bootstrap] org.apache.nifi.BootstrapListener Listening for Bootstrap Requests
Thanks Ashwin