-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/74042/
-----------------------------------------------------------

(Updated July 13, 2022, 11:57 p.m.)


Review request for ranger, Abhay Kulkarni, Madhan Neethiraj, Ramesh Mani, and 
Sailaja Polavarapu.


Changes
-------

fixed string concat!


Bugs: RANGER-3813
    https://issues.apache.org/jira/browse/RANGER-3813


Repository: ranger


Description
-------

Line number 426 in 
ugsync/src/main/java/org/apache/ranger/unixusersync/process/UnixUserGroupBuilder.java
 updates the map while iteration which raises the exception 
ConcurrentModificationException.


Steps to reproduce the issue:
1. Set nss and enumerateGroupMembers to true.
2. Create a user with userid < minimumUserId.
3. Add it to a group with groupId >= minimumGroupId.
4. Ensure the user is part of multiple groups and any one group that the user 
is part of does not show the user as its member on executing: getent group


Diffs (updated)
-----

  
ugsync/src/main/java/org/apache/ranger/unixusersync/process/UnixUserGroupBuilder.java
 7653dfdbe 


Diff: https://reviews.apache.org/r/74042/diff/4/

Changes: https://reviews.apache.org/r/74042/diff/3-4/


Testing
-------

Tested the fix on a live cluster.


Thanks,

Abhishek  Kumar

Reply via email to