peng.jianhua created RANGER-1690:
------------------------------------
Summary: Ranger usersync created error users. Ranger usersync got
System Virtual User Group Name instead of real group name when built the unix
user list.
Key: RANGER-1690
URL: https://issues.apache.org/jira/browse/RANGER-1690
Project: Ranger
Issue Type: Bug
Components: usersync
Reporter: peng.jianhua
Assignee: peng.jianhua
The ranger.usersync.unix.minGroupId is not set default value. So following
variable equals to 0 when built the unix user list:
minimumGroupId=Integer.parseInt(config.getMinGroupId());
Ranger usersync may get System Virtual User Group Name instead of real group
name.
if (numGroupId < minimumGroupId)
continue;
String groupName = groupId2groupNameMap.get(gid);
This result is that the Ranger usersync created error users.
http://www.archivum.info/[email protected]/2006-03/03888/Bug-333706-marked-as-done-(useradd-lacks-r-option).html
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)