[
https://issues.apache.org/jira/browse/NIFI-5948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16739859#comment-16739859
]
Juan Pablo Converso commented on NIFI-5948:
-------------------------------------------
Hi!
I checked out nifi-app.log but the action produce no stacktrace there. In
nifi-user.log this is displayed when I hit the error:
2019-01-10 23:21:52,524 INFO [NiFi Web Server-846]
o.a.n.w.s.NiFiAuthenticationFilter Attempting request for (<JWT token>) GET
https://localhost:8443/nifi-api/flow/client-id (source ip: 127.0.0.1)
2019-01-10 23:21:52,524 INFO [NiFi Web Server-834]
o.a.n.w.s.NiFiAuthenticationFilter Attempting request for (<JWT token>) GET
https://localhost:8443/nifi-api/flow/config (source ip: 127.0.0.1)
2019-01-10 23:21:52,524 INFO [NiFi Web Server-846]
o.a.n.w.s.NiFiAuthenticationFilter Authentication success for jpconver
2019-01-10 23:21:52,525 INFO [NiFi Web Server-834]
o.a.n.w.s.NiFiAuthenticationFilter Authentication success for jpconver
2019-01-10 23:21:52,526 INFO [NiFi Web Server-826]
o.a.n.w.s.NiFiAuthenticationFilter Attempting request for (<JWT token>) GET
https://localhost:8443/nifi-api/flow/current-user (source ip: 127.0.0.1)
2019-01-10 23:21:52,527 INFO [NiFi Web Server-826]
o.a.n.w.s.NiFiAuthenticationFilter Authentication success for jpconver
2019-01-10 23:21:52,593 INFO [NiFi Web Server-846]
o.a.n.w.s.NiFiAuthenticationFilter Attempting request for (<JWT token>) GET
https://localhost:8443/nifi-api/tenants/user-groups (source ip: 127.0.0.1)
2019-01-10 23:21:52,593 INFO [NiFi Web Server-812]
o.a.n.w.s.NiFiAuthenticationFilter Attempting request for (<JWT token>) GET
https://localhost:8443/nifi-api/tenants/users (source ip: 127.0.0.1)
2019-01-10 23:21:52,594 INFO [NiFi Web Server-846]
o.a.n.w.s.NiFiAuthenticationFilter Authentication success for jpconver
2019-01-10 23:21:52,594 INFO [NiFi Web Server-812]
o.a.n.w.s.NiFiAuthenticationFilter Authentication success for jpconver
2019-01-10 23:21:52,595 INFO [NiFi Web Server-846]
o.a.n.w.a.c.ResourceNotFoundExceptionMapper
org.apache.nifi.web.ResourceNotFoundException: Unable to find user with id
'ae1523b4-1336-3a1c-8283-0a784f5cb017'.. Returning Not Found response.
> Cannot list users when a ldap user that belongs to a group is deleted
> ---------------------------------------------------------------------
>
> Key: NIFI-5948
> URL: https://issues.apache.org/jira/browse/NIFI-5948
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core UI
> Affects Versions: 1.8.0
> Reporter: Juan Pablo Converso
> Priority: Major
> Attachments: authorizers.xml, error.png,
> login-identity-providers.xml, nifi.properties
>
>
> I configured Nifi to use LDAP to provide users. Then in Nifi, using the UI, I
> created groups and associated some LDAP users to the groups.
> This worked fine until a user was deleted in LDAP, when this happened when I
> tried to list users using the "burgerMenu -> Users" option the error: "Unable
> to find user with id 'ae1523b4-1336-3a1c-8283-0a784f5cb017'." was displayed.
> The only way to fix this problem was to delete the association of the user to
> the group in the file: users.xml.
> I think that when a user is deleted from LDAP and Nifi refreshes the user
> list it should check also for deleted users in order to remove them from
> user/groups associations as well to prevent this problem.
> I've provided in this report a screenshot of the error.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)