-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/72261/
-----------------------------------------------------------
Review request for ranger, Abhay Kulkarni, Mehul Parikh, Mugdha Varadkar,
Ramesh Mani, and Velmurugan Periasamy.
Bugs: RANGER-2705
https://issues.apache.org/jira/browse/RANGER-2705
Repository: ranger
Description
-------
Made code changes for both incremental and full sync to use JNDI APIs (LdapName
and Rdn) to retrieve user/group name from the DN. Also, added few null checks
while updating user/group information to ranger admin.
Diffs
-----
ugsync/src/main/java/org/apache/ranger/ldapusersync/process/LdapDeltaUserGroupBuilder.java
0c54f71b3
ugsync/src/main/java/org/apache/ranger/ldapusersync/process/LdapPolicyMgrUserGroupBuilder.java
31b4d3d67
ugsync/src/main/java/org/apache/ranger/ldapusersync/process/LdapUserGroupBuilder.java
9563eee8d
Diff: https://reviews.apache.org/r/72261/diff/1/
Testing
-------
1. Verified all the existing unit tests are run successfully.
2. Patched a cluster with my changes and verified both with Active directory
and free IPA as the DN for users are in differnt formats.
Thanks,
Sailaja Polavarapu